Method of and apparatus for reconfiguring protocol used by application program
First Claim
1. A method of reconfiguring a protocol used by sensor applications of a plurality of sensor nodes, the method comprising:
- obtaining requirement information of the sensor applications,wherein the requirement information of the sensor applications comprises a latency (L1) required by a first sensor application, a reliability (R1) required by the first sensor application, a latency (L2) required by a second sensor application, and a reliability (R2) required by the second sensor application;
analyzing the requirement information of the sensor applications by using an energy function (E1) for a first protocol, latency functions (L11) and (L12) for the first protocol respectively of a first sensor node and second sensor node, reliability functions (R11) and (R12) for the first protocol respectively of the first sensor node and the second sensor node, an energy function (E2) for a second protocol, and latency functions (L21) and (L22) for the second protocol respectively of the first sensor node and the second sensor node, and reliability functions (R21) and (R22) for the second protocol respectively of the first sensor node and the second sensor node,wherein each of (E1), (L11), (L12), (R11) and (R12) is mathematically modeled based on a first operating parameter of the first protocol, and each of (E2), (L21), (L22), (R21) and (R22) is mathematically modeled based on a second operating parameter of the second protocol, in which (L11), (R11), (L21) and (R21) correspond to the first sensor application, and (L12), (R12), (L22) and (R22) correspond to the second sensor application; and
wherein the analyzing of the requirement information of the sensor applications comprisescalculating first minimum energy for the first protocol based on (E1), in which (L11) is less than or equal to (L1), (L12) is less than or equal to (L2), (R11) is greater than or equal to (R1), and (R12) is greater than or equal to (R2), andcalculating second minimum energy for the second protocol based on (E2), in which (L21) is less than or equal to (L1), (L22) is less than or equal to (L2), (R21) is greater than or equal to (R1), and (R22) is greater than or equal to (R2);
determining protocol configuration information comprising a reconfigured protocol used by the sensor applications and an operating parameter of the reconfigured protocol based on a result of the analyzing;
determining, based on the protocol configuration information, a connection relationship of a component module, among component modules, to implement the reconfigured protocol;
selecting, from the first protocol and the second protocol, the reconfigured protocol having a lesser minimum energy; and
implementing the reconfigured protocol.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of reconfiguring a protocol used by an application program includes determining an optimal protocol used by the application program and an optimal value of an operating parameter of the optimal protocol based on requirement information of the application program and system information obtained from a protocol layer; and when a current protocol used by the application program is not the optimal protocol, reconfiguring the current protocol used by the application program to the optimal protocol using at least one component module missing from the current protocol used by the application program and at least component module of the current protocol used by the application program, and setting a value of the operating parameter of the optimal protocol to the optimal value of the operating parameter of the optimal protocol.
11 Citations
20 Claims
-
1. A method of reconfiguring a protocol used by sensor applications of a plurality of sensor nodes, the method comprising:
-
obtaining requirement information of the sensor applications, wherein the requirement information of the sensor applications comprises a latency (L1) required by a first sensor application, a reliability (R1) required by the first sensor application, a latency (L2) required by a second sensor application, and a reliability (R2) required by the second sensor application; analyzing the requirement information of the sensor applications by using an energy function (E1) for a first protocol, latency functions (L11) and (L12) for the first protocol respectively of a first sensor node and second sensor node, reliability functions (R11) and (R12) for the first protocol respectively of the first sensor node and the second sensor node, an energy function (E2) for a second protocol, and latency functions (L21) and (L22) for the second protocol respectively of the first sensor node and the second sensor node, and reliability functions (R21) and (R22) for the second protocol respectively of the first sensor node and the second sensor node, wherein each of (E1), (L11), (L12), (R11) and (R12) is mathematically modeled based on a first operating parameter of the first protocol, and each of (E2), (L21), (L22), (R21) and (R22) is mathematically modeled based on a second operating parameter of the second protocol, in which (L11), (R11), (L21) and (R21) correspond to the first sensor application, and (L12), (R12), (L22) and (R22) correspond to the second sensor application; and wherein the analyzing of the requirement information of the sensor applications comprises calculating first minimum energy for the first protocol based on (E1), in which (L11) is less than or equal to (L1), (L12) is less than or equal to (L2), (R11) is greater than or equal to (R1), and (R12) is greater than or equal to (R2), and calculating second minimum energy for the second protocol based on (E2), in which (L21) is less than or equal to (L1), (L22) is less than or equal to (L2), (R21) is greater than or equal to (R1), and (R22) is greater than or equal to (R2); determining protocol configuration information comprising a reconfigured protocol used by the sensor applications and an operating parameter of the reconfigured protocol based on a result of the analyzing; determining, based on the protocol configuration information, a connection relationship of a component module, among component modules, to implement the reconfigured protocol; selecting, from the first protocol and the second protocol, the reconfigured protocol having a lesser minimum energy; and implementing the reconfigured protocol. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 19)
-
-
14. An apparatus for reconfiguring a protocol used by an application program, the apparatus comprising:
-
an analyzer implemented by a processor and configured to obtain requirement information of application programs and to analyze the requirement information of the application programs; a protocol engine implemented by the processor and configured to determine protocol configuration information comprising a reconfigured protocol used by the application programs and an operating parameter of the reconfigured protocol based on an analysis result obtained by the analyzer; a protocol implementer implemented by the processor and configured to determine, based on the protocol information, a connection relationship of a component module, among component modules, to implement the reconfigured protocol; and a reconfigurable protocol stack comprising a memory configured to store component modules, wherein in order to reconfigure the protocol in an active mode, the determining of the connection relationship comprises generating information associated with the connection relationship based on the protocol configuration information, and implementing the reconfigured protocol using the information associated with the connection relationship; and in order to realize the reconfigured protocol in a passive mode, the determining of the connection relationship comprises generating information to implement the reconfigured protocol in a target device based on the protocol configuration information by referring to a node state database configured to store a list of protocols currently available to the target device and an operating parameter of a protocol currently implemented by the target device, and by referring to the connection relationship, and transmitting, to the target device, the information to implement the reconfigured protocol in the target device.
-
-
15. A method of reconfiguring a protocol used by an application program of application programs, the method comprising:
-
determining whether an optimal protocol used by the application programs is the optimal protocol; determining, upon requirement information of the application program changing, an optimal value of an operating parameter of the optimal protocol based on the changed requirement information of the application programs and system information obtained from a protocol layer, wherein the requirement information comprises latency information and reliability information; and in response to a current protocol of the application programs not being the optimal protocol, reconfiguring the current protocol used by the application program to be the optimal protocol using a component module missing from the current protocol used by the application program and a component module of the current protocol used by the application program, and setting a value of the operating parameter of the optimal protocol to be an optimal value of the optimal protocol according to which the current protocol is reconfigured as the optimal protocol, wherein the determining of the optimal value of the operating parameter comprises determining the optimal value of the operating parameter based on an energy function of the operating parameter, such that the energy function is minimized based on the latency information and the reliability information. - View Dependent Claims (16, 17, 18, 20)
-
Specification