CN109302449A - Method for writing data, method for reading data, device and server - Google Patents

Method for writing data, method for reading data, device and server Download PDF

Info

Publication number
CN109302449A
CN109302449A CN201811011369.7A CN201811011369A CN109302449A CN 109302449 A CN109302449 A CN 109302449A CN 201811011369 A CN201811011369 A CN 201811011369A CN 109302449 A CN109302449 A CN 109302449A
Authority
CN
China
Prior art keywords
data
business datum
data identification
service device
coordination service
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
CN201811011369.7A
Other languages
Chinese (zh)
Other versions
CN109302449B (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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811011369.7A priority Critical patent/CN109302449B/en
Publication of CN109302449A publication Critical patent/CN109302449A/en
Application granted granted Critical
Publication of CN109302449B publication Critical patent/CN109302449B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This specification embodiment provides a kind of method for writing data, method for reading data, device and server.The method for writing data includes: to receive data write request;The data write request is corresponding with business datum and Data Identification;When the data volume of the business datum is greater than preset value, compression processing is carried out to the business datum, obtains compressed data;The compressed data and the Data Identification are sent to coordination service device;In order to which the coordination service device is based on the compressed data and Data Identification execution write operation.This specification embodiment can reduce the load of single cache server in distributed server cluster, improve the stability of the distributed cache server cluster.

Description

Method for writing data, method for reading data, device and server
Technical field
This specification embodiment is related to field of computer technology, in particular to a kind of method for writing data, reading data side Method, device and server.
Background technique
With the fast development of Internet communication technology, the internet system of some large sizes, based on hot spot data access and The considerations of mitigating database server access pressure can carry out business processing using distributed cache server cluster.Described point Cloth cache server cluster may include coordination service device and multiple cache servers.The coordination service device can be used for pipe Manage the multiple cache server.The multiple cache server may be respectively used for cache business data.In distributed caching Under server cluster environment, the single caching distributed by the coordination service device would generally be fallen in the read-write operation of business datum On server.
It is limited to the performance of single cache server, under distributed cache server cluster environment, read-write operation institute needle Generally can not be too big to the data volume of business datum, it otherwise can make the load excessive of single cache server, it is possible to make At the failure of single cache server, and then influence the stability of the distributed cache server cluster.
Summary of the invention
The purpose of this specification embodiment is to provide a kind of method for writing data, method for reading data, device and server, To improve the stability of distributed cache server cluster.
To achieve the above object, this specification embodiment provides a kind of method for writing data, comprising: reception data, which are write, asks It asks;The data write request is corresponding with business datum and Data Identification;When the data volume of the business datum is greater than preset value, Compression processing is carried out to the business datum, obtains compressed data;The compressed data and the number are sent to coordination service device According to mark;In order to which the coordination service device is based on the compressed data and Data Identification execution write operation.
To achieve the above object, this specification embodiment provides a kind of data transfer apparatus, comprising: receiving unit is used for Receive data write request;The data write request is corresponding with business datum and Data Identification;Compression unit, in the business When the data volume of data is greater than preset value, the business datum is compressed, compressed data is obtained;Transmission unit, for Coordination service device sends the compressed data and the Data Identification;In order to which the coordination service device is based on the compressed data Write operation is executed with the Data Identification.
To achieve the above object, this specification embodiment provides a kind of server, comprising: memory is calculated for storing Machine instruction;Processor performs the steps of reception data write request for executing the computer instruction;The data, which are write, asks It asks and is corresponding with business datum and Data Identification;When the data volume of the business datum is greater than preset value, to the business datum It is compressed, obtains compressed data;The compressed data and the Data Identification are sent to coordination service device;In order to the association Server is adjusted to be based on the compressed data and Data Identification execution write operation.
To achieve the above object, this specification embodiment provides a kind of method for writing data, comprising: reception data, which are write, asks It asks;The data write request is corresponding with business datum and Data Identification;When the data volume of the business datum is greater than preset value, Processing is split to the business datum according to the preset value, obtains multiple subdatas;The data volume of each subdata is small In or equal to the preset value;According to the Data Identification, the corresponding multiple subdata marks of the multiple subdata are determined;To Coordination service device sends the multiple subdata and the multiple subdata mark;In order to which the coordination service device is based on described Multiple subdatas and the multiple subdata mark execute write operation.
To achieve the above object, this specification embodiment provides a kind of data transfer apparatus, comprising: receiving unit is used for Receive data write request;The data write request is corresponding with business datum and Data Identification;Cutting unit, in the business When the data volume of data is greater than preset value, processing is split to the business datum according to the preset value, obtains multiple sons Data;The data volume of each subdata is less than or equal to the preset value;Determination unit is used for according to the Data Identification, really Determine the corresponding multiple subdatas marks of the multiple subdata;Transmission unit, for sending the multiple son to coordination service device Data and the multiple subdata mark;In order to which the coordination service device is based on the multiple subdata and the multiple subnumber Write operation is executed according to mark.
To achieve the above object, this specification embodiment provides a kind of server, comprising: memory is calculated for storing Machine instruction;Processor performs the steps of reception data write request for executing the computer instruction;The data, which are write, asks It asks and is corresponding with business datum and Data Identification;When the data volume of the business datum is greater than preset value, according to the preset value Processing is split to the business datum, obtains multiple subdatas;The data volume of each subdata is less than or equal to described pre- If value;According to the Data Identification, the corresponding multiple subdata marks of the multiple subdata are determined;It is sent to coordination service device The multiple subdata and the multiple subdata mark;In order to which the coordination service device is based on the multiple subdata and institute It states multiple subdata marks and executes write operation.
To achieve the above object, this specification embodiment provides a kind of method for reading data, comprising: receives reading data and asks It asks;The data read request is corresponding with the first Data Identification;First Data Identification is sent to coordination service device;Receive association Adjust the first business datum of server feedback read according to first Data Identification;First business datum includes compression Marker bit;Value in the compact token position is when indicating compressed numerical value, to decompress to first business datum Contracting processing, the business datum after being decompressed;Business datum after feedback decompression.
To achieve the above object, this specification embodiment provides a kind of reading data device, comprising: the first receiving unit, Read requests for receiving data;The data read request is corresponding with the first Data Identification;Transmission unit, for being taken to coordination Business device sends first Data Identification;Second receiving unit, for receiving counting according to described first for coordination service device feedback The first business datum read according to mark;First business datum includes compact token position;Decompression unit, for described The value of compact token position is when indicating compressed numerical value, to unzip it processing to first business datum, solved Compressed business datum;Feedback unit, for feeding back the business datum after decompressing.
To achieve the above object, this specification embodiment provides a kind of server, comprising: memory is calculated for storing Machine instruction;Processor performs the steps of reception data read request for executing the computer instruction;The data are read Request is taken to be corresponding with the first Data Identification;First Data Identification is sent to coordination service device;Receive coordination service device feedback According to first Data Identification read the first business datum;First business datum includes compact token position;Institute When stating the value of compact token position to indicate compressed numerical value, processing is unziped it to first business datum, is obtained Business datum after decompression;Business datum after feedback decompression.
To achieve the above object, this specification embodiment provides a kind of method for reading data, comprising: receives reading data and asks It asks;The data read request is corresponding with the first Data Identification;First Data Identification is sent to coordination service device;Receive association Adjust the first business datum of server feedback read according to first Data Identification;First business datum includes compression Marker bit;Value in the compact token position is when indicating un-compressed numerical value, to feed back first business datum.
To achieve the above object, this specification embodiment provides a kind of reading data device, comprising: the first receiving unit, Read requests for receiving data;The data read request is corresponding with the first Data Identification;Transmission unit, for being taken to coordination Business device sends first Data Identification;Second receiving unit, for receiving counting according to described first for coordination service device feedback The first business datum read according to mark;First business datum includes compact token position;Feedback unit, in the pressure The value of contracting marker bit is when indicating un-compressed numerical value, to feed back first business datum.
To achieve the above object, this specification embodiment provides a kind of server, comprising: memory is calculated for storing Machine instruction;Processor performs the steps of reception data read request for executing the computer instruction;The data are read Request is taken to be corresponding with the first Data Identification;First Data Identification is sent to coordination service device;Receive coordination service device feedback According to first Data Identification read the first business datum;First business datum includes compact token position;Institute When stating the value of compact token position to indicate un-compressed numerical value, first business datum is fed back.
To achieve the above object, this specification embodiment provides a kind of method for reading data, comprising: receives reading data and asks It asks;The data read request is corresponding with the first Data Identification;First Data Identification is sent to coordination service device;Receive association Adjust the first business datum of server feedback read according to first Data Identification;First business datum includes segmentation Marker bit;Value in the dividing mark position is when indicating not divided numerical value, to feed back first business datum.
To achieve the above object, this specification embodiment provides a kind of reading data device, comprising: the first receiving unit, Read requests for receiving data;The data read request is corresponding with the first Data Identification;Transmission unit, for being taken to coordination Business device sends first Data Identification;Second receiving unit, for receiving counting according to described first for coordination service device feedback The first business datum read according to mark;First business datum includes dividing mark position;Feedback unit, at described point When cutting the value of marker bit to indicate not divided numerical value, first business datum is fed back.
To achieve the above object, this specification embodiment provides a kind of server, comprising: memory is calculated for storing Machine instruction;Processor performs the steps of reception data read request for executing the computer instruction;The data are read Request is taken to be corresponding with the first Data Identification;First Data Identification is sent to coordination service device;Receive coordination service device feedback According to first Data Identification read the first business datum;First business datum includes dividing mark position;Institute When stating the value of dividing mark position to indicate not divided numerical value, first business datum is fed back.
To achieve the above object, this specification embodiment provides a kind of method for reading data, comprising: receives reading data and asks It asks;The data read request is corresponding with the first Data Identification;First Data Identification is sent to coordination service device;Receive association Adjust the first business datum of server feedback read according to first Data Identification;First business datum includes segmentation Marker bit;When value in the dividing mark position is other numerical value in addition to indicating not divided numerical value, according to described The value of dividing mark position and first Data Identification, generate at least one second Data Identification;It is sent to coordination service device At least one described second Data Identification;At least one described second Data Identification of basis for receiving coordination service device feedback is read At least one second business datum;Place is merged to first business datum and at least one described second business datum Reason, obtains merging data;Feed back the merging data.
To achieve the above object, this specification embodiment provides a kind of reading data device, comprising: the first receiving unit, Read requests for receiving data;The data read request is corresponding with the first Data Identification;First transmission unit is used for association Server is adjusted to send first Data Identification;Second receiving unit, for receive coordination service device feedback according to described the The first business datum that one Data Identification is read;First business datum includes dividing mark position;Generation unit, in institute When the value for stating dividing mark position is other numerical value in addition to indicating not divided numerical value, according to the dividing mark position Value and first Data Identification, generate at least one second Data Identification;Second transmission unit is used for coordination service device Send at least one described second Data Identification;Third receiving unit, the basis for receiving coordination service device feedback are described extremely At least one second business datum that few second Data Identification is read;Combining unit, for first business datum Processing is merged at least one described second business datum, obtains merging data;Feedback unit, for feeding back the merging Data.
To achieve the above object, this specification embodiment provides a kind of server, comprising: memory is calculated for storing Machine instruction;Processor performs the steps of reception data read request for executing the computer instruction;The data are read Request is taken to be corresponding with the first Data Identification;First Data Identification is sent to coordination service device;Receive coordination service device feedback According to first Data Identification read the first business datum;First business datum includes dividing mark position;Institute When the value for stating dividing mark position is other numerical value in addition to indicating not divided numerical value, according to the dividing mark position Value and first Data Identification, generate at least one second Data Identification;To coordination service device send it is described at least one Second Data Identification;At least one for receiving that at least one described second Data Identification of basis of coordination service device feedback is read the Two business datums;Processing is merged to first business datum and at least one described second business datum, is merged Data;Feed back the merging data.
The technical solution provided by above this specification embodiment as it can be seen that in this specification embodiment, by data into Row compression processing or dividing processing can reduce the data volume for single cache server read-write data;To reduce list The load of a cache server improves the stability of distributed cache server cluster.
Detailed description of the invention
In order to illustrate more clearly of this specification embodiment or technical solution in the prior art, below will to embodiment or Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only The some embodiments recorded in this specification, for those of ordinary skill in the art, in not making the creative labor property Under the premise of, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of configuration diagram of data processing system of this specification embodiment;
Fig. 2 is a kind of flow chart of method for writing data of this specification embodiment;
Fig. 3 is a kind of flow chart of method for reading data of this specification embodiment;
Fig. 4 is a kind of schematic diagram of data segmentation of this specification embodiment;
Fig. 5 is the schematic diagram that a kind of data of this specification embodiment merge;
Fig. 6 is a kind of flow chart of method for writing data of this specification embodiment;
Fig. 7 is a kind of flow chart of method for writing data of this specification embodiment;
Fig. 8 is a kind of flow chart of method for reading data of this specification embodiment;
Fig. 9 is a kind of flow chart of method for reading data of this specification embodiment;
Figure 10 is a kind of flow chart of method for reading data of this specification embodiment;
Figure 11 is a kind of flow chart of method for reading data of this specification embodiment;
Figure 12 is a kind of illustrative view of functional configuration of data transfer apparatus of this specification embodiment;
Figure 13 is a kind of illustrative view of functional configuration of data transfer apparatus of this specification embodiment;
Figure 14 is a kind of illustrative view of functional configuration of reading data device of this specification embodiment;
Figure 15 is a kind of illustrative view of functional configuration of reading data device of this specification embodiment;
Figure 16 is a kind of illustrative view of functional configuration of reading data device of this specification embodiment;
Figure 17 is a kind of illustrative view of functional configuration of reading data device of this specification embodiment;
Figure 18 is a kind of illustrative view of functional configuration of server of this specification embodiment.
Specific embodiment
Below in conjunction with the attached drawing in this specification embodiment, the technical solution in this specification embodiment is carried out clear Chu is fully described by, it is clear that described embodiment is only this specification a part of the embodiment, rather than whole implementation Example.The embodiment of base in this manual, those of ordinary skill in the art are obtained without creative efforts Every other embodiment, all should belong to this specification protection range.
Please refer to Fig. 1, Fig. 2, Fig. 3, Fig. 4 and Fig. 5.This specification embodiment provides a kind of data processing system.The number It may include client, service server, distributed cache server cluster and database server according to processing system.
In the present embodiment, the client can be realized using the combination of hardware, software or software and hardware.The visitor Family end can for PC (personal computer) machine, server, industrial personal computer (industrial control computer), intelligent movable phone, Flat electronic equipment, portable computer (such as laptop etc.), personal digital assistant (PDA), desktop computer or The electronic equipments such as intelligent wearable device.Alternatively, the client can also be browser, microblogging client or Jingdone district client Etc. application programs.The client can be communicated with the service server.
In the present embodiment, the service server can be a server, and can also be includes multiple servers Server cluster.The service server can respectively in the distributed cache server cluster coordination service device and The database server is communicated.
In the present embodiment, the distributed cache server cluster can be for for providing the distributed clothes of buffer service Business device cluster can play the role of hot spot data access and mitigate database server access pressure.The distributed caching Server cluster may include coordination service device and multiple cache servers.The coordination service device is the multiple slow for managing Deposit server.The multiple cache server may be respectively used for cache business data.The distributed cache server cluster It can be realized based on architecture technologies such as Memcached or JBOssCache.
In the present embodiment, the database server can be a server, and can also be includes multiple servers Server cluster.The database server can be used for storage service data.The database server can be used as institute The data source of distributed cache server cluster is stated, the distributed cache server cluster described in this way can cache the database Business datum in server.It can use synchronization rules, usually to make the industry of the distributed cache server cluster cache It is consistent between business data and the business datum of database server storage.
After receiving the data write request from the client, the service server can be in the distribution Business datum and Data Identification are written in formula cache server cluster.Receiving the data read request from the client After, the service server preferentially can read business datum from the distributed cache server cluster.Can be from When reading business datum in the distributed cache server cluster, the service server can be to the client feedback The business datum of reading.When business datum can not be read from the distributed cache server cluster, the business Server can read business datum from the database server;The business number that can be read to the client feedback According to.
In the present embodiment, the client can send data write request to the service server.The business clothes Business device can receive the data write request;The corresponding business datum of the available data write request and Data Identification;It can The data volume of the business datum to be compared with preset value.
Specifically, the business datum for example can be account balance or the configuration data of application program etc..The data Mark can be used for identifying the business datum.Here the Data Identification and the business datum can be interpreted as key-value pair (Key-Value).The data-quantity threshold that the preset value can be read and write according to single in the distributed cache server cluster To determine.The data-quantity threshold of different distributions formula cache server cluster can be identical or different, thus the preset value can be with It is identical or different.The preset value can be less than or equal to the data-quantity threshold.For example, being based on Memcached architecture technology The distributed cache server cluster of realization, data-quantity threshold can be 1M (Megabyte, Mbytes).So, described pre- If value can be 1M or 0.8M etc..
Specifically, the data write request can carry the business datum and the Data Identification.The business clothes The available business datum of device of being engaged in and the Data Identification.Alternatively, the data write request can also carry multiple words Segment identification and the corresponding multiple data fields of the multiple field identification.The service server can be according to the multiple word Segment identification constructs the Data Identification;The business datum can be constructed according to the multiple data field.For example, the industry Business server can merge the multiple field identification, obtain the Data Identification.
In an embodiment of the present embodiment, when the data volume of the business datum is less than or equal to preset value, The service server is just thought not needing to carry out compression processing and dividing processing to the business datum;It can be in the business Compact token position is added in data;The value of the compact token position can be set as to indicate un-compressed numerical value;It can be with Dividing mark position is added in the business datum;It can set the value of the dividing mark position to indicating not divided Numerical value;And then the business datum and the Data Identification can be sent to the coordination service device.The coordination service device can To receive the business datum and the Data Identification;It can be according to the Data Identification, from the multiple cache server Choose target cache server;The business datum and the Data Identification can be sent to the target cache server.Institute Stating target cache server can receive the business datum and the Data Identification;It can be by the business datum and the number Corresponding storage is carried out according to mark;It can be sent to the coordination service device and successful message is written.The coordination service device can be with It receives and successful message is written;It can be sent to the service server and successful message is written.The service server can be with It receives and successful message is written;It can be sent to the client and successful message is written.
Specifically, the value of the compact token position can be used to indicate that whether business datum is compressed, and specifically can wrap Including indicates un-compressed numerical value and the compressed numerical value of expression.As an example, indicating un-compressed numerical value can be 0;Indicate that compressed numerical value can be 1.The value of the dividing mark position may include particular value and according to business datum quilt The numerical value that the quantity of segmentation is determined.The particular value can be used to indicate that business datum is not divided.As an example, institute Stating particular value can be 0;When the divided quantity of business datum is M, the value of the dividing mark position can be M-1.
Specifically, the coordination service device can be according to the Data Identification, using predetermined server Algorithms of Selecting, from institute State selection target cache server in multiple cache servers.For example, the distributed cache server cluster may include N number of Cache server.Each cache server can have server identification.Here server identification can be used for identifying caching clothes Business device, such as can be the IP address of cache server, MAC Address or number etc..The server of N number of cache server Mark can be respectively A0, A1, A2 ..., A (N-1).So, the coordination service device can calculate dissipating for the Data Identification Train value;Target cache server can be chosen divided by the remainder of N according to the hashed value.Specifically, for example, in the remainder When being 0, the coordination service device can choose server identification be A0 cache server as target cache server;Institute State remainder be 1 when, the coordination service device can choose server identification be A1 cache server as target cache service Device;And so on, when the remainder is N-1, the coordination service device can choose the caching that server identification is A (N-1) Server is as target cache server.
It is described when the data volume of the business datum is greater than preset value in the another embodiment of the present embodiment Service server is just thought to need to carry out compression processing to the business datum;Any compression algorithm can be used, to the industry Data of being engaged in carry out compression processing, obtain compressed data;The data volume of the compressed data and the preset value can be compared It is right.The compression algorithm can be for example Zlib compression algorithm, LZ4 compression algorithm, Snappy compression algorithm or Huffman pressure Compression algorithm etc..
In the present embodiment, when the data volume of the compressed data is less than or equal to the preset value, the business Server is just thought not needing to be split processing to the business datum;Compact token can be added in the compressed data Position;The value of the compact token position can be set as to indicate compressed numerical value;It can be added in the compressed data Dividing mark position;It can set the value of the dividing mark position to indicating not divided numerical value;And then it can be to described Coordination service device sends the compressed data and the Data Identification.The coordination service device can receive the compressed data and The Data Identification;Target cache server can be chosen from the multiple cache server according to the Data Identification;It can To send the compressed data and the Data Identification to the target cache server.The target cache server can connect Receive the compressed data and the Data Identification;The compressed data and the Data Identification can be carried out to corresponding storage;It can Successful message is written to send to the coordination service device.The coordination service device can receive the successful message of write-in;It can Successful message is written to send to the service server.The service server can receive the successful message of write-in;It can Successful message is written to send to the client.
In the present embodiment, when the data volume of the compressed data is greater than the preset value, the service server Just think to need to be split processing to the business datum;The compressed data can be split according to the preset value Processing, obtains multiple subdatas.Specifically, the data volume of each subdata can be less than or equal to the preset value.Each height The data volume of data can be identical or different.The service server can divide the compressed data using any means Cut processing.For example, the service server can be according to formulaProcessing is split to the compressed data.M is indicated Divided quantity (that is, quantity of the multiple subdata);Q indicates the data volume of the compressed data;T indicates described default Value;[] indicates the operator that rounds up.Certainly, above-mentioned formula is merely illustrative, and the actually described service server can also use Other formula or method are split processing to the compressed data.
The multiple subdata can be with sequencing.According to the sequencing to the multiple subdata into Row merges, and can obtain the compressed data.As described service server can add compression mark in first subdata Remember position;The value of the compact token position can be set as to indicate compressed numerical value;It can be added in first subdata Dividing mark position;The value of the dividing mark position can be set according to the quantity of the multiple subdata.For example, described more The quantity of a subdata can be M.So, it is M-1 that the value of the dividing mark position, which can be set, in the service server.
The service server can determine rule using Data Identification, determine the multiple according to the Data Identification The corresponding multiple subdata marks of subdata.The corresponding subdata mark of different subdatas can be different.As an example, institute Stating Data Identification can be key.The quantity of the multiple subdata can be M.So, rule is determined using the Data Identification Available: the subdata of first subdata is identified as key, and the subdata of second subdata is identified as key-2, with such It pushes away, the subdata of m-th subdata is identified as key-M.
The service server can send the multiple subdata and the multiple subdata to the coordination service device Mark.The coordination service device can receive the multiple subdata and the multiple subdata mark.For each subdata And its corresponding subdata mark, the coordination service device can be identified according to the subdata, from the multiple cache server Middle selection target cache server;The subdata and subdata mark can be sent to the target cache server.It is described Target cache server can receive the subdata and subdata mark;The subdata and subdata mark can be carried out Corresponding storage;The successful message of write-in that the subdata can be sent to the coordination service device.Obtaining the multiple subnumber According to the successful message of write-in after, the coordination service device can send to the service server and successful message is written. The service server can receive the successful message of write-in;It can be sent to the client and successful message is written.
In the present embodiment, the client can send data read request to the service server.The business Server can receive the data read request;Corresponding first Data Identification of the available data read request;It can To send first Data Identification to the coordination service device.The coordination service device can receive the first data mark Know;Target cache server can be chosen from the multiple cache server according to first Data Identification;Can to institute It states target cache server and sends first Data Identification.The target cache server can receive the first data mark Know;It can be from the local business datum for reading first Data Identification and being identified, as the first business datum;It can be to described Coordination service device sends first business datum.The coordination service device can receive first business datum;It can be to The service server sends first business datum.The service server can receive first business datum.
It specifically, may include compact token position and dividing mark position in first business datum.
Specifically, the data read request can carry first Data Identification.The service server can be with Obtain first Data Identification.Alternatively, the data read request can also carry multiple field identifications.The business clothes Being engaged in device can be according to the multiple field identification, building first Data Identification.For example, the service server can be by institute It states multiple field identifications to merge, obtains first Data Identification.
In an embodiment of the present embodiment, the value of the compact token position can be the un-compressed number of expression Value.As described service server just thinks that first business datum does not pass through compression processing and is not by segmentation portion Subdata caused by managing;First business datum can be sent to the client.The client can receive described First business datum.Specifically, the service server directly can send first business datum to the client.Or Person, the service server can also send to the client and remove the first business of compact token position and dividing mark position Data.
In the another embodiment of the present embodiment, the value of the compact token position can be the compressed number of expression Value.The value of the dividing mark position can be the not divided numerical value of expression.As described service server just thinks described First business datum have passed through compression processing but not be by subdata caused by dividing processing;It can be to first industry Business data unzip it processing, the business datum after being decompressed;The industry after decompression can be sent to the client Business data.The client can receive the business datum after decompression.Specifically, the service server can using with it is preceding The decompression algorithm that compression algorithm matches is stated, processing is unziped it to first business datum.The service server Processing directly can be unziped it to first business datum.Alternatively, the service server can also be pressed removing First business datum of contracting marker bit and dividing mark position unzips it processing.
In the another embodiment of the present embodiment, the value of the compact token position can be the compressed number of expression Value.The value of the dividing mark position can be other numerical value in addition to indicating not divided numerical value.As described business Server just thinks that first business datum have passed through compression processing and for by subdata caused by dividing processing;It can To be identified using aforementioned data and determine rule, generate at least one second Data Identification according to first Data Identification.It generates The quantity of the second Data Identification can be associated with the value of the dividing mark position.As an example, the second of generation The quantity of Data Identification can be identical as the value of the dividing mark position.As an example, first Data Identification can Think key.The value of the dividing mark position can be M-1.So, it is identified using aforementioned data and determines the available M- of rule 1 the second Data Identification.The M-1 the second Data Identifications can be respectively key-2, key-3 ..., key-M.
The service server can send at least one described second Data Identification to the coordination service device.The association Server is adjusted to can receive at least one described second Data Identification.For each second Data Identification, the coordination service device Target cache server can be chosen from the multiple cache server according to second Data Identification;It can be to the mesh Mark cache server sends second Data Identification.The target cache server can receive second Data Identification;It can be with From the local business datum for reading second Data Identification and being identified, as the second business datum;It can be to the coordination service Device sends second business datum.The coordination service device can receive second business datum;It can be to the business service Device sends second business datum.The service server can receive second business datum.The service server described in this way At least one corresponding second business datum of at least one described second Data Identification can be obtained.
The service server can close first business datum and at least one described second business datum And handle, obtain merging data;Processing can be unziped it to the merging data, the business datum after being decompressed; The business datum after decompression can be sent to the client.The client can receive the business datum after decompression. Specifically, the service server can directly carry out first business datum and at least one described second business datum Merging treatment.Alternatively, the service server can also be to removing the first business number of compact token position and dividing mark position Processing is merged according to at least one described second business datum.
Please refer to Fig. 6.Based on aforementioned data processing system embodiment, this specification embodiment also provides a kind of data write-in Method.The method for writing data may comprise steps of using the service server as executing subject.
Step S10: data write request is received.
The data write request is corresponding with business datum and Data Identification.
Step S12: when the data volume of the business datum is greater than preset value, the business datum is carried out at compression Reason, obtains compressed data.
Step S14: the compressed data and the Data Identification are sent to coordination service device.
The service server can send the compressed data and the Data Identification to the coordination service device.It is described Coordination service device can receive the compressed data and the Data Identification;It can be based on the compressed data and the data mark Know and executes write operation.
In an embodiment of the present embodiment, the service server can add compression in the compressed data Marker bit;The value of the compact token position can be set as to indicate compressed numerical value;It can be in the compressed data Add dividing mark position;It can set the value of the dividing mark position to indicating not divided numerical value;And then it can be to Coordination service device sends the compressed data and the Data Identification.
In an embodiment of the present embodiment, the service server can by the data volume of the compressed data with The preset value is compared.In the present embodiment, it is less than or equal to the preset value in the data volume of the compressed data When, the service server can send the compressed data and the Data Identification to the coordination service device.In this implementation In mode, when the data volume of the compressed data is greater than the preset value, the service server can be according to described default Value is split processing to the compressed data, obtains multiple subdatas;It can be determined the multiple according to the Data Identification The corresponding multiple subdata marks of subdata;The multiple subdata and the multiple son can be sent to the coordination service device Data Identification.Wherein, the data volume of each subdata can be less than or equal to the preset value;The data volume of each subdata can With identical or different.The coordination service device can receive the multiple subdata and the multiple subdata mark;It can be with base Write operation is executed in the multiple subdata and the multiple subdata mark.Further, the multiple subdata can be With sequencing.As described service server can add compact token position in first subdata;It can will be described The value of compact token position is set as indicating compressed numerical value;Dividing mark position can be added in first subdata;It can be with According to the quantity of the multiple subdata, the value of the dividing mark position is set;And then it can be sent out to the coordination service device The multiple subdata and the multiple subdata is sent to identify.
In an embodiment of the present embodiment, it is less than or equal to the preset value in the data volume of the business datum When, the service server can send the business datum and the Data Identification to coordination service device.The coordination service Device can receive the business datum and the Data Identification;It can be write based on the business datum and Data Identification execution Operation.Further, the service server can also add compact token position in the business datum;It can be by the pressure The value of contracting marker bit is set as indicating un-compressed numerical value;Dividing mark position can be added in the business datum;It can To set indicating not divided numerical value for the value of the dividing mark position;And then described in being sent to coordination service device Business datum and the Data Identification.
In the present embodiment, the service server can receive data write request;It can be in the data volume of business datum When greater than preset value, compression processing is carried out to the business datum, obtains compressed data;Described in being sent to coordination service device Compressed data and Data Identification;In order to which the coordination service device writes behaviour based on the compressed data and Data Identification execution Make.In this way by compressing to business datum, the data volume to single cache server write-in data can reduce;To drop The low load of single cache server, improves the stability of distributed cache server cluster.
Please refer to Fig. 7.Based on aforementioned data processing system embodiment, this specification embodiment also provides another data and writes Enter method.The method for writing data may comprise steps of using the service server as executing subject.
Step S20: data write request is received.
The data write request is corresponding with business datum and Data Identification.
Step S22: when the data volume of the business datum is greater than preset value, according to the preset value to the business number According to processing is split, multiple subdatas are obtained.
Step S24: according to the Data Identification, the corresponding multiple subdata marks of the multiple subdata are determined.
Step S26: the multiple subdata and the multiple subdata mark are sent to coordination service device.
The service server can send the multiple subdata and the multiple subdata mark to coordination service device. The coordination service device can receive the multiple subdata and the multiple subdata mark;It can be based on the multiple subnumber Write operation is executed according to identifying with the multiple subdata.
In an embodiment of the present embodiment, the multiple subdata be can be with sequencing.Such institute Compact token position can be added in first subdata by stating service server;It can set the value of the compact token position to Indicate un-compressed numerical value;Dividing mark position can be added in first subdata;It can be according to the multiple subdata The value of the dividing mark position is arranged in quantity;And then the multiple subdata and institute can be sent to the coordination service device State multiple subdata marks.
In an embodiment of the present embodiment, it is less than or equal to the preset value in the data volume of the business datum When, the service server can send the business datum and the Data Identification to coordination service device.The coordination service Device can receive the business datum and the Data Identification;It can be write based on the business datum and Data Identification execution Operation.Further, the service server can also add compact token position in the business datum;It can be by the pressure The value of contracting marker bit is set as indicating un-compressed numerical value;Dividing mark position can be added in the business datum;It can To set indicating not divided numerical value for the value of the dividing mark position;And then described in being sent to coordination service device Business datum and the Data Identification.The coordination service device can receive the business datum and the Data Identification;It can be with Write operation is executed based on the business datum and the Data Identification.
In the present embodiment, the service server can receive data write request;It can be in the data volume of business datum When greater than preset value, processing is split to the business datum according to the preset value, obtains multiple subdatas;It can basis Data Identification determines the corresponding multiple subdata marks of the multiple subdata;It can be sent to coordination service device the multiple Subdata and the multiple subdata mark;In order to which the coordination service device is based on the multiple subdata and the multiple son Data Identification executes write operation.In this way by being split processing to business datum;The subdata of segmentation can disperse to be stored in The multiple cache server;It can reduce the data volume to single cache server write-in data;It is single slow to reduce The load for depositing server improves the stability of distributed cache server cluster.
Please refer to Fig. 8.Based on aforementioned data processing system embodiment, this specification embodiment also provides a kind of reading data Method.The method for reading data may comprise steps of using the service server as executing subject.
Step S30: data read request is received.
The data read request is corresponding with the first Data Identification.
Step S32: first Data Identification is sent to coordination service device.
Step S34: the first business datum of coordination service device feedback read according to first Data Identification is received.
First business datum may include compact token position.
Step S36: the value in the compact token position is when indicating compressed numerical value, to first business datum Unzip it processing, the business datum after being decompressed.
Step S38: the business datum after feedback decompression.
In an embodiment of the present embodiment, the value in the compact token position is to indicate un-compressed numerical value When, the service server can feed back first business datum.
In an embodiment of the present embodiment, first business datum can also include dividing mark position.Institute The value for stating dividing mark position is to indicate that the value of not divided numerical value and the compact token position is to indicate compressed number When value, the service server can unzip it processing to first business datum, the business number after being decompressed According to.
In an embodiment of the present embodiment, first business datum can also include dividing mark position.Institute The value for stating dividing mark position is the value of other numerical value and the compact token position in addition to indicating not divided numerical value When to indicate compressed numerical value, the service server can be according to the value and first data of the dividing mark position Mark, generates at least one second Data Identification;At least one described second Data Identification can be sent to coordination service device;It can At least one second business datum that at least one described second Data Identification of basis to receive coordination service device feedback is read; Processing can be merged to first business datum and at least one described second business datum, obtain merging data;It can Business datum to unzip it processing to the merging data, after being decompressed.
In the present embodiment, the service server can receive data read request;It can be sent to coordination service device First Data Identification;It can receive the first business number of coordination service device feedback read according to first Data Identification According to first business datum includes compact token position;It can be to indicate compressed number in the value of the compact token position When value, processing is unziped it to first business datum, the business datum after being decompressed;After decompression being fed back Business datum.It can reduce the data volume that data are read from single cache server in this way;To reduce single caching clothes The load of business device, improves the stability of distributed cache server cluster.
Please refer to Fig. 9.Based on aforementioned data processing system embodiment, this specification embodiment also provides another data and reads Take method.The method for reading data may comprise steps of using the service server as executing subject.
Step S40: data read request is received.
The data read request is corresponding with the first Data Identification.
Step S42: first Data Identification is sent to coordination service device.
Step S44: the first business datum of coordination service device feedback read according to first Data Identification is received.
First business datum may include compact token position.
Step S46: the value in the compact token position is when indicating un-compressed numerical value, to feed back first business Data.
In an embodiment of the present embodiment, first business datum can also include dividing mark position.Institute The value for stating dividing mark position is to indicate that the value of not divided numerical value and the compact token position is to indicate compressed number When value, the service server can feed back first business datum.
In an embodiment of the present embodiment, first business datum can also include dividing mark position.Institute The value for stating dividing mark position is the value of other numerical value and the compact token position in addition to indicating not divided numerical value When to indicate compressed numerical value, the service server can be according to the value and first data of the dividing mark position Mark, generates at least one second Data Identification;At least one described second Data Identification can be sent to coordination service device;It can At least one second business datum that at least one described second Data Identification of basis to receive coordination service device feedback is read; Processing can be merged to first business datum and at least one described second business datum, obtain merging data;It can To feed back the merging data.
In the present embodiment, the service server can receive data read request;It can be sent to coordination service device First Data Identification;It can receive the first business datum of coordination service device feedback read according to first Data Identification, First business datum includes compact token position;It can be to indicate un-compressed numerical value in the value of the compact token position When, feed back first business datum.It can reduce the data volume that data are read from single cache server in this way;To reduce The load of single cache server, improves the stability of distributed cache server cluster.
Please refer to Figure 10.Based on aforementioned data processing system embodiment, this specification embodiment also provides another data Read method.The method for reading data may comprise steps of using the service server as executing subject.
Step S50: data read request is received.
The data read request is corresponding with the first Data Identification.
Step S52: first Data Identification is sent to coordination service device;
Step S54: the first business datum of coordination service device feedback read according to first Data Identification is received.
First business datum includes dividing mark position.
Step S56: the value in the dividing mark position is when indicating not divided numerical value, to feed back first business Data.
In the present embodiment, the service server can receive data read request;It can be sent to coordination service device First Data Identification;It can receive the first business datum of coordination service device feedback read according to first Data Identification, First business datum includes dividing mark position;It can be to indicate not divided numerical value in the value of the dividing mark position When, feed back first business datum.It can reduce the data volume that data are read from single cache server in this way;To reduce The load of single cache server, improves the stability of distributed cache server cluster.
Please refer to Figure 11.Based on aforementioned data processing system embodiment, this specification embodiment also provides another data Read method.The method for reading data may comprise steps of using the service server as executing subject.
Step S60: data read request is received.
The data read request is corresponding with the first Data Identification.
Step S62: first Data Identification is sent to coordination service device;
Step S64: the first business datum of coordination service device feedback read according to first Data Identification is received.
First business datum includes dividing mark position.
Step S66: when the value in the dividing mark position is other numerical value in addition to indicating not divided numerical value, According to the value of the dividing mark position and first Data Identification, at least one second Data Identification is generated.
Step S68: at least one described second Data Identification is sent to coordination service device.
Step S70: at least one described second Data Identification of basis of coordination service device feedback is read at least one is received A second business datum.
Step S72: processing is merged to first business datum and at least one described second business datum, is obtained Merging data.
Step S74: the merging data is fed back.
In the present embodiment, the service server can receive data read request;It can be sent to coordination service device First Data Identification;It can receive the first business datum of coordination service device feedback read according to first Data Identification, First business datum includes dividing mark position;It can be except the not divided number of expression in the value of the dividing mark position When other numerical value other than value, according to the value of the dividing mark position and first Data Identification, generate at least one Two Data Identifications;At least one described second Data Identification can be sent to coordination service device;It is anti-to can receive coordination service device At least one second business datum that at least one described second Data Identification of the basis of feedback is read;It can be to first business Data and at least one described second business datum merge processing, obtain merging data;The merging data can be fed back. It can reduce the data volume that data are read from single cache server in this way;To reduce the load of single cache server, Improve the stability of distributed cache server cluster.
Please refer to Figure 12.Based on the corresponding method for writing data embodiment of Fig. 6, this specification embodiment also provides a kind of number According to writing station.The data transfer apparatus may include with lower unit.
Receiving unit 80, for receiving data write request;The data write request is corresponding with business datum and Data Identification;
Compression unit 82 when being greater than preset value for the data volume in the business datum, carries out the business datum Compression, obtains compressed data;
Transmission unit 84, for sending the compressed data and the Data Identification to coordination service device;In order to described Coordination service device is based on the compressed data and the Data Identification executes write operation.
Please refer to Figure 18.Based on the corresponding method for writing data embodiment of Fig. 6, this specification embodiment also provides a kind of clothes Business device.The server may include memory and processor.
In the present embodiment, the memory can be implemented in any suitable manner.For example, the memory can be Read-only memory, mechanical hard disk, solid state hard disk or USB flash disk etc..The memory can be used for storing computer instruction.
In the present embodiment, the processor can be implemented in any suitable manner.For example, processor can take example Such as microprocessor or processor and storage can by (micro-) processor execute computer readable program code (such as software or Firmware) computer-readable medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable logic controller (PLC) and the form etc. for being embedded in microcontroller.The processor The computer instruction can be executed and perform the steps of reception data write request;The data write request is corresponding with business number According to and Data Identification;When the data volume of the business datum is greater than preset value, the business datum is compressed, is pressed Contracting data;The compressed data and the Data Identification are sent to coordination service device;In order to which the coordination service device is based on institute It states compressed data and the Data Identification executes write operation.
Please refer to Figure 13.Based on the corresponding method for writing data embodiment of Fig. 7, this specification embodiment also provides a kind of number According to writing station.The data transfer apparatus may include with lower unit.
Receiving unit 90, for receiving data write request;The data write request is corresponding with business datum and Data Identification;
Cutting unit 92, when being greater than preset value for the data volume in the business datum, according to the preset value to institute It states business datum and is split processing, obtain multiple subdatas;The data volume of each subdata is less than or equal to the preset value;
Determination unit 94, for determining the corresponding multiple subdata marks of the multiple subdata according to the Data Identification Know;
Transmission unit 96, for sending the multiple subdata and the multiple subdata mark to coordination service device;With The multiple subdata is based on convenient for the coordination service device and the multiple subdata mark executes write operation.
Please refer to Figure 18.Based on the corresponding method for writing data embodiment of Fig. 7, this specification embodiment also provides a kind of clothes Business device.The server may include memory and processor.
In the present embodiment, the memory can be implemented in any suitable manner.For example, the memory can be Read-only memory, mechanical hard disk, solid state hard disk or USB flash disk etc..The memory can be used for storing computer instruction.
In the present embodiment, the processor can be implemented in any suitable manner.For example, processor can take example Such as microprocessor or processor and storage can by (micro-) processor execute computer readable program code (such as software or Firmware) computer-readable medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable logic controller (PLC) and the form etc. for being embedded in microcontroller.The processor The computer instruction can be executed and perform the steps of reception data write request;The data write request is corresponding with business number According to and Data Identification;When the data volume of the business datum is greater than preset value, according to the preset value to the business datum It is split processing, obtains multiple subdatas;The data volume of each subdata is less than or equal to the preset value;According to the number According to mark, the corresponding multiple subdata marks of the multiple subdata are determined;The multiple subdata is sent to coordination service device It is identified with the multiple subdata;In order to which the coordination service device is based on the multiple subdata and the multiple subdata mark Know and executes write operation.
Please refer to Figure 14.Based on the corresponding method for reading data embodiment of Fig. 8, this specification embodiment also provides a kind of number According to reading device.The reading data device may include with lower unit.
First receiving unit 100, for receiving data read requests;The data read request is corresponding with the first data mark Know;
Transmission unit, for sending first Data Identification to coordination service device;
Second receiving unit 102, for receiving the read according to first Data Identification of coordination service device feedback One business datum;First business datum includes compact token position;
Decompression unit 104 is when indicating compressed numerical value, to described for the value in the compact token position One business datum unzips it processing, the business datum after being decompressed;
Feedback unit 106, for feeding back the business datum after decompressing.
Please refer to Figure 18.Based on the corresponding method for reading data embodiment of Fig. 8, this specification embodiment also provides a kind of clothes Business device.The server may include memory and processor.
In the present embodiment, the memory can be implemented in any suitable manner.For example, the memory can be Read-only memory, mechanical hard disk, solid state hard disk or USB flash disk etc..The memory can be used for storing computer instruction.
In the present embodiment, the processor can be implemented in any suitable manner.For example, processor can take example Such as microprocessor or processor and storage can by (micro-) processor execute computer readable program code (such as software or Firmware) computer-readable medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable logic controller (PLC) and the form etc. for being embedded in microcontroller.The processor The computer instruction can be executed and perform the steps of reception data read request;The data read request is corresponding with One Data Identification;First Data Identification is sent to coordination service device;Receive coordination service device feedback according to described first The first business datum that Data Identification is read;First business datum includes compact token position;In the compact token position Value is when indicating compressed numerical value, to unzip it processing to first business datum, the business after being decompressed Data;Business datum after feedback decompression.
Please refer to Figure 15.Based on the corresponding method for reading data embodiment of Fig. 9, this specification embodiment also provides a kind of number According to reading device.The reading data device may include with lower unit.
First receiving unit 110, for receiving data read requests;The data read request is corresponding with the first data mark Know;
Transmission unit 112, for sending first Data Identification to coordination service device;
Second receiving unit 114, for receiving the read according to first Data Identification of coordination service device feedback One business datum;First business datum includes compact token position;
Feedback unit 116 is when indicating un-compressed numerical value, described in feedback for the value in the compact token position First business datum.
Please refer to Figure 18.Based on the corresponding method for reading data embodiment of Fig. 9, this specification embodiment also provides a kind of clothes Business device.The server may include memory and processor.
In the present embodiment, the memory can be implemented in any suitable manner.For example, the memory can be Read-only memory, mechanical hard disk, solid state hard disk or USB flash disk etc..The memory can be used for storing computer instruction.
In the present embodiment, the processor can be implemented in any suitable manner.For example, processor can take example Such as microprocessor or processor and storage can by (micro-) processor execute computer readable program code (such as software or Firmware) computer-readable medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable logic controller (PLC) and the form etc. for being embedded in microcontroller.The processor The computer instruction can be executed and perform the steps of reception data read request;The data read request is corresponding with One Data Identification;First Data Identification is sent to coordination service device;Receive coordination service device feedback according to described first The first business datum that Data Identification is read;First business datum includes compact token position;In the compact token position Value is when indicating un-compressed numerical value, to feed back first business datum.
Please refer to Figure 16.Based on the corresponding method for reading data embodiment of Figure 10, this specification embodiment also provides one kind Reading data device.The reading data device may include with lower unit.
First receiving unit 120, for receiving data read requests;The data read request is corresponding with the first data mark Know;
Transmission unit 122, for sending first Data Identification to coordination service device;
Second receiving unit 124, for receiving the read according to first Data Identification of coordination service device feedback One business datum;First business datum includes dividing mark position;
Feedback unit 126 is when indicating not divided numerical value, described in feedback for the value in the dividing mark position First business datum.
Please refer to Figure 18.Based on the corresponding method for reading data embodiment of Figure 10, this specification embodiment also provides one kind Server.The server may include memory and processor.
In the present embodiment, the memory can be implemented in any suitable manner.For example, the memory can be Read-only memory, mechanical hard disk, solid state hard disk or USB flash disk etc..The memory can be used for storing computer instruction.
In the present embodiment, the processor can be implemented in any suitable manner.For example, processor can take example Such as microprocessor or processor and storage can by (micro-) processor execute computer readable program code (such as software or Firmware) computer-readable medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable logic controller (PLC) and the form etc. for being embedded in microcontroller.The processor The computer instruction can be executed and perform the steps of reception data read request;The data read request is corresponding with One Data Identification;First Data Identification is sent to coordination service device;Receive coordination service device feedback according to described first The first business datum that Data Identification is read;First business datum includes dividing mark position;In the dividing mark position Value is when indicating not divided numerical value, to feed back first business datum.
Please refer to Figure 17.Based on the corresponding method for reading data embodiment of Figure 11, this specification embodiment also provides one kind Reading data device.The reading data device may include with lower unit.
First receiving unit 130, for receiving data read requests;The data read request is corresponding with the first data mark Know;
First transmission unit 132, for sending first Data Identification to coordination service device;
Second receiving unit 134, for receiving the read according to first Data Identification of coordination service device feedback One business datum;First business datum includes dividing mark position;
Generation unit 136 is its in addition to indicating not divided numerical value for the value in the dividing mark position When its numerical value, according to the value of the dividing mark position and first Data Identification, at least one second Data Identification is generated;
Second transmission unit 138, for sending at least one described second Data Identification to coordination service device;
Third receiving unit 140, at least one described second Data Identification of basis for receiving coordination service device feedback At least one second business datum read;
Combining unit 142, for being merged to first business datum and at least one described second business datum Processing, obtains merging data;
Feedback unit 144, for feeding back the merging data.
Please refer to Figure 18.Based on the corresponding method for reading data embodiment of Figure 11, this specification embodiment also provides one kind Server.The server may include memory and processor.
In the present embodiment, the memory can be implemented in any suitable manner.For example, the memory can be Read-only memory, mechanical hard disk, solid state hard disk or USB flash disk etc..The memory can be used for storing computer instruction.
In the present embodiment, the processor can be implemented in any suitable manner.For example, processor can take example Such as microprocessor or processor and storage can by (micro-) processor execute computer readable program code (such as software or Firmware) computer-readable medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable logic controller (PLC) and the form etc. for being embedded in microcontroller.The processor The computer instruction can be executed and perform the steps of reception data read request;The data read request is corresponding with One Data Identification;First Data Identification is sent to coordination service device;Receive coordination service device feedback according to described first The first business datum that Data Identification is read;First business datum includes dividing mark position;In the dividing mark position When value is other numerical value in addition to indicating not divided numerical value, according to the value of the dividing mark position and described first Data Identification generates at least one second Data Identification;At least one described second Data Identification is sent to coordination service device;It connects Receive at least one second business datum that at least one described second Data Identification of basis of coordination service device feedback is read;To institute It states the first business datum and at least one described second business datum merges processing, obtain merging data;Feed back the conjunction And data.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment it Between the same or similar part may refer to each other, the highlights of each of the examples are it is different from other embodiments it Place.Especially for method for writing data, data transfer apparatus, method for reading data, reading data device and server implementation For example, since it is substantially similar to data processing system embodiment, so being described relatively simple, related place is referring to data The part of processing system embodiment illustrates.
Those skilled in the art may not need creative work and expect this specification after reading this specification file It some or all of enumerates embodiment and carries out any combination, these combinations are also in the range of this disclosure and protection.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example, Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit. Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device (Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker Dedicated IC chip 2.Moreover, nowadays, substitution manually makes IC chip, and this programming is also used instead mostly " logic compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development Seemingly, and the source code before compiling also handy specific programming language is write, this is referred to as hardware description language (Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL (Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL (Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present Integrated Circuit Hardware Description Language) and Verilog2.Those skilled in the art It will be apparent to the skilled artisan that only needing method flow slightly programming in logic and being programmed into integrated circuit with above-mentioned several hardware description languages In, so that it may it is readily available the hardware circuit for realizing the logical method process.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment The combination of equipment.
As seen through the above description of the embodiments, those skilled in the art can be understood that this specification It can realize by means of software and necessary general hardware platform.Based on this understanding, the technical solution of this specification Substantially the part that contributes to existing technology can be embodied in the form of software products in other words, the computer software Product can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes each embodiment of this specification or embodiment Certain parts described in method.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.
This specification can be used in numerous general or special purpose computing system environments or configuration.Such as: personal computer, Server computer, handheld device or portable device, laptop device, multicomputer system, microprocessor-based system, Set top box, programmable consumer-elcetronics devices, network PC, minicomputer, mainframe computer including any of the above system are set Standby distributed computing environment etc..
This specification can describe in the general context of computer-executable instructions executed by a computer, such as journey Sequence module.Generally, program module include routines performing specific tasks or implementing specific abstract data types, programs, objects, Component, data structure etc..This specification can also be practiced in a distributed computing environment, in these distributed computing environment In, by executing task by the connected remote processing devices of communication network.In a distributed computing environment, program module It can be located in the local and remote computer storage media including storage equipment.
Although depicting this specification by embodiment, it will be appreciated by the skilled addressee that there are many become for this specification Shape and the spirit changed without departing from this specification, it is desirable to which the attached claims include these deformations and change without departing from this The spirit of specification.

Claims (37)

1. a kind of method for writing data, comprising:
Receive data write request;The data write request is corresponding with business datum and Data Identification;
When the data volume of the business datum is greater than preset value, compression processing is carried out to the business datum, obtains compression number According to;
The compressed data and the Data Identification are sent to coordination service device;In order to which the coordination service device is based on the pressure Contracting data and the Data Identification execute write operation.
2. the method as described in claim 1, before sending the compressed data and the Data Identification to coordination service device, The method also includes:
Compact token position is added in the compressed data;
It is set as the value of the compact token position to indicate compressed numerical value.
3. the method as described in claim 1, before sending the compressed data and the Data Identification to coordination service device, The method also includes:
Dividing mark position is added in the compressed data;
The value of the dividing mark position is set to indicate not divided numerical value.
4. the method as described in claim 1, described to send the compressed data and the Data Identification, packet to coordination service device It includes:
When the data volume of the compressed data is less than or equal to preset value, the compressed data and institute are sent to coordination service device State Data Identification.
5. the method as described in claim 1, before sending the compressed data and the Data Identification to coordination service device, The method also includes:
When the data volume of the compressed data is greater than preset value, place is split to the compressed data according to the preset value Reason, obtains multiple subdatas;The data volume of each subdata is less than or equal to the preset value;
According to the Data Identification, the corresponding multiple subdata marks of the multiple subdata are determined;
The multiple subdata and the multiple subdata mark are sent to coordination service device;In order to the coordination service device base Write operation is executed in the multiple subdata and the multiple subdata mark.
6. method as claimed in claim 5, the multiple subdata has sequencing;Described in being sent to coordination service device Before multiple subdatas and the multiple subdata mark, the method also includes:
Compact token position is added in first subdata;
It is set as the value of the compact token position to indicate compressed numerical value.
7. method as claimed in claim 5, the multiple subdata has sequencing;Described in being sent to coordination service device Before multiple subdatas and the multiple subdata mark, the method also includes:
Dividing mark position is added in first subdata;
According to the quantity of the multiple subdata, the value of the dividing mark position is set.
8. the method as described in claim 1, the method also includes:
When the data volume of the business datum is less than or equal to preset value, the business datum and institute are sent to coordination service device State Data Identification;In order to which the coordination service device is based on the business datum and Data Identification execution write operation.
9. method according to claim 8, before sending the business datum and the Data Identification to coordination service device, The method also includes:
Compact token position is added in the business datum;
It is set as the value of the compact token position to indicate un-compressed numerical value.
10. method according to claim 8, to coordination service device send the business datum and the Data Identification it Before, the method also includes:
Dividing mark position is added in the business datum;
The value of the dividing mark position is set to indicate not divided numerical value.
11. a kind of data transfer apparatus, comprising:
Receiving unit, for receiving data write request;The data write request is corresponding with business datum and Data Identification;
Compression unit compresses the business datum, obtains when being greater than preset value for the data volume in the business datum To compressed data;
Transmission unit, for sending the compressed data and the Data Identification to coordination service device;In order to coordination clothes Device be engaged in based on the compressed data and Data Identification execution write operation.
12. a kind of server, comprising:
Memory, for storing computer instruction;
Processor performs the steps of reception data write request for executing the computer instruction;The data write request pair Should there are business datum and Data Identification;When the data volume of the business datum is greater than preset value, the business datum is carried out Compression, obtains compressed data;The compressed data and the Data Identification are sent to coordination service device;In order to coordination clothes Device be engaged in based on the compressed data and Data Identification execution write operation.
13. a kind of method for writing data, comprising:
Receive data write request;The data write request is corresponding with business datum and Data Identification;
When the data volume of the business datum is greater than preset value, place is split to the business datum according to the preset value Reason, obtains multiple subdatas;The data volume of each subdata is less than or equal to the preset value;
According to the Data Identification, the corresponding multiple subdata marks of the multiple subdata are determined;
The multiple subdata and the multiple subdata mark are sent to coordination service device;In order to the coordination service device base Write operation is executed in the multiple subdata and the multiple subdata mark.
14. method as claimed in claim 13, the multiple subdata has sequencing;Correspondingly, to coordination service Before device sends the multiple subdata and the multiple subdata mark, the method also includes:
Compact token position is added in first subdata;
It is set as the value of the compact token position to indicate un-compressed numerical value.
15. method as claimed in claim 13, the multiple subdata has sequencing;Correspondingly, to coordination service Before device sends the multiple subdata and the multiple subdata mark, the method also includes:
Dividing mark position is added in first subdata;
According to the quantity of the subdata, the value of the dividing mark position is set.
16. method as claimed in claim 13, the method also includes:
When the data volume of the business datum is less than or equal to preset value, the business datum and institute are sent to coordination service device State Data Identification;In order to which the coordination service device is based on the business datum and Data Identification execution write operation.
17. the method described in claim 16, to coordination service device send the business datum and the Data Identification it Before, the method also includes:
Compact token position is added in the business datum;
It is set as the value of the compact token position to indicate un-compressed numerical value.
18. the method described in claim 16, to coordination service device send the business datum and the Data Identification it Before, the method also includes:
Dividing mark position is added in the business datum;
The value of the dividing mark position is set to indicate not divided numerical value.
19. a kind of data transfer apparatus, comprising:
Receiving unit, for receiving data write request;The data write request is corresponding with business datum and Data Identification;
Cutting unit, when being greater than preset value for the data volume in the business datum, according to the preset value to the business Data are split processing, obtain multiple subdatas;The data volume of each subdata is less than or equal to the preset value;
Determination unit, for determining the corresponding multiple subdata marks of the multiple subdata according to the Data Identification;
Transmission unit, for sending the multiple subdata and the multiple subdata mark to coordination service device;In order to institute It states coordination service device and is based on the multiple subdata and the multiple subdata mark execution write operation.
20. a kind of server, comprising:
Memory, for storing computer instruction;
Processor performs the steps of reception data write request for executing the computer instruction;The data write request pair Should there are business datum and Data Identification;When the data volume of the business datum is greater than preset value, according to the preset value to institute It states business datum and is split processing, obtain multiple subdatas;The data volume of each subdata is less than or equal to the preset value; According to the Data Identification, the corresponding multiple subdata marks of the multiple subdata are determined;To described in the transmission of coordination service device Multiple subdatas and the multiple subdata mark;In order to which the coordination service device is based on the multiple subdata and described more A sub- Data Identification executes write operation.
21. a kind of method for reading data, comprising:
Receive data read request;The data read request is corresponding with the first Data Identification;
First Data Identification is sent to coordination service device;
Receive the first business datum of coordination service device feedback read according to first Data Identification;The first business number According to including compact token position;
Value in the compact token position is when indicating compressed numerical value, to unzip it place to first business datum Reason, the business datum after being decompressed;
Business datum after feedback decompression.
22. method as claimed in claim 21, the method also includes:
Value in the compact token position is when indicating un-compressed numerical value, to feed back first business datum.
23. method as claimed in claim 21, first business datum further includes dividing mark position;Correspondingly, described right First business datum unzips it processing, comprising:
Value in the dividing mark position is when indicating not divided numerical value, to unzip it to first business datum Processing, the business datum after being decompressed.
24. method as claimed in claim 21, first business datum further includes dividing mark position;To first industry Before business data unzip it processing, the method also includes:
When value in the dividing mark position is other numerical value in addition to indicating not divided numerical value, according to the segmentation The value of marker bit and first Data Identification, generate at least one second Data Identification;
At least one described second Data Identification is sent to coordination service device;
Receive at least one second business number that at least one described second Data Identification of basis of coordination service device feedback is read According to;
Processing is merged to first business datum and at least one described second business datum, obtains merging data;
Correspondingly, described that processing is unziped it to first business datum, the business datum after being decompressed, comprising:
Processing is unziped it to the merging data, the business datum after being decompressed.
25. a kind of reading data device, comprising:
First receiving unit, for receiving data read requests;The data read request is corresponding with the first Data Identification;
Transmission unit, for sending first Data Identification to coordination service device;
Second receiving unit, for receiving the first business number of coordination service device feedback read according to first Data Identification According to;First business datum includes compact token position;
Decompression unit is when indicating compressed numerical value, to first business for the value in the compact token position Data unzip it processing, the business datum after being decompressed;
Feedback unit, for feeding back the business datum after decompressing.
26. a kind of server, comprising:
Memory, for storing computer instruction;
Processor performs the steps of reception data read request for executing the computer instruction;The reading data is asked It asks and is corresponding with the first Data Identification;First Data Identification is sent to coordination service device;Receive the root of coordination service device feedback The first business datum read according to first Data Identification;First business datum includes compact token position;In the pressure The value of contracting marker bit is when indicating compressed numerical value, to unzip it processing to first business datum, decompressed Business datum after contracting;Business datum after feedback decompression.
27. a kind of method for reading data, comprising:
Receive data read request;The data read request is corresponding with the first Data Identification;
First Data Identification is sent to coordination service device;
Receive the first business datum of coordination service device feedback read according to first Data Identification;The first business number According to including compact token position;
Value in the compact token position is when indicating un-compressed numerical value, to feed back first business datum.
28. method as claimed in claim 27, first business datum further includes dividing mark position;Correspondingly, described anti- Present first business datum, comprising:
Value in the dividing mark position is when indicating not divided numerical value, to feed back first business datum.
29. method as claimed in claim 27, first business datum further includes dividing mark position;Correspondingly, it is feeding back Before first business datum, the method also includes:
When value in the dividing mark position is other numerical value in addition to indicating not divided numerical value, according to the segmentation The value of marker bit and first Data Identification, generate at least one second Data Identification;
At least one described second Data Identification is sent to coordination service device;
Receive at least one second business number that at least one described second Data Identification of basis of coordination service device feedback is read According to;
Processing is merged to first business datum and at least one described second business datum, obtains merging data;
Correspondingly, feedback first business datum, comprising:
Feed back the merging data.
30. a kind of reading data device, comprising:
First receiving unit, for receiving data read requests;The data read request is corresponding with the first Data Identification;
Transmission unit, for sending first Data Identification to coordination service device;
Second receiving unit, for receiving the first business number of coordination service device feedback read according to first Data Identification According to;First business datum includes compact token position;
Feedback unit is when indicating un-compressed numerical value, to feed back first industry for the value in the compact token position Business data.
31. a kind of server, comprising:
Memory, for storing computer instruction;
Processor performs the steps of reception data read request for executing the computer instruction;The reading data is asked It asks and is corresponding with the first Data Identification;First Data Identification is sent to coordination service device;Receive the root of coordination service device feedback The first business datum read according to first Data Identification;First business datum includes compact token position;In the pressure The value of contracting marker bit is when indicating un-compressed numerical value, to feed back first business datum.
32. a kind of method for reading data, comprising:
Receive data read request;The data read request is corresponding with the first Data Identification;
First Data Identification is sent to coordination service device;
Receive the first business datum of coordination service device feedback read according to first Data Identification;The first business number According to including dividing mark position;
Value in the dividing mark position is when indicating not divided numerical value, to feed back first business datum.
33. a kind of reading data device, comprising:
First receiving unit, for receiving data read requests;The data read request is corresponding with the first Data Identification;
Transmission unit, for sending first Data Identification to coordination service device;
Second receiving unit, for receiving the first business number of coordination service device feedback read according to first Data Identification According to;First business datum includes dividing mark position;
Feedback unit is when indicating not divided numerical value, to feed back first industry for the value in the dividing mark position Business data.
34. a kind of server, comprising:
Memory, for storing computer instruction;
Processor performs the steps of reception data read request for executing the computer instruction;The reading data is asked It asks and is corresponding with the first Data Identification;First Data Identification is sent to coordination service device;Receive the root of coordination service device feedback The first business datum read according to first Data Identification;First business datum includes dividing mark position;At described point When cutting the value of marker bit to indicate not divided numerical value, first business datum is fed back.
35. a kind of method for reading data, comprising:
Receive data read request;The data read request is corresponding with the first Data Identification;
First Data Identification is sent to coordination service device;
Receive the first business datum of coordination service device feedback read according to first Data Identification;The first business number According to including dividing mark position;
When value in the dividing mark position is other numerical value in addition to indicating not divided numerical value, according to the segmentation The value of marker bit and first Data Identification, generate at least one second Data Identification;
At least one described second Data Identification is sent to coordination service device;
Receive at least one second business number that at least one described second Data Identification of basis of coordination service device feedback is read According to;
Processing is merged to first business datum and at least one described second business datum, obtains merging data;
Feed back the merging data.
36. a kind of reading data device, comprising:
First receiving unit, for receiving data read requests;The data read request is corresponding with the first Data Identification;
First transmission unit, for sending first Data Identification to coordination service device;
Second receiving unit, for receiving the first business number of coordination service device feedback read according to first Data Identification According to;First business datum includes dividing mark position;
Generation unit is other numerical value in addition to indicating not divided numerical value for the value in the dividing mark position When, according to the value of the dividing mark position and first Data Identification, generate at least one second Data Identification;
Second transmission unit, for sending at least one described second Data Identification to coordination service device;
Third receiving unit, at least one described second Data Identification of basis for receiving coordination service device feedback are read extremely Few second business datum;
Combining unit is obtained for merging processing to first business datum and at least one described second business datum To merging data;
Feedback unit, for feeding back the merging data.
37. a kind of server, comprising:
Memory, for storing computer instruction;
Processor performs the steps of reception data read request for executing the computer instruction;The reading data is asked It asks and is corresponding with the first Data Identification;First Data Identification is sent to coordination service device;Receive the root of coordination service device feedback The first business datum read according to first Data Identification;First business datum includes dividing mark position;At described point When the value for cutting marker bit is other numerical value in addition to indicating not divided numerical value, according to the value of the dividing mark position With first Data Identification, at least one second Data Identification is generated;To coordination service device send it is described at least one second Data Identification;Receive at least one second industry that at least one described second Data Identification of basis of coordination service device feedback is read Business data;Processing is merged to first business datum and at least one described second business datum, obtains merging data; Feed back the merging data.
CN201811011369.7A 2018-08-31 2018-08-31 Data writing method, data reading device and server Active CN109302449B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811011369.7A CN109302449B (en) 2018-08-31 2018-08-31 Data writing method, data reading device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811011369.7A CN109302449B (en) 2018-08-31 2018-08-31 Data writing method, data reading device and server

Publications (2)

Publication Number Publication Date
CN109302449A true CN109302449A (en) 2019-02-01
CN109302449B CN109302449B (en) 2022-03-15

Family

ID=65165853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811011369.7A Active CN109302449B (en) 2018-08-31 2018-08-31 Data writing method, data reading device and server

Country Status (1)

Country Link
CN (1) CN109302449B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112311902A (en) * 2020-12-23 2021-02-02 深圳市蓝凌软件股份有限公司 File sending method and device based on micro-service
CN112311686A (en) * 2020-09-27 2021-02-02 长沙市到家悠享网络科技有限公司 Data processing method and device, electronic equipment and storage medium
CN112905127A (en) * 2021-03-25 2021-06-04 北京金风慧能技术有限公司 Data processing method and data processing system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020205A (en) * 2012-12-05 2013-04-03 北京普泽天玑数据技术有限公司 Compression and decompression method based on hardware accelerator card on distributive-type file system
CN103188247A (en) * 2011-12-31 2013-07-03 深圳市金蝶友商电子商务服务有限公司 Method and system of data transmission
CN103744627A (en) * 2014-01-26 2014-04-23 武汉英泰斯特电子技术有限公司 Method and system for compressing and storing data collected in real time
CN105187491A (en) * 2015-08-06 2015-12-23 上海斐讯数据通信技术有限公司 Method, system and server thereof for uploading pictures
WO2016095149A1 (en) * 2014-12-18 2016-06-23 华为技术有限公司 Data compression and storage method and device, and distributed file system
CN105723320A (en) * 2016-02-01 2016-06-29 华为技术有限公司 Data arrangement method, storage apparatus, storage controller and storage array
CN107589910A (en) * 2017-09-01 2018-01-16 厦门集微科技有限公司 The method and system of the high in the clouds data management of user's custom strategies

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188247A (en) * 2011-12-31 2013-07-03 深圳市金蝶友商电子商务服务有限公司 Method and system of data transmission
CN103020205A (en) * 2012-12-05 2013-04-03 北京普泽天玑数据技术有限公司 Compression and decompression method based on hardware accelerator card on distributive-type file system
CN103744627A (en) * 2014-01-26 2014-04-23 武汉英泰斯特电子技术有限公司 Method and system for compressing and storing data collected in real time
WO2016095149A1 (en) * 2014-12-18 2016-06-23 华为技术有限公司 Data compression and storage method and device, and distributed file system
CN105187491A (en) * 2015-08-06 2015-12-23 上海斐讯数据通信技术有限公司 Method, system and server thereof for uploading pictures
CN105723320A (en) * 2016-02-01 2016-06-29 华为技术有限公司 Data arrangement method, storage apparatus, storage controller and storage array
CN107589910A (en) * 2017-09-01 2018-01-16 厦门集微科技有限公司 The method and system of the high in the clouds data management of user's custom strategies

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112311686A (en) * 2020-09-27 2021-02-02 长沙市到家悠享网络科技有限公司 Data processing method and device, electronic equipment and storage medium
CN112311686B (en) * 2020-09-27 2022-09-30 长沙市到家悠享网络科技有限公司 Data processing method and device, electronic equipment and storage medium
CN112311902A (en) * 2020-12-23 2021-02-02 深圳市蓝凌软件股份有限公司 File sending method and device based on micro-service
CN112311902B (en) * 2020-12-23 2021-05-07 深圳市蓝凌软件股份有限公司 File sending method and device based on micro-service
CN112905127A (en) * 2021-03-25 2021-06-04 北京金风慧能技术有限公司 Data processing method and data processing system

Also Published As

Publication number Publication date
CN109302449B (en) 2022-03-15

Similar Documents

Publication Publication Date Title
CN111247518B (en) Method and system for database sharding
US10116325B2 (en) Data compression/decompression device
KR102069940B1 (en) Page-based compressed storage management
CN106610790B (en) Method and device for deleting repeated data
US20080062775A1 (en) Fusion memory device and method
CN109302449A (en) Method for writing data, method for reading data, device and server
US10771358B2 (en) Data acquisition device, data acquisition method and storage medium
WO2014188528A1 (en) Memory device, computer system, and memory device control method
CN105138376A (en) Mixed model application, webpage resource upgrading method thereof, mobile terminal and system
CN106874348A (en) File is stored and the method for indexing means, device and reading file
CN108984103B (en) Method and apparatus for deduplication
CN104881466A (en) Method and device for processing data fragments and deleting garbage files
CN108848244A (en) A kind of method and device of Pagination Display
JP2012074026A (en) Data compression and decompression using relative and absolute delta values
CN111177476A (en) Data query method and device, electronic equipment and readable storage medium
KR20190052366A (en) Controller and operation method thereof
CN111611250A (en) Data storage device, data query method, data query device, server and storage medium
CN108459913A (en) data parallel processing method, device and server
CN110222046B (en) List data processing method, device, server and storage medium
CN107784073B (en) Data query method for local cache, storage medium and server
CN104123102B (en) A kind of IP hard disks and its data processing method
CN115380267A (en) Data compression method and device, data compression equipment and readable storage medium
CN115495020A (en) File processing method and device, electronic equipment and readable storage medium
CN108920300A (en) A kind of data manipulation method and relevant apparatus
CN113805864A (en) Project engineering generation method and device, electronic equipment and storage medium

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
TA01 Transfer of patent application right

Effective date of registration: 20201009

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201009

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: Greater Cayman, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant