Unlock instant, AI-driven research and patent intelligence for your innovation.

A code synchronization method, device and system

A technology of synchronizing device and synchronizing system, applied in transmission system, version control, electrical components, etc., can solve problems affecting efficiency, convenience, long time, etc.

Active Publication Date: 2022-03-01
深圳市圣麾科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the prior art, software developers operate codes by using third-party open source tools. This method needs to manually input commands for backup, which takes a long time and requires software developers to back up and save code data. It needs to be named, and the storage space of the storage server also needs to be considered, which brings great inconvenience to software developers and affects the efficiency and convenience of their work

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A code synchronization method, device and system
  • A code synchronization method, device and system
  • A code synchronization method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] This embodiment provides a code synchronization device, which obtains user identification information and code data to be synchronized by setting an information acquisition module, then transmits the acquired information data to a version number generation module to generate a version number, and finally passes the data packet The generation and sending module packs the version number and code data into a synchronous code data package, saves the code data package and sends it to the code synchronization target device for storage; it solves the problem that software developers need to backup and save the code data in the prior art It needs to be named, and the storage space of the storage server also needs to be considered, which causes technical problems that affect the efficiency and convenience of software developers' work.

[0039] Specifically, refer to figure 2 , in this embodiment, the code synchronization device includes: an information data acquisition module, ...

Embodiment 2

[0041] Such as image 3 As shown, the embodiment of the present invention provides a code synchronization system, which includes a computer, the code synchronization device as described in Embodiment 1, and a first GIT server. In this embodiment, the computer is respectively connected to the first GIT server and the second GIT server, and the first GIT server is connected to the second GIT server.

[0042] Specifically, when the computer performs a code synchronization operation, the computer sends the user identification information (namely the user name) and the code data to be synchronized to the second GIT server, and the second GIT server performs a code synchronization as in the embodiment according to the received information data. The work of the device generates a synchronous code data packet, and a code warehouse is provided in the second GIT server, and the generated synchronous code data packet is saved in the code warehouse and then sent to the synchronous code wa...

Embodiment 3

[0045] refer to figure 1 , this embodiment provides a code synchronization method, which includes:

[0046] S1, acquiring user identification information and code data to be synchronized;

[0047] S2, generating a version number according to the user identification information and code data;

[0048] S3, packing the version number and code data into a synchronization code data packet, and sending it to the code synchronization target device for storage.

[0049] specific:

[0050]The code data generation version number specifically includes:

[0051] After the code data is obtained, a version number is automatically generated according to the user identification information, the time information of obtaining the code data, and the content information of the code data.

[0052] Obtain user identification information and code data to be synchronized as follows:

[0053] The name of the user is obtained as the user identification information, and the code data to be synchron...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a code synchronization method, device and system, wherein, the code synchronization method obtains user identification information and code data to be synchronized, and after generating a corresponding version number according to the user identification information and code data, the version number and The code data is packaged into a synchronization code data package and sent to the code synchronization target device for storage; it solves the problem that in the prior art, when software developers perform code storage and backup, they not only need to name the saved files, but also need to consider the storage server’s The size of the storage space leads to the technical problems of long time-consuming, low efficiency and cumbersome process; it provides an efficient, convenient and time-saving code synchronization method.

Description

technical field [0001] The invention relates to the technical field of data backup synchronization, in particular to a code synchronization method, device and system. Background technique [0002] GIT: It is an open source distributed version control system that can effectively and quickly handle project version management from very small to very large. [0003] With the continuous development and wide application of Internet technology, the work content and complexity of software R&D personnel are also increasing. How to solve the problem of quickly and conveniently backing up, saving, and synchronizing the generated code when software R&D personnel conduct research and development work Technical issues to overcome. [0004] In the prior art, software developers operate codes by using third-party open source tools. This method needs to manually input commands for backup, which takes a long time and requires software developers to back up and save code data. It needs to be...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L67/1095G06F8/71
CPCH04L67/1095G06F8/71
Inventor 王运峰
Owner 深圳市圣麾科技有限公司