System and method for deploying programs to a distributed network
By dynamically deploying program functions in a distributed network and matching nodes according to execution mode and sleep requirements, the problem of adjusting the device sleep period is solved and the effects of low power consumption and extended battery life are achieved.
Patent Information
- Application Number
- CN201880092708.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-04-25
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2038-04-25
AI Technical Summary
It is difficult for the existing technology to dynamically adjust and adapt the sleep period of the device, especially without using explicit triggers, making it difficult for the device to effectively manage battery life and power consumption issues.
By dynamically deploying program functions in a distributed network, matching program functions to appropriate distributed nodes based on execution mode and sleep requirements, and configuring the node's sleep mode based on event triggers to achieve low-power operation.
Effectively manage the device's sleep mode, extend battery life, reduce power consumption, and adapt to the execution frequency and device requirements of different applications.
Smart Images

Figure CN112041816B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates generally to distributed networks, and in particular to deploying programs to distributed networks. Background Art
[0002] Power consumption is a critical factor for battery-powered devices in distributed systems. In order to operate for long periods of time (e.g., years) without depleting the battery, these devices should be operable to disable all hardware components except for low-power components that allow the device's processor or controller to be in a low-power, sleep mode. This type of sleep mode is often referred to as deep sleep and allows the device to operate for long periods of time. In addition, a real-time clock (RTC) is often used as a low-power timing source to allow the processor or controller to be in sleep mode, and the function of the RTC is to wake the processor or controller from sleep mode after a predetermined time or a certain period of time in sleep mode.
[0003] The decision of when to enter sleep mode can be based on the timeout of an inactivity timer, which indicates that no activity has occurred during a specific time period, or that no known event has triggered the processor or controller during a specific time period. In addition, when building binary programs that are executed on a device, static parameters are often used to define the sleep period. In preparation for the processor or controller to enter sleep mode, the memory state associated with the application deployed on the device must be written to a memory that is not affected by the sleep mode. After the processor or controller exits sleep mode, the state of the application is restored, allowing the processor or controller to continue executing the application. However, for programmable devices or other similar devices, where applications or functions of applications can be deployed in a distributed system without flashing the device, static sleep periods may not be feasible.
[0004] Therefore, there is a need for improved techniques for dynamically finding devices that can host applications based on the execution frequency of the applications and the sleep period required by the devices. In addition, there is a need for improved techniques for adjusting and adapting the sleep period of devices that do not use explicit triggers. In addition, in conjunction with the accompanying drawings and the aforementioned technical field and background technology, other desirable features and characteristics of the present disclosure will become apparent from the subsequent detailed description and embodiments.
[0005] The background technology section of this document is provided to place the embodiments of the present disclosure in technical and operational context so as to help those skilled in the art understand their scope and utility. Unless explicitly stated, any statement herein is not considered to be prior art by being included in the background technology section. Summary of the invention
[0006] A brief summary of the present disclosure is presented below to provide a basic understanding to those skilled in the art. The summary here is not a detailed review of the present disclosure, and is not intended to point out the key / important elements in the embodiments of the present disclosure or to outline the scope of the present disclosure. The sole purpose of the summary here is to present some of the concepts disclosed herein in a simplified form as a preface to a more detailed description presented later.
[0007] This article describes a system and method for deploying a program to a distributed network. According to one aspect, a method is performed by a node associated with a group of distributed nodes in a distributed system. In addition, in order to execute the program, multiple functions of the program may be distributed in a group of distributed nodes. The method includes obtaining an execution mode of the program and a sleep requirement of at least one distributed node. In addition, the method includes dynamically deploying one or more functions of the program to all or part of the group for executing the program by the group based on the execution mode of the program and the sleep requirement of at least one distributed node. In addition, the execution mode is associated with an event that triggers the execution of at least one of the one or more functions. In addition, during the deployment or execution of the program, each node is operable so that the triggering event is programmed for the at least one function.
[0008] According to another aspect, the step of obtaining the execution mode of the program includes receiving an indication of the execution mode of the program from at least one distributed node.
[0009] According to another aspect, the step of acquiring the execution mode of the program includes determining the execution mode of the program based on an event triggering execution of at least one of the one or more functions or a sleep requirement of at least one distributed node.
[0010] According to another aspect, the step of obtaining a sleep requirement of at least one distributed node includes receiving, from at least one distributed node, an indication of the sleep requirement of the node.
[0011] According to another aspect, the method includes determining a sleep mode of at least one distributed node based on a sleep requirement of the node.
[0012] According to another aspect, the method includes determining a sleep mode of at least one distributed node based on an event triggering execution of at least one of the one or more functions.
[0013] According to another aspect, the step of dynamically deploying one or more functions of the program includes matching each function of the program with a distributed node in the group, the matching being based on an execution mode of the program and a sleep requirement of the distributed node.
[0014] According to another aspect, the step of dynamically deploying one or more functions of the program includes matching at least one of the one or more functions triggered by the event with a distributed node in the group based on an execution mode of the program and a sleep requirement of each node.
[0015] According to another aspect, a distributed node in the group matching at least one of the one or more functions triggered by an event is operable such that a sleep mode of the node is programmed based on a pattern of those triggering events.
[0016] According to another aspect, the step of acquiring the execution mode of the program includes: acquiring a mode of a trigger event that triggers the execution of at least one of the one or more functions. In addition, the execution mode of the program is a trigger event mode.
[0017] According to another aspect, the step of obtaining the pattern of triggering events includes receiving from a distributed node hosting at least one of the one or more functions.
[0018] According to another aspect, the step of acquiring a pattern of triggering events includes determining a pattern of those triggering events based on an event that triggers the execution of at least one of the one or more functions.
[0019] According to another aspect, the method includes adapting a sleep mode of at least one distributed node during execution of the program based on an execution mode of the program.
[0020] According to another aspect, the method includes: obtaining an execution mode of the second program. In addition, the method includes: dynamically deploying one or more functions of the second program to all or part of the group based on the execution modes of the program and the second program and the sleep requirements of at least one distributed node, so as to execute the second program while the group executes the program.
[0021] According to another aspect, an event that triggers execution of at least one of the one or more functions is associated with a hardware or software timer of a distributed node in the group that hosts at least one of the one or more functions triggered by the event.
[0022] According to another aspect, an event that triggers execution of at least one of the one or more functions is associated with a sleep requirement of a distributed node in the group that hosts at least one of the one or more functions triggered by the event.
[0023] According to another aspect, an event that triggers performance of at least one of the one or more functions is associated with a sensor of a distributed node in the group that hosts at least one of the one or more functions triggered by the event.
[0024] According to another aspect, the node represents at least one distributed node in the group.
[0025] According to another aspect, the node is a network node.
[0026] According to another aspect, the node is represented by a virtual server.
[0027] According to another aspect, at least one distributed node in the group is represented by a network node.
[0028] According to another aspect, two or more distributed nodes in the group are each represented by a different processor of the same network node.
[0029] According to another aspect, at least one distributed node in the group is represented by a virtual server.
[0030] According to one aspect, a node is associated with a group of distributed nodes in a distributed system. In addition, in order to execute a program, multiple functions of the program are distributed in a group of distributed nodes. The node is configured to obtain the execution mode of the program and the sleep requirement of at least one distributed node. The node also dynamically deploys one or more functions of the program to all or part of the group based on the execution mode of the program and the sleep requirement of at least one distributed node, for executing the program by the group. The execution mode is associated with an event that triggers the execution of at least one of the one or more functions. In addition, during the deployment or execution of the program, each node is operable to cause the triggering event to be programmed for the at least one function.
[0031] According to one aspect, a node is associated with a group of distributed nodes in a distributed system. In addition, in order to execute a program, multiple functions of the program are distributed in a group of distributed nodes. The node includes an acquisition unit for acquiring an execution mode of the program and a sleep requirement of at least one distributed node. In addition, the node includes a deployment unit for dynamically deploying one or more functions of the program to all or part of the group based on the execution mode of the program and a predetermined sleep requirement of at least one distributed node for executing the program by the group. In addition, the execution mode is associated with an event that triggers the execution of at least one function. In addition, during the deployment or execution of the program, each node is operable so that the triggering event is programmed for the at least one function.
[0032] According to one aspect, a computer program comprising instructions, which when executed on at least one processor of a node causes the at least one processor to perform any of the methods described herein, the node being associated with a group of distributed nodes in a distributed system, wherein multiple functions of the program are distributed among the group for executing the program. In addition, a carrier may embody the computer program, the carrier being one of an electronic signal, an optical signal, a radio signal or a computer-readable storage medium.
[0033] According to one aspect, a method is performed by an instance of an application executed on a distributed node in a group of distributed nodes in a distributed system. Each distributed node is operable to execute an instance of the application simultaneously. The method includes: in order to execute a program, obtaining at least one of the one or more functions of the program distributed in the group. The method also includes: obtaining an operating environment configuration of at least one of the one or more functions. The operating environment configuration includes a sleep requirement of the distributed node when at least one of the one or more functions is activated. In addition, the method includes: installing at least one of the one or more functions on the distributed node based on the operating environment configuration, including configuring a sleep mode of a low power mode of the distributed node based on the sleep requirement. In addition, the method includes: activating at least one of the one or more functions according to the operating environment configuration. When activating at least one of the one or more functions, the method includes: obtaining information associated with an execution mode of at least one of the one or more functions, so that the sleep mode of the distributed node is adapted based on the execution mode.
[0034] According to another aspect, the method includes: obtaining an event trigger configuration of at least one of the one or more functions. The event trigger configuration is associated with a programming model that enables each node to be operable to generate an event that triggers execution of at least one of the one or more functions. In addition, the method includes: configuring the distributed node to generate an event that triggers execution of at least one of the one or more functions based on the operating environment configuration. In addition, the method includes activating the event trigger.
[0035] According to another aspect, the method includes obtaining a distributed network configuration. The distributed network configuration indicates network addresses of those distributed nodes in the group that are directly interfaced with the distributed node. In addition, the step of installing at least one of the one or more functions on the distributed node is based on the operating environment configuration and the distributed network configuration.
[0036] According to one aspect, a distributed node is one of a group of distributed nodes in a distributed system. Each distributed node is operable to execute an instance of an application simultaneously. The distributed node is configured to execute an instance of an application, and the instance of the application is operable to obtain at least one of the one or more functions of the program distributed in the group in order to execute the program. In addition, the distributed node is configured to execute an instance of an application, and the instance of the application is operable to obtain the operating environment configuration of at least one of the one or more functions. The operating environment configuration includes the sleep requirement of the distributed node when at least one of the one or more functions is activated. In addition, the distributed node is configured to execute an instance of an application, and the instance of the application is operable to install at least one of the one or more functions on the distributed node based on the operating environment configuration, including configuring the sleep mode of the low power mode of the distributed node based on the sleep requirement. In addition, the distributed node is configured to execute an instance of an application, and the instance of the application is operable to activate at least one of the one or more functions according to the operating environment configuration. When at least one of the one or more functions is activated, the distributed node is configured to execute an instance of an application, and the instance of the application is operable to obtain information associated with the execution mode of at least one of the one or more functions, so that the sleep mode of the distributed node is adapted based on the execution mode.
[0037] According to another aspect, the distributed node is further configured to include communication circuitry and processing circuitry.
[0038] According to another aspect, the distributed node is further configured to include communication circuitry, processing circuitry, and a sensor associated with an event that triggers performance of at least one of the one or more functions.
[0039] According to one aspect, a distributed node is in a group of distributed nodes in a distributed system. Each distributed node is operable to execute an instance of the application simultaneously. The distributed node includes an execution unit for executing an instance of the application, the execution unit including a function acquisition unit for acquiring at least one of the one or more functions of the program, and in order to execute the program, the one or more functions of the program are distributed in the group. In addition, the distributed node includes: an operating environment configuration acquisition unit for acquiring an operating environment configuration of at least one of the one or more functions. The operating environment configuration includes a sleep requirement of the distributed node when at least one of the one or more functions is activated. The distributed node also includes: an installation unit for installing at least one of the one or more functions on the distributed node based on the operating environment configuration, including a sleep mode of a low power mode of the distributed node configured based on the sleep requirement. In addition, the distributed node includes: an activation unit for activating at least one of the one or more functions according to the operating environment configuration. Finally, the distributed node includes: an acquisition unit for obtaining information associated with an execution mode of at least one of the one or more functions when activating at least one of the one or more functions, so that the sleep mode of the distributed node is adapted based on the execution mode.
[0040] According to one aspect, the computer program represents an instance of an application. In addition, the computer program includes instructions that, when executed on at least one processor of a distributed node in a group of distributed nodes in a distributed system. Each distributed node is operable to simultaneously execute an instance of the application so that at least one processor performs any method described herein. In addition, a carrier may contain the computer program, the carrier being one of an electrical signal, an optical signal, a radio signal, or a computer-readable storage medium. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Hereinafter, the present disclosure will be described more fully with reference to the accompanying drawings showing embodiments of the present disclosure. However, the present disclosure should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided so that the present disclosure will be comprehensive and complete, and these embodiments fully convey the scope of the present disclosure to those skilled in the art. Throughout the text, similar reference numerals represent similar elements.
[0042] Figure 1 An embodiment of a system for deploying a program to a distributed network according to various aspects described herein is shown.
[0043] Figure 2 One embodiment of a node associated with a distributed system in accordance with various aspects described herein is shown.
[0044] Figure 3Another embodiment of a node associated with a distributed system in accordance with various aspects described herein is shown.
[0045] Figure 4A to Figure 4E An embodiment of a method for deploying a program to a distributed network performed by a node according to various aspects described herein is shown.
[0046] Figure 5 One embodiment of a distributed node in accordance with various aspects described herein is shown.
[0047] Figure 6 Another embodiment of a distributed node in accordance with various aspects described herein is shown.
[0048] Figure 7A to Figure 7C An embodiment of a method of deploying a program to a distributed network performed by distributed nodes according to various aspects described herein is shown.
[0049] Figure 8 An embodiment of a wireless communication network in accordance with various aspects described herein is shown.
[0050] Fig. 9 An embodiment of a UE in accordance with various aspects described herein is shown.
[0051] FIG. 10A to FIG. 10D Different applications for performing temperature measurements according to various aspects described herein are shown.
[0052] Fig.11 An application with a door sensor as a trigger according to various aspects described herein is shown. DETAILED DESCRIPTION
[0053] For the purpose of simplification and illustration, the present disclosure is described mainly with reference to the exemplary embodiments of the present disclosure. In the following description, many specific details are set forth to provide a thorough understanding of the present disclosure. However, it will be apparent to those skilled in the art that the present disclosure can be practiced without the limitation of these specific details. In this specification, well-known methods and structures are not described in detail to avoid unnecessarily obscuring the present disclosure.
[0054] The present disclosure includes describing systems and methods for deploying programs to a distributed network. In addition, the present disclosure describes novel techniques for deploying applications and functional parts of the applications on distributed nodes of the distributed network based on dormancy requirements of distributed nodes of the distributed network, thereby resulting in reduced energy consumption of the distributed network. For example, Figure 1 One embodiment of a system 100 for deploying a program 131 to a distributed network 111 according to various aspects described herein is shown. Figure 1In the embodiment, system 100 includes node 101 and distributed system 111 having a group of distributed nodes 113-115. In one example, node 101 can be separate from distributed system 111. In another example, node 101 can be one of distributed nodes 113-115 of distributed system 111. Node 101 is configured to send and / or receive information to and / or from each of distributed nodes 113-115 using any wired or wireless communication technology. In addition, each of distributed nodes 113-115 is configured to send and / or receive information to and / or from node 101 and at least one distributed node 113-115.
[0055] exist Figure 1In block 103, the node 101 obtains the execution mode 117 of the program having one or more functions, for example, by receiving the execution mode 117 of the program 131 from the distributed node 113. The execution mode 117 may represent a periodic or non-periodic execution rate of the program 131. In block 105, the node 101 also obtains the sleep requirements 119-121 of the distributed nodes 113-115, for example, by receiving its sleep requirements 119-121 from each distributed node 113-115. Each sleep requirement 119-121 may represent a time period after entering a low power mode (e.g., sleep mode, standby mode) from a normal mode, and before re-entering the normal operation mode of the corresponding distributed node 113-115, the distributed node is required to operate in a low power mode according to the sleep requirements 119-121. For example, the sleep requirement 119-121 may be a predetermined time period, for example, in units of seconds (e.g., 30 seconds), minutes (e.g., 30 minutes), hours (e.g., 12 hours), days (e.g., 7 days), etc., requiring the corresponding distributed nodes 113-115 to be in a low power operation mode according to the sleep requirement 119-121 before re-entering the normal operation mode. In addition, the requirement may be associated with the following: the low power mode capability of the corresponding distributed node 113-115; the battery capacity of the corresponding distributed node 113-115 (e.g., 3200 milliamps per hour), which represents the maximum amount of energy that the corresponding distributed node 113-115 can extract from the battery under certain conditions; the amount of current required by the corresponding distributed node 113-115, for example, during its normal or sleep operation mode; the length of time (e.g., 1 year) that the corresponding distributed node 113-115 is required to operate on, for example, a battery, etc. In addition, each distributed node 113-115 operating in a low power mode consumes less power than the distributed node 113-115 operating in a normal mode. Furthermore, the node 101 deploys the functions 133-135 of the program 131 to the corresponding distributed nodes 113-115 based on the execution mode 117 of the program 131 and the sleep requirements 119-121 of each distributed node 113-115, so that the distributed nodes 113-115 can execute the program 131.
[0056] In the current embodiment, each distributed node 113-115 is operable to simultaneously execute an instance of an application associated with the deployment of the functions 133-135 of the program 131. The instance of the application executed on each distributed node 113-115 obtains the corresponding function 133-135 and the operating environment configuration associated with the function. The operating environment configuration may include the sleep requirements of the corresponding distributed node 113-115. Each instance of the application installs the corresponding function 133-135 on the associated distributed node 113-115, including a sleep mode that configures its low power mode based on the sleep requirements 119-121 of the distributed node 113-115. The sleep mode may represent a mode of when the corresponding distributed node 113-115 operates in a low power mode (e.g., sleep mode, standby mode) and for how long, determined based on the sleep requirements 119-121 of the corresponding distributed node 113-115 and the execution mode 117 of the functions 133-135 deployed on the node 113-115. In one example, the execution mode 117 of the program 131 indicates that the program needs to be executed once every minute from 9:00 am to 5:00 pm every day, and once every hour outside this period. In addition, the sleep requirements 119-121 indicate that the corresponding distributed nodes 113-115 can be in the sleep mode of operation for up to thirty minutes. Therefore, the sleep mode is determined to be one minute from 9:00 am to 5:00 pm every day, and thirty minutes outside this period. In another example, the execution mode 117 of the program 131 indicates that the program needs to be executed once at the end of each calendar month in order to report the measurement readings. However, the sleep requirements 119-121 indicate that the corresponding distributed nodes 113-115 can be in the sleep mode of operation for up to one week. Therefore, the sleep mode includes the corresponding distributed nodes 113-115 being in a week low power mode for three or four consecutive weeks, followed by one or more days in low power mode depending on the number of days in the month. In another example, the execution mode 117 of the program 131 indicates that the program needs to be executed at a specific time of the day, week, or month. Furthermore, the dormant requirements 119 - 121 indicate that the corresponding distributed nodes 113 - 115 may be in a dormant mode of operation for a maximum of one year. Thus, the dormant mode is represented by the execution mode 117 of the program 131 .
[0057] Next, the program 131 is activated 141 on the group of distributed nodes 113-115 by activating the corresponding functions 133-135 on the associated distributed nodes 113-115 through each instance of the application, as shown in respective blocks 143-145. When the program 131 is activated on the group of distributed nodes 113-115, at least one of the distributed nodes 113-115 obtains information associated with the execution mode 117 of the corresponding functions 133-135, so that the sleep mode of the distributed node is adapted based on the execution mode 117.
[0058] In addition, node 101 may be a computer-implemented node that is a communication redistribution point or communication endpoint in a network, such as a computer server, a base station, a core network node, a handheld computer, a desktop computer, a laptop computer, a tablet computer, a set-top box, a television, an appliance, a medical device, or some other similar term. In addition, node 101 may be a user equipment (UE), a mobile station (MS), a terminal, a cellular phone, a cellular handset, a personal digital assistant (PDA), a smart phone, a wireless phone, an organizer, a handheld computer, a desktop computer, a laptop computer, a tablet computer, a set-top box, a television, an appliance, a gaming device, a medical device, a display device, a metering device, etc. In addition, node 101 may be one or more distributed nodes of distributed nodes 113-115. In addition, node 101 may represent a virtual server.
[0059] In addition, at least one distributed node 113-115 can be a computer-implemented node that is a communication redistribution point or communication endpoint in a network, such as a computer server, a base station, a core network node, a handheld computer, a desktop computer, a laptop computer, a tablet computer, a set-top box, a television, an appliance, a medical device, or some other similar term. In addition, at least one distributed node 113-115 can be a user equipment (UE), a mobile station (MS), a terminal, a cellular phone, a cellular phone, a personal digital assistant (PDA), a smart phone, a wireless phone, an organizer, a handheld computer, a desktop computer, a laptop computer, a tablet computer, a set-top box, a television, an appliance, a gaming device, a medical device, a display device, a metering device, etc. In addition, at least two distributed nodes 113-115 can be represented by different processors of the same node, respectively. In addition, at least one distributed node 113-115 can represent a virtual server.
[0060] Figure 2An embodiment of a node 200 associated with a distributed system according to various aspects described herein is shown. As shown, the node 200 includes a processing circuit 210 and a communication circuit 230. The communication circuit 230 is configured to send information to one or more other nodes and / or receive information from one or more other nodes (e.g., via any communication technology). The processing circuit 210 is configured to perform the above-mentioned processing, for example, by executing instructions stored in the memory 220. In this regard, the processing circuit 210 can implement certain functional devices, units or modules. The node 200 may also include a sensor 250 and a clock circuit 260. The sensor 250 may be configured to detect an event (e.g., a change in the environment of the node) to trigger the processing circuit 210 to execute at least one function of the program. The clock circuit 260 may be configured to allow the processing circuit 210 to be placed in a low power mode (e.g., a sleep mode) so that the power consumed by the processing circuit 210 is less than the power consumed during the normal or typical operating mode. During the transition to the low power mode, the state of the processing circuit 210 may be stored or suspended so that the state of the processing circuit 210 may be restored or restarted during the transition to normal operation of the processing circuit so that the processing circuit 210 can continue to operate from the same state it was in when it entered the sleep mode. In addition, the time period that the processing circuit 210 is in the low power mode may be programmable via the processing circuit 210 based on the sleep requirements of the distributed node 200.
[0061] Figure 3 Another embodiment of a node 300 associated with a distributed system according to various aspects described herein is shown. As shown, the node 300 (e.g., via Figure 2 The processing circuit 210 in the embodiment implements various functional devices, units or modules or circuits via software code. In one embodiment, these functional devices, units, modules or circuits (for example, for implementing the method herein) may include, for example: a receiving unit 301 for receiving the execution mode of the program, the sleep requirements of the distributed nodes or the mode of the triggering event for triggering the execution of the program, etc.; an execution mode acquisition unit 303 for acquiring the execution mode of the program; a sleep requirement acquisition unit 307 for acquiring the sleep requirements of the distributed nodes; a trigger event mode acquisition unit 311 for acquiring the mode of the triggering event for triggering the execution of the program; a deployment unit 315 for dynamically deploying one or more functions of the program to all or part of a group of distributed nodes based on the execution mode of the program and the sleep requirements of the distributed nodes, so as to be used for the group to execute the program; a sleep mode determination unit 318 for determining the sleep mode of at least one distributed node based on the sleep requirements of the node; and a sleep mode adaptation unit 319 for adapting the sleep mode of at least one distributed node during the execution of the first program based on the execution mode of the first program.
[0062] In another embodiment, the execution mode acquisition unit 303 may include an execution mode determination unit 305 for determining the execution mode of the program based on an event that triggers the execution of at least one function or a sleep requirement of a distributed node.
[0063] In another embodiment, the sleep requirement acquisition unit 307 may include a sleep requirement determination unit 309 for determining the sleep mode of the distributed node based on an event that triggers the execution of a function.
[0064] In another embodiment, the trigger event pattern acquisition unit 311 may include a trigger event pattern determination unit 313 for determining a trigger event pattern based on an event that triggers the execution of a function.
[0065] In another embodiment, the deployment unit 313 may include: matching each function of the program with a distributed node in the group of distributed nodes, the matching being based on an execution mode of the program and a sleep requirement of the distributed node.
[0066] In another embodiment, the execution mode acquisition unit 311 may include acquiring the execution mode of the second program. In addition, the deployment unit 313 may include dynamically deploying one or more functions of the second program to all or part of the group of distributed nodes based on the execution modes of the first program and the second program and the sleep requirements of the distributed nodes, so as to execute the second program while the group executes the first program.
[0067] Figure 4A to Figure 4E An embodiment of a method 400a for deploying a program to a distributed network performed by a node according to various aspects described herein is shown. Figure 4AIn the method 400a, for example, the method 400a can start at a frame 401a, in which the method 400a includes obtaining the execution mode of the first program and the sleep requirement of at least one distributed node in a group of distributed nodes. In addition, the method 400a includes dynamically deploying one or more functions of the first program to all or part of the distributed nodes of the group based on the execution mode of the first program and the sleep requirement of at least one distributed node, for executing the first program by the group, as shown in frame 403a. The execution mode is associated with an event that triggers the execution of at least one function. In addition, each node is operable to make the triggering event programmed for the function during the deployment or execution of the first program. In frame 404a, the method 400a may include determining the sleep mode of the node based on the sleep requirement of at least one distributed node. In frame 405a, the method 400a may include adapting the sleep mode of at least one distributed node in the group of distributed nodes during the execution of the first program based on the execution mode of the first program. In addition, the method 400a may include obtaining the execution mode of the second program, as quoted in frame 407a. In box 409a, method 400a may include dynamically deploying one or more functions of the second program to all or part of the group of distributed nodes based on the execution mode of the first program and the second program and the sleep requirement of at least one distributed node, so as to execute the second program simultaneously with the execution of the first program by the group of distributed nodes.
[0068] exist Figure 4B In the method 400b, for example, the method 400b can start at block 401b, in which the method 400b includes receiving an indication of an execution mode of the program from at least one distributed node in the group of distributed nodes. In addition, the method 400b can include determining the execution mode of the program based on an event that triggers the execution of at least one function or a sleep requirement of at least one distributed node, as referenced by block 403b.
[0069] exist Figure 4C In the method 400c, the method 400c may start, for example, at block 401c, where the method 400c includes receiving an indication of a sleep requirement of the node from at least one distributed node. In addition, the method 400c may include determining a sleep mode of the node based on the sleep requirement of the at least one distributed node, as referenced by block 403c. In addition, the method 400c may include determining a sleep mode of the at least one distributed node based on an event that triggers the execution of at least one function, as referenced by block 405c.
[0070] exist Figure 4DIn the method 400d, the method 400d may, for example, start at block 401d, where the method 400d includes: matching each function of the program with a distributed node in a group of distributed nodes, the matching being based on the execution mode of the program and the sleep requirement of the distributed node. In addition, the method 400d may include matching at least one function triggered by an event with a distributed node in the group based on the execution mode of the program and the sleep requirement of each node, as referenced by block 403d.
[0071] exist Figure 4E In the method 400e, for example, at block 401e, the method 400e includes obtaining a pattern of triggering events that trigger execution of at least one function of the program. In addition, the execution mode of the program is a triggering event pattern. In block 403e, the method 400e may include receiving an indication of the triggering event pattern from a distributed node hosting at least one function triggered by the event. In addition, the method 400e may include determining the triggering event pattern based on the event that triggers execution of the at least one function, as shown in block 405e.
[0072] Figure 5 An embodiment of a distributed node 500 according to various aspects described herein is shown. As shown, the distributed node 500 includes a processing circuit 510 and a communication circuit 530. The communication circuit 530 is configured to send information to one or more other nodes and / or receive information from one or more other nodes (e.g., via any communication technology). The processing circuit 510 is configured to perform the above-mentioned processing, for example, by executing instructions stored in the memory 520. In this regard, the processing circuit 510 can implement certain functional devices, units or modules. The node 500 may also include a sensor 550 and a clock circuit 560. The sensor 550 may be configured to detect an event (e.g., a change in the environment of the node) to trigger the processing circuit 510 to execute at least one function of the program. The clock circuit 560 may be configured to allow the processing circuit 510 to be placed in a low power mode (e.g., a sleep mode) so that the power consumed by the processing circuit 510 is less than the power consumed during the normal or typical operating mode. During the transition to the low power mode, the state of the processing circuit 510 may be stored or suspended so that the state of the processing circuit 510 may be restored or restarted during the transition to normal operation of the processing circuit so that the processing circuit 510 can continue to operate from the same state it was in when it entered the sleep mode. In addition, the time period that the processing circuit 510 is in the low power mode may be programmable via the processing circuit 510 based on the sleep requirements of the distributed node 500.
[0073] Figure 6 Another embodiment of a distributed node 600 according to various aspects described herein is shown. As shown, the distributed node 600 (e.g., via Figure 5The processing circuit 510 in the program and / or via software code) implements various functional devices, units or modules or circuits. In one embodiment, these functional devices, units, modules or circuits (for example, for implementing the method herein) may include, for example: a function acquisition unit 605 for acquiring the function of the program; an operating environment configuration acquisition unit 607 for acquiring the operating environment configuration of the function, the operating environment configuration including the sleep requirements of the distributed node 600; an installation unit 609 for installing the function on the distributed node 600 based on the operating environment configuration; an activation unit 611 for activating the function according to the operating environment configuration; and an acquisition unit 613 for acquiring information associated with the execution mode of the function so as to adapt the sleep mode of the distributed node based on the execution mode.
[0074] In another embodiment, these functional devices, units, modules or circuits may include, for example: an event trigger configuration acquisition unit 621, used to acquire the event trigger configuration of the function; an event trigger configuration unit 623, used to configure the distributed node 600 to generate an event that triggers the execution of the function based on the operating environment configuration; and an event trigger activation unit 625, used to activate the event trigger.
[0075] In another embodiment, these functional devices, units, modules or circuits may include, for example: a distributed network configuration acquisition unit 631 for acquiring a distributed network configuration. In addition, the installation unit 609 is further configured to install functions on distributed nodes based on the operating environment configuration and the distributed network configuration.
[0076] In another embodiment, these functional devices, units, modules or circuits may include, for example: a receiving unit 603 for receiving a function of a program, a distributed network configuration, an operating environment configuration or an event trigger configuration.
[0077] Figure 7A to Figure 7C An embodiment of a method 700a-700c performed by an instance of an application according to various aspects described herein is shown, the instance of the application being executed by a distributed node in a group of distributed nodes, each distributed node being operable to execute the instance of the application simultaneously. Fig. 7AIn the method 700a, for example, the method 700a can start at a frame 701a, in which the method 700a includes: in order to execute the program, obtaining at least one function of the one or more functions of the program distributed in the group. In addition, the method 700a includes obtaining the operating environment configuration of at least one function of the one or more functions, as shown in frame 703a. The operating environment configuration includes the sleep requirements of the distributed nodes. In addition, the method 700a includes installing at least one function of the one or more functions on the distributed nodes based on the operating environment configuration, including configuring the sleep mode of the low power mode of the distributed node based on the sleep requirements, as shown in frame 705a. In addition, the method 700a includes activating at least one function of the one or more functions according to the operating environment configuration, as shown in frame 707a. When activating at least one function of the one or more functions, the method 700a includes obtaining information associated with the execution mode of at least one function of the one or more functions, so that the sleep mode of the distributed node is adapted based on the execution mode, as shown in frame 709a.
[0078] exist Figure 7B In the method 700b, for example, the method 700b can start at a block 701b, in which the method 700b includes obtaining an event trigger configuration of at least one function. The event trigger configuration is associated with a programming model that enables each node to be operable to generate an event that triggers the execution of at least one function. In addition, the method 700b includes configuring the distributed node to generate an event that triggers the execution of at least one function based on the operating environment configuration, as shown in block 703b. In addition, the method 700b includes activating the event trigger, as shown in block 705b.
[0079] exist Figure 7C In the method 700c, the method 700c may start, for example, at block 701c, where the method 700c includes obtaining a distributed network configuration. The distributed network configuration indicates network addresses of those distributed nodes in the group that are directly interfaced with the distributed node. In addition, the method 700c includes installing at least one of the one or more functions on the distributed node based on the operating environment configuration and the distributed network configuration, as shown in block 703c.
[0080] Note that the above-mentioned device can perform the method and any other processing of this article by implementing any functional device, module, unit or circuit. In one embodiment, for example, the device includes a corresponding circuit or circuit system configured to perform the steps shown in the method figure. In this regard, the circuit or circuit system may include a circuit dedicated to performing certain functional processing and / or one or more microprocessors combined with a memory. For example, the circuit may include one or more microprocessors or microcontrollers and other digital hardware (may include a digital signal processor (DSP), dedicated digital logic, etc.). The processing circuit may be configured to execute the program code stored in the memory, which may include one or more types of memory, such as read-only memory (ROM), random access memory, cache memory, flash memory device, optical storage device, etc. In several embodiments, the program code stored in the memory may include program instructions for executing one or more telecommunications and / or data communication protocols, and instructions for executing one or more technologies described herein. In an embodiment using a memory, the memory stores program code, which executes the technology described herein when executed by one or more processors.
[0081] Although the subject matter described herein may be implemented in any suitable type of system using any suitable components, the embodiments disclosed herein may also be implemented in connection with wireless networks (e.g., Figure 8 For simplicity, Figure 8 The wireless network of FIG. 1 depicts only network 806, network nodes 860 and 860b, and wireless devices 810, 810b, and 810c. In practice, a wireless network may also include any additional elements suitable for supporting communications between wireless devices or between a wireless device and another communication device (e.g., a landline phone, a service provider, or any other network node or terminal device). In the illustrated components, network node 860 and wireless device 810 are depicted in additional detail. A wireless network may provide communication and other types of services to one or more wireless devices to facilitate wireless devices to access and / or use services provided by or via the wireless network.
[0082] A wireless network may include and / or interface with any type of communication, telecommunication, data, cellular and / or radio network or other similar type of system. In some embodiments, a wireless network may be configured to operate according to a specific standard or other type of predefined rules or procedures. Thus, specific embodiments of a wireless network may implement communication standards such as Global System for Mobile Communications (GSM), Universal Mobile Telecommunications System (UMTS), Long Term Evolution (LTE), Narrowband Internet of Things (NB-IoT), and / or other suitable 2G, 3G, 4G, or 5G standards; wireless local area network (WLAN) standards such as IEEE 802.11 standards; and / or any other suitable wireless communication standards such as Worldwide Interoperability for Microwave Access (WiMax), Bluetooth, Z-Wave, and / or ZigBee standards.
[0083] The network 806 may include one or more backhaul networks, core networks, IP networks, public switched telephone networks (PSTN), packet data networks, optical networks, wide area networks (WANs), local area networks (LANs), wireless local area networks (WLANs), wired networks, wireless networks, metropolitan area networks, and other networks to enable communication between devices.
[0084] The network node 860 and the wireless device 810 include various components described in more detail below. These components work together to provide network node and / or wireless device functions, such as providing wireless connections in a wireless network. In various embodiments, the wireless network may include any number of wired or wireless networks, network nodes, base stations, controllers, wireless devices, relay stations, and / or any other components or systems that may facilitate or participate in the communication of data and / or signals (whether via a wired connection or via a wireless connection).
[0085] As used herein, a network node refers to a device that is capable of, configured, arranged and / or operable to communicate directly or indirectly with a wireless device and / or with other network nodes or devices in a wireless network to implement and / or provide wireless access to a wireless device and / or perform other functions (e.g., management) in a wireless network. Examples of network nodes include (but are not limited to) access points (APs) (e.g., radio access points), base stations (BSs) (e.g., radio base stations, NodeBs, evolved NodeBs (eNBs), and NR NodeBs (gNBs)). Base stations can be classified based on the amount of coverage they provide (or in other words, based on their transmit power levels), so they can also be referred to as femto base stations, pico base stations, micro base stations, or macro base stations. A base station can be a relay node or a relay donor node that controls a relay. A network node may also include one or more (or all) parts of a distributed radio base station, such as a centralized digital unit and / or a remote radio unit (RRU) (sometimes referred to as a remote radio head (RRH)). Such a remote radio unit may or may not be integrated with an antenna as an antenna-integrated radio device. Portions of a distributed radio base station may also be referred to as nodes in a distributed antenna system (DAS). Still other examples of network nodes include multi-standard radio (MSR) equipment (such as an MSR BS), a network controller (such as a radio network controller (RNC) or a base station controller (BSC)), a base transceiver station (BTS), a transmission point, a transmission node, a multi-cell / multicast coordination entity (MCE), a core network node (e.g., MSC, MME), an O&M node, an OSS node, a SON node, a positioning node (e.g., E-SMLC), and / or an MDT. As another example, a network node may be a virtual network node, as described in more detail below. However, more generally, a network node may represent any suitable device (or device group) that is capable of, configured, arranged, and / or operable to implement and / or provide access to a wireless network to a wireless device, or to provide a certain service to a wireless device that has accessed a wireless network.
[0086] exist Figure 8 In FIG. 8 , the network node 860 includes a processing circuit 870, a device readable medium 880, an interface 890, an auxiliary device 854, a power supply 856, a power supply circuit 857, and an antenna 862. Figure 8The network node 860 shown in the example wireless network of can represent a device including the combination of hardware components shown, but other embodiments can include network nodes with different combinations of components. It should be understood that the network node includes any suitable combination of hardware and / or software required to perform the tasks, features, functions, and methods disclosed herein. In addition, although the components of the network node 860 are depicted as a single box located within a larger box or nested within multiple boxes, in reality, the network node may include multiple different physical components that constitute a single illustrated component (for example, the device readable medium 880 may include multiple separate hard drives and multiple RAM modules).
[0087] Similarly, the network node 860 may be composed of multiple physically separated components (e.g., NodeB components and RNC components, or BTS components and BSC components, etc.), each of which may have its own corresponding components. In certain scenarios where the network node 860 includes multiple separated components (e.g., BTS and BSC components), one or more of these separated components may be shared between several network nodes. For example, a single RNC may control multiple NodeBs. In such scenarios, each unique NodeB and RNC pair may be considered as a single separate network node in some instances. In some embodiments, the network node 860 may be configured to support multiple radio access technologies (RATs). In such embodiments, some components may be replicated (e.g., separate device-readable media 880 for different RATs), and some components may be reused (e.g., the same antenna 862 may be shared by RATs). The network node 860 may also include multiple groups of various components shown for different wireless technologies (e.g., GSM, WCDMA, LTE, NR, Wi-Fi, or Bluetooth wireless technologies) integrated into the network node 860. These wireless technologies may be integrated into the same or different chips or chipsets and other components within network node 860 .
[0088] The processing circuit 870 is configured to perform any determination, calculation, or similar operation (e.g., certain acquisition operations) described herein as being provided by the network node. These operations performed by the processing circuit 870 may include processing the information acquired by the processing circuit 870 by, for example, converting the acquired information into other information, comparing the acquired information or the converted information with information stored in the network node, and / or performing one or more operations based on the acquired information or the converted information and making a determination based on the results of the processing.
[0089] The processing circuit 870 may include a combination of one or more of the following: a microprocessor, a controller, a microcontroller, a central processing unit, a digital signal processor, an application specific integrated circuit, a field programmable gate array, or any other suitable computing device, resource, or combination of hardware, software and / or encoded logic, which is operable to provide network node 860 functions alone or in combination with other network node 860 components (e.g., device readable medium 880). For example, the processing circuit 870 may execute instructions stored in the device readable medium 880 or in a memory within the processing circuit 870. Such functions may include providing any of the various wireless features, functions, or benefits discussed herein. In some embodiments, the processing circuit 870 may include a system on a chip (SOC).
[0090] In some embodiments, processing circuitry 870 may include one or more of radio frequency (RF) transceiver circuitry 872 and baseband processing circuitry 874. In some embodiments, radio frequency (RF) transceiver circuitry 872 and baseband processing circuitry 874 may be located on separate chips (or chipsets), boards, or units (e.g., a radio unit and a digital unit). In alternative embodiments, part or all of RF transceiver circuitry 872 and baseband processing circuitry 874 may be on the same chip or chipset, board, or unit.
[0091] In certain embodiments, some or all of the functions described herein as being provided by a network node, base station, eNB, or other such network device may be performed by a processing circuit 870 that executes instructions stored on a device-readable medium 880 or a memory within the processing circuit 870. In alternative embodiments, some or all of the functions may be provided by the processing circuit 870, for example, in a hardwired manner, without executing instructions stored on a separate or discrete device-readable medium. In any of these embodiments, the processing circuit 870 may be configured to perform the described functions, whether or not instructions stored on a device-readable storage medium are executed. The benefits provided by such functionality are not limited to only the processing circuit 870 or to other components of the network node 860, but are enjoyed by the network node 860 as a whole and / or by end users and the wireless network as a whole.
[0092] Device readable medium 880 may include any form of volatile or non-volatile computer readable memory, including (but not limited to) permanent storage devices, solid-state memory, remotely mounted memory, magnetic media, optical media, random access memory (RAM), read-only memory (ROM), mass storage media (e.g., hard disk), removable storage media (e.g., flash drive, compact disk (CD) or digital video disk (DVD)), and / or any other volatile or non-volatile, non-transitory device readable and / or computer executable memory device that stores information, data and / or instructions that can be used by processing circuit 870. Device readable medium 880 may store any suitable instructions, data or information, including computer programs, software, applications including one or more of logic, rules, codes, tables, etc., and / or other instructions that can be executed by processing circuit 870 and used by network node 860. Device readable medium 880 may be used to store any calculations made by processing circuit 870 and / or any data received via interface 890. In some embodiments, processing circuit 870 and device readable medium 880 may be considered to be integrated.
[0093] Interface 890 is used for wired or wireless communication of signaling and / or data between network node 860, network 806 and / or wireless device 810. As shown, interface 890 includes port / terminal 894, for example, sending data to network 806 and receiving data from network 806 via wired connection. Interface 890 also includes radio front-end circuit 892, which can be coupled to antenna 862, or is part of antenna 862 in some embodiments. Radio front-end circuit 892 includes filter 898 and amplifier 896. Radio front-end circuit 892 can be connected to antenna 862 and processing circuit 870. Radio front-end circuit can be configured to adjust the signal communicated between antenna 862 and processing circuit 870. Radio front-end circuit 892 can receive digital data, which will be sent to other network nodes or wireless devices via wireless connection. Radio front-end circuit 892 can use a combination of filter 898 and / or amplifier 896 to convert digital data into a radio signal with suitable channel and bandwidth parameters. Then the radio signal can be sent through antenna 862. Similarly, when receiving data, antenna 862 may collect radio signals, which may then be converted to digital data by radio front end circuitry 892. The digital data may be passed to processing circuitry 870. In other embodiments, the interface may include different components and / or different combinations of components.
[0094] In certain alternative embodiments, the network node 860 may not include a separate radio front end circuit 892, and instead, the processing circuit 870 may include the radio front end circuit and may be connected to the antenna 862 without a separate radio front end circuit 892. Similarly, in some embodiments, all or some of the RF transceiver circuit 872 may be considered part of the interface 890. In other embodiments, the interface 890 may include one or more ports or terminals 894, the radio front end circuit 892, and the RF transceiver circuit 872 as part of a radio unit (not shown), and the interface 890 may communicate with the baseband processing circuit 874 as part of a digital unit (not shown).
[0095] Antenna 862 may include one or more antennas or antenna arrays configured to send and / or receive wireless signals. Antenna 862 may be coupled to radio front-end circuit 890 and may be any type of antenna capable of wirelessly sending and receiving data and / or signals. In some embodiments, antenna 862 may include one or more omnidirectional, sector or flat panel antennas operable to send / receive radio signals between, for example, 2 GHz and 66 GHz. Omnidirectional antennas may be used to send / receive radio signals in any direction, sector antennas may be used to send / receive radio signals to / from devices in a specific area, and flat panel antennas may be line of sight antennas for sending / receiving radio signals in a relatively straight line. In some cases, using more than one antenna may be referred to as MIMO. In some embodiments, antenna 862 may be separated from network node 860 and may be connected to network node 860 via an interface or port.
[0096] Antenna 862, interface 890 and / or processing circuit 870 can be configured to perform any receiving operation and / or certain acquisition operation described herein as being performed by a network node. Any information, data and / or signal can be received from a wireless device, another network node and / or any other network device. Similarly, antenna 862, interface 890 and / or processing circuit 870 can be configured to perform any sending operation performed by a network node described herein. Any information, data and / or signal can be sent to a wireless device, another network node and / or any other network device.
[0097] The power circuit 887 may include a power management circuit or be coupled to a power management circuit, and is configured to provide power to the components of the network node 860 to perform the functions described herein. The power circuit 887 may receive power from a power supply 886. The power supply 886 and / or the power circuit 887 may be configured to provide power to the various components of the network node 860 in a form suitable for each component (e.g., at the voltage and current levels required by each corresponding component). The power supply 886 may be included in the power circuit 887 and / or the network node 860 or outside the power circuit 887 and / or the network node 860. For example, the network node 860 may be connected to an external power source (e.g., a power outlet) via an input circuit or an interface such as a cable, whereby the external power source supplies power to the power circuit 887. As another example, the power supply 886 may include a power source in the form of a battery or a battery pack, which is connected to or integrated in the power circuit 887. If the external power supply fails, the battery can provide backup power. Other types of power supplies, such as photovoltaic devices, may also be used.
[0098] Alternative embodiments of network node 860 may include beyond Figure 8 , which may be responsible for providing certain aspects of the functionality of the network node, including any of the functionality described herein and / or any functionality required to support the subject matter described herein. For example, the network node 860 may include a user interface device to allow information to be input into the network node 860 and to allow information to be output from the network node 860. This may allow a user to perform diagnostic, maintenance, repair, and other management functions for the network node 860.
[0099] As used herein, a wireless device refers to a device that is capable of, configured to, arranged to, and / or operable to communicate wirelessly with a network node and / or other wireless devices. Unless otherwise specified, the term wireless device may be used interchangeably with user equipment (UE) in this article. Wireless transmission may include sending and / or receiving wireless signals using electromagnetic waves, radio waves, infrared waves, and / or other types of signals suitable for transmitting information through the air. In some embodiments, a wireless device may be configured to send and / or receive information without direct human interaction. For example, a wireless device may be designed to send information to a network with a predetermined schedule when triggered by an internal or external event, or in response to a request from the network. Examples of wireless devices include, but are not limited to, smart phones, mobile phones, cellular phones, voice over IP (VoIP) phones, wireless local loop phones, desktop computers, personal digital assistants (PDAs), wireless cameras, game consoles or devices, music storage devices, playback devices, wearable terminal devices, wireless endpoints, mobile stations, tablet computers, portable computers, portable embedded devices (LEEs), portable installation equipment (LMEs), smart devices, wireless customer premises equipment (CPEs), vehicle-mounted wireless terminal devices, etc. The wireless device may support device-to-device (D2D) communication, for example, by implementing 3GPP standards for sidelink communication, vehicle-to-vehicle (V2V) communication, vehicle-to-infrastructure (V2I) communication, and vehicle-to-anything (V2X) communication, and in this case may be referred to as a D2D communication device. As another specific example, in an Internet of Things (IoT) scenario, a wireless device may represent a machine or other device that performs monitoring and / or measurement and sends the results of such monitoring and / or measurement to another wireless device and / or network node. In this case, the wireless device may be a machine-to-machine (M2M) device, which may be referred to as an MTC device in the 3GPP context. As a specific example, the wireless device may be a UE that implements the 3GPP Narrowband Internet of Things (NB-IoT) standard. Specific examples of such machines or devices are sensors, metering devices (e.g., electricity meters), industrial machines, or household or personal appliances (e.g., refrigerators, televisions, etc.), personal wearable devices (e.g., watches, fitness trackers, etc.). In other scenarios, the wireless device may represent a vehicle or other device that is capable of monitoring and / or reporting its operating status or other functions associated with its operation. The wireless device as described above may represent an endpoint of a wireless connection, in which case the device may be referred to as a wireless terminal. In addition, the wireless device as described above may be mobile, in which case it may also be referred to as a mobile device or a mobile terminal.
[0100] As shown, the wireless device 810 includes an antenna 811, an interface 814, a processing circuit 820, a device-readable medium 830, a user interface device 832, an auxiliary device 834, a power supply 836, and a power supply circuit 837. The wireless device 810 may include multiple groups of one or more of the components shown for different wireless technologies supported by the wireless device 810 (e.g., GSM, WCDMA, LTE, NR, Wi-Fi, WiMAX, NB-IoT, or Bluetooth wireless technologies, to mention just a few). These wireless technologies may be integrated into the same or different chips or chipsets as other components within the wireless device 810.
[0101] Antenna 811 may include one or more antennas or antenna arrays configured to send and / or receive wireless signals, and is connected to interface 814. In some alternative embodiments, antenna 811 can be separated from wireless device 810 and can be connected to wireless device 810 through an interface or port. Antenna 811, interface 814 and / or processing circuit 820 can be configured to perform any receiving or sending operation described herein as being performed by a wireless device. Any information, data and / or signal can be received from a network node and / or another wireless device. In some embodiments, radio front end circuit and / or antenna 811 can be considered as an interface.
[0102] As shown, the interface 814 includes a radio front-end circuit 812 and an antenna 811. The radio front-end circuit 812 includes one or more filters 818 and an amplifier 816. The radio front-end circuit 812 is connected to the antenna 811 and the processing circuit 820, and is configured to adjust the signal transmitted between the antenna 811 and the processing circuit 820. The radio front-end circuit 812 may be coupled to the antenna 811 or may be part of the antenna 811. In some embodiments, the wireless device 810 may not include a separate radio front-end circuit 812; instead, the processing circuit 820 may include a radio front-end circuit and may be connected to the antenna 811. Similarly, in some embodiments, some or all of the RF transceiver circuit 822 may be considered to be part of the interface 814. The radio front-end circuit 812 may receive digital data, which will be sent out to other network nodes or wireless devices via a wireless connection. The radio front-end circuit 812 may convert the digital data into a radio signal having suitable channel and bandwidth parameters using a combination of filters 818 and / or amplifiers 816. The radio signal may then be sent via the antenna 811. Similarly, when receiving data, antenna 811 may collect radio signals, which may then be converted to digital data by radio front end circuit 812. The digital data may be passed to processing circuit 820. In other embodiments, the interface may include different components and / or different combinations of components.
[0103] The processing circuit 820 may include a combination of one or more of the following: a microprocessor, a controller, a microcontroller, a central processing unit, a digital signal processor, an application specific integrated circuit, a field programmable gate array, or any other suitable computing device, resource, or combination of hardware, software and / or encoded logic, which is operable to provide wireless device 810 functionality alone or in combination with other wireless device 810 components (e.g., device readable medium 830). Such functionality may include providing any of the various wireless features or benefits discussed herein. For example, the processing circuit 820 may execute instructions stored in the device readable medium 830 or in a memory within the processing circuit 820 to provide the functionality disclosed herein.
[0104] As shown, the processing circuit 820 includes one or more of an RF transceiver circuit 822, a baseband processing circuit 824, and an application processing circuit 826. In other embodiments, the processing circuit may include different components and / or different combinations of components. In some embodiments, the processing circuit 820 of the wireless device 810 may include a SOC. In some embodiments, the RF transceiver circuit 822, the baseband processing circuit 824, and the application processing circuit 826 may be on a separate chip or chipset. In an alternative embodiment, a portion or all of the baseband processing circuit 824 and the application processing circuit 826 may be combined into one chip or chipset, and the RF transceiver circuit 822 may be on a separate chip or chipset. In another alternative embodiment, a portion or all of the RF transceiver circuit 822 and the baseband processing circuit 824 may be on the same chip or chipset, and the application processing circuit 826 may be on a separate chip or chipset. In other alternative embodiments, a portion or all of the RF transceiver circuit 822, the baseband processing circuit 824, and the application processing circuit 826 may be combined in the same chip or chipset. In some embodiments, RF transceiver circuitry 822 may be part of interface 814. RF transceiver circuitry 822 may condition RF signals for processing circuitry 820.
[0105] In some embodiments, some or all of the functions described herein as being performed by the wireless device may be provided by a processing circuit 820 that executes instructions stored on a device-readable medium 830, which in some embodiments may be a computer-readable storage medium. In alternative embodiments, some or all of the functions may be provided by the processing circuit 820, for example, in a hardwired manner, without executing instructions stored on a separate or discrete device-readable storage medium. In any of these particular embodiments, the processing circuit 820 may be configured to perform the described functions, whether or not instructions stored on a device-readable storage medium are executed. The benefits provided by such functionality are not limited to only the processing circuit 820 or to other components of the wireless device 810, but are enjoyed by the wireless device 810 as a whole and / or by the end user and the wireless network as a whole.
[0106] The processing circuit 820 may be configured to perform any determination, calculation, or similar operation (e.g., certain acquisition operations) described herein as being performed by the wireless device. Such operations performed by the processing circuit 820 may include processing information acquired by the processing circuit 820 by, for example, converting the acquired information to other information, comparing the acquired information or the converted information to information stored by the wireless device 810, and / or performing one or more operations based on the acquired information or the converted information and making a determination based on the results of the processing.
[0107] The device-readable medium 830 is operable to store computer programs, software, applications including one or more of logic, rules, codes, tables, etc., and / or other instructions executable by the processing circuit 820. The device-readable medium 830 may include a computer memory (e.g., random access memory (RAM) or read-only memory (ROM)), a mass storage medium (e.g., a hard disk), a removable storage medium (e.g., a compact disk (CD) or a digital video disk (DVD)), and / or any other volatile or non-volatile, non-transitory device-readable and / or computer-executable memory device that stores information, data, and / or instructions that may be used by the processing circuit 820. In some embodiments, the processing circuit 820 and the device-readable medium 830 may be considered to be integrated.
[0108] The user interface device 832 may provide a component that allows a human user to interact with the wireless device 810. This interaction may be in a variety of forms, such as visual, auditory, tactile, etc. The user interface device 832 is operable to generate output to the user and allow the user to provide input to the wireless device 810. The type of interaction may vary depending on the type of user interface device 832 installed in the wireless device 810. For example, if the wireless device 810 is a smart phone, the interaction may be performed via a touch screen; if the wireless device 810 is a smart meter, the interaction may be performed through a screen that provides the amount (e.g., the number of gallons used) or a speaker that provides an audible alarm (e.g., if smoke is detected). The user interface device 832 may include input interfaces, devices and circuits, and output interfaces, devices and circuits. The user interface device 832 is configured to allow information to be input into the wireless device 810, and is connected to the processing circuit 820 to allow the processing circuit 820 to process the input information. The user interface device 832 may include, for example, a microphone, proximity or other sensor, key / button, touch display, one or more cameras, USB port or other input circuit. The user interface device 832 is also configured to allow information to be output from the wireless device 810 and to allow the processing circuit 820 to output information from the wireless device 810. The user interface device 832 may include, for example, a speaker, a display, a vibration circuit, a USB port, a headphone jack, or other output circuitry. By using one or more input and output interfaces, devices, and circuits of the user interface device 832, the wireless device 810 may communicate with an end user and / or a wireless network and allow them to benefit from the functionality described herein.
[0109] The auxiliary device 834 is operable to provide more specific functions that may not be typically performed by a wireless device. This may include specialized sensors for measuring for various purposes, interfaces for other types of communications such as wired communications, etc. Whether components of the auxiliary device 834 are included and the types of these components may vary depending on the embodiment and / or scenario.
[0110] In some embodiments, the power source 836 may be in the form of a battery or battery pack. Other types of power sources may also be used, such as an external power source (e.g., a power outlet), a photovoltaic device, or a battery cell. The wireless device 810 may also include a power circuit 837 for delivering power from the power source 836 to various parts of the wireless device 810, which require power from the power source 836 to perform any functions described or indicated herein. In some embodiments, the power circuit 837 may include a power management circuit. The power circuit 837 may additionally or alternatively be operable to receive power from an external power source; in this case, the wireless device 810 may be connected to the external power source (e.g., a power outlet) through an input circuit or an interface such as a power cable. In some embodiments, the power circuit 837 may also be operable to deliver power from an external power source to the power source 836. For example, this may be used to charge the power source 836. The power circuit 837 may perform any formatting, conversion, or other modification on the power from the power source 836 to make the power suitable for the various components of the wireless device 810 being powered.
[0111] Fig. 9 An embodiment of a UE according to various aspects described herein is shown. As used herein, a "user equipment" or "UE" may not necessarily have a "user" in the sense of a human user who owns and / or operates the associated device. Alternatively, a UE may represent a device that is intended to be sold to or operated by a human user but may not or may not initially be associated with a specific human user (e.g., a smart sprinkler controller). Alternatively, a UE may represent a device that is not intended to be sold to or operated by an end user but may be associated with or operated for the benefit of a user (e.g., a smart meter). UE 900 may be any UE identified by the Third Generation Partnership Project (3GPP), including a NB-IoT UE, a Machine Type Communication (MTC) UE, and / or an enhanced MTC (eMTC) UE. As Fig. 9 As shown, UE 900 is an example of a wireless device configured for communication according to one or more communication standards promulgated by the Third Generation Partnership Project (3GPP), such as 3GPP's GSM, UMTS, LTE and / or 5G standards. As previously mentioned, the terms wireless device and UE may be used interchangeably. Therefore, although Fig. 9 It is a UE, but the components discussed in this article are also applicable to wireless devices and vice versa.
[0112] exist Fig. 9In the embodiment, UE 900 includes a processing circuit 901, which is operably coupled to an input / output interface 905, a radio frequency (RF) interface 909, a network connection interface 911, a memory 915 including a random access memory (RAM) 917, a read-only memory (ROM) 919, and a storage medium 921, a communication subsystem 931, a power supply 933, and / or any other components, or any combination thereof. The storage medium 921 includes an operating system 923, an application 925, and data 927. In other embodiments, the storage medium 921 may include other similar types of information. Some UEs may use Fig. 9 All components shown in the UE may be used, or only a subset of these components may be used. The level of integration between components may vary from one UE to another. In addition, some UEs may contain multiple instances of a component, such as multiple processors, memories, transceivers, transmitters, receivers, etc.
[0113] exist Fig. 9 In the embodiment of the present invention, the processing circuit 901 can be configured to process computer instructions and data. The processing circuit 901 can be configured to implement any sequential state machine, which is operable to execute machine instructions of a machine-readable computer program stored in a memory, such as one or more hardware-implemented state machines (e.g., implemented in discrete logic, FPGA, ASIC, etc.), programmable logic together with appropriate firmware, one or more stored programs, general-purpose processors (e.g., microprocessors or digital signal processors (DSPs)) together with suitable software, or any combination of the above. For example, the processing circuit 901 may include two central processing units (CPUs). The data may be information in a form suitable for use by a computer.
[0114] In the depicted embodiment, the input / output interface 905 may be configured to provide a communication interface to an input device, an output device, or an input and output device. The UE 900 may be configured to use an output device via the input / output interface 905. The output device may use an interface port of the same type as the input device. For example, a USB port may be used to provide input to and output from the UE 900. The output device may be a speaker, a sound card, a video card, a display, a monitor, a printer, an actuator, a transmitter, a smart card, another output device, or any combination thereof. The UE 900 may be configured to use an input device via the input / output interface 905 to allow a user to capture information into the UE 900. The input device may include a touch-sensitive or presence-sensitive display, a camera (e.g., a digital camera, a digital video camera, a webcam, etc.), a microphone, a sensor, a mouse, a trackball, a directional pad, a touchpad, a scroll wheel, a smart card, etc. The presence-sensitive display may include a capacitive or resistive touch sensor to sense input from the user. The sensor can be, for example, an accelerometer, a gyroscope, a tilt sensor, a force sensor, a magnetometer, an optical sensor, a proximity sensor, another similar sensor, or any combination thereof. For example, the input device can be an accelerometer, a magnetometer, a digital camera, a microphone, and an optical sensor.
[0115] exist Fig. 9 In the embodiment of the present invention, the RF interface 909 can be configured to provide a communication interface to RF components such as transmitters, receivers, and antennas. The network connection interface 911 can be configured to provide a communication interface to the network 943a. The network 943a can include a wired and / or wireless network, such as a local area network (LAN), a wide area network (WAN), a computer network, a wireless network, a telecommunications network, another similar network, or any combination thereof. For example, the network 943a can include a Wi-Fi network. The network connection interface 911 can be configured to include a receiver and a transmitter interface, and the receiver and transmitter interface are used to communicate with one or more other devices through a communication network according to one or more communication protocols (e.g., Ethernet, TCP / IP, SONET, ATM, etc.). The network connection interface 911 can implement receiver and transmitter functions suitable for communication network links (e.g., optical, electrical, etc.). The transmitter and receiver functions can share circuit components, software, or firmware, or alternatively can be implemented separately.
[0116] RAM 917 can be configured to interface with processing circuit 901 via bus 902 to provide storage or cache of data or computer instructions during the execution of software programs such as operating systems, applications and device drivers. ROM 919 can be configured to provide computer instructions or data to processing circuit 901. For example, ROM 919 can be configured to store unchanged low-level system code or data for basic system functions stored in non-volatile memory, and basic system functions are such as basic input and output (I / O), startup or reception of keystrokes from keyboard. Storage medium 921 can be configured to include memory, such as RAM, ROM, programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), disk, optical disk, floppy disk, hard disk, removable tape cassette or flash drive. In one example, storage medium 921 can be configured to include operating system 923, application 925 such as web browser application, widget or gadget engine or another application and data file 927. The storage medium 921 may store any one or a combination of various operating systems for use by the UE 900 .
[0117] The storage medium 921 may be configured to include multiple physical drive units, such as a redundant array of independent disks (RAID), a floppy disk drive, a flash memory, a USB flash drive, an external hard drive, a thumb drive, a pen drive, a key drive, a high-density digital versatile disk (HD-DVD) optical drive, a built-in hard drive, a Blu-ray optical drive, a holographic digital data storage (HDDS) optical drive, an external mini dual in-line memory module (DIMM), a synchronous dynamic random access memory (SDRAM), an external micro DIMM SDRAM, a smart card memory such as a user identity module or a removable user identity (SIM / RUIM) module, other memory or any combination thereof. The storage medium 921 may allow the UE 900 to access computer executable instructions, applications, etc. stored on a temporary or non-temporary storage medium to unload data or upload data. Articles such as articles utilizing a communication system may be tangibly embodied in the storage medium 921, which may include a device-readable medium.
[0118] exist Fig. 9In the embodiment of the present invention, the processing circuit 901 can be configured to communicate with the network 943b using the communication subsystem 931. The network 943a and the network 943b can be one or more identical networks or one or more different networks. The communication subsystem 931 can be configured to include one or more transceivers for communicating with the network 943b. For example, the communication subsystem 931 can be configured to include one or more transceivers for communicating with another device (e.g., another wireless device, UE) or one or more remote transceivers of a base station of a radio access network (RAN) according to one or more communication protocols (e.g., IEEE 802.11, CDMA, WCDMA, GSM, LTE, UTRAN, WiMax, etc.) capable of wireless communication. Each transceiver can include a transmitter 933 and / or a receiver 935 to respectively implement a transmitter or receiver function (e.g., frequency allocation, etc.) suitable for a RAN link. In addition, the transmitter 933 and the receiver 935 of each transceiver can share circuit components, software or firmware, or alternatively can be implemented separately.
[0119] In the illustrated embodiment, the communication functions of the communication subsystem 931 may include data communication, voice communication, multimedia communication, short-range communication such as Bluetooth, near-field communication, location-based communication (such as the use of a global positioning system (GPS) for determining location), another similar communication function, or any combination thereof. For example, the communication subsystem 931 may include cellular communication, Wi-Fi communication, Bluetooth communication, and GPS communication. The network 943b may include a wired and / or wireless network, such as a local area network (LAN), a wide area network (WAN), a computer network, a wireless network, a telecommunications network, another similar network, or any combination thereof. For example, the network 943b may be a cellular network, a Wi-Fi network, and / or a near-field network. The power supply 913 may be configured to provide alternating current (AC) or direct current (DC) power to the components of the UE 900.
[0120] The features, benefits and / or functions described herein may be implemented in one of the components of the UE 900, or divided between multiple components of the UE 900. In addition, the features, benefits and / or functions described herein may be implemented in any combination of hardware, software or firmware. In one example, the communication subsystem 931 may be configured to include any components described herein. In addition, the processing circuit 901 may be configured to communicate with any such component via the bus 902. In another example, any such component may be represented by a program instruction stored in a memory, and when executed by the processing circuit 901, the program instruction performs the corresponding function described herein. In another example, the function of any such component may be divided between the processing circuit 901 and the communication subsystem 931. In another example, the non-computationally intensive functions of any such component may be implemented in software or firmware, and the computationally intensive functions may be implemented in hardware.
[0121] Those skilled in the art will also understand that the embodiments herein also include corresponding computer programs.
[0122] The computer program includes instructions that, when executed on at least one processor of the device, cause the device to perform any of the above-mentioned corresponding processes. In this regard, the computer program may include one or more code modules corresponding to the above-mentioned devices or units.
[0123] The embodiment also includes a carrier embodying such a computer program. The carrier may include one of an electric signal, an optical signal, a radio signal or a computer-readable storage medium.
[0124] In this regard, the embodiments herein also include a computer program product stored on a non-transitory computer-readable (storage or recording) medium, and the computer program product includes instructions that, when executed by a processor of the device, cause the device to perform as described above.
[0125] The embodiment also includes a computer program product, which includes a program code portion for performing the steps of any embodiment herein when the computer program product is executed by a computing device. The computer program product may be stored on a computer readable recording medium.
[0126] Additional embodiments will now be described.For purposes of illustration, at least some of these embodiments may be described as applicable to certain contexts and / or wireless network types, but these embodiments are similarly applicable to other contexts and / or wireless network types not explicitly described.
[0127] The device portion of the distributed execution environment defines the required sleep period. The required sleep period is the required time that the device needs to sleep to ensure operation on the battery for a specific time. This period is known to the execution environment and is used when deploying and redeploying the application to a new device so as not to violate the requirement for device sleep. And by using a programming model, the trigger that controls the execution of the application (e.g., an event (e.g., a timer) that triggers the execution of a function) can be extracted. The trigger is matched to the required sleep period of the available devices, and a matching device that can host the application or a functional portion of the application can be found.
[0128] For apps that do not include any explicit triggers, the execution environment records and builds knowledge about the app's execution mode and uses that information to dynamically set and adapt the sleep mode of the device hosting the app.
[0129] When an application is deployed or redeployed, the device can do one or more of the following:
[0130] 1. Match the functional parts of the application with explicit triggers (such as functions that are executed using timers) to available devices based on the required sleep period to find a device that can host the function. The device that receives the function uses the trigger to set the sleep mode. If there are multiple triggers on the device, the triggers are associated and the time closest to the trigger is used as the current sleep period.
[0131] 2. For functional parts of the application that have explicit triggers that reside on different device parts of the execution environment, information about the triggers that control the function being deployed can be included in the deployment information. If the information is not available, the runtime environment receiving the function can query the execution environment to obtain the information.
[0132] 3. For applications without any explicit triggers and without any execution history data, the device uses the existing sleep mode, and the execution environment adapts and adjusts the sleep mode based on the execution of the application over time. If the execution rate violates the sleep requirement, the application or the functional part of the application is moved to another execution environment that can provide services for it.
[0133] 4. For functions with existing historical data, the device uses it to set the sleep mode and adapt and adjust the sleep mode over time. If the device cannot analyze historical data, it delegates the task to the runtime environment part of the execution environment that has this capability.
[0134] While the device is sleeping, the device can do one or more of the following:
[0135] 1. Write the state of all applications or parts of applications to memory, which is not affected by the device issuing the reset.
[0136] a. If the device has non-volatile memory, write the state to the non-volatile memory.
[0137] b. If the device does not have non-volatile memory, sending the status to another device in the distributed environment that does not implement the sleep mode, and the other device is operable to respond to a request for the status when waking the device.
[0138] 2. The device indicates that it is about to enter sleep mode.
[0139] 3. The real-time clock (RTC) is configured to reset the device's central processing unit (CPU) based on the current sleep mode.
[0140] 4. The device enters sleep mode.
[0141] 5. The endpoint device in the distributed network queues all communications for the device until the device is awakened.
[0142] When the device wakes up, the device can do one or more of the following:
[0143] 1. The device resumes its state from the state that was stored before entering sleep mode.
[0144] 2. The device announces its presence and endpoints with pending data for the device are now flushed.
[0145] 3. The device performs any pending functions.
[0146] 4. If there is no activity, return to sleep mode.
[0147] Fig. 10A An application for performing temperature measurements and writing the measured temperature values into a database is shown. The application consists of three functional blocks:
[0148] 1. Trigger, generates a trigger signal sent to the temperature function.
[0149] 2. Temperature, triggered by a signal from the trigger function. Performs temperature measurement and sends the measured value to the database function.
[0150] 3. Database, triggered by the value sent by temperature, and writes the value to the database.
[0151] These boxes build a graph of data flows that can be deployed on various runtime parts of a distributed execution environment and enable analysis to find the boxes that control execution.
[0152] Fig. 10B An application deployed on two separate runtime environments is shown. The trigger function uses a timer with a timeout of 60 seconds and triggers the temperature function. When deployed, runtime environment 1 analyzes the graph and can find triggers that only use 60 seconds, and then uses these 60 seconds as the current sleep mode.
[0153] Fig. 10C An application distributed on three separate runtime environments is shown. When the temperature function is deployed on runtime environment 2, runtime environment 2 queries the execution environment to determine the trigger. The execution environment analyzes the graph and finds the trigger function and returns 60 seconds, which runtime environment 2 then uses as a sleep mode.
[0154] Fig. 10D The second application is shown deployed with the first application. As in the previous step, when the second application is deployed, the execution environment 2 queries the execution environment for the trigger of the temperature function of the second application. When received, the execution environment 2 associates the trigger of the second application with the trigger of the first application, and the 30-second trigger of the second application is used as a new sleep mode serving both applications.
[0155] Fig.11 An application is shown where the trigger is a door sensor. When the door opens or closes, a signal is sent to trigger a temperature measurement. In this case, there is no explicit trigger and the operating environment 2 will initially use its default sleep mode, and the sleep mode will adapt and adjust over time as the operating environment 2 and the execution environment gain knowledge of the execution pattern of the program. The execution pattern can be analyzed by recording when and how often actions are performed and also by analyzing the transmission queue to see if data is queued in any part of the graph. If the resulting sleep mode breaks the sleep requirements of the operating environment 2, the temperature function can be moved to another operating environment that can handle the execution.
[0156] Standard programming or engineering techniques can be used to implement various aspects described herein, to generate software, firmware, hardware (e.g., circuits) or any combination thereof, to control computing devices to implement the disclosed subject matter. It will be understood that some embodiments may include one or more general or special processors (e.g., microprocessors, digital signal processors, custom processors, and field programmable gate arrays (FPGAs)) and unique stored program instructions (including both software and firmware), which control one or more processors to implement some, most, or all functions of the methods, devices, and systems described herein in conjunction with certain non-processor circuits. Alternatively, some or all functions may be implemented by a state machine with unstored program instructions, or may be implemented in one or more application specific integrated circuits (ASICs), where each function or some combination of certain functions is implemented as a custom logic circuit. Of course, a combination of two methods may be used. In addition, it is expected that ordinary technicians may spend a lot of effort and make many design choices in situations stimulated by, for example, available time, current technology, and economic considerations, but under the guidance of the concepts and principles disclosed herein, such software instructions and programs and ICs will be easily generated with minimal experimentation.
[0157] The term "article of manufacture" as used herein is intended to encompass a computer program accessible from any computing device, carrier, or media. For example, computer-readable media may include: magnetic storage devices such as hard disks, floppy disks, or magnetic strips; optical disks such as compact disks (CDs) or digital versatile disks (DVDs); smart cards; and flash memory devices such as cards, sticks, or key drives. In addition, it should be understood that a carrier wave may be employed to carry computer-readable electronic data, including those used in sending and receiving such as electronic mail (e-mail) or accessing a computer network such as the Internet or a local area network (LAN). Of course, those skilled in the art will recognize that many modifications may be made to this configuration without departing from the scope or spirit of the subject matter of the present disclosure.
[0158] Throughout the specification and embodiments, unless the context clearly states otherwise, the following terms have at least the meanings clearly associated herein. Relational terms (such as "first" and "second", etc.) can be used only to distinguish one entity or action from another entity or action, without requiring or implying any actual such relationship or order between these entities or actions. The term "or" is intended to represent an inclusive "or", unless otherwise specified or clearly pointed to an exclusive form from the context. In addition, the terms "one", "an" and "the" are intended to represent one or more, unless otherwise specified or clearly pointed to a singular form from the context. The term "including" and its various forms are intended to mean including but not limited to. References to "one embodiment", "embodiment", "example embodiment", "various embodiments" and other similar terms indicate that the embodiments of the disclosed technology described in this way may include specific functions, features, structures or characteristics, but not every embodiment must include specific functions, features, structures or characteristics. In addition, although the phrase "in one embodiment" can be used repeatedly, it does not necessarily refer to the same embodiment. The terms "substantially," "essentially," "approximately," "about," or any other versions thereof, are defined as approximating to what one of ordinary skill in the art understands, and in one non-limiting embodiment, these terms are defined as within 10%, in another embodiment within 5%, in another embodiment within 1%, and in another embodiment within 0.5%. A device or structure that is "configured" in a certain way is configured in at least that way, but may also be configured in ways that are not listed.
Claims
1. A method performed by a node (101, 200, 300) associated with a group of distributed nodes (113-115, 500, 600) in a distributed system (111), wherein a plurality of functions (133-135) of the program (131) can be distributed in the group in order to execute the program, the method comprising: Acquiring (401a) the execution mode (117) of the program and the sleep requirement (119-121) of at least one distributed node; as well as Based on an execution mode of the program and a sleep requirement of the at least one distributed node, one or more functions of the program are dynamically deployed (403a) to all or part of the group for execution of the program by the group, wherein the execution mode is a trigger event mode, the trigger event mode defines a mode of events that trigger execution of at least one of the one or more functions, each node is operable during deployment or execution of the program so that a trigger event is programmed for the at least one function, and wherein the dynamic deployment comprises: Each function of the program is matched with a distributed node in the group (401d), the matching being based on the execution mode of the program and the sleep requirement of the distributed node.
2. The method according to claim 1, wherein: The acquisition includes: An indication of an execution mode of the program is received (401b) from at least one distributed node.
3. The method according to any one of claims 1 to 2, wherein: The acquisition includes: Based on an event that triggers execution of the at least one of the one or more functions, an execution mode of the program is determined (403b).
4. The method according to any one of claims 1 to 2, wherein: The acquisition includes: An indication of a sleep requirement for the node is received (405b) from at least one distributed node.
5. The method according to any one of claims 1 to 2, further comprising: Based on the sleep requirement of at least one distributed node and an event that triggers the execution of the at least one of the one or more functions, a sleep mode of the node is determined (403c).
6. The method according to any one of claims 1 to 2, wherein: The dynamic deployment includes: Based on the execution mode of the program and the sleep requirement of each node, at least one of the one or more functions triggered by the event is matched with a distributed node in the group (403d).
7. The method according to claim 6, wherein: A distributed node of the group matching the at least one of the one or more functions triggered by the event is operable to have a sleep mode of the node programmed based on a pattern of those triggering events.
8. The method according to claim 1, wherein: The mode of obtaining the trigger event includes: An indication of the triggering event pattern is received (403e) from a distributed node hosting the at least one of the one or more functions that is triggered by the event.
9. The method according to claim 8, wherein: The mode of obtaining the trigger event includes: Based on the events that trigger the execution of the at least one of the one or more functions, a pattern of those triggering events is determined (405e).
10. A node (101, 200, 300) associated with a group of distributed nodes (113-115, 500, 600) in a distributed system (111), wherein a plurality of functions (133-135) of the program (131) are distributed in the group in order to execute the program, the node comprising: An acquisition unit (311) is used to acquire (401a) the execution mode (117) of the program and the sleep requirement (119-121) of at least one distributed node; as well as A deployment unit (313) for dynamically deploying (403a) one or more functions of the program to all or part of the group based on an execution mode of the program and a predetermined sleep requirement of the at least one distributed node, for execution of the program by the group, wherein the execution mode is a trigger event mode, the trigger event mode defines a mode of events that trigger execution of at least one function, each node during deployment or execution of the program is operable such that a trigger event is programmed for the at least one function, and wherein the deployment unit (313) comprises: A matching unit (317) is used to match each function of the program with a distributed node in the group, wherein the matching is based on the execution mode of the program and the sleep requirement of the distributed node.
11. The node according to claim 10, further comprising one or more units for performing the method according to any one of claims 2 to 9.
12. A computer-readable storage medium comprising instructions, which, when executed on at least one processor (210) of a node (101, 200, 300), cause the at least one processor to perform a method according to any one of claims 1 to 9, wherein the node (101, 200, 300) is associated with a group of distributed nodes (113-115, 500, 600) in a distributed system (111), and in order to execute a program, multiple functions (133-135) of the program (131) are distributed in the group.
