CN115469849A - Service processing system, method, electronic device and storage medium - Google Patents

Service processing system, method, electronic device and storage medium Download PDF

Info

Publication number
CN115469849A
CN115469849A CN202211130539.XA CN202211130539A CN115469849A CN 115469849 A CN115469849 A CN 115469849A CN 202211130539 A CN202211130539 A CN 202211130539A CN 115469849 A CN115469849 A CN 115469849A
Authority
CN
China
Prior art keywords
development environment
rule file
integrated development
service
file
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
CN202211130539.XA
Other languages
Chinese (zh)
Other versions
CN115469849B (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.)
Kedong Guangzhou Software Technology Co Ltd
Original Assignee
Kedong Guangzhou Software 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 Kedong Guangzhou Software Technology Co Ltd filed Critical Kedong Guangzhou Software Technology Co Ltd
Priority to CN202211130539.XA priority Critical patent/CN115469849B/en
Publication of CN115469849A publication Critical patent/CN115469849A/en
Application granted granted Critical
Publication of CN115469849B publication Critical patent/CN115469849B/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/30Creation or generation of source code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The invention discloses a service processing system, a method, electronic equipment and a storage medium, wherein the service processing system comprises an integrated development environment plug-in, a page configuration rule file and a service processing rule file, and the service processing method comprises the following steps: determining a target integrated development environment plug-in the integrated development environment plug-in according to business requirements; calling the page configuration rule file to generate a graphical user interface through the target integrated development environment plug-in; and calling the service processing rule file in the target integrated development environment plug-in according to the user instruction acquired by the graphical user interface so as to process the service requirement. The embodiment of the invention provides a method for reducing the function coupling degree in the service processing process by the page configuration rule file and the service processing rule file, improving the processing efficiency in the service processing process and reducing the code redundancy degree of a service system.

Description

Service processing system, method, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer software technologies, and in particular, to a service processing system, a service processing method, an electronic device, and a storage medium.
Background
At present, enterprise business development cannot leave an integrated development environment frequently, eclipse is used as a software development project of open source codes, is focused on highly integrated tool development, and provides an industrial development platform with full functions and high quality for users. While Eclipse is mostly used as a JAVA integrated development environment, the goal of Eclipse is not limited thereto, but Eclipse also includes a plug-in development environment that allows software developers to build tools that integrate seamlessly with the Eclipse environment. At present, a Graphical User Interface (GUI) in Eclipse is realized by SWT and JFace in cooperation with an Eclipse plug-in technology, so that functions expected by software developers are realized. However, as the development progress of the project gradually progresses, the number of codes and plug-ins for realizing functions will increase rapidly after the size of the project increases, which increases the maintenance difficulty of the project, and when the demand changes frequently, the page of the graphical user interface changes greatly, which further increases the maintenance cost.
Disclosure of Invention
The invention provides a service processing method, a system, electronic equipment and a storage medium, which are used for realizing decoupling of service processing, reducing page change caused by service requirement change and reducing redundancy degree of service processing codes.
According to an aspect of the present invention, a method for processing a service is provided, where the method includes:
determining a target integrated development environment plug-in the integrated development environment according to business requirements;
calling the page configuration rule file to generate a graphical user interface through the target integrated development environment plug-in;
and calling the service processing rule file in the target integrated development environment plug-in according to the user instruction acquired by the graphical user interface so as to process the service requirement.
According to another aspect of the present invention, a business processing system is provided, where the business processing system includes an integrated development environment plug-in, a page configuration rule file, and a business processing rule file, and the business processing system is configured to implement any of the business processing methods in the embodiments of the present invention.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform a traffic processing method according to any of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement a business processing method according to any one of the embodiments of the present invention when the computer instructions are executed.
According to the technical scheme of the embodiment of the invention, the target integrated development environment plug-in is determined in the integrated development environment plug-in according to the service requirement, the page configuration rule file is called to generate the graphical user interface based on the target integrated development environment plug-in, the user instruction is collected in the graphical user interface, and the service processing rule file corresponding to the user instruction is called in the target integrated development environment plug-in, so that the execution of the service processing is realized.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a service processing method according to an embodiment of the present invention;
fig. 2 is a flowchart of a service processing method according to a second embodiment of the present invention;
fig. 3 is an exemplary diagram of a service processing method according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a service processing system according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The graphical user interface control framework of the business system on the market at present is mainly realized by SWT and JFace, or the two technologies are further encapsulated. And the framework of the main stream of service execution is springboot technology. However, the springboot technology is not suitable for the Eclipse plug-in development field. The existing Eclipse plug-in development mainly focuses on expanding functions, but due to the fact that the number of plug-ins is too large, development and maintenance cost is increased, and due to the fact that a service is mixed with codes of a User Interface (UI), the problems that division of code labor is not clear and technical documents are not clear exist. As plug-in versions iterate, business requirements change frequently, resulting in frequent UI code modifications and significant code redundancy for business systems. In development, the service code and the UI code are mixed together, and as the service function of the service system becomes more complex, the service system code becomes difficult to maintain and transplant. The two reasons become more and more obvious and can not be ignored along with the development time. In view of the above problems, embodiments of the present invention provide a service processing method with a user interface separated from service processing, which can reduce the redundancy of codes in a service system and reduce the difficulty in maintaining the service system.
Example one
Fig. 1 is a flowchart of a service processing method according to an embodiment of the present invention, where this embodiment is applicable to a situation where the degree of coupling between functions is reduced in an integrated development environment, and the method may be executed by a service processing system, where the service processing system may be implemented in hardware and/or software, the service processing system includes an integrated development environment plug-in, a page configuration rule file, and a service processing rule file, and the service processing system may be configured in a server. As shown in fig. 1, the method includes:
and 110, determining a target integrated development environment plug-in unit in the integrated development environment according to the service requirement.
The service requirement may be a service function that a user needs to implement, the service requirement may include contents such as data verification, data processing, node connection, and the like, and the service requirement may be obtained through an instruction or an operation. The integrated development environment may be an application program for providing a program development environment, and generally includes tools such as a code editor, a compiler, a debugger, and a graphical user interface, which integrate functions such as code writing, analysis, compilation, debugging, and the like, and the integrated development environment plug-in may be an application program written in compliance with the specification of the integrated development environment, which may run in the integrated development environment and provide various services that can be applied to the integrated development environment.
In the embodiment of the invention, the service requirement can be collected, the service requirement can be input by a user or automatically determined by equipment according to a service scene, and an integrated development environment plug-in matched with the service requirement can be searched in one or more integrated development environment plug-ins as a target integrated development environment plug-in. It will be appreciated that determining a match to the business requirement and the integrated development environment plug-in may include determining whether the business requirement and the integrated development environment plug-in have the same name, number, or key. Further, the number of the target integrated development environment plug-ins determined according to the service requirements may be one or more, for example, the service requirements may need to be implemented based on a plurality of service functions, each target integrated development environment plug-in may be used to complete one service function, and then the service requirements may determine a plurality of target integrated development environment plug-ins.
And 120, calling a page configuration rule file through the target integrated development environment plug-in to generate a graphical user interface.
The page configuration rule file may be used to generate a graphical user interface, the page configuration rule file may include a rule for controlling display of the graphical user interface, and the page configuration rule file may specifically include content such as a display control type, a display control position, and a display control interaction manner. The graphical user interface may be a computer-operated user interface displayed graphically, and a user may use an input device to operate an icon or menu selection within the user interface to implement selecting commands, calling files, starting programs, and performing other business functions.
Specifically, the target integrated development environment plug-in may be started, the page configuration rule file may be read from the target integrated development environment plug-in, the page display rule set in the page configuration rule file may be analyzed, and the graphical user interface may be assembled according to the page display rule, where the graphical user interface may be controlled to be displayed by a display code of the graphical user interface, and the target integrated development environment plug-in may generate a display code corresponding to the graphical user interface according to the page display rule, so as to implement display of the graphical user interface by executing the display code.
And step 130, calling a service processing rule file in the target integrated development environment plug-in according to the user instruction acquired by the graphical user interface so as to process the service requirement.
The user instruction may be user control information acquired through a graphical user interface, and the user instruction may be input by a user through the graphical user interface, for example, the user clicks a control in the graphical user interface through a mouse to input the user instruction, or the user selects an instruction in the graphical user interface through a voice instruction. The service processing rule file may be a file for implementing a service function, the service processing rule file may include one or more processing rules of the service function, and the service processing rule file may be generated according to a predetermined format, for example, the service processing rule file may be a Python script file, a bash script file, an EXCEPT script file, or the like.
In the embodiment of the present invention, a user may perform human-computer interaction with a graphical user interface, and a service processing system may use an operation of the user on the graphical user interface as a user instruction, where it is understood that the operation may be received by the user directly clicking a display device of the graphical user interface, and may also include an operation mode that the user generates the graphical user interface in a non-contact manner in a manner of voice, gesture, or the like. Specifically, after receiving the user instruction, the service processing system may search for a service processing rule file having a correspondence with the user instruction, where the correspondence may include that the user instruction and the service processing rule file are stored in association or have the same identification information, and the target integrated development environment plug-in may read the searched service processing rule file and implement service requirement execution according to the service processing rule in the service processing rule file.
According to the embodiment of the invention, the target integrated development environment plug-in corresponding to the user requirement is searched in the integrated development environment plug-in, the graphical user interface is generated in the target integrated development environment plug-in by calling the page configuration rule file, the user instruction in the graphical user interface is collected, and the target integrated development environment plug-in is used for calling the service processing rule file corresponding to the user instruction, so that the execution of service processing is realized. The embodiment of the invention realizes the decoupling of the interface generation and the service processing in the service processing process, can reduce the influence of the service requirement change on the interface display, can reduce the code redundancy degree in the service processing system, improves the operation efficiency of the service processing, and can reduce the maintenance difficulty of the service processing system.
Example two
Fig. 2 is a flowchart of a service processing method according to a second embodiment of the present invention, where the embodiment of the present invention is embodied on the basis of the foregoing embodiment of the present invention, and referring to fig. 2, the method provided in the embodiment of the present invention specifically includes the following steps:
step 210, collecting the service requirement input by the user, and determining the identification parameter of the service requirement.
The identification parameter may be information for identifying and implementing a service requirement in a service system, the identification parameters for different service requirements may be different, the identification parameter may be composed of numbers, letters or special symbols, and the identification parameter may specifically include a service function name, a service function identifier, a control instruction number, and the like.
In the embodiment of the present invention, the service system may collect the service requirement input by the user, and may extract the identification parameter included in the collected service requirement, where the service requirement may be preset by the service system, or determined by the service system based on an artificial intelligence method. For example, the service system may receive a service requirement input by a user through the control interface, and may search a service function number corresponding to the service requirement in the service system as an identification parameter. In one implementation, the service requirement in the service system may be implemented by a plurality of service functions, and the determined identification parameter of the service requirement may be a service function number of one or more service functions.
And step 220, searching a target integrated development environment plug-in matched with the identification parameters in the integrated development environment plug-in.
Specifically, the integrated development environment plug-in may be specifically associated with different identification parameters, for example, the name of the integrated development environment plug-in may have part or all of the information identical to the identification parameters. The integrated development environment plug-in having a corresponding relationship with the identification parameter can be searched in the stored multiple integrated development environment plug-ins as the target integrated development environment plug-in according to the extracted identification parameter of the service requirement, and it can be understood that the manner of matching with the identification parameter may include that the service function realized by the integrated development environment plug-in is the same as the identification parameter, or that the plug-in name of the integrated development environment plug-in is the same as the identification parameter.
And step 230, acquiring a page configuration rule file associated with the target integrated development environment plug-in.
In the embodiment of the invention, the integrated development environment plug-in can have an association relationship with the page configuration rule file, and the association relationship can be identified by physical information identification or logical information identification. The integrated development environment plug-ins have respective corresponding storage areas, and the page configuration rule files stored in the storage areas can be page configuration rule files associated with the integrated development environment plug-ins, for example, page configuration rule files are stored in a project folder of the integrated development environment plug-ins, and the page configuration rule files can be page configuration rule files associated with the integrated development environment plug-ins corresponding to the project folder; alternatively, the integrated development environment plug-in may have identification information and the page configuration rule file associated with the integrated development environment plug-in may also have the identification information, for example, the integrated development environment plug-in may have a plug-in name that is the same as the file name of the page configuration rule file.
Specifically, after the target integrated development environment plug-in is found, the page configuration rule file matched with the target integrated development environment plug-in may be found, and it may be understood that the page configuration rule file may be stored in association with the target integrated development environment plug-in, and the found page configuration rule file may be identified by physical information identification or logical information identification with the target integrated development environment plug-in. For example, the file name of the page configuration rule file may be all or partially the same as the file name of the target integrated development environment plug-in.
And 240, generating a graphical user interface code in the target integrated development environment plug-in according to the page configuration rule file.
The gui code may be a code file for generating a gui, and the file format and writing rules of the gui code may be determined by the underlying software environment running the gui code, which includes but is not limited to JAVA code, C # code, and the like.
In the embodiment of the invention, the target integrated development environment plug-in can be operated, and the target integrated development environment plug-in is called to read the configuration rule in the page configuration rule file, and the target integrated development environment plug-in can convert the page configuration rule file into the graphical user interface code.
Step 250, displaying the graphical user interface according to the graphical user interface code.
Specifically, the generated graphical user interface code may be loaded into a software operating environment to operate, page composition content may be generated by the graphical user interface code, and each page composition content may be displayed in combination as a graphical user interface.
Step 260, collecting user instructions input by the user on the graphical user interface.
In an embodiment of the present invention, the service system may detect the graphical user interface and receive a user instruction input by a user through the graphical user interface, where the user instruction may be used to complete a service requirement, and in an embodiment, the user instruction may include service requirement data and service requirement control information, it may be understood that the user instruction may be information for performing human-computer interaction with the service system, and a specific form of the user instruction includes, but is not limited to, text data, language data, and the like.
And 270, searching a business processing rule file matched with the user instruction.
Specifically, a service processing rule file matching the user instruction may be searched in a pre-stored service processing rule file, and the searching process may be understood as that the matching may include that the user instruction and the service processing rule file have physical identification information or logical identification information. In one embodiment, the identification parameter of the user instruction may be the same as the file name of the business processing rule file, and the searching for the processing rule file matching the user instruction may include extracting an instruction number of the user instruction, and searching for a file containing the instruction number in the file name of each stored business processing rule file as the matching business processing rule file.
Step 280, calling a business processing rule file in the target integrated development environment plug-in to process the business requirement.
In the embodiment of the invention, the target integrated development environment plug-in can read and call the service processing rule file, and can execute the service requirement according to the service processing rule set in the service processing rule file, thereby realizing the processing of the service requirement.
And 290, acquiring an execution result corresponding to the service processing rule file, and feeding back the execution result to the user through the graphical user interface.
The execution result may be a processing result of the service requirement, and the execution result may include analysis statistics on the execution condition of the service requirement and an execution completion condition of the service requirement.
In the embodiment of the invention, the execution result of the business processing realized according to the business processing rule file can be collected, and the execution result can be fed back to the user through the graphical user interface so as to inform the user of the execution condition of the business requirement.
The embodiment of the invention realizes convenient service processing by acquiring the service requirement input by a user, determining the identification parameter of the service requirement, searching the target integrated development environment plug-in matched with the identification parameter, acquiring the page configuration rule file associated with the target integrated development environment plug-in, calling the page configuration rule file in the target integrated development environment plug-in to generate the graphical user page code, displaying the graphical user interface according to the graphical user interface code, receiving the user instruction of user interaction in the graphical user interface, determining the service processing rule file matched with the user instruction, calling the target integrated development environment plug-in to process the service processing rule file to realize service processing, acquiring the execution result of the service processing and feeding back the execution result to the user through the graphical user interface, thereby reducing the coupling degree of the interface display function and the service processing function in the service system, reducing the maintenance difficulty of the service system, reducing the problem of the increase of the redundancy code degree caused by the increase of the number of plug-in the service system and improving the operation efficiency of the service system.
Further, on the basis of the embodiment of the present invention, in the method, the page configuration rule file at least includes an extensible structure definition file, and the page configuration rule file at least includes a control type, a control position, and an interaction mode; the business processing rule file at least comprises a Python script file, and the business processing rule file at least comprises a data verification processing rule, a business data processing rule and a node connection processing rule.
In an embodiment of the present invention, the page configuration rule file may be specifically an extensible markup language (XML Schema Definition, XSD) file, which may be based on an extensible markup language (a subset of a standard general markup language) and may be used for an alternative document type Definition, and the XSD file may include default values and fixed values that may define elements that appear in a document, attributes that may appear in a document, which elements are sub-elements, an order of sub-elements, a number of sub-elements, whether an element should contain text, or data types, elements and attributes that should be empty, elements and attributes. The display rules of the graphical user interface can be specified based on the XSD file, and the page configuration rule file realized based on the XSD file can comprise the content of control types, control positions, interaction modes and the like. The service processing rule file may be specifically a Python script file, the Python script file may be a file written according to a Python syntax rule and used for defining a service processing rule, and the service processing rule file in the form of the Python script file may implement respective service processing depending on a Python library, and specifically, the service processing rule may include a data verification processing rule, a service data processing rule, a node connection processing rule, and the like.
Further, on the basis of the above embodiment of the invention, the method further comprises: acquiring rule modification information aiming at a page configuration rule file and/or a service processing rule file, and updating the page configuration rule file and/or the service processing rule file according to the rule modification information.
The rule modification information may be information for modifying a rule in the page configuration rule file and/or the service processing rule file, and the obtaining mode of the rule modification information may include direct input by a user or uploading through a file.
In the implementation of the present invention, the service system may receive the rule modification information, and may modify one or both of the page configuration rule file and the service processing rule file according to the rule modification information, it is understood that the number of rules modified by the rule modification information may not be limited herein, and one or more rules in the service configuration rule file and/or the service processing rule file may be modified according to the rule modification information. The embodiment of the invention updates the service configuration rule file and/or the service processing rule file through the rule modification information, can reduce the maintenance difficulty of the service system, does not need to update and maintain various plug-ins simultaneously, and can improve the updating efficiency of the service system.
EXAMPLE III
Fig. 3 is an exemplary diagram of a service processing method according to a third embodiment of the present invention, where the service processing method according to the third embodiment of the present invention is applied to a service processing system generated based on an Eclipse integrated development environment, and referring to fig. 3, the service processing method according to the third embodiment of the present invention includes the following steps:
step 1, a software developer designs an extensible structure Definition (XML Schema Definition, XSD) file aiming at a bottom layer software environment of a graphical user interface, wherein the XSD file at least comprises a control type, a control position, a control interaction form and the like of the graphical display interface. The XSD file can set XSD files with different rules aiming at different Eclipse plug-ins, and further, the XSD files can be stored in a server executing the implementation method of the invention.
Step 2: a software developer develops Eclipse plug-ins with different functions in an Eclipse basic development environment according to different service requirements, different Eclipse plug-ins can call an XSD file, the Eclipse plug-ins acquire configuration contents for generating corresponding pages through the XSD file, and corresponding UI page codes are generated and displayed according to the configuration contents acquired through identification. And step 3: a user can operate a UI page to realize a service function, and according to the operation of the user, the Eclipse plug-in can call a corresponding Python script in a Python script file set to realize the service function.
And 4, step 4: the generated UI page can also display the service result of the service function, can call back the execution result returned by the Python script after the execution of the Python script is finished, and can also analyze the service result according to the appointed rule and feed back the service result to the user.
In the embodiment of the invention, the XSD configuration file is matched with the eclipse plug-in unit and the compiled UI rule to realize the generation of the graphical user interface, the UI page display rule is handed to the XSD file, and only the XSD file is modified without modifying codes when the graphical user interface is changed, so that the difficulty in updating and maintaining the service system is reduced. And the service code in the Eclipse can be separated from the UI code by using the Python script, so that the service code is not mixed with the UI code, and the development efficiency, code readability and uniformity of a service system are improved.
Example four
Fig. 4 is a schematic structural diagram of a service processing system according to a fourth embodiment of the present invention, and as shown in fig. 4, the service processing system includes: the service processing system is used for realizing the service processing method provided by any embodiment of the invention, and the method comprises the following steps:
determining a target integrated development environment plug-in the integrated development environment plug-in according to business requirements;
calling the page configuration rule file through the target integrated development environment plug-in to generate a graphical user interface;
and calling the service processing rule file in the target integrated development environment plug-in according to the user instruction acquired by the graphical user interface so as to execute service processing.
In some embodiments, determining a target integrated development environment plug-in at the integrated development environment plug-in according to business requirements comprises:
acquiring the service requirement input by a user and determining an identification parameter of the service requirement;
and searching the target integrated development environment plug-in matched with the identification parameters in the integrated development environment plug-in.
In some embodiments, invoking, by the target integrated development environment plug-in, the page configuration rule file to generate a graphical user interface, comprises:
acquiring the page configuration rule file associated with the target integrated development environment plug-in;
generating a graphical user interface code in the target integrated development environment plug-in according to the page configuration rule file;
and displaying the graphical user interface according to the graphical user interface code.
In some embodiments, invoking the business process rule file at the target integrated development environment plug-in according to the user instruction obtained by the graphical user interface to execute business process includes:
collecting the user instruction input by a user on the graphical user interface;
searching the business processing rule file matched with the user instruction;
and calling the business processing rule file at the target integrated development environment plug-in to execute the business processing corresponding to the user instruction.
In other embodiments, methods provided by embodiments of the present invention further include: and acquiring an execution result corresponding to the service processing rule file, and feeding back the execution result to a user through the graphical user interface.
In some embodiments, the page configuration rule file at least comprises an extensible structure definition file, and the page configuration rule file at least comprises control types, control positions and interaction modes; the business processing rule file at least comprises a Python script file, and the business processing rule file at least comprises a data verification processing rule, a business data processing rule and a node connection processing rule.
In other embodiments, methods provided by embodiments of the present invention further include: and acquiring rule modification information aiming at the page configuration rule file and/or the business processing rule file, and updating the page configuration rule file and/or the business processing rule file according to the rule modification information.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 5, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to the bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
Processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above, such as a traffic processing method.
In some embodiments, the business process method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the business process method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the traffic processing method by any other suitable means (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A business processing method is applied to a business processing system, the business processing system comprises an integrated development environment plug-in, a page configuration rule file and a business processing rule file, and the method comprises the following steps:
determining a target integrated development environment plug-in the integrated development environment according to business requirements;
calling the page configuration rule file to generate a graphical user interface through the target integrated development environment plug-in;
and calling the service processing rule file in the target integrated development environment plug-in according to the user instruction acquired by the graphical user interface so as to process the service requirement.
2. The method of claim 1, wherein determining a target integrated development environment plug-in at the integrated development environment plug-in according to business requirements comprises:
acquiring the service requirement input by a user and determining an identification parameter of the service requirement;
and searching the target integrated development environment plug-in matched with the identification parameters in the integrated development environment plug-in.
3. The method of claim 1, wherein invoking the page configuration rule file by the target integrated development environment plug-in generates a graphical user interface comprising:
acquiring the page configuration rule file associated with the target integrated development environment plug-in;
generating a graphical user interface code at the target integrated development environment plug-in according to the page configuration rule file;
and displaying the graphical user interface according to the graphical user interface code.
4. The method of claim 1, wherein the invoking the business process rule file at the target integrated development environment plug-in according to the user command obtained by the graphical user interface to process the business requirement comprises:
collecting the user instruction input by a user on the graphical user interface;
searching the service processing rule file matched with the user instruction;
and calling the business processing rule file at the target integrated development environment plug-in to process the business requirement.
5. The method of claim 1 or 4, further comprising:
and acquiring an execution result corresponding to the service processing rule file, and feeding back the execution result to a user through the graphical user interface.
6. The method according to any one of claims 1-4, wherein the page configuration rule file at least comprises an extensible structure definition file, and the page configuration rule file at least comprises control types, control positions and interaction modes; the business processing rule file at least comprises a Python script file, and the business processing rule file at least comprises a data verification processing rule, a business data processing rule and a node connection processing rule.
7. The method of claim 1, further comprising:
and acquiring rule modification information aiming at the page configuration rule file and/or the service processing rule file, and updating the page configuration rule file and/or the service processing rule file according to the rule modification information.
8. A transaction system, the transaction system comprising: integrating development environment plug-ins, page configuration rule files and business processing rule files, wherein the business processing system is used for realizing the business processing method in any claim 1-7.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the business process method of any one of claims 1-7.
10. A computer-readable storage medium, having stored thereon computer instructions for causing a processor to, when executed, implement the service processing method of any of claims 1-7.
CN202211130539.XA 2022-09-16 2022-09-16 Service processing system, method, electronic equipment and storage medium Active CN115469849B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211130539.XA CN115469849B (en) 2022-09-16 2022-09-16 Service processing system, method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211130539.XA CN115469849B (en) 2022-09-16 2022-09-16 Service processing system, method, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115469849A true CN115469849A (en) 2022-12-13
CN115469849B CN115469849B (en) 2023-08-11

Family

ID=84333662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211130539.XA Active CN115469849B (en) 2022-09-16 2022-09-16 Service processing system, method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115469849B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116339721A (en) * 2023-03-01 2023-06-27 华院计算技术(上海)股份有限公司 Software construction method, system, equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110282709A1 (en) * 2010-05-14 2011-11-17 Oracle International Corporation Dynamic human workflow task assignment using business rules
CN109976803A (en) * 2017-12-27 2019-07-05 航天信息股份有限公司 A kind of generation method and device of file
CN112860238A (en) * 2021-02-19 2021-05-28 中国建设银行股份有限公司 Data processing method and device, computer equipment and storage medium
CN112933603A (en) * 2021-02-07 2021-06-11 深圳市天天来玩科技有限公司 Service data processing method, device, equipment and storage medium
CN113535276A (en) * 2021-09-13 2021-10-22 成都中科合迅科技有限公司 Plug-in full decoupling application combination method
CN114706579A (en) * 2022-03-28 2022-07-05 北京沃东天骏信息技术有限公司 Page development method, device, server and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110282709A1 (en) * 2010-05-14 2011-11-17 Oracle International Corporation Dynamic human workflow task assignment using business rules
CN109976803A (en) * 2017-12-27 2019-07-05 航天信息股份有限公司 A kind of generation method and device of file
CN112933603A (en) * 2021-02-07 2021-06-11 深圳市天天来玩科技有限公司 Service data processing method, device, equipment and storage medium
CN112860238A (en) * 2021-02-19 2021-05-28 中国建设银行股份有限公司 Data processing method and device, computer equipment and storage medium
CN113535276A (en) * 2021-09-13 2021-10-22 成都中科合迅科技有限公司 Plug-in full decoupling application combination method
CN114706579A (en) * 2022-03-28 2022-07-05 北京沃东天骏信息技术有限公司 Page development method, device, server and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116339721A (en) * 2023-03-01 2023-06-27 华院计算技术(上海)股份有限公司 Software construction method, system, equipment and medium

Also Published As

Publication number Publication date
CN115469849B (en) 2023-08-11

Similar Documents

Publication Publication Date Title
US11620117B2 (en) Systems and methods for code clustering analysis and transformation
US11726760B2 (en) Systems and methods for entry point-based code analysis and transformation
US11436006B2 (en) Systems and methods for code analysis heat map interfaces
US8875103B2 (en) Method of testing multiple language versions of a software system using one test script
US11593342B2 (en) Systems and methods for database orientation transformation
CN110941467A (en) Data processing method, device and system
CN115061721A (en) Report generation method and device, computer equipment and storage medium
CN106484389B (en) Action stream segment management
US8701086B2 (en) Simplifying analysis of software code used in software systems
CN115469849B (en) Service processing system, method, electronic equipment and storage medium
US20210124752A1 (en) System for Data Collection, Aggregation, Storage, Verification and Analytics with User Interface
CN115329753B (en) Intelligent data analysis method and system based on natural language processing
CN110780970A (en) Data screening method, device, equipment and computer readable storage medium
CN114168119B (en) Code file editing method, device, electronic equipment and storage medium
CN113138760B (en) Page generation method and device, electronic equipment and medium
US11275729B2 (en) Template search system and template search method
KR102099362B1 (en) Device and method for a data preparation using a micro service
CN111221610A (en) Page element acquisition method and device
CN114610204B (en) Auxiliary device and method for data processing, storage medium and electronic equipment
US11507728B2 (en) Click to document
CN113806596B (en) Operation data management method and related device
CN113706209A (en) Operation data processing method and related device
CN115686479A (en) File creation method and related device
CN117908866A (en) Visualization method and device for low-code platform, electronic equipment and medium
CN115525295A (en) Automatic code editing method and device, electronic equipment and storage medium

Legal Events

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