CN112131319B - Apparatus and method for data processing - Google Patents

Apparatus and method for data processing Download PDF

Info

Publication number
CN112131319B
CN112131319B CN201910549183.5A CN201910549183A CN112131319B CN 112131319 B CN112131319 B CN 112131319B CN 201910549183 A CN201910549183 A CN 201910549183A CN 112131319 B CN112131319 B CN 112131319B
Authority
CN
China
Prior art keywords
data
file
stored
data element
movement
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910549183.5A
Other languages
Chinese (zh)
Other versions
CN112131319A (en
Inventor
杨星
赵如彦
何莉
沈贤
叶开远
王政
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bosch Automotive Products Suzhou Co Ltd
Original Assignee
Bosch Automotive Products Suzhou Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bosch Automotive Products Suzhou Co Ltd filed Critical Bosch Automotive Products Suzhou Co Ltd
Priority to CN201910549183.5A priority Critical patent/CN112131319B/en
Publication of CN112131319A publication Critical patent/CN112131319A/en
Application granted granted Critical
Publication of CN112131319B publication Critical patent/CN112131319B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Image Analysis (AREA)

Abstract

An apparatus for data processing is provided, which includes an acquisition unit that acquires a data structure in which each data element stored includes at least first data indicating a start storage position of corresponding movement period data, second data indicating a start position file in which the start is stored, and third data indicating an end storage position of the movement period data; a reading unit for reading one of the data elements as a current data element; a determining unit that determines current file data representing a file currently being stored and determines whether a start position file in a current data element and the file being stored are the same file; and an output unit outputting, if it is determined that the file is not the same file, the motion cycle data corresponding to each of the data elements preceding the current data element in the storage order of the corresponding motion cycle data. Such a data structure is introduced to facilitate the acquisition and transmission of each movement cycle data in real time while the data is acquired and stored.

Description

Apparatus and method for data processing
Technical Field
The present invention relates to the field of computers, and more particularly to data processing.
Background
Smart products such as smart gloves have been developed and are beginning to find application in industrial settings. In some applications, intelligent gloves can be used to monitor/analyze the operation of workers in a factory, thereby improving production efficiency and ensuring that workers perform production operations in accordance with proper operating specifications. Workers in a factory often repeat periodic movements for their particular production tasks. For example, at some assembly station, a worker may need to perform 5 actions to assemble a part into a target device, which may be a cycle of movement, with the worker constantly repeating these 5 actions to assemble the part into each target device during operation. The use of smart gloves enables the recording of a plurality of such movement cycle data performed by a worker during work to monitor and analyze the operation of the worker.
Typically, data obtained from a worker wearing it using a smart glove can be stored in different storage files, each having a fixed size of storage space, e.g., 30M, to facilitate later transmission and near real-time analysis of such data. In this case, the stored files are stored one by one while data from a worker is collected, and after one file is full, the next file is created and stored.
In order to analyze the data, the application engineer sometimes needs to send data for a particular movement cycle to his colleague. For the data thus stored, the application engineer can only send a file storing the specific exercise cycle data to his colleague for analysis.
Disclosure of Invention
It is desirable to provide an apparatus and method for data processing capable of processing data representing the movement of an object acquired by an intelligent product such as a smart glove while accessing the data, acquiring each movement cycle data; this facilitates the acquisition and transmission of individual or specific motion cycle data in real time for further analysis while the data is acquired.
According to one embodiment, there is provided an apparatus for data processing, an acquisition unit configured to acquire a data structure storing at least one piece of data elements, each of the at least one piece of data elements respectively corresponding to movement cycle data acquired from an object and sequentially stored, representing movement of one cycle of the object, and stored in association with a storage order of the corresponding movement cycle data, the data elements corresponding to each movement cycle data including at least first data representing a start storage position of the movement cycle data, second data representing a start position file in which a start of the movement cycle data is stored, and third data representing an end storage position of the movement cycle data; a reading unit configured to read one of the at least one data element as a current data element; a determining unit configured to determine current file data representing a file currently being stored, and determine whether the start position file in the current data element and the file currently being stored are the same file based on second data in the current data element and the current file data; and an output unit that outputs movement period data corresponding to each data element preceding the current data element in a storage order of the corresponding movement period data, if the determination unit determines that the start position file and the file currently being stored are not the same file.
According to another embodiment, there is provided a method for data processing, the method comprising obtaining a data structure storing at least one data element, each of the at least one data element corresponding to movement cycle data acquired from an object and sequentially stored representing movement of one cycle of the object, and the each data element being stored in association with a storage order of the corresponding movement cycle data, the data element corresponding to each movement cycle data including at least first data representing a start storage location of the movement cycle data, second data representing a start location file in which a start of the movement cycle data is stored, and third data representing an end storage location of the movement cycle data;
reading one data element in the at least one data element as a current data element; determining current file data representing a file currently being stored; determining whether the start position file in the current data element and the file currently being stored are the same file based on second data in the current data element and the current file data; and outputting motion period data corresponding to each data element preceding the current data element in the storage order of the corresponding motion period data if it is determined that the start position file is not the same file as the file currently being stored.
According to another embodiment, there is provided a system for data processing, including a memory storing computer program instructions; and a processor executing the computer program instructions to cause the processor to perform the method according to various embodiments of the invention.
According to yet another embodiment, a machine-readable storage medium is provided, storing computer program instructions that, when executed, cause a computer to perform a method according to various embodiments of the invention.
In general, during monitoring and analysis of the operation of a worker, data representing the periodic movement of the worker, which may be sensor data or video data, can be collected using sensors and/or video acquisition devices on the smart glove and sequentially stored in different files having a known size of storage space while being collected. Thus, when it is necessary to transmit certain specific movement period data for further analysis, only a file storing the specific movement period data can be transmitted, which file stores not only the specific movement period data but also possibly other movement period data, or even the specific movement period data is stored in two files, so that it is necessary to transmit two files, which is disadvantageous for the user to analyze the specific movement period, and it is desirable to be able to acquire the stored data for each movement period in real time.
However, in the above storage manner, on one hand, when a certain file is stored, it is difficult to process data in the file in real time to obtain corresponding motion cycle data; on the other hand, data of one motion cycle may be stored in two files created sequentially. This makes it difficult to acquire movement cycle data corresponding to each movement cycle in real time from stored data while collecting and storing the data.
According to various embodiments of the present invention, a data structure in which, for each movement period data that has been sequentially stored, at least first data representing the start of the movement period data, second data representing a start position file in which the start of the movement period data is stored, and third data representing the end of the data of the movement period are stored is created and acquired. Based on the result of the comparison between the above-described start position file and the file currently being stored, it can be determined whether or not a file (start position file) has already been stored. Specifically, if the start position file and the file currently being stored are the same file, that means that the file has not been filled yet, otherwise, that means that the start position file has been filled yet, at this time, data of each previous movement period can be acquired from data elements for the previous movement period data stored in the data structure, and the acquired data of each movement period can be used for transmission. This enables the acquisition of data for each movement cycle for transmission and analysis during the real-time acquisition and storage of data representing the movement of the object.
Drawings
In the drawings, wherein like reference numerals refer to like elements, embodiments are illustrated by way of example and not by way of limitation.
FIG. 1 illustrates an apparatus for data processing according to one embodiment of the invention;
FIG. 2 illustrates a process for acquiring a data structure according to one embodiment of the invention;
FIG. 3 shows an apparatus for data processing according to another embodiment of the invention;
fig. 4 illustrates a method for data processing according to an embodiment of the invention.
Various aspects and features of various embodiments of the present invention are described with reference to the foregoing drawings. The drawings described above are only schematic and are non-limiting. The dimensions, shapes, numbers, or appearance of the various elements in the above figures may be changed without departing from the gist of the present invention, and are not limited to those shown in the drawings of the specification only
Detailed Description
The technical features of the present invention are further described below in conjunction with specific embodiments. Embodiments of the present invention include, but are not limited to, the following embodiments. In the following description, numerous specific details are set forth. However, embodiments as described herein may be practiced without some specific details.
The "movement cycle data" will be used hereinafter to represent data acquired from the subject, which represents the respective movement cycles of the subject. It is contemplated that each motion cycle data is identified from data representing the motion of the object using various known techniques, such as signal processing techniques. In one embodiment, a reference motion cycle data representing data of a standard motion cycle of an object can be first determined, and a plurality of motion cycle data therein can be found by comparing the data representing the motion of the object with the reference motion cycle data. This enables the data to be collected while comparing the collected data with the reference movement period data to identify each movement period data, enables a start storage location of each movement period data to be determined after storing each identified movement period data in the file, a file in which the start of each movement period data is stored, and an end storage location of each movement period data. Based on these data, a data structure can be created as will be described below while storing the acquired data. In particular, the data structure can be created while sequentially identifying and sequentially storing the motion cycle data.
Fig. 1 shows a device 10 for data processing according to an embodiment, the device 10 comprising an acquisition unit 11, a reading unit 12, a determination unit 13 and an output unit 14. The acquisition unit 11 is arranged to acquire a data structure storing data elements for each movement cycle data that has been acquired, for example sequentially. The motion cycle data can be sequentially stored in a plurality of files, which may have a fixed size of storage space or which have a predetermined size of storage space. When a plurality of movement period data has been stored, the data structure is capable of storing a corresponding plurality of data elements, each of which corresponds to a respective one of the plurality of movement period data and is stored in association with a storage order of the corresponding movement period data. The data elements for each movement period data include at least first data representing a start storage location of the movement period data, second data representing a start location file in which the start of the movement period data is stored, and third data representing an end storage location of the movement period data. For example, assuming that a file can store 60 frames of video data, the data element corresponding to one motion cycle data may be "20, 01.avi,80", which means that the start storage position of the motion cycle data is at the 20 th frame in the file 01.avi, in this example, "80" may mean the cycle length of the motion cycle data, that is, the motion cycle data includes 80 frames of data; an end frame index of the motion cycle data may also be represented. This will be described in detail below.
The above data structure can be obtained as described below. FIG. 2 illustrates a process 100 for acquiring the data structure according to one embodiment. According to this process, at 110, data acquired from the subject representative of the movement of the subject is received, which can be sensed data acquired by various sensors of the device on the smart glove or video data acquired by a video acquisition device, such as a camera. In one embodiment, the received data can be stored in a cache for subsequent processing. Each time capable of receiving acquisition data of a predetermined size and/or duration.
At 120, each motion cycle data is identified, e.g., first motion cycle data is identified, e.g., in real-time and sequentially, from the data received at 110, e.g., by means of signal processing techniques, where "first" does not represent ordinal numbers of the identified motion cycle data, but merely for the purpose of distinguishing. In identifying movement cycle data, it is desirable to determine the beginning, end, and/or duration of the cycle of movement cycle data.
At 130, the identified motion cycle data is transmitted in real-time to a storage unit for storage in a corresponding file. The manner of storage is as mentioned above, where a file of a known size is stored first, and when the file is full, the next file of a known size is automatically created and stored. The size of each file can be expressed in a number of ways, such as storage capacity, duration of storing the file, etc.
At 140, the stored information for the movement cycle data is acquired while the storing is performed, and a data element for the movement cycle data, e.g. a first data element for a first movement cycle data, is generated based on the stored information for the movement cycle data. The generated data elements can be stored in a data structure to update the data structure. The stored information should relate at least to the storage location, i.e. the start or end storage location, of the start or end of the movement cycle data in the corresponding file, i.e. the name of the file in which the start of the movement cycle data was stored, i.e. the start location file. The stored information may also relate to the file in which the end of the movement cycle data is stored, i.e. the name of the end position file, etc. The first data element generated based on the storage information can store first data indicating a start storage position of the first movement period data, second data indicating a start position file in which the start of the first movement period data is stored, and third data indicating an end storage position of the first movement period data.
The first data comprises any form of data that can represent a beginning storage location of one motion cycle data, which can be a time and/or frame index representing the beginning storage location of one motion cycle data. For example, a file can store 3 minutes of video data, and a "1" can be used to indicate that the beginning storage location of the motion cycle data is at the 1 minute location of the file. For another example, a file can store 180 frames of video data, then the beginning storage location of the motion cycle data can be indicated by "60" at the location of the 60 th frame of data of the file.
Similarly, the third data comprises any form of data capable of representing the end storage location of one motion cycle data, which can be a time and/or frame index representing the end storage location of one motion cycle data, which in one embodiment can also be data representing the size of the motion cycle data, or which can be data representing the cycle length of the motion cycle, which can be represented by time and/or frame number. With the known period length and the starting storage location of the movement period data, the ending storage location of the movement period data can be determined. For example, the period length of the motion period can be represented by "40" as 40 frames of data, and then in the case where the start storage position is known to be at frame 60, it can be determined that the end storage position is at frame 100.
The second data includes any form of data, such as a file name, capable of representing a start position file in which the start of the first motion cycle data is stored.
In addition to the first data, the second data and the third data described above, each data element can also store fourth data representing an end position file in which the end of the movement period data is stored, in which case the third data can be a time and/or a frame index of the end of the movement period data, the fourth data representing a stored file to which the end corresponds.
It will be appreciated that this fourth data is not required. When the start of one motion cycle data and the file storing it and the end of the motion cycle are known, the file in which the end of the motion cycle is stored can be determined according to the size of the known storage space storing the file. For example, if video data is being acquired, it is known that the start of a motion cycle is at frame 60, which frame 60 is stored in file "01", the cycle length of the motion cycle is 40 frames, and the storage space size of each file is 60 frames, then the corresponding data element can be generated as "60, 01, 40". From the data element it can be determined that the motion cycle ends at frame 100 and the frame is stored in the next file, e.g. "02".
The above steps can be repeated in a number of cycles while sequentially acquiring data representing the motion of the object to generate a plurality of data elements. The at least one data element generated constitutes a data structure in accordance with various embodiments of the invention. The above-described receiving, identifying, storing and generating processes can be performed in real-time and in parallel with the acquisition of motion cycle data.
While operations 110-140 described with reference to the embodiment of fig. 2 can be performed solely by the acquisition unit 11, it is also contemplated that the acquisition unit 11 only acquires data structures that have been generated, and does not perform operations 110-140 described with reference to the embodiment of fig. 2; alternatively, it is also contemplated that the acquisition unit 11 performs only the operations of 140 described above.
For example, fig. 3 shows a device 20 for data processing, the device 20 further comprising a receiving unit 15, an identification unit 16 and a storage unit 17, the receiving unit 15 receiving data from e.g. a smart glove or a video acquisition device, the identification unit 16 sequentially identifying each movement cycle data from the received data in real time, e.g. from reference movement cycle data, the storage unit 17 sequentially storing each identified movement cycle data in a plurality of files having a known size of storage space. The acquiring unit 11 can record the storage information of the corresponding movement period data including at least the start storage position of the movement period data, the file in which the start of the movement period data is stored, and the end storage position of the movement period data, simultaneously with the above-described storage. Or the above-described stored information can be recorded by the storage unit 17 and sent to the acquisition unit 11. The acquisition unit 11 determines the first, second, and third data based on these pieces of stored information, and generates a data element corresponding to each movement period data based on them. The data structure can be updated in real-time as the data is acquired to store data elements corresponding to the newly identified motion cycle data.
As shown in fig. 1 and 3, the reading unit 12 reads one of at least one data element stored in the data structure as a current data element. Each data element can be read, for example, in the order of acquisition and/or storage of the corresponding motion cycle data. If no data elements have been stored in the data structure, the reading unit 12 can wait until data elements are stored in the data structure.
In one embodiment, the read unit 12 is capable of restarting the read after determining that the data element is stored in the data structure. Even the reading unit 12 can be configured to initiate the reading after determining that a predetermined number of data elements have been stored in the data structure. The reading can be performed in the order of acquisition and/or storage of the corresponding motion cycle data or the order in which these data elements are generated.
In another embodiment, the reading unit 12 is capable of reading a data element in response to generating the data element. For example, as described with reference to fig. 2, after sequentially receiving data representing the movement of the object, identifying in real time first movement period data in the data, and generating a first data element corresponding to the first movement period data, the reading unit 12 can read the first data element as a current data element in response to generating the first data element.
The determining unit 13 receives the current data element from the reading unit 12, determines current file data representing a file in which the identified movement period data is currently being stored, and determines whether a start position file in which movement period data corresponding to the current data element starts to be stored is the same file as the file in which the movement period data is currently being stored, based on both of them. The current file data includes any form of data capable of representing a file currently being stored, such as a file name or a storage address corresponding to the currently stored file, and the like. In the following embodiments with respect to a given specific application, the determining unit 13 can determine, for example, the file name "01.avi" or "02.avi" as the current file data.
If they are the same file, it is indicated that the start position file is not yet full, and the start position file is currently being stored, but the file is not yet full although some or some of the motion cycle data is already stored in the start position file, at which time the individual motion cycle data in the file cannot be processed, e.g. cut or output, to obtain each motion cycle data.
At this time, in one embodiment, if further data elements are still present in the acquired data structure, the reading unit 12 can read the next data element as the current data element in the storage order of the corresponding motion cycle data.
In another embodiment, considering that the processing 100 for updating/acquiring the data structure and the processing of the reading unit, the determining unit, the output unit, etc. can be performed in parallel, the acquiring unit 11 can also be caused to acquire an updated data structure including the at least one data element in the acquired data structure, and the reading unit 12 reads the next data element as a new current data element in the updated data structure in the storage order of the corresponding movement period data. In this embodiment, in order to maintain the above-described processing performed in parallel, it is preferable that the acquisition unit 11 acquires only the already generated data structure, without performing the update processing. It is of course also contemplated that the acquisition unit 11 comprises individual units for performing the update process.
If they are not the same file, it is indicated that the storing of the start position file has been completed at the present time, i.e. the start position file has been full, at which time the respective files stored before storing the start position file, including the respective movement period data in the start position file, can be processed to obtain each movement period data. That is, it is possible to output the motion cycle data corresponding to each piece of data element preceding the current data element in the storage order of the corresponding motion cycle data. The output unit 14 is for performing such output. After output, the data elements corresponding to the motion cycle data that has been output may be deleted from the data structure. It is also contemplated that these data elements are not deleted, but marked to ensure that the motion cycle data corresponding to the marked data elements is no longer output in a later output.
In an embodiment, the apparatus according to an embodiment of the present invention further comprises an extraction unit (not shown) capable of extracting, for output, respectively, movement period data corresponding to each data element before the current data element after determining that the first file and the second file are not the same file.
It can be appreciated that the processing described above with respect to the reading unit 12, the determining unit 13, the output unit 14 can be performed in parallel with the processing 100 shown in fig. 2.
An embodiment relating to a specific application is described below. It is assumed that video data representing the motion of an object from a camera is sequentially stored in a plurality of files while being acquired, each file being capable of storing video data of 3 minutes, i.e., 60 frames when the frame rate is 60 frames/minute.
While capturing video data from the subject using the camera, these video data are stored in real time in the above-described file, assuming that the file "01.avi" is stored first, followed by "02.avi" and then by "03.avi". While sequentially capturing video data, the receiving unit 15 sequentially receives the captured video data, the identifying unit 16 sequentially identifies the movement period data in the received video data, the storing unit 17 stores the identified movement period data in a file, and records the stored information, and the acquiring unit 11 generates data elements for the identified movement period data based on the recorded stored information related to the movement period data, such as a start storage position and/or an end storage position of the movement period data, a corresponding storage file, and the like. Assuming that the period of the identified first movement period data is 1 minute, the period of the second movement period data is 1 minute, and the period of the third movement period data is 2 minutes. It will be appreciated that while the worker completes the same task during each cycle of movement, the time taken to complete the task may be different for each cycle of movement.
First, after the receiving unit 15 receives the motion data representing the object, the identifying unit 16 identifies the first motion cycle data, the storing unit 17 stores the first motion cycle data in the first file "01.Avi", and records the stored information. The acquisition unit 11 generates a first data element for the first motion cycle data based on the stored information, for example denoted by "1, 01.avi,60, 01.avi", where "1" and "60" denote frame indexes of video images, assuming that the frame rate of the video images is 60 frames per minute. Thus, only the first data element for the first motion cycle data is stored in the data structure at this time.
In response to the generation of the first data element, the reading unit 12 reads the first data element "1, 01.avi,60, 01.avi", as a current data element, and the determining unit 13 determines current file data representing a file currently being stored. Because the above process of acquiring/generating the data element is performed in synchronization with the process of reading, determining and outputting the unit, it is understood that the current first file "01.avi" may not yet be full at this time in the process of identifying, storing the second period data and generating the second data element. The determining unit 13 is able to detect the file currently being stored, for example it determines that the file currently being stored is still "01.Avi". Further, the determination unit 13 can determine that the file currently being stored is the same file as the start position file "01.avi" in the second data in the first data element as the current data element, which indicates that the file "01.avi" has not been full yet, so that the respective movement period data cannot be acquired from the file yet.
Although the processing of the reading unit 12 in response to the acquisition unit 11 generating data elements is described with reference to them, it can be understood that the processing of the receiving unit 15, the identifying unit 16, the storage unit 17, and the acquisition unit 11 and the processing of the reading unit 12, the determining unit 13, and the output unit 14 can be independent of each other. For example, the reading unit 12 can read the data elements sequentially at a certain frequency or time interval, or the reading unit 12 can read continuously and cyclically, and if no data elements are stored in the data structure, the reading unit 12 waits or performs the next reading until the first data element is read.
In addition, it can also be understood that the processing of the receiving unit 15, the identifying unit 16, the storing unit 17 and the acquiring unit 11 and the processing of the reading unit 12, the determining unit 13 and the output unit 14 can be performed in parallel, and the data structure is read while the movement period data is identified, stored and generated as data elements in the data structure.
Assuming that the second motion cycle data is identified and stored as the video data is acquired, identified and stored, the acquisition unit 11 generates a second data element for the second motion cycle data, e.g. denoted by "61, 01.avi,120, 01.avi", where "61" and "120" are frame indices. In case the determining unit 13 determines that the first file "01.avi" has not been fully stored, the reading unit can further read the second data element as the current data element in order.
In this case, since the file "01.avi" can be stored for 3 minutes, i.e., 180 frames of video data, which currently stores only 120 frames of video data, it can be seen that the file "01.avi" is not yet full after storing the second motion period data.
Specifically, the determination unit 13 detects and determines that the file currently being stored is still "01.avi", and that this file "01.avi" is the same file as "01.avi" in the second data element which is the current data element, indicating that the current file "01.avi" has not yet been full. At this point the reading unit 12 may wait if the next movement cycle data has not been identified and stored. If the recognition unit 16 and the storage unit 17 have recognized/stored the third motion cycle data, the acquisition unit 11 generates a third data element for the third motion cycle data, indicated by, for example, "121, 01.avi,60, 02.avi", where "121" and "60" are frame indexes, and the determination unit 13 determines that the file currently being stored is "02.avi", which is different from "01.avi" in the second data of the third data element as the current data element, indicating that "01.avi" has been fully stored, the respective motion cycle data in the file can be extracted. The output unit 14 will thus extract the first and second motion cycle data from the file "01.avi" based on the first and second data elements "1, 01.avi,60, 01.avi" and "61, 01.avi,120, 01.avi" preceding the third data element for output. After output, "1, 01.avi,60, 01.avi" and "61, 01.avi,120, 01.avi" can be deleted from the data structure.
After outputting the above-described movement cycle data, the reading unit 12 is also able to continue reading the generated data elements and repeat the previous processing for the new current data elements until the acquisition is completed and all the acquired data are subjected to the operations of identification, storage, generation, reading, determination and output.
While the embodiments have been described above with reference to first identifying movement cycle data and then storing the corresponding movement cycle data, it is also contemplated that the collected data representing movement of the object is first stored, the movement cycle data is identified based on the stored data while stored, the stored information of the identified movement cycle data is determined, and the manner of generating the corresponding data element based on the stored information.
Furthermore, the embodiments of the present invention are described above with reference to the receiving unit 15, the identifying unit 16, the storing unit 17, the acquiring unit 11, the reading unit 12, the determining unit 13, and the output unit 14, it being understood that this is not limitative, and the functions of the above-described respective units can be combined/altered/modified to obtain corresponding effects. The functions of the units can be implemented by software or corresponding hardware, or by means of a processor, for example a computer program which can be read in a memory by the processor, and which is run to implement the functions of the units.
Fig. 4 illustrates a method 200 for data processing according to one embodiment of the invention. According to the method 200, at 210, a data structure, such as "1, 01.avi,60, 01.avi; 61, 01.avi,120, 01.avi; … …). The data structure stores at least one data element, such as "1, 01.avi,60, 01.avi". Each of the at least one data element corresponds to motion cycle data acquired from the object and stored sequentially, representing a cycle of motion of the object. And, each data element is stored in the data structure in association with a storage order of the corresponding motion cycle data. The data elements corresponding to each movement period data include at least first data representing a start storage location of the movement period data, second data representing a start location file in which a start of the movement period data is stored, and third data representing an end storage location of the movement period data;
at 220, one of the at least one data element stored in the acquired data structure is read as a current data element. In a preferred embodiment, the corresponding data elements are read sequentially in the order in which the motion cycle data corresponding to these data elements are stored.
At 230, current file data representing a file currently being stored is determined. At 240, it is determined whether the start position file in the current data element is the same file as the file currently being stored based on the second data in the read current data element and the determined current file data.
If it is determined at 240 that the start position file is not the same file as the file currently being stored, then at 250 the motion cycle data corresponding to each data element preceding the current data element in the order in which the corresponding motion cycle data was stored is output; and the data elements corresponding to the outputted motion cycle data are deleted from the data structure or marked at 260. After performing the processing of 250 and/or 260, the method 200 can also return to 210 or 220 as described below for processing the next data element.
If it is determined at 240 that the start location file is the same file as the file currently being stored, then a return can be made to 220 (shown in solid lines in FIG. 4) to read the corresponding next data element as the current data element in the order in which the corresponding motion cycle data was stored. Processing then continues at 230-260 with the new current data element.
Alternatively, considering that the above-described processes 210-260 are performed in parallel with the processes of acquisition, identification, storage, generation of data elements, etc. of the motion cycle data shown in fig. 2, in this case, it is preferable to return to 210 (shown in broken lines in fig. 4) to acquire an updated data structure when it is determined that the start position file is the same file as the file currently being stored at 240, and to read the corresponding next data element as a new current data element in the storage order of the corresponding motion cycle data from the updated data structure at 220.
In one embodiment, the above method further includes processing as described above with reference to FIG. 2, namely receiving 110 data representing movement of an object; identifying 120 first motion cycle data in the data representing the motion of the object; storing 130 the first motion cycle data; acquiring 140 stored information of the first motion cycle data; a first data element for the first movement period data is generated 140 based on the stored information of the first movement period data. The method can further include storing 140 the first data element in the data structure. With this process, the data structure can be updated in real time as the data is collected. As mentioned above, this process of updating the data structure can be performed in parallel with the method 200. In this case, only the already stored data structures are retrieved in process 210 of method 200. Or in one embodiment, one or more of the operations of the process described with reference to fig. 2 can also be included in process 210 of method 200.
In a preferred embodiment, one of the at least one data element stored in the data structure is read as the current data element in response to generation of the one data element at 220.
It will be appreciated that the apparatus and method for processing data of the various embodiments of the present disclosure can be implemented by computer programs/software. Such software can be loaded into the working memory of a data processor for performing, when running, the methods according to embodiments of the present disclosure.
Exemplary embodiments of the present disclosure cover both: the computer program/software of the present disclosure is created/used from the beginning, and the existing program/software is converted to use the computer program/software of the present disclosure by means of updating.
According to further embodiments of the present disclosure, a machine (e.g., computer) readable medium, such as a CD-ROM, is provided, wherein the readable medium has computer program code stored thereon, which when executed, causes a computer or processor to perform a method according to embodiments of the present disclosure. The machine-readable medium is, for example, an optical storage medium or a solid-state medium supplied together with or as part of other hardware.
The computer program for performing the methods according to embodiments of the present disclosure may also be distributed in other forms, such as via the internet or other wired or wireless telecommunication systems.
The computer program may also be provided on a network, such as the world wide web, and be downloaded into the working computers of the data processors from such a network.
It must be noted that the embodiments of the present disclosure are described with reference to different subject matters. In particular, some embodiments are described with reference to method-type claims, while other embodiments are described with reference to apparatus-type claims. However, one skilled in the art will recognize from the above and following description that, unless otherwise indicated, any combination of features relating to different subject matter is also considered to be disclosed herein, in addition to any combination of features belonging to one type of subject matter. And, all features can be combined, providing a synergistic effect that is greater than the simple addition of features.
The foregoing has described certain embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
The present disclosure has been described above with reference to specific embodiments, and it will be understood by those skilled in the art that the technical solution of the present disclosure can be implemented in various ways without departing from the spirit and essential features of the present disclosure. The particular embodiments are illustrative only and not limiting. In addition, any combination of these embodiments can be used to achieve the objects of the present disclosure. The scope of the present disclosure is defined by the appended claims.
The word "comprising" in the description and claims does not exclude the presence of other elements or steps, and the words "first", "second", etc. do not indicate a sequence, nor do they limit the amount. The functions of the respective elements described in the specification or recited in the claims may also be divided or combined, and implemented by corresponding plural elements or single element.

Claims (10)

1. An apparatus for data processing, the apparatus comprising
An acquisition unit configured to acquire one data structure storing at least one data element, each of the at least one data element corresponding to movement cycle data acquired from an object and sequentially stored, representing movement of the object for one cycle, and stored in association with a storage order of the corresponding movement cycle data, the data element corresponding to each movement cycle data including at least first data representing a start storage position of the movement cycle data, second data representing a start position file in which a start of the movement cycle data is stored, and third data representing an end storage position of the movement cycle data;
A reading unit configured to read one of the at least one data element as a current data element;
a determining unit configured to determine current file data representing a file currently being stored, and determine whether the start position file in the current data element and the file currently being stored are the same file based on second data in the current data element and the current file data; and
and an output unit that outputs movement period data corresponding to each data element preceding the current data element in a storage order of the corresponding movement period data, if the determination unit determines that the start position file and the file currently being stored are not the same file.
2. The apparatus according to claim 1, wherein if the determination unit determines that the start position file in the current data element is the same file as the file currently being stored, then
The reading unit reads the next data element as the current data element according to the storage sequence of the corresponding motion period data; or alternatively
The acquisition unit acquires an updated data structure including the at least one data element in the acquired data structure, and the reading unit reads a next data element in the updated data structure in a storage order of corresponding movement period data as the current data element.
3. The apparatus according to claim 1 or 2, further comprising
A receiving unit configured to receive data representing a motion of the object;
an identification unit configured to identify first movement cycle data among data representing movement of the object;
a storage unit configured to store the first movement cycle data;
wherein the acquisition unit is further configured to acquire stored information of the first movement cycle data and to generate a first data element for the first movement cycle data based on the stored information of the first movement cycle data, the first data element being stored in the data structure.
4. The apparatus of claim 3, wherein,
the reading unit reads the one data element as the current data element in response to generation of the one data element of the at least one data element.
5. A method for data processing, the method comprising
Acquiring a data structure, wherein the data structure stores at least one data element, each data element in the at least one data element corresponds to movement period data which is acquired from an object and sequentially stored and represents movement of one period of the object, and the each data element is stored in association with the storage sequence of the corresponding movement period data, the data element corresponding to each movement period data at least comprises first data representing a start storage position of the movement period data, second data representing a start position file in which the start of the movement period data is stored, and third data representing an end storage position of the movement period data;
reading one data element in the at least one data element as a current data element;
determining current file data representing a file currently being stored;
determining whether the start position file in the current data element and the file currently being stored are the same file based on second data in the current data element and the current file data; and
And outputting the motion period data corresponding to each data element before the current data element according to the storage sequence of the corresponding motion period data if the starting position file is determined not to be the same file as the file which is currently stored.
6. The method of claim 5, further comprising if it is determined that the starting location file in the current data element is the same file as the file currently being stored
Reading a next data element from the acquired data structure according to the storage sequence of the corresponding motion cycle data as the current data element; or alternatively
An updated data structure is obtained, the updated data structure comprising the at least one data element in the obtained data structure, and a next data element is read as the current data element in the updated data structure in a storage order of the corresponding movement period data.
7. The method of claim 5 or 6, further comprising
Receiving data representing movement of the object;
identifying first motion cycle data in data representing motion of the object;
storing the first movement period data;
Acquiring storage information of the first movement period data;
generating a first data element for the first movement cycle data based on the stored information of the first movement cycle data; and
the first data element is stored in the data structure.
8. The method of claim 7, the reading one of the at least one data element as a current data element comprising
The one data element is read as the current data element in response to generating the one of the at least one data element.
9. A system for data processing, comprising
A memory storing computer program instructions; and
a processor executing the computer program instructions to cause the processor to perform the method according to any one of claims 5-8.
10. A machine readable storage medium storing computer program instructions which, when executed, cause a computer to perform the method of any of claims 5-8.
CN201910549183.5A 2019-06-24 2019-06-24 Apparatus and method for data processing Active CN112131319B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910549183.5A CN112131319B (en) 2019-06-24 2019-06-24 Apparatus and method for data processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910549183.5A CN112131319B (en) 2019-06-24 2019-06-24 Apparatus and method for data processing

Publications (2)

Publication Number Publication Date
CN112131319A CN112131319A (en) 2020-12-25
CN112131319B true CN112131319B (en) 2024-04-12

Family

ID=73850126

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910549183.5A Active CN112131319B (en) 2019-06-24 2019-06-24 Apparatus and method for data processing

Country Status (1)

Country Link
CN (1) CN112131319B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101147396A (en) * 2005-03-21 2008-03-19 皇家飞利浦电子股份有限公司 Processing a data array with a meandering scanning order using a circular buffer memory
FR3045857A1 (en) * 2015-12-22 2017-06-23 Orange METHOD AND DEVICE FOR CLASSIFYING A SET OF COMPUTER ELEMENTS
CN107729375A (en) * 2017-09-13 2018-02-23 微梦创科网络科技(中国)有限公司 A kind of method and device of daily record data sequence
EP3454566A1 (en) * 2017-09-11 2019-03-13 Tiledmedia B.V. Streaming frames of spatial elements to a client device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101147396A (en) * 2005-03-21 2008-03-19 皇家飞利浦电子股份有限公司 Processing a data array with a meandering scanning order using a circular buffer memory
FR3045857A1 (en) * 2015-12-22 2017-06-23 Orange METHOD AND DEVICE FOR CLASSIFYING A SET OF COMPUTER ELEMENTS
EP3454566A1 (en) * 2017-09-11 2019-03-13 Tiledmedia B.V. Streaming frames of spatial elements to a client device
CN107729375A (en) * 2017-09-13 2018-02-23 微梦创科网络科技(中国)有限公司 A kind of method and device of daily record data sequence

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
电子文件元数据管理;毛义春;;秘书;20110218(第02期);全文 *
顺序表和链式表存储结构研究;梁少刚;;科技视界;20130425(第12期);全文 *

Also Published As

Publication number Publication date
CN112131319A (en) 2020-12-25

Similar Documents

Publication Publication Date Title
CN110383274B (en) Method, device, system, storage medium, processor and terminal for identifying equipment
CN111046235B (en) Method, system, equipment and medium for searching acoustic image archive based on face recognition
CN110866515B (en) Method and device for identifying behaviors of objects in factory building and electronic equipment
JP2011138422A (en) Device, method and program for detecting behavioral-pattern
WO2012020456A1 (en) Time-series data processing apparatus and method thereof
CN112256635B (en) Method and device for identifying file type
CN111881320A (en) Video query method, device, equipment and readable storage medium
CN112131319B (en) Apparatus and method for data processing
CN111507268A (en) Alarm method and device, storage medium and electronic device
CN104902229A (en) Video monitoring method, system and camera shooting monitoring system
CN106919499B (en) Method and device for collecting log messages
CN116975938A (en) Sensor data processing method in product manufacturing process
US20160117839A1 (en) Image output device, image output method, and computer program product
JP7091629B2 (en) Detection system, detection method and detection program
CN114223139A (en) Interface switching method and device, wearable electronic equipment and storage medium
CN110765089A (en) Distributed equipment and log recording method, device and storage medium thereof
CN112964286B (en) Data marking method, temperature and humidity recorder and storage medium
CN115599793A (en) Method, device and storage medium for updating data
EP3926428B1 (en) Control device, control program, and control system
CN111767275B (en) Data processing method and device and data processing system
CN113095450A (en) Two-dimensional code data acquisition method and system, electronic device and storage medium
CN109922123B (en) Display method and display device for call relation between servers
CN110852876A (en) Batch error reporting recovery method and device
CN110990395B (en) Data processing method and device
US20230350923A1 (en) Information system and information collection method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant