Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data modification method and device based on storage service and storage server

A storage server and data modification technology, applied in the field of video storage, can solve the problems of soaring high concurrent modification conflict rate, huge data operation overhead, and low performance of high concurrent storage data, so as to avoid modification conflicts and improve high concurrent performance. , to ensure the effect of accuracy

Pending Publication Date: 2020-08-28
GUANGZHOU BAIGUOYUAN INFORMATION TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] At this time, when performing high-concurrency data modification operations based on mutexes, there is an operation of adding exclusive locks to the stored data, while other business parties cannot operate, which makes it necessary to sequentially modify the data under high concurrency. Execute the modification operations of various business parties, and continuously interact with the storage server to store data operations. There is a huge data operation overhead, which reduces the performance of high-concurrency modification of stored data; at the same time, high-concurrency data modification is performed based on optimistic locking. During the operation, the version verification will be performed on the write operation submitted for the final modification. The operation version used in this modification is inconsistent with the current version of the storage server. If there is a modification conflict, the current version needs to be used to re-execute the operation of this modification. And check it again. At this time, during the high-concurrency data modification process, the current version of the storage server will be continuously updated, which will lead to a sharp increase in the modification conflict rate under high concurrency, making the business side perform frequent re-calculation and modification operations, which greatly Reduced the performance of highly concurrent modification of stored data

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
  • Data modification method and device based on storage service and storage server
  • Data modification method and device based on storage service and storage server
  • Data modification method and device based on storage service and storage server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] Figure 1A It is a flow chart of a method for modifying data based on storage services provided by Embodiment 1 of the present invention. This embodiment is applicable to any situation of highly concurrent modification of data on storage services. The method for modifying data based on storage services provided in this embodiment can be executed by the device for modifying data based on storage services provided in embodiments of the present invention, which can be implemented in software and / or hardware, and integrated in the In the storage server, the storage server may be a storage server cluster specially responsible for data storage.

[0031] Specifically, refer to Figure 1A , the method may include the following steps:

[0032] S110, analyzing the modification operator carried in each data modification request concurrently reported to the storage server.

[0033] Specifically, common storage services are usually configured on storage server clusters, which usual...

Embodiment 2

[0044] Figure 2A It is a flow chart of a storage service-based data modification method provided in Embodiment 2 of the present invention, Figure 2B It is a schematic diagram of the principle of the data modification process based on the storage service provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the foregoing embodiments. Specifically, such as Figure 2A As shown, this embodiment mainly explains in detail the specific process of sequentially running each modification operator.

[0045] optional, such as Figure 2A As shown, the following steps may be included in this embodiment:

[0046] S210, parsing the modification operator carried in each data modification request concurrently reported to the storage server.

[0047] S220. Randomly generate the running sequence of the modification operators; or, generate the running sequence of the modification operators according to the modification priority of the data modificat...

Embodiment 3

[0059] image 3 It is a schematic architecture diagram of a storage service-based data modification system provided by Embodiment 3 of the present invention. This embodiment can be applied to any situation of highly concurrent modification of data on a storage service. Specifically, refer to image 3 , the storage service-based data modification system may include: at least one service client 310 , a service server 320 and a storage server 330 .

[0060] Wherein, the business server 320 generates data modification requests facing the storage server according to concurrent data modification operations on the business clients 310 where different business parties are located, and reports each data modification request to the storage server 330 concurrently; the storage server 330 can It is applicable to the storage service-based data modification method provided by any embodiment of the present invention. For the specific execution process, refer to the storage service-based dat...

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 embodiment of the invention discloses a data modification method and device based on a storage service and a storage server. The data modification method comprises the following steps: analyzing amodification operator carried in each data modification request concurrently reported for a storage server; in the process of sequentially operating each modification operator, modifying each modification operator; and updating the to-be-modified data pointed by the modification operator in the storage server into an operation result of the modification operator on the to-be-modified data, wherein the to-be-modified data is the data which is pointed by the modification operator in the storage server and is stored at the current operation moment of the modification operator. According to the technical scheme provided by the embodiment of the invention, the modification operators are operated in sequence, so that modification conflicts for the same storage data under high concurrency are avoided, and accurate data modification of the storage service under high concurrency is realized, and the high concurrency performance of data modification on the storage server is improved on the basis of ensuring the accuracy of data modification based on the storage service.

Description

technical field [0001] The embodiment of the present invention relates to the technical field of video storage, and in particular to a data modification method, device and storage server based on storage services. Background technique [0002] With the rapid development of Internet technology, there will be a large amount of resource data for storage. Common storage services will provide different business parties with functions such as query, modification and deletion of stored data, so that the business parties can use the stored data normally; At this time, the modification operation of the business party on the stored data usually requires the business server where the business party is located to read the corresponding stored data from the storage server first, and then execute the relevant calculations under this modification locally on the business server. And write the operation result into the storage server again as the modification result, so as to realize the mod...

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): G06Q20/12H04N21/254
CPCG06Q20/123H04N21/254
Inventor 张浩
Owner GUANGZHOU BAIGUOYUAN INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products