Supercharge Your Innovation With Domain-Expert AI Agents!

Method and device for processing data

A data processing and data technology, applied in the field of data processing, can solve the problems of high system cost and difficult deployment of the system to which the data belongs, and achieve the effect of reducing the difficulty of deployment and system cost

Active Publication Date: 2015-06-10
CHENGDU HUAMAI COMM TECH
View PDF4 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Using the above two storage methods to store data requires the cooperation of the database, which makes it difficult to deploy the system to which the data is stored and retrieved with time as the key value, and the system cost is high

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for processing data
  • Method and device for processing data
  • Method and device for processing data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0058] In this embodiment, a data processing method is shown, please refer to figure 1 , Which shows a flow chart of the data processing method provided by this application, which may include the following steps:

[0059] Step S11: Obtain the identification number, generation time and termination time of the data to be stored.

[0060] In this embodiment, the identification number of the data to be stored is pre-allocated, and the identification number of each data to be stored is unique.

[0061] Now give an example of the generation time and termination time of the stored data. For example, the data to be stored is the recording data of video device A. Video device A generates recording data at 8:00, and stops working at 9:00, and no more recording data is generated. , The generation time of the data to be stored is 8:00, and the end time is 9:00.

[0062] Step S12: When the 24 hours are divided into n parts on average, the time period to which the generation time belongs and the ti...

Embodiment 2

[0088] After the data is stored using the method shown in the first embodiment, if you want to access the data in the storage server, you can use the method provided in this embodiment, please refer to image 3 , Which shows another flow chart of the data processing method provided by this application, which may include the following steps:

[0089] Step S31: Obtain the identification number of the data to be queried, the query start time, and the query end time.

[0090] Now give an example of the query start time and query end time of the data to be queried. For example, if the data to be queried is video data B from 8:00 to 9:00, the query start time of the data to be queried is 8: 00, the query end time is 9:00.

[0091] Step S32: When the 24 hours are equally divided into the n parts, the time period to which the query start time belongs and the time period to which the query end time belongs are determined.

[0092] In this embodiment, the value of n is the same as the value of ...

Embodiment 3

[0110] Corresponding to the above embodiments, this application provides a data processing device, please refer to Figure 5 , Which shows a schematic diagram of a logical structure of the data processing device provided by the present application. The data processing device may include: a first acquiring unit 51, a first determining unit 52, a second determining unit 53, a generating unit 54, and a establishing unit 55 And storage unit 56.

[0111] The first obtaining unit 51 is configured to obtain the identification number, generation time and termination time of the data to be stored.

[0112] The first determining unit 52 is configured to determine the time period to which the generation time belongs and the time period to which the end time belongs when the 24 hours are equally divided into n parts, wherein the n is an integer greater than 1.

[0113] The second determining unit 53 is configured to determine the storage time period corresponding to the data to be stored accordi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and a device for processing data. The method includes acquiring identity recognition numbers, the generating time and the finish time of the to-be-stored data; evenly dividing 24 hours into n time portions, and determining time slots containing the generating time and time slots containing the finish time; determining storage time slots corresponding to the to-be-stored data according to the time slots containing the generating time and the time slots containing the finish time; generating storage file names; establishing files corresponding to the storage file names in storage servers and storing the to-be-stored data in the files corresponding to the storage file names. The n is an integer larger than 1. The storage file names contain the identity recognition numbers of the to-be-stored data and numerical values corresponding to the storage time slots. The method and the device have the advantages that the data can be stored without being matched databases, accordingly, the system deployment difficulty can be lowered, and the system cost can be reduced.

Description

Technical field [0001] This application relates to the field of data processing, and in particular to a data processing method and device. Background technique [0002] At present, there are two main storage methods for storing and retrieving data with time as the key value: 1. Store the data and the storage location index of the data in the database; 2. Independent storage, that is, store the data in the storage server , Store the storage location index of the data in the database. [0003] The use of the above two storage methods to store data requires the cooperation of the database, which results in the difficulty of deployment of the system to which the data is stored and retrieved with time as the key value, and the system cost is high. Summary of the invention [0004] In order to solve the above technical problems, the embodiments of the present application provide a data processing method and device, so as to reduce the difficulty of system deployment and reduce the system...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/16
Inventor 杨大方张正义
Owner CHENGDU HUAMAI COMM TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More