CN116319809B - Method and system for data operation - Google Patents
Method and system for data operation Download PDFInfo
- Publication number
- CN116319809B CN116319809B CN202211691405.5A CN202211691405A CN116319809B CN 116319809 B CN116319809 B CN 116319809B CN 202211691405 A CN202211691405 A CN 202211691405A CN 116319809 B CN116319809 B CN 116319809B
- Authority
- CN
- China
- Prior art keywords
- data
- server
- target
- information
- target data
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 230000004044 response Effects 0.000 claims abstract description 6
- 238000012986 modification Methods 0.000 claims description 17
- 230000004048 modification Effects 0.000 claims description 17
- 238000012217 deletion Methods 0.000 claims description 12
- 230000037430 deletion Effects 0.000 claims description 12
- 230000003416 augmentation Effects 0.000 claims description 6
- 230000003190 augmentative effect Effects 0.000 claims description 3
- 238000012545 processing Methods 0.000 abstract description 9
- 230000003993 interaction Effects 0.000 abstract description 3
- 230000015654 memory Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 13
- 238000004891 communication Methods 0.000 description 12
- 238000011161 development Methods 0.000 description 5
- 230000018109 developmental process Effects 0.000 description 5
- 230000001413 cellular effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000011160 research Methods 0.000 description 3
- 239000007787 solid Substances 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 239000003208 petroleum Substances 0.000 description 2
- 230000011218 segmentation Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
- H04L67/1023—Server selection for load balancing based on a hash applied to IP addresses or costs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The application discloses a data operation method and system, and belongs to the technical field of data interaction. The method comprises the following steps: the terminal displays a list of data servers in response to the server selection instruction. Before sending a request to a data server, a user only needs to select a data server identifier from a data server list on a terminal to obtain a corresponding data server address sent by the central server, then connect to the corresponding data server, and send a request to instruct the data server to operate on the data designated by the request. Through the processing, the data operation can be simplified, the workload is reduced, and the data operation efficiency is improved.
Description
Technical Field
The present disclosure relates to the field of data interaction technologies, and in particular, to a method and a system for data operation.
Background
With the rapid development of oil and gas exploration and development business, data operation is often required to be carried out on databases of various professional software in comprehensive research of oil and gas exploration and development, and the data operation mode can directly influence research efficiency and research result level.
In the related art, the data operation of the professional software database is mainly implemented by sending a request for manual construction to the database through the terminal, for example, when a user uses a certain professional software in the client and needs to read data stored in the database of other professional software, the request for manual construction can be sent to the database storing the data, and the database performs corresponding data operation according to the content of the request and sends the result to the client.
Because databases of the specialized software are mutually independent in the related art, before a request sent to databases of different specialized software is constructed, a user is required to acquire the address of a server where the database is located by inquiring a database manager and then establish connection with the server.
Disclosure of Invention
The embodiment of the application provides a data operation method and system, which can solve the problems in the related art, and the technical scheme is as follows:
in a first aspect, there is provided a method of data manipulation, the method comprising:
the terminal displays a list of data servers in response to the server selection instruction.
And the terminal responds to a selection instruction of a target data server in the data server list and sends an address request of the target data server to a central server.
And the central server sends the address of the target data server to the terminal.
And the terminal sends an index table request to the target data server based on the address.
And the target data server sends a data index table of the target data server to the terminal, wherein the data index table records data identifiers, path information and operation authorities of all data stored by the target data server.
And the terminal displays the data identification of each data stored in the target data server recorded in the index table.
And the terminal responds to a selection instruction of the data identification of the target data in the data identifications of the data stored by the target data server to acquire the input operation information.
And the terminal determines the target path information and the target operation authority corresponding to the data identification of the target data based on the index table.
If the terminal determines that the operation information meets the target operation authority, the terminal sends the data operation request to the central server, wherein the data operation request carries the target path information and the operation information, and when the operation information is reading operation information, the data operation request also carries a first data format which can be supported by the terminal.
The central server sends the data operation request to the target data server.
And the target data server searches the target data based on the target path information, executes the operation corresponding to the operation information on the target data, and when the operation information is the read operation information, the target data server sends the target data, the first data format and the current second data format of the target data to the central server.
The center server converts the target data from the second data format to a standard data format, and then converts the target data in the standard data format to the first data format.
And the central server sends the target data in the first data format to the terminal.
In one possible implementation, the method further includes:
and the second data server sends a server registration instruction to the central server, wherein the server registration instruction carries the address of the second data server.
The central server stores the address of the second data server.
In one possible implementation, the operation information includes at least one of adding operation information, reading operation information, deleting operation information, and modifying operation information.
In one possible implementation manner, the adding operation information includes an adding operation identifier and content to be added, the searching operation information includes a searching operation identifier, the deleting operation information includes a deleting operation identifier, and the modifying operation information includes a modifying operation identifier, a modifying position and target content.
In one possible implementation manner, after the target data server performs the operation corresponding to the operation information on the target data, the method further includes:
and the target data server sends operation result information to the terminal.
In a second aspect, a data operating system is provided, the system comprising a terminal, a central server, and a data server.
In response to the server selection instruction, a list of data servers is displayed. And responding to a selection instruction of a target data server in the data server list, and sending an address request of the target data server to the central server. And sending an index table request to the target data server based on the address. And displaying the data identification of each data stored by the target data server. And responding to a selection instruction of the data identification of the target data in the data identifications of the data stored by the target data server, and acquiring the input operation information. And determining target path information and target operation authority corresponding to the data identification of the target data based on the index table. And if the operation information meets the target operation authority, sending the data operation request to the central server, wherein the data operation request carries the target path information and the operation information, and when the operation information is the read operation information, the data operation request also carries a first data format which can be supported by the terminal.
The central server is used for:
and the central server sends the address of the target data server to the terminal. And sending the data operation request to the target data server. Converting the target data from the second data format to a standard data format, and converting the target data in the standard data format to the first data format;
the data server is used for:
and sending a data index table of the target data server to the terminal, wherein the data index table records data identifiers, path information and operation authorities of all data stored by the target data server. And searching the target data based on the target path information, executing the operation corresponding to the operation information on the target data, and when the operation information is the read operation information, sending the target data, the first data format and the current second data format of the target data to the central server by the target data server.
In one possible implementation, the system further includes a second data server for:
and sending a server registration instruction to the central server, wherein the server registration instruction carries the address of the second data server.
The central server is further configured to:
and storing the address of the second data server.
In one possible implementation, the operation information includes at least one of adding operation information, reading operation information, deleting operation information, and modifying operation information.
In one possible implementation manner, the adding operation information includes an adding operation identifier and content to be added, the searching operation information includes a searching operation identifier, the deleting operation information includes a deleting operation identifier, and the modifying operation information includes a modifying operation identifier, a modifying position and target content.
In one possible implementation, the target data server is further configured to:
and sending operation result information to the terminal.
The beneficial effects that technical scheme that this application embodiment provided include at least:
in this embodiment of the present application, before a user sends a request to a data server, the user only needs to select a data server identifier from a data server list on a terminal, where the address of all data servers is stored in a central server in a data operating system (servers storing databases), and then the user can obtain a corresponding data server address sent by the central server and connect to a corresponding data server. Through the processing, the data operation can be simplified, the workload is reduced, and the data operation efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed 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 that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a data operating system according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a terminal in a data operating system according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a central server in a data operating system according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a data server in a data operating system according to an embodiment of the present application;
FIG. 5 is a method flow chart of a method for data manipulation provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of a data server list window according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a data server list window according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a structure of a data index window according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of an operation information input window according to an embodiment of the present application;
FIG. 10 is a schematic diagram of an operation result window according to an embodiment of the present disclosure;
fig. 11 is a method flowchart of a data server registration method provided in an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The embodiment of the application provides a data operation method which can be realized by a data operation system. Fig. 1 is a schematic structural diagram of a data operating system provided in an embodiment of the present application, where the data operating system may include a terminal, a central server, and a data server. The terminal in the embodiment of the application can be a mobile phone, a notebook computer, a desktop computer and the like, and the terminal is used for sending a request to the data server, wherein the request is used for indicating the data server to operate the data. The central server can be a single server, a server cluster formed by a plurality of servers, and the like, and is used for storing the address of the data server, and forwarding the interaction information between the terminal and the data server. The data server may be a single server, or may be a server cluster formed by a plurality of servers, and the data server is used for storing data and operating the stored data according to a request sent by the terminal.
Fig. 2 is a schematic structural diagram of a terminal in a data operation system according to an embodiment of the present application, and from a hardware perspective, the structure of the terminal may be as shown in fig. 2, and includes a processor, a memory, and a communication unit.
The processor 210 may be a central processing unit (central processing unit, CPU) or a system on chip (SoC), etc., and the processor 210 may be configured to respond to instructions input by a user and perform corresponding processing, etc.
The memory 220 may include various volatile memories or nonvolatile memories, such as Solid State Disk (SSD), dynamic random access memory (dynamic random access memory, DRAM) memory, and the like. The memory 220 may be used to store initial data, intermediate data, and result data used during the recording data operation, for example, to store a data server list, etc.
The communication part 230 may be a wired network connector, an Ultra Wideband (UWB), a wireless fidelity (wireless fidelity, wiFi) module, a bluetooth module, a cellular network communication module, etc. The communication section 230 may be used for performing data operations with other devices, which may be terminals, servers, etc., for example, receiving addresses sent by a center server, sending data operation requests, etc.
The display part 240 may be a separate screen, or a screen, a projector, or the like integrated with the terminal body, the screen may be a touch screen, or may be a non-touch screen, the display part 240 is used to display a system interface, an application interface, or the like, for example, the display part 240 may display a client software interface of an installed data operating system, or the like.
Fig. 3 is a schematic structural diagram of a central server in a data operating system according to an embodiment of the present application, and from a hardware component, the central server may be configured as shown in fig. 3, and includes a processor, a memory, and a communication unit.
Processor 310 may be a central processor or a system on a chip, etc., and processor 310 may be configured to process requests sent by terminals and data servers.
Memory 320 may include various volatile memory or non-volatile memory, such as solid state disk, dynamic random access memory, and the like. The memory 320 may be used to store initial data, intermediate data, and result data used during the recording data operation, for example, to store correspondence between data server identifications and addresses of data servers, etc.
The communication component 330 may be a wired network connector, ultra-wideband technology, wireless fidelity module, bluetooth module, cellular network communication module, or the like. The communication section 330 may be used for performing data operations with other devices, which may be terminals, servers, etc., for example, sending addresses of target data servers, etc., to the terminals.
Fig. 4 is a schematic structural diagram of a data server in a data operating system according to an embodiment of the present application, and from a hardware perspective, the structure of the data server may be as shown in fig. 4, and includes a processor, a memory, and a communication unit.
The processor 410 may be a central processor or a system on a chip, etc., and the processor 410 may be configured to operate on stored data according to a request sent by a terminal, etc.
Memory 420 may include various volatile memory or non-volatile memory, such as solid state disk, dynamic random access memory, and the like. The memory 420 may be used to store initial data, intermediate data, and result data used during the recording data operation, for example, to store a data index table, etc.
The communication component 430 may be a wired network connector, ultra-wideband technology, wireless fidelity module, bluetooth module, cellular network communication module, or the like. The communication section 430 may be used for performing data operations with other devices, which may be terminals, servers, etc., for example, transmitting operation result information, etc.
The method for data operation provided by the embodiment of the application can be used for any system needing data operation, for example, a data operation system used for data operation between a database and a terminal in a database platform of petroleum exploration and development professional software, and the like. In the embodiment of the present application, a scheme is described by taking a system for data operation between a professional software database and a terminal for petroleum exploration and development as an example, and other systems for data operation may also adopt similar processing manners, which are not described in detail in the embodiment of the present application.
When a user uses professional software installed on a terminal, operations such as adding, deleting, and modifying data in a database of other professional software may be needed, and the embodiment of the present application provides a data operation method, and a corresponding process flow may be as shown in fig. 5, including the following steps:
the terminal displays a list of data servers in response to the server selection instruction 501.
The list of data servers may be stored in the terminal or may be transmitted from the central server.
The terminal may be provided with client software of the data operating system, the client software may have a graphical operation interface, the operation interface may include an option for selecting a data server, the server selection instruction may be to click on the option, and then the terminal displays a data server list window.
The terminal transmits an address request for a target data server to the center server in response to a selection instruction for the target data server in the data server list 502.
The corresponding relationship between the identifier of the data server and the address of the data server is stored in the central server, and the corresponding relationship may be obtained through registration of the data server, and a specific method is described in detail later, which is not described herein.
First, the user inputs a selection instruction for a target data server in the data server list, and then the terminal transmits an address request containing the target data server identification to the center server, the address request being for instructing the center server to determine the address of the target data server. Among these, the selection instruction for the target data server may be in various ways:
mode one: as shown in fig. 6, the data server list window may further include a confirmation option, and the selection of the target data server instructs the user to click on the data server identifier in the data server list, and then click on the confirmation option, and uses the data server corresponding to the data server identifier as the target data server.
Mode two: as shown in fig. 7, the data server list window may further include an input field, and the selection instruction for the target data server may be to input a data server identifier in the input field, and use a data server corresponding to the input data server identifier as the target data server.
503, the central server sends the address of the target data server to the terminal.
And the central server determines a target data server identifier according to the address request sent by the terminal, searches the corresponding relationship between the data server identifier and the address of the data server for the target data server identifier and the address of the corresponding target data server, and finally sends the address of the target data server to the terminal.
The terminal sends an index table request to the target data server based on the address 504.
The index table request is used for requesting a data interface of a connection target data server, namely, is used for requesting the target data server to send the data index table to the terminal, and the index table request of all the data servers in the system accords with the same service interface specification, wherein the service interface specification comprises a connection service interface specification and a data operation service interface specification.
After receiving the address of the target data server sent by the central server, the terminal may send an index table request including the address of the target data server to the central server, and the central server may send the index table request to the target data server according to the address.
505, the target data server sends the data index table of the target data server to the terminal.
The data index table stores data identifiers, path information and operation authorities of all data stored by the target data server, the operation authorities are used for indicating operation information which can be performed on the data by the target data server, and the operation information contained in the operation authorities can be called available operation information.
506, the terminal displays the data identifier of each data stored in the target data server recorded in the index table.
After receiving the data index table sent by the target data server, the terminal may display a data index window, as shown in fig. 8, where the data index window includes a data identifier list, and the data identifier list includes data identifiers of all data stored by the target data server.
507, the terminal responds to the selection instruction of the data identification of the target data in the data identifications of the data stored in the target data server to acquire the input operation information.
Wherein the operation information includes at least one of addition operation information, reading operation information, deletion operation information, and modification operation information. The augmentation operation information includes an augmentation operation identification and content to be augmented. The read operation information includes a read operation identification. The deletion operation information includes a deletion operation identification. The modification operation information includes a modification operation identification, a modification location, and target content. The modified location is used to indicate where the modified content is located in the target data, and may be an offset relative to the first byte of the target data. The target content is used for indicating the content modified by the modified content in the target data.
The selection instruction of the data identifier of the target data in the data identifiers of the data stored in the target data server may be that the user clicks the data identifier in the data index window, and the data corresponding to the clicked data identifier is used as the target data. After determining the target data, the terminal may display an operation information input window, as shown in fig. 9, where the operation information input window includes an operation information identifier and an operation information input field, and the user may click on the operation information identifier, where the operation information identifier may be "add", "delete", "read" and "modify", etc. The terminal determines the corresponding operation information according to the clicked operation information identifier, takes the operation information as the operation information of the target data, and can also input other contents in the operation information after determining the operation information, such as adding the contents to be added in the operation information, modifying the modification position and the target content in the operation information, and the like.
508, the terminal determines the target path information and the target operation authority corresponding to the data identifier of the target data based on the index table.
And the terminal searches the corresponding path information and operation authority in the data index table according to the data identification of the target data selected in the step 507, and takes the searched path information and operation authority as the target path information and the target operation authority.
509, the terminal determines that the operation information meets the target operation authority, and sends a data operation request to the central server.
The data operation request carries target path information and operation information, and can also carry the address of a target data server, and the data operation request of all the data servers in the system accords with the same service interface specification, wherein the service interface specification comprises a connection service interface specification and a data operation service interface specification. When the operation information is the read operation information, the data operation request further carries a first data format that can be supported by the terminal, and the first data format that can be supported by the terminal can be a data format that can be supported by professional software installed on the terminal.
The terminal determines that the operation information input by the user is included in the target operation authority, that is, the operation information input by the user is available operation information, and then the terminal determines a data operation request and transmits the data operation request to the center server.
510, the central server sends a data operation request to the target data server.
The central server may forward the data operation request to the target data server according to the address of the target data server carried in the data operation request.
511, the target data server searches the target data based on the target path information, and performs an operation corresponding to the operation information on the target data.
The target data server searches the target data according to the target path information in the data operation request, and then performs corresponding operation on the target data according to the operation information, for example, if the operation information is reading operation information, the target data server adds the target data to the operation result information.
The target data server transmits operation result information to the terminal 512.
After the target data server executes the operation corresponding to the operation information on the target data, the operation result information of the operation is determined, and then the operation result information is sent to the terminal. The operation result information may be classified into addition operation result information, reading operation result information, deletion operation result information, and modification operation result information according to the type of the operation information. The adding operation result information comprises an adding operation result identifier, the reading operation result information comprises a reading operation result identifier and target data content, the deleting operation result information comprises a deleting operation result identifier, and the modifying operation result information comprises a modifying operation result identifier. The operation result identifier is added, the operation result identifier is read, the deletion operation result identifier and the modification operation result identifier are used for indicating that the operation is successful or the operation is failed and the reasons, for example, the deletion operation result identifier can be 1, 2, 3 and the like, 1 indicates that the operation is successful, 2 indicates that the deletion is failed due to the reason A, 3 indicates that the deletion is failed due to the reason B and the like.
The terminal may display an operation result window after receiving the operation result information, for example, the operation result window in which the terminal receives and reads the operation result display may be as shown in fig. 10, and the operation result window may include an operation result identifier, a target data content and a save option, and the user may view the target data content in the operation result window and may click on the save option to save the target data content.
When the operation information is the read operation information, the target data server may send the target data, the first data format, and the current second data format of the target data to the central server, where the first data format is a data format in the data operation request, the second data format is a data format used by the target data sent by the target data server, and different data formats may be used by different data servers.
The center server converts the target data from the second data format to the standard data format, and then converts the target data from the standard data format to the first data format. The center server can convert the standard data format and the data format used by any data server and terminal, and the conversion relation can be preset for technicians and stored in the center server. And the center server obtains the target data in the first data format and then sends the target data to the terminal.
When the target data sent by the target data server is a large file, a file slice transmission method, namely data processing based on the central server, can be adopted to realize large file slice and breakpoint continuous transmission, and the problem that the data file needs to be uploaded again from zero under the conditions of network interruption and the like is solved.
For example, the target data is a 10G seismic file, the target data server divides the 10G seismic file into 205 blocks of 50M-sized files before sending the target data, and each block of the segmented file may include segmentation information, where the segmentation information is used to indicate the sequence of the corresponding segmented file in the complete file.
After the file slicing is completed, the target data server sends the sliced files to the central server in a multithreading mode according to the slicing sequence, if the network is interrupted when the 100 th block file is sent, after the network is restored, the central server checks the sliced information of the uploaded sliced files and verifies the integrity of the files, determines that the 99 th block file is received completely, notifies the target data server to skip the first 99 blocks, directly starts to upload from the 100 th block file, and after the 205 th block file is uploaded, the central server merges the sliced files to obtain the original 10G seismic file.
For the above scenario, the embodiment of the present application further provides a method for registering a data server, and the corresponding process flow may be as shown in fig. 11, including the following steps:
1101, the second data server sends a server registration instruction to the central server.
Wherein the server registration instruction carries the address of the second data server.
When a new data server (second data server) needs to be added to the data operating system, the technician may use the second data server to send a server registration instruction to the central server containing the address of the server, the server registration instruction being used to instruct the central server to store the address of the second data server.
1102, the central server stores the address of the second data server.
The central server reads the address of the second data server in the server registration instruction, and the data server identifier of the second data server and the address of the second data server can be stored in the corresponding relationship between the data server identifier and the address of the data server, and the data server identifier of the second data server can be carried in the server registration instruction or can be distributed to the central server. After the central server stores the address of the second data server, a new list of data servers may be determined and sent to the terminal.
In this embodiment of the present application, before a user sends a request to a data server, the user only needs to select a data server identifier from a data server list on a terminal, where the address of all data servers is stored in a central server in a data operating system (servers storing databases), and then the user can obtain a corresponding data server address sent by the central server and connect to a corresponding data server. Through the processing, the data operation can be simplified, the workload is reduced, and the data operation efficiency is improved.
The foregoing description of the preferred embodiments of the present application is not intended to limit the invention to the particular embodiments of the present application, but to limit the scope of the invention to the particular embodiments of the present application.
It should be noted that, the information (including but not limited to user equipment information, user personal information, etc.), data (including but not limited to data for analysis, stored data, presented data, etc.), and signals (including but not limited to signals transmitted between the user terminal and other devices, etc.) referred to in this application are all authorized by the user or are fully authorized by the parties, and the collection, use, and processing of relevant data is required to comply with relevant laws and regulations and standards of relevant countries and regions.
Claims (8)
1. A method of data manipulation, the method comprising:
the terminal responds to the server selection instruction and displays a data server list;
the terminal responds to a selection instruction of a target data server in the data server list and sends an address request of the target data server to a central server;
the central server sends the address of the target data server to the terminal;
the terminal sends an index table request to the target data server based on the address;
the target data server sends a data index table of the target data server to the terminal, wherein the data index table records data identifiers, path information and operation authorities of all data stored by the target data server;
the terminal displays the data identification of each data stored in the target data server recorded in the index table;
the terminal responds to a selection instruction of the data identification of the target data in the data identifications of the data stored by the target data server to acquire input operation information;
the terminal determines target path information and target operation authority corresponding to the data identification of the target data based on the index table;
if the terminal determines that the operation information meets the target operation authority, the terminal sends the data operation request to the central server, wherein the data operation request carries the target path information and the operation information;
the central server sends the data operation request to the target data server;
the target data server searches the target data based on the target path information, executes the operation corresponding to the operation information on the target data, sends operation result information to the terminal, wherein the operation result information comprises addition operation result information, reading operation result information, deletion operation result information and modification operation result information, the addition operation result information comprises addition operation result identification, the reading operation result information comprises reading operation result identification and target data content, the deletion operation result information comprises deletion operation result identification, the modification operation result information comprises modification operation result identification, the addition operation result identification, the reading operation result identification, the deletion operation result identification and the modification operation result identification are used for indicating success or failure and reasons of operation, and when the operation information is the reading operation information, the target data server sends the target data, the first data format and the current second data format of the target data to the central server;
the center server converts the target data from the second data format into a standard data format, and then converts the target data in the standard data format into the first data format;
and the central server sends the target data in the first data format to the terminal.
2. The method according to claim 1, wherein the method further comprises:
a second data server sends a server registration instruction to the central server, wherein the server registration instruction carries an address of the second data server;
the central server stores the address of the second data server.
3. The method of claim 1, wherein the operation information comprises at least one of adding operation information, reading operation information, deleting operation information, and modifying operation information.
4. The method of claim 3, wherein the augmentation operation information comprises an augmentation operation identifier and content to be augmented, the read operation information comprises a read operation identifier, the delete operation information comprises a delete operation identifier, and the modification operation information comprises a modification operation identifier, a modification location, and a target content.
5. A data operating system, wherein the system comprises a terminal, a central server and a data server;
the terminal is used for:
displaying a data server list in response to the server selection instruction; responding to a selection instruction of a target data server in the data server list, and sending an address request of the target data server to the central server; sending an index table request to the target data server based on the address; displaying the data identifier of each data stored by the target data server; responding to a selection instruction of the data identification of the target data in the data identifications of the data stored by the target data server, and acquiring input operation information; determining target path information and target operation authority corresponding to the data identification of the target data based on the index table; if the operation information meets the target operation authority, sending the data operation request to the central server, wherein the data operation request carries the target path information and the operation information, and when the operation information is read operation information, the data operation request also carries a first data format which can be supported by the terminal;
the central server is used for:
sending the address of the target data server to the terminal; sending the data operation request to the target data server; converting the target data from a second data format to a standard data format, and converting the target data in the standard data format to the first data format;
the data server is used for:
transmitting a data index table of the target data server to the terminal, wherein the data index table records data identifiers, path information and operation authorities of all data stored by the target data server; searching the target data based on the target path information, executing an operation corresponding to the operation information on the target data, sending operation result information to the terminal, wherein the operation result information comprises adding operation result information, reading operation result information, deleting operation result information and modifying operation result information, the adding operation result information comprises adding operation result identification, the reading operation result information comprises reading operation result identification and target data content, the deleting operation result information comprises deleting operation result identification, the modifying operation result information comprises modifying operation result identification, the adding operation result identification, the reading operation result identification, the deleting operation result identification and the modifying operation result identification are used for indicating success or failure and reason of the operation, and when the operation information is the reading operation information, the target data server sends the target data, the first data format and the current second data format of the target data to the central server.
6. The system of claim 5, further comprising a second data server for:
a server registration instruction is sent to the central server, wherein the server registration instruction carries the address of the second data server;
the central server is further configured to:
and storing the address of the second data server.
7. The system of claim 5, wherein the operation information comprises at least one of add operation information, read operation information, delete operation information, and modify operation information.
8. The system of claim 7, wherein the augmentation operation information comprises an augmentation operation identifier and content to be augmented, the read operation information comprises a read operation identifier, the delete operation information comprises a delete operation identifier, and the modification operation information comprises a modification operation identifier, a modification location, and a target content.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211691405.5A CN116319809B (en) | 2022-12-27 | 2022-12-27 | Method and system for data operation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211691405.5A CN116319809B (en) | 2022-12-27 | 2022-12-27 | Method and system for data operation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116319809A CN116319809A (en) | 2023-06-23 |
CN116319809B true CN116319809B (en) | 2023-12-29 |
Family
ID=86791321
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211691405.5A Active CN116319809B (en) | 2022-12-27 | 2022-12-27 | Method and system for data operation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116319809B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101727465A (en) * | 2008-11-03 | 2010-06-09 | 中国移动通信集团公司 | Methods for establishing and inquiring index of distributed column storage database, device and system thereof |
CN102129539A (en) * | 2011-03-11 | 2011-07-20 | 清华大学 | Data resource authority management method based on access control list |
CN103685398A (en) * | 2012-09-17 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Communication connection establishment method and communication system |
CN106941508A (en) * | 2016-01-05 | 2017-07-11 | 阿里巴巴集团控股有限公司 | Service calling method, device and system |
CN109189856A (en) * | 2018-08-15 | 2019-01-11 | 中国联合网络通信集团有限公司 | Distributed data base service management, device, server and storage medium |
CN109409119A (en) * | 2017-08-17 | 2019-03-01 | 北京京东尚科信息技术有限公司 | Data manipulation method and device |
CN110232292A (en) * | 2019-05-06 | 2019-09-13 | 平安科技(深圳)有限公司 | Data access authority authentication method, server and storage medium |
CN112162951A (en) * | 2020-09-25 | 2021-01-01 | 深圳前海微众银行股份有限公司 | Information retrieval method, server and storage medium |
CN112615849A (en) * | 2020-12-15 | 2021-04-06 | 平安科技(深圳)有限公司 | Micro-service access method, device, equipment and storage medium |
CN113094387A (en) * | 2021-04-08 | 2021-07-09 | 杭州数梦工场科技有限公司 | Data query method and device, electronic equipment and machine-readable storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8560604B2 (en) * | 2009-10-08 | 2013-10-15 | Hola Networks Ltd. | System and method for providing faster and more efficient data communication |
-
2022
- 2022-12-27 CN CN202211691405.5A patent/CN116319809B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101727465A (en) * | 2008-11-03 | 2010-06-09 | 中国移动通信集团公司 | Methods for establishing and inquiring index of distributed column storage database, device and system thereof |
CN102129539A (en) * | 2011-03-11 | 2011-07-20 | 清华大学 | Data resource authority management method based on access control list |
CN103685398A (en) * | 2012-09-17 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Communication connection establishment method and communication system |
CN106941508A (en) * | 2016-01-05 | 2017-07-11 | 阿里巴巴集团控股有限公司 | Service calling method, device and system |
CN109409119A (en) * | 2017-08-17 | 2019-03-01 | 北京京东尚科信息技术有限公司 | Data manipulation method and device |
CN109189856A (en) * | 2018-08-15 | 2019-01-11 | 中国联合网络通信集团有限公司 | Distributed data base service management, device, server and storage medium |
CN110232292A (en) * | 2019-05-06 | 2019-09-13 | 平安科技(深圳)有限公司 | Data access authority authentication method, server and storage medium |
CN112162951A (en) * | 2020-09-25 | 2021-01-01 | 深圳前海微众银行股份有限公司 | Information retrieval method, server and storage medium |
CN112615849A (en) * | 2020-12-15 | 2021-04-06 | 平安科技(深圳)有限公司 | Micro-service access method, device, equipment and storage medium |
CN113094387A (en) * | 2021-04-08 | 2021-07-09 | 杭州数梦工场科技有限公司 | Data query method and device, electronic equipment and machine-readable storage medium |
Non-Patent Citations (1)
Title |
---|
一种基于分散协作的Web缓存集群体系结构;邓晓衡, 陈志刚, 刘安丰, 曾志文;计算机工程与应用(30);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN116319809A (en) | 2023-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102880663B (en) | The optimization of the file of part deduplication | |
US20090022123A1 (en) | Apparatus and method for providing contents sharing service on network | |
US20170091197A1 (en) | Multimedia Display Method, Apparatus, and Device | |
CN112433920A (en) | Buried point data reporting method, device, equipment and medium | |
CN111382123A (en) | File storage method, device, equipment and storage medium | |
CN114385091A (en) | Method and device for realizing network disk drive character, network disk and storage medium | |
CN110990346A (en) | File data processing method, device, equipment and storage medium based on block chain | |
CN112860642A (en) | Court trial data processing method, server and terminal | |
CN112866348A (en) | Database access method and device, computer equipment and storage medium | |
CN114706960B (en) | File information checking method based on cloud computing and file checking terminal | |
CN109756484B (en) | Object storage-based gateway control method, control device, gateway and medium | |
CN1963821A (en) | Method, system and apparatus to realize accessing to database | |
CN116319809B (en) | Method and system for data operation | |
CN115048177A (en) | Dynamic configuration method for completing business scene based on custom container | |
CN110688201A (en) | Log management method and related equipment | |
KR20130126012A (en) | Method and apparatusfor providing report of business intelligence | |
US20060112083A1 (en) | Object relation information management program, method, and apparatus | |
CN115826828B (en) | Network disk file operation method, device, terminal and storage medium | |
CN115022201B (en) | Data processing function test method, device, equipment and storage medium | |
CN115292415A (en) | Database access method and device | |
US20130218851A1 (en) | Storage system, data management device, method and program | |
CN115729463A (en) | Data migration method, system and related device | |
US8484182B1 (en) | Wireless device content searching | |
CN109996089B (en) | Method and system for processing operation log and streaming media server | |
CN114328180A (en) | Interface automation test method, system, 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |