CN114546461A - Business item development method, device, equipment and readable storage medium - Google Patents

Business item development method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN114546461A
CN114546461A CN202210189649.7A CN202210189649A CN114546461A CN 114546461 A CN114546461 A CN 114546461A CN 202210189649 A CN202210189649 A CN 202210189649A CN 114546461 A CN114546461 A CN 114546461A
Authority
CN
China
Prior art keywords
configuration file
task flow
developed
upgraded
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210189649.7A
Other languages
Chinese (zh)
Inventor
吴祎诚
王硕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Entropy Technology Co ltd
Original Assignee
Xiamen Entropy 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 Xiamen Entropy Technology Co ltd filed Critical Xiamen Entropy Technology Co ltd
Priority to CN202210189649.7A priority Critical patent/CN114546461A/en
Publication of CN114546461A publication Critical patent/CN114546461A/en
Pending legal-status Critical Current

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/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

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

Abstract

The application discloses a method, a device, equipment and a readable storage medium for developing service items, wherein the method comprises the following steps: acquiring hardware information of equipment to be developed and each service item supported by the hardware information; analyzing and determining a task flow matched with the hardware information and the supported service items and each configuration file forming the task flow according to a preset configuration file library; if an upgrading instruction which is sent by a user and contains a service item to be upgraded and a sub-function to be upgraded is received, determining a task flow to be upgraded which is matched with the service item to be upgraded and a configuration file which forms the task flow to be upgraded; determining a first configuration file matched with the subfunction to be upgraded in a configuration file library; combining and generating a new task flow according to the configuration file and the first configuration file which form the task flow to be upgraded; and importing the new task flow into the equipment to be developed, and replacing the task flow to be upgraded in the equipment to be developed so as to upgrade the service item of the equipment to be developed. The method and the device can be used for rapidly developing and upgrading the service items of the existing equipment.

Description

Business item development method, device, equipment and readable storage medium
Technical Field
The present application relates to the field of program development, and more particularly, to a method, an apparatus, a device and a readable storage medium for developing a service item.
Background
Along with the development of global manufacturing industry, the electronic industry develops rapidly, the industrial chain is improved day by day, and the development momentum is strong. The continuous progress of science and technology enables the updating iteration speed of electronic products to be accelerated, various electronic products are developed quickly by relying on the hardware capability of self equipment, the electronic products are suitable for various scenes, and business items for realizing different functions are the key for various technical enterprises to continuously keep market competitiveness.
Based on the situation, many companies want the IT department to quickly complete the addition of the required service items to the existing equipment or the upgrade of the existing service items according to the requirements of the customers or some new requirements of the production personnel, and to realize stable operation. However, in reality, the development efficiency of the service item is low, the code of the service item needs to be edited again when the service item is newly added or upgraded, and the re-editing program not only consumes a lot of manpower, but also needs a lot of editing time.
Therefore, a method for developing service items is needed to quickly implement development and upgrade of existing devices.
Disclosure of Invention
In view of this, the present application provides a method, an apparatus, a device and a readable storage medium for developing a service item, which are used to implement rapid development and upgrade of a service item for an existing device.
In order to achieve the above object, the following solutions are proposed:
a method of business item development, comprising:
acquiring hardware information of equipment to be developed and each service item supported by the hardware information;
analyzing and determining a task flow matched with the hardware information of the equipment to be developed and the supported service items and each configuration file forming the task flow according to a preset configuration file library;
if an upgrading instruction which is sent by a user and contains a service item to be upgraded and a sub-function to be upgraded is received, determining a task flow to be upgraded which is matched with the service item to be upgraded and a configuration file which forms the task flow to be upgraded;
determining a first configuration file matched with the sub-function to be upgraded in the preset configuration file library;
combining and generating a new task flow according to the configuration file forming the task flow to be upgraded and the first configuration file;
and importing the new task flow into the equipment to be developed, and replacing the task flow to be upgraded in the equipment to be developed so as to upgrade the service item supported by the equipment to be developed and corresponding to the task flow to be upgraded.
Preferably, the analyzing and determining the task flow matched with the hardware information of the device to be developed and the service items supported by the device to be developed and each configuration file constituting the task flow according to a preset configuration file library includes:
determining input parameters, output parameters and function types of business items supported by the equipment to be developed;
and analyzing and determining the task flow matched with the hardware information of the equipment to be developed and the input parameters, the output parameters and the function types of the service items and each configuration file forming the task flow according to a preset configuration file library.
Preferably, the method further comprises the following steps:
if an adding instruction which is sent by a user and contains a service item to be added is received, determining a second configuration file which is matched with the service item to be added in the preset configuration file library so as to generate a task flow to be added;
generating the task flow to be added matched with the service item to be added according to the second configuration file;
and importing the task flow to be added into the equipment to be developed so as to add the service items supported by the equipment to be developed.
Preferably, the method further comprises the following steps:
if a replacement instruction which is sent by a user and contains a service item to be replaced, a sub-function to be replaced and a sub-function to be replaced is received, determining a task stream to be replaced which is matched with the service item to be replaced and a configuration file which forms the task stream to be replaced;
determining a to-be-replaced configuration file matched with the to-be-replaced subfunction in the configuration files forming the to-be-replaced task flow;
determining a third configuration file matched with the sub-function to be replaced in the preset configuration file library;
replacing the third configuration file with a to-be-replaced configuration file in the to-be-replaced task stream to generate a new task stream;
and importing the new replacement task flow into the equipment to be developed, and replacing the task flow to be replaced in the equipment to be developed so as to adjust the business items supported by the equipment to be developed and corresponding to the task flow to be replaced.
Preferably, the method further comprises the following steps:
if a deleting instruction which is sent by a user and contains a task item to be processed and a subfunction to be deleted is received, determining a task stream to be processed which is matched with the task item to be processed and a configuration file which forms the task stream to be processed;
deleting the configuration file matched with the subfunction to be deleted in the task flow to be processed to generate a new task flow;
and importing the new task flow into the equipment to be developed, and replacing the task flow to be processed in the equipment to be developed so as to adjust the business items supported by the equipment to be developed and corresponding to the task flow to be processed.
Preferably, the method further comprises the following steps:
if a removal instruction containing a service item to be removed sent by a user is received, determining a removal task flow matched with the service item to be removed;
deleting the task removal flow in the device to be developed so as to remove the service item which is supported by the device to be developed and corresponds to the task removal flow.
A business item development apparatus comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring hardware information of equipment to be developed and each service item supported by the hardware information;
the analysis unit is used for analyzing and determining a task flow matched with the hardware information of the equipment to be developed and the supported service items and each configuration file forming the task flow according to a preset configuration file library;
the device comprises a determining unit, a processing unit and a processing unit, wherein the determining unit is used for determining a task flow to be upgraded matched with a service item to be upgraded and a configuration file forming the task flow to be upgraded under the condition of receiving an upgrading instruction which is sent by a user and contains the service item to be upgraded and a sub-function to be upgraded;
the configuration unit is used for determining a first configuration file matched with the sub-function to be upgraded in the preset configuration file library;
the task flow unit is used for generating a new task flow by combination according to the configuration file forming the task flow to be upgraded and the first configuration file;
and the importing unit is used for importing the new task flow into the equipment to be developed and replacing the task flow to be upgraded in the equipment to be developed so as to upgrade the service item which is supported by the equipment to be developed and corresponds to the task flow to be upgraded.
Preferably, the analysis unit includes:
the parameter determining unit is used for determining input parameters, output parameters and function types of the service items supported by the equipment to be developed;
and the matching analysis unit is used for analyzing and determining the task flow matched with the hardware information of the equipment to be developed and the input parameters, the output parameters and the function types of the service items and each configuration file forming the task flow according to a preset configuration file library.
A business item development device comprising a memory and a processor;
the memory is used for storing programs;
the processor is configured to execute the program to implement the steps of the service item development method.
A readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the service item development method as described above.
According to the technical scheme, the service item development method, the device, the equipment and the readable storage medium provided by the application can analyze and determine the task flow matched with the hardware information of the equipment to be developed and the service items supported by the equipment to be developed and each configuration file forming the task flow according to the preset configuration file library by acquiring the hardware information of the equipment to be developed and each service item supported by the equipment to be developed. If an upgrading instruction which is sent by a user and contains a service item to be upgraded and a sub-function to be upgraded is received, determining a task stream to be upgraded which is matched with the service item to be upgraded and a configuration file which forms the task stream to be upgraded, determining a first configuration file which is matched with the sub-function to be upgraded in a preset configuration file library, and combining and generating a new task stream according to the configuration file which forms the task stream to be upgraded and the first configuration file. And importing the new task flow into the equipment to be developed, and replacing the task flow to be upgraded in the equipment to be developed so as to upgrade the service item supported by the equipment to be developed and corresponding to the task flow to be upgraded.
According to the method and the device, the task flow uniquely corresponding to each business item and each configuration file forming the task flow are determined according to the acquired hardware information of the device to be developed and each supported business item, after an upgrading instruction sent by a user is received, the task flow corresponding to the business item to be upgraded and the configuration file corresponding to the sub-function to be upgraded can be determined according to the information in the upgrading instruction, and finally, a new task flow is generated and is led into the device to be developed, so that the business item of the device to be developed can be upgraded. Because the configuration files are all the program files which are written in advance and can realize the corresponding sub-functions, in the whole upgrading development process of the equipment to be developed, only the corresponding configuration files need to be called from the preset configuration file library, the codes of the service items do not need to be edited again manually, and the problem that a large amount of labor and time are consumed by editing programs is solved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only the embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a service item development method disclosed in an embodiment of the present application;
FIG. 2 is a block diagram of a business item development device according to the present disclosure;
fig. 3 is a block diagram of a hardware structure of a service item development device disclosed in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a flowchart of a business item development method disclosed in an embodiment of the present application.
As shown in fig. 1, the method may include:
and step S1, acquiring the hardware information of the equipment to be developed and each service item supported.
Specifically, when the device to be developed is developed and upgraded, the hardware information of the device to be developed and each service item supported by the hardware information need to be obtained by scanning, and each service item is a function that can be realized by the device to be developed. It can be understood that the development and upgrade performed on the device to be developed should be the development and upgrade performed on the program based on the hardware information of the current device, that is, the development and upgrade performed on the service items supported by the device, and the device to be developed should be able to execute each service item based on its own hardware device to implement each function.
Step S2, according to a preset configuration file library, analyzing and determining a task flow matched with the hardware information of the device to be developed and the service items supported by the device to be developed, and each configuration file constituting the task flow.
Specifically, one task flow is composed of a plurality of configuration files, configuration files in which pre-programmed programs are installed are configured in a preset configuration file library, and each configuration file can realize one subfunction. After the hardware information of the equipment to be developed and the service items supported by the equipment to be developed are obtained, the task flow matched with the hardware information of the equipment to be developed and each service item and each configuration file forming the task flow can be analyzed and determined through a preset configuration file. For each service item, the service flow which is most consistent and meets the hardware information of the equipment to be developed and the service item and the configuration file forming the service flow are determined according to the analysis of the configuration file library, and the service flow is used as the matched service flow of the service item.
Step S3, if an upgrade instruction containing a service item to be upgraded and a subfunction to be upgraded is received, which is sent by a user, determining a task flow to be upgraded which is matched with the service item to be upgraded and a configuration file which forms the task flow to be upgraded.
Specifically, if an upgrade instruction including a service item to be upgraded and a sub-function to be upgraded, which is sent by a user, is received, a task flow to be upgraded, which is matched with the service item to be upgraded, and a configuration file forming the task flow to be upgraded are determined according to the service item to be upgraded in the upgrade instruction, that is, a task flow to be upgraded in a device to be upgraded is determined.
And step S4, determining a first configuration file matched with the sub-function to be upgraded in the preset configuration file library.
Specifically, according to the sub-function to be upgraded in the upgrade instruction, a first configuration file matched with the sub-function to be upgraded is inquired and determined in a configuration file of a preset configuration file library, and the first configuration file can realize the sub-function to be upgraded by the user.
For example, if the device has a visible light camera and a near-infrared camera, the original face service automatically captures images based on the visible light camera, and performs face algorithm calculation on the acquired images to realize the task item, and the sub-function to be upgraded needs to be added with an automatic image capture function based on the near-infrared camera. The method comprises the steps of determining a first configuration file matched with a sub-function to be upgraded in a preset configuration file library according to the sub-function to be upgraded, namely the automatic image taking function based on a near-infrared camera, wherein the first configuration file can realize the automatic image taking function based on the near-infrared camera.
And step S5, combining and generating a new task flow according to the configuration file forming the task flow to be upgraded and the first configuration file.
Specifically, the first configuration file and the configuration file in the original task flow to be upgraded are recombined to generate a new task flow. The new task flow can not only realize the function of the original task flow to be upgraded, but also realize the subfunction to be upgraded by the user, and the function of the new task flow is increased compared with the function of the original task flow to be upgraded.
Step S6, importing the new task flow into the device to be developed, and replacing the task flow to be upgraded in the device to be developed.
Specifically, the generated new task flow is led into the device to be developed, the new task flow is used for replacing the task flow to be upgraded in the device to be developed, and when the device to be developed executes the service item to be upgraded, the function of the service item is improved, that is, the service item supported by the device to be developed and corresponding to the task flow to be upgraded is upgraded.
According to the technical scheme, the service item development method provided by the application obtains the hardware information of the equipment to be developed and each service item supported by the equipment to be developed, analyzes and determines the task flow matched with the hardware information of the equipment to be developed and each configuration file forming the task flow according to the preset configuration file library. If an upgrading instruction which is sent by a user and contains a service item to be upgraded and a sub-function to be upgraded is received, determining a task stream to be upgraded which is matched with the service item to be upgraded and a configuration file which forms the task stream to be upgraded, determining a first configuration file which is matched with the sub-function to be upgraded in a preset configuration file library, and combining and generating a new task stream according to the configuration file which forms the task stream to be upgraded and the first configuration file. And importing the new task flow into the equipment to be developed, and replacing the task flow to be upgraded in the equipment to be developed so as to upgrade the service item supported by the equipment to be developed and corresponding to the task flow to be upgraded.
According to the method and the device, the task flow uniquely corresponding to each business item and each configuration file forming the task flow are determined according to the acquired hardware information of the device to be developed and each supported business item, after an upgrading instruction sent by a user is received, the task flow corresponding to the business item to be upgraded and the configuration file corresponding to the sub-function to be upgraded can be determined according to the information in the upgrading instruction, and finally, a new task flow is generated and is led into the device to be developed, so that the business item of the device to be developed can be upgraded. Because the configuration files are all the program files which are written in advance and can realize the corresponding sub-functions, in the whole upgrading development process of the equipment to be developed, only the corresponding configuration files need to be called from the preset configuration file library, the codes of the service items do not need to be edited again manually, and the problem that a large amount of labor and time are consumed by editing programs is solved.
In some embodiments of the present application, the process of analyzing and determining the task flow matched with the hardware information of the device to be developed and the service items supported by the hardware information according to the preset configuration file library and each configuration file constituting the task flow in step S2 may specifically include:
step S201, determining an input parameter, an output parameter and a function type of the service item supported by the device to be developed.
Specifically, the input parameters, the output parameters, and the function types of the service items supported by the device to be developed are further determined, where the function types of the service items are, for example, a listening class and a status reading class. The input parameters and the output parameters of the service items and the function types of the service items can be used for analyzing configuration files meeting the conditions subsequently.
Step S202, analyzing and determining a task flow matched with the hardware information of the equipment to be developed and the input parameters, the output parameters and the function types of the service items and each configuration file forming the task flow according to a preset configuration file library.
Specifically, in a preset configuration file library, a task flow which is matched with input parameters, output parameters and function types of business items and meets hardware information of the equipment to be developed and a configuration file forming the task flow are analyzed and inquired.
For example, the input parameter of a certain service item is a, the output parameter is B, and the function type is a data computation class. According to a preset configuration file library, the following three service flow conditions which are matched with the input parameters, the output parameters and the function types of the service items are analyzed and determined.
Service flow one: profile m → profile n → profile e;
and a second service flow: profile m → profile f → profile e;
and a third service flow: profile m → profile d → profile g.
Wherein, only the service flow three is matched with the hardware information of the device to be developed, so that the service flow of the service item and each configuration file forming the task flow can be determined as follows: profile m → profile d → profile g.
In practical application, in addition to receiving an upgrade instruction including a service item to be upgraded and a sub-function to be upgraded, which is sent by a user, the user may have a need to perform other processing on the service item, such as performing sub-function adjustment on the service item, adding a new service item, deleting an existing service item, and the like.
In other embodiments of the present application, an implementation manner when a user wishes to add a new service item is provided, that is, an implementation manner when the user sends an add instruction including a service item to be added, may specifically include:
step S7, if an adding instruction including a service item to be added is received, the second configuration file matched with the service item to be added in the preset configuration file library is determined.
Specifically, if an adding instruction containing a service item to be added sent by a user is received, a second configuration file matched with the service item to be added in the preset configuration file library is determined, so as to generate a task flow to be added.
It can be understood that the service item addition performed on the device to be developed should be the service item addition performed based on the hardware information of the current device, that is, a service flow capable of implementing the service item that needs to be added is introduced, so as to implement the addition of the service item to be added on the device to be developed.
For example, a user wants to add a business item of a face service, the face service needs a visible light camera, a near-infrared camera and a face algorithm service, and the second configuration file to be added is determined to comprise a visible light camera configuration file, a near-infrared camera configuration file and a face algorithm service configuration file according to a sent adding instruction containing the face service business item to be added.
Step S8, generating the task flow to be added matching with the service item to be added according to the second configuration file.
Specifically, after obtaining a second configuration file matched with an adding instruction which is sent by a user and contains a service item to be added, the task flow to be added matched with the service item to be added can be generated, and each configuration file program is executed according to the task flow, so that the service item function which the user wants to add can be realized.
And step S9, importing the task flow to be added into the equipment to be developed.
Specifically, the generated task flow to be added is led into the device to be developed, so as to add the service items supported by the device to be developed.
In other embodiments of the present application, an implementation manner when a user wishes to add a sub-function of an existing service item for replacement, that is, an implementation manner when a replacement instruction including a service item to be replaced, a sub-function to be replaced, and a sub-function to be replaced is sent by the user, may specifically include:
step S10, if a replacement instruction including a service item to be replaced, a sub-function to be replaced, and a sub-function to be replaced is received, the task stream to be replaced matching the service item to be replaced and the configuration file constituting the task stream to be replaced are determined.
Specifically, if a replacement instruction sent by a user and including a service item to be replaced, a sub-function to be replaced, and a sub-function to be replaced is received, a task stream to be replaced and a configuration file forming the task stream to be replaced, which are matched with the service item to be replaced, are determined, the replacement instruction needs to replace a specified configuration file in the task stream to be replaced with another specified configuration file, and after the replacement, the corresponding sub-function in the task item to be replaced changes.
It can be understood that the replacement of the device to be developed should be a process performed on a certain service item based on the hardware information of the current device, that is, a specified configuration file on a certain service item is replaced with another specified configuration file, so as to implement a functional adjustment on the service item of the device to be developed.
And step S11, determining the configuration file to be replaced which is matched with the sub-function to be replaced in the configuration files forming the task flow to be replaced.
Specifically, according to the subfunction to be replaced in the replacement instruction, the configuration file to be replaced, which is matched with the subfunction to be replaced, in the configuration files forming the task flow to be replaced is determined.
And step S12, determining a third configuration file matched with the sub-function to be replaced in the preset configuration file library.
Specifically, according to the sub-function to be replaced in the replacement instruction, a third configuration file matched with the sub-function to be replaced in the preset configuration file library is determined.
And step S13, replacing the to-be-replaced configuration file in the to-be-replaced task stream with the third configuration file, and generating a new task stream.
Specifically, the third configuration file replaces the to-be-replaced configuration file in the to-be-replaced task stream, and a new task stream can be generated at the same time.
For example, if the device has a visible light camera and a near-infrared camera, the original face service automatically captures images based on the visible light camera, and performs face algorithm calculation on the acquired images to realize the task item, the sub-function to be replaced is to automatically capture images based on the visible light camera, and the sub-function to be replaced is to automatically capture images based on the near-infrared camera. And determining the configuration files to be replaced which are matched with the automatic image acquisition based on the visible light camera in the configuration files forming the task flow to be replaced according to the subfunction to be replaced in the replacement instruction. And determining a third configuration file matched with the sub-function to be replaced in the preset configuration file library according to the sub-function to be replaced, namely the automatic image taking function based on the near-infrared camera, wherein the third configuration file can realize the automatic image taking function based on the near-infrared camera. And replacing the configuration file to be replaced matched with the automatic image acquisition based on the visible light camera by using the third configuration file, and simultaneously generating a new task flow.
Step S14, importing the new replacement task stream into the device to be developed, and replacing the task stream to be replaced in the device to be developed.
Specifically, a newly generated replacement task flow is introduced into the device to be developed, and the task flow to be replaced in the device to be developed is replaced, so as to adjust a service item supported by the device to be developed and corresponding to the task flow to be replaced, and change a sub-function in the task flow to be replaced.
In other embodiments of the present application, an implementation manner when a user wants to delete a sub-function of an existing service item is provided, that is, an implementation manner when the user sends a deletion instruction including a task item to be processed and a sub-function to be deleted may specifically include:
step S15, if a delete instruction including the task item to be processed and the sub-function to be deleted is received, the to-be-processed task stream matching the task item to be processed and the configuration file constituting the to-be-processed task stream are determined.
Specifically, if a deletion instruction which is sent by a user and contains a task item to be processed and a subfunction to be deleted is received, a task stream to be processed which is matched with the task item to be processed and a configuration file which forms the task stream to be processed are determined. It can be understood that the deletion performed on the device to be developed should be based on an existing service item of the current device, and delete the configuration file in the service stream corresponding to a certain existing service item, so as to delete part of the subfunctions of the service item, and to adjust the function of the service item to be processed of the device to be developed.
And step S16, deleting the configuration file matched with the subfunction to be deleted in the task flow to be processed, and generating a new task flow.
Specifically, a configuration file matched with the subfunction to be deleted in the configuration files forming the task flow to be processed is determined, the configuration file is deleted, and a new task flow is generated at the same time.
And step S17, importing the new task flow into the equipment to be developed, and replacing the task flow to be processed in the equipment to be developed.
Specifically, a newly generated replacement task flow is introduced into the device to be developed, and the task flow to be replaced in the device to be developed is replaced, so as to adjust the service item, which is supported by the device to be developed and corresponds to the task flow to be processed.
In other embodiments of the present application, an implementation manner when a user wishes to delete an existing service item is provided, that is, an implementation manner when the user sends a removal instruction including a service item to be removed, may specifically include:
step S18, if a removal instruction including a service item to be removed is received, the removal task flow matched with the service item to be removed is determined.
Specifically, if a removal instruction containing a service item to be removed sent by a user is received, a removal task flow matched with the service item to be removed is determined. It can be understood that the removal of the device to be developed should be based on an existing service item of the current device, and the removal of the existing service item as a whole is performed to implement the adjustment of the service item supported by the device to be developed.
And step S19, deleting the task removal flow in the device to be developed.
Specifically, after determining the task flow to be removed, deleting the task flow to be removed in the device to be developed, so as to remove the service item, which is supported by the device to be developed and corresponds to the task flow to be removed.
The service item development device provided in the embodiment of the present application is described below, and the service item development device described below and the service item development method described above may be referred to in correspondence with each other.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a service item development device disclosed in the embodiment of the present application.
As shown in fig. 2, the apparatus may include:
an obtaining unit 110, configured to obtain hardware information of a device to be developed and each service item supported by the device to be developed;
an analysis unit 120, configured to analyze and determine a task flow matched with the hardware information of the device to be developed and the service items supported by the device to be developed and each configuration file constituting the task flow according to a preset configuration file library;
a determining unit 130, configured to determine a task flow to be upgraded that matches the service item to be upgraded and a configuration file that forms the task flow to be upgraded, when an upgrade instruction that includes the service item to be upgraded and the subfunction to be upgraded and is sent by a user is received;
a configuration unit 140, configured to determine a first configuration file in the preset configuration file library, where the first configuration file matches the sub-function to be upgraded;
a task flow unit 150, configured to generate a new task flow by combining the configuration file forming the task flow to be upgraded and the first configuration file;
an importing unit 160, configured to import the new task flow into the device to be developed, and replace the task flow to be upgraded in the device to be developed, so as to upgrade a service item, which is supported by the device to be developed and corresponds to the task flow to be upgraded.
According to the technical scheme, the service item development method, the device, the equipment and the readable storage medium provided by the application can analyze and determine the task flow matched with the hardware information of the equipment to be developed and the service items supported by the equipment to be developed and each configuration file forming the task flow according to the preset configuration file library by acquiring the hardware information of the equipment to be developed and each service item supported by the equipment to be developed. If an upgrading instruction which is sent by a user and contains a service item to be upgraded and a sub-function to be upgraded is received, determining a task stream to be upgraded which is matched with the service item to be upgraded and a configuration file which forms the task stream to be upgraded, determining a first configuration file which is matched with the sub-function to be upgraded in a preset configuration file library, and combining and generating a new task stream according to the configuration file which forms the task stream to be upgraded and the first configuration file. And importing the new task flow into the equipment to be developed, and replacing the task flow to be upgraded in the equipment to be developed so as to upgrade the service item supported by the equipment to be developed and corresponding to the task flow to be upgraded.
According to the method and the device, the task flow uniquely corresponding to each business item and each configuration file forming the task flow are determined according to the acquired hardware information of the device to be developed and each supported business item, after an upgrading instruction sent by a user is received, the task flow corresponding to the business item to be upgraded and the configuration file corresponding to the sub-function to be upgraded can be determined according to the information in the upgrading instruction, and finally, a new task flow is generated and is led into the device to be developed, so that the business item of the device to be developed can be upgraded. Because the configuration files are all the program files which are written in advance and can realize the corresponding sub-functions, in the whole upgrading development process of the equipment to be developed, only the corresponding configuration files need to be called from the preset configuration file library, the codes of the service items do not need to be edited again manually, and the problem that a large amount of labor and time are consumed by editing programs is solved.
Optionally, the analysis unit may include:
the parameter determining unit is used for determining input parameters, output parameters and function types of the service items supported by the equipment to be developed;
and the matching analysis unit is used for analyzing and determining the task flow matched with the hardware information of the equipment to be developed and the input parameters, the output parameters and the function types of the service items and each configuration file forming the task flow according to a preset configuration file library.
Optionally, the service item development apparatus may further include:
an adding determining unit, configured to determine, when an adding instruction including a service item to be added and sent by a user is received, a second configuration file, which is matched with the service item to be added, in the preset configuration file library, so as to generate a task flow to be added;
a task flow adding unit, configured to generate the task flow to be added, which is matched with the service item to be added, according to the second configuration file;
and the adding and leading-in unit is used for leading the task flow to be added into the equipment to be developed so as to increase the service items supported by the equipment to be developed.
Optionally, the service item development apparatus may further include:
a replacement determining unit, configured to determine a task flow to be replaced that matches the service item to be replaced and a configuration file that constitutes the task flow to be replaced, when receiving a replacement instruction that is sent by a user and includes the service item to be replaced, the subfunction to be replaced, and the subfunction to be replaced;
a to-be-replaced configuration unit, configured to determine a to-be-replaced configuration file that is matched with the to-be-replaced subfunction in the configuration files forming the to-be-replaced task flow;
the replacing configuration unit is used for determining a third configuration file which is matched with the sub-function to be replaced in the preset configuration file library;
a replacement task stream unit, configured to replace the third configuration file with a to-be-replaced configuration file in the to-be-replaced task stream, and generate a new task stream;
and the replacement import unit is used for importing the new replacement task flow into the equipment to be developed and replacing the task flow to be replaced in the equipment to be developed so as to adjust the business items supported by the equipment to be developed and corresponding to the task flow to be replaced.
Optionally, the service item development apparatus may further include:
the device comprises a deletion determining unit, a processing unit and a processing unit, wherein the deletion determining unit is used for determining a task flow to be processed matched with a task item to be processed and a configuration file forming the task flow to be processed under the condition of receiving a deletion instruction which is sent by a user and contains the task item to be processed and a subfunction to be deleted;
a task flow deleting unit, configured to delete the configuration file in the to-be-processed task flow, which matches with the to-be-deleted subfunction, and generate a new task flow;
and the deletion import unit is used for importing the new task flow into the equipment to be developed and replacing the task flow to be processed in the equipment to be developed so as to adjust the business items which are supported by the equipment to be developed and correspond to the task flow to be processed.
Optionally, the service item development apparatus may further include:
the device comprises a removal determining unit, a task processing unit and a task processing unit, wherein the removal determining unit is used for determining a removal task flow matched with a service item to be removed under the condition of receiving a removal instruction which is sent by a user and contains the service item to be removed;
and the task flow removing unit is used for deleting the task flow in the equipment to be developed so as to remove the service item which is supported by the equipment to be developed and corresponds to the task flow removing unit.
The service item development device provided by the embodiment of the application can be applied to service item development equipment. Optionally, fig. 3 shows a block diagram of a hardware structure of the service item development device, and referring to fig. 3, the hardware structure of the service item development device may include: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4;
in the embodiment of the application, the number of the processor 1, the communication interface 2, the memory 3 and the communication bus 4 is at least one, and the processor 1, the communication interface 2 and the memory 3 complete mutual communication through the communication bus 4;
the processor 1 may be a central processing unit CPU, or an application Specific Integrated circuit asic, or one or more Integrated circuits configured to implement embodiments of the present invention, etc.;
the memory 3 may include a high-speed RAM memory, and may further include a non-volatile memory (non-volatile memory) or the like, such as at least one disk memory;
wherein the memory stores a program and the processor can call the program stored in the memory, the program for:
acquiring hardware information of equipment to be developed and each service item supported by the hardware information;
analyzing and determining a task flow matched with the hardware information of the equipment to be developed and the supported service items and each configuration file forming the task flow according to a preset configuration file library;
if an upgrading instruction which is sent by a user and contains a service item to be upgraded and a sub-function to be upgraded is received, determining a task flow to be upgraded which is matched with the service item to be upgraded and a configuration file which forms the task flow to be upgraded;
determining a first configuration file matched with the sub-function to be upgraded in the preset configuration file library;
combining and generating a new task flow according to the configuration file forming the task flow to be upgraded and the first configuration file;
and importing the new task flow into the equipment to be developed, and replacing the task flow to be upgraded in the equipment to be developed so as to upgrade the service item supported by the equipment to be developed and corresponding to the task flow to be upgraded.
Alternatively, the detailed function and the extended function of the program may refer to the above description.
Embodiments of the present application further provide a readable storage medium, where a program suitable for being executed by a processor may be stored, where the program is configured to:
acquiring hardware information of equipment to be developed and each service item supported by the hardware information;
analyzing and determining a task flow matched with the hardware information of the equipment to be developed and the supported service items and each configuration file forming the task flow according to a preset configuration file library;
if an upgrading instruction which is sent by a user and contains a service item to be upgraded and a sub-function to be upgraded is received, determining a task flow to be upgraded which is matched with the service item to be upgraded and a configuration file which forms the task flow to be upgraded;
determining a first configuration file matched with the sub-function to be upgraded in the preset configuration file library;
combining and generating a new task flow according to the configuration file forming the task flow to be upgraded and the first configuration file;
and importing the new task flow into the equipment to be developed, and replacing the task flow to be upgraded in the equipment to be developed so as to upgrade the service item supported by the equipment to be developed and corresponding to the task flow to be upgraded.
Alternatively, the detailed function and the extended function of the program may refer to the above description.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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.
In the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for developing a business item, comprising:
acquiring hardware information of equipment to be developed and each service item supported by the hardware information;
analyzing and determining a task flow matched with the hardware information of the equipment to be developed and the supported service items and each configuration file forming the task flow according to a preset configuration file library;
if an upgrading instruction which is sent by a user and contains a service item to be upgraded and a sub-function to be upgraded is received, determining a task flow to be upgraded which is matched with the service item to be upgraded and a configuration file which forms the task flow to be upgraded;
determining a first configuration file matched with the sub-function to be upgraded in the preset configuration file library;
combining and generating a new task flow according to the configuration file forming the task flow to be upgraded and the first configuration file;
and importing the new task flow into the equipment to be developed, and replacing the task flow to be upgraded in the equipment to be developed so as to upgrade the service item supported by the equipment to be developed and corresponding to the task flow to be upgraded.
2. The method according to claim 1, wherein the analyzing and determining the task flow matched with the hardware information and the supported service items of the device to be developed and each configuration file constituting the task flow according to a preset configuration file library comprises:
determining input parameters, output parameters and function types of business items supported by the equipment to be developed;
and analyzing and determining a task flow matched with the hardware information of the equipment to be developed and the input parameters, the output parameters and the function types of the service items and each configuration file forming the task flow according to a preset configuration file library.
3. The method of claim 1, further comprising:
if an adding instruction which is sent by a user and contains a service item to be added is received, determining a second configuration file which is matched with the service item to be added in the preset configuration file library so as to generate a task flow to be added;
generating the task flow to be added matched with the service item to be added according to the second configuration file;
and importing the task flow to be added into the equipment to be developed so as to add the service items supported by the equipment to be developed.
4. The method of claim 1, further comprising:
if a replacement instruction which is sent by a user and contains a service item to be replaced, a sub-function to be replaced and a sub-function to be replaced is received, determining a task stream to be replaced which is matched with the service item to be replaced and a configuration file which forms the task stream to be replaced;
determining a to-be-replaced configuration file matched with the to-be-replaced subfunction in the configuration files forming the to-be-replaced task flow;
determining a third configuration file matched with the subfunction to be replaced in the preset configuration file library;
replacing the third configuration file with a to-be-replaced configuration file in the to-be-replaced task stream to generate a new task stream;
and importing the new replacement task flow into the equipment to be developed, and replacing the task flow to be replaced in the equipment to be developed so as to adjust the business items supported by the equipment to be developed and corresponding to the task flow to be replaced.
5. The method of claim 1, further comprising:
if a deleting instruction which is sent by a user and contains a task item to be processed and a subfunction to be deleted is received, determining a task stream to be processed which is matched with the task item to be processed and a configuration file which forms the task stream to be processed;
deleting the configuration file matched with the subfunction to be deleted in the task flow to be processed to generate a new task flow;
and importing the new task flow into the equipment to be developed, and replacing the task flow to be processed in the equipment to be developed so as to adjust the business items supported by the equipment to be developed and corresponding to the task flow to be processed.
6. The method of claim 1, further comprising:
if a removal instruction containing a service item to be removed sent by a user is received, determining a removal task flow matched with the service item to be removed;
deleting the task removal flow in the device to be developed so as to remove the service item which is supported by the device to be developed and corresponds to the task removal flow.
7. A business item development apparatus, comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring hardware information of equipment to be developed and each service item supported by the hardware information;
the analysis unit is used for analyzing and determining a task flow matched with the hardware information of the equipment to be developed and the supported service items and each configuration file forming the task flow according to a preset configuration file library;
the device comprises a determining unit, a processing unit and a processing unit, wherein the determining unit is used for determining a task flow to be upgraded matched with a service item to be upgraded and a configuration file forming the task flow to be upgraded under the condition of receiving an upgrading instruction which is sent by a user and contains the service item to be upgraded and a sub-function to be upgraded;
the configuration unit is used for determining a first configuration file matched with the sub-function to be upgraded in the preset configuration file library;
the task flow unit is used for generating a new task flow by combination according to the configuration file forming the task flow to be upgraded and the first configuration file;
and the importing unit is used for importing the new task flow into the equipment to be developed and replacing the task flow to be upgraded in the equipment to be developed so as to upgrade the service item which is supported by the equipment to be developed and corresponds to the task flow to be upgraded.
8. The apparatus of claim 7, wherein the analysis unit comprises:
the parameter determining unit is used for determining input parameters, output parameters and function types of the service items supported by the equipment to be developed;
and the matching analysis unit is used for analyzing and determining the task flow matched with the hardware information of the equipment to be developed and the input parameters, the output parameters and the function types of the service items and each configuration file forming the task flow according to a preset configuration file library.
9. A business item development device comprising a memory and a processor;
the memory is used for storing programs;
the processor, configured to execute the program, and implement the steps of the service item development method according to any one of claims 1 to 6.
10. A readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the business item development method according to any one of claims 1 to 6.
CN202210189649.7A 2022-02-28 2022-02-28 Business item development method, device, equipment and readable storage medium Pending CN114546461A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210189649.7A CN114546461A (en) 2022-02-28 2022-02-28 Business item development method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210189649.7A CN114546461A (en) 2022-02-28 2022-02-28 Business item development method, device, equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN114546461A true CN114546461A (en) 2022-05-27

Family

ID=81661027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210189649.7A Pending CN114546461A (en) 2022-02-28 2022-02-28 Business item development method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114546461A (en)

Similar Documents

Publication Publication Date Title
US8190578B2 (en) Migration of versioned data between configuration management systems
CN110716739B (en) Code change information statistical method, system and readable storage medium
CN113434527B (en) Data processing method, device, electronic equipment and storage medium
CN110647322B (en) List rendering method and device, electronic equipment and computer readable medium
CN109408469A (en) Stale data document handling method, device, electronic device and storage medium
CN115039092A (en) Providing customized integrated flow templates
JP2006302135A (en) Application asset analysis program, application asset analysis method and application asset analysis device
WO2001060060A1 (en) Control of sequence of video modifying operations
CN111984684B (en) Data processing method and device
CN115048282B (en) Extraction method of repeated operation, electronic device and storage medium
CN113535481A (en) Data backtracking method and device and nonvolatile computer readable storage medium
CN114546461A (en) Business item development method, device, equipment and readable storage medium
CN114647735A (en) Relation graph display method, medium and display device
CN106469086B (en) Event processing method and device
CN111861100A (en) Work order processing method and device based on process scoring
JP7173343B2 (en) Display control device, display control method, and display control program
CN113672307A (en) Data processing method, electronic device, and computer-readable storage medium
CN112817782A (en) Data acquisition reporting method and device, electronic equipment and storage medium
KR102099362B1 (en) Device and method for a data preparation using a micro service
CN112667141A (en) Input revocation method, device, electronic equipment and computer-readable storage medium
US20120215819A1 (en) Tool for removing inactive objects
CN113779138B (en) Order management method and device
CN110599039B (en) Product management method and device, electronic equipment and storage medium
CN116107561B (en) Low-code-based action node rapid construction method, system and storage medium
WO2021210099A1 (en) Pattern extracting device, pattern extracting method, and program

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