Vehicle circulation program synchronization method, storage medium and electronic equipment
Through the program synchronization method in the vehicle circulation industry, the code is obtained and submitted to multiple servers, the duplicate uploading problem of code modification is solved and the development efficiency is improved.
Patent Information
- Application Number
- CN202310830193.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-07
- Publication Date
- 2025-01-07
AI Technical Summary
In the vehicle circulation industry, developers need to submit the code to the storage server side, the test server side and the online server side respectively, resulting in the repeated upload operation of code modifications taking up a lot of time.
Provides a program synchronization method for vehicle circulation. By obtaining the original code of the storage server to the local area, and after modification, the code to be submitted to the storage server, the test server and the online server, reducing the number of upload operations of the code. The specific steps include obtaining the original code, obtaining the code to be submitted after local modification, and submitting it to each server side, and merging and adding notes on each server side.
It reduces the workload of multiple uploads of code, improves the work efficiency of developers, and simplifies the code synchronization process.
Smart Images

Figure CN119271213A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computers, and in particular to a synchronization method, storage medium and electronic device for vehicle circulation programs. Background Art
[0002] In the vehicle circulation industry, in order to realize the online selection of used vehicles, the program codes of the storage server, test server and online server are constantly iterated, and various bugs in the code operation are modified. When the technicians modify the bugs, they have to submit the code to the storage server, test server and online server respectively. In other words, the same piece of code has to be uploaded three times, which takes up the time of developers. Summary of the invention
[0003] In view of this, an embodiment of the present invention provides a method for synchronizing programs circulated in vehicles, a storage medium, and an electronic device.
[0004] In a first aspect, the present invention aims to provide a method for synchronizing a program of vehicle circulation, comprising: Get the original code of the storage service locally; Modifying the original code locally to obtain the code to be submitted; Submit the code to be submitted to the storage server; Submit the code to be submitted to the test server; Submit the code to be submitted to the online server.
[0005] Preferably, submitting the code to be submitted to the storage server includes: Add the code to be submitted to the cache; Add a note to the code to be submitted; Submit the code and notes to be submitted to the storage server.
[0006] Preferably, submitting the code to be submitted to the test server includes: Switch to the test server; Get the test server code locally; Merge the code to be submitted into the local test server code file and add comments; Submit the code to be submitted to the test server.
[0007] Preferably, submitting the code to be submitted to the online server includes: Switch to the online server; Get the online server code locally; Merge the code to be submitted into the local online server code file and add comments; Submit the code to be submitted to the online server.
[0008] In a second aspect, an embodiment of the present invention provides a computer-readable storage medium for storing computer program instructions, wherein the computer program instructions implement any of the above-described methods when executed by a processor.
[0009] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a memory and a processor, characterized in that the memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to communicate with a server to implement any of the methods described above.
[0010] The embodiment of the present invention reduces the workload of uploading codes multiple times and improves efficiency by acquiring the original code from the storage server locally; modifying the original code locally to obtain the code to be submitted; submitting the code to be submitted to the storage server; submitting the code to be submitted to the test server; and submitting the code to be submitted to the online server. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which: Figure 1 is a flow chart of a program synchronization method according to an embodiment of the present invention; Figure 2 is a flow chart of submitting the code to be submitted to the storage server according to an embodiment of the present invention; Figure 3 The embodiment of the present invention is to submit the code to be submitted to the test server; Figure 4 The embodiment of the present invention is to submit the code to be submitted to the online server; Figure 5 is a schematic diagram of an electronic device according to some embodiments of the present invention. Implementation
[0012] The present invention is described below based on embodiments, but the present invention is not limited to these embodiments. In the detailed description of the present invention below, some specific details are described in detail. It is possible for a person skilled in the art to fully understand the present invention without the description of these details. In order to avoid confusing the essence of the present invention, known methods, processes, flows, components and circuits are not described in detail.
[0013] In addition, persons of ordinary skill in the art will appreciate that the drawings provided herein are for illustration purposes and are not necessarily drawn to scale.
[0014] Unless the context clearly requires otherwise, words such as “include”, “including” and the like in the specification should be interpreted as including rather than being exclusive or exhaustive; that is, as meaning “including but not limited to”.
[0015] In the description of the present invention, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, "plurality" means two or more.
[0016] Figure 1 is a flowchart of a program synchronization method according to an embodiment of the present invention, referring to Figure 1 , The program synchronization method according to the embodiment of the present invention includes steps 100 to 500.
[0017] Step 100: Get the original code of the storage service client to the local computer. Since the original code of the storage service client has a bug, it is necessary to modify the existing bug. First, get the original code to the local computer.
[0018] Step 200: Modify the original code locally to obtain the code to be submitted. Locally, fix the bugs in the original code to obtain the code to be submitted.
[0019] Step 300: Submit the code to be submitted to the storage server.
[0020] Step 400: Submit the code to be submitted to the test server.
[0021] Step 500: Submit the code to be submitted to the online server.
[0022] Step 300 includes three sub-steps, namely step 310, step 320 and step 330.
[0023] Step 310: Add the code to be submitted to the cache.
[0024] Step 320: Add a note to the code to be submitted.
[0025] Step 330: Submit the code and remarks to be submitted to the storage server.
[0026] Through steps 310, 320 and 330, the code to be submitted according to the embodiment of the present invention is submitted to the storage server.
[0027] Step 400 includes four sub-steps, namely step 410, step 420, step 430 and step 440.
[0028] Step 410: Switch to the test server.
[0029] Step 420: Get the test server-side code locally.
[0030] Step 430: merge the code to be submitted into the local test server-side code file and add comments.
[0031] Step 440: Submit the code to be submitted to the test server.
[0032] Step 500 includes five sub-steps, namely step 510, step 520, step 530 and step 550.
[0033] Step 510: Switch to the online server.
[0034] Step 520: Get the online server code locally.
[0035] Step 530: merge the code to be submitted into the local online server code file and add comments.
[0036] Step 550: Submit the code to be submitted to the online server.
[0037] Figure 5 is a schematic diagram of an electronic device according to some embodiments of the present invention.
[0038] like Figure 5 The electronic device 5 shown includes a general hardware structure to execute the button processing method according to some embodiments of the present invention, which at least includes a processor 51 and a memory 52. The processor 51 and the memory 52 are connected via a bus 53. The memory 52 is suitable for instructions or programs executable by the multi-signal source window interaction method 5 of some embodiments of the present invention. The processor 51 can be an independent microprocessor or a collection of one or more microprocessors. Thus, the processor 51 executes the button processing method according to some embodiments of the present invention by executing the instructions stored in the memory 52. The bus 53 connects the above-mentioned multiple components together, and at the same time connects the above-mentioned components to the display controller 55 and the display device and the input / output (I / O) device 55. The input / output (I / O) device 55 can be a mouse, a keyboard, a modem, a network interface (for example, connected to the network interface for communication with a server), a touch input device (for example, receiving a target signal source window through touch input), a somatosensory input device, a printer, and other devices known in the art.
[0039] The present application is described with reference to flowcharts of methods, apparatuses (devices) and computer program products according to embodiments of the present application. It should be understood that each process in the flowchart can be implemented by computer program instructions.
[0040] These computer program instructions may be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device that implements the process Figure 1 A function specified in a process or multiple processes.
[0041] These computer program instructions may also be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce the instructions for implementing the process Figure 1 A device that specifies functions in a process or multiple processes.
[0042] Another embodiment of the present invention relates to a non-volatile readable storage medium for storing a computer-readable program, wherein the computer-readable program is used to enable a computer to execute some or all of the above method embodiments.
[0043] That is, those skilled in the art can understand that all or part of the steps in the method for implementing the above embodiments can be completed by specifying relevant hardware through a program, and the program is stored in a readable storage medium, including several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned readable storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0044] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for synchronizing a vehicle circulation program, characterized in that: The method comprises: Get the original code of the storage service locally; Modifying the original code locally to obtain the code to be submitted; Submit the code to be submitted to the storage server; Submit the code to be submitted to the test server; Submit the code to be submitted to the online server.
2. The method according to claim 1, characterized in that Submitting the code to be submitted to the storage server includes: Add the code to be submitted to the cache; Add a note to the code to be submitted; Submit the code and notes to be submitted to the storage server.
3. The method according to claim 1, characterized in that Submitting the code to be submitted to the test server includes: Switch to the test server; Get the test server code locally; Merge the code to be submitted into the local test server code file and add comments; Submit the code to be submitted to the test server.
4. The method according to claim 1, characterized in that Submitting the code to be submitted to the online server includes: Switch to the online server; Get the online server code locally; Merge the code to be submitted into the local online server code file and add comments; Submit the code to be submitted to the online server.
5. A computer-readable storage medium for storing computer program instructions, characterized in that: The computer program instructions implement the method according to any one of claims 1 to 4 when executed by a processor.
6. An electronic device comprising a memory and a processor, characterized in that: The memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to communicate with the server to implement the method according to any one of claims 1-4.