CN107305564B - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN107305564B
CN107305564B CN201610251698.3A CN201610251698A CN107305564B CN 107305564 B CN107305564 B CN 107305564B CN 201610251698 A CN201610251698 A CN 201610251698A CN 107305564 B CN107305564 B CN 107305564B
Authority
CN
China
Prior art keywords
data storage
data
user
subspace
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610251698.3A
Other languages
Chinese (zh)
Other versions
CN107305564A (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.)
Alibaba Group Holding 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 CN201610251698.3A priority Critical patent/CN107305564B/en
Publication of CN107305564A publication Critical patent/CN107305564A/en
Application granted granted Critical
Publication of CN107305564B publication Critical patent/CN107305564B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/1727Details of free space management performed by the file system

Abstract

The application relates to the technical field of computers, in particular to a data processing method and data processing equipment, which are used for solving the problems that in the prior art, when an object with multiple functions is developed, a new data storage space needs to be reapplied for the object, and the process of processing data in the data storage space is complex. After receiving the object operation message, the data storage system of the embodiment of the application determines an object corresponding to the object operation message; the data storage system determines a data storage subspace corresponding to the object from the data storage space; and the data storage system processes the user data corresponding to the object operation message according to the determined data storage subspace. According to the embodiment of the application, when the data is processed through the data storage system, a new data storage space does not need to be applied to the server again, and a corresponding supporting program does not need to be developed, so that the process of processing the data in the data storage space is simplified.

Description

Data processing method and device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for data processing.
Background
With the rapid development of science and technology, computers have been widely used in various fields, and in order to enrich people's lives, objects having various functions need to be continuously developed.
Objects with multiple functions developed by computer programs include objects with a longer operation period and objects with a shorter operation period. In general, for an object with a short operation period, the object is offline after being operated for a period of time. However, in the prior art, for such objects with short operation periods, development according to a normal flow is also required. When developing an object with a short operation cycle, a new data storage space also needs to be applied to the server, and when processing data in the applied data storage space, a corresponding corollary program needs to be developed to support the processing of the data.
In summary, when an object with multiple functions is developed, a new data storage space needs to be reapplied for the object, and the process of processing the data in the data storage space is complex.
Disclosure of Invention
The application provides a data processing method, which is used for solving the problem that in the prior art, when an object with multiple functions is developed, a new data storage space needs to be reapplied for the object, and the process of processing the data in the data storage space is complex.
Based on the above problem, the data processing method in the embodiment of the application includes:
after receiving an object operation message, a data storage system determines an object corresponding to the object operation message;
the data storage system determines a data storage subspace corresponding to the object from a data storage space;
and the data storage system processes the user data corresponding to the object operation message according to the determined data storage subspace.
Since the data storage space of the data storage system of the embodiment of the application includes a plurality of data storage subspaces, when an object with multiple functions is developed, the data storage subspaces are allocated to the object. After receiving the object operation message, determining a data storage subspace corresponding to the object operation message, and operating the user data in the data storage subspace according to the object operation message. When developing the object with multiple functions, the new data storage space does not need to be applied to the server again, thereby simplifying the process of developing the object, shortening the period of developing the object with multiple functions and reducing the waste of server resources; and when the data of the user of the data storage subspace corresponding to the object is processed, the data is directly processed through the corollary program of the data storage system without re-developing the corresponding corollary program, so that the process of processing the data of the data storage space is simplified.
Optionally, the processing, by the data storage system, the user data corresponding to the object operation message according to the determined data storage subspace includes:
the data storage system determines a processing mode corresponding to the interface receiving the object operation message according to the corresponding relation between the interface and the processing mode;
and the data storage system processes the user data corresponding to the object operation message according to the determined data storage subspace and the processing mode.
Each interface of the data storage system of the embodiment of the application corresponds to a processing mode, and the processing mode of the data requested by the object operation message is determined according to the interface for sending the object operation message. The embodiment of the application provides various interfaces to meet different processing modes of data, so that the developed object with various functions is more flexible in use.
Optionally, the processing manner includes part or all of the following manners:
processing the data corresponding to the user in the determined data storage subspace;
and storing the data corresponding to the user into the determined data storage subspace.
Due to the fact that multiple data processing modes are provided, multiple object operation requests can be met, and the object with multiple functions obtained through development is more flexible in use.
Optionally, the manner of processing the data corresponding to the user in the determined data storage subspace includes part or all of the following manners:
modifying the data corresponding to the user in the determined data storage subspace;
reading the data corresponding to the user in the determined data storage subspace;
and querying the data corresponding to the user in the determined data storage subspace.
According to the method and the device, the data corresponding to the user in the data storage subspace can be read, modified, inquired and the like, so that various object operation requests are met, and the developed object with various functions is more flexible in use.
Optionally, the determining, by the data storage system, a data storage subspace corresponding to the object from a data storage space includes:
and determining a data storage subspace corresponding to the object identifier in the object operation message according to the corresponding relation.
When the data storage system of the embodiment of the application allocates the data storage subspace for the object, the data storage subspace corresponding to the object is marked through the object identifier corresponding to the object; and the object operation message also comprises the object identifier of the object, so that after the object operation message is received, the data storage subspace corresponding to the object can be determined according to the object identifier in the object operation message, and the accuracy of data operation is ensured.
On the other hand, an embodiment of the present application further provides a data processing apparatus, including:
the determining module is used for determining an object corresponding to the object operation message after receiving the object operation message;
the selection module is used for determining a data storage subspace corresponding to the object from a data storage space;
and the processing module is used for processing the user data corresponding to the object operation message according to the determined data storage subspace.
Optionally, the processing module is specifically configured to:
the data storage system determines a processing mode corresponding to the interface receiving the object operation message according to the corresponding relation between the interface and the processing mode;
and the data storage system processes the user data corresponding to the object operation message according to the determined data storage subspace and the processing mode.
Optionally, the processing manner includes part or all of the following manners:
processing the data corresponding to the user in the determined data storage subspace;
and storing the data corresponding to the user into the determined data storage subspace.
Optionally, the manner of processing the data corresponding to the user in the determined data storage subspace includes part or all of the following manners:
modifying the data corresponding to the user in the determined data storage subspace;
reading the data corresponding to the user in the determined data storage subspace;
and querying the data corresponding to the user in the determined data storage subspace.
Optionally, the selecting module is specifically configured to:
and determining a data storage subspace corresponding to the object identifier in the object operation message according to the corresponding relation.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1A is a schematic diagram of a data storage space structure corresponding to a data storage system according to an embodiment of the present application;
fig. 1B is a schematic structural diagram of a data storage space and an operation interface corresponding to the data storage system according to the embodiment of the present application;
FIG. 2 is a flow chart of a method for data processing according to an embodiment of the present application;
FIG. 3 is a flowchart of an embodiment of a method for data processing;
fig. 4 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application.
Detailed Description
After receiving an object operation message, the data storage system of the embodiment of the application determines an object corresponding to the object operation message; the data storage system determines a data storage subspace corresponding to the object from a data storage space; and the data storage system processes the user data corresponding to the object operation message according to the determined data storage subspace.
Since the data storage space of the data storage system of the embodiment of the application includes a plurality of data storage subspaces, when an object with multiple functions is developed, the data storage subspaces are allocated to the object. After receiving the object operation message, determining a data storage subspace corresponding to the object operation message, and operating the user data in the data storage subspace according to the object operation message. When developing the object with multiple functions, the new data storage space does not need to be applied to the server again, thereby simplifying the process of developing the object, shortening the period of developing the object with multiple functions and reducing the waste of server resources; and when the data of the user of the data storage subspace corresponding to the object is processed, the data is directly processed through the corollary program of the data storage system without re-developing the corresponding corollary program, so that the process of processing the data of the data storage space is simplified.
The object of the embodiment of the application can be a service meeting the operation requirement. Specifically, the service meeting the operation requirement can be developed on a website to meet the service meeting the specific operation requirement; the service may be a service with a long operation period, or may be a low-demand service with a short operation period.
The data storage space of the data storage system in the embodiment of the application can be divided into a plurality of data storage subspaces, and after the data storage system receives the object application use request, the data storage subspaces are allocated to the data storage space from the data storage space according to the type of the object, and the object identification of the object is bound with the data storage subspaces.
For example, as shown in fig. 1A, a schematic structural diagram of a data storage space corresponding to the data storage system according to the embodiment of the present application is shown. The data storage space comprises four data storage subspaces, wherein an area 1 is a data storage subspace corresponding to an object A, an area 2 is a data storage subspace corresponding to an object B, an area 3 is a data storage subspace corresponding to an object C, and an area 4 is a data storage subspace corresponding to an object D.
The data storage system of the embodiment of the application provides a plurality of operation interfaces for the object, and a user corresponding to the object can perform operation processing on data in the data storage subspace corresponding to the object through the operation interfaces or write data in the data storage subspace corresponding to the object through the operation interfaces.
For example, the data storage space corresponding to the data storage system shown in fig. 1B includes five operation interfaces, which are an operation interface one, an operation interface two, an operation interface three, an operation interface four, and an operation interface five, respectively. And, different data operations can be performed through different operation interfaces.
The operation interface of the embodiment of the present application includes, but is not limited to, the following operation interfaces:
the data processing system comprises a data saving operation interface, a data modification operation interface, a data reading operation interface, a data selection query operation interface and a data grouping query operation interface.
The following describes the five operation interfaces.
1. And saving the data operation interface.
The function of the data saving operation interface is as follows: and writing the user data of the user using the object into the data storage subspace corresponding to the object through the saving data operation interface.
The interface type of the data saving operation interface is GET.
For example, the interface address of the save data operation interface may be
http://osap.1688.com/home/data/setField.jsonp。
For example, object H is a business of a questionnaire developed on the 1688 website, which surveys user satisfaction with a certain activity by means of user voting, assuming that the selectable items are: a-satisfactory and B-unsatisfactory. The data storage subspace of the object H in the data storage space of the data storage system is the region 1, for example, if the user M selects a-satisfied state through the network interface of the object H, the user data of the user M is written into the region 1 through the data storage operation interface of the data storage system.
2. And modifying the data operation interface.
The data operation interface is modified to have the following functions: and modifying the user data in the data storage subspace corresponding to the object by modifying the data operation interface.
Specifically, the modified data operation interface is used for increasing or decreasing the data in the data storage subspace through the operation interface.
And modifying the interface type of the data operation interface to GET.
It should be noted that only numeric data can be manipulated by modifying the data manipulation interface.
For example, the interface address of the modified data manipulation interface may be:
http://osap.1688.com/home/data/addField.jsonp。
for example, object I develops a praise service for a set of activities on the 1688 website, and the user can praise the activities through the web interface of object I. And if the user A agrees for the activity through the network interface of the object I, adding 1 to the number of the agreement recorded in the area 1 through a modified data operation interface of the data storage system. Assuming that the number of praise collected before user a points to praise is 98, the number of praise corresponding to object I becomes 99 after the data of user a is transmitted.
3. And a read data operation interface.
The read data operation interface has the functions of: and reading the user data in the data storage subspace corresponding to the object through the read data operation interface.
The interface type of the read data operation interface is GET.
For example, the interface address of the read data operation interface may be:
http://osap.1688.com/home/data/getField.jsonp。
when data needs to be read, the data reading operation interface sends an object operation request to the data storage system, and the specifically read data may be user data of a user sending the object operation request, or user data of other users requested to be read by the user sending the object operation request.
For example, object H is a business that develops a questionnaire on the 1688 website, which surveys users' satisfaction with a certain activity by way of user voting, assuming that the alternatives are: a-satisfactory and B-unsatisfactory. The data storage subspace of the object H corresponding to the data storage space of the data storage system is an area 1, and it is assumed that the user M selects a through the network interface of the object H. If a technician N who initiates the questionnaire survey service wants to know the selection of the user M, an object request message is sent through a read data operation interface of the data storage system to request to read the data of the user M, and the data of the user M which the technician N needs to read is determined to be the data in the area 1 according to the object request message, and then the data of the user M is read from the area 1.
4. And selecting a query data operation interface.
The function of selecting the query data operation interface is as follows: through the query data operation interface, data meeting certain conditions can be queried.
And selecting the type of the interface of the query data operation interface as GET.
For example, the interface address of the interface for selecting the query data operation may be:
http://osap.1688.com/home/data/select.jsonp。
for example, the object X is to develop a business of collecting safflowers by a seller on the 1688 website, and for a buyer meeting certain conditions, the system allocates a plurality of safflowers to the buyer, and the buyer can send the safflowers to the seller according to own will, and finally, the seller is rated according to the quantity of the safflowers collected by the seller. The corresponding data storage subspace of the object X in the data storage space of the data storage system is an area 1. Suppose that the vendors who collect saffrons have: seller A, seller B, seller C, seller D, seller E, seller F, seller G, seller H, seller I, seller J and seller K. The number of the safflowers of the seller A is 15, the number of the safflowers of the seller B is 12, the number of the safflowers of the seller C is 9, the number of the safflowers of the seller D is 10, the number of the safflowers of the seller E is 16, the number of the safflowers of the seller F is 8, the number of the safflowers of the seller G is 7, the number of the safflowers of the seller H is 5, the number of the safflowers of the seller I is 11, the number of the safflowers of the seller J is 8, and the number of the safflowers of the seller K is 15.
After the carthamus tinctorius collecting activity is determined to be finished, the sellers need to be ranked, but due to the fact that the number of the sellers is large, a plurality of the sellers with the top rank are often selected. For example, if it is required to request to query five top-ranked sellers, an object operation message is sent through the network interface of the object X and the query data operation interface is selected, and a query is requested to query five top-ranked sellers, then the five top-ranked sellers are queried in the area 1 of the data storage space, and the return result is: seller E, seller A, seller K, seller B and seller I.
5. The packet query data manipulation interface.
The packet query data operation interface has the functions of: and the user data subjected to summary processing can be inquired through the data grouping and inquiring operation interface.
The interface type of the packet query data operation interface is GET.
For example, the interface address of the packet query data operation interface may be:
http://osap.1688.com/home/data/organize.jsonp。
for example, the object X is to develop a business of collecting safflowers by a seller on the 1688 website, and for a buyer meeting certain conditions, the system allocates a plurality of safflowers to the buyer, and the buyer can send the safflowers to the seller according to own will, and finally, the seller is rated according to the quantity of the safflowers collected by the seller. The corresponding data storage subspace of the object X in the data storage space of the data storage system is an area 1. Suppose that the vendors who collect saffrons have: seller A, seller B, seller C, seller D, seller E, seller F, seller G, seller H, seller I, seller J and seller K. The number of the safflowers of the seller A is 15, the number of the safflowers of the seller B is 12, the number of the safflowers of the seller C is 9, the number of the safflowers of the seller D is 10, the number of the safflowers of the seller E is 16, the number of the safflowers of the seller F is 8, the number of the safflowers of the seller G is 7, the number of the safflowers of the seller H is 5, the number of the safflowers of the seller I is 11, the number of the safflowers of the seller J is 8, and the number of the safflowers of the seller K is 15.
After the carthamus tinctorius collecting activity is determined to be finished, assuming that the number of the collected 15-carthamus tinctorius sellers needs to be counted, the number of the collected 15-carthamus tinctorius sellers is input through the grouping query data operation interface to request for querying, and the data storage system returns 2 of the collected 15-carthamus tinctorius sellers according to the received request grouping query message.
In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As shown in fig. 2, the method for processing data in the embodiment of the present application includes:
step 201, after receiving an object operation message, a data storage system determines an object corresponding to the object operation message;
step 202, the data storage system determines a data storage subspace corresponding to the object from a data storage space;
and 203, the data storage system processes the user data corresponding to the object operation message according to the determined data storage subspace.
In the embodiment of the application, a corresponding data storage subspace is allocated in the data storage space of the data storage system for each object. In addition, in order to distinguish each data storage subspace, in the embodiment of the present application, the data storage subspace corresponding to the object is marked by the identification information of the object.
In addition, the object operation message of the embodiment of the present application also includes an object identifier of the object.
In the embodiment of the present application, an object identifier of an object is a field name (fieldName) of the object, and the field name is a field name applied to a server, where the field names correspond to the objects one to one.
Specifically, when the data storage subspace corresponding to the object is determined from the data storage space, the data storage subspace corresponding to the object identifier in the object operation message is determined according to the corresponding relationship.
For example, the field name of object one is "isTP" and the data storage subspace of object one in the data storage space of the data storage system is region 1, then region 1 is identified with "isTP". And if the user A of the object one performs operation through the network interface of the object one, the data storage system receives an object operation message including an object identifier "ispp", and determines that the data storage subspace corresponding to the requested object is the region 1 through the object identifier "ispp" of the object operation message.
The object operation message of the embodiment of the present application includes, but is not limited to:
a request save data operation message, a request modify data operation message, a request read data operation message, a request select query data operation message, and a request packet query data operation message.
The operation message of requesting to save the data is sent to the data storage system through the operation interface of saving the data; the request modification data operation message is sent to the data storage system through a modification data operation interface; the request reading data operation message is sent to the data storage system through the reading data operation interface; the request selection query data operation message is sent to the data storage system through the selection query data operation interface; the request packet query data operation message is sent to the data storage system through the packet query data operation interface.
The following description is made separately for different object operation messages.
1. And requesting to save the data operation message.
The operation message for requesting to save data includes, but is not limited to, the following parameters:
loginId (user name), fieldName (field name), value (meaning).
As shown in Table 1, the type and definition of each parameter in the data manipulation message is requested to be saved.
TABLE 1
Figure BDA0000971135030000111
2. A request is made to modify the data operation message.
Wherein modifying data refers to increasing or decreasing the original data of the data storage subspace. And can only request operand type fields and cannot be repeatedly called.
The request modification data operation message of the embodiment of the present application includes, but is not limited to, the following parameters:
loginId、fieldName、value。
as shown in table 2, the type and definition of each parameter in the data operation message is requested to be saved.
TABLE 2
Figure BDA0000971135030000112
3. A read data operation message is requested.
The message for requesting to read data operation of the embodiment of the present application includes, but is not limited to, the following parameters:
loginId、fieldName。
as shown in Table 3, the type and definition of each parameter in the data manipulation message is requested to be saved.
TABLE 3
Figure BDA0000971135030000121
4. And requesting to select a query data operation message.
The request selection query data operation message of the embodiment of the application includes, but is not limited to, the following parameters:
query.
As shown in Table 4, the type and definition of each parameter in the data manipulation message is requested to be saved.
TABLE 4
Figure BDA0000971135030000122
The form of query is explained below as an example.
Figure BDA0000971135030000123
Figure BDA0000971135030000131
5. The request packet queries a data operation message.
The request packet query data operation message of the embodiment of the present application includes, but is not limited to, the following parameters:
query。
as shown in Table 5, the type and definition of each parameter in the data manipulation message is requested to be saved.
TABLE 5
Figure BDA0000971135030000132
The form of query is explained below as an example.
Figure BDA0000971135030000141
According to the received object operation message, the data of the data storage subspace corresponding to the object is processed.
Specifically, the data storage system determines a processing mode corresponding to the interface receiving the object operation message according to a corresponding relationship between the interface and the processing mode;
and the data storage system processes the user data corresponding to the object operation message according to the determined data storage subspace and the processing mode.
Each operation interface corresponds to a data processing mode, so that the data storage system can determine the processing mode corresponding to the object operation message according to the interface of the received object operation message.
After the processing mode corresponding to the object operation message is determined, the data storage subspace of the object corresponding to the object in the data storage space of the data storage system is determined according to the object identification in the object operation message, and the data in the determined data storage subspace is operated according to the determined processing mode.
Specifically, the processing manner of the embodiment of the present application includes part or all of the following manners:
processing the data corresponding to the user in the determined data storage subspace;
and storing the data corresponding to the user into the determined data storage subspace.
The mode for processing the data corresponding to the user in the determined data storage subspace comprises part or all of the following modes:
modifying the data corresponding to the user in the determined data storage subspace;
reading the data corresponding to the user in the determined data storage subspace;
and querying the data corresponding to the user in the determined data storage subspace.
The following describes in detail the correspondence between object operation messages, interfaces, and processing modes by taking, as an example, an embodiment of the present application that includes a save data operation interface, a modify data operation interface, a read data operation interface, a select query data operation interface, and a group query data operation interface.
As shown in table 6, a correspondence table between object operation messages, interfaces, and processing methods in the embodiments of the present application.
TABLE 6
Figure BDA0000971135030000151
Figure BDA0000971135030000161
As shown in fig. 3, an overall flowchart of data processing according to an embodiment of the present application includes:
step 301, after receiving an object operation message, a data storage system determines an object identifier contained in the object operation message;
step 302, determining an object corresponding to the object operation message according to the object identifier of the object operation message;
step 303, determining a data storage subspace corresponding to the object identifier in the object operation message according to the binding relationship between the object identifier and the data storage subspace;
step 304, the data storage system determines a processing mode corresponding to the interface receiving the object operation message according to the corresponding relation between the interface and the processing mode;
305, the data storage system processes the user data corresponding to the object operation message according to the determined data storage subspace and the processing mode;
step 306, when the interface is a data storage operation interface, storing the data corresponding to the user into the determined data storage subspace;
step 307, when the interface is a data modification operation interface, modifying the data corresponding to the user in the determined data storage subspace;
step 308, when the interface is a read data operation interface, reading the data corresponding to the user in the determined data storage subspace;
step 309, when the interface is the operation interface for selecting query data, selecting and querying data corresponding to the user from the determined data storage subspace;
and 310, when the interface is a data operation interface for packet query, querying data corresponding to the user in a packet manner from the determined data storage subspace.
Based on the same inventive concept, the embodiment of the present application further provides a data processing device, and as the principle of the system for solving the problem is similar to the data processing method in the embodiment of the present application, the implementation of the device may refer to the implementation of the method, and repeated details are not described again.
As shown in fig. 4, the data processing apparatus according to the embodiment of the present application includes:
a determining module 401, configured to determine, after receiving an object operation message, an object corresponding to the object operation message;
a selecting module 402, configured to determine, from a data storage space, a data storage subspace corresponding to the object;
and a processing module 403, configured to process, according to the determined data storage subspace, the user data corresponding to the object operation message.
Optionally, the processing module 403 is specifically configured to:
the data storage system determines a processing mode corresponding to the interface receiving the object operation message according to the corresponding relation between the interface and the processing mode;
and the data storage system processes the user data corresponding to the object operation message according to the determined data storage subspace and the processing mode.
Optionally, the processing manner includes part or all of the following manners:
processing the data corresponding to the user in the determined data storage subspace;
and storing the data corresponding to the user into the determined data storage subspace.
Optionally, the manner of processing the data corresponding to the user in the determined data storage subspace includes part or all of the following manners:
modifying the data corresponding to the user in the determined data storage subspace;
reading the data corresponding to the user in the determined data storage subspace;
and querying the data corresponding to the user in the determined data storage subspace.
Optionally, the selecting module 402 is specifically configured to:
and determining a data storage subspace corresponding to the object identifier in the object operation message according to the corresponding relation.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the application. It will be understood that one block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, and/or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the subject application may also be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method of data processing, the method comprising:
after receiving an object operation message, a data storage system determines an object corresponding to the object operation message, wherein the object is a service meeting operation requirements;
the data storage system determines data storage subspaces corresponding to the objects from data storage spaces according to object identifications of the objects, wherein one object corresponds to one data storage subspace;
and the data storage system processes the user data corresponding to the object operation message according to the determined data storage subspace.
2. The method of claim 1, wherein the data storage system processes the user's data corresponding to the object operation message according to the determined data storage subspace, and comprises:
the data storage system determines a processing mode corresponding to the interface receiving the object operation message according to the corresponding relation between the interface and the processing mode;
and the data storage system processes the user data corresponding to the object operation message according to the determined data storage subspace and the processing mode.
3. The method of claim 2, wherein the processing means comprises some or all of the following means:
processing the data corresponding to the user in the determined data storage subspace;
and storing the data corresponding to the user into the determined data storage subspace.
4. The method of claim 3, wherein the manner of processing the data corresponding to the user in the determined data storage subspace includes some or all of the following manners:
modifying the data corresponding to the user in the determined data storage subspace;
reading the data corresponding to the user in the determined data storage subspace;
and querying the data corresponding to the user in the determined data storage subspace.
5. The method according to any one of claims 1 to 4, wherein the determining, by the data storage system, a data storage subspace corresponding to the object from a data storage space according to the object identifier of the object comprises:
and determining a data storage subspace corresponding to the object identifier in the object operation message according to the corresponding relation.
6. An apparatus for data processing, comprising:
the determining module is used for determining an object corresponding to the object operation message after receiving the object operation message, wherein the object is a service meeting the operation requirement;
the selection module is used for determining a data storage subspace corresponding to the object from a data storage space according to the object identification of the object, wherein one object corresponds to one data storage subspace;
and the processing module is used for processing the user data corresponding to the object operation message according to the determined data storage subspace.
7. The device of claim 6, wherein the processing module is specifically configured to:
the data storage system determines a processing mode corresponding to the interface receiving the object operation message according to the corresponding relation between the interface and the processing mode;
and the data storage system processes the user data corresponding to the object operation message according to the determined data storage subspace and the processing mode.
8. The apparatus of claim 7, wherein the processing means comprises some or all of:
processing the data corresponding to the user in the determined data storage subspace;
and storing the data corresponding to the user into the determined data storage subspace.
9. The apparatus of claim 8, wherein the manner of processing the data corresponding to the user in the determined data storage subspace includes some or all of the following manners:
modifying the data corresponding to the user in the determined data storage subspace;
reading the data corresponding to the user in the determined data storage subspace;
and querying the data corresponding to the user in the determined data storage subspace.
10. The apparatus according to any one of claims 6 to 9, wherein the selection module is specifically configured to:
and determining a data storage subspace corresponding to the object identifier in the object operation message according to the corresponding relation.
CN201610251698.3A 2016-04-21 2016-04-21 Data processing method and device Active CN107305564B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610251698.3A CN107305564B (en) 2016-04-21 2016-04-21 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610251698.3A CN107305564B (en) 2016-04-21 2016-04-21 Data processing method and device

Publications (2)

Publication Number Publication Date
CN107305564A CN107305564A (en) 2017-10-31
CN107305564B true CN107305564B (en) 2021-06-11

Family

ID=60152866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610251698.3A Active CN107305564B (en) 2016-04-21 2016-04-21 Data processing method and device

Country Status (1)

Country Link
CN (1) CN107305564B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110019132A (en) * 2017-12-20 2019-07-16 北京潘达互娱科技有限公司 Thumb up date storage method and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101241501A (en) * 2008-02-25 2008-08-13 浪潮电子信息产业股份有限公司 File system construction method suitable for high speed cache proxy server architecture
CN101950273A (en) * 2010-09-26 2011-01-19 中国人民解放军海军工程大学 Dynamic management method of DSP data area
CN102567427A (en) * 2010-12-30 2012-07-11 中国移动通信集团公司 Method and device for processing object data
CN103778212A (en) * 2014-01-16 2014-05-07 国网山东省电力公司青岛供电公司 Data node-based parallel massive data processing method
CN103853499A (en) * 2012-11-30 2014-06-11 上海可鲁系统软件有限公司 Multi-source data storing and reading method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8751533B1 (en) * 2009-11-25 2014-06-10 Netapp, Inc. Method and system for transparently migrating storage objects between nodes in a clustered storage system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101241501A (en) * 2008-02-25 2008-08-13 浪潮电子信息产业股份有限公司 File system construction method suitable for high speed cache proxy server architecture
CN101950273A (en) * 2010-09-26 2011-01-19 中国人民解放军海军工程大学 Dynamic management method of DSP data area
CN102567427A (en) * 2010-12-30 2012-07-11 中国移动通信集团公司 Method and device for processing object data
CN103853499A (en) * 2012-11-30 2014-06-11 上海可鲁系统软件有限公司 Multi-source data storing and reading method
CN103778212A (en) * 2014-01-16 2014-05-07 国网山东省电力公司青岛供电公司 Data node-based parallel massive data processing method

Also Published As

Publication number Publication date
CN107305564A (en) 2017-10-31

Similar Documents

Publication Publication Date Title
JP5512215B2 (en) Job processing system and method, and program thereof
CN105719329B (en) Bookkeeping voucher generation method and system
EP3422277A1 (en) Method and system for conducting mobile survey
CN104639426A (en) Method and device for adding group members
CN103064955A (en) Inquiry planning method and device
US10324907B2 (en) Genomic application data storage
CN107305564B (en) Data processing method and device
US20170154299A1 (en) Task management method, terminal, and non-transitory computer-readable information recording medium
CN109658187A (en) Recommend method, apparatus, storage medium and the electronic equipment of cloud service provider
CN111339560A (en) Data isolation method, device and system
CN110909072B (en) Data table establishment method, device and equipment
CN110705733A (en) Number obtaining method and device, electronic equipment and computer readable storage medium
CN112749308A (en) Data labeling method and device and electronic equipment
CN109120783A (en) Information acquisition method and device, mobile terminal and computer readable storage medium
JP2016167138A (en) Information processing apparatus, workflow creation method, and workflow creation program
CN111914165B (en) Target object recommendation method, device, equipment and storage medium
CN113094393A (en) Data aggregation method and device and electronic equipment
CN109074552A (en) Knowledge based figure enhances contact card
CN112527991A (en) Information processing method, apparatus and medium
CN113434063A (en) Information display method, device and equipment
CN113672497A (en) Method, device and equipment for generating non-buried point event and storage medium
JP2000222329A (en) Information communication system and information providing device and user attribute information collecting method and record medium
CN111814029A (en) Data query method, system and computing device
US20170171030A1 (en) System and method for digital optimization of electronic discovery
JP7383456B2 (en) Information management system, identification information assignment module, and information management method

Legal Events

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