CN113467823B - Configuration information acquisition method, device, system and storage medium - Google Patents

Configuration information acquisition method, device, system and storage medium Download PDF

Info

Publication number
CN113467823B
CN113467823B CN202110687146.8A CN202110687146A CN113467823B CN 113467823 B CN113467823 B CN 113467823B CN 202110687146 A CN202110687146 A CN 202110687146A CN 113467823 B CN113467823 B CN 113467823B
Authority
CN
China
Prior art keywords
configuration information
module
custom
current
page
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.)
Active
Application number
CN202110687146.8A
Other languages
Chinese (zh)
Other versions
CN113467823A (en
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 Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet 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 Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202110687146.8A priority Critical patent/CN113467823B/en
Publication of CN113467823A publication Critical patent/CN113467823A/en
Application granted granted Critical
Publication of CN113467823B publication Critical patent/CN113467823B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure relates to a method, a device, a system and a storage medium for acquiring configuration information, relates to the technical field of software development, and can reduce the quantity of the configuration information of a software project, thereby improving the development efficiency of the software project and the maintenance convenience of the software project. The method is applied to the development terminal equipment, and comprises the following steps: acquiring a public configuration relation, a custom configuration relation and a specific configuration relation of a software item; acquiring public configuration information, custom configuration information and specific configuration information according to the public configuration relation, the custom configuration relation and the specific configuration relation respectively; the configuration information of the software project is composed of public configuration relations, custom configuration information and specific configuration information.

Description

Configuration information acquisition method, device, system and storage medium
Technical Field
The disclosure relates to the technical field of software development, and in particular relates to a method, a device, a system and a storage medium for acquiring configuration information.
Background
Applications of software items (such as Application programs (APP) or websites) in the internet era bring great convenience to the life of users. In the development process of a software project, in order to reduce the development amount of the software project, a standard development template is usually generated for a plurality of modules (such as a plurality of pages or web pages included in a website) included in the software project; and then, generating configuration files corresponding to each module according to the page content of each module in the plurality of modules, and further generating a plurality of configuration files corresponding to the plurality of modules. Thus, the page of each module can be generated by using the configuration file corresponding to the module and the standard development template.
It can be appreciated that the above solution requires generating a corresponding plurality of configuration files for a plurality of modules in the software project. In this way, the development efficiency of the software project is reduced and the maintenance complexity of the software project is increased due to the large number of generated configuration files.
Disclosure of Invention
The present disclosure provides a method, an apparatus, a system, and a storage medium for obtaining configuration information, so as to at least reduce the number of configuration information of a software project, thereby improving the development efficiency of the software project and the maintenance convenience of the software project. The technical scheme of the present disclosure is as follows:
in a first aspect, an embodiment of the present application provides a method for acquiring configuration information, which is applied to an originating device, where the method includes: acquiring a public configuration relation, a custom configuration relation and a specific configuration relation of a software item; acquiring public configuration information, custom configuration information and specific configuration information according to the public configuration relation, the custom configuration relation and the specific configuration relation respectively; the configuration information of the software project is composed of public configuration relations, custom configuration information and specific configuration information.
Wherein the item of software comprises a plurality of modules to be configured. The common configuration relationship is used for representing the correspondence relationship between the plurality of modules and the module objects shared by the plurality of modules. The custom configuration relationship is a corresponding relationship between a custom module in the plurality of modules and a module object shared by the custom modules; the number of the custom modules is smaller than the number of the modules and is larger than or equal to 2. The specific configuration relation is used for representing the corresponding relation between each module in the plurality of modules and the module object only belonging to each module; a module is a page template of a page or a page type in a software project. The common configuration information includes configuration information of module objects in the common configuration relationship. The custom configuration information includes configuration information of module objects in the custom configuration relationship. The specific configuration information includes configuration information of module objects in the specific configuration relationship.
In one possible implementation manner, the obtaining the public configuration information, the custom configuration information and the specific configuration information according to the public configuration relationship, the custom configuration relationship and the specific configuration relationship respectively includes: acquiring configuration information of module objects in a public configuration relation, configuration information of module objects in a custom configuration relation and configuration information of module objects in a specific configuration relation; generating common configuration information according to the common configuration relation and the configuration information of the module objects in the common configuration relation; generating custom configuration information according to the custom configuration relationship and the configuration information of the module objects in the custom configuration relationship; and generating specific configuration information according to the specific configuration relation and the configuration information of the module objects in the specific configuration relation.
The common configuration information includes a correspondence relationship between all modules in the common configuration relationship and configuration information of a module object shared by all modules. The custom configuration information comprises a corresponding relation between the custom module in the custom configuration relation and the configuration information of the module objects shared by the custom module. The specific configuration information includes a correspondence relationship between each module in the specific configuration relationship and configuration information of module objects belonging only to each module.
In another possible implementation manner, after the configuration information of the software item is composed of the public configuration information, the custom configuration information and the specific configuration information, the method further includes: under the condition that a modification instruction aiming at the target module is received, if the target module belongs to a module in the public configuration information, modifying the configuration information corresponding to the target module in the public configuration information to obtain updated configuration information of the software project; or if the target module belongs to a module in the custom configuration information, modifying the configuration information corresponding to the target module in the custom configuration information to obtain updated configuration information of the software project.
In another possible implementation manner, the obtaining the public configuration relationship, the custom configuration relationship and the specific configuration relationship of the software items includes: acquiring page information of a plurality of modules; and determining a module object shared by a plurality of modules, a module object shared by a custom module and a module object only belonging to each module in the plurality of modules according to the page information so as to obtain a public configuration relationship, a custom configuration relationship and a specific configuration relationship.
In another possible implementation manner, after the configuration information of the software item is composed of the public configuration information, the custom configuration information and the specific configuration information, the method further includes: acquiring priority corresponding to public configuration information, priority corresponding to custom configuration information and priority corresponding to specific configuration information; the priority indicates the use sequence of the corresponding configuration information; and sending the configuration information of the software item, the priority corresponding to the public configuration information, the priority corresponding to the custom configuration information and the priority corresponding to the specific configuration information to the client device.
In a second aspect, an embodiment of the present application further provides a method for acquiring configuration information, where the method is applied to a client device, and the method includes: acquiring configuration information of a software project from development end equipment under the condition that a configuration information acquisition instruction aiming at a current page in the software project is received; according to the current identifier or the current page type, current public configuration information, current custom configuration information and current specific configuration information of the current page are respectively obtained from the public configuration information, the custom configuration information and the specific configuration information; and generating configuration information of the current page according to the current public configuration information, the current custom configuration information, the current specific configuration information and the prestored multiple priorities.
The software project comprises a plurality of modules to be configured, and the current page belongs to the plurality of modules. The configuration information acquisition instruction comprises a current identification of a current page or a current page type to which the current page belongs. The configuration information of the software items includes common configuration information, custom configuration information, and specific configuration information. The common configuration information includes configuration information of a module object common to the plurality of modules. The custom configuration information comprises configuration information of a module object shared by custom modules in the plurality of modules; the number of the custom modules is smaller than the number of the modules and is larger than or equal to 2. The specific configuration information includes configuration information belonging only to each of the plurality of modules. The plurality of priorities represent a sequence of use among the common configuration information, the custom configuration information, and the specific configuration information.
In a possible implementation manner, in the case that the module is a page template of one page type in the software project, the common configuration information includes a correspondence between a plurality of page types and configuration information of module objects shared by the page templates of the plurality of page types, the custom configuration information includes a correspondence between the custom page type and configuration information of module objects shared by the page templates of the custom page type, and the specific configuration information includes a correspondence between any one of the plurality of page types and configuration information of page templates belonging to only any one of the page types.
The method for obtaining the current public configuration information, the current custom configuration information and the current specific configuration information of the current page from the public configuration information, the custom configuration information and the specific configuration information respectively according to the current identifier or the current page type comprises the following steps: and according to the current page type, acquiring current public configuration information, current custom configuration information and previous specific configuration information from the public configuration information, the custom configuration information and the specific configuration information respectively.
In another possible implementation, the plurality of priorities includes: priority corresponding to public configuration information, priority corresponding to custom configuration information and priority corresponding to specific configuration information.
Wherein, the generating the configuration information of the current page according to the current public configuration information, the current custom configuration information, the current specific configuration information and the pre-stored priorities includes: determining a first module object and a second module object from the current public configuration information, the current custom configuration information and the current specific configuration information; acquiring configuration information of a first module object with the highest corresponding priority from current public configuration information, current custom configuration information and current specific configuration information according to the priority corresponding to the public configuration information, the priority corresponding to the custom configuration information and the priority corresponding to the specific configuration information; and combining the configuration information of the first module object and the configuration information of the second module object in the current public configuration information, the current custom configuration information or the current specific configuration information to generate the configuration information of the current page.
The first module object is a module object belonging to at least two configuration information among current public configuration information, current custom configuration information and current specific configuration information. The second module object belongs to a module object in the current common configuration information, the current custom configuration information or the current specific configuration information.
In another possible embodiment, the method further comprises: acquiring a standard development template shared by a plurality of modules from development terminal equipment; and modifying the standard development template according to the configuration information of the current page, and displaying the page of the current page.
In a third aspect, an embodiment of the present application further provides a device for acquiring configuration information, where the device is applied to a developing device, and the device includes: and the classification acquisition module and the configuration information generation module.
The classification acquisition module is used for: acquiring a public configuration relation, a custom configuration relation and a specific configuration relation of a software item; and respectively acquiring public configuration information, custom configuration information and specific configuration information according to the public configuration relation, the custom configuration relation and the specific configuration relation. The configuration information generation module is used for forming configuration information of the software project by the public configuration relation, the custom configuration information and the specific configuration information.
Wherein the item of software comprises a plurality of modules to be configured. The common configuration relationship is used for representing the correspondence relationship between the plurality of modules and the module objects shared by the plurality of modules. The custom configuration relationship is a corresponding relationship between a custom module in the plurality of modules and a module object shared by the custom modules; the number of the custom modules is smaller than the number of the modules and is larger than or equal to 2. The specific configuration relation is used for representing the corresponding relation between each module in the plurality of modules and the module object only belonging to each module; a module is a page template of a page or a page type in a software project. The common configuration information includes configuration information of module objects in the common configuration relationship. The custom configuration information includes configuration information of module objects in the custom configuration relationship. The specific configuration information includes configuration information of module objects in the specific configuration relationship.
In one possible implementation manner, the classification acquisition module is specifically configured to: acquiring configuration information of module objects in a public configuration relation, configuration information of module objects in a custom configuration relation and configuration information of module objects in a specific configuration relation; generating common configuration information according to the common configuration relation and the configuration information of the module objects in the common configuration relation; generating custom configuration information according to the custom configuration relationship and the configuration information of the module objects in the custom configuration relationship; and generating specific configuration information according to the specific configuration relation and the configuration information of the module objects in the specific configuration relation.
The common configuration information includes a correspondence relationship between all modules in the common configuration relationship and configuration information of a module object shared by all modules. The custom configuration information comprises a corresponding relation between the custom module in the custom configuration relation and the configuration information of the module objects shared by the custom module. The specific configuration information includes a correspondence relationship between each module in the specific configuration relationship and configuration information of module objects belonging only to each module.
In another possible implementation, the apparatus further includes an update module. The updating module is used for modifying the configuration information corresponding to the target module in the public configuration information to obtain updated configuration information of the software project if the target module belongs to the module in the public configuration information under the condition that the modification instruction for the target module is received after the configuration information of the software project is formed by the public configuration information, the custom configuration information and the specific configuration information; or if the target module belongs to a module in the custom configuration information, modifying the configuration information corresponding to the target module in the custom configuration information to obtain updated configuration information of the software project.
In another possible implementation manner, the classification acquisition module is specifically configured to: acquiring page information of a plurality of modules; and determining a module object shared by a plurality of modules, a module object shared by a custom module and a module object only belonging to each module in the plurality of modules according to the page information so as to obtain a public configuration relationship, a custom configuration relationship and a specific configuration relationship.
In another possible implementation manner, the device further comprises a sending module. After the configuration information of the software project is composed of the public configuration information, the custom configuration information and the specific configuration information, the classification acquisition module is further used for acquiring the priority corresponding to the public configuration information, the priority corresponding to the custom configuration information and the priority corresponding to the specific configuration information; the priority indicates the use sequence of the corresponding configuration information; a sending module, configured to: and sending the configuration information of the software item, the priority corresponding to the public configuration information, the priority corresponding to the custom configuration information and the priority corresponding to the specific configuration information to the client device.
In a fourth aspect, an embodiment of the present application further provides an apparatus for acquiring configuration information, where the apparatus is applied to a client device, and the apparatus includes: the system comprises a configuration information receiving module and a configuration information processing module.
The system comprises a configuration information receiving module, a development terminal device and a development terminal device, wherein the configuration information receiving module is used for acquiring configuration information of a software project from the development terminal device under the condition of receiving a configuration information acquisition instruction aiming at a current page in the software project; a configuration information processing module for: according to the current identifier or the current page type, current public configuration information, current custom configuration information and current specific configuration information of the current page are respectively obtained from the public configuration information, the custom configuration information and the specific configuration information; and generating configuration information of the current page according to the current public configuration information, the current custom configuration information, the current specific configuration information and the prestored multiple priorities.
The software project comprises a plurality of modules to be configured, and the current page belongs to the plurality of modules. The configuration information acquisition instruction comprises a current identification of a current page or a current page type to which the current page belongs. The configuration information of the software items includes common configuration information, custom configuration information, and specific configuration information. The common configuration information includes configuration information of a module object common to the plurality of modules. The custom configuration information comprises configuration information of a module object shared by custom modules in the plurality of modules; the number of the custom modules is smaller than the number of the modules and is larger than or equal to 2. The specific configuration information includes configuration information belonging only to each of the plurality of modules. The plurality of priorities represent a sequence of use among the common configuration information, the custom configuration information, and the specific configuration information.
In a possible implementation manner, in the case that the module is a page template of one page type, the common configuration information includes a correspondence between configuration information of a plurality of page types and module objects shared by the page templates of the plurality of page types, the custom configuration information includes a correspondence between configuration information of a custom page type and module objects shared by the page templates of the custom page type, and the specific configuration information includes a correspondence between configuration information of a page template of only any one page type among the plurality of page types.
The configuration information processing module is specifically configured to: and according to the current page type, acquiring current public configuration information, current custom configuration information and previous specific configuration information from the public configuration information, the custom configuration information and the specific configuration information respectively.
In another possible implementation, the plurality of priorities includes: priority corresponding to public configuration information, priority corresponding to custom configuration information and priority corresponding to specific configuration information.
The configuration information processing module is specifically configured to: determining a first module object and a second module object from the current public configuration information, the current custom configuration information and the current specific configuration information; acquiring configuration information of a first module object with the highest corresponding priority from current public configuration information, current custom configuration information and current specific configuration information according to the priority corresponding to the public configuration information, the priority corresponding to the custom configuration information and the priority corresponding to the specific configuration information; and combining the configuration information of the first module object and the configuration information of the second module object in the current public configuration information, the current custom configuration information or the current specific configuration information to generate the configuration information of the current page.
The first module object is a module object belonging to at least two configuration information among current public configuration information, current custom configuration information and current specific configuration information. The second module object belongs to a module object in the current common configuration information, the current custom configuration information or the current specific configuration information.
In another possible implementation manner, the device further comprises a page display module. The configuration information receiving module is also used for acquiring a standard development template shared by a plurality of modules from the development terminal equipment; the page display module is used for modifying the standard development template according to the configuration information of the current page and displaying the page of the current page.
In a fifth aspect, embodiments of the present application further provide an electronic device, including: a processor and a memory for storing processor-executable instructions; wherein the processor is configured to execute instructions to cause the electronic device to perform a method of obtaining configuration information as in the first aspect and any of its possible implementations.
In a sixth aspect, embodiments of the present application further provide an electronic device, including: a processor and a memory for storing processor-executable instructions; wherein the processor is configured to execute instructions to cause the electronic device to perform a method of obtaining configuration information as in the second aspect and any of its possible embodiments.
In a seventh aspect, embodiments of the present application further provide a computer readable storage medium, where computer instructions are stored, which when executed on an electronic device, cause the electronic device to perform a method for obtaining configuration information as in the first aspect and any possible implementation manner thereof.
In an eighth aspect, embodiments of the present application further provide a computer readable storage medium, where computer instructions are stored, which when executed on an electronic device, cause the electronic device to perform a method for obtaining configuration information as in the second aspect and any possible implementation manner thereof.
In a ninth aspect, embodiments of the present application further provide a computer program product, including one or more instructions executable on an electronic device, to cause the electronic device to perform a method for obtaining configuration information as in the first aspect and any possible implementation manner thereof.
In a tenth aspect, embodiments of the present application further provide a computer program product comprising one or more instructions executable on an electronic device, such that the electronic device performs a method for obtaining configuration information as in the second aspect and any possible implementation thereof.
It can be understood that, according to the scheme provided by the embodiment of the application, the development terminal device can generate the public configuration information, the custom configuration information and the specific configuration information according to the public configuration relationship, the custom configuration relationship and the specific configuration relationship of the software project respectively. The common configuration relation comprises a module object shared by a plurality of modules to be configured in the software project, and the configuration information of the module object in the common configuration relation is the configuration information of the module object shared by the plurality of modules. That is, the configuration information of the module object common to all the modules to be configured is recorded only once in the common configuration information. And secondly, the custom configuration information comprises configuration information of a module object shared by custom modules in the plurality of modules, and the number of the custom modules is more than 2 and less than the number of the plurality of modules. Then, it can be known that the configuration information of the module object shared by the partial modules to be configured is recorded only once in the custom configuration information. In addition, the specific configuration information includes configuration information of the module object belonging to each module only, i.e., configuration information of the module object belonging to each module only is recorded once in the specific configuration information.
In summary, the module object shared by all or part of the modules to be configured is recorded once in the common configuration information or the custom configuration information, and only the module object belonging to each module is recorded once in the specific configuration information, so that it can be known that the common configuration information, the custom configuration information and the specific configuration information record all the module objects included in all the modules to be configured, and the configuration information of the same module object in all the module objects is recorded once in the specific configuration information, the common configuration information or the custom configuration information.
Furthermore, the specific configuration information, the common configuration information and the custom configuration information form the configuration information of the software project, and the configuration information of the same module object in the configuration information of the software project is recorded only once, and even if the same module object is used by two or more modules, the configuration information is recorded 1 time in the configuration information of the software project. Therefore, compared with the configuration information of the software project consisting of the configuration information of each of the plurality of modules, the configuration information of the software project generated by the scheme provided by the embodiment of the application is recorded only once for the configuration information of the module objects multiplexed among different modules, so that the quantity of the configuration information of the software project is reduced, the development efficiency of the software project is improved, and the maintenance complexity of the software project is reduced.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
Fig. 1 is a schematic diagram of an implementation environment related to a method for acquiring configuration information according to an embodiment of the present application;
fig. 2 is a flowchart of a method for obtaining configuration information applied to an originating device according to an embodiment of the present application;
fig. 3 is a flowchart of a method for obtaining configuration information applied to a client device according to an embodiment of the present application;
fig. 4 is a flowchart of a method for obtaining configuration information applied to an originating device and a client device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an apparatus for acquiring configuration information applied to an originating device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an apparatus for acquiring configuration information applied to a client device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a development end device or a client device according to an embodiment of the present application.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
In this internet age, applications of software items are ubiquitous, which brings convenience to various aspects of the life of users. In the development process of the software project, developers often develop the software project in a mode of combining templates with configurations. The method specifically comprises the following steps: generating a standard development template for all modules included in the software project; and then, generating respective configuration files of the plurality of modules according to page content of each module in all the modules. Thus, pages for each module can be generated using standard development templates and configuration files for each module.
Due to the scheme, a configuration file corresponding to each module in the software project is generated. Then, for a software project comprising a plurality of modules, it is necessary to generate and maintain the same number of configuration files as the plurality of modules. That is, the number of configuration files to be generated and maintained is large, so that the development efficiency of the software project is reduced, and the maintenance complexity of the software project is increased.
In this regard, the embodiment of the present application provides a method for acquiring configuration information, which can solve the above problems existing in the related art, and can reduce the number of configuration information of a software project, thereby improving the development efficiency of the software project and the maintenance convenience of the software project. The implementation of the examples of the present application will be described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an implementation environment related to a method for obtaining configuration information according to an embodiment of the present application. As shown in fig. 1, the implementation environment may include a development end device 101 and a client device 102. The development terminal device 101 executes a method for acquiring configuration information for a software project (such as a website or an APP); configuration information for the resulting software project, and standard development modules for the software project, may also be sent to the client device 102. The client device 102 receives the configuration information and the standard development module of the software project, and generates and displays a page of the software project according to the configuration information and the standard development module of the software project.
Illustratively, the development end device 101 in the embodiment of the present application may be a server, a tablet computer, a notebook computer, a personal computer, or the like; the client device 102 may be a mobile phone, a tablet computer, a vehicle-mounted device, a super mobile personal computer (ultra-mobile personal computer, UMPC), a netbook, a personal digital assistant (personal digital assistant, PDA), an augmented reality device, a virtual reality device, etc., and the specific forms of the development end device 101 and the client device 102 are not particularly limited in the embodiments of the present application.
It should be noted that the number of development end devices and the number of client devices in fig. 1 are merely illustrative. There may be any number of initiator devices and client devices as desired.
Referring to fig. 2, a flowchart of a method for obtaining configuration information according to an embodiment of the present application is provided. As shown in fig. 2, the method is applied to the initiator device, and may include S201-S203.
S201, the development terminal equipment acquires a public configuration relation, a custom configuration relation and a specific configuration relation of the software project.
Wherein the item of software comprises a plurality of modules to be configured. The common configuration relationship is used for representing the correspondence relationship between the plurality of modules and the module objects shared by the plurality of modules. The custom configuration relationship is a corresponding relationship between a custom module in the plurality of modules and a module object shared by the custom modules; the number of the custom modules is smaller than the number of the modules and is larger than or equal to 2. The specific configuration relationship is used for representing the corresponding relationship between each module in the plurality of modules and the module object only belonging to each module. Different modules may include the same module object or may include different module objects.
Wherein the common configuration relationship is used for characterizing a module object common to all modules to be configured in the software project. The custom module includes at least two modules of the plurality of modules, and the custom module is not equal to the plurality of modules. The plurality of modules may include a plurality of groups of custom modules, with a common module object between all modules in each group of custom modules.
In the embodiment of the present application, the software item may be a website or an APP. Each module is a page in a software project or a page template of a page type in a software project. A module object of a module refers to an integral part of the module. Wherein the page templates for each page type may be common to all pages belonging to that page type.
Illustratively, taking the example that the software item is a website, the plurality of modules included in the website to be configured may be a plurality of pages (which may also be referred to as web pages) to be configured. The module object of a certain page may include at least one of the following: a header search area, a middle content presentation area, a bottom paging query area, etc. The head search area may be an area in the page for inputting a search term or a keyword. The middle content presentation area may be an area of the page for presenting information. The bottom paginated query field may be an area of the page that presents other pages of the web site than the page.
Illustratively, continuing with the example where the item of software is a website, the plurality of modules included in the website to be configured may be page templates of a plurality of page types to be configured. The plurality of page types may include a search type, a detail page type, among others.
In the embodiment of the application, the development end device may acquire page information of a plurality of modules to be configured. And the development terminal equipment determines a module object shared by a plurality of modules to be configured, a module object shared by a user-defined module and a module object only belonging to each module in the plurality of modules according to page information of all modules in the software project, so as to obtain a public configuration relationship, a user-defined configuration relationship and a specific configuration relationship.
The development terminal device can determine respective module objects of the plurality of modules to be configured according to page information of the plurality of modules to be configured in the software project. Then, the development end device calculates the module objects shared by the plurality of modules, the module objects shared by the custom modules, and the module objects belonging to only any one module. And finally, the development terminal equipment generates a public configuration relation according to the module objects shared by the modules, generates a custom configuration relation according to the module objects shared by the custom modules, and generates a specific configuration relation according to the module objects only belonging to each module.
It can be understood that the development end device can determine a module object shared by a plurality of modules, a module object shared by a custom module, and a module object only belonging to any module according to page information of a plurality of modules to be configured in a software project. Further, the development side device may record the module objects common to the plurality of modules in a common configuration relationship, and each module object common to the plurality of modules may be recorded only once in the common configuration relationship. Similarly, each module object shared by the custom modules is also recorded only once in the custom configuration relationship. Configuration information of module objects belonging to each module only is also recorded once in a specific configuration relationship. In summary, whether a module object is used by multiple modules or by a module, the module object is recorded only once in a common configuration relationship, a custom configuration relationship, or a specific configuration relationship. Thus, a module object is prevented from being repeatedly recorded, and the workload is reduced.
The common configuration relationship may include the identifiers of the plurality of modules to be configured and the object identifiers of the corresponding module objects. Alternatively, the common configuration relationship may include one specific identifier that characterizes the plurality of modules to be configured, and an object identifier of a module object to which the plurality of modules correspond.
The custom configuration relationship may include an identifier of a module in the custom configuration relationship and an object identifier of a corresponding module object.
The specific configuration relation may include an identifier of a module in the specific configuration relation and an object identifier of a corresponding module object.
S202, the development terminal equipment acquires public configuration information, custom configuration information and specific configuration information according to the public configuration relation, the custom configuration relation and the specific configuration relation respectively.
Wherein the common configuration information includes configuration information of module objects in the common configuration relationship. The custom configuration information includes configuration information of module objects in the custom configuration relationship. The specific configuration information includes configuration information of module objects in the specific configuration relationship.
In the embodiment of the application, the development terminal equipment acquires the configuration information of the module objects in the public configuration relation; then, common configuration information is generated based on the common configuration relationship and the configuration information of the module objects in the common configuration relationship.
The common configuration information comprises the corresponding relation between all modules to be configured in the common configuration relation and the configuration information of the module objects in the common configuration relation. All modules to be configured in the common configuration information may be identifiers of all modules to be configured, or a special identifier characterizing all modules to be configured.
In the embodiment of the application, the development terminal equipment acquires the configuration information of the module object in the custom configuration relationship; and then, generating custom configuration information according to the custom configuration relationship and the configuration information of the module objects in the custom configuration relationship.
The custom configuration information comprises a corresponding relation between a custom module in the custom configuration relation and configuration information of a module object shared by the custom module.
In the embodiment of the application, the development terminal equipment acquires the configuration information of the module object in the specific configuration relation; then, specific configuration information is generated according to the specific configuration relation and the configuration information of the module objects in the specific configuration relation.
Wherein the specific configuration information includes a correspondence relationship between each module in the specific configuration relationship and configuration information of a module object belonging only to each module.
For example, the development end device may obtain configuration information of module objects of all modules in the software project. The configuration information of the module objects of all the modules comprises the configuration information of the module objects in the common configuration relation, the configuration information of the module objects in the custom configuration relation and the configuration information of the module objects in the specific configuration relation.
Then, the development terminal equipment generates public configuration information according to the identifiers of the plurality of modules in the public configuration relation and the acquired configuration information of the module objects corresponding to the identifiers of the plurality of modules in the public configuration relation. The method comprises the steps that the development terminal equipment generates common configuration information according to the identification of a custom module in a custom configuration relation and the acquired configuration information of a module object corresponding to the identification of the custom module in the custom configuration relation. The development terminal equipment also generates specific configuration information according to the identification of the module in the specific configuration relation and the acquired configuration information of the module object corresponding to the identification of the specific module in the specific configuration relation.
S203, the development terminal equipment forms configuration information of the software project by the public configuration relation, the custom configuration information and the specific configuration information.
After the developing device obtains the configuration information of the software item, the developing device may send the configuration information of the software item to the client device.
Illustratively, when receiving a request acquisition instruction from a client device, the development end device transmits configuration information of a software item to the client device in response to the request acquisition instruction. The request acquisition instruction is used for requesting to acquire configuration information of the software project. The request acquisition instruction may include an item identification of the item of software.
In this embodiment of the present application, after S203, the development end device may further obtain a priority corresponding to the public configuration information, a priority corresponding to the custom configuration information, and a priority corresponding to the specific configuration information. Then, the development end device may send the configuration information of the software item, the priority corresponding to the common configuration information, the priority corresponding to the custom configuration information, and the priority corresponding to the specific configuration information to the client device.
The priority corresponding to the public configuration information, the priority corresponding to the custom configuration information and the priority corresponding to the specific configuration information all represent the use sequence of the corresponding configuration information.
For example, the priority corresponding to the specific configuration information is higher than the priority corresponding to the custom configuration information, and the priority corresponding to the custom configuration information is higher than the priority corresponding to the public configuration information. The higher the priority indicates the earlier the usage order of the corresponding configuration information.
It will be appreciated that, since the configuration information of any module object included in any module may be described in the custom configuration information, or in the specific configuration information, in addition to the common configuration information. Thus, the common configuration information, the custom configuration information, and the specific configuration information correspond to different priorities, respectively. In this way, if the configuration information of any one module object included in one module is described in the common configuration information, the custom configuration, and the specific configuration information, the configuration information of any one module object included in the module can be uniquely determined from the common configuration information, the custom configuration, or the specific configuration information according to the above-mentioned priority.
Further, since the specific configuration information records configuration information of a module object belonging to only any one module, and the common configuration information and the custom configuration information record configuration information of a module object shared by at least two modules, the priority of the specific configuration information can be set higher than the priority of the common configuration information and the priority of the custom configuration information. In this way, if the configuration information of one module object shared by any module and other modules is recorded in the common configuration information or the custom configuration information, and the configuration information of the template object used by any module needs to be updated, the updated configuration information of the module object used by any module may only need to be added to the specific configuration information, and the configuration information of one module object shared by any module and other modules recorded in the common configuration information or the custom configuration information does not need to be modified. Since the priority of the specific configuration information is highest, the configuration information of the module object used by any module is also based on the updated configuration information of the module object recorded in the specific configuration information. In summary, the configuration information of one module object shared by any module and other modules recorded by the public configuration information or the custom configuration information is not required to be modified, so that the workload of modification is reduced, and the configuration information of the module object used by any module can be updated.
In this embodiment of the present application, after S203, the development end device may modify the configuration information corresponding to the target module in the common configuration information to obtain updated configuration information of the software item if the target module belongs to the module in the common configuration information in the case that a modification instruction for the target module is received. If the target module belongs to the module in the custom configuration information, modifying the configuration information corresponding to the target module in the custom configuration information to obtain updated configuration information of the software project. And if the target module belongs to the module in the specific configuration information, modifying the configuration information corresponding to the target module in the specific configuration information to obtain updated configuration information of the software project.
Further, the development end device may also send updated configuration information of the software project to the client device.
In the embodiment of the application, the development end device can acquire the standard development template shared by the plurality of modules to be configured. Furthermore, the development end device transmits the standard development template to the client device in addition to the configuration information of the software project.
The standard development template can be a template applicable to a plurality of modules to be configured in a software project or a template applicable to all modules in the software project.
Illustratively, taking an example that the software item is a website, a standard development template corresponding to a plurality of pages to be configured in the website may be a template for generating pages that is common to the plurality of pages. Each page is generated from the template and configuration information for the page.
Illustratively, taking an example that the software item is a website, standard development templates corresponding to page modules of a plurality of page types to be configured in the website may be templates shared by the page templates of the plurality of page types for generating the page templates. The page templates for each page type are generated based on the standard development templates and configuration information for the page templates for the page type.
It can be understood that the development terminal device can generate the public configuration information, the custom configuration information and the specific configuration information according to the public configuration relationship, the custom configuration relationship and the specific configuration relationship of the software project respectively. The common configuration relation comprises a module object shared by a plurality of modules to be configured in the software project, and the configuration information of the module object in the common configuration relation is the configuration information of the module object shared by the plurality of modules. That is, the configuration information of the module object common to all the modules to be configured is recorded only once in the common configuration information. And secondly, the custom configuration information comprises configuration information of a module object shared by custom modules in the plurality of modules, and the number of the custom modules is more than 2 and less than the number of the plurality of modules. Then, it can be known that the configuration information of the module object shared by the partial modules to be configured is recorded only once in the custom configuration information. In addition, the specific configuration information includes configuration information of the module object belonging to each module only, i.e., configuration information of the module object belonging to each module only is recorded once in the specific configuration information.
In summary, the module object shared by all or part of the modules to be configured is recorded once in the common configuration information or the custom configuration information, and only the module object belonging to each module is recorded once in the specific configuration information, so that it can be known that the common configuration information, the custom configuration information and the specific configuration information record all the module objects included in all the modules to be configured, and the configuration information of the same module object in all the module objects is recorded once in the specific configuration information, the common configuration information or the custom configuration information.
Furthermore, the specific configuration information, the common configuration information and the custom configuration information form the configuration information of the software project, and the configuration information of the same module object in the configuration information of the software project is recorded only once, and even if the same module object is used by two or more modules, the configuration information is recorded 1 time in the configuration information of the software project. Therefore, compared with the configuration information of the software project consisting of the configuration information of each of the plurality of modules, the configuration information of the software project generated by the scheme provided by the embodiment of the application is recorded only once for the configuration information of the module objects multiplexed among different modules, so that the quantity of the configuration information of the software project is reduced, and the development efficiency of the software project is improved.
In addition, when a modification instruction for the target module is received, no matter whether the target module is shared by all modules or a part of modules, the configuration information of the module objects multiplexed among different modules is only recorded once, so that the configuration information of the target module is only required to be modified once, and the maintenance complexity of software projects is reduced.
Referring to fig. 3, a flowchart of a method for obtaining configuration information according to an embodiment of the present application is provided. As shown in fig. 3, the method is applied to the client device, and the method may include S301 to S303.
S301, the client device acquires configuration information of a software project from the development end device under the condition that the client device receives a configuration information acquisition instruction for a current page in the software project.
The software project comprises a plurality of modules to be configured, and the current page belongs to the plurality of modules to be configured. The configuration information acquisition instructions may include at least one of: the identity of the current page (which may be referred to as the current identity), the page type to which the current page belongs (which may be referred to as the current page type). The configuration information of the software item includes the common configuration information, the custom configuration information, and the specific configuration information.
S302, the client device obtains current public configuration information, current custom configuration information and current specific configuration information of the current page from the public configuration information, the custom configuration information and the specific configuration information according to the current identifier or the current page type.
The client device may obtain configuration information of the module object from the common configuration information, i.e. current common configuration information. The client device also obtains configuration information of the module object corresponding to the current identifier or the current page type from the custom configuration information, namely current custom configuration information. The client device also obtains configuration information of the module object corresponding to the current identifier or the current page type, i.e. current specific configuration information, from the specific configuration information.
Wherein, the common configuration information comprises the configuration information of the module objects shared by all the modules to be configured; thus, the client device can directly determine the configuration information of all module objects in the common configuration information as the current common configuration information.
It should be noted that the custom configuration information includes configuration information of a module object shared by custom modules in the plurality of modules; thus, custom configuration information does not necessarily include module objects for all modules. The specific configuration information includes configuration information of module objects belonging to only one module among the plurality of modules, and thus, the specific configuration information does not necessarily include module objects of all the modules. In this way, in the case that the custom configuration information does not include the target module, the client device does not exist the current custom configuration information obtained from the custom configuration information according to the current identifier or the current page type. In the case where the specific configuration information does not include the target module, the current specific configuration information obtained by the client device from the specific configuration information is also absent according to the current identification or the current page type.
It may also be known that, when the custom configuration information and the specific configuration information both include the target module, the client device obtains, according to the current identifier or the current page type, current public configuration information, current custom configuration information and current specific configuration information of the current page from the public configuration information, the custom configuration information and the specific configuration information, respectively.
In the embodiment of the application, under the condition that the module is a page template of one page type, the common configuration information comprises a corresponding relation between a plurality of page types and configuration information of module objects shared by the page templates of the plurality of page types; the custom configuration information comprises a corresponding relation between the custom page type and configuration information of a module object shared by the page templates of the custom page type; the specific configuration information includes a correspondence between any one of the plurality of page types and configuration information of a page template belonging to only any one of the page types. The custom page type is a part of page types with the number more than 2 in the plurality of page types.
At this time, the client device may obtain the current common configuration information, the current custom configuration information, and the previous specific configuration information from the common configuration information, the custom configuration information, and the specific configuration information, respectively, according to the current page type.
For example, the client device obtains configuration information of the module object corresponding to the current page type from the custom configuration information, that is, the current custom configuration information. The client device also obtains configuration information of the module object corresponding to the current page type, namely current specific configuration information, from the specific configuration information.
It can be understood that the "common configuration information, custom configuration information, and specific configuration information obtained according to the above analysis record all module objects included in all modules to be configured, and the configuration information of the same module object in all module objects is recorded only once in the specific configuration information, common configuration information, or custom configuration information", and the common configuration information, custom configuration information, and specific configuration information record all module objects included in the page templates of multiple page types to be configured, and the configuration information of the same module object in all module objects is recorded only once in the specific configuration information, common configuration information, or custom configuration information. That is, the common configuration information, the custom configuration information and the specific configuration information are recorded only once for the configuration information of the module objects multiplexed between the page templates of different page types, so that the configuration information of the module objects multiplexed between the page templates of k page types is prevented from being recorded k times, and the quantity of the configuration information of the software items is reduced.
Secondly, common configuration information, custom configuration information and configuration information of module objects which are recorded by specific configuration information and used by page templates of a plurality of page types. Then, for a plurality of pages belonging to the same page type, the client device may acquire configuration information of a module object used by the page template of the page type from the common configuration information, the custom configuration information, and the specific configuration information, and the acquired configuration information of the module object used by the page template of the page type may be used by the plurality of pages. Thus, the information utilization rate is improved.
In the embodiment of the present application, in the case where the plurality of modules are a plurality of pages, the common configuration information includes a correspondence between a plurality of identifiers corresponding to the plurality of modules and configuration information of a module object shared by the plurality of modules; the custom configuration information comprises a corresponding relation between an identifier corresponding to the custom module and configuration information of a module object shared by the custom module; the specific configuration information includes correspondence between an identification corresponding to any one of the plurality of modules and configuration information belonging to only any one of the modules.
At this time, the client device may obtain the current common configuration information, the current custom configuration information, and the previous specific configuration information from the common configuration information, the custom configuration information, and the specific configuration information, respectively, according to the current identifier.
S303, the client device generates configuration information of the current page according to the current public configuration information, the current custom configuration information, the current specific configuration information and the pre-stored priorities.
If the client device only acquires the current public configuration information, the client device can directly determine that the current public configuration information is the configuration information of the current page. If the client device obtains the current custom configuration information and/or the current specific configuration information in addition to the current public configuration information, the client device generates the configuration information of the current page according to the current public configuration information, the current custom configuration information, the current specific configuration information and a plurality of priorities.
Wherein the plurality of priorities represent an order of use between the common configuration information, the custom configuration information, and the specific configuration information. The client device receives the plurality of priorities from the developer device.
It will be appreciated that the client device receives configuration information for the item of software from the initiator device. The common configuration information in the configuration information of the software item comprises configuration information of a module object shared by a plurality of modules to be configured in the software item, the custom configuration information comprises configuration information of a module object shared by at least two modules, and the specific configuration information comprises module objects belonging to only one module. Further, for the current page, the client device obtains, as the current common configuration information of the current page, the configuration information of the module object common to the plurality of modules (including the current page) in addition to the common configuration information; the configuration information of the module object corresponding to the current page can be obtained from the custom configuration information and used as the current custom configuration information of the current page; configuration information of a module object corresponding to the current page can be obtained from the specific configuration information and used as current specific configuration information of the current page. And finally, the configuration information of the current page is composed of the current public configuration information, the current custom configuration and the current specific configuration information.
Wherein the current page may be any one of the modules in the software project. That is, for any one of the modules in the software project, the client device may acquire the configuration information pertaining to any one of the modules from the common configuration information, the specific configuration information, and the custom configuration information. The configuration information of the software project is recorded only once for the configuration information of the module objects multiplexed among different modules, so that the quantity of the configuration information of the software project is reduced.
In this embodiment of the present application, the plurality of priorities includes: priority corresponding to public configuration information, priority corresponding to custom configuration information and priority corresponding to specific configuration information.
In the embodiment of the application, the client device may determine the first module object and the second module object from the current public configuration information, the current custom configuration information and the current specific configuration information. And then, the client device acquires the configuration information of the first module object with the highest corresponding priority from the current public configuration information, the current custom configuration information and the current specific configuration information according to the priority corresponding to the current public configuration information, the priority corresponding to the current custom configuration information and the priority corresponding to the specific configuration information. And finally, the client equipment combines the configuration information of the first module object and the configuration information of the second module object in the current public configuration information, the current custom configuration information or the current specific configuration information to generate the configuration information of the current page.
The first module object is a module object belonging to at least two configuration information among current public configuration information, current custom configuration information and current specific configuration information. The second module object belongs to a module object in the current common configuration information, the current custom configuration information or the current specific configuration information. The configuration information corresponding to the first module object with the highest priority may be configuration information of the first module object in the configuration information with the highest priority among the current public configuration information, the current custom configuration information and the current specific configuration information.
It should be noted that the first module object may include one or more module objects. The second module object may include one or more module objects. The first module object and the second module object are different.
It will be appreciated that, since the configuration information of any module object included in any module may be described in the custom configuration information, or in the specific configuration information, in addition to the common configuration information. Thus, the common configuration information, the custom configuration information, and the specific configuration information correspond to different priorities, respectively. In this way, if the configuration information of any one module object included in one module is described in the common configuration information, the custom configuration, and the specific configuration information, the configuration information of any one module object included in the module can be uniquely determined from the common configuration information, the custom configuration, or the specific configuration information according to the above-mentioned priority.
Further, since the specific configuration information records configuration information of a module object belonging to only any one module, and the common configuration information and the custom configuration information record configuration information of a module object shared by at least two modules, the priority of the specific configuration information can be set higher than the priority of the common configuration information and the priority of the custom configuration information. In this way, if the configuration information of one module object shared by any module and other modules is recorded in the common configuration information or the custom configuration information, and the configuration information of the template object used by any module needs to be updated, the updated configuration information of the module object used by any module may only need to be added to the specific configuration information, and the configuration information of one module object shared by any module and other modules recorded in the common configuration information or the custom configuration information does not need to be modified. Since the priority of the specific configuration information is highest, the configuration information of the module object used by any module is also based on the updated configuration information of the module object recorded in the specific configuration information. In summary, the configuration information of one module object shared by any module and other modules recorded by the public configuration information or the custom configuration information is not required to be modified, so that the workload of modification is reduced, and the configuration information of the module object used by any module can be updated.
In the embodiment of the application, the client device can acquire the standard development template shared by a plurality of modules from the development end device. Then, the client device may modify the standard development template according to the configuration information of the current page, generate a page of the current page, and display the page.
It can be understood that after the client device obtains the configuration information of the current page, the obtained configuration information of the current page may be used to generate the page of the current page.
Referring to fig. 4, a flowchart of a method for obtaining configuration information according to an embodiment of the present application is provided. As shown in fig. 4, the method is applied to the initiator device and the client device, and may include S401 to S409.
S401, the development terminal equipment acquires a public configuration relation, a custom configuration relation, a specific configuration relation and a standard development template of the software project.
Illustratively, taking a software project as a website and a plurality of modules to be configured as 4 page templates of page types in the website as examples, the 4 page templates of page types comprise a page template of type A, a page template of type B, a page template of type C and a page template of type D. The development terminal equipment can generate a common configuration relation according to a module object shared by the page templates of the 4 page types; generating a custom configuration relation according to a module object shared by custom page templates in the page templates of the 4 page types; the specific configuration relationships are also generated from module objects of the page templates that belong only to each page type.
Wherein the standard development template is a template shared by page templates of 4 page types.
The custom page templates are page templates with the number of the page templates being smaller than 4 and larger than or equal to 2. The custom page template may include type a and type B. The custom configuration relationship may include: correspondence between type a and type B, header search area shared with type a and type B.
Wherein the specific configuration relationship may include: correspondence between type B and type B module objects, correspondence between type C and type C module objects, correspondence between type D and type D module objects.
S402, the development terminal equipment acquires public configuration information, custom configuration information and specific configuration information according to the public configuration relation, the custom configuration relation and the specific configuration relation respectively.
Illustratively, continuing to take the above-mentioned page templates of 4 page types as an example, the developing end may generate common configuration information according to the 4 page types (or one total identifier characterizing the 4 page types) and the configuration information of the module objects in the common configuration relationship; generating custom configuration information according to the type of the page module in the custom configuration relationship and the configuration information of the corresponding module object; and generating specific configuration information according to the type of the page module in the specific configuration relation and the configuration information of the corresponding module object.
Wherein, the total identification for characterizing 4 page types can be common; the common configuration information may include the following:
common {// common configuration information
audioitemcomponent, 'liveCategoryMark',/Standard development templates
}
Wherein the type of the page module of the type A is A, and the type of the page module of the type B is B. The custom configuration information may include the following:
wherein the type of the page module of the type C is C, and the type of the page module of the type D is D. The specific configuration information may include the following:
b {// specific configuration information
SearchAPIs, 'PLATFORM_LIVE_TEMPLATE_REVIEW',// specify query data interfaces
},
C {// specific configuration information
SearchAPIs, 'PLATFORM_LIVE_TEMPLATE_REVIEW',// specify query data interfaces
},
D {// specific configuration information
SearchAPI 'PLATFORM_LIVE_TEMPLATE_SEARCH',/specify query data interfaces
}
S403, the development terminal equipment forms configuration information of the software project by the public configuration information, the custom configuration information and the specific configuration information.
Illustratively, the configuration information of the software item composed of the common configuration information, the custom configuration information and the specific configuration information includes the following contents:
S404, the client device sends a request acquisition instruction to the development terminal device under the condition of receiving the configuration information acquisition instruction aiming at the current page in the software project; the configuration information acquisition instruction includes a current page type.
The request acquisition instruction is used for requesting to acquire configuration information of the software project. The current page type is the page type to which the current page belongs.
Illustratively, continuing with the example of the 4 page type page templates described above, the current page may be a type B page template, with the current page type being B.
S405, under the condition that the development end device receives a request acquisition instruction sent by the client device, the development end device sends configuration information, a plurality of priorities and a standard development template of the software project to the client device.
For example, taking the above 4 pages as an example, the priority corresponding to the specific configuration information is higher than the priority corresponding to the custom configuration information, and the priority corresponding to the custom configuration information is higher than the priority corresponding to the public configuration information.
S406, the client device acquires configuration information, a plurality of priorities and standard development templates of the software project from the development end device.
S407, under the condition that the custom configuration information and the specific configuration information both comprise the target module, the client device obtains the current public configuration information, the current custom configuration information and the current specific configuration information of the current page from the public configuration information, the custom configuration information and the specific configuration information according to the type of the current page.
Illustratively, taking the current page as the page template of the type B as an example, the content of the current common configuration information of the page template of the type B is obtained by the client device as follows:
the content of the current specific configuration information of the page template of the type B is obtained by the client device as follows:
b {// specific configuration information
SearchAPIs, 'PLATFORM_LIVE_TEMPLATE_REVIEW',// specify query data interfaces
}
S408, the client device generates configuration information of the current page according to the current public configuration information, the current custom configuration information, the current specific configuration information and the pre-stored priorities.
Taking the current page as the page template of the type B as an example, the client device determines only the second module object from the current public configuration information, the current custom configuration information and the current specific configuration information of the page template of the type B, and then the current public configuration information, the current custom configuration information and the current specific configuration information of the page template of the type B directly form the configuration information of the page template of the type B, which comprises the following contents:
s409, the client device modifies the standard development template according to the configuration information of the current page, generates the page of the current page and displays the page.
Illustratively, the client device may generate and display a page of a type B page template.
It is understood that the above method may be implemented by the acquiring means of the configuration information in the development end device or the client device. In order to achieve the above functions, the development end device or the client device includes a hardware structure and/or a software module for executing each function. Those of skill in the art will readily appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the embodiments of the present application.
The embodiment of the present application may divide the functional modules of the configuration information obtaining device and the like according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
Fig. 5 shows a schematic structural diagram of a configuration information acquiring apparatus according to the above embodiment in the case of dividing respective functional modules by corresponding respective functions, the apparatus 5 being applied to a development terminal device, the apparatus 5 including: a category acquisition module 501 and a configuration information generation module 502.
Wherein, the classification acquisition module 501 is configured to: acquiring a public configuration relation, a custom configuration relation and a specific configuration relation of a software item; and respectively acquiring public configuration information, custom configuration information and specific configuration information according to the public configuration relation, the custom configuration relation and the specific configuration relation. The configuration information generating module 502 is configured to form configuration information of the software project from the public configuration relationship, the custom configuration information and the specific configuration information.
Wherein the item of software comprises a plurality of modules to be configured. The common configuration relationship is used for representing the correspondence relationship between the plurality of modules and the module objects shared by the plurality of modules. The custom configuration relationship is a corresponding relationship between a custom module in the plurality of modules and a module object shared by the custom modules; the number of the custom modules is smaller than the number of the modules and is larger than or equal to 2. The specific configuration relation is used for representing the corresponding relation between each module in the plurality of modules and the module object only belonging to each module; a module is a page template of a page or a page type in a software project. The common configuration information includes configuration information of module objects in the common configuration relationship. The custom configuration information includes configuration information of module objects in the custom configuration relationship. The specific configuration information includes configuration information of module objects in the specific configuration relationship.
In one possible implementation manner, the classification acquisition module 501 is specifically configured to: acquiring configuration information of module objects in a public configuration relation, configuration information of module objects in a custom configuration relation and configuration information of module objects in a specific configuration relation; generating common configuration information according to the common configuration relation and the configuration information of the module objects in the common configuration relation; generating custom configuration information according to the custom configuration relationship and the configuration information of the module objects in the custom configuration relationship; and generating specific configuration information according to the specific configuration relation and the configuration information of the module objects in the specific configuration relation.
The common configuration information includes a correspondence relationship between all modules in the common configuration relationship and configuration information of a module object shared by all modules. The custom configuration information comprises a corresponding relation between the custom module in the custom configuration relation and the configuration information of the module objects shared by the custom module. The specific configuration information includes a correspondence relationship between each module in the specific configuration relationship and configuration information of module objects belonging only to each module.
In another possible embodiment, the apparatus 5 further comprises an updating module 503. An updating module 503, configured to, after the configuration information of the software item is formed by the public configuration information, the custom configuration information and the specific configuration information, modify the configuration information corresponding to the target module in the public configuration information if the target module belongs to the module in the public configuration information under the condition that a modification instruction for the target module is received, and obtain updated configuration information of the software item; or if the target module belongs to a module in the custom configuration information, modifying the configuration information corresponding to the target module in the custom configuration information to obtain updated configuration information of the software project.
In another possible implementation manner, the classification acquisition module 501 is specifically configured to: acquiring page information of a plurality of modules; and determining a module object shared by a plurality of modules, a module object shared by a custom module and a module object only belonging to each module in the plurality of modules according to the page information so as to obtain a public configuration relationship, a custom configuration relationship and a specific configuration relationship.
In another possible embodiment, the apparatus 5 further comprises a sending module 504. After the configuration information of the software project is composed of the public configuration information, the custom configuration information and the specific configuration information, the classification obtaining module 501 is further configured to obtain a priority corresponding to the public configuration information, a priority corresponding to the custom configuration information and a priority corresponding to the specific configuration information; the priority indicates the use sequence of the corresponding configuration information; a sending module 504, configured to: and sending the configuration information of the software item, the priority corresponding to the public configuration information, the priority corresponding to the custom configuration information and the priority corresponding to the specific configuration information to the client device.
Fig. 6 shows a schematic structural diagram of another configuration information acquisition apparatus related to the above embodiment in the case of dividing respective functional modules with respective functions, the apparatus 6 being applied to a client device, the apparatus 6 including: a configuration information receiving module 601 and a configuration information processing module 602.
The configuration information receiving module 601 is configured to obtain configuration information of a software project from a development end device when receiving a configuration information obtaining instruction for a current page in the software project; a configuration information processing module 602, configured to: according to the current identifier or the current page type, current public configuration information, current custom configuration information and current specific configuration information of the current page are respectively obtained from the public configuration information, the custom configuration information and the specific configuration information; and generating configuration information of the current page according to the current public configuration information, the current custom configuration information, the current specific configuration information and the prestored multiple priorities.
The software project comprises a plurality of modules to be configured, and the current page belongs to the plurality of modules. The configuration information acquisition instruction comprises a current identification of a current page or a current page type to which the current page belongs. The configuration information of the software items includes common configuration information, custom configuration information, and specific configuration information. The common configuration information includes configuration information of a module object common to the plurality of modules. The custom configuration information comprises configuration information of a module object shared by custom modules in the plurality of modules; the number of the custom modules is smaller than the number of the modules and is larger than or equal to 2. The specific configuration information includes configuration information belonging only to each of the plurality of modules. The plurality of priorities represent a sequence of use among the common configuration information, the custom configuration information, and the specific configuration information.
In a possible implementation manner, in the case that the module is a page template of one page type, the common configuration information includes a correspondence between configuration information of a plurality of page types and module objects shared by the page templates of the plurality of page types, the custom configuration information includes a correspondence between configuration information of a custom page type and module objects shared by the page templates of the custom page type, and the specific configuration information includes a correspondence between configuration information of a page template of only any one page type among the plurality of page types.
The configuration information processing module 602 is specifically configured to: and according to the current page type, acquiring current public configuration information, current custom configuration information and previous specific configuration information from the public configuration information, the custom configuration information and the specific configuration information respectively.
In another possible implementation, the plurality of priorities includes: priority corresponding to public configuration information, priority corresponding to custom configuration information and priority corresponding to specific configuration information.
The configuration information processing module 602 is specifically configured to: determining a first module object and a second module object from the current public configuration information, the current custom configuration information and the current specific configuration information; acquiring configuration information of a first module object with the highest corresponding priority from current public configuration information, current custom configuration information and current specific configuration information according to the priority corresponding to the public configuration information, the priority corresponding to the custom configuration information and the priority corresponding to the specific configuration information; and combining the configuration information of the first module object and the configuration information of the second module object in the current public configuration information, the current custom configuration information or the current specific configuration information to generate the configuration information of the current page.
The first module object is a module object belonging to at least two configuration information among current public configuration information, current custom configuration information and current specific configuration information. The second module object belongs to a module object in the current common configuration information, the current custom configuration information or the current specific configuration information.
In another possible implementation, the apparatus 6 further includes a page display module 603. The configuration information receiving module 601 is further configured to obtain a standard development template shared by a plurality of modules from the development terminal device; the page display module 603 is configured to modify the standard development template according to the configuration information of the current page, and display the page of the current page.
In case of using integrated units, fig. 7 shows a schematic diagram of one possible structure of the development end device or the client device involved in the above-described embodiment. The electronic device 7 may include: a processor 701 and a memory 702 for storing the processor executable instructions. Wherein the processor 701 is configured to execute the instruction, to cause the electronic device 7 to execute the configuration information acquisition method executed by the development-side device as described above, or to cause the electronic device 7 to execute the configuration information acquisition method executed by the client device as described above.
Processor 701 may include, among other things, one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 701 may include an application processor (application processor, AP), a modem processor, a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural-Network Processor (NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
Memory 702 may include one or more computer-readable storage media, which may be non-transitory. The memory 702 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 702 is used to store at least one instruction for execution by processor 701 to implement a method of obtaining configuration information for execution by a development end device as described above, or for execution by processor 701 to implement a method of obtaining configuration information for execution by a client device as described above.
The embodiment of the application also provides a computer readable storage medium, which comprises computer instructions, when the computer instructions run on the development end device, the development end device is caused to execute the method for acquiring the configuration information executed by the development end device; or, when the computer instructions run on the client device, the client device is caused to execute the method for acquiring the configuration information executed by the client device. For example, the computer readable storage medium may be Read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), compact disc Read-Only Memory (CD-ROM), magnetic tape, floppy disk, optical data storage device, and the like.
The embodiment of the application also provides a computer program product, when the computer program product runs on the development end device, the development end device is caused to execute the method for acquiring the configuration information executed by the development end device; or, when the computer program product runs on the client device, the client device is caused to execute the method for acquiring the configuration information executed by the client device.
It will be apparent to those skilled in the art from this description that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts shown as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
The foregoing is merely a specific embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (18)

1. The method for acquiring the configuration information is characterized by being applied to the equipment at the development end, and comprises the following steps:
acquiring a public configuration relation, a custom configuration relation and a specific configuration relation of a software item; wherein the software project comprises a plurality of modules to be configured; the common configuration relationship is used for representing the corresponding relationship between the plurality of modules and the module objects shared by the plurality of modules; the custom configuration relationship is a corresponding relationship between a custom module in the plurality of modules and a module object shared by the custom modules; the number of the custom modules is smaller than the number of the modules and is larger than or equal to 2; the specific configuration relation is used for representing the corresponding relation between each module in the plurality of modules and the module objects only belonging to each module; the module is a page in the software project or a page template of a page type in the software project;
Acquiring public configuration information, custom configuration information and specific configuration information according to the public configuration relation, the custom configuration relation and the specific configuration relation respectively; the public configuration information comprises configuration information of module objects in the public configuration relation, the custom configuration information comprises configuration information of the module objects in the custom configuration relation, and the specific configuration information comprises configuration information of the module objects in the specific configuration relation;
the public configuration information, the custom configuration information and the specific configuration information form configuration information of the software project;
acquiring the priority corresponding to the public configuration information, the priority corresponding to the custom configuration information and the priority corresponding to the specific configuration information; wherein, the priority represents the use sequence of the corresponding configuration information; the priority corresponding to the specific configuration information is higher than the priority corresponding to the custom configuration information, and the priority corresponding to the custom configuration information is higher than the priority corresponding to the public configuration information;
and sending the configuration information of the software item, the priority corresponding to the public configuration information, the priority corresponding to the custom configuration information and the priority corresponding to the specific configuration information to the client device.
2. The method of claim 1, wherein the obtaining the common configuration information, the custom configuration information, and the specific configuration information according to the common configuration relationship, the custom configuration relationship, and the specific configuration relationship, respectively, comprises:
acquiring configuration information of module objects in the public configuration relation, configuration information of module objects in the custom configuration relation and configuration information of module objects in the specific configuration relation;
generating the public configuration information according to the public configuration relation and the configuration information of the module objects in the public configuration relation; the common configuration information comprises the corresponding relation between all modules in the common configuration relation and the configuration information of the module objects shared by all the modules;
generating the custom configuration information according to the custom configuration relationship and the configuration information of the module objects in the custom configuration relationship; the custom configuration information comprises a corresponding relation between a custom module in the custom configuration relation and configuration information of a module object shared by the custom module;
generating the specific configuration information according to the specific configuration relation and the configuration information of the module objects in the specific configuration relation; the specific configuration information includes a correspondence between each module in the specific configuration relationship and configuration information of a module object belonging only to the each module.
3. The method according to claim 1 or 2, characterized in that after said composing configuration information of said software item from said common configuration information, said custom configuration information and said specific configuration information, said method further comprises:
under the condition that a modification instruction aiming at a target module is received, if the target module belongs to a module in the public configuration information, modifying configuration information corresponding to the target module in the public configuration information to obtain updated configuration information of the software item;
or if the target module belongs to the module in the custom configuration information, modifying the configuration information corresponding to the target module in the custom configuration information to obtain updated configuration information of the software item.
4. The method according to claim 1 or 2, wherein the obtaining the common configuration relation, the custom configuration relation and the specific configuration relation of the software items comprises:
acquiring page information of the plurality of modules;
and determining a module object shared by the plurality of modules, a module object shared by the custom module and a module object only belonging to each module in the plurality of modules according to the page information so as to obtain the public configuration relation, the custom configuration relation and the specific configuration relation.
5. A method for obtaining configuration information, which is applied to a client device, the method comprising:
acquiring configuration information of a software project from development end equipment under the condition that a configuration information acquisition instruction aiming at a current page in the software project is received;
the software project comprises a plurality of modules to be configured, and the current page belongs to the plurality of modules; the configuration information acquisition instruction comprises a current identifier of the current page or a current page type to which the current page belongs; the configuration information of the software project comprises public configuration information, custom configuration information and specific configuration information; the common configuration information comprises configuration information of a module object shared by the plurality of modules; the custom configuration information comprises configuration information of a module object shared by custom modules in the plurality of modules; the number of the custom modules is smaller than the number of the modules and is larger than or equal to 2; the specific configuration information includes configuration information belonging only to each of the plurality of modules;
according to the current identifier or the current page type, current public configuration information, current custom configuration information and current specific configuration information of the current page are respectively obtained from the public configuration information, the custom configuration information and the specific configuration information;
Generating configuration information of the current page according to the current public configuration information, the current custom configuration information, the current specific configuration information and a plurality of pre-stored priorities; the plurality of priorities represent a sequence of use among the common configuration information, the custom configuration information, and the specific configuration information; the plurality of priorities includes: priority corresponding to the public configuration information, priority corresponding to the custom configuration information and priority corresponding to the specific configuration information; the priority corresponding to the specific configuration information is higher than the priority corresponding to the custom configuration information, and the priority corresponding to the custom configuration information is higher than the priority corresponding to the public configuration information.
6. The method according to claim 5, wherein in the case where the module is a page template of one page type in the software item, the common configuration information includes a correspondence between a plurality of page types and configuration information of a module object common to the page templates of the plurality of page types, the custom configuration information includes a correspondence between a custom page type and configuration information of a module object common to the page templates of the custom page type, and the specific configuration information includes a correspondence between any one of the plurality of page types and configuration information of a page template belonging only to the any one of the page types;
The step of obtaining the current public configuration information, the current custom configuration information and the current specific configuration information of the current page from the public configuration information, the custom configuration information and the specific configuration information according to the current identifier or the current page type respectively includes:
and respectively acquiring the current public configuration information, the current custom configuration information and the previous specific configuration information from the public configuration information, the custom configuration information and the specific configuration information according to the current page type.
7. The method according to claim 5 or 6, wherein generating the configuration information of the current page according to the current common configuration information, the current custom configuration information, the current specific configuration information, and a plurality of pre-stored priorities comprises:
determining a first module object and a second module object from the current public configuration information, the current custom configuration information and the current specific configuration information; the first module object is a module object belonging to at least two configuration information among the current public configuration information, the current custom configuration information and the current specific configuration information; the second module object belongs to a module object in the current public configuration information, the current custom configuration information or the current specific configuration information;
Acquiring configuration information of the first module object with the highest corresponding priority from the current public configuration information, the current custom configuration information and the current specific configuration information according to the priority corresponding to the public configuration information, the priority corresponding to the custom configuration information and the priority corresponding to the specific configuration information;
and combining the configuration information of the first module object and the configuration information of the second module object in the current public configuration information, the current custom configuration information or the current specific configuration information to generate the configuration information of the current page.
8. The method according to claim 5 or 6, characterized in that the method further comprises:
acquiring a standard development template shared by the modules from the development terminal equipment;
and modifying the standard development template according to the configuration information of the current page, and displaying the page of the current page.
9. The device for acquiring the configuration information is characterized by being applied to an initiating device, and comprises: the device comprises a classification acquisition module, a configuration information generation module and a sending module;
the classification acquisition module is used for: acquiring a public configuration relation, a custom configuration relation and a specific configuration relation of a software item; acquiring public configuration information, custom configuration information and specific configuration information according to the public configuration relation, the custom configuration relation and the specific configuration relation respectively;
The configuration information generation module is used for forming configuration information of the software project by the public configuration information, the custom configuration information and the specific configuration information;
wherein the software project comprises a plurality of modules to be configured; the common configuration relationship is used for representing the corresponding relationship between the plurality of modules and the module objects shared by the plurality of modules; the custom configuration relationship is a corresponding relationship between a custom module in the plurality of modules and a module object shared by the custom modules; the number of the custom modules is smaller than the number of the modules and is larger than or equal to 2; the specific configuration relation is used for representing the corresponding relation between each module in the plurality of modules and the module objects only belonging to each module; the module is a page in the software project or a page template of a page type in the software project;
the public configuration information comprises configuration information of module objects in the public configuration relation, the custom configuration information comprises configuration information of the module objects in the custom configuration relation, and the specific configuration information comprises configuration information of the module objects in the specific configuration relation;
The classification acquisition module is further configured to acquire a priority corresponding to the public configuration information, a priority corresponding to the custom configuration information, and a priority corresponding to the specific configuration information after the configuration information of the software project is composed of the public configuration information, the custom configuration information, and the specific configuration information; wherein, the priority represents the use sequence of the corresponding configuration information; the priority corresponding to the specific configuration information is higher than the priority corresponding to the custom configuration information, and the priority corresponding to the custom configuration information is higher than the priority corresponding to the public configuration information;
the sending module is configured to send configuration information of the software item, a priority corresponding to the public configuration information, a priority corresponding to the custom configuration information, and a priority corresponding to the specific configuration information to the client device.
10. The apparatus of claim 9, wherein the classification acquisition module is specifically configured to:
acquiring configuration information of module objects in the public configuration relation, configuration information of module objects in the custom configuration relation and configuration information of module objects in the specific configuration relation;
Generating the public configuration information according to the public configuration relation and the configuration information of the module objects in the public configuration relation; the common configuration information comprises the corresponding relation between all modules in the common configuration relation and the configuration information of the module objects shared by all the modules;
generating the custom configuration information according to the custom configuration relationship and the configuration information of the module objects in the custom configuration relationship; the custom configuration information comprises a corresponding relation between a custom module in the custom configuration relation and configuration information of a module object shared by the custom module;
generating the specific configuration information according to the specific configuration relation and the configuration information of the module objects in the specific configuration relation; the specific configuration information includes a correspondence between each module in the specific configuration relationship and configuration information of a module object belonging only to the each module.
11. The apparatus according to claim 9 or 10, further comprising an update module;
the updating module is used for: after the configuration information of the software project is formed by the public configuration information, the custom configuration information and the specific configuration information, if a modification instruction for a target module is received, modifying the configuration information corresponding to the target module in the public configuration information to obtain updated configuration information of the software project if the target module belongs to a module in the public configuration information;
Or if the target module belongs to the module in the custom configuration information, modifying the configuration information corresponding to the target module in the custom configuration information to obtain updated configuration information of the software item.
12. The apparatus according to claim 9 or 10, wherein the classification acquisition module is specifically configured to:
acquiring page information of the plurality of modules;
and determining a module object shared by the plurality of modules, a module object shared by the custom module and a module object only belonging to each module in the plurality of modules according to the page information so as to obtain the public configuration relation, the custom configuration relation and the specific configuration relation.
13. An apparatus for obtaining configuration information, applied to a client device, the apparatus comprising: a configuration information receiving module and a configuration information processing module;
the configuration information receiving module is used for acquiring configuration information of a software project from the development terminal equipment under the condition of receiving a configuration information acquisition instruction aiming at a current page in the software project;
the software project comprises a plurality of modules to be configured, and the current page belongs to the plurality of modules; the configuration information acquisition instruction comprises a current identifier of the current page or a current page type to which the current page belongs; the configuration information of the software project comprises public configuration information, custom configuration information and specific configuration information; the common configuration information comprises configuration information of a module object shared by the plurality of modules; the custom configuration information comprises configuration information of a module object shared by custom modules in the plurality of modules; the number of the custom modules is smaller than the number of the modules and is larger than or equal to 2; the specific configuration information includes configuration information belonging only to each of the plurality of modules;
The configuration information processing module is used for: according to the current identifier or the current page type, current public configuration information, current custom configuration information and current specific configuration information of the current page are respectively obtained from the public configuration information, the custom configuration information and the specific configuration information; generating configuration information of the current page according to the current public configuration information, the current custom configuration information, the current specific configuration information and a plurality of pre-stored priorities; the plurality of priorities represent a sequence of use among the common configuration information, the custom configuration information, and the specific configuration information; the plurality of priorities includes: priority corresponding to the public configuration information, priority corresponding to the custom configuration information and priority corresponding to the specific configuration information; the priority corresponding to the specific configuration information is higher than the priority corresponding to the custom configuration information, and the priority corresponding to the custom configuration information is higher than the priority corresponding to the public configuration information.
14. The apparatus according to claim 13, wherein in the case where the module is a page template of one page type in the software item, the common configuration information includes a correspondence between a plurality of page types and configuration information of a module object common to the page templates of the plurality of page types, the custom configuration information includes a correspondence between a custom page type and configuration information of a module object common to the page templates of the custom page type, and the specific configuration information includes a correspondence between any one of the plurality of page types and configuration information of a page template belonging only to the any one of the page types;
The configuration information processing module is specifically configured to obtain, according to the current page type, the current common configuration information, the current custom configuration information and the previous specific configuration information from the common configuration information, the custom configuration information and the specific configuration information, respectively.
15. The device according to claim 13 or 14, wherein,
the configuration information processing module is specifically configured to:
determining a first module object and a second module object from the current public configuration information, the current custom configuration information and the current specific configuration information; the first module object is a module object belonging to at least two configuration information among the current public configuration information, the current custom configuration information and the current specific configuration information; the second module object belongs to a module object in the current public configuration information, the current custom configuration information or the current specific configuration information;
acquiring configuration information of the first module object with the highest corresponding priority from the current public configuration information, the current custom configuration information and the current specific configuration information according to the priority corresponding to the public configuration information, the priority corresponding to the custom configuration information and the priority corresponding to the specific configuration information;
And combining the configuration information of the first module object and the configuration information of the second module object in the current public configuration information, the current custom configuration information or the current specific configuration information to generate the configuration information of the current page.
16. The apparatus according to claim 13 or 14, characterized in that the apparatus further comprises: a page display module;
the configuration information receiving module is further used for obtaining a standard development template shared by the plurality of modules from the development terminal equipment;
the page display module is used for modifying the standard development template according to the configuration information of the current page and displaying the page of the current page.
17. An electronic device, the electronic device comprising: a processor and a memory for storing instructions executable by the processor;
wherein the processor is configured to execute the instructions to cause the electronic device to perform the method of obtaining configuration information according to any one of claims 1-4 or claims 5-8.
18. A computer-readable storage medium having stored thereon computer instructions; wherein the computer instructions, when run on an electronic device, cause the electronic device to perform the method of obtaining configuration information according to any one of claims 1-4 or claims 5-8.
CN202110687146.8A 2021-06-21 2021-06-21 Configuration information acquisition method, device, system and storage medium Active CN113467823B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110687146.8A CN113467823B (en) 2021-06-21 2021-06-21 Configuration information acquisition method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110687146.8A CN113467823B (en) 2021-06-21 2021-06-21 Configuration information acquisition method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN113467823A CN113467823A (en) 2021-10-01
CN113467823B true CN113467823B (en) 2024-03-01

Family

ID=77868918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110687146.8A Active CN113467823B (en) 2021-06-21 2021-06-21 Configuration information acquisition method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN113467823B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110308908A (en) * 2018-03-20 2019-10-08 北京小米移动软件有限公司 The generation of the configuration file of application and methods of exhibiting, device and the storage medium of application page
CN110413272A (en) * 2019-07-30 2019-11-05 广州市百果园信息技术有限公司 Front end project build method, apparatus, storage medium and equipment
CN111309379A (en) * 2020-02-27 2020-06-19 平安健康保险股份有限公司 Project generation method and device, computer equipment and storage medium
CN111813435A (en) * 2019-04-11 2020-10-23 天津五八到家科技有限公司 Page content configuration method and device and electronic equipment
CN111984239A (en) * 2019-05-24 2020-11-24 腾讯科技(深圳)有限公司 Page configuration method, device, server and storage medium
CN112416425A (en) * 2020-11-20 2021-02-26 微医云(杭州)控股有限公司 APP construction method and device, computer equipment and storage medium
CN112433727A (en) * 2020-12-10 2021-03-02 建信金融科技有限责任公司 User interface configuration method and device, electronic equipment and readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110308908A (en) * 2018-03-20 2019-10-08 北京小米移动软件有限公司 The generation of the configuration file of application and methods of exhibiting, device and the storage medium of application page
CN111813435A (en) * 2019-04-11 2020-10-23 天津五八到家科技有限公司 Page content configuration method and device and electronic equipment
CN111984239A (en) * 2019-05-24 2020-11-24 腾讯科技(深圳)有限公司 Page configuration method, device, server and storage medium
CN110413272A (en) * 2019-07-30 2019-11-05 广州市百果园信息技术有限公司 Front end project build method, apparatus, storage medium and equipment
CN111309379A (en) * 2020-02-27 2020-06-19 平安健康保险股份有限公司 Project generation method and device, computer equipment and storage medium
CN112416425A (en) * 2020-11-20 2021-02-26 微医云(杭州)控股有限公司 APP construction method and device, computer equipment and storage medium
CN112433727A (en) * 2020-12-10 2021-03-02 建信金融科技有限责任公司 User interface configuration method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN113467823A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
US20200110728A1 (en) Distributed application architectures using blockchain and distributed file systems
CN112800095B (en) Data processing method, device, equipment and storage medium
CN110321448B (en) Image retrieval method, device and storage medium
CN108667840B (en) Injection vulnerability detection method and device
CN108536467B (en) Code positioning processing method and device, terminal equipment and storage medium
WO2017054533A1 (en) External resource management method, apparatus and system through cloud interworking
CN115470156A (en) RDMA-based memory use method, system, electronic device and storage medium
CN112559525B (en) Data checking system, method, device and server
CN113467823B (en) Configuration information acquisition method, device, system and storage medium
CN112257736A (en) Model training system, method, equipment and storage medium based on multiple clusters
CN113486025B (en) Data storage method, data query method and device
CN116028696A (en) Resource information acquisition method and device, electronic equipment and storage medium
CN115543317A (en) Front-end page development method and device
CN111310088B (en) Page rendering method and device
CN115016754A (en) Method and device for synchronously displaying pages among devices, electronic device and medium
CN114124524A (en) Cloud platform permission setting method and device, terminal equipment and storage medium
CN114064712A (en) Data access method and device, electronic equipment and computer readable storage medium
CN113495723A (en) Method and device for calling functional component and storage medium
CN107679093B (en) Data query method and device
CN112417020A (en) Method and device for realizing service expansion, computer equipment and storage medium
CN111752559A (en) Front-end and back-end separation system, method, device and storage medium
CN115604000B (en) Override detection method, device, equipment and storage medium
CN115314258B (en) Method and device for detecting weak password, electronic equipment and storage medium
CN113656434B (en) Data query method and device, computer equipment and storage medium
CN113704109B (en) Front-end and back-end data interaction method and device, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant