CN112783497A - New service generation method and device and computing equipment - Google Patents

New service generation method and device and computing equipment Download PDF

Info

Publication number
CN112783497A
CN112783497A CN201911065353.9A CN201911065353A CN112783497A CN 112783497 A CN112783497 A CN 112783497A CN 201911065353 A CN201911065353 A CN 201911065353A CN 112783497 A CN112783497 A CN 112783497A
Authority
CN
China
Prior art keywords
information
basic
service
generating
new
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.)
Granted
Application number
CN201911065353.9A
Other languages
Chinese (zh)
Other versions
CN112783497B (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.)
China Mobile Communications Group Co Ltd
China Mobile Group Shanxi Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Shanxi 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 China Mobile Communications Group Co Ltd, China Mobile Group Shanxi Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201911065353.9A priority Critical patent/CN112783497B/en
Publication of CN112783497A publication Critical patent/CN112783497A/en
Application granted granted Critical
Publication of CN112783497B publication Critical patent/CN112783497B/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/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Quality & Reliability (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention relates to the technical field of communication, and discloses a method and a device for generating a new service and computing equipment. Wherein, the method comprises the following steps: generating a basic flow comprising a plurality of basic units according to the basic service information; generating a plurality of extension units according to the extension function information; configuring interface information of the extension unit so that an interface of the extension unit is adapted to an interface of the base unit; determining new business process arrangement information; and determining the extension unit included in the new business process arrangement information according to the new business process arrangement information, and inserting the determined extension unit into the basic process in a mode of injection during running so as to generate a new business. Through the mode, the embodiment of the invention can achieve the effects of simple operation and time saving.

Description

New service generation method and device and computing equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a method and a device for generating a new service and computing equipment.
Background
In the existing service system, more and more service flows are carried, and when a new service is generated, steps of design, development, test, release and the like are required. For example, for a card opening service, when a new card opening process needs to be developed, some card opening processes need pre-stored money amount, some card opening processes need post-stored money amount, some card opening processes need to set minimum consumption, some card opening processes do not need to set minimum consumption, and different card opening processes need to be designed and developed respectively.
The existing generation method of the new service needs to be developed respectively aiming at different service flows, and has the disadvantages of complex operation and time consumption.
Disclosure of Invention
In view of the foregoing problems, embodiments of the present invention provide a method, an apparatus, and a computing device for generating a new service, which can achieve the effects of simple operation and time saving.
According to an aspect of the embodiments of the present invention, a method for generating a new service is provided, where the method includes: generating a basic flow comprising a plurality of basic units according to the basic service information; generating a plurality of extension units according to the extension function information; determining new business process arrangement information; and determining the extension unit included in the new business process arrangement information according to the new business process arrangement information, and inserting the determined extension unit into the basic process in a mode of injection during running so as to generate a new business.
In an optional manner, the generating a basic flow including a plurality of basic units according to the basic service information further includes: generating a plurality of basic units according to the basic service information; respectively setting calling programs among the basic units; generating the basic flow comprising a plurality of the basic units and the calling program; then, the inserting the determined extension unit into the basic flow in a runtime injection manner according to the determined interface information of the extension unit, further includes: and the calling program dynamically calls the determined extension unit according to the determined interface information of the extension unit.
In an optional manner, the method further comprises: and storing the extension unit into a database.
In an optional manner, the method further comprises: and configuring the interface information of the extension unit so that the interface of the extension unit is matched with the interface of the base unit.
In an optional manner, the configuring interface information of the extension unit further includes: and configuring interface information of the extension unit according to the electronic channel interface specification.
In an optional manner, the inserting the determined extension unit into the basic flow by way of runtime injection according to the determined interface information of the extension unit further includes: determining a working mode and the extension unit according to the new business process arrangement information, wherein the working mode comprises one or more of a sequence mode, a parallel branch mode, a synchronization mode, an exclusive selection mode and a simple combination mode; and inserting the determined extension unit into the basic flow in a runtime injection mode according to the working mode.
In an optional manner, the determining new business process arrangement information further includes: acquiring identity information of a service user; and performing new business arrangement based on an integrated development environment according to the identity information of the business user to determine the new business process arrangement information.
In an optional manner, the basic service information includes: card opening service information, card supplementing service information or card changing service information; the extended function information includes: one or more of real name function information, activation function information, filtering function information, and payment function information.
According to another aspect of the embodiments of the present invention, there is provided a device for generating a new service, the device including: the basic flow generation module is used for generating a basic flow comprising a plurality of basic units according to the basic service information; the expansion unit generating module is used for generating a plurality of expansion units according to the expansion function information; the arrangement determining module is used for determining new business process arrangement information; and the new service generation module is used for determining the extension unit according to the new service flow arrangement information and inserting the determined extension unit into the basic flow in a mode of injection during running so as to generate a new service.
According to still another aspect of an embodiment of the present invention, there is provided a computing device including: a processor, a memory, and a communication interface, the processor, the memory, and the communication interface in communication with each other; the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation of the new service generation method.
According to another aspect of the embodiments of the present invention, there is provided a computer-readable storage medium, in which at least one executable instruction is stored, and the executable instruction causes a processor to execute the method for generating a new service as described above.
The embodiment of the invention generates a basic flow comprising a plurality of basic units according to basic service information, generates a plurality of extension units according to extension function information, configures interface information of the extension units, ensures that the interfaces of the extension units are suitable for the interfaces of the basic units, determines new service flow arrangement information, determines the extension units included in the new service flow arrangement information according to the new service flow arrangement information, and inserts the determined extension units into the basic flow in a mode of injection during operation, thereby generating new services, and can insert extension functions during the operation period of the basic flow, thereby dynamically generating the new service flow during operation, thereby achieving the effects of simple operation and time saving.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and the embodiments of the present invention can be implemented according to the content of the description in order to make the technical means of the embodiments of the present invention more clearly understood, and the detailed description of the present invention is provided below in order to make the foregoing and other objects, features, and advantages of the embodiments of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a method for generating a new service according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for generating a new service according to another embodiment of the present invention;
FIG. 3 is a diagram illustrating a setup procedure for a calling program between base units according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a setup procedure for a calling program between base units according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating new business process orchestration information provided by an embodiment of the invention;
fig. 6 is a schematic structural diagram of a new service generation apparatus provided in an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a computing device provided by an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Due to the development and revolution of the technology, different new services need to be developed for new technologies, or alternatively, in order to improve user experience, services need to be optimized. When a new service is generated, steps of designing, developing, testing, publishing and the like are required. For example, for developing a new card-opening service, a new function is added on the basis of an original service, and different processes are set according to the new function aiming at different market demands, so that a plurality of different new card-opening services are generated. However, each time a new business process is designed, development and testing need to be performed again, which is tedious and time-consuming.
Based on this, the embodiment of the present invention provides a method, an apparatus, and a computing device for generating a new service, which can achieve the effects of simple operation and time saving.
Specifically, the embodiments of the present invention will be further explained below with reference to the drawings.
It should be understood that the following examples are provided by way of illustration and are not intended to limit the invention in any way to the particular embodiment disclosed.
Fig. 1 shows a flowchart of a method for generating a new service according to an embodiment of the present invention. The method is applied to the computing equipment. As shown in fig. 1, the method comprises the steps of:
and step 110, generating a basic flow comprising a plurality of basic units according to the basic service information.
The basic service information may include, among other things, programming information of the basic service. The basic service information may be old service information or core step information of the service. For example, if a certain old service includes steps 1, 2, 3, and 4, the basic service information is the programming information of steps 1, 2, 3, and 4; for another example, a certain old service includes steps 1, 2, 3, and 4, where steps 2 and 4 are core steps, and the basic service information is the programming information of steps 2 and 4.
Optionally, before step 110, the method may further include: and acquiring basic service information. For example, the basic service information is obtained from the development source code.
The basic process including a plurality of basic units is generated according to the basic service information, and the basic process may be: and dividing the basic service information according to functions, generating basic units according to the division result, and arranging according to the execution sequence of the basic units to obtain a basic flow.
And step 120, generating a plurality of extension units according to the extension function information.
The extended function information may include, among other things, programming information for extended functions. The extended function may be a new function added for an old service, or another function in the service except for a core step. For example, if a certain old service includes steps 1, 2, 3, and 4, and the added new function is step 5, the extended function information is the programming information of step 5; for another example, a certain old service includes steps 1, 2, 3, and 4, where steps 2 and 4 are core steps, and the extended function information is the programming information of steps 1 and 3.
Optionally, before step 120, the method may further include: and acquiring the extended function information. For example, a developer programs an extended function, generates programming information for the extended function, and uploads the programming information for the extended function, so that the computing device obtains the extended function information.
Wherein, according to the extended function information, a plurality of extended units are generated, which may be: and dividing the extended function information according to functions, and generating an extended unit according to the division result.
In some embodiments, after step 120, the method further comprises: and configuring interface information of the extension unit so that the interface of the extension unit is matched with the interface of the basic unit. The method specifically comprises the following steps: and configuring the interface information of the extension unit according to the interface specification of the basic unit. The interface specification of the base unit may be an electronic channel interface specification. By configuring the interface information of the extension unit, the extension unit is adapted to the base unit under the condition of keeping the base unit unchanged.
In some embodiments, after step 130, the method further comprises: and storing the extension unit into a database. And when the expansion unit needs to be used subsequently, reading the program segment of the expansion unit from the database.
Step 130, determining new business process arrangement information.
The new business process arrangement information refers to arrangement information of basic units and basic processes in the new business. Determining new business process arrangement information may specifically include: generating identification information of a basic unit and an extension unit in an Integrated Development Environment (IDE), receiving an arrangement instruction aiming at the identification information of the basic unit and the extension unit, and generating new business process arrangement information according to the arrangement instruction. For example, the identifiers of the base unit (including steps 1, 2, 3, and 4) and the extension unit (including steps 5 and 6) are generated in the IDE, the developer designs two new business processes for the customer groups a and b, respectively, the developer triggers the orchestration instruction (i.e., the identifiers of the mobile base unit and the extension unit are moved for orchestration), and the system generates new business process orchestration information according to the orchestration instruction, which is: new service a 1: steps 1, 5, 2, 3, 4, 6 and new service a 2: and step 1, step 2, step 3, step 4 and step 5, determining new business process arrangement information. And generating new business process arrangement information by manual arrangement.
In some other embodiments, automatic orchestration may also be performed, such that new business process orchestration information is automatically generated. Determining new business process arrangement information, which may specifically include: acquiring identity information of a service user; and performing new business arrangement based on the integrated development environment according to the identity information of the business user to determine new business process arrangement information. The service user refers to a user to which the service is directed, and the identity information of the service user may be an age, a gender, or a service usage history of the service user. After the identity information of the service is acquired, the system can automatically perform new service arrangement according to a preset service flow and based on the integrated development environment, so as to generate new service flow arrangement information and determine the new service flow arrangement information. The automation degree can be improved by automatically arranging according to the identity information of the service user.
And step 140, determining an expansion unit included in the new business process arrangement information according to the new business process arrangement information, and inserting the determined expansion unit into the basic process in a mode of injection during running, so as to generate a new business.
Wherein, according to the new business process arrangement information, determining an extension unit included in the new business process arrangement information may specifically be: and determining the expansion unit corresponding to the included expansion unit identifier according to the expansion unit identifier included in the new business process arrangement information, and determining the expansion unit included in the new business process arrangement information. For example, if the new business process arrangement information includes the identifier of the step 5 or 6 of the extension unit, the extension unit is determined to be the step 5 or 6.
The method includes inserting the determined extension unit into the basic process in a runtime injection manner, and specifically may be: and setting an insertion identifier of the extension unit in the basic flow, acquiring and writing the corresponding program segment of the extension unit according to the insertion identifier when the insertion identifier is executed in the process of executing the basic flow, executing the corresponding program segment of the extension unit, and continuing to execute the subsequent basic flow after the execution is finished. Because the interface of the extension unit is adaptive to the interface of the basic unit, the extension unit can be smoothly executed after being inserted into the basic flow. For example, assuming that the basic units are steps 1, 2, 3, and 4, the flow arrangement information of the new service is: step 1, step 5, step 2, step 3, step 4, determining that the expansion unit is the step 5, step 6 according to the flow arrangement information, setting the insertion identifier of the step 5 between the step 1 and the step 2, in the process of executing the basic flow, when the step 1 is executed, encountering the insertion identifier of the step 5, acquiring the program segment of the expansion unit in the step 5, and executing the step 2 after the step 5 is executed. By the mode, a new business process can be dynamically generated during operation, and business requirements can be quickly responded.
In some other embodiments, some steps may be executed in parallel, some steps may be executed selectively, and the new business process orchestration information further includes work mode information. Inserting the determined extension unit into the basic flow, further comprising: determining a working mode and an expansion unit according to the new business process arrangement information; and inserting the determined extension unit into the basic flow in a runtime injection mode according to the working mode.
The operation mode may include one or more of a sequential mode (Sequence), a Parallel branch mode (Parallel Split), a Synchronization mode (Synchronization), an Exclusive selection mode (Exclusive Choice), and a Simple Merge mode (Simple Merge). The sequential mode means that all activities are sequentially executed in the same process; the parallel branch mode is that one point of one thread is split into a plurality of activities which are executed in parallel by a plurality of threads, the parallel activities are not related, and the execution has no sequential relation; the synchronous mode is that at a certain point in the process, a plurality of parallel sub-processes or activities are combined into one process, and the subsequent activities can be activated only after all branches are executed; the exclusive selection mode is that after one activity is completed, a plurality of branches can be selected, but only one branch can be selected, namely one is selected; simple merge mode means that there are two or more selectable branches that merge into one at a point, but not synchronously, typically using the "first-in-first-out" principle, but subsequent activity only occurs once.
Determining a working mode according to the new business process arrangement information, which may specifically be: and determining the working mode corresponding to the included working mode identifier according to the working mode identifier included in the new business process arrangement information, and determining the working mode. For example, if the new business process arrangement information includes an identifier of a sequential mode between step 1 and step 2, the work mode between step 1 and step 2 is determined to be the sequential mode. By setting multiple working modes, execution modes of the business process are enriched, and the method can be suitable for generating multiple new businesses.
The embodiment of the invention generates a basic flow comprising a plurality of basic units according to basic service information, generates a plurality of extension units according to extension function information, determines new service flow arrangement information, determines extension units included in the new service flow arrangement information according to the new service flow arrangement information, and inserts the determined extension units into the basic flow in a mode of injection during operation, thereby generating a new service.
Fig. 2 is a flowchart illustrating a method for generating a new service according to another embodiment of the present invention. The method is applied to the computing equipment. As shown in fig. 2, the method comprises the steps of:
and step 211, generating a plurality of basic units according to the basic service information.
Wherein, according to the basic service information, a plurality of basic units are generated, which may specifically be: and dividing the basic service information according to functions, and generating a basic unit according to a division result.
Step 212, respectively setting calling programs among the basic units.
The calling program may be a proxy program. An agent is used to proxy the extension unit, and one agent may proxy one or more extension units. The calling programs are respectively arranged between the basic units, and specifically, the calling programs are arranged in front of and behind each basic unit. For example, as shown in fig. 3, the base unit includes steps 1, 2, 3, 4, and agents 1, 2, 3, 4, 5 are respectively provided between the base units.
Step 213, generating a basic flow including a plurality of basic units and a calling program.
And step 220, generating a plurality of extension units according to the extension function information.
Step 230, configuring interface information of the extension unit, so that the interface of the extension unit is adapted to the interface of the base unit.
And step 240, determining new business process arrangement information.
Steps 220 to 240 are the same as the corresponding steps in the above embodiments, and are not described herein again.
And step 250, determining an extension unit contained in the new business process arrangement information according to the new business process arrangement information, and dynamically calling the determined extension unit by the calling program according to the interface information of the determined extension unit, so as to generate the new business.
The method includes determining an extension unit included in new business process arrangement information according to the new business process arrangement information, and dynamically calling the determined extension unit by a calling program according to interface information of the determined extension unit, and may specifically be: and in the process of executing the basic flow, when the extension unit is executed, a calling program acquires an execution result of the extension unit in a dynamic proxy mode according to the interface information of the extension unit, and writes the execution result of the extension unit into the subsequent basic flow. The dynamic agent may be a JAVA dynamic agent. By using dynamic proxies, methods of all proxy classes can be handled uniformly without modifying each method one by one.
The calling program is respectively arranged among the plurality of basic units, so that the calling program dynamically calls the determined extension unit according to the interface information of the determined extension unit, the extension function can be inserted in the operation period of the basic flow, the new business flow is dynamically generated in the operation period, the construction of the business flow can be realized through a dynamic proxy method, the source code does not need to be frequently modified when the new function is added, and the effects of simple operation and time saving are achieved.
In some embodiments, the method for generating the new service may be used for generating a communication service. The basic service information may include: card opening service information, card supplementing service information or card changing service information. When the method is applied to the generation of the card opening service, the basic service information comprises card opening service information, and the extended function information comprises one or more of real-name system function information, activation function information, filtering function information and payment function information. Specifically, the method comprises the following steps:
and 301, generating a plurality of basic units according to the card opening service information.
The generated basic unit comprises steps 1, 2, 3 and 4, wherein the steps 1, 2, 3 and 4 are indispensable steps in the card opening process.
Step 302, respectively setting calling programs among all the basic units.
As shown in fig. 4, the caller includes agents 1, 2, 3, 4, and 5.
Step 303, generating a basic flow including a plurality of basic units and a calling program.
And step 304, generating a plurality of expansion units according to the expansion function information.
Wherein, according to the extended function information, the generated extended unit comprises: the system comprises a real-name function unit, an activation function unit, a number pool filtering function unit, a channel filtering function unit, a package filtering function unit and a payment function unit. The real-name system function unit is used for enabling a user to input name and identification card number information; the activation functional unit is used for activating the number; the number pool filtering function unit is used for filtering the preset numbers to extract the beautiful numbers, for example, filtering the numbers containing 4 to obtain the numbers not containing 4; the channel filtering function unit is used for performing number filtering on the users so as to distribute different types of numbers to different types of users, for example, distributing common numbers to private users and distributing serial numbers to company users; the package filtering functional unit is used for filtering packages according to users, for example, for young users, directional flow packages are filtered, and for old users, directional popular packages are filtered; the payment function unit sets payment information such as free or prepaid.
And, the agent program 1 is for acting on the real name function unit, the agent program 2 is for acting on the activation function unit and the package filtering function unit, the agent program 3 is for acting on the pool filtering function unit and the channel filtering function unit, the agent program 4 is for acting on the payment function unit, and the agent program 5 is for acting on the activation function unit and the payment function unit. Of course, in other embodiments, the extension unit of the agent program agent may be set according to actual use conditions.
And step 305, determining new business process arrangement information.
Wherein new business process orchestration information is obtained and determined from the IDE, as shown in figure 5.
Step 306, determining an extension unit according to the new service flow arrangement information, and dynamically calling the determined extension unit by the calling program according to the interface information of the determined extension unit, thereby generating a new service.
The embodiment of the invention generates a basic flow comprising a plurality of basic units according to basic service information, generates a plurality of extension units according to extension function information, determines new service flow arrangement information, determines extension units included in the new service flow arrangement information according to the new service flow arrangement information, and inserts the determined extension units into the basic flow in a mode of injection during operation, thereby generating a new service.
Fig. 6 is a schematic structural diagram illustrating a new service generation apparatus provided in an embodiment of the present invention. As shown in fig. 6, the apparatus 400 includes: a basic flow generation module 410, an extension unit generation module 420, an orchestration determination module 430, and a new service generation module 440.
The basic flow generating module 410 is configured to generate a basic flow including a plurality of basic units according to the basic service information; the expansion unit generating module 420 is configured to generate a plurality of expansion units according to the expansion function information; the arrangement determining module 430 is configured to determine new business process arrangement information; the new service generation module 440 is configured to determine the extension unit included in the new service flow arrangement information according to the new service flow arrangement information, and insert the determined extension unit into the basic flow in a runtime injection manner, so as to generate a new service.
In an optional manner, the basic flow generating module 410 is specifically configured to: generating a plurality of basic units according to the basic service information; respectively setting calling programs among the basic units; generating the basic flow comprising a plurality of the basic units and the calling program; the new service generation module 440 is specifically configured to: and the calling program dynamically calls the determined extension unit according to the determined interface information of the extension unit.
In an optional manner, the apparatus 400 further comprises: and a storage module. The storage module is used for storing the extension unit into a database.
In an optional manner, the apparatus 400 further comprises: and an interface configuration module. The interface configuration module is used for configuring the interface information of the extension unit so that the interface of the extension unit is adapted to the interface of the base unit.
In an optional manner, the interface configuration module is specifically configured to: and configuring interface information of the extension unit according to the electronic channel interface specification.
In an optional manner, the new service generation module 440 is specifically configured to: determining a working mode and the extension unit according to the new business process arrangement information, wherein the working mode comprises one or more of a sequence mode, a parallel branch mode, a synchronization mode, an exclusive selection mode and a simple combination mode; and inserting the determined extension unit into the basic flow in a runtime injection mode according to the working mode.
In an alternative manner, the orchestration determination module 430 is specifically configured to: acquiring identity information of a service user; and performing new business arrangement based on an integrated development environment according to the identity information of the business user to determine the new business process arrangement information.
In an optional manner, the basic service information includes: card opening service information, card supplementing service information or card changing service information; the extended function information includes: one or more of real name function information, activation function information, filtering function information, and payment function information.
It should be noted that the new service generation apparatus provided in the embodiment of the present invention is an apparatus capable of executing the new service generation method, and all embodiments of the new service generation method are applicable to the apparatus and can achieve the same or similar beneficial effects.
The embodiment of the invention generates a basic flow comprising a plurality of basic units according to basic service information, generates a plurality of extension units according to extension function information, configures interface information of the extension units, ensures that the interfaces of the extension units are suitable for the interfaces of the basic units, determines new service flow arrangement information, determines the extension units according to the new service flow arrangement information, and inserts the determined extension units into the basic flow in a mode of injection during operation according to the determined interface information of the extension units, thereby generating new services, and can insert extension functions during the operation period of the basic flow, thereby dynamically generating the new service flow during operation, thereby achieving the effects of simple operation and time saving.
An embodiment of the present invention provides a computer-readable storage medium, where at least one executable instruction is stored in the storage medium, and the executable instruction causes a processor to execute the method for generating a new service in any method embodiment described above.
The embodiment of the invention generates a basic flow comprising a plurality of basic units according to basic service information, generates a plurality of extension units according to extension function information, determines new service flow arrangement information, determines extension units included in the new service flow arrangement information according to the new service flow arrangement information, and inserts the determined extension units into the basic flow in a mode of injection during operation, thereby generating a new service.
An embodiment of the present invention provides a computer program product, which includes a computer program stored on a computer storage medium, where the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method for generating a new service in any of the above method embodiments.
The embodiment of the invention generates a basic flow comprising a plurality of basic units according to basic service information, generates a plurality of extension units according to extension function information, determines new service flow arrangement information, determines extension units included in the new service flow arrangement information according to the new service flow arrangement information, and inserts the determined extension units into the basic flow in a mode of injection during operation, thereby generating a new service.
Fig. 7 is a schematic structural diagram of a computing device according to an embodiment of the present invention, and a specific embodiment of the present invention does not limit a specific implementation of the computing device.
As shown in fig. 7, the computing device may include: a processor (processor)502, a Communications Interface 504, a memory 506, and a communication bus 508.
Wherein: the processor 502, communication interface 504, and memory 506 communicate with one another via a communication bus 508. A communication interface 504 for communicating with network elements of other devices, such as clients or other servers. The processor 502 is configured to execute the program 510, and may specifically execute the method for generating a new service in any of the method embodiments described above.
In particular, program 510 may include program code that includes computer operating instructions.
The processor 502 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the present invention. The computing device includes one or more processors, which may be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 506 for storing a program 510. The memory 506 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The embodiment of the invention generates a basic flow comprising a plurality of basic units according to basic service information, generates a plurality of extension units according to extension function information, determines new service flow arrangement information, determines extension units included in the new service flow arrangement information according to the new service flow arrangement information, and inserts the determined extension units into the basic flow in a mode of injection during operation, thereby generating a new service.
The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specified otherwise.

Claims (10)

1. A method for generating a new service, the method comprising:
generating a basic flow comprising a plurality of basic units according to the basic service information;
generating a plurality of extension units according to the extension function information;
determining new business process arrangement information;
and determining the extension unit included in the new business process arrangement information according to the new business process arrangement information, and inserting the determined extension unit into the basic process in a mode of injection during running so as to generate a new business.
2. The method of claim 1, wherein generating a basic flow comprising a plurality of basic units according to the basic service information further comprises:
generating a plurality of basic units according to the basic service information;
respectively setting calling programs among the basic units;
generating the basic flow comprising a plurality of the basic units and the calling program;
then, the inserting the determined extension unit into the basic flow by means of runtime injection further includes:
and the calling program dynamically calls the determined extension unit according to the determined interface information of the extension unit.
3. The method of claim 1, further comprising:
and configuring the interface information of the extension unit so that the interface of the extension unit is matched with the interface of the base unit.
4. The method of claim 3, wherein the configuring interface information of the extension unit further comprises:
and configuring interface information of the extension unit according to the electronic channel interface specification.
5. The method of claim 1, wherein the inserting the determined expansion unit into the basic flow by means of runtime injection, further comprises:
determining a working mode and the extension unit according to the new business process arrangement information, wherein the working mode comprises one or more of a sequence mode, a parallel branch mode, a synchronization mode, an exclusive selection mode and a simple combination mode;
and inserting the determined extension unit into the basic flow in a runtime injection mode according to the working mode.
6. The method of claim 1, wherein determining new business process orchestration information further comprises:
acquiring identity information of a service user;
and performing new business arrangement based on an integrated development environment according to the identity information of the business user to determine the new business process arrangement information.
7. The method according to any one of claims 1 to 6,
the basic service information includes: card opening service information, card supplementing service information or card changing service information;
the extended function information includes: one or more of real name function information, activation function information, filtering function information, and payment function information.
8. An apparatus for generating a new service, the apparatus comprising:
the basic flow generation module is used for generating a basic flow comprising a plurality of basic units according to the basic service information;
the expansion unit generating module is used for generating a plurality of expansion units according to the expansion function information;
the arrangement determining module is used for determining new business process arrangement information;
and the new service generation module is used for determining the extension unit included in the new service flow arrangement information according to the new service flow arrangement information, and inserting the determined extension unit into the basic flow in a mode of injection during running so as to generate a new service.
9. A computing device, comprising: the system comprises a processor, a memory and a communication interface, wherein the processor, the memory and the communication interface are communicated with each other;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation of the new service generation method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that the storage medium has stored therein at least one executable instruction, which causes a processor to execute the method of generating a new service according to any one of claims 1-7.
CN201911065353.9A 2019-11-04 2019-11-04 New service generation method and device and computing equipment Active CN112783497B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911065353.9A CN112783497B (en) 2019-11-04 2019-11-04 New service generation method and device and computing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911065353.9A CN112783497B (en) 2019-11-04 2019-11-04 New service generation method and device and computing equipment

Publications (2)

Publication Number Publication Date
CN112783497A true CN112783497A (en) 2021-05-11
CN112783497B CN112783497B (en) 2024-05-28

Family

ID=75748625

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911065353.9A Active CN112783497B (en) 2019-11-04 2019-11-04 New service generation method and device and computing equipment

Country Status (1)

Country Link
CN (1) CN112783497B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102473097A (en) * 2010-01-13 2012-05-23 塔塔咨询服务有限公司 A computationally efficient system for developing configurable, extensible business application product lines using model-driven techniques
CN103513976A (en) * 2012-06-29 2014-01-15 中兴通讯股份有限公司 Service process modeling method and device
CN103942055A (en) * 2014-04-30 2014-07-23 北京邮电大学 Development system and method for fusion network mixing service process programming language
US20150373012A1 (en) * 2014-06-19 2015-12-24 Microsoft Corporation Integrated APIs and UIs for Consuming Services across Different Distributed Networks
CN106293808A (en) * 2016-07-26 2017-01-04 北京北森云计算股份有限公司 The compiling of multilingual cloud realizes the method and system of systemic-function dynamic interception extension
CN106775632A (en) * 2016-11-21 2017-05-31 中国科学院遥感与数字地球研究所 A kind of operation flow can flexible expansion high-performance geographic information processing method and system
US20170177882A1 (en) * 2015-12-18 2017-06-22 Sap Se Software-as-a-service reference process extension verification framework
CN107015794A (en) * 2015-12-18 2017-08-04 Sap欧洲公司 Software is service reference flow extensible authentication framework
CN107577458A (en) * 2017-08-18 2018-01-12 深圳怡化电脑股份有限公司 A kind of finance self-help terminal traffic flow development approach and device
CN109918151A (en) * 2019-03-14 2019-06-21 佳都新太科技股份有限公司 Workflow implementing method, device, equipment and storage medium
CN110310034A (en) * 2019-06-28 2019-10-08 京东数字科技控股有限公司 A kind of service orchestration applied to SaaS, business flow processing method and apparatus

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102473097A (en) * 2010-01-13 2012-05-23 塔塔咨询服务有限公司 A computationally efficient system for developing configurable, extensible business application product lines using model-driven techniques
CN103513976A (en) * 2012-06-29 2014-01-15 中兴通讯股份有限公司 Service process modeling method and device
CN103942055A (en) * 2014-04-30 2014-07-23 北京邮电大学 Development system and method for fusion network mixing service process programming language
US20150373012A1 (en) * 2014-06-19 2015-12-24 Microsoft Corporation Integrated APIs and UIs for Consuming Services across Different Distributed Networks
US20170177882A1 (en) * 2015-12-18 2017-06-22 Sap Se Software-as-a-service reference process extension verification framework
CN107015794A (en) * 2015-12-18 2017-08-04 Sap欧洲公司 Software is service reference flow extensible authentication framework
CN106293808A (en) * 2016-07-26 2017-01-04 北京北森云计算股份有限公司 The compiling of multilingual cloud realizes the method and system of systemic-function dynamic interception extension
CN106775632A (en) * 2016-11-21 2017-05-31 中国科学院遥感与数字地球研究所 A kind of operation flow can flexible expansion high-performance geographic information processing method and system
CN107577458A (en) * 2017-08-18 2018-01-12 深圳怡化电脑股份有限公司 A kind of finance self-help terminal traffic flow development approach and device
CN109918151A (en) * 2019-03-14 2019-06-21 佳都新太科技股份有限公司 Workflow implementing method, device, equipment and storage medium
CN110310034A (en) * 2019-06-28 2019-10-08 京东数字科技控股有限公司 A kind of service orchestration applied to SaaS, business flow processing method and apparatus

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
HEUSER S 等: "a programmable interface for extending android security", 《23RD USENIX SECURITY SYMPOSIUM (USENIX SECURITY 14)》, 22 August 2014 (2014-08-22), pages 1005 - 1019 *
叶世敏: "基于功能性需求的服务组合模型研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》, no. 7, 15 July 2011 (2011-07-15), pages 139 - 148 *
王鹏: "一种轻量级BPM引擎功能扩展模型的研究", 《中国优秀硕士学位论文全文数据库 经济与管理科学辑》, no. 7, 15 July 2018 (2018-07-15), pages 152 - 442 *

Also Published As

Publication number Publication date
CN112783497B (en) 2024-05-28

Similar Documents

Publication Publication Date Title
CN109976761B (en) Software development kit generation method and device and terminal equipment
CN108614726B (en) Virtual machine creation method and device
CN105814539B (en) The method and apparatus generated for code virtualization and remote process call
CN106648556B (en) Method and device for front-end and back-end integrated development test
CN104881318B (en) A kind of interface call method, device and terminal
CN104750528B (en) A kind of assembly management method and apparatus in Android program
CN108600311B (en) Method and device for simulating interface data by client
CN110532041A (en) Regulation engine method for parameter configuration, device, computer equipment and storage medium
CN109885355A (en) A kind of application starting method and relevant apparatus
CN110599341A (en) Transaction calling method and system
CN111221630A (en) Business process processing method, device, equipment, readable storage medium and system
CN111402058B (en) Data processing method, device, equipment and medium
CN109558146A (en) Application issued method, apparatus and storage medium
CN111897738A (en) Automatic testing method and device based on atomic service
CN115185496A (en) Service arrangement method based on Flowable workflow engine
CN106326102A (en) Test method and apparatus
CN105224450A (en) Concurrent testing method and device
CN111953503A (en) NFV resource deployment arrangement method and network function virtualization orchestrator
CN110163554A (en) Operation method, device, server and the storage medium of workflow
CN109669678A (en) Template engine integration method, device, electronic equipment and storage medium
CN111008015B (en) Micro front-end application framework based on front-end technology
CN112783497B (en) New service generation method and device and computing equipment
CN112068879A (en) Method and device for constructing client application development framework based on configuration
CN114003421B (en) Virtual machine timeout mechanism testing method, system, terminal and storage medium
CN113377652A (en) Test data generation method and device

Legal Events

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