Scheme for preparing building system related application programming interface (API) for operation
By detecting geographical trigger events and generating preparation requests through mobile user devices, the serverless function is preheated, which solves the problem of extended service time of the elevator call API during cold start, achieving faster service time and cost reduction.
Patent Information
- Application Number
- CN202410388855.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-04-06
- Filing Date
- 2024-04-01
- Publication Date
- 2024-10-15
AI Technical Summary
When existing elevator call APIs are cold-started in serverless functions, the time to service elevator calls increases significantly, impacting performance, and conventional solutions such as periodic manual requests or always-running APIs increase costs.
Detect geo-triggered events via mobile user devices entering predefined areas, generate preparation requests to run serverless functions in building system related APIs, warm up APIs to reduce service times.
Significantly reduces the service time of control requests generated to building system-related APIs, reduces the cost of using the API, and improves the performance of elevator calls.
Smart Images

Figure CN118784665A_ABST
Abstract
Description
Technical Field
[0001] The present invention generally relates to the technical field of building systems. In particular, the present invention relates to an application programming interface related to building systems. Background Art
[0002] Application programming interfaces (APIs), such as cloud-based APIs, can be used for different building systems, such as elevator systems. For example, an elevator call API can be used to make an elevator call from a mobile device, such as via a mobile application. APIs (such as elevator call APIs) can be implemented by using serverless functions (such as lambda functions). Typically, serverless functions are started on demand and completely shut down within a few minutes of inactivity. When a user makes an elevator call by using the elevator call API, the serverless function is started to warm up the API before the elevator call can be serviced. If no one globally has made an elevator call using the elevator call API for a few minutes, the serverless function does not run. When the next user makes an elevator call by using the elevator call API, the service elevator call is about 10 seconds longer than normal (i.e., when the serverless function is already running) because the serverless function is cold starting. Once the serverless function is already running, the elevator call is expected to be served within 2 to 3 seconds, which means a significant difference from the case of a serverless function cold start. This enables cost savings, but adversely affects the performance of the elevator call process.
[0003] The cold start problem can be solved by keeping the serverless function hot by leveraging periodic artificial requests generated to the API. Another option is to redesign the API without the serverless function so that the API is always running. However, both solutions increase the cost of using the API because the use of the API is usually charged based on the execution duration of the request to the API, that is, there is no charge when the serverless function is not running.
[0004] Therefore, further solutions for elevator-related APIs need to be developed. Summary of the invention
[0005] A simplified overview is presented below to provide a basic understanding of some aspects of various invention embodiments. This overview is not an extensive overview of the present invention. It is neither intended to identify key or important elements of the present invention nor to describe the scope of the present invention. The following overview merely presents some concepts of the present invention in a simplified form as a preface to a more detailed description of exemplary embodiments of the present invention.
[0006] The object of the present invention is to propose a method, system, computer program and computer readable medium for preparing a building system related application programming interface (API) for operation. Another object of the present invention is to provide a method, system, computer program and computer readable medium for preparing a building system related application programming interface (API) for operation so as to reduce the service time of at least one control request generated to the building system related API.
[0007] The objects of the invention are achieved by a method, a system, a computer program and a computer readable medium as defined by the respective independent claims.
[0008] According to a first aspect, a method for preparing a building system-related application programming interface (API) for operation is provided, wherein the method comprises: detecting, by a mobile user device, a geographic trigger event indicating that the mobile user device has entered a predefined area; and in response to detecting the geographic trigger event, generating, by the mobile user device, a preparation request to the building system-related API for running a serverless function in the building system-related API.
[0009] The method may also include generating, by the mobile user device or at least one second mobile user device, at least one control request to a building system-related API for provision to the control system.
[0010] The building system related API may be an elevator call API for making an elevator call.
[0011] The method may further include generating, by the mobile user device or at least one second mobile user device, an elevator call request to an elevator call API to be provided to an elevator control system for generating an elevator call.
[0012] Alternatively, the building system related API may be a lighting system related API, a heating, ventilation, and air conditioning (HVAC) system API, a building management system (BMS) API, or an infotainment system API.
[0013] The detected geographic trigger event may be a geo-fence based trigger event, a Bluetooth beacon based trigger event, a wireless access point based trigger event, an access control based trigger event, or a usage pattern based trigger event.
[0014] The prepare request may include a request to run a serverless function in a building system-related API during a predefined time.
[0015] According to a second aspect, a system for preparing a building system-related application programming interface (API) for operation is provided, wherein the system comprises: a mobile user device, a control system, and a building system-related API between the mobile user device and the control system, wherein the mobile user device is configured to: detect a geographic trigger event indicating that the mobile user device enters a predefined elevator-related area, and in response to detecting the geographic trigger event, generate a preparation request to the building system-related API for running a serverless function in the building system-related API.
[0016] The mobile user device may also be configured to generate at least one control request to a building system-related API to provide to the control system.
[0017] Alternatively or additionally, the system may further include at least one second mobile user device, which may be configured to generate at least one control request to a building system-related API to be provided to the control system.
[0018] The building system related API may be an elevator call API for making an elevator call.
[0019] The mobile user device may also be configured to generate a request to an elevator call API during the elevator call to provide to the elevator control system for use in generating the elevator call.
[0020] Alternatively or additionally, the system may further include at least one second mobile user device, which may be configured to generate a request to the elevator call API during the elevator call to provide to the elevator control system to generate the elevator call.
[0021] Alternatively, the building system related API may be a lighting system related API, a heating, ventilation, and air conditioning (HVAC) system API, a building management system (BMS) API, or an infotainment system API.
[0022] The detected geographic trigger event may be a geo-fence based trigger event, a Bluetooth beacon based trigger event, a wireless access point based trigger event, an access control based trigger event, or a usage pattern based trigger event.
[0023] The prepare request may include a request to run a serverless function in a building system-related API during a predefined time.
[0024] According to a third aspect, a computer program is provided, wherein the computer program comprises instructions, and when the program is executed by a computer, the instructions cause the computer to perform the method as described above.
[0025] According to a fourth aspect, a computer readable medium is provided, wherein the computer readable medium comprises instructions, which when executed by a computer cause the computer to perform the method as described above.
[0026] Various exemplary and non-limiting embodiments of the invention, both as to constructions and methods of operation, together with additional objects and advantages thereof, will be best understood from the following description of specific exemplary and non-limiting embodiments when read in connection with the accompanying drawings.
[0027] The verbs "comprise" and "include" are used in this document as open limitations, neither excluding nor requiring the presence of unrecited features. The features recited in the dependent claims are mutually freely combinable unless expressly stated otherwise. Furthermore, it should be understood that the use of "a" or "an" throughout this document, i.e. the singular, does not exclude a plurality. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Embodiments of the invention are illustrated by way of example and not limitation in the figures of the accompanying drawings.
[0029] Figure 1 An example of a system for preparing a building system related application programming interface (API) for operation is schematically shown.
[0030] Figure 2 An example of a building environment in which the system may be implemented is schematically shown.
[0031] Figure 3 An example of a method for preparing a building system related API for operation is schematically shown.
[0032] Figure 4 An example situation in which a mobile user equipment has entered a predefined area is schematically illustrated.
[0033] Figure 5 Another example situation is schematically illustrated, where a mobile user equipment has entered a predefined area.
[0034] Figure 6 An example of components of a mobile user equipment is schematically shown. DETAILED DESCRIPTION
[0035] Figure 1An example of a system 100 for preparing a building system-related application programming interface (API) 110 for operation is schematically shown. The system includes a mobile user device 120, a control system 130, and a building system-related API 110 between the mobile user device 120 and the control system 130. The system 100 may also include other mobile user devices 520a-520n as will be described later in this application. The mobile user devices 120, 520a-520n may be mobile devices, such as mobile phones or tablet computers. The mobile user devices 120, 520a-520n may be carried by a user.
[0036] Figure 2 An example of a building environment 200 in which the system 100 may be implemented is schematically shown. The building 200 may include at least one of the building systems 210-260. The at least one building system 210-260 may, for example, include an elevator system 210; a lighting system 220; a heating, ventilation and air conditioning (HVAC) system 230; a building management system (BMS) 240; an infotainment system 250; and / or one or more other building systems 260. Each building system 210-260 includes a corresponding control system 130. The elevator system 210 includes an elevator control system 130a configured to control the operation of the elevator system 210. The elevator system 210 also includes at least one elevator car configured to travel between multiple floors along a corresponding elevator shaft. The elevator system may also include one or more known elevator-related entities, such as a hoist system, a user interface device, an elevator door, a safety circuit and device, and / or an elevator brake, etc. The lighting system 220 includes a lighting control system 130b configured to control the operation of the lighting system 220. The HVAC system 230 includes an HVAC control system 130c configured to control the operation of the HVAC system 230. The BMS 240 includes a BMS control system 130d configured to control the operation of the BMS 240. The infotainment system 250 includes an infotainment control system 130e configured to control the operation of the infotainment system 250. The one or more other building systems 260 each include a respective control system 130n configured to control the building system 260.
[0037] The building system-related API 110 operates as an interface (i.e., a software intermediary) between the mobile user device 120 and the control system 130 to enable the mobile user device 120 and the control system 130 to communicate with each other. The communication between the mobile user device 120 and the control system 130 may, for example, include one or more control requests generated by the mobile user device 120 for controlling one or more operations of the control system 130. For example, the building system-related API 110 enables one or more operations of the control system 130 to be controlled by one or more control requests generated by the mobile user device 120. The mobile user device 120 and the control system 130 are communicatively connected to the building system-related API 110, for example, via a wireless communication network. The building system-related API 110 may be, for example, a cloud API, an edge API, or a local API. The cloud API is located in a cloud server. The mobile user device 120 and the control system 130 may be communicatively connected to the cloud API of the cloud server via the Internet. The local API is located in a local server at a site, i.e., at the building 200, for example, at the location of the building system 210-260 using the building system-related API 110. The mobile user device 120 and the control system 130 may be communicatively connected to a local API of a local server via a local area network (LAN) (e.g., Wi-Fi or Ethernet); or a personal area network (PAN), such as infrared data association (IrDA), Bluetooth, Zigbee, or any other short-range wireless network technology. The edge API is partially located in a cloud server and partially located in a local server at the site, i.e., at the building 200, such as at the location of the building system 210-260 using the building system related API. For example, the edge API may be located at an edge device between the cloud server and the local server. The edge device may be located at the site and communicatively connected to the cloud server via the Internet, and communicatively connected to the local server via a LAN or PAN. The mobile user device 120 and the control system 130 are communicatively connected to the edge API of the edge device via the Internet and / or via a LAN or PAN. The building system related API 110 is implemented by using a serverless function. The serverless function may be, for example, an Amazon Web Services (AWS) lambda function, a Google cloud function, an Azure function, an IBM cloud function, an Oracle function, or any other known serverless function. In serverless computing, a service provider (such as AWS, Google Cloud, Azure, or IBM, etc.) is responsible for executing a piece of code in the form of a function, i.e., a serverless function. The implementation of the building system-related API 110 using serverless functions can be based on any known implementation based on serverless computing.
[0038] The building system-related API 110 may be an elevator-related API. When the building system-related API 110 is an elevator-related API, the control system 130 of the system 100 is an elevator control system 130a. The elevator-related API operates as an interface between the mobile user device 120 and the elevator control system 130a so that the mobile user device 120 and the elevator control system 130a can communicate with each other. According to an example, the elevator-related API 110 may be an elevator call API for making an elevator call. The elevator call API may be used to make an elevator call from the mobile user device 120 to the elevator control system 130a. Alternatively, the building system-related API 110 may be a lighting system-related API. When the building system-related API 110 is a lighting system-related API, the control system 130 is a lighting control system 130b. The lighting system-related API operates as an interface between the mobile user device 120 and the lighting control system 130b so that the mobile user device 120 and the lighting control system 130b can communicate with each other. Alternatively, the building system-related API 110 may be an HVAC system-related API. When the building system-related API 110 is an HVAC system-related API, the control system 130 is an HVAC control system 130c. The HVAC system-related API operates as an interface between the mobile user device 120 and the HVAC control system 130c, so that the mobile user device 120 and the HVAC control system 130c can communicate with each other. Alternatively, the building system-related API 110 may be a BMS-related API. When the building system-related API 110 is a BMS-related API, the control system 130 is a BMS control system 130d. The BMS-related API operates as an interface between the mobile user device 120 and the BMS control system 130d, so that the mobile user device 120 and the BMS control system 130d can communicate with each other. Alternatively, the building system-related API 110 may be an infotainment system-related API. When the building system-related API 110 is an infotainment system-related API, the control system 130e is an infotainment control system 130a. The infotainment system-related API operates as an interface between the mobile user device 120 and the infotainment control system 130e, so that the mobile user device 120 and the infotainment control system 130e can communicate with each other. Alternatively, the building system-related API 110 can be any other building system-related API that operates as an interface between the mobile user device 120 and the control system 130n of the corresponding other building system 260, so that the mobile user device 120 and the control system 130n can communicate with each other.
[0039] Next, by referring to Figure 3An example of a method for preparing a building system-related API 110 for operation is described. Figure 3 A flow chart of the method is schematically shown.
[0040] At step 310, the mobile user device 120 detects a geo-triggering event that indicates that the mobile user device 120 enters a predefined area 410. The predefined area 410 may, for example, at least partially include a building 200 that includes a building system 210-260 corresponding to the building system-related API 110. For example, the predefined area 410 may include the entire building 200 or a portion of the building 200. For example, if the predefined area 410 includes the entire building 200, the geo-triggering event indicates that the mobile user device 120 enters the building 200. According to another example, if the predefined area 410 includes a portion of the building 200, such as an elevator lobby area or any other portion of the building 200, the geo-triggering event indicates that the mobile user device 120 enters the portion of the building, such as entering the elevator lobby area. Figure 4 An example situation is schematically shown, in which the mobile user equipment 120 has entered the predefined area 410. In other words, Figure 4 In the example case of , the mobile user device 120 has detected a geographic triggering event indicating that the mobile user device 120 has entered the predefined area 410 .
[0041] The detected geographic trigger event may be, for example, a trigger event based on a geofence, a trigger event based on a Bluetooth beacon, a trigger event based on a wireless access point, a trigger event based on access control, or a trigger event based on a usage pattern. In the case of a trigger event based on a geofence, the mobile user device 120 detects that it (i.e., the mobile user device 120) enters a geofence (i.e., a virtual boundary) around a predefined area 410 (e.g., around a building 200). The geofence may be, for example, based on global positioning system (GPS) positioning, radio frequency identification (RFID) positioning, wireless local area network (e.g., Wi-Fi) positioning, or cellular data positioning. Any known monitoring solution for geofences (e.g., a mobile operating system (e.g., iOS or Android) of the mobile user device 120) may be used by the mobile user device 120 to monitor geofences. In the case of a trigger event based on a Bluetooth beacon, a Bluetooth beacon device is arranged at the edge of the predefined area 410, for example, near a door that allows entry to the building 200. The Bluetooth beacon device broadcasts an identifier (ID) specific to the Bluetooth beacon device. The mobile user device 120 (e.g., a mobile operating system of the mobile user device 120) may detect its entry into the predefined area 410 in response to receiving an ID specific to the Bluetooth beacon device. In the case of a wireless access point-based trigger event, the mobile user device 120 may detect its entry into the predefined area 410 based on signals received from one or more wireless access points located within the predefined area 410 (e.g., within the building 200). In the case of an access control-based trigger event, the mobile user device 120 detects its entry into the predefined area 410 based on, for example, access control data received from an access control system that controls user access to the predefined area 410. Access control may be based on, for example, the use of a key card; a tag; an identification code; such as a personal identification number (PIN) code, an ID number; and / or biometric technology, such as fingerprint, facial recognition, iris recognition, retinal scanning, voice recognition, etc. For example, when a user carrying a mobile user device 120 interacts with an access control system (e.g., displays an access key card to a reader device of the access control system), the mobile user device 120 may receive access control data from the access control system indicating that the user has accessed a predefined area 410. In the case of a trigger event based on a usage pattern, the mobile user device 120 detects that it may have entered a predefined area 410 based on a learned usage pattern of the predefined area 410 (e.g., the building 200). The usage pattern of the predefined area 410 may be learned, for example, by using one or more machine learning techniques or statistical analysis. The learning may be based, for example, on access control data and / or sensor data from the predefined area 410.
[0042] At step 320, in response to detecting the geographic trigger event, the mobile user device 120 generates a prepare request to the building system-related API 110 to run the serverless function in the building system-related API 110. The prepare request may, for example, include a request to run the serverless function in the building system-related API 110 during a predefined time. In response to receiving the prepare request, the building system-related API 110 is prepared for operation. The prepare request calls the serverless function in the building system-related API 110 to run, for example, during the predefined time. The operation of the building system-related API 110 may, for example, include executing one or more requests received by the building system-related API 110, for example, by running a computer code. The predefined time may be defined based on the purpose of use of the building system-related API 110. The predefined time may, for example, be from a few seconds to tens of minutes, such as but not limited to from 1 second to 10 minutes. For example, in Figure 4In an example case, in response to detecting a geographic trigger event, the mobile user device 120 generates a preparation request to the building system-related API 110 to run the serverless function in the building system-related API 110, for example, for a predetermined time. If the building system-related API 110 receives at least one control request, for example, during the predefined time, the generation of the preparation request enables the serverless function to be already running, i.e., pre-warmed. When the serverless function is already running, when the building system-related API 110 receives at least one control request, the execution time of the building system-related API 110 for the at least one control request is reduced compared to a case where the serverless function is not running when the building system-related API 110 receives the at least one control request. When the building system-related API 110 receives the at least one control request, the reduced execution time of the at least one control request, in turn, enables the at least one control action according to the at least one control request to be serviced with a reduced service time compared to a case where the serverless function is not running. In other words, generating the preparation request to pre-warm the serverless function significantly reduces the execution time of the at least one control request and the service time of the at least one control action according to the at least one control request. In addition, warming up the serverless function through the preparation request generated only in response to the detection of the geographic trigger event reduces the cost caused by using the building system-related API 110. According to an example, in the case where the building system-related API 110 is an elevator call API for making an elevator call from the mobile user device 120 to the elevator control system 130a, in response to the detection of the geographic trigger event, the mobile user device 120 generates a preparation request to the elevator call API to run the serverless function in the elevator call API, such as a predetermined time. According to an example, there may be one or more restrictions for the mobile user device 120, which is allowed to generate the preparation request to the building system-related API 110 in response to the detection of the geographic trigger event. For example, in response to the detection of the geographic trigger event, only the mobile user device 120 of the identified user is allowed to generate at least one control request to the building system-related API 110.
[0043] At step 330, the mobile user device 120 may generate at least one control request to the building system-related API 110, for example, during a predefined time, to be transmitted (i.e., provided) to the control system 130. Alternatively or additionally, at step 330, at least one other mobile user device (e.g., a second mobile user device 520a-520n) may generate at least one control request to the building system-related API 110, for example, during a predefined time, to be transmitted to the control system 130. Alternatively, there may be a situation where no control request is generated to the building system-related API 110 during the predefined time. After the expiration of the predefined time, the operation of the serverless function in the building system-related API 110 may be ended, i.e., the serverless function may be shut down, regardless of whether any control request to the building system-related API 110 has been generated. In response to receiving user input from a user of mobile user device 120 through a user interface unit of mobile user device 120 or at least one other mobile user device 520a-520n, respectively, mobile user device 120 or at least one other mobile user device 520a-520n may generate at least one control request. Figure 5 Another example situation is schematically shown, in which the mobile user equipment 120 has entered the predefined area 410. Figure 5 In the example case of , the system 100 also includes other mobile user devices 520a-520n. Figure 4 In the example case of Figure 5 In an example scenario, in response to detecting a geographic trigger event, the mobile user device 120 generates a prepare request to the building system-related API 110 to run a serverless function in the building system-related API 110, for example, for a predefined time. The mobile user device 120 may generate at least one control request (CR) to the building system-related API 110, for example, during the predefined time, to be transmitted to the control system 130. Alternatively, at least one other mobile user device 520a-520n may generate at least one control request (CR) to the building system-related API 110, for example, during the predefined time, to be transmitted to the control system 130. Preferably, any of the at least one other mobile user device 520a-520n may generate at least one control request (CR) to the building system-related API 110, for example, during the predefined time. Figure 5In the example case of , other mobile user devices 520a and 520n generate at least one control request (CR) to the building system related API 110. Alternatively, it can be restricted to only allow mobile user devices 120, 520a located in the predefined area 110 to generate at least one control request (CR) to the building system related API 110. For example, in Figure 5 In the example case of FIG. 4 , another mobile user device 520a located within the predefined area 410 is allowed to generate at least one control request (CR) to the building system-related API 110 under restricted circumstances. Alternatively or additionally, there may be one or more further restrictions on the mobile user devices 120, 520a-520n that are allowed to generate at least one control request to the building system-related API 110, for example, only the mobile user devices 120, 520a-520n of the identified user are allowed to generate at least one control request to the building system-related API 110.
[0044] According to one example, in the case where the building system-related API 110 is an elevator call API for making an elevator call from the mobile user device 120, the mobile user device 120 may generate an elevator call request to the elevator call API 110, for example, during a predefined time, to be transmitted to the elevator control system 130a, for generating an elevator call according to the elevator call request. Alternatively or in addition, at least one other mobile user device 520a-520n may generate an elevator call request to the elevator call API 110, for example, during a predefined time, to be transmitted to the elevator control system 130a, for generating an elevator call according to the elevator call request. In response to receiving a user input from a user of the mobile user device 120 through a user interface unit of the mobile user device 120 or the at least one other mobile user device 520a-520n, respectively, the mobile user device 120 or the at least one other mobile user device 520a-520n may generate an elevator call request. When the serverless function is already running, when the elevator call API 110 receives an elevator call request from the mobile user device 120, it can be expected, for example, that the elevator call is serviced within 2 to 3 seconds after the elevator call request is generated. In contrast, if the function is not running, when the elevator call API 110 receives an elevator call request from the mobile user device 120, it can be expected, for example, that the elevator call is serviced within 12 to 13 seconds from the generation of the elevator call request, which means that it takes about 10 seconds longer to service the elevator call than if the serverless function is already running.
[0045] Figure 6Schematically illustrated are examples of components of mobile user equipment 120, 520a-520n. Mobile user equipment 120, 520a-520n may include: a processing unit 610 including one or more processors (e.g., microprocessors), a memory unit 620 including one or more memories, a communication unit 630 including one or more communication devices, and a possible user interface (UI) unit 640. In addition to the mentioned entities, mobile user equipment 120, 520a-520n may also include other devices and entities, such as a battery for storing energy to be used by other entities. Entities belonging to mobile user equipment 120, 520a-520n may be communicatively connected to each other using, for example, a communication bus. The memory unit 620 may store parts of a computer program code 625 and any other data. The computer program 625 may include instructions that, when executed by the processing unit 610 of the mobile user device 120, 520a-520n, may cause the processing unit 610 and thus the mobile user device 120, 520a-520n to perform desired tasks, such as one or more of the above-mentioned method steps. Therefore, the processing unit 610 may be arranged to access the memory unit 620 and retrieve and store any information from the memory unit 620. For the sake of clarity, the processor herein refers to any unit suitable for processing information and controlling the operation of the mobile user device 120, 520a-520n and other tasks. Similarly, the memory unit 620 is not limited to a certain type of memory, but any memory type suitable for storing the described multiple pieces of information can be applied in the context of the present invention. The communication unit 630 provides one or more communication interfaces for communicating with any other unit (e.g., the building system-related API 110 and / or any external system). The communication unit 630 may include one or more communication devices, such as a radio transceiver, an antenna, etc. The communication may be performed, for example, wirelessly. The user interface 640 may include one or more input / output (I / O) devices for receiving input and outputting information, such as buttons, keyboards, touch screens, microphones, speakers, displays, etc. A user of the mobile user device 120 may provide input to the mobile user device 120, 520a-520n, for example, through the user interface unit 640, and the mobile user device 120, 520a-520n may output information to the user under the control of the processing unit 610. The computer program 625 may be a computer program product that may be included in a tangible non-volatile (non-transitory) computer-readable medium that carries computer program code 625 embodied therein for use with a computer (i.e., mobile user device 120, 520a-520n).The computer program code 625 may, for example, include one or more mobile applications, such as computer program code for performing desired tasks (eg, one or more of the above-described method steps).
[0046] The specific examples provided in the description given above should not be construed as limiting the applicability and / or interpretation of the appended claims.The lists and groups of examples provided in the description given above are not exhaustive unless expressly stated otherwise.
Claims
1. A method for preparing a building system-related application programming interface (API) (110) for operation, the method comprising: detecting (310) by a mobile user device (120) a geographic trigger event indicative of the mobile user device (120) entering a predefined area (410); as well as In response to detecting the geographic triggering event, a prepare request is generated (320) by the mobile user device (120) to the building system-related API (110) to execute a serverless function in the building system-related API (110).
2. The method of claim 1 further comprising generating (330) by the mobile user device (120) or at least one second mobile user device (520a-520n) at least one control request to the building system-related API (110) for provision to a control system (130, 130a-130n).
3. The method according to any of the preceding claims, wherein the building system related API (110) is an elevator call API for making elevator calls.
4. The method according to claim 3 further includes generating (330) an elevator call request to the elevator call API (110) by the mobile user device (120) or at least one second mobile user device (520a-520n) to be provided to an elevator control system (130a) for generating an elevator call.
5. The method according to any one of claims 1 or 2, wherein the building system related API (110) is a lighting system related API, a heating, ventilation and air conditioning (HVAC) system API, a building management system (BMS) API or an infotainment system API.
6. A method according to any of the preceding claims, wherein the detected geographic trigger event is a trigger event based on a geo-fence, a trigger event based on a Bluetooth beacon, a trigger event based on a wireless access point, a trigger event based on an access control, or a trigger event based on a usage pattern.
7. The method according to any of the preceding claims, wherein the prepare request comprises a request to run the serverless function in the building system-related API (110) during a predefined time.
8. A system (100) for preparing a building system related application programming interface (API) (110) for operation, the system comprising: a mobile user equipment (120), a control system (130, 130a-130n), and a building system related API (110) between the mobile user device (120) and the control system (130, 130a-130n), The mobile user equipment (120) is configured to perform the method according to any one of the preceding claims.
9. The system (100) of claim 8, further comprising at least one second mobile user equipment (520a-520n).
10. The system (100) of claim 9, wherein the at least one second mobile user device (520a-520n) is configured to generate at least one control request to the building system-related API (110) to be provided to the control system (130, 130a-130n).
11. The system (100) according to any one of claims 9 or 10, wherein the building system related API (110) is an elevator call API for making an elevator call, and wherein the at least one second mobile user device (520a-520n) is configured to generate an elevator call request to the elevator call API (110) to be provided to an elevator control system (130a) for generating an elevator call.
12. A computer program (625) comprising instructions which, when executed by a computer, cause the computer to perform the method according to any one of claims 1 to 7.
13. A computer-readable medium comprising instructions which, when executed by a computer, cause the computer to perform the method according to any one of claims 1 to 7.
