Disclosure of Invention
In order to solve the above problems, the present invention provides a sensing data matching method, apparatus, device and storage medium, so that the problem that the acquired sensing data is not matched with the sensing data actually required to be used is avoided.
In a first aspect, an embodiment of the present application provides a sensing data matching method, including:
determining usage time characteristic information;
acquiring a pre-stored time characteristic set corresponding to the use time characteristic information, and selecting at least one target acquisition time characteristic information matched with the use time characteristic information from the time characteristic set; the time characteristic set is provided with at least two pieces of acquisition time characteristic information, and each piece of acquisition time characteristic information at least can represent the time information of the sensor for acquiring the sensing data within a preset time range;
and acquiring sensing data corresponding to the at least one target acquisition time characteristic information matched with the use time characteristic information, and obtaining target sensing data based on the sensing data corresponding to the at least one target acquisition time characteristic information, wherein the target sensing data is the sensing data required to be used by the use time characteristic information.
The time characteristic set can be preset, the acquisition time characteristic information in the time characteristic set is used for recording the time information of the sensor for acquiring the sensing data, and therefore after the use time characteristic information is determined, at least one target acquisition time characteristic information matched with the use time characteristic information can be selected from the time characteristic set, and the target sensing data required by the use time characteristic information is determined based on the sensing data corresponding to the at least one target acquisition time characteristic information.
In an embodiment of the present application, the method further includes:
acquiring sensing data acquired by a sensor within the preset time range;
generating acquisition time characteristic information corresponding to the sensing data based on the time characteristics of the sensing data acquired by the sensor, and adding the acquisition time characteristic information to a time queue according to an acquisition time sequence;
and taking the time queue containing the acquisition time characteristic information as the time characteristic set.
The method and the device have the advantages that the acquisition time characteristic information of the sensor acquired sensing data is added to the time queue in advance according to the acquisition time sequence, and the time queue is used as a time characteristic set, so that a foundation is laid for the subsequent selection of the target acquisition time characteristic information matched with the use time characteristic information; compared with the existing mode of covering the new sensing data with the historical sensing data, the time characteristic set is arranged, so that the time characteristic (namely target acquisition time characteristic information) of the sensing data needing to be used can be accurately determined by using the time characteristic set, the target sensing data is finally determined based on the determined time characteristic of the sensing data needing to be used, and a foundation is laid for accurately using the sensing data to perform subsequent analysis and application.
In an embodiment of the present application, the method further includes:
determining the current corresponding use time characteristic information based on a preset use frequency; and/or the presence of a gas in the gas,
controlling a sensor to collect sensing data based on a preset collection frequency;
wherein the preset use frequency is different from the preset acquisition frequency.
Here, the preset use frequency of using the sensing data in the scheme of the application is different from the preset collection frequency of collecting the sensing data by the sensor, so that the problem that the sensing data is not matched due to the fact that the use frequency and the collection frequency are different can be solved by using the scheme of the application, and a foundation is further laid for accurately using the sensing data to perform subsequent analysis and application.
In an embodiment of the present application, the method further includes:
after new acquisition time characteristic information is acquired, whether the use capacity of the time characteristic set reaches a preset maximum capacity is judged; wherein the preset maximum capacity is determined based on a preset acquisition frequency of the sensor and a preset usage frequency of the sensing data;
and determining that the use capacity of the time feature set reaches the preset maximum capacity, and adding new acquisition time feature information to the time feature set after deleting at least one acquisition time feature information in the time feature set based on the acquisition time sequence.
The method and the device control the use capacity of the time characteristic set, so that resources occupied by the time characteristic set can be reduced to the maximum extent, and a foundation is laid for engineering application; furthermore, because the maximum capacity is set, after new acquisition time characteristic information acquired by the sensor is acquired, whether the current use capacity reaches the maximum capacity is judged, so that the purpose of controlling the use capacity of the time characteristic set is achieved.
In an embodiment of the present application, the method further includes:
after new acquisition time characteristic information is acquired, whether the use capacity of the time characteristic set reaches a preset maximum capacity is judged; wherein the preset maximum capacity is determined based on a preset acquisition frequency of the sensor and a preset usage frequency of the sensing data;
and determining that the use capacity of the time characteristic set is smaller than the preset maximum capacity, and adding new acquisition time characteristic information into the time characteristic set on the basis of an acquisition time sequence.
In this embodiment of the application, the selecting, from the time feature set, at least one target acquisition time feature information that matches the usage time feature information includes:
determining that the time information represented by the use time characteristic information is in the middle area of the time characteristic set based on the time sequence, and taking the acquisition time characteristic information which is the most recent before and/or after the time information represented by the use time characteristic information as the target acquisition time characteristic information; alternatively, the first and second electrodes may be,
and determining that the time information represented by the use time characteristic information is at the head or the tail of the time characteristic set based on the time sequence, and taking the acquisition time characteristic information closest to the time information represented by the use time characteristic information as the target acquisition time characteristic information.
The method and the device for acquiring the sensing data utilize the position of the using time characteristic information in the time characteristic set, namely utilize the time sequence of the using time characteristic information in the time characteristic set to determine at least one piece of acquiring time characteristic information matched with the time information represented by the using time characteristic information, thus laying a foundation for maximally matching and obtaining the sensing data required to be used by the using time characteristic information, and simultaneously laying a foundation for maximally improving the accuracy of the sensing data required to be used by the determined using time characteristic information.
In an embodiment of the present application, the obtaining target sensing data based on the sensing data corresponding to the at least one target acquisition time characteristic information includes:
selecting one target acquisition time characteristic information matched with the use time characteristic information, and taking sensing data corresponding to the target acquisition time characteristic information as target sensing data; alternatively, the first and second electrodes may be,
and after at least two pieces of target acquisition time characteristic information matched with the use time characteristic information are selected, data processing is carried out on the acquired sensing data corresponding to all the target acquisition time characteristic information, and the sensing data obtained after processing is used as the target sensing data.
The scheme of the application provides two modes for determining target sensing data, wherein in the first mode, when only one target acquisition time characteristic information matched with the use time characteristic information exists, the sensing data corresponding to the target acquisition time characteristic information is directly used as the target sensing data; in the second mode, when the target acquisition time characteristic information matched with the use time characteristic information is two or more, the data processing, such as linear interpolation processing and the like, is performed on the sensing data of all the target acquisition time characteristic information, so that smooth target sensing data required to be used by the use time characteristic information is determined, and the accuracy of the determined sensing data required to be used by the use time characteristic information is further improved to the maximum extent.
In a second aspect, an embodiment of the present application provides a sensing data matching apparatus, including:
the data matching unit is used for determining the use time characteristic information; acquiring a pre-stored time characteristic set corresponding to the use time characteristic information, and selecting at least one target acquisition time characteristic information matched with the use time characteristic information from the time characteristic set; the time characteristic set is provided with at least two pieces of acquisition time characteristic information, and each piece of acquisition time characteristic information at least can represent the time information of the sensor for acquiring the sensing data within a preset time range;
and the processing unit is used for acquiring the sensing data corresponding to the at least one target acquisition time characteristic information matched with the use time characteristic information and obtaining target sensing data based on the sensing data corresponding to the at least one target acquisition time characteristic information, wherein the target sensing data is the sensing data required to be used by the use time characteristic information.
In this embodiment of the application, the data matching unit is further configured to:
acquiring sensing data acquired by a sensor within a preset time range;
generating acquisition time characteristic information corresponding to the sensing data based on the time characteristics of the sensing data acquired by the sensor, and adding the acquisition time characteristic information to a time queue according to an acquisition time sequence;
and taking the time queue containing the acquisition time characteristic information as the time characteristic set.
In the embodiment of the application, the data matching unit is further configured to determine, based on a preset use frequency, the use time characteristic information currently corresponding to the data; and/or the presence of a gas in the gas,
the processing unit is also used for controlling the sensor to collect sensing data based on a preset collection frequency;
wherein the preset use frequency is different from the preset acquisition frequency.
In this embodiment of the application, the data matching unit is further configured to:
after new acquisition time characteristic information is acquired, whether the use capacity of the time characteristic set reaches a preset maximum capacity is judged; wherein the preset maximum capacity is determined based on a preset acquisition frequency of the sensor and a preset usage frequency of the sensing data;
and determining that the use capacity of the time feature set reaches the preset maximum capacity, and adding new acquisition time feature information to the time feature set after deleting at least one acquisition time feature information in the time feature set based on the acquisition time sequence.
In this embodiment of the application, the data matching unit is further configured to:
after new acquisition time characteristic information is acquired, whether the use capacity of the time characteristic set reaches a preset maximum capacity is judged; wherein the preset maximum capacity is determined based on a preset acquisition frequency of the sensor and a preset usage frequency of the sensing data;
and determining that the use capacity of the time characteristic set is smaller than the preset maximum capacity, and adding new acquisition time characteristic information into the time characteristic set on the basis of an acquisition time sequence.
In this embodiment of the application, the data matching unit is further configured to:
determining that the time information represented by the use time characteristic information is in the middle area of the time characteristic set based on the time sequence, and taking the acquisition time characteristic information which is the most recent before and/or after the time information represented by the use time characteristic information as the target acquisition time characteristic information; alternatively, the first and second electrodes may be,
and determining that the time information represented by the use time characteristic information is at the head or the tail of the time characteristic set based on the time sequence, and taking the acquisition time characteristic information closest to the time information represented by the use time characteristic information as the target acquisition time characteristic information.
In the embodiment of the present application, the processing unit is further configured to
Selecting one target acquisition time characteristic information matched with the use time characteristic information, and taking sensing data corresponding to the target acquisition time characteristic information as target sensing data; alternatively, the first and second electrodes may be,
and after at least two pieces of target acquisition time characteristic information matched with the use time characteristic information are selected, data processing is carried out on the acquired sensing data corresponding to all the target acquisition time characteristic information, and the sensing data obtained after processing is used as the target sensing data.
In a third aspect, an embodiment of the present application provides a sensing data matching apparatus, including:
one or more processors;
a memory communicatively coupled to the one or more processors;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the methods described above.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the method described above.
Therefore, the time characteristic set can be preset, the acquisition time characteristic information in the time characteristic set is utilized to record the time information of the sensor for acquiring the sensing data, and after the use time characteristic information is determined, at least one target acquisition time characteristic information matched with the use time characteristic information can be selected from the time characteristic set, and the target sensing data required by the use time characteristic information is determined based on the sensing data corresponding to the at least one target acquisition time characteristic information.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In some of the flows described in the specification and claims of the present application and in the above-described figures, a number of operations are included that occur in a particular order, but it should be clearly understood that the flows may include more or less operations, and that the operations may be performed sequentially or in parallel.
The embodiment of the application provides a sensing data matching method, a sensing data matching device, sensing data matching equipment and a storage medium; specifically, fig. 1 is a schematic diagram of an implementation flow of a sensing data matching method according to an embodiment of the present invention, and as shown in fig. 1, the method includes:
step 101: determining usage time characteristic information.
In a specific example, based on a preset use frequency, determining the use time characteristic information corresponding to the current use time; and/or controlling the sensor to collect sensing data based on a preset collection frequency; wherein the preset use frequency is different from the preset acquisition frequency. That is to say, the scheme of the application can use the sensing data based on the preset use frequency, and the sensor can collect the sensing data based on the preset collection frequency, and the two frequencies are different; the scheme of the application can be applied to the two asynchronous frequency scenes, in other words, even if the use frequency is preset and the collection frequency is preset to be different, the scheme of the application can still solve the problem that the sensing data is not matched due to the fact that the use frequency and the collection frequency are different, application scenes are enriched, a foundation is laid for engineering application, and meanwhile, a foundation is laid for subsequent analysis and application of the sensing data accurately used.
In a specific example, the time characteristic set is preset in the form of a message queue, and specifically, sensing data acquired by a sensor within a preset time range is acquired; generating acquisition time characteristic information corresponding to the sensing data based on the time characteristics (such as time stamps) of the sensing data acquired by the sensor, and adding the acquisition time characteristic information to a time queue according to the acquisition time sequence; and taking the time queue containing the acquisition time characteristic information as a time characteristic set. For example, based on a first-in first-out mode of the message queue, the time queue is obtained by sequentially storing the acquisition time characteristic information according to the sequence of the timestamps, the acquisition time characteristic information with the early timestamp in the time queue is arranged at the head of the time queue, and the acquisition time characteristic information with the late timestamp is arranged at the tail of the time queue.
Here, the preset time range is associated with the usage time characteristic information, for example, the usage time characteristic information is taken as a usage time point, and in this case, the preset time range is a time period including the usage time point; or, the preset time range is a time period before the use time point; alternatively, the preset time range is a period of time after the point of use time. Of course, in practical applications, the preset time range may also be a combination period of any two of the above three periods, or even a combination period of three periods.
Here, in an actual scene, the sensor performs data acquisition based on a preset acquisition frequency, and at this time, if it is not necessary to store the full amount of data, the usage capacity of the time feature set may be set, so as to implement storage of new data based on the usage capacity; specifically, acquiring acquisition time characteristic information of new sensing data after the new sensing data is acquired by a sensor, and judging whether the use capacity of the time characteristic set reaches a preset maximum capacity or not; determining that the use capacity of the time feature set reaches the preset maximum capacity, and adding new acquisition time feature information to the time feature set after deleting at least one acquisition time feature information in the time feature set based on the acquisition time sequence; for example, the acquisition time characteristic information at the head of the time queue is deleted, and the new acquisition time characteristic information is added to the tail of the time queue.
Or after new acquisition time characteristic information is acquired, judging whether the use capacity of the time characteristic set reaches a preset maximum capacity or not; and determining that the use capacity of the time characteristic set is smaller than the preset maximum capacity, and adding new acquisition time characteristic information into the time characteristic set based on the acquisition time sequence, for example, adding the new acquisition time characteristic information to the tail of a time queue.
Here, the preset maximum capacity is determined based on a preset acquisition frequency of the sensor and a preset use frequency of the sensing data; for example, the predetermined frequency is determined based on a ratio between the predetermined acquisition frequency and the predetermined usage frequency.
Step 102: acquiring a pre-stored time characteristic set corresponding to the use time characteristic information, and selecting at least one target acquisition time characteristic information matched with the use time characteristic information from the time characteristic set; the time characteristic set is provided with at least two pieces of acquisition time characteristic information, and each piece of acquisition time characteristic information at least can represent the time information of the sensor for acquiring the sensing data within a preset time range.
In a specific example, at least one piece of acquisition time characteristic information matched with the time information characterized by the usage time characteristic information may be determined by using the position of the usage time characteristic information in the time characteristic set, that is, by using the time sequence of the usage time characteristic information in the time characteristic set, specifically, after determining that the time information characterized by the usage time characteristic information is in the middle region of the time characteristic set based on the time sequence, the acquisition time characteristic information that is the most recent before and/or after the time information characterized by the usage time characteristic information is taken as the target acquisition time characteristic information, for example, in the time sequence, when the time information characterized by the usage time characteristic information is in the middle position of the time characteristic set, at the moment, two pieces of acquisition time characteristic information which are closest to the front and the back of the use time characteristic information are used as the target acquisition time characteristic information; or, based on the time sequence, determining that the time information characterized by the time feature information is at the head or tail of the time feature set, taking the acquisition time characteristic information closest to the time information represented by the use time characteristic information as the target acquisition time characteristic information, wherein the distances are arranged according to the time sequence, when the time information characterized by the use time characteristic information is positioned at the head or the tail of the time characteristic set, at this time, taking an acquisition time characteristic information closest to the use time characteristic information as the target acquisition time characteristic information, thus, the method lays a foundation for maximally matching the sensing data required to be used for obtaining the use time characteristic information, meanwhile, a foundation is laid for maximally improving the accuracy of the sensing data required by the determined use time characteristic information.
Step 103: acquiring sensing data corresponding to at least one target acquisition time characteristic information matched with the use time characteristic information, and acquiring target sensing data based on the sensing data corresponding to the at least one target acquisition time characteristic information; and the target sensing data is the sensing data required to be used by the using time characteristic information.
In a specific example, the target sensing data may be obtained in the following manner, specifically,
in a first mode, when there is only one target acquisition time characteristic information matched with the usage time characteristic information, directly taking the sensing data corresponding to the target acquisition time characteristic information as the target sensing data, specifically, after one target acquisition time characteristic information matched with the usage time characteristic information is selected, taking the sensing data corresponding to the target acquisition time characteristic information as the target sensing data.
The second method comprises the following steps: when the target acquisition time characteristic information matched with the use time characteristic information is two or more, performing data processing, such as linear interpolation processing, mean value processing and the like, on the sensing data of all the target acquisition time characteristic information, taking the processed sensing data as the target sensing data, specifically, after at least two target acquisition time characteristic information matched with the use time characteristic information are selected, performing data processing on the sensing data corresponding to all the acquired target acquisition time characteristic information, and taking the processed sensing data as the target sensing data.
Therefore, smooth target sensing data required to be used by the time use characteristic information is determined, and the accuracy of the determined sensing data required to be used by the time use characteristic information is improved to the maximum extent.
Specifically, in this example, in order to solve the problem of the non-synchronization of the sensing data, a timestamp (that is, time characteristic information) is added to the sensing data acquired by each sensor and stored in a buffer queue (that is, a time characteristic set), and when the sensing data is taken, the closest sensing data is acquired according to the current timestamp (that is, the time characteristic information is used), and the smooth target sensing data is obtained through data processing methods such as linear interpolation.
In the aspect of data storage, a preset maximum capacity of a cache queue is set according to a preset using frequency of sensing data acquired by using a sensor and a preset acquisition frequency of the sensor; for example, the preset acquisition frequency is a (usually higher than the preset use frequency), the preset use frequency is b, and at this time, the preset maximum capacity can be obtained by multiplying the ratio of a to b by a multiplying factor (preset value). Furthermore, after the sensor collects the sensing data, a timestamp matched with the sensing data is added; and judging whether the current use capacity of the cache queue reaches the preset maximum capacity, if so, removing one data from the head of the queue, and otherwise, adding a timestamp matched with the sensing data to the tail of the cache queue.
In the aspect of data use, the current time stamp (namely, the use time characteristic information) is obtained; searching data closest to the current timestamp from the tail of the cache queue; if the closest data is the first data (namely, the data corresponding to the head) or the last data (namely, the data corresponding to the tail) in the buffer queue, directly taking the sensing data corresponding to the first data or the last data as target sensing data; and otherwise, taking the sensing data corresponding to the front data and the rear data of the current timestamp, and performing linear interpolation processing on the sensing data corresponding to the front data and the rear data according to the time information of the front data and the rear data to obtain target sensing data.
Therefore, the time information (namely the acquisition time characteristic information) of the sensor for acquiring the sensing data is recorded and stored in the first-in first-out cache queue in time sequence, so that after the use time characteristic information (namely the current timestamp) is determined, the acquisition time characteristic information matched with the use time characteristic information can be obtained by using the cache queue, and then the linear interpolation is carried out on the sensing data corresponding to the obtained matched acquisition time characteristic information based on the time information to obtain relatively accurate and smooth target sensing data.
An embodiment of the present application further provides a sensing data matching apparatus, as shown in fig. 2, the apparatus includes:
a data matching unit 21 for determining usage time characteristic information; acquiring a pre-stored time characteristic set corresponding to the use time characteristic information, and selecting at least one target acquisition time characteristic information matched with the use time characteristic information from the time characteristic set; the time characteristic set is provided with at least two pieces of acquisition time characteristic information, and each piece of acquisition time characteristic information at least can represent the time information of the sensor for acquiring the sensing data within a preset time range;
the processing unit 22 is configured to acquire sensing data corresponding to the at least one target acquisition time characteristic information matched with the usage time characteristic information, and obtain target sensing data based on the sensing data corresponding to the at least one target acquisition time characteristic information, where the target sensing data is sensing data required to be used by the usage time characteristic information.
In an embodiment, the data matching unit 21 is further configured to:
acquiring sensing data acquired by a sensor within a preset time range;
generating acquisition time characteristic information corresponding to the sensing data based on the time characteristics of the sensing data acquired by the sensor, and adding the acquisition time characteristic information to a time queue according to an acquisition time sequence;
and taking the time queue containing the acquisition time characteristic information as the time characteristic set.
In a specific embodiment, the data matching unit 21 is further configured to determine, based on a preset usage frequency, the current corresponding usage time characteristic information; and/or the presence of a gas in the gas,
the processing unit 22 is further configured to control the sensor to acquire sensing data based on a preset acquisition frequency;
wherein the preset use frequency is different from the preset acquisition frequency.
In an embodiment, the data matching unit 21 is further configured to:
after new acquisition time characteristic information is acquired, whether the use capacity of the time characteristic set reaches a preset maximum capacity is judged; wherein the preset maximum capacity is determined based on a preset acquisition frequency of the sensor and a preset usage frequency of the sensing data;
and determining that the use capacity of the time feature set reaches the preset maximum capacity, and adding new acquisition time feature information to the time feature set after deleting at least one acquisition time feature information in the time feature set based on the acquisition time sequence.
In an embodiment, the data matching unit 21 is further configured to:
after new acquisition time characteristic information is acquired, whether the use capacity of the time characteristic set reaches a preset maximum capacity is judged; wherein the preset maximum capacity is determined based on a preset acquisition frequency of the sensor and a preset usage frequency of the sensing data;
and determining that the use capacity of the time characteristic set is smaller than the preset maximum capacity, and adding new acquisition time characteristic information into the time characteristic set on the basis of an acquisition time sequence.
In an embodiment, the data matching unit 21 is further configured to:
determining that the time information represented by the use time characteristic information is in the middle area of the time characteristic set based on the time sequence, and taking the acquisition time characteristic information which is the most recent before and/or after the time information represented by the use time characteristic information as the target acquisition time characteristic information; alternatively, the first and second electrodes may be,
and determining that the time information represented by the use time characteristic information is at the head or the tail of the time characteristic set based on the time sequence, and taking the acquisition time characteristic information closest to the time information represented by the use time characteristic information as the target acquisition time characteristic information.
In an embodiment, the processing unit 22 is further configured to
Selecting one target acquisition time characteristic information matched with the use time characteristic information, and taking sensing data corresponding to the target acquisition time characteristic information as target sensing data; alternatively, the first and second electrodes may be,
and after at least two pieces of target acquisition time characteristic information matched with the use time characteristic information are selected, data processing is carried out on the acquired sensing data corresponding to all the target acquisition time characteristic information, and the sensing data obtained after processing is used as the target sensing data.
Here, it should be noted that: the descriptions of the embodiments of the apparatus are similar to the descriptions of the methods, and have the same advantages as the embodiments of the methods, and therefore are not repeated herein. For technical details that are not disclosed in the embodiments of the apparatus of the present invention, those skilled in the art should refer to the description of the embodiments of the method of the present invention to understand, and for brevity, will not be described again here.
An embodiment of the present application further provides a sensing data matching apparatus, including: one or more processors; a memory communicatively coupled to the one or more processors; one or more application programs; wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method described above.
In a specific example, the sensing data matching device according to the embodiment of the present application may be embodied as a structure as shown in fig. 3, and the sensing data matching device at least includes a processor 31, a storage medium 32, and at least one external communication interface 33; the processor 31, the storage medium 32, and the external communication interface 33 are all connected by a bus 34. The processor 31 may be a microprocessor, a central processing unit, a digital signal processor, or a programmable logic array, etc. having processing functions. The storage medium has stored therein computer executable code capable of performing the method of any of the above embodiments. In practical applications, the data matching unit 21 and the processing unit 22 may be implemented by the processor 31.
Here, it should be noted that: the above description of the embodiment of the sensing data matching apparatus is similar to the above description of the method, and has the same beneficial effects as the embodiment of the method, and therefore, the description thereof is omitted. For technical details not disclosed in the embodiment of the sensing data matching apparatus of the present invention, those skilled in the art should refer to the description of the embodiment of the method of the present invention for understanding, and for the sake of brevity, will not be described herein again.
Embodiments of the present application also provide a computer-readable storage medium, which stores a computer program, and when the program is executed by a processor, the computer program implements the method described above.
A computer-readable storage 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 storage medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (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 read-only memory (CDROM). Additionally, the computer-readable storage medium may even be paper or another suitable medium upon which the program is printed, as the program can 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 should be understood that all or part of the steps carried by the method for implementing the above embodiments can be implemented by hardware related to instructions of a program, which can be stored in a computer readable storage medium, and the program includes one or a combination of the steps of the method embodiments when the program is executed.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer readable storage medium. The storage medium may be a read-only memory, a magnetic or optical disk, or the like.
The embodiments described above are only a part of the embodiments of the present invention, and not all of them. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.