Data exchange method, device, server and storage medium
A data exchange and data technology, applied in the computer field, can solve problems such as low efficiency, achieve the effect of improving efficiency, avoiding read and write operations and occupying server resources
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] figure 1 It is a flow chart of the data exchange method in Embodiment 1 of the present invention. This embodiment is applicable to the situation of implementing data exchange. The method can be executed by a data exchange device, which can be implemented in software and / or hardware, for example , the device can be configured in the server.
[0048] A schematic diagram is used to describe the data exchange method of the embodiment of the present invention as a whole. For details, see figure 2 . figure 2 It is a schematic diagram of the data exchange method in Embodiment 1 of the present invention. The directory names of the two data corresponding files to be exchanged are respectively A and B on the left side of the figure, and data exchange is realized by exchanging the directory names of the two data corresponding files. FIG. The directory names of the files corresponding to the two data after the data exchange on the right side of the center are B and A respective...
Embodiment 2
[0061] image 3 It is a flow chart of the data exchange method in Embodiment 2 of the present invention. In this embodiment, on the basis of the foregoing embodiments, the foregoing data exchange method is further optimized. Correspondingly, such as image 3 As shown, the method of this embodiment specifically includes:
[0062] S210. Receive a data exchange request, where the data exchange request includes an identifier of the first data to be exchanged and an identifier of the second data.
[0063] S220. Search for the first original directory name of the first data according to the identifier of the first data, and search for the second original directory name of the second data according to the identifier of the second data.
[0064] S230. Acquire the exchange transaction number, the directory information of the first data, and the directory information of the second data, and store the exchange transaction number, the directory information of the first data, and the di...
Embodiment 3
[0095] Figure 4 It is a flow chart of the data exchange method in the third embodiment of the present invention. Based on the foregoing embodiments, this embodiment further specifies the rollback operation in the data exchange method through an example. The method may specifically include:
[0096] S301, start.
[0097] Specifically, after the rollback request is detected, the rollback operation is started.
[0098] S302. Obtain information in the rollback log.
[0099] The information of the rollback log stored during data exchange is obtained, and the rollback log may include log type, exchange transaction number, directory information of the first data, and directory information of the second data.
[0100] S303. Whether there is a first temporary directory name.
[0101] Since the first temporary directory name will be generated in the data exchange process, judge whether there is a first temporary directory name, if it exists, it means that an abnormal situation occ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com