CN112131319A - Apparatus and method for data processing - Google Patents

Apparatus and method for data processing Download PDF

Info

Publication number
CN112131319A
CN112131319A CN201910549183.5A CN201910549183A CN112131319A CN 112131319 A CN112131319 A CN 112131319A CN 201910549183 A CN201910549183 A CN 201910549183A CN 112131319 A CN112131319 A CN 112131319A
Authority
CN
China
Prior art keywords
data
file
data element
stored
motion
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.)
Granted
Application number
CN201910549183.5A
Other languages
Chinese (zh)
Other versions
CN112131319B (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

Images

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

Providing an apparatus for data processing, which includes an acquisition unit acquiring a data structure in which each data element stored includes at least first data indicating a start storage position of corresponding movement cycle data, second data indicating a start storage position file in which the start is stored, and third data indicating an end storage position of the movement cycle data; the reading unit reads one data element as a current data element; a determination 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 that outputs motion cycle data corresponding to each data element preceding the current data element in the storage order of the corresponding motion cycle data if it is determined that the files are not the same file. The data structure is introduced, so that the data of each motion period can be acquired and transmitted in real time while the data is acquired and stored.

Description

Apparatus and method for data processing
Technical Field
The invention relates to the field of computers, in particular to data processing.
Background
Currently smart products such as smart gloves have been developed and are beginning to be applied in industrial scenarios. In some applications, smart gloves can be used to monitor/analyze the operation of workers in a factory, thereby improving production efficiency and ensuring that the workers perform production operations in accordance with the correct operating specifications. Workers in a factory tend to repeat periodic movements for their particular production task. For example, at an assembly station, a worker may need to perform 5 actions to assemble a part into a target device, which may be as a movement cycle, and during the work the worker may repeat these 5 actions to assemble the part into each target device. 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, the data obtained from the worker wearing it using the smart glove can be stored in different storage files, each having a fixed size of storage space, for example 30M, to facilitate later transmission and near real-time analysis of these data. In this case, these storage files are stored one by one while data from workers are collected, and after one file is filled up, the next file is created and stored.
In order to analyze the data, the application engineer sometimes needs to send data of a specific movement period to his colleagues. For the data thus stored, the application engineer can only send the file storing the specific movement cycle data to his colleagues for analysis.
Disclosure of Invention
It is desirable to provide an apparatus and method for data processing capable of processing data representing the motion of an object acquired by a smart product such as a smart glove while storing the data, acquiring data of each motion cycle; this facilitates the acquisition and transmission of individual or specific movement cycle data in real time for further analysis while data is being collected.
According to an embodiment, there is provided an apparatus for data processing, an acquisition unit configured to acquire one 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 one cycle of movement of the object, and being 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 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; a reading unit configured to read one of the at least one data element as a current data element; a determination 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 motion cycle data corresponding to each data element preceding the current data element in the storage order of the corresponding motion cycle 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, a method for data processing is provided, the method including obtaining a data structure storing at least one data element, each of the at least one data element respectively corresponding to motion cycle data acquired from an object and sequentially stored representing one cycle of motion of the object, and the each data element being stored in association with a storage order of the corresponding motion cycle data, the data element corresponding to each motion cycle data including at least first data representing a start storage location of the motion cycle data, second data representing a start location file where a start of the motion cycle data is stored, and third data representing an end storage location of the motion cycle data;
reading one data element of the at least one data element as a current data element; determining current file data representing a file currently being stored; determining whether the starting position file in the current data element and the currently stored file are the same file based on second data in the current data element and the current file data; and if the starting position file and the file currently stored are determined not to be the same file, outputting motion cycle data corresponding to each data element before the current data element according to the storage sequence of the corresponding motion cycle data.
According to another embodiment, a system for data processing is provided, comprising a memory storing computer program instructions; and a processor executing the computer program instructions to cause the processor to perform the methods according to various embodiments of the present invention.
According to yet another embodiment, a machine-readable storage medium is provided that stores computer program instructions that, when executed, cause a computer to perform a method according to various embodiments of the present 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. In this way, when a specific movement period data needs to be transmitted for further analysis, only the file storing the specific movement period data can be transmitted, the file stores not only the specific movement period data but also other movement period data, or even the specific movement period data is stored in two files, so that two files need to be transmitted, which is not beneficial to the analysis of the specific movement period by the user, and it is desirable to be able to acquire the stored data for each movement period in real time.
However, in the above storage method, 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 movement cycle may be stored in two files created sequentially. This makes it difficult to acquire motion cycle data corresponding to each motion cycle in real time from the stored data while acquiring and storing the data.
According to various embodiments of the present invention, a data structure is created and acquired in which, for each movement cycle data that has been sequentially stored, at least first data indicating the start of the movement cycle data, second data indicating a start position file in which the start of the movement cycle data is stored, and third data indicating the end of the movement cycle data are stored. 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 a file (start position file) has been already stored. In particular, if the start position file and the file currently being stored are the same file, which indicates that the file has not been filled, and otherwise indicates that the start position file has been filled, then the data for each previous movement cycle can be obtained from the data elements stored in the data structure for the previous movement cycle data, and the obtained data for each movement cycle can be used for transmission. This enables data to be acquired for transmission and analysis during each motion cycle during real-time acquisition and storage of data representing the motion of the subject.
Drawings
Embodiments are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings in which like reference numerals refer to similar elements.
FIG. 1 shows an apparatus for data processing according to an embodiment of the invention;
FIG. 2 illustrates a process for obtaining 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 one embodiment of the invention.
Various aspects and features of various embodiments of the present invention are described with reference to the above-identified figures. The drawings described above are only schematic and are non-limiting. The size, shape, reference numerals, or appearance of the respective elements in the above-described drawings may be changed without departing from the gist of the present invention, and are not limited to only those shown in the drawings of the specification
Detailed Description
The technical features of the present invention will be further described with reference to the following 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 certain specific details.
The "motion cycle data" will be used hereinafter to refer to data acquired from the subject representing the respective motion cycles of the subject. It is contemplated that each motion cycle data may be identified from the data representing the motion of the object using various known techniques, such as signal processing techniques. In one embodiment, one reference motion period data of data representing one standard motion period of the object can be first determined, and a plurality of motion period data thereof can be found by comparing the data representing the motion of the object with the reference motion period data. Thus, the collected data and the reference movement period data can be compared to identify each movement period data while collecting the data, and the starting storage position of each movement period data, the file into which the start of each movement period data is stored, and the ending storage position of each movement period data can be determined after storing the identified each movement period data into the file. Based on these data, a data structure as will be described below can be created while storing the acquired data. Specifically, the data structure can be created while sequentially identifying the movement period data and sequentially storing the movement period data.
Fig. 1 shows an apparatus 10 for data processing according to an embodiment, the apparatus 10 comprising an acquisition unit 11, a reading unit 12, a determination unit 13 and an output unit 14. The acquisition unit 11 is adapted to acquire a data structure storing data elements for each movement period data that has been acquired, for example, sequentially. These motion cycle data can be stored sequentially in a plurality of files, which may have a fixed-size storage space or which have a predetermined-size storage space. When a plurality of movement cycle data have been stored, the data structure is capable of storing a corresponding plurality of data elements, each of which corresponds to one of the plurality of movement cycle data, respectively, and is stored in association with a storage order of the corresponding movement cycle data. The data elements for each movement period data include at least first data indicating a start storage location of the movement period data, second data indicating a start location file in which a start of the movement period data is stored, and third data indicating an end storage location of the movement period data. For example, assuming that a file can store 60 frames of video data, a data element corresponding to a motion cycle data may be "20, 01.avi, 80", which indicates that the start storage location of the motion cycle data is at the 20 th frame in the file of 01.avi, and in this example, "80" may indicate the cycle length of the motion cycle data, that is, the motion cycle data includes 80 frames of data; the end frame index of the motion period data may also be indicated. This will be described in detail below.
The above data structure can be acquired as described below. FIG. 2 illustrates a process 100 for obtaining the data structure according to one embodiment. According to this process, data acquired from the subject representing motion of the subject is received, which can be sensed data acquired by various sensors of the smart glove device or video data obtained by a video acquisition device, such as a camera, at 110. In one embodiment, the received data can be stored in a cache for subsequent processing. Each time acquisition data of a predetermined size and/or duration can be received.
At 120, each motion cycle data is identified in real time and sequentially from the data received at 110, such as by signal processing techniques, such as identifying the first motion cycle data, where "first" does not denote an ordinal number of the identified motion cycle data, but merely for purposes of distinction. In identifying the movement period data, the beginning, end and/or duration of the movement period data need to be determined.
At 130, the identified motion cycle data is transmitted to the storage unit in real time to be stored in the corresponding file. The storage is performed by, as mentioned above, storing a file of a known size, and automatically creating and storing a next file of a known size when the file is full. The size of each file can be expressed in a number of ways, such as storage capacity, length of time the file is stored, etc.
At 140, while storing, storage information for the motion cycle data is obtained, and a data element for the motion cycle data, e.g., a first data element for a first motion cycle data, is generated based on the storage information for the motion cycle data. The generated data elements can be stored in a data structure to update the data structure. The storage information should at least relate to the storage location, i.e. the start or end storage location, in the corresponding file of the start or end of the movement period data, the name of the file in which the start of the movement period data is stored, i.e. the start location file. The stored information may also relate to the file into which the end of the movement period data is stored, i.e. the name of the end location file, etc. The first data element generated based on the storage information can store first data indicating a start storage location of the first movement cycle data, second data indicating a start location file in which a start of the first movement cycle data is stored, and third data indicating an end storage location of the first movement cycle data.
The first data includes any form of data capable of indicating a starting storage location of one motion cycle data, which can be a time and/or frame index indicating a starting storage location of one motion cycle data. For example, a file can store 3 minutes of video data, and "1" can be used to indicate that the start storage location of the movement cycle data is at the 1 minute location of the file. For another example, if a file can store 180 frames of video data, it can be represented by "60" that the start storage location of the motion cycle data is at the location of the 60 th frame data of the file.
Similarly, the third data comprises any form of data capable of indicating an ending storage location of one motion cycle data, which can be a time and/or frame index indicating an ending storage location of one motion cycle data, which in one embodiment can also be data indicating a size of the motion cycle data, or which can be data indicating a cycle length of the motion cycle, which can be represented by a time and/or a number of frames. In the case where the cycle length and the start storage position of the movement cycle data are known, the end storage position of the movement cycle data can be determined. For example, it can be represented by "40" that the cycle length of the motion cycle is 40 frames of data, then in the case where the start memory location is known to be at the 60 th frame, it can be determined that the end memory location is at the 100 th frame.
The second data includes any form of data capable of indicating a start position file in which the start of the first movement period data is stored, such as a file name.
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 into which the end of the movement cycle data is stored, in which case the third data can be a time and/or frame index of the end of the movement cycle data, and the fourth data represents a storage file to which the end corresponds.
It will be appreciated that this fourth data is not required. When the beginning of a movement period data and the file storing it and the end of the movement period are known, the file into which the end of the movement period is stored can be determined according to the size of the known storage space storing the file. For example, if video data is acquired, knowing that a motion cycle starts at frame 60, the 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 this data element it can be determined that the motion cycle ends at frame 100 and that this frame is stored in the next file, e.g. "02".
The above steps can be repeated in a plurality of cycles to generate a plurality of data elements while sequentially acquiring data representing motion of the object. The generated at least one data element constitutes a data structure in accordance with various embodiments of the present invention. The receiving, identifying, storing and generating processes described above can be performed in real time and in parallel with the acquisition of the motion cycle data.
Although the operations 110 and 140 described with reference to the embodiment of fig. 2 can be performed by the obtaining unit 11 alone, it is also contemplated that the obtaining unit 11 only obtains the data structure that has been generated, and does not perform the operations 110 and 140 described with reference to the embodiment of fig. 2; alternatively, it is also contemplated that the acquisition unit 11 only performs the operation of 140 described above.
For example, fig. 3 shows an apparatus 20 for data processing according to an embodiment, the apparatus 20 further comprising a receiving unit 15, an identifying unit 16 and a storing unit 17, the receiving unit 15 receiving data from, for example, a smart glove or a video acquisition device, the identifying unit 16 sequentially identifying each movement cycle data in real time from the received data, for example, according to reference movement cycle data, the storing unit 17 sequentially storing each identified movement cycle data in a plurality of files having a storage space of a known size. While the above-mentioned storage is performed, the obtaining unit 11 can record the storage information of the corresponding movement cycle data, including at least the start storage location of the movement cycle data, the file stored at the start of the movement cycle data, and the end storage location of the movement cycle data. Or the storage 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 piece of movement cycle data based on them. The data structure can be updated in real-time as data is acquired to store data elements corresponding to newly identified motion cycle data.
As shown in fig. 1 and 3, the reading unit 12 reads one data element 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 movement cycle data. If no data elements have been stored in the data structure, the reading unit 12 can wait until a data element is stored in the data structure.
In one embodiment, the reading unit 12 is capable of initiating a read after determining that a data element is stored in the data structure. Even further, the reading unit 12 can be configured to initiate 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 movement period data or in the order of generation of these data elements.
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 motion of an object, identifying first motion cycle data in the data in real time, and generating a first data element corresponding to the first motion cycle 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 determination unit 13 receives the current data element from the reading unit 12, determines the current file data indicating the file in which the identified movement cycle data is currently stored, and determines whether the start position file in which the start of the movement cycle data corresponding to the current data element is stored is the same file as the file in which the current data element is currently stored, based on both. The current file data includes any form of data capable of representing the file currently being stored, such as a file name or a storage address corresponding to the currently stored file. In the embodiments given below with respect to the specific application, for example, the determination unit 13 can determine the file name "01. avi" or "02. avi" as the current file data.
If they are the same file, indicating that the start position file is not full, the start position file is currently being stored, and although the start position file has some or some motion cycle data already stored therein, the file is not full, and the individual motion cycle data in the file cannot be processed, such as cut or output, to obtain each motion cycle data.
At this time, in one embodiment, if further data elements are 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 movement cycle data.
In another embodiment, it is considered that the process 100 for updating/acquiring a data structure and the processes of the reading unit, the determining unit, the outputting unit, and the like can be executed in parallel, and therefore, it is also possible at this time to cause the acquiring unit 11 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 cycle 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 data structure that has been generated, and does not perform the update processing. It is of course also contemplated that the acquisition unit 11 comprises various units for performing the update process.
If they are not the same file, indicating that the storage of the start position file has currently ended, i.e., the start position file has been filled, then the respective files stored before storing the start position file, including the respective movement cycle data in the start position file, can be processed to obtain each movement cycle data. That is, it is possible to output the movement cycle data corresponding to each data element preceding the current data element in the storage order of the corresponding movement cycle data. The output unit 14 is used to perform such output. After output, data elements corresponding to 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 and marked to ensure that the motion cycle data corresponding to the marked data elements are no longer output in subsequent outputs.
In one embodiment, the apparatus according to an embodiment of the present invention further includes an extracting unit (not shown) capable of extracting, after determining that the first file and the second file are not the same file, motion cycle data corresponding to each data element preceding the current data element for output, respectively.
It can be understood that the processes described above with respect to the reading unit 12, the determining unit 13, and the output unit 14 can be executed in parallel with the process 100 shown in fig. 2.
An embodiment relating to a specific application is described below. It is assumed that video data from a camera representing the motion of an object is sequentially stored in a plurality of files while being captured, each file being capable of storing 3 minutes, i.e., 60 frames of video data when the frame rate is 60 frames/minute.
While video data from a subject is captured using a 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 followed by "03. avi". The receiving unit 15 sequentially receives the captured video data while sequentially capturing the video data, the identifying unit 16 sequentially identifies the motion cycle data in the received video data, the storing unit 17 stores the identified motion cycle data in a file and records the storage information, and the acquiring unit 11 generates a data element for the identified motion cycle data based on the recorded storage information related to the motion cycle data, such as a start storage location and/or an end storage location of the motion cycle data, a corresponding storage file, and the like. Assume that the period of the first exercise period data is identified to be 1 minute, the period of the second exercise period data is 1 minute, and the period of the third exercise period data is 2 minutes. It will be appreciated that although the worker completes the same task during each movement cycle, the time taken to complete the task may be different for each movement cycle.
First, after the receiving unit 15 receives the motion data representing the object, the recognition unit 16 recognizes the first motion cycle data, and the storage unit 17 stores the first motion cycle data in the first file "01. avi" and records the storage information. The acquisition unit 11 generates a first data element for the first motion cycle data based on the stored information, for example, as indicated by "1, 01.avi, 60, 01. avi", where "1" and "60" indicate 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 of the data for the first movement period 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 the current data element, and the determination unit 13 determines the current file data representing the file currently being stored. Since the above-described process of acquiring/generating data elements is performed in synchronization with the process of reading, determining and outputting the data elements, it can be understood that the current first file "01. avi" is still not filled during the process of identifying, storing the second period data and generating the second data element at this time. The determination 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 filled up yet, so that the respective motion cycle data cannot be acquired from the file yet.
Although their processing is described with reference to the reading unit 12 generating data elements in response to the acquisition unit 11, it can be understood that the processing of the receiving unit 15, the identification unit 16, the storage unit 17 and the acquisition unit 11 and the processing of the reading unit 12, the determination 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 element is 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 outputting unit 14 can be performed in parallel, reading the data structure while identifying, storing and generating data elements in the data structure for the movement cycle data.
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, for example, as represented by "61, 01.avi, 120, 01. avi", where "61" and "120" are frame indexes. In case the determining unit 13 determines that the first file "01. avi" has not been filled, the reading unit is able to further read the second data element as the current data element in the order.
In this case, since the file "01. avi" can be stored for 3 minutes, that is, 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 the second motion period data is stored.
Specifically, the determination unit 13 detects and determines that the file currently being stored is still "01. avi", and this file "01. avi" is the same file as "01. avi" in the second data element as the current data element, indicating that the current file "01. avi" has not been filled. At this point the reading unit 12 may wait if the next movement cycle data has not been identified and stored. If the identifying unit 16 and the storing unit 17 have identified/stored the third motion cycle data, the acquiring unit 11 generates a third data element for the third motion cycle data, for example, as represented by "121, 01.avi, 60, 02. avi", where "121" and "60" are frame indexes, and the determining unit 13 determines that the file currently being stored is "02. avi", and "02. avi" 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, and can extract the respective motion cycle data in the file. 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 motion cycle data, the reading unit 12 can further continue to read the generated data elements and repeat the previous processing on the new current data element until the acquisition is completed and all the acquired data is subjected to the operations of identifying, storing, generating, reading, determining and outputting.
While various embodiments have been described above with reference to first identifying motion cycle data and then storing the corresponding motion cycle data, it is also contemplated that the collected data representing the motion of the object may be stored first, the motion cycle data may be identified based on the stored data while being stored, the storage information for the identified motion cycle data may be determined, and the manner in which the corresponding data elements may be generated based on the storage information.
Further, while the embodiments of the present invention have been described above with reference to the receiving unit 15, the identifying unit 16, the storing unit 17, the obtaining unit 11, the reading unit 12, the determining unit 13, and the outputting unit 14, it is to be understood that this is not limitative, and the functions of the above-described respective units can be combined/changed/modified to obtain the corresponding effects. The functions of these units can be implemented by software or corresponding hardware, or by means of a processor, for example a computer program readable in a memory and executable by a processor to implement the functions of the units.
FIG. 4 shows 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, e.g., "1, 01.avi, 60, 01. avi". Each of the at least one data element respectively corresponds to motion period data acquired from the object and stored sequentially representing one period of motion of the object. And each data element is stored in the data structure in association with a storage order of the corresponding movement cycle data. The data elements corresponding to each movement period data at least comprise first data representing the starting storage position of the movement period data, second data representing the starting position file in which the start of the movement period data is stored, and third data representing the ending storage position of the movement period data;
at 220, one of the at least one data element stored in the retrieved data structure is read as the current data element. In a preferred embodiment, the corresponding data elements are read sequentially in the order in which they correspond to the motion cycle data.
At 230, current file data representing the file currently being stored is determined. At 240, based on the second data in the read current data element and the determined current file data, it is determined whether the starting position file in the current data element and the file currently being stored are the same file.
If it is determined at 240 that the start position file is not the same file as the file currently being stored, outputting, at 250, motion cycle data corresponding to each data element preceding the current data element in the storage order of the corresponding motion cycle data; and data elements corresponding to the outputted motion cycle data are deleted from the data structure or marked at 260. After performing 250 and/or 260 processing, 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 position file is the same file as the file currently being stored, a return can be made to 220 (shown by a solid line in FIG. 4) to read the corresponding next data element as the current data element in the order of storage of the corresponding movement cycle data. Processing continues thereafter at 230- > 260 for the new current data element.
Alternatively, considering that the above-described process 210 and 260 is performed in parallel with the processes of collecting, identifying, storing, generating data elements, etc. of the movement cycle data shown in fig. 2, in this case, it is preferable to return to 210 (shown by a dotted line in fig. 4) to acquire an updated data structure when it is determined 240 that the start position file is the same file as the file currently being stored, and read 220 the corresponding next data element from the updated data structure as a new current data element in the order of storing the corresponding movement cycle data.
In one embodiment, the above method further comprises processing as described above with reference to fig. 2, namely receiving 110 data representing motion of the object; identifying 120 first motion cycle data in the data representing motion of the object; storing 130 the first motion cycle data; acquiring 140 storage information of the first movement period data; a first data element for the first motion cycle data is generated 140 based on the stored information of the first motion cycle 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 data is collected. As mentioned above, this process of updating the data structure can be performed in parallel with method 200. In this case, only the data structures that have already been stored 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, at 220, 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.
It is understood that the apparatus and method for processing data of the various embodiments of the present disclosure can be implemented by a computer program/software. The software can be loaded into the working memory of a data processor and when executed is used to perform a method 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 transferred to the computer program/software using the present disclosure by means of an update.
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 stored thereon computer program code which, when executed, causes a computer or processor to perform a method according to embodiments of the present disclosure. The machine-readable medium may be, for example, an optical storage medium or a solid-state medium supplied together with or as part of other hardware.
Computer programs for carrying out 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 over a network, such as the world wide web, and can be downloaded into the operating computers of data processors from such a network.
It has to be noted that 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 whereas other embodiments are described with reference to apparatus type claims. However, a person skilled in the art will gather from the above and the following description that, unless other notified, in addition to any combination of features belonging to one type of subject-matter also any combination between features relating to different subject-matters is considered to be disclosed with this application. Also, all features can be combined, providing a synergistic effect greater than a simple sum of the features.
The foregoing description of specific embodiments of the present disclosure has been described. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may 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 may also be 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 solutions of the present disclosure can be implemented in various ways without departing from the spirit and essential characteristics of the present disclosure. The specific embodiments are merely illustrative and not restrictive. In addition, any combination of these embodiments can be used to achieve the purpose of the present disclosure. The scope of the disclosure is defined by the appended claims.
The word "comprising" in the description and in the claims does not exclude the presence of other elements or steps, the words "first", "second", etc. do not denote any order or importance, nor do they denote any order or importance. The functions of the respective elements described in the specification or recited in the claims may be divided or combined into plural corresponding elements or may be implemented by a 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 piece of data elements, each of which corresponds to motion cycle data representing one cycle of motion of an object, respectively, acquired from the object and sequentially stored, and is stored in association with a storage order of the corresponding motion cycle data, the data elements corresponding to each piece of motion cycle data including at least first data representing a start storage location of the motion cycle data, second data representing a start location file into which a start of the motion cycle data is stored, and third data representing an end storage location of the motion cycle data;
a reading unit configured to read one of the at least one data element as a current data element;
a determination 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 the output unit is used for outputting the motion cycle data corresponding to each data element before the current data element according to the storage sequence of the corresponding motion cycle data if the determining unit determines that the starting position file and the file currently stored are not the same file.
2. The apparatus according to claim 1, wherein if said determination unit determines that said start position file in said current data element is the same file as said 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 cycle data; or
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 the corresponding movement cycle data as the current data element.
3. The apparatus of 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 motion cycle data among data representing motion of the object;
a storage unit configured to store the first movement cycle data;
wherein the obtaining unit is further configured to obtain storage information of the first motion cycle data, and to generate a first data element for the first motion cycle data based on the storage information of the first motion 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 piece of data element, each piece of data element respectively corresponds to motion period data which is acquired from an object and is sequentially stored and represents one period of motion of the object, and each piece of data element is stored in association with the storage sequence of the corresponding motion period data, and the data element corresponding to each piece of motion period data at least comprises first data which represents a starting storage position of the motion period data, second data which represents a starting storage position file in which the start of the motion period data is stored, and third data which represents an ending storage position of the motion period data;
reading one data element of the at least one data element as a current data element;
determining current file data representing a file currently being stored;
determining whether the starting position file in the current data element and the currently stored file are the same file based on second data in the current data element and the current file data; and
and if the starting position file and the file currently stored are not the same file, outputting motion cycle data corresponding to each data element before the current data element according to the storage sequence of the corresponding motion cycle data.
6. The method of claim 5, further comprising if it is determined that the starting position file in the current data element is the same file as the file currently being stored, then
Reading the next data element from the acquired data structure as the current data element according to the storage sequence of the corresponding motion cycle data; or
Obtaining an updated data structure, wherein the updated data structure comprises the at least one data element in the obtained data structure, and reading a next data element in the updated data structure according to a storage order of the corresponding motion cycle data as the current data element.
7. The method of claim 5 or 6, further comprising
Receiving data representing motion of the object;
identifying first motion cycle data in the data representing motion of the object;
storing the first motion cycle data;
acquiring storage information of the first motion period data;
generating a first data element for the first motion cycle data based on the stored information of the first motion cycle data; and
storing the first data element 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
Reading the one of the at least one data element as the current data element in response to the generation of 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 of any of claims 5-8.
10. A machine readable storage medium storing computer program instructions that 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 true CN112131319A (en) 2020-12-25
CN112131319B 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
梁少刚;: "顺序表和链式表存储结构研究", 科技视界, no. 12, 25 April 2013 (2013-04-25) *
毛义春;: "电子文件元数据管理", 秘书, no. 02, 18 February 2011 (2011-02-18) *

Also Published As

Publication number Publication date
CN112131319B (en) 2024-04-12

Similar Documents

Publication Publication Date Title
CN110383274B (en) Method, device, system, storage medium, processor and terminal for identifying equipment
JP6316447B2 (en) Object search method and apparatus
RU2015138958A (en) METHOD FOR FORMING ANALYSIS OF BEHAVIOR IN THE SYSTEM OF OBSERVATION AND MONITORING
US9900501B2 (en) Image collecting method and apparatus
JP2019152802A (en) Work operation analysis system and work operation analysis method
CN111836102A (en) Video frame analysis method and device
CN111507268A (en) Alarm method and device, storage medium and electronic device
WO2024159914A1 (en) Weak supervision time sequence boundary positioning method and apparatus, electronic device, and storage medium
JP6618349B2 (en) Video search system
CN112131319B (en) Apparatus and method for data processing
WO2020159397A1 (en) Method and computerized device for processing numeric time series data
CN110414322B (en) Method, device, equipment and storage medium for extracting picture
JP7238905B2 (en) Recognizer training device, recognition device, data processing system, data processing method, and program
JP2017228278A5 (en)
CN111104915A (en) Method, device, equipment and medium for peer analysis
CN105654506A (en) Apparatus and method for analyzing motion
JP2019083532A (en) Image processing system, image processing method, and image processing program
CN109922123B (en) Display method and display device for call relation between servers
JP6471085B2 (en) Network connection device, data compression collection method and program
CN114071127A (en) Live video delay testing method and device, storage medium and electronic equipment
KR101950945B1 (en) Apparatus for produciing motion image of motion capture system and mtehod thereof
CN113095450A (en) Two-dimensional code data acquisition method and system, electronic device and storage medium
CN111767275B (en) Data processing method and device and data processing system
CN110929095A (en) Video abstract playback method and device, electronic equipment and readable storage medium
CN114399575A (en) Real-time correction method and system for dynamic capture data

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