CN106897072B - Service engineering calling method and device and electronic equipment - Google Patents

Service engineering calling method and device and electronic equipment Download PDF

Info

Publication number
CN106897072B
CN106897072B CN201710114009.9A CN201710114009A CN106897072B CN 106897072 B CN106897072 B CN 106897072B CN 201710114009 A CN201710114009 A CN 201710114009A CN 106897072 B CN106897072 B CN 106897072B
Authority
CN
China
Prior art keywords
service
engineering
project
business
functional module
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
CN201710114009.9A
Other languages
Chinese (zh)
Other versions
CN106897072A (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 Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online 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 Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201710114009.9A priority Critical patent/CN106897072B/en
Publication of CN106897072A publication Critical patent/CN106897072A/en
Application granted granted Critical
Publication of CN106897072B publication Critical patent/CN106897072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/656Updates while running
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues

Landscapes

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

Abstract

The invention provides a business engineering calling method, a business engineering calling device and electronic equipment, and relates to the technical field of computers. The method and the device are applied to an application program comprising a main project and a plurality of business projects. The plurality of business projects are integrated in the main project, each business project comprises at least one functional module, and the at least one functional module can independently realize the business. The method comprises the following steps: acquiring a service execution request, wherein the service execution request comprises an identifier of the service; searching a functional module required for realizing the service in the main project according to the identifier; and calling and executing the functional module. Therefore, the coupling among all the business projects can be reduced, and the multiplexing of all the business projects can be enhanced. When the codes of a single business project are updated, the whole application program does not need to be compiled again, so that the compiling time of the single business project is shortened, and the conflict probability is reduced.

Description

Service engineering calling method and device and electronic equipment
Technical Field
The invention relates to the technical field of service calling, in particular to a service engineering calling method, a service engineering calling device and electronic equipment.
Background
With the continuous development of internet technology, more and more enterprises develop application programs for performing online business processing. As the size of enterprises is gradually increased and the types of businesses are gradually increased, the application programs also comprise more business components.
The inventor researches and discovers that in practical application, different business components are usually developed by different enterprise departments. When a single business component is updated, the entire application needs to be compiled and tested. Thus, code incorporation is slow and inefficient. Moreover, since business components can affect each other, if two or more developers modify the same code, conflicts between the codes can be caused, and additional communication cost and time cost are brought.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus and an electronic device for invoking a business process, so as to solve the above problem.
In order to achieve the above object, a preferred embodiment of the present invention provides a service engineering calling method, which is applied to an application program including a main engineering and a plurality of service engineering, where the plurality of service engineering are integrated in the main engineering, each service engineering includes at least one functional module, and the at least one functional module can independently implement the service, where the method includes:
acquiring a service execution request, wherein the service execution request comprises an identifier of the service;
searching a functional module required for realizing the service in the main project according to the identifier; and
and calling and executing the functional module.
Optionally, in the service invoking method, before acquiring the service execution request, the method further includes:
the main project acquires a service registration request of each service project, wherein the service registration request comprises an identifier of the service project and address information of a functional module required for realizing the service project; and
and the main project stores the identification of the business project and the address information of the functional module required by realizing the business project after associating the identification with the address information.
Optionally, in the service engineering calling method, the functional module required for implementing each service engineering is stored in a different code warehouse, and the functional module required for implementing each service engineering is integrated in the service engineering; the step of calling and executing the functional module comprises:
and calling the functional module in the code warehouse where the functional module is located according to the address information of the functional module.
Optionally, in the service engineering calling method, current configuration information of each service engineering is recorded in the main engineering, and the method further includes:
aiming at each business project, detecting whether a functional module with updated content exists in the business project; and
and when detecting that the functional module with updated content exists in the business project, updating the configuration information of the business project in the main project.
The preferred embodiment of the present invention further provides a service engineering calling apparatus, which is applied to an application program including a main engineering and a plurality of service engineering, wherein the plurality of service engineering are integrated in the main engineering in a plug-in manner, each service engineering includes at least one functional module, the at least one functional module can independently implement the service, and the service engineering calling apparatus includes:
a request obtaining unit, configured to obtain a service execution request, where the service execution request includes an identifier of the service;
a functional module searching unit, configured to search, according to the identifier, a functional module required for implementing the service in the main project; and
and the function module calling unit is used for calling and executing the function module.
Optionally, in the service engineering invoking device, the service engineering invoking device further includes:
a service registration request obtaining unit, configured to obtain a service registration request of each service project, where the service registration request includes an identifier of the service project and address information of a function module required to implement the service project; and
and the associated storage unit is used for associating the identifier of the business engineering with the address information of the functional module required by realizing the business engineering and then storing the associated identifier and the address information into the main engineering.
Optionally, in the service engineering calling apparatus, the functional module required for implementing each service engineering is stored in a different code warehouse, and the functional module required for implementing each service engineering is integrated in the service engineering; the function module calling unit includes:
and the code calling subunit is used for calling the functional module in the code warehouse where the functional module is located according to the address information of the functional module.
Optionally, in the service engineering calling apparatus, the main engineering records current configuration information of each service engineering, and the service engineering calling apparatus further includes:
the updating detection unit is used for detecting whether a functional module with updated content exists in each business project; and
and the configuration information updating unit is used for updating the configuration information of the business engineering in the main engineering when detecting that the functional module with updated content exists in the business engineering.
The invention provides an electronic device, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the computer program comprises a main project and a plurality of business projects, the business projects are integrated in the main project in a plug-in mode, each business project comprises at least one functional module, the at least one functional module can independently realize the business, and the processor executes the program to realize the steps included in the business project calling method provided by the invention.
The preferred embodiment of the present invention also provides a computer readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps included in the service engineering calling method provided by the present invention.
The business engineering calling method, the business engineering calling device and the electronic equipment provided by the embodiment of the invention have the advantages that the application program is divided into the main engineering and the plurality of business engineering integrated in the main engineering, each business engineering comprises at least one functional module, and the at least one functional module can independently realize the business. The main engineering finds out the function module calling and executing needed for realizing the business through the business identification included in the business executing request, thus realizing the decoupling of each business component, and when updating the code of a single business engineering, the whole application program does not need to be compiled again, thereby shortening the single compiling time and reducing the conflict probability.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a block diagram of an electronic device according to an embodiment of the present invention.
Fig. 2 is a schematic flowchart of a service engineering calling method according to an embodiment of the present invention.
Fig. 3 is another schematic flow chart of the service engineering calling method according to the embodiment of the present invention.
Fig. 4 is a schematic flowchart of a service engineering calling method according to an embodiment of the present invention.
Fig. 5 is a functional block diagram of a service engineering calling apparatus according to an embodiment of the present invention.
Fig. 6 is a block diagram of another functional module of a service engineering calling apparatus according to an embodiment of the present invention.
Fig. 7 is a block diagram of another functional module of a service engineering calling apparatus according to an embodiment of the present invention.
Icon: 100-an electronic device; 110-a business engineering calling device; 111-request acquisition unit; 112-functional module lookup unit; 113-a function module calling unit; 1131 — code call subunit; 114-a service registration request acquisition unit; 115-an associated memory location; 116-update detection unit; 117-configuration information update unit; 120-a memory; 130-a processor.
Detailed Description
In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The inventor researches to find that the existing application program generally comprises a main project, and the main project comprises a plurality of business components. The project files of the main project and the codes of all the service components are located in the same code base, the coupling degree between the project files and the codes of all the service components is high, and the code reuse rate is low. When a certain business component is developed or updated, the whole project must be tested and updated, which is inefficient and easily conflicts with the codes of other business components.
And if all the service components are separated from the main project, respectively transferring the codes of all the separated service components to different code warehouses, and establishing independent project files for all the separated service components for operating the service components. And other components required for realizing the service are configured in the project file of each service component, so that each service component can be independently operated, debugged and updated without the main project, the code reuse rate is increased, and the further research and development efficiency of the service components is improved.
Fig. 1 is a block diagram of an electronic device 100 according to a preferred embodiment of the invention. The electronic device 100 in the embodiment of the present invention may be a server, a computer, or a computer. The electronic device 100 includes a service engineering calling apparatus 110, a memory 120, and a processor 130.
The memory 120, processor 130, and various components are electrically coupled, directly or indirectly, to enable data transfer or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The processor 130 is used for executing executable modules stored in the memory 120, such as software functional modules and computer programs included in the business engineering calling device 110.
The Memory 120 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 120 is used for storing a program, and the processor 130 executes the program after receiving the execution instruction.
The processor 130 may be an integrated circuit chip having signal processing capabilities. The Processor 130 may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It should be understood that the configuration shown in FIG. 1 is merely illustrative and that the electronic device 100 may include more or fewer components than shown in FIG. 1 or have a different configuration than shown in FIG. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
Please refer to fig. 2, which is a method for invoking a service engineering according to an embodiment of the present invention. The business engineering calling method is applied to an application program comprising a main engineering and a plurality of business engineering, and the business engineering is integrated in the main engineering. The plurality of business projects may be integrated in the main project in a plug-in form, or may be integrated in the main project in a third party library form, which is not limited in this embodiment.
In this embodiment, each business project includes at least one functional module, and a project file for running the at least one functional module. The engineering file and the at least one functional module are stored in different code warehouses, and components and public services required for realizing the services corresponding to the service engineering are configured in the engineering file.
And the at least one functional module can independently realize the service corresponding to the service engineering. It should be noted that, the "independently implement the service corresponding to the service engineering" mentioned herein specifically means that the at least one functional module is separated from the main engineering to implement the service corresponding to the service engineering.
In practical applications, the implementation of the multiple service projects may need to rely on some common function modules, and in this embodiment, the common function modules may be stored in a special code repository so that each service project can call the common function modules. It should be noted that the "special code repository" refers to a code repository for storing only the common functional module.
The method steps and the specific flow shown in fig. 2 will be described in detail below.
Step S101: and acquiring a service execution request.
In this embodiment, the manner of obtaining the service execution request includes: and acquiring a service execution request sent by the main project or the service project. That is, the main project may invoke each business project, and each business project may invoke other business projects.
The service execution request comprises the identification of the service corresponding to the service execution request. Optionally, in this embodiment, different identifiers correspond to different business projects, and each business project includes at least one functional module, that is, each identifier corresponds to at least one functional module.
Step S102: and searching a functional module required for realizing the service in the main project according to the identifier.
Step S103: and calling and executing the functional module.
The identifier may be, but is not limited to, a function keyword. For example: the functional key word of the catering business can be 'food'. When the method is implemented, the application program can find out and execute each functional module required by the catering business engineering according to the functional keyword 'food' included in the business execution request.
It should be noted that the identifier of each service may be defined in advance according to an actual requirement, and this embodiment does not limit this.
According to actual requirements, after the identifiers of the services are defined, service entries associated with the identifiers of the services also need to be generated. Therefore, the application program can find the position of the service engineering for realizing the service according to the input service identification, and then call and execute the functional module required by realizing the service.
In order to achieve the above object, optionally, referring to fig. 3, before step S101, the service engineering calling method may further include step S104 and step S105.
Step S104: and the main project acquires the service registration request of each service project.
The service registration request comprises the identification of the service project and the address information of the functional module required for realizing the service project.
Step S105: and the main project stores the identification of the business project and the address information of the functional module required by realizing the business project after associating the identification with the address information.
In this embodiment, each service project may register its own identifier in the main project through the registration engine, so as to generate a corresponding service entry. The service entry refers to address information of a functional module required for realizing the service after being associated with the service identifier.
It should be noted that, in this embodiment, the function module required for implementing each business engineering is stored in a different code warehouse, the function module required for implementing each business engineering is integrated in the business engineering, and the address information of the function module refers to the address of the code warehouse where the function module is located.
Through the design, the calling speed of the application program to each business engineering is accelerated on the basis of realizing calling. And moreover, because the functional modules required by the realization of each service project are all stored in the unified code warehouse, the complexity of program calling is further reduced, and the error rate is reduced.
Optionally, step S103 may comprise the following sub-steps:
and calling the functional module in the code warehouse where the functional module is located according to the address information of the functional module.
Thus, when a user inputs a service identifier corresponding to a service project to be executed in a main project or a certain service project, the application program can call a function module required by realizing the service project according to the address information associated with the service identifier.
Through the design, when a certain business project is updated, only the business project can be tested and compiled, and the configuration information of the business project is updated in the main project after the business project is updated, so that the whole application program does not need to be tested and compiled every time.
Optionally, referring to fig. 4, the method may further include step S106 and step S107.
Step S106: and detecting whether a functional module with updated content exists in each business project.
Step S107: and when detecting that the functional module with updated content exists in the business project, updating the configuration information of the business project in the main project.
In this embodiment, the configuration information may be a version number of a configuration file in the main project. That is, for each business project, only the version number of the configuration file of the business project in the main project needs to be updated, and the latest functions of the business project can be integrated.
Optionally, a Jenkins continuous integration environment may be built in each business engineering, and the newly uploaded codes in the business engineering can be automatically checked and unit tested. Therefore, code errors can be modified in time, and efficiency is improved.
Referring to fig. 5, an embodiment of the invention further provides a service engineering invoking device 110. The service engineering calling device 110 includes a request obtaining unit 111, a function module searching unit 112, and a function module calling unit 113.
The request obtaining unit 111 is configured to obtain a service execution request.
In this embodiment, the service execution request includes an identifier of the service. The method for acquiring the service execution request may include: and acquiring a service execution request sent by the main project or the service project. The description of the request obtaining unit 111 may refer to the detailed description of step S101 shown in fig. 2, that is, step S101 may be performed by the request obtaining unit 111.
The functional module searching unit 112 is configured to search, according to the identifier, a functional module required for implementing the service in the main project.
In the present embodiment, the description of the functional module searching unit 112 may specifically refer to the detailed description of the step S102 shown in fig. 2, that is, the step S102 may be executed by the functional module searching unit 112.
The function module calling unit 113 is configured to call and execute the function module.
In this embodiment, the description of the function module calling unit 113 may specifically refer to the detailed description of step S103 shown in fig. 2, that is, step S103 may be executed by the function module calling unit 113.
Optionally, the function module calling unit 113 may include a code calling subunit 1131.
The code calling subunit 1131 is configured to call the function module in the code repository where the function module is located according to the address information of the function module. The description of the code invoking subunit 1131 may specifically refer to the detailed description of the corresponding steps in the above.
Referring to fig. 6, the service engineering invoking device 110 may further include a service registration request obtaining unit 114 and an associated storage unit 115.
The service registration request obtaining unit 114 is configured to obtain a service registration request of each service project.
The service registration request comprises the identification of the service project and the address information of the functional module required for realizing the service project. In this embodiment, the description of the service registration request obtaining unit 114 may specifically refer to the detailed description of step S104 shown in fig. 3. That is, the step S104 may be executed by the service registration request obtaining unit 114.
The association storage unit 115 is configured to associate the identifier of the service engineering with the address information of the functional module required for implementing the service engineering, and store the associated identifier and the address information in the main engineering.
In the present embodiment, the detailed description of step S105 shown in fig. 3 can be referred to for the description of the association storage unit 115. That is, the step S105 may be performed by the associated storage unit 115.
Referring to fig. 7, the service engineering invoking device 110 may further include an update detecting unit 116 and a configuration information updating unit 117.
The update detecting unit 116 is configured to detect, for each service project, whether there is a functional module in the service project whose content is updated.
In the present embodiment, the description of the update detecting unit 116 may specifically refer to the detailed description of step S106 shown in fig. 4, that is, the step S106 may be executed by the update detecting unit 116.
The configuration information updating unit 117 is configured to update the configuration information of the service project in the main project when detecting that the functional module with updated content exists in the service project.
In the present embodiment, the description of the configuration information updating unit 117 may specifically refer to the detailed description of step S107 shown in fig. 4, that is, step S107 may be performed by the configuration information updating unit 117.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed, implements the steps of the service engineering calling method.
In summary, the service engineering calling method, the service engineering calling apparatus, and the electronic device 100 provided by the present invention split the application program into the main engineering and the multiple service engineering integrated in the main engineering, each service engineering includes at least one functional module, and the at least one functional module can independently implement the service. The main engineering finds out the function module calling and executing needed for realizing the business through the business identification included in the business executing request, thus realizing the decoupling of each business component, and when updating the code of a single business engineering, the whole application program does not need to be compiled again, thereby shortening the single compiling time and reducing the conflict probability.
In the embodiments provided in the present invention, it should be understood that the disclosed system and method can be implemented in other ways. The system and method embodiments described above are merely illustrative, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, an electronic device, or a network device) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. A business engineering calling method is applied to an application program comprising a main engineering and a plurality of business engineering, wherein the business engineering is integrated in the main engineering, each business engineering comprises at least one functional module, and the at least one functional module can be separated from the main engineering to realize a business corresponding to the business engineering, and the method comprises the following steps:
acquiring a service execution request sent by the service engineering, wherein the service execution request comprises an identifier of the service, the service execution request comprises a service execution request sent by the main engineering or the service engineering, the main engineering can call each service engineering, and each service engineering can call other service engineering; when a user inputs a service identifier corresponding to a service project to be executed in the main project or one service project, the application program can call a functional module required by the service project according to address information associated with the service identifier;
searching a functional module required for realizing the service in the main project according to the identifier;
calling and executing the functional module in a code warehouse where the functional module is located according to the address information of the functional module, wherein the address information of the functional module refers to the address of the code warehouse where the functional module is located;
each business project is provided with an independent project file, functional modules required by each business project are stored in different code warehouses, and the functional modules required by each business project are integrated in the business project;
wherein the engineering file and the at least one functional module are stored in different code warehouses.
2. The service engineering calling method according to claim 1, wherein before obtaining the service execution request, the method further comprises:
the main project acquires a service registration request of each service project, wherein the service registration request comprises an identifier of the service project and address information of a functional module required for realizing the service project; and
and the main project stores the identification of the business project and the address information of the functional module required by realizing the business project after associating the identification with the address information.
3. The service engineering calling method according to claim 1, wherein current configuration information of each service engineering is recorded in the main engineering, and the method further comprises:
aiming at each business project, detecting whether a functional module with updated content exists in the business project; and
and when detecting that the functional module with updated content exists in the business project, updating the configuration information of the business project in the main project.
4. A service engineering calling device is applied to an application program comprising a main engineering and a plurality of service engineering, wherein the plurality of service engineering are integrated in the main engineering, each service engineering comprises at least one functional module, the at least one functional module can be separated from the main engineering to realize a service corresponding to the service engineering, and the service engineering calling device comprises:
a request obtaining unit, configured to obtain a service execution request sent by the service engineering, where the service execution request includes an identifier of the service, where the service execution request includes a service execution request sent by the main engineering or the service engineering, the main engineering may call each of the service engineering, and each of the service engineering may call other service engineering; when a user inputs a service identifier corresponding to a service project to be executed in the main project or one service project, the application program can call a functional module required by the service project according to address information associated with the service identifier;
a functional module searching unit, configured to search, according to the identifier, a functional module required for implementing the service in the main project; and
the function module calling unit is used for calling and executing the function module in the code warehouse where the function module is located according to the address information of the function module, wherein the address information of the function module refers to the address of the code warehouse where the function module is located;
each business project is provided with an independent project file, functional modules required for realizing each business project are stored in different code warehouses, and the functional modules required for realizing each business project are integrated in the business project;
wherein the engineering file and the at least one functional module are stored in different code warehouses.
5. The traffic engineering calling device according to claim 4, wherein said traffic engineering calling device further comprises:
a service registration request obtaining unit, configured to obtain a service registration request of each service project, where the service registration request includes an identifier of the service project and address information of a function module required to implement the service project; and
and the associated storage unit is used for associating the identifier of the business engineering with the address information of the functional module required by realizing the business engineering and then storing the associated identifier and the address information into the main engineering.
6. The service engineering calling apparatus according to claim 4, wherein current configuration information of each service engineering is recorded in the main engineering, and the service engineering calling apparatus further comprises:
the updating detection unit is used for detecting whether a functional module with updated content exists in each business project; and
and the configuration information updating unit is used for updating the configuration information of the business engineering in the main engineering when detecting that the functional module with updated content exists in the business engineering.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the computer program comprises a main project and a plurality of business projects, the business projects are integrated in the main project in a plug-in mode, each business project is provided with an independent project file which comprises at least one functional module, the project file and the at least one function module are stored in different code warehouses, the at least one function module can be separated from the main project to realize the corresponding business of the business project, the function module required by realizing each business project is stored in different code warehouses and the function module required by realizing each business project is integrated in the business project, the processor, when executing the program, implements the steps of the method of any of claims 1-3.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 3.
CN201710114009.9A 2017-02-28 2017-02-28 Service engineering calling method and device and electronic equipment Active CN106897072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710114009.9A CN106897072B (en) 2017-02-28 2017-02-28 Service engineering calling method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710114009.9A CN106897072B (en) 2017-02-28 2017-02-28 Service engineering calling method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN106897072A CN106897072A (en) 2017-06-27
CN106897072B true CN106897072B (en) 2022-01-07

Family

ID=59185041

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710114009.9A Active CN106897072B (en) 2017-02-28 2017-02-28 Service engineering calling method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106897072B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107862480B (en) * 2017-12-07 2021-12-28 泰康保险集团股份有限公司 Service management method, release management device, medium, and electronic device
CN108287727A (en) * 2017-12-19 2018-07-17 北京趣拿软件科技有限公司 The dispatching method and device of component
CN108156236B (en) * 2017-12-22 2021-05-25 平安养老保险股份有限公司 Service request processing method and device, computer equipment and storage medium
CN108053336A (en) * 2018-01-15 2018-05-18 中企动力科技股份有限公司 Customizable industry service method and device
CN110688119A (en) * 2018-07-04 2020-01-14 阿里巴巴集团控股有限公司 Method for generating and realizing service function and unit, server, equipment and medium
CN110704026A (en) * 2018-07-10 2020-01-17 武汉斗鱼网络科技有限公司 Calling method and device of software development kit, terminal and readable medium
CN111142982A (en) * 2018-11-02 2020-05-12 鸿合科技股份有限公司 Event execution method and device and electronic equipment
CN109885311B (en) * 2019-01-28 2023-09-29 平安科技(深圳)有限公司 Application program generation method and device
CN109933556B (en) * 2019-03-14 2021-08-13 北京字节跳动网络技术有限公司 Method and apparatus for processing information
CN111200648B (en) * 2019-12-30 2021-05-11 瑞庭网络技术(上海)有限公司 Service calling method, device, terminal equipment and storage medium
CN112685029A (en) * 2020-12-30 2021-04-20 京东数字科技控股股份有限公司 Visual template generation method, device, equipment and storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8001013B2 (en) * 2006-12-18 2011-08-16 Razz Serbanescu System and method for electronic commerce and other uses
CN100518344C (en) * 2007-09-29 2009-07-22 北京邮电大学 Multi-service generation system supporting application program interface
CN102750822B (en) * 2012-06-26 2014-12-17 安科智慧城市技术(中国)有限公司 Intelligent traffic service processing system and service processing method
FI20130282L (en) * 2013-10-03 2015-04-04 Netsono Oy Online service related to music
CN104239114A (en) * 2013-11-12 2014-12-24 新华瑞德(北京)网络科技有限公司 Application compiling method and device
CN105701585A (en) * 2014-11-25 2016-06-22 镇江金软计算机科技有限责任公司 Workflow management method in shopping mall management system
CN104572091B (en) * 2014-12-25 2017-11-03 百度在线网络技术(北京)有限公司 Application software implementation method, device and computer equipment
CN104834555A (en) * 2015-03-30 2015-08-12 百度在线网络技术(北京)有限公司 Method for invoking functional module, related device and device repairing method
CN205545397U (en) * 2016-01-22 2016-08-31 深圳网时代科技有限公司 Adopt energy -saving mobile phone motherboard of dual processor cell -phone framework
CN106406911B (en) * 2016-10-26 2019-11-15 国云科技股份有限公司 A kind of method of computer software functional unit

Also Published As

Publication number Publication date
CN106897072A (en) 2017-06-27

Similar Documents

Publication Publication Date Title
CN106897072B (en) Service engineering calling method and device and electronic equipment
US9864736B2 (en) Information processing apparatus, control method, and recording medium
CN111078481B (en) Method, device, electronic equipment and storage medium for acquiring configuration checklist
CN110457085B (en) File processing method and device, terminal equipment and computer readable medium
CN109840120B (en) Decoupling micro-service release method, electronic device and computer readable storage medium
WO2018090871A1 (en) Application service indication method and application service indication device
JP2009230758A (en) Archive stream based install
US20110264703A1 (en) Importing Tree Structure
CN111338689B (en) File calling method, device and equipment
CN111225018A (en) Request message processing method and device and electronic equipment
CN112612489B (en) Method and device for constructing upgrade package of software and electronic equipment
CN112559913B (en) Data processing method, device, computing equipment and readable storage medium
US9934287B1 (en) Systems and methods for expedited large file processing
CN111930363B (en) Block interface code generation method and device
CN111090623B (en) Data auditing method and device, electronic equipment and storage medium
JP5537599B2 (en) Version upgrade management method in business system
US10387809B2 (en) Method and apparatus for extracting mobile application suitability features for a mobile business application
US8935710B1 (en) Unique event identification
CN116049142A (en) Data processing method, device, electronic equipment and storage medium
KR101828466B1 (en) Method and apparatus for providing an object-based storage interface on the storage device based on file system
CN111666278A (en) Data storage method, data retrieval method, electronic device and storage medium
US20150347402A1 (en) System and method for enabling a client system to generate file system operations on a file system data set using a virtual namespace
CN112835609B (en) Method and device for modifying download address of dependent packet
CN112583761B (en) Management method and device of security entity, computer equipment and storage medium
CN111026613B (en) Log processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant