Disclosure of Invention
The invention aims to solve the technical problems, and provides a data transmission method and a system for the electric power Internet of things, which can more reasonably select different data transmission modes, and change the data transmission modes more timely and efficiently, so that the low power consumption and the high data transmission effect of the data transmission in the electric power Internet of things are better considered.
The technical scheme adopted by the invention is as follows:
A data transmission method of an electric power Internet of things comprises the steps of S1 dividing time into a plurality of continuous time periods, S2 acquiring transmission parameters in a kth time period when two nodes perform data transmission in the first data transmission mode, wherein k is a positive integer, S3 calculating first transmission capacity of the first data transmission mode in the kth time period according to the transmission parameters in the kth time period, S4 calculating first transmission capacity of the first data transmission mode in the kth time period according to the first transmission capacity of the first data transmission mode in the kth time period, S2 acquiring transmission parameters in the kth time period when two nodes perform data transmission in the first data transmission mode, when the two nodes perform data transmission in the kth time period, wherein k is a positive integer, S3 calculating the transmission capacity of the first data transmission mode in the kth time period according to the transmission parameters in the kth time period, S4 calculating the transmission capacity of the first data transmission mode in the kth time period according to the first data transmission capacity of the first data transmission mode, S5 of the first data transmission mode in the kth time period, and if the transmission capacity of the first data transmission mode in the kth time period is a reference value, and if the two nodes perform data transmission in the k time period is a value, and if the two data transmission capacities in the k time period are smaller than the first data transmission mode in the k time period and the first data transmission capacity in the k time period is equal to the first data transmission mode, and if the two data transmission capacity in the first data transmission mode is smaller than the first data transmission mode is different in the k time, and if the transmission capacity in real time is different in the first time is calculated between the two data transmission modes.
And after the data transmission is carried out in the second data transmission mode for a preset number of continuous complete time periods, changing to the data transmission between the two nodes in the first data transmission mode.
The transmission parameters comprise signal-to-noise ratio, transmission delay and packet loss rate, and the step S3 specifically comprises the steps of respectively taking average values of the signal-to-noise ratio, the transmission delay and the packet loss rate in a kth time period, normalizing the average values, and calculating the first transmission capacity based on the following formula according to the normalized signal-to-noise ratio average value, the normalized transmission delay average value and the normalized packet loss rate average value:
;
Wherein a1 represents a first transmission capacity of the first data transmission mode in the kth time period, SNRm represents a normalized signal-to-noise ratio average value, TDm represents a normalized transmission delay average value, LSm represents a normalized packet loss rate average value, and cSNR、cTD、cLS is an influence coefficient of the signal-to-noise ratio, the transmission delay, and the packet loss rate on the transmission capacity, respectively.
Calculating the transmission capability evaluation reference value based on the following formula:
;
Wherein aref represents a transmission capability evaluation reference value of the first data transmission mode in the (k+1) th time period, ath1 and ath2 are a first preset value and a second preset value, respectively, and ath2<Ath1.
Calculating the second transmission capability based on:
;
Wherein a2 represents a real-time second transmission capability of the first data transmission mode in the k+1th time period, RSNR represents an increasing/decreasing ratio of a real-time signal-to-noise ratio to a signal-to-noise ratio average value in the k time period, RTD represents an increasing/decreasing ratio of a real-time transmission delay to a transmission delay average value in the k time period, and RLS represents an increasing/decreasing ratio of a real-time packet loss rate to a packet loss rate average value in the k time period.
The data transmission system of the electric power Internet of things comprises a dividing module, a first data transmission module and a second data transmission module, wherein an optional first data transmission mode and an optional second data transmission mode are arranged between two adjacent nodes in the electric power Internet of things, the power consumption of the first data transmission mode is smaller than that of the second data transmission mode, the bandwidth of the first data transmission mode is smaller than that of the second data transmission mode, and the dividing module is used for dividing time into a plurality of continuous time periods; the acquisition module is used for acquiring transmission parameters in a kth time period when the two nodes perform data transmission in the first data transmission mode in the kth time period, wherein k is a positive integer; the system comprises a first calculation module for calculating a first transmission capacity of the first data transmission mode in the kth time period according to the transmission parameters in the kth time period, a second calculation module for calculating a transmission capacity evaluation reference value of the first data transmission mode in the kth time period according to the first transmission capacity of the first data transmission mode in the kth time period, a third calculation module for acquiring the change condition of the transmission parameters between the two nodes in real time in the kth+1 time period and calculating a second transmission capacity of the first data transmission mode in the kth+1 time period according to the change condition and the first transmission capacity, a judgment module for judging whether the second transmission capacity is smaller than the transmission capacity evaluation reference value or not, if so, and changing the data transmission between the two nodes in real time in the second data transmission mode, otherwise, continuing to transmit the data between the two nodes in the first data transmission mode.
The judging module is further configured to change to perform data transmission between the two nodes in the first data transmission mode after the data transmission in the second data transmission mode reaches a preset number of continuous complete time periods.
The first calculation module is specifically configured to respectively average the signal-to-noise ratio, the transmission delay and the packet loss rate in a kth time period, normalize the average, and calculate the first transmission capability based on the following formula according to the normalized signal-to-noise ratio average, the normalized transmission delay average and the normalized packet loss rate average:
;
Wherein a1 represents a first transmission capacity of the first data transmission mode in the kth time period, SNRm represents a normalized signal-to-noise ratio average value, TDm represents a normalized transmission delay average value, LSm represents a normalized packet loss rate average value, and cSNR、cTD、cLS is an influence coefficient of the signal-to-noise ratio, the transmission delay, and the packet loss rate on the transmission capacity, respectively.
The second calculation module calculates the transmission capability evaluation reference value based on the following formula:
;
Wherein aref represents a transmission capability evaluation reference value of the first data transmission mode in the (k+1) th time period, ath1 and ath2 are a first preset value and a second preset value, respectively, and ath2<Ath1.
The third calculation module calculates the second transmission capability based on:
;
Wherein a2 represents a real-time second transmission capability of the first data transmission mode in the k+1th time period, RSNR represents an increasing/decreasing ratio of a real-time signal-to-noise ratio to a signal-to-noise ratio average value in the k time period, RTD represents an increasing/decreasing ratio of a real-time transmission delay to a transmission delay average value in the k time period, and RLS represents an increasing/decreasing ratio of a real-time packet loss rate to a packet loss rate average value in the k time period.
The invention has the beneficial effects that:
According to the method, the first transmission capacity is calculated according to the transmission parameters in the whole period of data transmission in the first data transmission mode, the capacity evaluation reference value of the next period is calculated according to the first transmission capacity, the second transmission capacity is calculated in real time according to the transmission parameters and the first transmission capacity in the next period, and whether the first data transmission mode is changed into the second transmission mode or not is determined based on the comparison of the second transmission capacity and the capacity evaluation reference value.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the embodiment of the invention, a first data transmission mode and a second data transmission mode are selectable between two adjacent nodes in the electric power Internet of things, the power consumption of the first data transmission mode is smaller than that of the second data transmission mode, and the bandwidth of the first data transmission mode is smaller than that of the second data transmission mode. The nodes in the electric power internet of things can be electric power data acquisition equipment, edge computing equipment and the like. The adjacent nodes are the relationship between two nodes which establish direct data transmission connection in the data transmission connection structure of the electric power internet of things.
In a specific embodiment of the present invention, the first data transmission mode may be LoRa, zigbee, etc., and the second data transmission mode may be 5G, optical fiber ethernet, etc.
As shown in fig. 1, the data transmission method of the electric power internet of things in the embodiment of the invention includes the following steps:
S1, dividing time into a plurality of continuous time periods.
The time periods may be equal or unequal, i.e., the lengths of any two time periods may be equal or unequal.
S2, when the two nodes perform data transmission in the kth time period in the first data transmission mode, acquiring transmission parameters in the kth time period. Wherein k is a positive integer.
The two nodes perform data transmission in the first data transmission mode in the kth time period, which means that the data transmission is performed in the first data transmission mode and the second data transmission mode is not adopted in the kth time period. In the embodiment of the present invention, k may be any sequence number of a time period in which data transmission is performed in the first data transmission manner.
In one embodiment of the invention, the transmission parameters include signal-to-noise ratio, transmission delay, and packet loss rate. The signal-to-noise ratio, the transmission delay and the packet loss rate can be acquired at a preset sampling frequency in the kth time period, and the parameters of the signal-to-noise ratio, the transmission delay and the packet loss rate can be continuously acquired in the kth time period to obtain a relation curve of each transmission parameter and time.
S3, calculating the first transmission capacity of the first data transmission mode in the kth time period according to the transmission parameters in the kth time period.
Specifically, the signal-to-noise ratio, the transmission delay and the packet loss rate can be averaged respectively in the kth time period, and the average is normalized to become a value between 0 and 1. For a continuous parameter, the average is the integral over a period divided by the length of the period. Then, according to the normalized signal-to-noise ratio average value, the transmission delay average value and the packet loss rate average value, calculating the first transmission capacity based on the following formula:
;
Wherein a1 represents a first transmission capacity of the first data transmission mode in a kth time period, SNRm represents a normalized signal-to-noise ratio average value, TDm represents a normalized transmission delay average value, LSm represents a normalized packet loss rate average value, and cSNR、cTD、cLS is an influence coefficient of the signal-to-noise ratio, the transmission delay, and the packet loss rate on the transmission capacity, respectively.
The influence coefficient cSNR、cTD、cLS of the signal-to-noise ratio, the transmission delay and the packet loss rate on the transmission capacity is preset. In one embodiment of the invention, the value is that cSNR takes 1 when the signal to noise ratio average is greater than 10dB, cSNR takes 0.5 when the signal to noise ratio average is between-20 dB and 10dB, cSNR takes 0 when the signal to noise ratio average is less than-20 dB, cTD takes 1 when the transmission delay is greater than 5s, cTD takes 0.5 when the transmission delay is between 1s and 5s, cTD takes 0 when the transmission delay is less than 1s, cLS takes 1 when the packet loss rate average is greater than 1%, cLS takes 0.5 when the packet loss rate average is between 0.1 and 1%, and cLS takes 0 when the packet loss rate average is less than 0.1%.
S4, calculating a transmission capacity evaluation reference value of the first data transmission mode in the k+1th time period according to the first transmission capacity of the first data transmission mode in the k time period.
Wherein the (k+1) th period is a period next to the (k) th period.
In one embodiment of the present invention, the transmission capability evaluation reference value may be calculated based on the following formula:
;
Wherein aref represents a transmission capability evaluation reference value of the first data transmission mode in the (k+1) th time period, ath1 and ath2 are a first preset value and a second preset value respectively, and ath2<Ath1.Ath1 and ath2 may be set according to an actual range of the first transmission capability, a definition standard for strong and weak transmission capability, and the like. A1≥Ath1、Ath2≤A1<Ath1、A1<Ath2 represents strong, medium, and weak transmission capability, respectively.
S5, in the (k+1) th time period, the change condition of the transmission parameters between the two nodes is obtained in real time, and according to the change condition and the first transmission capacity, the second transmission capacity of the first data transmission mode in real time in the (k+1) th time period is calculated.
In one embodiment of the invention, the second transmission capability may be calculated based on the following equation:
;
Wherein a2 represents the real-time second transmission capability of the first data transmission mode in the k+1th time period, RSNR represents the increasing/decreasing ratio of the real-time signal-to-noise ratio to the average value of the signal-to-noise ratio in the k time period, RTD represents the increasing/decreasing ratio of the real-time transmission delay to the average value of the transmission delay in the k time period, and RLS represents the increasing/decreasing ratio of the real-time packet loss rate to the average value of the packet loss rate in the k time period. Wherein the increasing and decreasing ratio is positive when increasing and negative when decreasing.
Based on the comparison of the real-time transmission parameters of the next time period and the transmission parameter mean value of the previous time period, multiplying the real-time transmission parameters of the next time period by the ratio of the transmission parameter mean value of the previous time period, and multiplying the transmission capacity of the previous time period, the current real-time transmission capacity is obtained. Compared with the method for directly calculating the current real-time transmission capacity in a calculation mode similar to the first transmission capacity, the method can effectively avoid larger change of the calculated transmission capacity caused by small fluctuation of a certain transmission parameter, and further avoid subsequent change of the transmission mode caused by small fluctuation of the certain transmission parameter.
S6, judging whether the second transmission capacity is smaller than the transmission capacity evaluation reference value, if so, changing to data transmission between two nodes in a second data transmission mode in real time, otherwise, continuing to perform data transmission between two nodes in a first data transmission mode.
The transmission capability evaluation reference value in the embodiment of the invention is not fixed, but is related to the overall transmission capability of the previous time period, so that the rationality of the requirement for the data transmission capability can be improved under the condition that the influence of some factors (such as weather) on the transmission quality exists.
By acquiring the transmission parameters in real time, calculating the second transmission capability, and changing to the second data transmission mode in real time when the change condition is satisfied, the method is more timely and efficient than changing to the second data transmission mode manually or periodically, etc.
Further, after the data transmission in the second data transmission mode reaches the preset number of continuous complete time periods, the data transmission between the two nodes in the first data transmission mode is changed, and then, the step S2 is returned. That is, the basic logic of the data transmission method of the electric power internet of things according to the embodiment of the invention is that the first data transmission mode is optimized without considering the data transmission quality, the first data transmission mode is transmitted for at least a whole time period, then whether the second data transmission mode is changed is judged according to the modes of the steps S3 to S6, and after the second data transmission mode is changed, the first data transmission mode is switched back, namely, the low-power data transmission mode is tried again.
According to the data transmission method of the electric power internet of things, the first transmission capacity is calculated according to the transmission parameters in the whole period of data transmission in the first data transmission mode, the capacity evaluation reference value of the next period is calculated according to the first transmission capacity, the second transmission capacity is calculated in real time according to the transmission parameters and the first transmission capacity in the next period, and whether the first data transmission mode is changed to the second transmission mode or not is determined based on the comparison of the second transmission capacity and the capacity evaluation reference value.
Corresponding to the data transmission method of the electric power Internet of things in the embodiment, the invention further provides a data transmission system of the electric power Internet of things.
As shown in fig. 2, the data transmission system of the electric power internet of things in the embodiment of the invention comprises a dividing module, an obtaining module, a first calculating module, a second calculating module, a third calculating module and a judging module. The system comprises a dividing module, an acquisition module, a first calculation module, a second calculation module, a third calculation module and a judgment module, wherein the dividing module is used for dividing time into a plurality of continuous time periods, the acquisition module is used for acquiring transmission parameters in a kth time period when two nodes perform data transmission in a first data transmission mode in the kth time period, k is a positive integer, the first calculation module is used for calculating the first transmission capacity of the first data transmission mode in the kth time period according to the transmission parameters in the kth time period, the second calculation module is used for calculating the transmission capacity evaluation reference value of the first data transmission mode in the kth time period according to the first transmission capacity of the first data transmission mode in the kth time period, the third calculation module is used for acquiring the change condition of the transmission parameters between the two nodes in the kth time period in real time, and calculating the second transmission capacity of the first data transmission mode in the kth time period according to the change condition and the first transmission capacity, the judgment module is used for judging whether the second transmission capacity of the first data transmission mode in the kth time period is smaller than the transmission capacity reference value, if the second transmission capacity is smaller than the transmission capacity evaluation value, the first data transmission mode in the kth time period is changed in real time, and if the second transmission capacity evaluation reference value is changed in the first data transmission mode in the kth time, and the data transmission mode is carried out between the two nodes in the two data transmission modes is continued.
The time periods may be equal or unequal, i.e., the lengths of any two time periods may be equal or unequal.
The two nodes perform data transmission in the first data transmission mode in the kth time period, which means that the data transmission is performed in the first data transmission mode and the second data transmission mode is not adopted in the kth time period. In the embodiment of the present invention, k may be any sequence number of a time period in which data transmission is performed in the first data transmission manner. The (k+1) th period is a period next to the (k) th period.
In one embodiment of the invention, the transmission parameters include signal-to-noise ratio, transmission delay, and packet loss rate. The acquisition module can acquire the signal-to-noise ratio, the transmission delay and the packet loss rate at a preset sampling frequency in the kth time period, and can also continuously acquire the parameters of the signal-to-noise ratio, the transmission delay and the packet loss rate in the kth time period to obtain a relation curve of each transmission parameter and time.
In one embodiment of the present invention, the first calculation module may respectively average the signal-to-noise ratio, the transmission delay, and the packet loss rate in the kth period, normalize the average value, and change the average value to a value between 0 and 1. For a continuous parameter, the average is the integral over a period divided by the length of the period. Then, according to the normalized signal-to-noise ratio average value, the transmission delay average value and the packet loss rate average value, calculating the first transmission capacity based on the following formula:
;
Wherein a1 represents a first transmission capacity of the first data transmission mode in a kth time period, SNRm represents a normalized signal-to-noise ratio average value, TDm represents a normalized transmission delay average value, LSm represents a normalized packet loss rate average value, and cSNR、cTD、cLS is an influence coefficient of the signal-to-noise ratio, the transmission delay, and the packet loss rate on the transmission capacity, respectively.
The influence coefficient cSNR、cTD、cLS of the signal-to-noise ratio, the transmission delay and the packet loss rate on the transmission capacity is preset. In one embodiment of the invention, the value is that cSNR takes 1 when the signal to noise ratio average is greater than 10dB, cSNR takes 0.5 when the signal to noise ratio average is between-20 dB and 10dB, cSNR takes 0 when the signal to noise ratio average is less than-20 dB, cTD takes 1 when the transmission delay is greater than 5s, cTD takes 0.5 when the transmission delay is between 1s and 5s, cTD takes 0 when the transmission delay is less than 1s, cLS takes 1 when the packet loss rate average is greater than 1%, cLS takes 0.5 when the packet loss rate average is between 0.1 and 1%, and cLS takes 0 when the packet loss rate average is less than 0.1%.
In one embodiment of the present invention, the second calculation module may calculate the transmission capability evaluation reference value based on the following formula:
;
Wherein aref represents a transmission capability evaluation reference value of the first data transmission mode in the (k+1) th time period, ath1 and ath2 are a first preset value and a second preset value respectively, and ath2<Ath1.Ath1 and ath2 may be set according to an actual range of the first transmission capability, a definition standard for strong and weak transmission capability, and the like. A1≥Ath1、Ath2≤A1<Ath1、A1<Ath2 represents strong, medium, and weak transmission capability, respectively.
In one embodiment of the present invention, the third calculation module may calculate the second transmission capability based on the following equation:
;
Wherein a2 represents the real-time second transmission capability of the first data transmission mode in the k+1th time period, RSNR represents the increasing/decreasing ratio of the real-time signal-to-noise ratio to the average value of the signal-to-noise ratio in the k time period, RTD represents the increasing/decreasing ratio of the real-time transmission delay to the average value of the transmission delay in the k time period, and RLS represents the increasing/decreasing ratio of the real-time packet loss rate to the average value of the packet loss rate in the k time period. Wherein the increasing and decreasing ratio is positive when increasing and negative when decreasing.
Based on the comparison of the real-time transmission parameters of the next time period and the transmission parameter mean value of the previous time period, multiplying the real-time transmission parameters of the next time period by the ratio of the transmission parameter mean value of the previous time period, and multiplying the transmission capacity of the previous time period, the current real-time transmission capacity is obtained. Compared with the method for directly calculating the current real-time transmission capacity in a calculation mode similar to the first transmission capacity, the method can effectively avoid larger change of the calculated transmission capacity caused by small fluctuation of a certain transmission parameter, and further avoid subsequent change of the transmission mode caused by small fluctuation of the certain transmission parameter.
The transmission capability evaluation reference value in the embodiment of the invention is not fixed, but is related to the overall transmission capability of the previous time period, so that the rationality of the requirement for the data transmission capability can be improved under the condition that the influence of some factors (such as weather) on the transmission quality exists.
By acquiring the transmission parameters in real time, calculating the second transmission capability, and changing to the second data transmission mode in real time when the change condition is satisfied, the method is more timely and efficient than changing to the second data transmission mode manually or periodically, etc.
Further, the judging module may change to perform data transmission between two nodes in the first data transmission mode after performing data transmission in the second data transmission mode for a preset number of continuous complete time periods, and then the acquiring module performs the function of the judging module. That is, the basic logic of the data transmission system of the electric power internet of things according to the embodiment of the invention is that the first data transmission mode is optimized under the condition of not considering the data transmission quality, the first data transmission mode is transmitted for at least a whole time period, then the functions of the first calculation module, the second calculation module, the third calculation module and the judging module are utilized to judge whether the data transmission mode is changed to the second data transmission mode, and after the data transmission mode is changed to the second data transmission mode, the data transmission mode is switched back to the first data transmission mode, namely, the data transmission mode with low power consumption is tried again.
According to the data transmission system of the electric power Internet of things, the first transmission capacity is calculated according to the transmission parameters in the whole period of data transmission in the first data transmission mode, the capacity evaluation reference value of the next period is calculated according to the first transmission capacity, the second transmission capacity is calculated in real time according to the transmission parameters and the first transmission capacity in the next period, and whether the first data transmission mode is changed to the second transmission mode or not is determined based on the comparison of the second transmission capacity and the capacity evaluation reference value.
In the description of the present invention, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. The meaning of "a plurality of" is two or more, unless specifically defined otherwise.
In the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed, mechanically connected, electrically connected, directly connected, indirectly connected via an intervening medium, or in communication between two elements or in an interaction relationship between two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
In the present invention, unless expressly stated or limited otherwise, a first feature "up" or "down" a second feature may be the first and second features in direct contact, or the first and second features in indirect contact via an intervening medium. Moreover, a first feature being "above," "over" and "on" a second feature may be a first feature being directly above or obliquely above the second feature, or simply indicating that the first feature is level higher than the second feature. The first feature being "under", "below" and "beneath" the second feature may be the first feature being directly under or obliquely below the second feature, or simply indicating that the first feature is less level than the second feature.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily for the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and further implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include an electrical connection (an electronic device) having one or more wires, a portable computer diskette (a magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of techniques known in the art, discrete logic circuits with logic gates for implementing logic functions on data signals, application specific integrated circuits with appropriate combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product.
While embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the invention.