CN112486389A - Configuration file uploading method and device - Google Patents

Configuration file uploading method and device Download PDF

Info

Publication number
CN112486389A
CN112486389A CN202011381451.6A CN202011381451A CN112486389A CN 112486389 A CN112486389 A CN 112486389A CN 202011381451 A CN202011381451 A CN 202011381451A CN 112486389 A CN112486389 A CN 112486389A
Authority
CN
China
Prior art keywords
environment
configuration file
project
uploading
input
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.)
Pending
Application number
CN202011381451.6A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011381451.6A priority Critical patent/CN112486389A/en
Publication of CN112486389A publication Critical patent/CN112486389A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Abstract

The application discloses a configuration file uploading method and device, and belongs to the technical field of communication. The configuration file uploading method comprises the following steps: receiving a first input of a user; uploading a target configuration file in a first project environment to a second project environment in response to the first input; the first project environment is arranged in the first electronic equipment, and the second project environment is arranged in the second electronic equipment. According to the technical scheme provided by the embodiment of the application, the problem that when the configuration file is uploaded among various project environments in the prior art, the configuration file is downloaded or uploaded mistakenly due to manual misoperation can be solved to a certain extent.

Description

Configuration file uploading method and device
Technical Field
The application belongs to the technical field of communication, and particularly relates to a configuration file uploading method and device.
Background
At present, most companies differentiate project environments, such as a development environment, a testing environment, a pre-release environment, and a production environment (i.e., an online environment), and the project environments are physically isolated from each other, i.e., disposed in different electronic devices.
In the prior art, a worker needs to manually switch project environments according to an environment for issuing a configuration file, that is: it is necessary for a worker to download a configuration file from one project environment and then upload it to another project environment. However, during the downloading or uploading process, it is easy to download or upload the wrong configuration file due to the manual misoperation, such as the configuration file a should be uploaded, and as a result, the configuration file B is uploaded due to the manual selection error.
Disclosure of Invention
The embodiment of the application aims to provide a configuration file uploading method and device, which can solve the problem that in the prior art, when a configuration file is uploaded between project environments, an incorrect configuration file is downloaded or uploaded due to manual misoperation.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a method for uploading a configuration file, where the method for uploading the configuration file includes:
receiving a first input of a user;
uploading a target configuration file in a first project environment to a second project environment in response to the first input; the first project environment is arranged in the first electronic equipment, and the second project environment is arranged in the second electronic equipment.
In a second aspect, an embodiment of the present application provides a configuration file uploading apparatus, where the configuration file uploading apparatus includes:
the receiving module is used for receiving a first input of a user;
an upload module for uploading a target configuration file in a first project environment to a second project environment in response to the first input; the first project environment is arranged in the first electronic equipment, and the second project environment is arranged in the second electronic equipment.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor, a memory, and a program or instructions stored on the memory and executable on the processor, which when executed by the processor, implement the steps in the profile uploading method according to the first aspect.
In a fourth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, and when executed by a processor, the program or instructions implement the steps of the configuration file uploading method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the configuration file uploading method according to the first aspect.
In the embodiment of the application, a user only needs to perform a first input operation on the first electronic device, and after the configuration file uploading processing operation is triggered, the first electronic device can automatically upload the target configuration file in the first project environment to the second project environment, so that manual operation of downloading and uploading the configuration file is omitted, and the situation that the configuration file is mistakenly downloaded or uploaded due to manual misoperation can be avoided.
Drawings
Fig. 1 is a schematic flowchart of a configuration file uploading method according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of an example provided by an embodiment of the present application;
fig. 3 is a block diagram of a configuration file uploading apparatus provided in an embodiment of the present application;
FIG. 4 is a block diagram of an electronic device provided by an embodiment of the application;
fig. 5 is a second schematic block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
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 some, but not all, embodiments of the present application. 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.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in other sequences than those illustrated or otherwise described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense to distinguish one object from another, and not necessarily to limit the number of objects, e.g., the first object may be one or more. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The configuration file uploading method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a flowchart illustrating a configuration file uploading method provided in an embodiment of the present application, where the configuration file uploading method is applied to a first electronic device.
As shown in fig. 1, the configuration file uploading method may include:
step 101: a first input is received from a user.
The first input described herein is targeted to the first electronic device, and may include but is not limited to: touch input operation (such as touch input operation on a touch panel or physical keys), voice input operation, and gesture input operation over air.
Step 102: in response to the first input, a target profile in the first project environment is uploaded into the second project environment.
The first project environment is arranged in the first electronic device, and the second project environment is arranged in the second electronic device. A communication connection is established between the first electronic device and the second electronic device.
In the embodiment of the application, the first input is used for controlling the uploading processing operation of the configuration file, so that the first electronic device controls the uploading of the target configuration file in the first project environment to the second project environment after receiving the first input operation of the user.
In the embodiment of the application, a user only needs to perform a first input operation on the first electronic device, and after the configuration file uploading processing operation is triggered, the first electronic device can automatically upload the target configuration file in the first project environment to the second project environment, so that manual operation of downloading and uploading the configuration file is omitted, and the situation that the configuration file is mistakenly downloaded or uploaded due to manual misoperation can be avoided. In addition, the configuration file uploading processing operation is triggered by the user, so that the user can conveniently check the configuration file in advance, and the accuracy of the uploaded configuration file is further ensured.
Optionally, in this embodiment of the present application, the first project environment is a development environment, a test environment, or a pre-release environment. Wherein, under the condition that the first project environment is a development environment, the second project environment is a test environment; under the condition that the first project environment is a test environment, the second project environment is a pre-release environment or a production environment; in the case where the first project environment is a pre-release environment, the second project environment is a production environment. The technical scheme provided by the embodiment of the application can be applied to the configuration file uploading application scene among different project environments, and the accuracy of uploading the configuration file can be improved while the working efficiency of workers is improved.
Optionally, in a case where the first project environment is a test environment and the second project environment is a production environment, step 101: receiving a first input by a user may include:
in an instance in which it is determined that the target profile is validated in the test environment, a first input is received from a user.
Wherein the first input is for controlling uploading of the target profile from the test environment to the production environment and validating the target profile in the production environment. In this embodiment, the first electronic device is a test server, and the second electronic device is a formal server.
After the worker completes the programming work of the configuration file, the configuration file needs to be uploaded to a test environment in the test server to verify the configuration file. After the configuration file is verified and the verification is passed, the worker may perform a first input operation on the test server, so that the target configuration file is uploaded to the production environment and becomes effective in the production environment. Wherein, effective in a production environment means: the user may download the configuration file from the production environment into the user device.
Optionally, the first input may also control the target configuration file to take effect in the production environment in a delayed manner, that is, after the target configuration file is uploaded to the production environment, the target configuration file takes effect after a preset time period (greater than 0 second) is delayed, so that a time for a worker to perform recheck on the target configuration file in the production environment may be reserved, so as to further ensure accuracy of the configuration file and reduce a probability of an accident occurring in the production environment, and therefore, the delayed preset time period may be set according to a possibly required check time. It will be appreciated that the first input may also merely control the uploading of the target profile from the test environment to the production environment without controlling the validation of the target profile in the production environment, which may be controlled manually, for example, by a worker in the event that the worker checks the target profile in the production environment without problems, such as triggering a validation control button. It will also be appreciated that the first input may also control the target profile to be validated in the test environment at the same time as controlling the uploading of the target profile from the test environment to the production environment and validating the target profile in the production environment.
Optionally, in the case that the first project environment is a test environment and the second project environment is a production environment, step 102: uploading a target profile in a first project environment into a second project environment in response to a first input may include:
in response to the first input, acquiring a target configuration file from the test environment through a remote procedure call interface; and uploading the interface to the production environment file of the second electronic device, and sending the target configuration file.
In the embodiment of the application, a Remote Procedure Call (RPC) interface may be used to extract the configuration file from the test environment, and a file upload interface of the production environment is called remotely, and the target configuration file is sent to the file upload interface, so that the target configuration file may be uploaded to the production environment, thereby implementing Remote synchronization and Remote validation of the target configuration file.
Optionally, step 101: receiving a first input by a user may include: and receiving a first input of a user to a target key corresponding to the target configuration file.
In the embodiment of the application, a virtual key (i.e., a target key) for controlling uploading of the configuration file may be generated for each configuration file, and after the virtual key is triggered, the configuration file may be automatically synchronized from the current project environment to another project environment. One configuration file corresponds to one target key, so that the uploading accuracy of the configuration file can be improved. It can be understood that the target key may also be an entity key, and after the entity key is triggered, the current configuration file is uploaded.
Optionally, in this embodiment of the present application, the target configuration file may include, but is not limited to: at least one of an application configuration file and an operating system configuration file. The application configuration file may be an upgrade configuration file of some function or functions of the application, a bug fix configuration file of the application, or the like. The configuration file for the operating system may be an upgrade configuration file of the operating system, or the like.
In order to better understand the technical solutions provided by the embodiments of the present application, the following takes synchronization of the target configuration file between the test environment and the production environment as an example to further explain.
As shown in fig. 2, the exemplary process includes the following steps:
step 201: and uploading the target configuration file to a test environment.
And uploading the target configuration file to a test environment in the test server by the staff. The staff may select to upload the target configuration file of the custom file type manually, or may automatically generate a certain type of target configuration file through a production file tool provided by the test server, for example: black/white lists (control applications), standard types (providing core configuration parameters for the user equipment system), etc.
Step 202: the functionality of the target configuration file is verified in the test environment.
The verification of the configuration files requires specific verification according to the function of each configuration file, so that a worker can use a tester to download the target configuration files uploaded to the test environment and verify the specific functions thereof. If the function corresponding to the target configuration file can be realized, the target configuration file can be considered to pass the verification, and the staff can enable the target configuration file to be in a state of passing the verification by triggering the key of passing the verification. The main functions of the configuration file may include: the method comprises the steps of controlling application program parameters, collecting mobile phone logs of mobile phone users, providing data for mobile phone built-in applications and the like.
Step 203: and validating the target configuration file after passing the verification.
After the target configuration file is verified, the worker may validate the target configuration file on the management background of the test server, for example, the worker may validate the target configuration file by clicking a validation button. After the target configuration file takes effect, the staff can acquire the target configuration file from the test environment through the user equipment, and corresponding functions can be generated after the target configuration file is downloaded to the user equipment, so that the staff can further check and verify the target configuration file.
Step 204: synchronizing the validated target profile to the production environment.
The worker may select whether to synchronize the validated target profile to the production environment. At this time, a button for synchronizing the effective file is arranged on the management background of the test server, and if a worker triggers the button, the target configuration file can be automatically synchronized to the production environment of the formal server, and the target configuration file is enabled to be effective in the production environment, so that the user equipment can acquire the target configuration file from the production environment.
The synchronous validation mode can adopt a remote process call interface, extract configuration files and other related parameters from the test environment, and remotely call a production environment file upload interface of the formal server to realize a remote synchronous validation function.
It should be noted that, as can be seen from the foregoing examples, the technical solution provided in the embodiment of the present application may be applicable to synchronization between different project environments of a configuration file, and may also be applicable to synchronization between different project environments of other information associated with the configuration file, for example, synchronization between different project environments of indication information and the like used for indicating to which user devices the configuration file may be issued.
To sum up, in this embodiment of the application, when the target configuration file is uploaded from the first project environment to the second project environment, the work of downloading and uploading the target configuration file by the staff is not needed, the staff only needs to perform the first input operation on the first electronic device, and after the configuration file uploading processing operation is triggered, the first electronic device can automatically upload the target configuration file in the first project environment to the second project environment, so that the occurrence of the situation of downloading or uploading a wrong configuration file due to human misoperation can be avoided.
It should be noted that, in the configuration file uploading method provided in the embodiment of the present application, the execution main body may be a configuration file uploading apparatus, or a control module in the configuration file uploading apparatus for executing the configuration file uploading method. In the embodiment of the present application, a configuration file uploading apparatus executes a configuration file uploading method as an example, and the configuration file uploading apparatus provided in the embodiment of the present application is described.
Fig. 3 is a schematic block diagram of a configuration file uploading apparatus provided in an embodiment of the present application, where the configuration file uploading apparatus is applied to a first electronic device.
As shown in fig. 3, the configuration file uploading apparatus may include:
the receiving module 301 is configured to receive a first input of a user.
An upload module 302 for uploading a target configuration file in a first project environment to a second project environment in response to the first input.
The first project environment is arranged in the first electronic equipment, and the second project environment is arranged in the second electronic equipment.
Optionally, the first project environment is a development environment, a testing environment, or a pre-release environment; in the case that the first project environment is a development environment, the second project environment is a test environment; under the condition that the first project environment is a test environment, the second project environment is a pre-release environment or a production environment; in a case where the first project environment is a pre-release environment, the second project environment is a production environment.
Optionally, in a case that the first project environment is a test environment and the second project environment is a production environment, the receiving module 301 includes:
the first receiving unit is used for receiving a first input of a user under the condition that the target configuration file is determined to be verified in the test environment.
Wherein the first input is to control uploading of the target profile from the test environment to the production environment and validating the target profile in the production environment.
Optionally, in a case that the first project environment is a test environment and the second project environment is a production environment, the uploading module 302 includes:
an obtaining unit, configured to obtain the target configuration file from the test environment through a remote procedure call interface in response to the first input.
And the sending unit is used for uploading an interface to the production environment file of the second electronic equipment and sending the target configuration file.
Optionally, the receiving module 301 includes:
and the second receiving unit is used for receiving a first input of a user to a target key corresponding to the target configuration file.
Optionally, the target configuration file includes: at least one of an application configuration file and an operating system configuration file.
To sum up, in this embodiment of the application, when the target configuration file is uploaded from the first project environment to the second project environment, the work of downloading and uploading the target configuration file by the staff is not needed, the staff only needs to perform the first input operation on the first electronic device, and after the configuration file uploading processing operation is triggered, the first electronic device can automatically upload the target configuration file in the first project environment to the second project environment, so that the occurrence of the situation of downloading or uploading a wrong configuration file due to human misoperation can be avoided.
The configuration file uploading device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The configuration file uploading device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The configuration file uploading device provided in the embodiment of the present application can implement each process implemented by the configuration file uploading method embodiment shown in fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 4, an electronic device 400 is further provided in this embodiment of the present application, and includes a processor 401, a memory 402, and a program or an instruction stored in the memory 402 and executable on the processor 401, where the program or the instruction is executed by the processor 401 to implement each process of the above-mentioned configuration file uploading method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 500 includes, but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor 510, and the like.
Those skilled in the art will appreciate that the electronic device 500 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein, the user input unit 507 is configured to: receiving a first input of a user; processor 510 is configured to: in response to the first input, uploading a target profile in the first project environment into the second project environment. The first project environment is arranged in the first electronic equipment, and the second project environment is arranged in the second electronic equipment.
Optionally, in a case that the first project environment is a test environment and the second project environment is a production environment, the user input unit 507 is configured to: receiving a first input from a user upon determining that the target profile verifies in the test environment. Wherein the first input is to control uploading of the target profile from the test environment to the production environment and validating the target profile in the production environment.
Optionally, in a case where the first project environment is a test environment and the second project environment is a production environment, processor 510 is configured to: in response to the first input, obtaining the target configuration file from the test environment through a remote procedure call interface; and uploading an interface to the production environment file of the second electronic device, and sending the target configuration file.
Optionally, the user input unit 507 is configured to: and receiving a first input of a user to a target key corresponding to the target configuration file.
In the embodiment of the application, when the target configuration file is uploaded to the second project environment from the first project environment, the work of downloading and uploading the target configuration file by a worker is not needed, the worker only needs to perform the first input operation on the first electronic device, and after the uploading processing operation of the configuration file is triggered, the first electronic device can automatically upload the target configuration file in the first project environment to the second project environment, so that the situation that the wrong configuration file is downloaded or uploaded due to manual misoperation can be avoided.
It should be understood that in the embodiment of the present application, the input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes a touch panel 5071 and other input devices 5072. A touch panel 5071, also referred to as a touch screen. The touch panel 5071 may include two parts of a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in further detail herein. The memory 509 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. Processor 510 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned configuration file uploading method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above configuration file uploading method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM, RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. A configuration file uploading method is applied to first electronic equipment and is characterized by comprising the following steps:
receiving a first input of a user;
uploading a target configuration file in a first project environment to a second project environment in response to the first input; the first project environment is arranged in the first electronic equipment, and the second project environment is arranged in the second electronic equipment.
2. The configuration file uploading method according to claim 1, wherein the first project environment is a development environment, a test environment or a pre-release environment; in the case that the first project environment is a development environment, the second project environment is a test environment; under the condition that the first project environment is a test environment, the second project environment is a pre-release environment or a production environment; in a case where the first project environment is a pre-release environment, the second project environment is a production environment.
3. The method for uploading configuration file according to claim 1, wherein in case that the first project environment is a test environment and the second project environment is a production environment, the receiving a first input of a user comprises:
receiving a first input of a user in the event that the target profile is determined to be validated in the test environment;
wherein the first input is to control uploading of the target profile from the test environment to the production environment and validating the target profile in the production environment.
4. The method of claim 3, wherein in the case that the first project environment is a test environment and the second project environment is a production environment, the uploading the target configuration file in the first project environment to the second project environment in response to the first input comprises:
in response to the first input, obtaining the target configuration file from the test environment through a remote procedure call interface;
and uploading an interface to the production environment file of the second electronic equipment, and sending the target configuration file.
5. The method for uploading configuration file according to claim 1, wherein the receiving a first input from a user comprises:
and receiving a first input of a user to a target key corresponding to the target configuration file.
6. The profile uploading method according to claim 1, wherein the target profile comprises: at least one of an application configuration file and an operating system configuration file.
7. A configuration file uploading device is applied to a first electronic device, and is characterized by comprising:
the receiving module is used for receiving a first input of a user;
an upload module for uploading a target configuration file in a first project environment to a second project environment in response to the first input; the first project environment is arranged in the first electronic equipment, and the second project environment is arranged in the second electronic equipment.
8. The configuration file uploading device according to claim 7, wherein the first project environment is a development environment, a test environment or a pre-release environment; in the case that the first project environment is a development environment, the second project environment is a test environment; under the condition that the first project environment is a test environment, the second project environment is a pre-release environment or a production environment; in a case where the first project environment is a pre-release environment, the second project environment is a production environment.
9. The apparatus for uploading configuration file according to claim 7, wherein in a case where the first project environment is a test environment and the second project environment is a production environment, the receiving module comprises:
a first receiving unit, configured to receive a first input of a user if it is determined that the target configuration file is verified in the test environment;
wherein the first input is to control uploading of the target profile from the test environment to the production environment and validating the target profile in the production environment.
10. The apparatus for uploading configuration file according to claim 9, wherein in a case where the first project environment is a test environment and the second project environment is a production environment, the uploading module comprises:
an obtaining unit, configured to obtain the target configuration file from the test environment through a remote procedure call interface in response to the first input;
and the sending unit is used for uploading an interface to the production environment file of the second electronic equipment and sending the target configuration file.
11. The device for uploading configuration file according to claim 7, wherein the receiving module comprises:
and the second receiving unit is used for receiving a first input of a user to a target key corresponding to the target configuration file.
12. The profile uploading method according to claim 7, wherein the target profile comprises: at least one of an application configuration file and an operating system configuration file.
13. An electronic device, comprising: a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps in the profile uploading method according to any of claims 1 to 6.
14. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps in the profile uploading method according to any of claims 1 to 6.
CN202011381451.6A 2020-11-30 2020-11-30 Configuration file uploading method and device Pending CN112486389A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011381451.6A CN112486389A (en) 2020-11-30 2020-11-30 Configuration file uploading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011381451.6A CN112486389A (en) 2020-11-30 2020-11-30 Configuration file uploading method and device

Publications (1)

Publication Number Publication Date
CN112486389A true CN112486389A (en) 2021-03-12

Family

ID=74938390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011381451.6A Pending CN112486389A (en) 2020-11-30 2020-11-30 Configuration file uploading method and device

Country Status (1)

Country Link
CN (1) CN112486389A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255708A (en) * 2017-12-14 2018-07-06 海尔优家智能科技(北京)有限公司 Method, apparatus, storage medium and the equipment of production file are accessed in test environment
CN108270591A (en) * 2016-12-30 2018-07-10 华为技术有限公司 A kind of method and relevant device of Configuration network equipment
CN108334340A (en) * 2017-07-17 2018-07-27 阿里巴巴集团控股有限公司 A kind of Cross-environment data communications method, device and system
CN108551487A (en) * 2018-04-26 2018-09-18 Oppo广东移动通信有限公司 Application dispositions method, device, server and the storage medium of PaaS platform
CN109471797A (en) * 2018-10-23 2019-03-15 深圳市佰仟金融服务有限公司 A kind of environment configurations management method, system and terminal device
CN109684201A (en) * 2018-11-26 2019-04-26 平安科技(深圳)有限公司 It is switched fast the method, apparatus, computer equipment and storage medium of running environment
CN110046094A (en) * 2019-03-15 2019-07-23 北京创鑫旅程网络技术有限公司 The switching method of running environment and the switching device of running environment
CN110059001A (en) * 2019-03-15 2019-07-26 平安普惠企业管理有限公司 The automatic upgrade control method of program, device, computer equipment and storage medium
CN110569188A (en) * 2019-08-14 2019-12-13 平安普惠企业管理有限公司 method and device for automatically switching test environment, computer equipment and storage medium
CN110764835A (en) * 2019-09-18 2020-02-07 平安科技(深圳)有限公司 File configuration method and device of application environment, computer equipment and storage medium
CN111767089A (en) * 2020-06-28 2020-10-13 北京百度网讯科技有限公司 Method, device and equipment for loading file and storage medium
CN111831325A (en) * 2020-07-17 2020-10-27 中国工商银行股份有限公司 Method, device, system and medium for updating configuration file in application
CN111949513A (en) * 2020-07-09 2020-11-17 中国建设银行股份有限公司 Configuration file loading method and device, electronic equipment and readable storage device

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108270591A (en) * 2016-12-30 2018-07-10 华为技术有限公司 A kind of method and relevant device of Configuration network equipment
CN108334340A (en) * 2017-07-17 2018-07-27 阿里巴巴集团控股有限公司 A kind of Cross-environment data communications method, device and system
CN108255708A (en) * 2017-12-14 2018-07-06 海尔优家智能科技(北京)有限公司 Method, apparatus, storage medium and the equipment of production file are accessed in test environment
CN108551487A (en) * 2018-04-26 2018-09-18 Oppo广东移动通信有限公司 Application dispositions method, device, server and the storage medium of PaaS platform
CN109471797A (en) * 2018-10-23 2019-03-15 深圳市佰仟金融服务有限公司 A kind of environment configurations management method, system and terminal device
CN109684201A (en) * 2018-11-26 2019-04-26 平安科技(深圳)有限公司 It is switched fast the method, apparatus, computer equipment and storage medium of running environment
CN110046094A (en) * 2019-03-15 2019-07-23 北京创鑫旅程网络技术有限公司 The switching method of running environment and the switching device of running environment
CN110059001A (en) * 2019-03-15 2019-07-26 平安普惠企业管理有限公司 The automatic upgrade control method of program, device, computer equipment and storage medium
CN110569188A (en) * 2019-08-14 2019-12-13 平安普惠企业管理有限公司 method and device for automatically switching test environment, computer equipment and storage medium
CN110764835A (en) * 2019-09-18 2020-02-07 平安科技(深圳)有限公司 File configuration method and device of application environment, computer equipment and storage medium
CN111767089A (en) * 2020-06-28 2020-10-13 北京百度网讯科技有限公司 Method, device and equipment for loading file and storage medium
CN111949513A (en) * 2020-07-09 2020-11-17 中国建设银行股份有限公司 Configuration file loading method and device, electronic equipment and readable storage device
CN111831325A (en) * 2020-07-17 2020-10-27 中国工商银行股份有限公司 Method, device, system and medium for updating configuration file in application

Similar Documents

Publication Publication Date Title
CN106062763B (en) Method and device for displaying application and picture and electronic equipment
EP2879028A1 (en) Electronic device unlocking method and device thereof
CN112148198B (en) Display method and device of payment interface and electronic equipment
US20140258989A1 (en) Method and system for automating a scene-based test
CN107329659B (en) Permission setting method and device, electronic equipment and storage medium
CN105700869B (en) Control method, information processing method, related device and electronic equipment
CN112417420A (en) Information processing method and device and electronic equipment
CN112399006B (en) File sending method and device and electronic equipment
CN112416200A (en) Display method, display device, electronic equipment and readable storage medium
CN112486444A (en) Screen projection method, device, equipment and readable storage medium
CN111949192A (en) Password input prompting method and device and electronic equipment
CN111694490A (en) Setting method and device and electronic equipment
CN112948048A (en) Information processing method, information processing device, electronic equipment and storage medium
CN112181559A (en) Interface display method and device and electronic equipment
CN112465497A (en) Payment method, payment device, electronic equipment and medium
US10114518B2 (en) Information processing system, information processing device, and screen display method
CN112486389A (en) Configuration file uploading method and device
CN112312021B (en) Shooting parameter adjusting method and device
CN112558833B (en) Application running method and device and electronic equipment
CN111596980B (en) Information processing method and device
CN114138395A (en) Application management method and device and electronic equipment
CN107566471B (en) Remote control method and device and mobile terminal
CN114079658A (en) Cross-device synchronization method, terminal device and storage medium
CN113162840B (en) Display method, display device, electronic apparatus, and readable storage medium
CN113115287B (en) Data transmission method and device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210312