CN112230986A - Project file generation method and device, electronic equipment and computer readable medium - Google Patents

Project file generation method and device, electronic equipment and computer readable medium Download PDF

Info

Publication number
CN112230986A
CN112230986A CN202011172924.1A CN202011172924A CN112230986A CN 112230986 A CN112230986 A CN 112230986A CN 202011172924 A CN202011172924 A CN 202011172924A CN 112230986 A CN112230986 A CN 112230986A
Authority
CN
China
Prior art keywords
target
information
file
determining
frame information
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
CN202011172924.1A
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.)
Beijing 58 Information Technology Co Ltd
Original Assignee
Beijing 58 Information Technology 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 Beijing 58 Information Technology Co Ltd filed Critical Beijing 58 Information Technology Co Ltd
Priority to CN202011172924.1A priority Critical patent/CN112230986A/en
Publication of CN112230986A publication Critical patent/CN112230986A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design

Abstract

The embodiment of the disclosure discloses a project file generation method, a project file generation device, electronic equipment and a computer readable medium. One embodiment of the method comprises: acquiring target frame information and target configuration information corresponding to a target item, wherein the target frame information is contained in a candidate frame information set; performing multi-frame packaging processing on the candidate frame information set, the target frame information and the target configuration information to generate a target configuration file; determining target service information according to the target configuration file; and performing multi-packer packaging processing on the packer information set, the target configuration file and the target service information to generate a target project file. The implementation mode reduces the development threshold, improves the development efficiency and ensures that developers develop in a stable and uniform environment.

Description

Project file generation method and device, electronic equipment and computer readable medium
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a project file generation method, a project file generation device, electronic equipment and a computer readable medium.
Background
The project file generation is a method for generating a front-end project file through various technologies, frameworks and solutions. At present, when a project file is generated, the method generally adopted is as follows: packaging is performed only for a specific front-end framework in combination with the packager and the auxiliary tool to generate a front-end project file.
However, when the project file is generated in the above manner, there are often technical problems as follows:
firstly, the differences of project frames required by different front-end projects are large, and the development environment configuration is complicated, so that the learning cost of front-end project developers is high, and it is difficult to ensure that each developer develops in a stable and uniform environment, so that the development threshold is high, and the development efficiency is low;
secondly, the expansibility of the front-end frame and the packer is weak, that is, the lateral expansion capability of the front-end frame type and the lateral expansion capability of the packer type are weak, so that the development of the development team technology stack is difficult to realize virtuous circle.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. Some embodiments of the present disclosure propose project file generation methods, apparatuses, electronic devices, and computer-readable media to solve one or more of the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide a project file generation method, including: and acquiring target frame information and target configuration information corresponding to the target item, wherein the target frame information is contained in the candidate frame information set. And performing multi-frame packaging processing on the candidate frame information set, the target frame information and the target configuration information to generate a target configuration file. And determining target service information according to the target configuration file. And performing multi-packer packaging processing on the packer information set, the target configuration file and the target service information to generate a target project file.
In a second aspect, some embodiments of the present disclosure provide a project file generating apparatus, the apparatus including: the acquisition unit is configured to acquire target frame information and target configuration information corresponding to a target item, wherein the target frame information is included in the candidate frame information set. And the first packaging unit is configured to perform multi-frame packaging processing on the candidate frame information set, the target frame information and the target configuration information to generate a target configuration file. And the determining unit is configured to determine the target service information according to the target configuration file. And the second packaging unit is configured to perform multi-packager packaging processing on the packager information set, the target configuration file and the target service information to generate a target project file.
In a third aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement the method described in any of the implementations of the first aspect.
In a fourth aspect, some embodiments of the present disclosure provide a computer readable medium on which a computer program is stored, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect.
The above embodiments of the present disclosure have the following advantages: the project files obtained by the project file generation method of some embodiments of the disclosure can reduce development threshold to a certain extent, improve development efficiency and ensure that developers develop in a stable and uniform environment. Specifically, the reasons for the higher development threshold and the lower development efficiency are: the project frameworks required by different front-end projects are large in difference, and the development environment is complex to configure. Based on this, the project file generation method of some embodiments of the present disclosure not only encapsulates each candidate frame information in the candidate frame information set into the target configuration file, so that the same target configuration file can support multiple front-end frames, thereby enabling the project developer to flexibly switch the used front-end frames in the project development process. And packaging each packager information in the packager information set into the target project file, so that the same target project file can support multiple packagers, and project developers can flexibly switch the used packagers in the project development process, and the applicability is stronger. Through the packaging processing, developers do not need to know the internal implementation of the environment configuration, do not need to care about the packaging process and concentrate on the business development. Furthermore, the development threshold is reduced to a certain extent, the development efficiency is improved, and developers are ensured to develop in a stable and uniform environment.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
FIG. 1 is a schematic illustration of one application scenario of a project file generation method according to some embodiments of the present disclosure;
FIG. 2 is a flow diagram of some embodiments of a project file generation method according to the present disclosure;
3-4 are diagrams of an application scenario of a project file generation method according to some embodiments of the present disclosure;
FIG. 5 is a flow diagram of still other embodiments of a project file generation method according to the present disclosure;
FIG. 6 is a schematic block diagram of some embodiments of a project file generation apparatus according to the present disclosure;
FIG. 7 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 is a schematic diagram of an application scenario of a project file generation method of some embodiments of the present disclosure.
In the application scenario of fig. 1, first, the computing device 101 may obtain target frame information 1021 and target configuration information 103 corresponding to a target item, where the target frame information 1021 is included in the candidate frame information set 102. Next, the computing device 101 may perform multi-frame packaging on the set of candidate frame information 102, the target frame information 1021, and the target configuration information 103 to generate a target configuration file 104. The computing device 101 may then determine the target service information 105 from the target profile 104 as described above. Finally, computing device 101 may perform a multi-packager packaging process on the set of packager information 106, the target configuration file 104, and the target service information 105 to generate a target project file 107.
The computing device 101 may be hardware or software. When the computing device is hardware, it may be implemented as a distributed cluster composed of multiple servers or terminal devices, or may be implemented as a single server or a single terminal device. When the computing device is embodied as software, it may be installed in the hardware devices enumerated above. It may be implemented, for example, as multiple software or software modules to provide distributed services, or as a single software or software module. And is not particularly limited herein.
It should be understood that the number of computing devices in FIG. 1 is merely illustrative. There may be any number of computing devices, as implementation needs dictate.
With continued reference to FIG. 2, a flow 200 of some embodiments of a project file generation method according to the present disclosure is shown. The project file generation method comprises the following steps:
step 201, acquiring target frame information and target configuration information corresponding to a target item.
In some embodiments, an execution subject of the project file generation method (e.g., the computing device 101 shown in fig. 1) may acquire the target framework information and the target configuration information corresponding to the target project through a wired connection manner or a wireless connection manner. Wherein the target frame information is included in a candidate frame information set. The wireless connection means may include, but is not limited to, a 3G/4G connection, a WiFi connection, a bluetooth connection, a WiMAX connection, a Zigbee connection, a uwb (ultra wideband) connection, and other wireless connection means now known or developed in the future. The candidate frame information may be information of a front-end frame that may be used in front-end project development. The target project may be a front-end development project that is being launched. The candidate frame information set may include, but is not limited to, at least one of: vue framework information, Angular framework information, React framework information, Svelte framework information. The target configuration information may be item configuration information of the target item. The target configuration information may include, but is not limited to, at least one of: user basic information of a project development user and project basic information. The user basic information of the project development user may include, but is not limited to, at least one of the following: the work number of the user and the department to which the user belongs. The item basic information may include, but is not limited to, at least one of: project starting time and project development time.
As an example, the above target frame information may be Vue frame information. The target configuration information may be [0397, front end development, 2020-04-05, 45 days ].
In some optional implementations of some embodiments, the target frame information is determined by: and determining the candidate frame information selected from the candidate frame information set by the target user as the target frame information.
In some optional implementations of some embodiments, the target configuration information is determined by: and determining the configuration information input by the target user as the target configuration information.
Step 202, performing multi-frame packaging processing on the candidate frame information set, the target frame information and the target configuration information to generate a target configuration file.
In some embodiments, the execution subject may perform multi-frame encapsulation processing on the candidate frame information set, the target frame information, and the target configuration information to generate a target configuration file. The multi-frame encapsulation process may refer to encapsulating each candidate frame information in the candidate frame information set into the target configuration file when the target configuration file is generated. In the implementation modes, each candidate frame information in the candidate frame information set is packaged into the target configuration file, so that the same target configuration file can support multiple front-end frames, and therefore, project developers can flexibly switch the used front-end frames in the project development process, and the applicability is stronger.
In some optional implementation manners of some embodiments, the performing by the executing entity performing multi-frame encapsulation processing on the candidate frame information set, the target frame information, and the target configuration information to generate a target configuration file may include the following steps:
the first step is to determine the configuration item information of each candidate frame information in the candidate frame information set to obtain a configuration item information set. The configuration item information may be used to ensure that the front-end item operates normally in the frame characterized by the candidate frame information.
As an example, the configuration item information of each candidate frame information in the above candidate frame information set may be stored in the database in advance. The configuration item information of each candidate frame information in the candidate frame information set can be obtained by querying in a database.
And secondly, determining the configuration item information matched with the target frame information in the configuration item information set as target configuration item information.
As an example, first, candidate frame information that is the same as the target frame information may be selected from the candidate frame information set as matching candidate frame information. Then, the configuration item information of the matching candidate frame information is determined as target configuration item information.
As still another example, the same unique identification field may be set in the database in advance for the above-mentioned candidate frame information and the configuration item information of the above-mentioned candidate frame information. The configuration item information identified by the unique identification field of the target frame information may be determined as the target configuration item information by searching the database for the unique identification field of the target frame information.
And thirdly, packaging the configuration item information set, the target configuration item information and the target configuration information to generate the target configuration file.
As an example, the configuration item information set, the target configuration item information, and the target configuration information may be packaged together to generate the target configuration file. As shown in fig. 3, the computing device 101 may perform a packaging process on the configuration item information set 301, the target configuration item information 302, and the target configuration information 103 to generate the target configuration file 104.
Step 203, determining the target service information according to the target configuration file.
In some embodiments, the execution principal may determine target service information according to the target profile. The target service information may be a service for supporting normal operation of the project when the target project operates.
As an example, the target service information may be service information for supporting a proxy service when an item is started. The service information selected or input by the user on the terminal device may be determined as the target service information.
In some optional implementation manners of some embodiments, the determining, by the execution subject, target service information according to the target configuration file may include:
firstly, determining basic service information and directional service information corresponding to the target project according to the target configuration file. The basic service information may be information of a service necessary for ensuring the target project to operate. The oriented service information may be service information used for ensuring normal operation of the optional function during development of the target project.
As an example, the optional function may be a compression function. The directional service information may be service information for ensuring a normal operation of the compression function. The service information corresponding to the optional function selected by the user at the terminal device can be used as the oriented service information. And the basic service information and the directional service information can be automatically matched for the target project through the target configuration file.
And secondly, combining the basic service information and the directional service information to generate the target service information.
Step 204, performing multi-packer packing processing on the packer information set, the target configuration file and the target service information to generate a target project file.
In some embodiments, the execution agent may perform a multi-packer packing process on the set of packer information, the target configuration file, and the target service information to generate a target project file. Wherein the packer information set may include, but is not limited to, at least one of: webpack packager information, Rollu packager information, and global packager information. The above-mentioned multi-packager packaging process may refer to packaging each packager information in the set of packager information into the target project file when the target project file is generated. In the implementation modes, each packager information in the packager information set is packaged into the target project file, so that the same target project file can support multiple packagers, project developers can flexibly switch the used packagers in the project development process, and the applicability is stronger.
In some optional implementation manners of some embodiments, the performing by the executing body performing multi-packer packing processing on the set of packer information, the target configuration file, and the target service information to generate the target project file may include the following steps:
and step one, determining the packager information selected by the target user from the packager information set as the target packager information. The packager information set can provide various optional packager information for a user to select according to the development requirement of the front-end project.
And secondly, according to the target packager information, packaging the packager information set, the target configuration file and the target service information to generate a target project file.
As an example, the target configuration file and the target service information may be encapsulated together by using a packager represented by the target packager information to generate the target project file. As shown in fig. 4, the computing device 101 may perform a packaging process on the set of packager information 106, the target configuration file 104, and the target service information 105 according to the target packager information 401 to generate a target project file 107.
The above embodiments of the present disclosure have the following advantages: the project files obtained by the project file generation method of some embodiments of the disclosure can reduce development threshold to a certain extent, improve development efficiency and ensure that developers develop in a stable and uniform environment. Specifically, the reasons for the higher development threshold and the lower development efficiency are: the project frameworks required by different front-end projects are large in difference, and the development environment is complex to configure. Based on this, the project file generation method of some embodiments of the present disclosure not only encapsulates each candidate frame information in the candidate frame information set into the target configuration file, so that the same target configuration file can support multiple front-end frames, thereby enabling the project developer to flexibly switch the used front-end frames in the project development process. And packaging each packager information in the packager information set into the target project file, so that the same target project file can support multiple packagers, and project developers can flexibly switch the used packagers in the project development process, and the applicability is stronger. Through the packaging processing, developers do not need to know the internal implementation of the environment configuration, do not need to care about the packaging process and concentrate on the business development. Furthermore, the development threshold is reduced to a certain extent, the development efficiency is improved, and developers are ensured to develop in a stable and uniform environment.
With further reference to FIG. 5, a flow 500 of further embodiments of a project file generation method is illustrated. The process 500 of the project file generation method includes the following steps:
step 501, acquiring target frame information and target configuration information corresponding to a target item.
Step 502, performing multi-frame encapsulation processing on the candidate frame information set, the target frame information and the target configuration information to generate a target configuration file.
In some embodiments, the specific implementation of steps 501 and 502 and the technical effects thereof can refer to steps 201 and 202 in the embodiments corresponding to fig. 2, which are not described herein again.
In response to determining that an update operation has been performed on the set of candidate frame information and/or the target configuration information, an update operation is performed on the target configuration file to generate an updated target configuration file, step 503.
In some embodiments, the executing agent may perform an update operation on the target configuration file to generate an updated target configuration file in response to determining that the update operation is performed on the set of candidate frame information and/or the target configuration information. The updating operation may be to add candidate frame information to the candidate frame information set or delete candidate frame information from the candidate frame information set. The update operation may be a modification operation performed by the target user on the target frame information. The update operation may be a modification operation performed by the target user on the target configuration information.
As an example, the above-mentioned candidate frame information set may be [ Vue frame information, Angular frame information, fact frame information ]. The candidate frame information set after the update operation is performed may be [ Vue frame information, Angular frame information, React frame information, Svelte frame information ]. Then, it may be determined that the updated content of the candidate frame information set is: the frame information "Svelte frame information" is added. The frame information "Svelte frame information" may be added to the candidate frame information set encapsulated in the target configuration file to generate an updated target configuration file.
Step 504, the updated target configuration file is determined as the target configuration file.
In some embodiments, the executing entity may determine the updated target profile as the target profile.
And step 505, determining target service information according to the target configuration file.
Step 506, performing multi-packer packing processing on the packer information set, the target configuration file and the target service information to generate a target project file.
In some embodiments, the specific implementation of steps 505 and 506 and the technical effects thereof can refer to steps 203 and 204 in the embodiments corresponding to fig. 2, which are not described herein again.
In response to determining that an update operation has been performed on the wrapper information set, an update operation is performed on the target project file to generate an updated target project file, step 507.
In some embodiments, the executing agent may perform an update operation on the target project file to generate an updated target project file in response to determining that the update operation was performed on the set of packager information. Wherein the updating operation may be adding or deleting packer information to or from the set of packer information.
As an example, the above-mentioned set of packetizer information may be [ Webpack packetizer information, Rollu packetizer information, periodic packetizer information ]. The set of packager information after the update operation is performed may be [ Webpack packager information, Rollu packager information ]. Then it can be determined that the updated content of the wrapper information set is: delete packer information "global packer information". The packager information "per packager information" may be deleted from the set of packager information encapsulated in the target project file to generate an updated target project file.
The above step 503 and step 507 are an inventive point of the embodiment of the present disclosure, and solve the technical problem mentioned in the background art, i.e., "the development of the development team technology stack is difficult to realize a virtuous circle". Factors that cause the development of the development team technology stack to be difficult to realize virtuous circle are often as follows: the expansibility of the existing front-end frame and packer is weak, namely the lateral expansion capability of the front-end frame type and the lateral expansion capability of the packer type are weak. If the factors are solved, the effect of promoting the development of the technical stack of the development team to realize virtuous circle can be achieved. To achieve this effect, the present disclosure updates the target configuration file according to the update operation of the candidate framework information set and/or the target framework information and/or the target configuration information, thereby implementing a horizontal extension of the front-end framework type. The method and the device also update the target project file according to the update operation of the information set of the packaging device, thereby realizing the transverse expansion of the packaging device type. Therefore, the method improves the transverse expansion capability of the front-end frame type and the transverse expansion capability of the packer type to a certain extent, and further promotes the development of the development team technology stack to realize virtuous circle.
Step 508, determine the updated target project file as the target project file.
In some embodiments, the execution subject may determine the updated target project file as the target project file.
As can be seen from fig. 5, compared with the description of some embodiments corresponding to fig. 2, the flow 500 of the project file generation method in some embodiments corresponding to fig. 5 embodies the update operation of the target configuration file and the wrapper information set. Therefore, the solutions described in the embodiments can improve the horizontal expansion capability of the front-end framework type and the horizontal expansion capability of the packer type to a certain extent, and further promote the development of the development team technology stack to realize virtuous circle.
With further reference to fig. 6, as an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a project file generation apparatus, which correspond to those shown in fig. 2, and which may be applied in various electronic devices.
As shown in fig. 6, the project file generating apparatus 600 of some embodiments includes: an acquisition unit 601, a first encapsulation unit 602, a determination unit 603, and a second encapsulation unit 604. The obtaining unit 601 is configured to obtain target frame information and target configuration information corresponding to a target item, where the target frame information is included in a candidate frame information set. A first packaging unit 602, configured to perform multi-frame packaging processing on the candidate frame information set, the target frame information, and the target configuration information to generate a target configuration file. A determining unit 603 configured to determine the target service information according to the target profile. A second packaging unit 604, configured to perform multi-packager packaging processing on the packager information set, the target configuration file and the target service information to generate a target project file.
In an optional implementation manner of some embodiments, before determining the target service information according to the target configuration file, the project file generating apparatus 600 further includes: a first updating unit (not shown in the figure) and a first determining unit (not shown in the figure). Wherein the first updating unit is configured to, in response to determining that an updating operation has been performed on the set of candidate frame information and/or the target configuration information, perform an updating operation on the target configuration file to generate an updated target configuration file. The first determining unit is configured to determine the updated target profile as the target profile.
In an optional implementation manner of some embodiments, the project file generating apparatus 600 further includes: a second updating unit (not shown in the figure) and a second determining unit (not shown in the figure). Wherein the second updating unit is configured to perform an updating operation on the target project file to generate an updated target project file in response to determining that the updating operation is performed on the set of packager information. The second determining unit is configured to determine the updated target item file as the target item file.
In an optional implementation manner of some embodiments, the first packaging unit 602 of the project file generating apparatus 600 may be further configured to: determining the configuration item information of each candidate frame information in the candidate frame information set to obtain a configuration item information set; determining the configuration item information matched with the target frame information in the configuration item information set as target configuration item information; and packaging the configuration item information set, the target configuration item information and the target configuration information to generate the target configuration file.
In an optional implementation manner of some embodiments, the determining unit 603 of the project file generating apparatus 600 may be further configured to: determining basic service information and directional service information corresponding to the target project according to the target configuration file; and combining the basic service information and the directional service information to generate the target service information.
In an optional implementation manner of some embodiments, the second packaging unit 604 of the project file generating apparatus 600 may be further configured to: determining the packager information selected by the target user from the packager information set as target packager information; and according to the target packager information, packaging the packager information set, the target configuration file and the target service information to generate a target project file.
In an alternative implementation of some embodiments, the target frame information is determined by: and determining the candidate frame information selected from the candidate frame information set by the target user as the target frame information.
In an optional implementation manner of some embodiments, the target configuration information is determined by: and determining the configuration information input by the target user as the target configuration information.
It will be understood that the elements described in the apparatus 600 correspond to various steps in the method described with reference to fig. 2. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 600 and the units included therein, and are not described herein again.
Referring now to FIG. 7, a block diagram of an electronic device (such as computing device 101 shown in FIG. 1)700 suitable for use in implementing some embodiments of the present disclosure is shown. The electronic device in some embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle-mounted terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 7, electronic device 700 may include a processing means (e.g., central processing unit, graphics processor, etc.) 701 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from storage 708 into a Random Access Memory (RAM) 703. In the RAM703, various programs and data necessary for the operation of the electronic apparatus 700 are also stored. The processing device 701, the ROM 702, and the RAM703 are connected to each other by a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Generally, the following devices may be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 707 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; and a communication device 709. The communication means 709 may allow the electronic device 700 to communicate wirelessly or by wire with other devices to exchange data. While fig. 7 illustrates an electronic device 700 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 7 may represent one device or may represent multiple devices as desired.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In some such embodiments, the computer program may be downloaded and installed from a network via communications means 709, or may be installed from storage 708, or may be installed from ROM 702. The computer program, when executed by the processing device 701, performs the above-described functions defined in the methods of some embodiments of the present disclosure.
It should be noted that the computer readable medium described in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: and acquiring target frame information and target configuration information corresponding to the target item, wherein the target frame information is contained in the candidate frame information set. And performing multi-frame packaging processing on the candidate frame information set, the target frame information and the target configuration information to generate a target configuration file. And determining target service information according to the target configuration file. And performing multi-packer packaging processing on the packer information set, the target configuration file and the target service information to generate a target project file.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. The described units may also be provided in a processor, and may be described as: a processor includes an acquisition unit, a generation unit, a determination unit, and a packing unit. The names of these units do not in some cases form a limitation on the units themselves, and for example, the acquiring unit may also be described as a "unit that acquires target frame information and target configuration information corresponding to a target item".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (11)

1. A project file generation method comprises the following steps:
acquiring target frame information and target configuration information corresponding to a target item, wherein the target frame information is contained in a candidate frame information set;
performing multi-frame packaging processing on the candidate frame information set, the target frame information and the target configuration information to generate a target configuration file;
determining target service information according to the target configuration file;
and performing multi-packer packaging processing on the packer information set, the target configuration file and the target service information to generate a target project file.
2. The method of claim 1, wherein prior to determining target service information from the target profile, the method further comprises:
in response to determining that an update operation has been performed on the set of candidate framework information and/or the target configuration information, performing an update operation on the target configuration file to generate an updated target configuration file;
and determining the updated target configuration file as the target configuration file.
3. The method of claim 1, wherein the method further comprises:
in response to determining that an update operation has been performed on the set of packager information, performing an update operation on the target project file to generate an updated target project file;
and determining the updated target project file as the target project file.
4. The method of claim 1, wherein the multi-frame packaging the set of candidate frame information, the target frame information, and the target configuration information to generate a target configuration file comprises:
determining configuration item information of each candidate frame information in the candidate frame information set to obtain a configuration item information set;
determining configuration item information matched with the target frame information in the configuration item information set as target configuration item information;
and packaging the configuration item information set, the target configuration item information and the target configuration information to generate the target configuration file.
5. The method of claim 1, wherein the determining target service information from the target profile comprises:
determining basic service information and directional service information corresponding to the target project according to the target configuration file;
combining the basic service information and the directional service information to generate the target service information.
6. The method of any of claims 1-5, wherein said subjecting the set of packager information, the target configuration file, and the target service information to a multi-packager packaging process to generate a target project file comprises:
determining packager information selected by a target user from the packager information set as target packager information;
and according to the target packager information, packaging the packager information set, the target configuration file and the target service information to generate a target project file.
7. The method of claim 1, wherein the target frame information is determined by:
and determining the candidate frame information selected from the candidate frame information set by the target user as the target frame information.
8. The method of claim 1, wherein the target configuration information is determined by:
and determining the configuration information input by the target user as the target configuration information.
9. A project file generating apparatus comprising:
the acquisition unit is configured to acquire target frame information and target configuration information corresponding to a target item, wherein the target frame information is contained in a candidate frame information set;
a first packaging unit, configured to perform multi-frame packaging processing on the candidate frame information set, the target frame information and the target configuration information to generate a target configuration file;
a determining unit configured to determine target service information according to the target profile;
and the second packaging unit is configured to perform multi-packager packaging processing on the packager information set, the target configuration file and the target service information to generate a target project file.
10. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-8.
11. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-8.
CN202011172924.1A 2020-10-28 2020-10-28 Project file generation method and device, electronic equipment and computer readable medium Pending CN112230986A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011172924.1A CN112230986A (en) 2020-10-28 2020-10-28 Project file generation method and device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011172924.1A CN112230986A (en) 2020-10-28 2020-10-28 Project file generation method and device, electronic equipment and computer readable medium

Publications (1)

Publication Number Publication Date
CN112230986A true CN112230986A (en) 2021-01-15

Family

ID=74110855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011172924.1A Pending CN112230986A (en) 2020-10-28 2020-10-28 Project file generation method and device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN112230986A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112799652A (en) * 2021-02-08 2021-05-14 北京乐学帮网络技术有限公司 Client construction method and device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112799652A (en) * 2021-02-08 2021-05-14 北京乐学帮网络技术有限公司 Client construction method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111581563B (en) Page response method and device, storage medium and electronic equipment
EP4167102A1 (en) Method and device for updating reference document, electronic device, and storage medium
CN111930534A (en) Data calling method and device and electronic equipment
CN111368519B (en) Method, device, equipment and storage medium for editing online form
CN111240767A (en) Component and page loading method and device, electronic equipment and storage medium
CN110909521A (en) Synchronous processing method and device for online document information and electronic equipment
CN112596720A (en) Service operation method and device, electronic equipment and computer storage medium
CN111309304B (en) Method, device, medium and electronic equipment for generating IDL file
CN109697034B (en) Data writing method and device, electronic equipment and storage medium
CN111597107A (en) Information output method and device and electronic equipment
CN111355784B (en) Method, device, medium and electronic equipment for processing request information
CN111596992B (en) Navigation bar display method and device and electronic equipment
CN111752644A (en) Interface simulation method, device, equipment and storage medium
CN112230986A (en) Project file generation method and device, electronic equipment and computer readable medium
CN111756953A (en) Video processing method, device, equipment and computer readable medium
CN112507676B (en) Method and device for generating energy report, electronic equipment and computer readable medium
CN113391860B (en) Service request processing method and device, electronic equipment and computer storage medium
CN114860213A (en) Application package generation method, device, equipment and medium
CN111460020B (en) Method, device, electronic equipment and medium for resolving message
CN113126985A (en) Method, device, electronic equipment and computer readable medium for page rendering
CN113835790A (en) Paging page display method and device based on Android
CN111309323A (en) Parameter initialization method and device and electronic equipment
CN111258786A (en) Decoupling method and device in layered architecture, terminal and storage medium
CN113157365B (en) Program running method, program running device, electronic equipment and computer readable medium
CN110099122B (en) Method and apparatus for sending network request

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