WO2019196227A1 - Platform integration method and apparatus, and computer device and storage medium - Google Patents
Platform integration method and apparatus, and computer device and storage medium Download PDFInfo
- Publication number
- WO2019196227A1 WO2019196227A1 PCT/CN2018/095495 CN2018095495W WO2019196227A1 WO 2019196227 A1 WO2019196227 A1 WO 2019196227A1 CN 2018095495 W CN2018095495 W CN 2018095495W WO 2019196227 A1 WO2019196227 A1 WO 2019196227A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- application platform
- platform
- application
- switching
- programming interface
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1474—Saving, restoring, recovering or retrying in transactions
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/547—Remote procedure calls [RPC]; Web services
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0751—Error or fault detection not based on redundancy
- G06F11/0754—Error or fault detection not based on redundancy by exceeding limits
- G06F11/0757—Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1438—Restarting or rejuvenating
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1471—Saving, restoring, recovering or retrying involving logging of persistent data for recovery
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3006—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3051—Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/80—Database-specific techniques
Definitions
- the present application relates to the field of computers, and in particular, to a method, apparatus, computer device and storage medium for platform integration.
- the main purpose of the present application is to provide a platform integration method, which aims to solve the technical problem that each service platform required in a business operation cannot be centralized on one operation page for automatic switching.
- the application proposes a platform integration method, including:
- the target application platform is entered in the operation page by calling an application programming interface of the target application platform.
- the application also provides a platform integration device, including:
- a first calling module configured to invoke an application programming interface of each application platform involved in the business operation process
- a writing module configured to write the application programming interface of each application platform into an operation page for integration
- a first generation module configured to generate a link icon corresponding to each application platform on the operation page
- a second calling module configured to: when receiving an operation instruction of a link icon corresponding to the target application platform in each application platform, by calling an application programming interface of the target application platform, entering the operation page The target application platform.
- the application also provides a computer device comprising a memory and a processor, the memory storing computer readable instructions, the processor implementing the steps of the method when the computer readable instructions are executed.
- the present application also provides a computer non-transitory readable storage medium having stored thereon computer readable instructions that, when executed by a processor, implement the steps of the methods described above.
- the application integrates the application platform APIs into the same operation page to form an integrated platform with specified functions, and automatically switches the application platform, thereby reducing or completely avoiding manual switching between different application platforms during the business operation process; Go to the operation page, realize switching in one operation page set, improve the flexibility and concentration of the automation process; realize the automatic selection optimization scheme by matching the a priori exception solution, and improve the timeliness and process of solving the abnormal alarm;
- the integrated operation page centrally monitors the data of each platform, and generates monitoring abnormal warnings in time to improve the timeliness of monitoring and improve efficiency.
- FIG. 1 is a schematic flow chart of a method for platform integration according to an embodiment of the present application
- FIG. 2 is a schematic structural diagram of an apparatus for platform integration according to an embodiment of the present application.
- FIG. 3 is a schematic structural diagram of a second calling module according to an embodiment of the present application.
- FIG. 4 is a schematic structural diagram of a determining unit according to an embodiment of the present application.
- FIG. 5 is a schematic diagram of a re-optimization structure of a second calling module according to an embodiment of the present application.
- FIG. 6 is a schematic structural diagram of an apparatus for platform integration according to another embodiment of the present application.
- FIG. 7 is a schematic structural diagram of a determining unit according to still another embodiment of the present application.
- FIG. 8 is a schematic structural diagram of a second calling module according to still another embodiment of the present application.
- FIG. 9 is a schematic diagram of an optimized structure of a second calling module according to another embodiment of the present application.
- FIG. 10 is a schematic structural diagram of a device for platform integration according to still another embodiment of the present application.
- FIG. 11 is a schematic diagram showing the internal structure of a computer device according to an embodiment of the present application.
- a method for platform integration includes:
- the application programming interface of this step refers to the link mode of connecting the integrated application platforms when the platform is integrated.
- the implementation program calls the application programming interface open to each application platform, so that the functions of each application platform are automatically according to the preset business operation flow. Convergence, no human intervention, saving human resources.
- the application programming interface of this embodiment is an interface between the application platform and the operation page. For a complex system including more application platforms, the responsibilities of each application platform are reasonably planned.
- the application programming interface is used to connect the application platforms, and the application platforms are integrated into the same operation page, thereby reducing the interdependence of the application platforms in the integration platform, improving the cohesion of the integration platform, and reducing the coupling degree of the integration platform, thereby Convenient maintenance of the integration platform and extension of the integration platform.
- the application programming interface of each application platform is written on the same operation interface to realize platform integration, so that the layout of each application platform is more concentrated and does not depend on each other, and each application platform is on the same operation page, and according to the preset.
- the business operation process automatically jumps in turn, which can automatically complete the complete business operation process, improve the flexibility and concentration of the automation process, further improve the automation efficiency of business operations, and improve the timing and processing efficiency of business operations.
- Each application platform is displayed on the operation page through the link icon, so that each application platform is integrated on the same operation page through the corresponding application programming interface, so that it is convenient to call and manage the application platforms according to the business operation process.
- the target application platform in this embodiment refers to an application platform corresponding to the next process in the service operation process.
- the application programming interface of the target application platform corresponding to the link icon is invoked by the link icon to realize jumping from the current page to the target application platform, thereby facilitating manual participation in maintenance.
- step S4 of this embodiment includes:
- the progress status of this step includes the normal progress status and abnormal status according to the business operation flow.
- the normal progress status such as the beginning of progress, progress, and the end of progress, can also be expressed by the percentage of progress, so as to better capture the progress data of the business operation process and make the automated business operation flow more smooth.
- S41 Determine whether the progress status meets a preset condition for switching from the first application platform to the second application platform.
- the preset conditions of this step include the progress end point of the business operation flow, the abnormal alarm time in the received business operation flow, or the progress of the business operation flow is displayed as 100%.
- This step is to switch from the first application platform to the second application platform by calling the application programming interface of the second application platform, thereby improving the flexibility and smoothness of the automatic jump.
- step S41 of the embodiment includes:
- S410 Monitor whether a process abnormality alarm of the first application platform is received.
- the abnormal alarm is monitored by the monitoring process as the progress amount, so as to switch from the first application platform to the second application platform, and the process abnormality of the first application platform is timely solved by switching to the second application platform.
- the ZABBIX application platform when receiving the monitoring timeout alarm, switch to the ZABBIX application platform, check the timeout amount by logging in to ZABBIX, and perform abnormal diagnosis, abnormal repair or elimination to ensure the continuation of the business operation process.
- the business operation process after checking the timeout amount, log in to the MARIO application platform to query the request amount per minute and the response time, and then start the ANSIBLE application platform according to the business operation flow, to obtain each request processing process of each host. Time detail data.
- the foregoing service operation process includes: discovering a keyword exception through an alarm->a statistical association API (Application) Programming Interface (referred to as API, application programming interface) request volume -> query detail log -> determine whether it is necessary to restart the application to solve the abnormal fault.
- API Application
- the application platform required to solve the abnormal fault is integrated into the same operation page through the APIs of the application platform in the operation and maintenance process, so that the abnormal fault is timely processed on the same operation page, and the abnormal fault is solved. Process fluency and timeliness.
- whether the abnormal alarm in the business operation process is monitored or not is determined whether the application platform integrated on the integrated platform is switched to meet the functions of automatic disaster recovery switching and automatic abnormality diagnosis.
- the integrated platform includes the function integration sub-platform for abnormal diagnosis and disaster recovery switching, and also includes other integrated sub-platforms for specifying the business process.
- the function integration sub-platform of the abnormality diagnosis and the disaster recovery switching in this embodiment does not receive the abnormal alarm in the business operation flow, and can continue to switch the integration sub-platforms of other specified business processes according to the preset business operation flow to complete the designation.
- the function integration sub-platform of the abnormality diagnosis and the disaster recovery switching of the embodiment receives the abnormal alarm in the business operation flow, starts the function integration sub-platform of the abnormal diagnosis and the disaster recovery switch, and interrupts the integration sub-platform of other specified business processes. Normal work, in order to improve the abnormality through the function integration sub-platform of abnormal diagnosis and disaster recovery switching, and automatically restore the normal work of the integrated sub-platform of other specified business processes after the abnormality is repaired.
- step S42 of this embodiment the method includes:
- the process abnormal alarm is monitored to satisfy the preset condition of the platform switching, and the fault type is distinguished by the type of the received keyword.
- the fault types of the integrated platform include transaction faults, system faults, and media faults, and the keywords corresponding to transaction faults, system faults, and media faults are W, S, and M, respectively.
- a priori database with a fault solution is included, and the optimal fault solution can be matched according to the type of the keyword, so as to achieve application-level process, automation, and solution optimization.
- the system determines which application platform the two or more keywords belong to, and selects a customized process to diagnose the problem. And finally returning the diagnosis results corresponding to the above two or more keyword alarms respectively.
- the customized exception processing scheme is automatically invoked, and different recovery strategies are adopted according to different types of faults.
- a transaction failure indicates a failure caused by an unexpected, abnormal program end, and the cause of the abnormal termination of the program includes input data error, operation overflow, violation of storage protection, deadlock of parallel transaction, and the like.
- the transaction that was forced to interrupt may have modified the database of the application platform.
- the information recorded in the log file is used to forcefully roll back the transaction, and the application platform is The database is restored to its original state before modification. To do this, check the records in the log file that have changed by the firm, and cancel the changes made by the unfinished firm.
- the transaction recovery operation is called transaction revocation, as follows: 1) Reverse scan the log file to find the update operation of the transaction.
- a system failure and its recovery system failure means that the system stops running due to some reason during the operation of the system, causing all running transactions to terminate in an abnormal manner, requiring the system to restart.
- the cause of the system failure may be a hardware error (such as a CPU failure, operating system) or code error, sudden power failure, and so on.
- a system failure causes all the contents of the database buffer in the memory to be lost. Although the database stored on the external storage device is not destroyed, the reliability of the content is poor. After a system failure occurs, it may cause some outstanding transactions to update the database to the database. After the system is restarted, all unfinished transactions are forcibly revoked, and the changes made to the database by the transaction are cleared.
- the method of redo processing is to forward scan the log file, and re-execute the operation according to the operation contents registered in the log file to restore the database to a recent available state. After a system failure, because it is impossible to determine which completed transactions have been updated, and which commits have not yet been written to the database, after the system restarts, all completed transactions are revoked, and all committed commits are redone. Business. Usually, the method of setting up a checkpoint is used to judge whether the transaction ends normally.
- the system For example, every time, for example, 5 minutes, the system generates a checkpoint, and writes the content still in the log buffer to the log file; in the log file Write a "checkpoint record"; write the contents of the database buffer to the database, that is, write the updated content to the physical database; write the address of the checkpoint record in the log file to the "restart file”.
- the recovery manager On reboot, the recovery manager first obtains the address of the checkpoint record from the "restart file", and finds the contents of the checkpoint record from the log file to determine which transactions need to be undone and restored to the initial state, which The transaction needs to be redone.
- the medium failure and the recovery medium failure refer to that the auxiliary storage medium is damaged during the operation, and the data stored in the external storage is partially or completely lost, which is the most serious failure and is highly destructive.
- the physical data and log files on the disk may be corrupted, requiring the most recent backup database copy before the media failure to occur, and then redoing all transactions running after the copy.
- the specific method is as follows: 1) Load the latest database copy to restore the database to the available state at the time of the most recent dump. 2) Load the latest copy of the log file and redo the completed transaction according to the contents of the log file. First scan the log file to find out the transaction that was committed when the failure occurred and record it in the redo queue.
- each transaction in the redo queue is redone processed by scanning the log file forward and re-executing the registration operation for each redo transaction, that is, writing the "updated value" in the log record.
- each transaction in the redo queue is redone processed by scanning the log file forward and re-executing the registration operation for each redo transaction, that is, writing the "updated value" in the log record.
- S422 Determine, according to the solution, that the specified application platform is the second application platform.
- the specified second application platform having the effect of eliminating the current fault is determined. For example, according to the a priori data of the transaction failure, the application platform with the scanning function is invoked to scan the log file in reverse to find the update operation of the transaction; then, the application platform with the recovery function is called to execute the new record that has been inserted. Perform the delete operation, insert the deleted record, restore the old value to the modified data, and replace the new value with the old value until the fault is recovered.
- step S1 of another embodiment of the present application the method includes:
- the business operation flow of the operation page is designed according to the implementation process of the operation service, so as to realize the process automation of completing the specified service.
- each application platform involved in the business operation is filtered.
- Each application platform in this step has an open API, so that each application platform is integrated into an operation page according to the pre-designed business operation process in step S10 to reduce
- the artificial switching between different application platforms during the business process improves the automation efficiency of business operations.
- the integrated platform API of this embodiment can be used to allocate memory or access files.
- the API of this embodiment includes functions, constants, variables, and data structures, and can implement instructions for quickly performing switching.
- the API of this embodiment is composed of one or more DLLs (Dynamic Link Library) that provide some specified special functions, and functions of APIs that can be called by any application platform running on the integration platform.
- DLLs Dynamic Link Library
- the function in the integration platform runtime DLL is dynamically linked to the application platform that called it, but there are several application platform calls.
- a function in a DLL that has only one file on the disk that contains the function and only creates the DLL when it is loaded into memory.
- Step S41 of another embodiment of the present application includes:
- S413 Monitor whether a process completion alarm of the first application platform is received.
- the handover from the first application platform to the second application platform is implemented to gradually complete a service operation.
- the business operation is to generate a daily inspection report of the system, so as to discover and solve the problem in time to ensure that the operating system of the integrated platform runs normally.
- the application platform that needs to be inspected is integrated into the operation page through an API.
- the integration platform for generating the daily inspection report of the system for example, after the application platforms are sequentially integrated into the operation page according to the business process, automatically jump to the application platforms and gradually complete the business content according to the business operation flow on the same operation page.
- complete automatic inspection and generate daily inspection reports including inspection user login platform->patrol inspection and reception platform->patrol internal and external network analysis platform->patrol residual address space->patrol network access->patrol inspection Backup execution -> patrol storage remaining space.
- the application platform involved in the business operation process can be integrated into an operation page through an API to form an integration platform having other functions, and each application platform is more flexible and realizes different functions through API integration.
- the automation of business operations such as automatic resource expansion, system abnormal self-healing, automatic monitoring and monitoring, emergency start and stop, and other business operations.
- the first application platform continues to perform the sub-service operation until the process quantity reaches the standard, and then switches to the second application platform to continue to complete the new sub-service operation. Until the entire business process is completed.
- step S42 the method includes:
- S423 Record process data from the first application platform to the second application platform.
- This step records all running data in the process by real-time recording of business processes, so that subsequent data can be searched, for example, by finding data to analyze the cause of the fault when a fault occurs.
- S424 The process data is summarized in the chronological order of the processes from the front to the back to form a running file.
- This step summarizes the running data of each application in the business operation process in the order of the process time from the front to the back, so as to make the matching of the business operation process reasonable, the smoothness of the cooperation, and the timeliness and precision of the specified service.
- the operational data of this step includes but is not limited to running links, platform jump delays, and the like.
- S425 Generate a data packet corresponding to the service operation flow by compressing the running file.
- the running data is matched with the preset business operation flow of the corresponding specified service type to form a matching data packet.
- step S425 the method includes:
- S426 Analyze each data packet corresponding to a different service operation process in the specified service.
- the first service operation process includes from the A platform to the B platform to the C platform to the D platform, to complete the designated service, corresponding to the data packet a;
- the second service The operation flow can be completed from the A platform to the C platform to the B platform to the D platform, corresponding to the data packet b.
- S427 Select an optimized business operation process of the specified service according to a comparison attribute of each business operation process.
- the comparison attributes in this step include parameter information such as fluency of the business operation process, timeliness of business completion, and satisfaction of the business completion, and according to the above parameter information, the optimal business operation flow that is closest to the user's intention is selected.
- step S427 the method includes:
- the optimized business operation process corresponding to the specified service and each application platform in each optimized business operation process are summarized into the same folder, and the folder is named with the specified service name, and the price of each specified service is
- the folder forms a database according to different storage paths, so as to promote and apply more effectively and widely.
- the specified services in this step are set according to the user's industry background and application goals. For example, the designated services in the financial industry and the transportation industry are quite different, and are designated as different service types.
- step S4 the method further includes:
- This step monitors the running status of each application platform within a specified time interval by setting the monitoring time interval, or sets the real-time monitoring of the running status of each application platform, and finds an abnormality in time. Improve monitoring efficiency by centrally monitoring data across integrated application platforms.
- the data abnormality alarm is automatically generated on the operation page of the integration platform to improve the timeliness of the monitoring.
- the abnormal alarm is fed back to each corresponding application platform to improve the pertinence of the monitoring.
- the application platform API is integrated into the same operation page to form an integrated platform with designated functions, and the automatic switching of the application platform reduces or completely avoids manual switching between different application platforms during the business operation process; Integration into the operation page, realize switching in one operation page set, improve the flexibility and concentration of the automation process; achieve automatic selection and optimization scheme by matching the prior anomaly solution, improve the timeliness and process of solving the abnormal alarm; Monitor the data of each platform in the integrated operation page, and generate monitoring abnormal warnings in time to improve the timeliness of monitoring and improve efficiency.
- an apparatus for platform integration includes:
- the first calling module 1 is used to invoke an application programming interface of each application platform involved in the business operation flow.
- the application programming interface of the embodiment refers to a link mode for connecting the integrated application platforms when the platform is integrated.
- the first call module 1 invokes an application programming interface open to each application platform to facilitate the function of each application platform.
- the preset business operation process is automatically connected, without human intervention, saving human resources.
- the application programming interface of this embodiment is an agreement between the application platform and the operation page. For a complex system including more application platforms, the responsibility of each application platform is reasonably planned.
- the application programming interface is used to connect the application platforms, and the application platforms are integrated into the same operation page, thereby reducing the interdependence of the application platforms in the integration platform, improving the cohesion of the integration platform, and reducing the coupling degree of the integration platform, thereby Convenient maintenance of the integration platform and extension of the integration platform.
- the writing module 2 is configured to write the application programming interface of each application platform into an operation page for integration.
- the writing module 2 of the embodiment is written on the same operation interface through the application programming interface opened by each application platform to realize platform integration, so that the layout of each application platform is more concentrated and does not depend on each other, and each application platform is on the same operation page. And automatically jump according to the preset business operation flow, which can automatically complete the complete business operation process, improve the flexibility and concentration of the automation process, further improve the automation efficiency of business operations, and improve the timing of business operations. Sex and processing efficiency.
- the first generation module 3 respectively generate link icons corresponding to the application platforms on the operation page.
- the first generation module 3 generates a link icon to display each application platform on the operation page, so that each application platform is integrated on the same operation page through the corresponding application programming interface, so that it is convenient to centrally call and control according to the business operation process.
- Application platform
- the second invoking module 4 is configured to enter an operation instruction interface of the target application platform by using an application programming interface of the target application platform when receiving an operation instruction for a link icon corresponding to the target application platform in each application platform.
- the target application platform is configured to enter an operation instruction interface of the target application platform by using an application programming interface of the target application platform when receiving an operation instruction for a link icon corresponding to the target application platform in each application platform.
- the target application platform in this embodiment refers to an application platform corresponding to the next process in the service operation process.
- the application programming interface of the specified application platform corresponding to the link icon is invoked by the link icon to jump from the current page to the specified application platform, facilitating manual participation in maintenance.
- the second calling module 4 of the platform-integrated device of the embodiment includes:
- the monitoring unit 40 is configured to monitor a progress status of the first application platform of the business operation flow of the operation page.
- the progress status of this embodiment includes a normal progress state and an abnormal state according to the business operation flow.
- Normal progress status such as the beginning of progress, progress, and end of progress, can also be expressed as a percentage of progress.
- the above-mentioned progress amount is monitored in real time or by the monitoring unit 40 on the operation interface, so as to better capture the progress data of the business operation process and make the automated business operation flow more smooth.
- the determining unit 41 is configured to determine whether the progress state meets a preset condition for switching from the first application platform to the second application platform.
- the preset condition of the embodiment includes the progress end point of the business operation flow, the abnormal alarm time in the received business operation flow, or the progress of the business operation flow is displayed as 100%.
- the switching unit 42 is configured to switch from the first application platform to the second application platform by calling an application programming interface of the second application platform if the preset condition for switching from the first application platform to the second application platform is satisfied.
- the application programming interface of the second application platform is invoked by the switching unit 42 to switch from the first application platform to the second application platform, thereby improving flexibility and fluency of the automatic jump.
- the determining unit 41 of this embodiment includes:
- the first monitoring subunit 410 is configured to monitor whether a process abnormality alarm of the first application platform is received.
- the first monitoring sub-unit 410 monitors the process abnormal alarm as the progress amount, so as to switch from the first application platform to the second application platform, and solve the abnormal process of the first application platform in time by switching to the second application platform.
- the process of using the abnormality of the specific function when receiving the monitoring timeout alarm, switch to the ZABBIX application platform, check the timeout amount by logging in to ZABBIX, and perform abnormal diagnosis, abnormal repair or elimination to ensure the continuation of the business operation process.
- the business operation process after checking the timeout amount, log in to the MARIO application platform to query the request amount per minute and the response time, and then start the ANSIBLE application platform according to the business operation flow, to obtain each request processing process of each host.
- the foregoing service operation process includes: discovering a keyword exception through an alarm->a statistical association API (Application) Programming Interface (referred to as API, application programming interface) request volume -> query detail log -> determine whether it is necessary to restart the application to solve the abnormal fault.
- API Application
- the application platform required to solve the abnormal fault is integrated into the same operation page through the APIs of the application platform in the operation and maintenance process, so that the abnormal fault is timely processed on the same operation page, and the abnormal fault is solved. Process fluency and timeliness.
- the first determining sub-unit 411 is configured to determine that the preset condition for switching from the first application platform to the second application platform is satisfied if the process abnormality alarm of the first application platform is received.
- whether the abnormal alarm in the business operation process is monitored or not is determined whether the application platform integrated on the integrated platform is switched to meet the functions of automatic disaster recovery switching and automatic abnormality diagnosis.
- the second determining sub-unit 412 is configured to determine that the preset condition for switching from the first application platform to the second application platform is not satisfied if the process abnormality alarm of the first application platform is not received.
- the integrated platform includes the function integration sub-platform for abnormal diagnosis and disaster recovery switching, and also includes other integrated sub-platforms for specifying the business process.
- the function integration sub-platform of the abnormality diagnosis and the disaster recovery switching in this embodiment does not receive the abnormal alarm in the business operation flow, and can continue to switch the integration sub-platforms of other specified business processes according to the preset business operation flow to complete the designation.
- the function integration sub-platform of the abnormality diagnosis and the disaster recovery switching of the embodiment receives the abnormal alarm in the business operation flow, starts the function integration sub-platform of the abnormal diagnosis and the disaster recovery switch, and interrupts the integration sub-platform of other specified business processes. Normal work, in order to improve the abnormality through the function integration sub-platform of abnormal diagnosis and disaster recovery switching, and automatically restore the normal work of the integrated sub-platform of other specified business processes after the abnormality is repaired.
- the second invoking module 4 of the platform-integrated device of the embodiment further includes:
- the diagnosis unit 420 is configured to diagnose a fault type of a process abnormality alarm of the first application platform.
- the process abnormality alarm is monitored as the progress amount, and the type of the keyword received by the diagnosis unit 420 is used to distinguish the fault type.
- the fault types of the integrated platform include transaction faults, system faults, and media faults, and the keywords corresponding to transaction faults, system faults, and media faults are W, S, and M, respectively.
- the matching unit 421 is configured to match the fault solution according to the fault type.
- a priori database with a fault solution is included, and the optimal fault solution can be matched according to the type of the keyword, so as to achieve application-level process, automation, and solution optimization.
- the system determines which application platform the two or more keywords belong to, and selects a customized process to diagnose the problem. And finally returning the diagnosis results corresponding to the above two or more keyword alarms respectively.
- the customized exception processing scheme is automatically invoked, and different recovery strategies are adopted according to different types of faults.
- a transaction failure indicates a failure caused by an unexpected, abnormal program end, and the cause of the abnormal termination of the program includes input data error, operation overflow, violation of storage protection, deadlock of parallel transaction, and the like.
- the transaction that was forced to interrupt may have modified the database of the application platform.
- the information recorded in the log file is used to forcefully roll back the transaction, and the application platform is The database is restored to its original state before modification. To do this, check the records in the log file that have changed by the firm, and cancel the changes made by the unfinished firm.
- the transaction recovery operation is called transaction revocation, as follows: 1) Reverse scan the log file to find the update operation of the transaction.
- a system failure and its recovery system failure means that the system stops running due to some reason during the operation of the system, causing all running transactions to terminate in an abnormal manner, requiring the system to restart.
- the cause of the system failure may be a hardware error (such as a CPU failure, operating system) or code error, sudden power failure, and so on.
- a system failure causes all the contents of the database buffer in the memory to be lost. Although the database stored on the external storage device is not destroyed, the reliability of the content is poor. After a system failure occurs, it may cause some outstanding transactions to update the database to the database. After the system is restarted, all unfinished transactions are forcibly revoked, and the changes made to the database by the transaction are cleared.
- the method of redo processing is to forward scan the log file, and re-execute the operation according to the operation contents registered in the log file to restore the database to a recent available state. After a system failure, because it is impossible to determine which completed transactions have been updated, and which commits have not yet been written to the database, after the system restarts, all completed transactions are revoked, and all committed commits are redone. Business. Usually, the method of setting up a checkpoint is used to judge whether the transaction ends normally.
- the system For example, every time, for example, 5 minutes, the system generates a checkpoint, and writes the content still in the log buffer to the log file; in the log file Write a "checkpoint record"; write the contents of the database buffer to the database, that is, write the updated content to the physical database; write the address of the checkpoint record in the log file to the "restart file”.
- the recovery manager On reboot, the recovery manager first obtains the address of the checkpoint record from the "restart file", and finds the contents of the checkpoint record from the log file to determine which transactions need to be undone and restored to the initial state, which The transaction needs to be redone.
- the medium failure and the recovery medium failure refer to that the auxiliary storage medium is damaged during the operation, and the data stored in the external storage is partially or completely lost, which is the most serious failure and is highly destructive.
- the physical data and log files on the disk may be corrupted, requiring the most recent backup database copy before the media failure to occur, and then redoing all transactions running after the copy.
- the specific method is as follows: 1) Load the latest database copy to restore the database to the available state at the time of the most recent dump. 2) Load the latest copy of the log file and redo the completed transaction according to the contents of the log file. First scan the log file to find out the transaction that was committed when the failure occurred and record it in the redo queue.
- each transaction in the redo queue is redone processed by scanning the log file forward and re-executing the registration operation for each redo transaction, that is, writing the "updated value" in the log record.
- each transaction in the redo queue is redone processed by scanning the log file forward and re-executing the registration operation for each redo transaction, that is, writing the "updated value" in the log record.
- the determining unit 422 is configured to determine, according to the solution, that the specified application platform is the second application platform.
- the determination unit 422 determines the designated second application platform having the effect of eliminating the current fault. For example, according to the a priori data of the transaction failure, the application platform with the scanning function is invoked to scan the log file in reverse to find the update operation of the transaction; then, the application platform with the recovery function is called to execute the new record that has been inserted. Perform the delete operation, insert the deleted record, restore the old value to the modified data, and replace the new value with the old value until the fault is recovered.
- an apparatus for platform integration includes:
- the design module 10 is used to design a business operation flow of the operation page.
- the business operation flow of the operation page is designed by the design module 10 according to the implementation process of the operation service, so as to realize the process automation of the specified service.
- the screening module 11 is configured to filter each application platform required according to the business operation process.
- the screening module 11 filters each application platform involved in the business operation according to the business process.
- Each application platform in this embodiment has an open API, so that each application platform is integrated into an operation page according to the pre-designed business operation process of the design module 10. In order to reduce the manual switching between different application platforms during the business process, the automation efficiency of business operations is improved.
- the integrated platform API of this embodiment can be used to allocate memory or access files.
- the API of this embodiment includes functions, constants, variables, and data structures, and can implement instructions for quickly performing switching.
- the API of this embodiment is composed of one or more DLLs (Dynamic Link Library) that provide some specified special functions, and functions of APIs that can be called by any application platform running on the integration platform.
- DLLs Dynamic Link Library
- the function in the integration platform runtime DLL is dynamically linked to the application platform that called it, but there are several application platform calls.
- a function in a DLL that has only one file on the disk that contains the function and only creates the DLL when it is loaded into memory.
- the determining unit 41 of another embodiment of the present application includes:
- the second monitoring sub-unit 413 is configured to monitor whether a process completion alarm of the first application platform is received.
- the business operation is to generate a daily inspection report of the system, so as to discover and solve the problem in time to ensure that the operating system of the integrated platform runs normally.
- the application platform that needs to be inspected is integrated into the operation page through an API.
- the integration platform for generating the daily inspection report of the system for example, after the application platforms are sequentially integrated into the operation page according to the business process, automatically jump to the application platforms and gradually complete the business content according to the business operation flow on the same operation page.
- each application platform involved in the business operation process can be integrated into an operation page through an API to form an integration platform having other functions, and each application platform is more flexible and realizes different functions through API integration.
- the automation of business operations such as automatic resource expansion, system abnormal self-healing, automatic monitoring and monitoring, emergency start and stop, and other business operations.
- the third determining sub-unit 414 is configured to determine that the preset condition for switching from the first application platform to the second application platform is satisfied if the process of receiving the first application platform completes the alarm.
- the fourth determining sub-unit 415 is configured to determine that the preset condition for switching from the first application platform to the second application platform is not satisfied if the process that does not receive the process of the first application platform completes the alarm.
- the first application platform continues to perform the sub-service operation until the process quantity reaches the standard, and then switches to the second application platform to continue to complete the new sub-service operation. Until the entire business process is completed.
- a second invoking module 4 of the platform-integrated device of another embodiment of the present application includes:
- the recording unit 423 is configured to record process data that is switched from the first application platform to the second application platform.
- all the running data in the process of the business process is recorded in real time by the recording unit 423, so as to perform subsequent data searching, for example, analyzing the fault cause by finding data when a fault occurs.
- the summary unit 424 is configured to summarize the process data in a chronological order from the front to the back to form a running file.
- the summary unit 424 summarizes the running data of each application in the business operation flow according to the process time sequence from front to back to form a running file, so as to match the rationality of the business operation process, the cooperation fluency, and the timeliness of completing the specified service.
- the operational data of this embodiment includes, but is not limited to, a running link, a platform jump delay, and the like.
- the generating unit 425 is configured to generate a data packet corresponding to the service operation flow by compressing the running file.
- the running data and the corresponding preset service operation flow of the specified service type are formed by the generating unit 425 to form a matching data packet.
- a second invoking module 4 of the platform-integrated device of another embodiment of the present application includes:
- the analyzing unit 426 is configured to analyze each data packet corresponding to a different service operation process in the specified service.
- the first service operation process includes from the A platform to the B platform to the C platform to the D platform, to complete the designated service, corresponding to the data packet a;
- the second service The operation flow can be completed from the A platform to the C platform to the B platform to the D platform, corresponding to the data packet b.
- the selecting unit 427 is configured to select an optimized business operation flow of the specified service according to a comparison attribute of each business operation flow.
- the comparison attribute of the embodiment includes parameter information such as fluency of the business operation flow, timeliness of business completion, satisfaction of the business completion, and the like, and according to the parameter information, the selection unit 427 selects an optimization business operation flow that is closest to the user's intention.
- the second calling module 4 of the platform-integrated device of the embodiment includes:
- the filing unit 428 is configured to record each optimized business operation flow corresponding to each specified service and each application platform in each optimized business operation process to form a database.
- the filing unit 428 summarizes the optimized business operation flow corresponding to the specified service and each application platform in each optimized business operation flow into the same folder, and names the folder with the specified service name, and various different designations.
- the price tag of the business forms a database according to different storage paths, so that it can be promoted and applied more effectively and widely.
- the specified service in this embodiment is set according to the user's industry background and application goals. For example, the designated services in the financial industry and the transportation industry have a large difference, and are designated as different service types.
- an apparatus for platform integration in still another embodiment of the present application further includes:
- the monitoring module 5 is configured to monitor whether data of each of the application platforms is abnormal.
- the monitoring module 5 sets the monitoring time interval to monitor the running status of each application platform within a specified time, or sets the real-time monitoring of the running status of each application platform, and finds an abnormality in time. Improve monitoring efficiency by centrally monitoring data across integrated application platforms.
- the second generation module 6 is configured to generate a data abnormality alarm of the corresponding application platform if an abnormality occurs in data of each application platform.
- the data generation abnormality alarm is automatically generated by the second generation module 6 on the operation page of the integration platform, thereby improving the timeliness of the monitoring.
- the feedback module 7 is configured to feed back the abnormal alarm to the corresponding application platform.
- the abnormal alarm is fed back to each corresponding application platform through the feedback module 7, thereby improving the pertinence of the monitoring.
- the computer device may be a server, and its internal structure may be as shown in FIG. 11.
- the computer device includes a processor, memory, network interface, and database connected by a system bus. Among them, the computer designed processor is used to provide calculation and control capabilities.
- the memory of the computer device includes a non-volatile storage medium, an internal memory.
- the non-volatile storage medium stores an operating system, computer readable instructions, and a database.
- the memory provides an environment for the operation of operating systems and computer readable instructions in a non-volatile storage medium.
- the database of the computer device is used to store data such as platform integration.
- the network interface of the computer device is used to communicate with an external terminal via a network connection.
- FIG. 11 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation of the computer device to which the solution of the present application is applied.
- An embodiment of the present application also provides a computer non-volatile readable storage medium having stored thereon computer readable instructions that, when executed, perform the processes of the embodiments of the methods described above.
- the above description is only the preferred embodiment of the present application, and is not intended to limit the scope of the patent application, and the equivalent structure or equivalent process transformations made by the specification and the drawings of the present application, or directly or indirectly applied to other related The technical field is equally included in the scope of patent protection of the present application.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Software Systems (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Debugging And Monitoring (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Provided are a platform integration method and apparatus, and a computer device and a storage medium. The method comprises: calling an application programming interface of each application platform in a business operation procedure (S1); writing the application programming interfaces of each application platform into an operation page for integration (S2); respectively generating a link icon corresponding to each application platform on the operation page (S3); and when an operation instruction of a link icon corresponding to a target application platform in the application platforms is received, entering the target application platform by means of calling an application programming interface of the target application platform (S4). The method can achieve the automatic switching of application platforms.
Description
本申请要求于2018年4月10日提交中国专利局、申请号为2018103167368,发明名称为“平台整合的方法、装置、计算机设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 2018103167368, filed on Apr. 10, 2018, the entire disclosure of which is incorporated herein by reference. Combined in this application.
本申请涉及到计算机领域,特别是涉及到平台整合的方法、装置、计算机设备和存储介质。The present application relates to the field of computers, and in particular, to a method, apparatus, computer device and storage medium for platform integration.
现有很多工具应用平台,如ZABBIX(是一个基于WEB界面的提供分布式系统监视以及网络监视功能的企业级的开源解决方案)、MARIO(是一款系统监控产品,专注于故障快速定位、系统问题预警以及性能提升建议)、日志云、ANSIBLE(是自动化运维工具,基于Python开发,集合了众多运维工具的优点,实现了批量系统配置、批量程序部署、批量运行命令等功能)等都专门处理自己领域内的事务,用户需要进入系统平台,打开并登录系统后,才可处理相应的事务。但从应用运维角度,运维人员需要使用多种工具应用平台,为解决异常或完成业务,工作人员需在不同应用平台来回切换,耗费大量的人力、物力和财力,业务进展的效率较低,且容易出现人工失误。There are many tool application platforms, such as ZABBIX (a web-based open source solution that provides distributed system monitoring and network monitoring functions), MARIO (a system monitoring product that focuses on fault location, system) Problem warning and performance improvement suggestions), log cloud, ANSIBLE (automatic operation and maintenance tool, based on Python development, which combines the advantages of many operation and maintenance tools, realizes batch system configuration, batch program deployment, batch operation commands, etc.) Specialized in the affairs of their own domain, users need to enter the system platform, open and log in to the system before they can handle the corresponding transaction. However, from the perspective of application operation and maintenance, operation and maintenance personnel need to use a variety of tools to apply the platform. In order to solve abnormalities or complete business, the staff needs to switch back and forth between different application platforms, which consumes a lot of manpower, material resources and financial resources, and the efficiency of business progress is low. And prone to human error.
本申请的主要目的为提供一种平台整合的方法,旨在解决业务操作中需要的各业务平台不能集中在一个操作页面上进行自动切换的技术问题。The main purpose of the present application is to provide a platform integration method, which aims to solve the technical problem that each service platform required in a business operation cannot be centralized on one operation page for automatic switching.
本申请提出一种平台整合的方法,包括:The application proposes a platform integration method, including:
调用业务操作流程中所涉及的各应用平台的应用程序编程接口;Invoking an application programming interface of each application platform involved in the business operation process;
将各应用平台的所述应用程序编程接口写入操作页面进行整合;Writing the application programming interface of each application platform to an operation page for integration;
在所述操作页面上分别生成各所述应用平台对应的链接图标;Generating a link icon corresponding to each of the application platforms on the operation page;
当接收到对所述各应用平台中目标应用平台对应的链接图标的操作指令时,通过调用所述目标应用平台的应用程序编程接口,在所述操作页面中进入所述目标应用平台。When the operation instruction of the link icon corresponding to the target application platform in each application platform is received, the target application platform is entered in the operation page by calling an application programming interface of the target application platform.
本申请还提供了一种平台整合的装置,包括:The application also provides a platform integration device, including:
第一调用模块,用于调用业务操作流程中所涉及的各应用平台的应用程序编程接口;a first calling module, configured to invoke an application programming interface of each application platform involved in the business operation process;
写入模块,用于将各应用平台的所述应用程序编程接口写入操作页面进行整合;a writing module, configured to write the application programming interface of each application platform into an operation page for integration;
第一生成模块,用于在所述操作页面上分别生成的各所述应用平台对应的链接图标;a first generation module, configured to generate a link icon corresponding to each application platform on the operation page;
第二调用模块,用于当接收到对所述各应用平台中目标应用平台对应的链接图标的操作指令时,通过调用所述目标应用平台的应用程序编程接口,在所述操作页面中进入所述目标应用平台。a second calling module, configured to: when receiving an operation instruction of a link icon corresponding to the target application platform in each application platform, by calling an application programming interface of the target application platform, entering the operation page The target application platform.
本申请还提供了一种计算机设备,包括存储器和处理器,所述存储器存储有计算机可读指令,所述处理器执行所述计算机可读指令时实现上述方法的步骤。The application also provides a computer device comprising a memory and a processor, the memory storing computer readable instructions, the processor implementing the steps of the method when the computer readable instructions are executed.
本申请还提供了一种计算机非易失性可读存储介质,其上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现上述的方法的步骤。The present application also provides a computer non-transitory readable storage medium having stored thereon computer readable instructions that, when executed by a processor, implement the steps of the methods described above.
本申请通过各应用平台API整合到同一操作页面形成具有指定功能的整合平台,并通过自动切换应用平台,减少或完全避免了业务操作过程中不同应用平台间的人工切换;通过各应用平台API整合到操作页面,实现在一个操作页面集中实现切换,提高自动化流程的灵活性、集中性;通过匹配先验异常解决方案,实现自动选择优化方案,提高解决异常警报的时效性、流程化;通过在整合的操作页面集中监控各平台数据,并及时生成监控异常预警,提高监控的时效性,提高效率。The application integrates the application platform APIs into the same operation page to form an integrated platform with specified functions, and automatically switches the application platform, thereby reducing or completely avoiding manual switching between different application platforms during the business operation process; Go to the operation page, realize switching in one operation page set, improve the flexibility and concentration of the automation process; realize the automatic selection optimization scheme by matching the a priori exception solution, and improve the timeliness and process of solving the abnormal alarm; The integrated operation page centrally monitors the data of each platform, and generates monitoring abnormal warnings in time to improve the timeliness of monitoring and improve efficiency.
图1 本申请一实施例的平台整合的方法流程示意图;1 is a schematic flow chart of a method for platform integration according to an embodiment of the present application;
图2 本申请一实施例的平台整合的装置结构示意图;2 is a schematic structural diagram of an apparatus for platform integration according to an embodiment of the present application;
图3 本申请一实施例的第二调用模块的结构示意图;3 is a schematic structural diagram of a second calling module according to an embodiment of the present application;
图4 本申请一实施例的判断单元的结构示意图;4 is a schematic structural diagram of a determining unit according to an embodiment of the present application;
图5 本申请一实施例的第二调用模块的再优化结构示意图;FIG. 5 is a schematic diagram of a re-optimization structure of a second calling module according to an embodiment of the present application; FIG.
图6 本申请另一实施例的平台整合的装置结构示意图;6 is a schematic structural diagram of an apparatus for platform integration according to another embodiment of the present application;
图7 本申请再一实施例的判断单元的结构示意图;FIG. 7 is a schematic structural diagram of a determining unit according to still another embodiment of the present application;
图8 本申请又一实施例的第二调用模块的结构示意图;8 is a schematic structural diagram of a second calling module according to still another embodiment of the present application;
图9 本申请又一实施例的第二调用模块的优化结构示意图;9 is a schematic diagram of an optimized structure of a second calling module according to another embodiment of the present application;
图10 本申请又一实施例的平台整合的装置结构示意图;FIG. 10 is a schematic structural diagram of a device for platform integration according to still another embodiment of the present application; FIG.
图11 本申请一实施例的计算机设备内部结构示意图。FIG. 11 is a schematic diagram showing the internal structure of a computer device according to an embodiment of the present application.
参照图1,本申请一实施例的平台整合的方法,包括:Referring to FIG. 1, a method for platform integration according to an embodiment of the present application includes:
S1:调用业务操作流程中所涉及的各应用平台的应用程序编程接口。S1: Call the application programming interface of each application platform involved in the business operation flow.
本步骤的应用程序编程接口是指整合平台时衔接各整合应用平台的链接方式,本实施通过调用各应用平台对外开放的应用程序编程接口,以便于各应用平台的功能根据预设业务操作流程自动衔接,无需人力介入,节省人力资源。本实施例的应用程序编程接口是各应用平台与操作页面之间的衔接约定,对于包括较多应用平台的复杂系统,使各应用平台的职责得到合理规划。本实施例通过应用程序编程接口衔接各应用平台,将各应用平台整合至同一操作页面,降低整合平台内各应用平台的相互依赖,提高整合平台的内聚性,降低整合平台的耦合程度,从而方便维护整合平台以及扩展整合平台功能。The application programming interface of this step refers to the link mode of connecting the integrated application platforms when the platform is integrated. The implementation program calls the application programming interface open to each application platform, so that the functions of each application platform are automatically according to the preset business operation flow. Convergence, no human intervention, saving human resources. The application programming interface of this embodiment is an interface between the application platform and the operation page. For a complex system including more application platforms, the responsibilities of each application platform are reasonably planned. In this embodiment, the application programming interface is used to connect the application platforms, and the application platforms are integrated into the same operation page, thereby reducing the interdependence of the application platforms in the integration platform, improving the cohesion of the integration platform, and reducing the coupling degree of the integration platform, thereby Convenient maintenance of the integration platform and extension of the integration platform.
S2:将各应用平台的所述应用程序编程接口写入操作页面进行整合。S2: Write the application programming interface of each application platform to the operation page for integration.
本步骤通过各应用平台开放的应用程序编程接口写入同一个操作界面上实现平台整合,使各应用平台布局更集中且不相互依赖干扰,各应用平台在同一个操作页面上,并根据预设的业务操作流程依次自动跳转,即可自动完成完整的业务操作流程,提高自动化流程的灵活性、集中性,以进一步提高业务操作的自动化效率,同时提高业务操作的时序性以及处理效率。In this step, the application programming interface of each application platform is written on the same operation interface to realize platform integration, so that the layout of each application platform is more concentrated and does not depend on each other, and each application platform is on the same operation page, and according to the preset. The business operation process automatically jumps in turn, which can automatically complete the complete business operation process, improve the flexibility and concentration of the automation process, further improve the automation efficiency of business operations, and improve the timing and processing efficiency of business operations.
S3:在所述操作页面上分别生成各所述应用平台对应的链接图标。S3: Generate a link icon corresponding to each application platform on the operation page.
通过链接图标将各应用平台显示在操作页面上,以实现各应用平台通过与其相对应的应用程序编程接口整合在同一操作页面上,方便根据业务操作流程集中调用与管控各应用平台。Each application platform is displayed on the operation page through the link icon, so that each application platform is integrated on the same operation page through the corresponding application programming interface, so that it is convenient to call and manage the application platforms according to the business operation process.
S4:当接收到对所述各应用平台中目标应用平台对应的链接图标的操作指令时,通过调用所述目标应用平台的应用程序编程接口,在所述操作页面中进入所述目标应用平台。S4: When receiving an operation instruction for a link icon corresponding to the target application platform in each application platform, the target application platform is accessed in the operation page by calling an application programming interface of the target application platform.
本实施例的目标应用平台是指业务操作流程中的下一流程对应的应用平台。通过链接图标调用链接图标对应的目标应用平台的应用程序编程接口,实现从当前页面跳转到目标应用平台,方便人工参与维护。The target application platform in this embodiment refers to an application platform corresponding to the next process in the service operation process. The application programming interface of the target application platform corresponding to the link icon is invoked by the link icon to realize jumping from the current page to the target application platform, thereby facilitating manual participation in maintenance.
进一步地,本实施例的步骤S4,包括:Further, step S4 of this embodiment includes:
S40:监控所述操作页面的业务操作流程的第一应用平台的进度状态。S40: Monitor a progress status of the first application platform of the business operation flow of the operation page.
本步骤进度状态包括按照业务操作流程的正常进度状态和异常状态。正常进度状态,比如进展开始、进展中、进展结束等,也可以通过进展百分比表示,以便更好的捕获业务操作流程的进展数据,使自动化的业务操作流程更加流畅。The progress status of this step includes the normal progress status and abnormal status according to the business operation flow. The normal progress status, such as the beginning of progress, progress, and the end of progress, can also be expressed by the percentage of progress, so as to better capture the progress data of the business operation process and make the automated business operation flow more smooth.
S41:判断所述进度状态是否满足从第一应用平台切换至第二应用平台的预设条件。S41: Determine whether the progress status meets a preset condition for switching from the first application platform to the second application platform.
比如,本步骤的预设条件包括业务操作流程的进展结束点、接收到业务操作流程中的异常报警时刻或业务操作流程的进度显示为100%。For example, the preset conditions of this step include the progress end point of the business operation flow, the abnormal alarm time in the received business operation flow, or the progress of the business operation flow is displayed as 100%.
S42:若满足,则通过调用第二应用平台的应用程序编程接口,从第一应用平台切换至第二应用平台。S42: If yes, switch from the first application platform to the second application platform by calling an application programming interface of the second application platform.
本步骤通过调用第二应用平台的应用程序编程接口,实现从第一应用平台切换至第二应用平台,提升自动跳转的灵活性、流畅性。This step is to switch from the first application platform to the second application platform by calling the application programming interface of the second application platform, thereby improving the flexibility and smoothness of the automatic jump.
进一步地,本实施例的步骤S41,包括:Further, step S41 of the embodiment includes:
S410:监听是否接收到第一应用平台的进程异常警报。S410: Monitor whether a process abnormality alarm of the first application platform is received.
本实施例中通过监听进程异常报警为进度量,以实现从第一应用平台切换至第二应用平台,通过切换到第二应用平台及时解决第一应用平台的进程异常故障。举例地,在用于特定功能异常诊断过程中,当收到监控超时告警时,切换到ZABBIX应用平台,通过登录ZABBIX查看超时量,进行异常诊断、异常修复或消除,以保证业务操作流程的继续进行,比如根据业务操作流程,查看了超时量后再登录MARIO应用平台查询每分钟请求量以及响应时间,然后再根据业务操作流程,启动ANSIBLE应用平台,以获取到各台主机每个请求处理过程的时间明细数据。上述的业务操作流程包括:通过告警发现关键字异常->统计关联API(Application
Programming Interface,简称:API,应用程序编程接口)的请求量->查询明细日志->判断是否需要重启应用,进而解决异常故障。本实施例通过将解决异常故障所需的应用平台在运维过程中通过各应用平台对外开放的API整合到同一个操作页面上,以在同一个操作页面上及时处理异常故障,提高解决异常故障的流程流畅化以及时效性。In this embodiment, the abnormal alarm is monitored by the monitoring process as the progress amount, so as to switch from the first application platform to the second application platform, and the process abnormality of the first application platform is timely solved by switching to the second application platform. For example, in the process of using the abnormality of the specific function, when receiving the monitoring timeout alarm, switch to the ZABBIX application platform, check the timeout amount by logging in to ZABBIX, and perform abnormal diagnosis, abnormal repair or elimination to ensure the continuation of the business operation process. For example, according to the business operation process, after checking the timeout amount, log in to the MARIO application platform to query the request amount per minute and the response time, and then start the ANSIBLE application platform according to the business operation flow, to obtain each request processing process of each host. Time detail data. The foregoing service operation process includes: discovering a keyword exception through an alarm->a statistical association API (Application)
Programming Interface (referred to as API, application programming interface) request volume -> query detail log -> determine whether it is necessary to restart the application to solve the abnormal fault. In this embodiment, the application platform required to solve the abnormal fault is integrated into the same operation page through the APIs of the application platform in the operation and maintenance process, so that the abnormal fault is timely processed on the same operation page, and the abnormal fault is solved. Process fluency and timeliness.
S411:若接收到,则判定满足从第一应用平台切换至第二应用平台的预设条件。S411: If received, determining that the preset condition for switching from the first application platform to the second application platform is satisfied.
本实施例以是否监控到业务操作流程中的异常报警,判断是否切换整合到整合平台上的各应用平台,以满足自动灾备切换、自动异常诊断的功能。In this embodiment, whether the abnormal alarm in the business operation process is monitored or not is determined whether the application platform integrated on the integrated platform is switched to meet the functions of automatic disaster recovery switching and automatic abnormality diagnosis.
S412:若未接收到,则判定不满足从第一应用平台切换至第二应用平台的预设条件。S412: If not received, determining that the preset condition for switching from the first application platform to the second application platform is not satisfied.
本实施例整合平台中包括异常诊断和灾备切换的功能整合子平台,也包括其他指定业务流程的整合子平台。本实施例的异常诊断和灾备切换的功能整合子平台未接收到业务操作流程中的异常报警,可继续按照预设的业务操作流程,继续切换其他指定业务流程的整合子平台,以完成指定业务操作。本实施例的异常诊断和灾备切换的功能整合子平台接收到业务操作流程中的异常报警,则启动异常诊断和灾备切换的功能整合子平台,并中断其他指定业务流程的整合子平台的正常工作,以便通过异常诊断和灾备切换的功能整合子平台及时修复异常,并在修复异常后自动恢复其他指定业务流程的整合子平台的正常工作。In this embodiment, the integrated platform includes the function integration sub-platform for abnormal diagnosis and disaster recovery switching, and also includes other integrated sub-platforms for specifying the business process. The function integration sub-platform of the abnormality diagnosis and the disaster recovery switching in this embodiment does not receive the abnormal alarm in the business operation flow, and can continue to switch the integration sub-platforms of other specified business processes according to the preset business operation flow to complete the designation. Business operations. The function integration sub-platform of the abnormality diagnosis and the disaster recovery switching of the embodiment receives the abnormal alarm in the business operation flow, starts the function integration sub-platform of the abnormal diagnosis and the disaster recovery switch, and interrupts the integration sub-platform of other specified business processes. Normal work, in order to improve the abnormality through the function integration sub-platform of abnormal diagnosis and disaster recovery switching, and automatically restore the normal work of the integrated sub-platform of other specified business processes after the abnormality is repaired.
进一步地,本实施例的步骤S42之前,包括:Further, before step S42 of this embodiment, the method includes:
S420:诊断第一应用平台的进程异常警报的故障类型。S420: Diagnose the fault type of the process abnormal alarm of the first application platform.
本实施例中以监听到进程异常报警为满足平台切换的预设条件,且通过接收到的关键字的种类区分故障类型。比如整合平台的故障类型包括事务故障、系统故障和介质故障,并分别设定事务故障、系统故障和介质故障对应的关键字为W、S和M。In this embodiment, the process abnormal alarm is monitored to satisfy the preset condition of the platform switching, and the fault type is distinguished by the type of the received keyword. For example, the fault types of the integrated platform include transaction faults, system faults, and media faults, and the keywords corresponding to transaction faults, system faults, and media faults are W, S, and M, respectively.
S421:根据所述故障类型匹配故障解决方案。S421: Match the fault solution according to the fault type.
本实施例中包含有故障解决方案的先验数据库,可根据关键字的种类匹配最佳的故障解决方案,以实现应用层面的流程化、自动化,以及解决方案的优选化。本申请其他实施例中若同时收到两种或两种以上的关键字异常告警,系统会判断两种或两种以上的关键字分别属于哪个应用平台、选择哪种定制好的流程去诊断问题,并最终返回上述两种或两种以上的关键字告警分别对应的诊断结果。本申请其他实施例中在返回上述两种或两种以上的关键字告警分别对应的诊断结果的同时,还自动调用定制好的异常处理方案,根据故障类型的不同,采取不同的恢复策略。In this embodiment, a priori database with a fault solution is included, and the optimal fault solution can be matched according to the type of the keyword, so as to achieve application-level process, automation, and solution optimization. In other embodiments of the present application, if two or more keyword abnormal alarms are simultaneously received, the system determines which application platform the two or more keywords belong to, and selects a customized process to diagnose the problem. And finally returning the diagnosis results corresponding to the above two or more keyword alarms respectively. In other embodiments of the present application, when the diagnosis results corresponding to the two or more keyword alarms are respectively returned, the customized exception processing scheme is automatically invoked, and different recovery strategies are adopted according to different types of faults.
举例地,事务故障表示由非预期的、不正常的程序结束所造成的故障,造成程序非正常结束的原因包括输人数据错误、运算溢出、违反存储保护、并行事务发生死锁等。发生事务故障时,被迫中断的事务可能已对应用平台的数据库进行了修改,为了消除该事务对数据库的影响,要利用日志文件中所记载的信息,强行回滚该事务,将应用平台的数据库恢复到修改前的初始状态。为此要检查日志文件中由事务所引起的发生变化的记录,取消没有完成的事务所做的改变。事务故障的恢复操作称为事务撤销,具体做法如下:1)反向扫描日志文件,查找该事务的更新操作。2)对该事务的更新操作执行反操作,即对已经插入的新记录进行删除操作,对己删除的记录进行插入操作,对修改的数据恢复旧值,用旧值代替新值,由后向前逐个扫描该事务已做的所有更新操作,并采取同样的处理方式,直到扫描到此事务的开始标记,事务故障恢复完毕为止。For example, a transaction failure indicates a failure caused by an unexpected, abnormal program end, and the cause of the abnormal termination of the program includes input data error, operation overflow, violation of storage protection, deadlock of parallel transaction, and the like. In the event of a transaction failure, the transaction that was forced to interrupt may have modified the database of the application platform. In order to eliminate the impact of the transaction on the database, the information recorded in the log file is used to forcefully roll back the transaction, and the application platform is The database is restored to its original state before modification. To do this, check the records in the log file that have changed by the firm, and cancel the changes made by the unfinished firm. The transaction recovery operation is called transaction revocation, as follows: 1) Reverse scan the log file to find the update operation of the transaction. 2) Perform an inverse operation on the update operation of the transaction, that is, delete the new record that has been inserted, insert the deleted record, restore the old value to the modified data, replace the new value with the old value, and Scan all the update operations that the transaction has done one by one, and take the same processing until the start tag of this transaction is scanned, and the transaction failure is restored.
再举例地,系统故障及其恢复系统故障是指系统在运行过程中,由于某种原因造成系统停止运转,致使所有正在运行的事务都以非正常方式终止,要求系统重新启动。引起系统故障的原因可能有硬件错误(如CPU故障、操作系统)或代码错误、突然断电等。系统故障会导致内存中数据库缓冲区的内容全部丢失,虽然存储在外部存储设备上的数据库并未破坏,但其内容的可靠性较差。系统故障发生后,或许导致一些未完成事务对数据库的更新已写入数据库,可通过在系统重新启动后,强行撤销所有未完成的事务,清除事务对数据库所做的修改。或许导致已提交的事务对数据库的更新结果还保留在缓冲区中,尚未写到磁盘上的物理数据库中,导致数据库处于不一致状态,因此应将事务已提交的结果重新写入数据库。系统故障的恢复要完成两方面的工作,既要撤销所有末完成的事务,还要重做所有已提交的事务,具体做法如下:1)正向扫描日志文件,查找尚未提交的事务,将其事务标识记人撤销队列,同时查找已经提交的事务,将其事务标识记入重做队列。2)对撤销队列中的各个事务进行撤销处理。3)对重做队列中的各个事务进行重做处理。进行重做处理的方法是正向扫描日志文件,按照日志文件中所登记的操作内容,重新执行操作,使数据库恢复到最近某个可用状态。系统发生故障后,由于无法确定哪些末完成的事务已更新过数据库,哪些事务的提交结果尚未写入数据库,因此系统重新启动后,就要撤销所有的末完成的事务,重做所有的已经提交的事务。通常采用设立检查点的方法来判断事务是否正常结束,比如每隔一段时间,例如5分钟,系统就产生一个检查点,把仍保留在日志缓冲区中的内容写到日志文件中;在日志文件中写一个“检查点记录”;把数据库缓冲区中的内容写到数据库中,即把更新的内容写到物理数据库中;把日志文件中检查点记录的地址写到“重新启动文件”中。在重新启动时,恢复管理程序先从“重新启动文件”中获得检查点记录的地址,从日志文件中找到该检查点记录的内容,就能决定哪些事务需要撤销并恢复到初始的状态,哪些事务需要重做。For example, a system failure and its recovery system failure means that the system stops running due to some reason during the operation of the system, causing all running transactions to terminate in an abnormal manner, requiring the system to restart. The cause of the system failure may be a hardware error (such as a CPU failure, operating system) or code error, sudden power failure, and so on. A system failure causes all the contents of the database buffer in the memory to be lost. Although the database stored on the external storage device is not destroyed, the reliability of the content is poor. After a system failure occurs, it may cause some outstanding transactions to update the database to the database. After the system is restarted, all unfinished transactions are forcibly revoked, and the changes made to the database by the transaction are cleared. It may cause the result of the update of the committed transaction to the database to remain in the buffer and not yet written to the physical database on the disk, causing the database to be in an inconsistent state, so the result of the transaction commit should be rewritten to the database. Recovery of system failures must complete two aspects of work, both to cancel all completed transactions, and to redo all committed transactions, as follows: 1) Forward scan log files, find unsubmitted transactions, and The transaction identifier is used to undo the queue, and at the same time, it finds the committed transaction and records its transaction identifier in the redo queue. 2) Undo the processing of each transaction in the undo queue. 3) Redo processing each transaction in the redo queue. The method of redo processing is to forward scan the log file, and re-execute the operation according to the operation contents registered in the log file to restore the database to a recent available state. After a system failure, because it is impossible to determine which completed transactions have been updated, and which commits have not yet been written to the database, after the system restarts, all completed transactions are revoked, and all committed commits are redone. Business. Usually, the method of setting up a checkpoint is used to judge whether the transaction ends normally. For example, every time, for example, 5 minutes, the system generates a checkpoint, and writes the content still in the log buffer to the log file; in the log file Write a "checkpoint record"; write the contents of the database buffer to the database, that is, write the updated content to the physical database; write the address of the checkpoint record in the log file to the "restart file". On reboot, the recovery manager first obtains the address of the checkpoint record from the "restart file", and finds the contents of the checkpoint record from the log file to determine which transactions need to be undone and restored to the initial state, which The transaction needs to be redone.
再举例地,介质故障及其恢复介质故障是指系统在运行过程中,由于辅助存储器介质受到破坏,使存储在外存中的数据部分或全部丢失,为最严重的一种故障,破坏性很大,磁盘上的物理数据和日志文件可能被破坏,需要装入发生介质故障前最新的后备数据库副本,然后利用日志文件重做该副本后所运行的所有事务。具体方法如下:1)装入最新的数据库副本,使数据库恢复到最近一次转储时的可用状态。2)装入最新的日志文件副本,根据日志文件中的内容重做已完成的事务。首先扫描日志文件,找出故障发生时己提交的事务,将其记入重做队列。然后正向扫描日志文件,对重做队列中的各个事务进行重做处理,方法是正向扫描日志文件,对每个重做事务重新执行登记的操作,即将日志记录中“更新后的值”写入数据库。For example, the medium failure and the recovery medium failure refer to that the auxiliary storage medium is damaged during the operation, and the data stored in the external storage is partially or completely lost, which is the most serious failure and is highly destructive. The physical data and log files on the disk may be corrupted, requiring the most recent backup database copy before the media failure to occur, and then redoing all transactions running after the copy. The specific method is as follows: 1) Load the latest database copy to restore the database to the available state at the time of the most recent dump. 2) Load the latest copy of the log file and redo the completed transaction according to the contents of the log file. First scan the log file to find out the transaction that was committed when the failure occurred and record it in the redo queue. Then, the log file is forwardly scanned, and each transaction in the redo queue is redone processed by scanning the log file forward and re-executing the registration operation for each redo transaction, that is, writing the "updated value" in the log record. Into the database.
S422:根据所述解决方案确定指定应用平台为第二应用平台。S422: Determine, according to the solution, that the specified application platform is the second application platform.
根据先验数据库中的处理流程,确定指定的具有排除当前故障作用的第二应用平台。举例地,根据事务故障的先验数据,调用具有扫描功用的应用平台,以反向扫描日志文件,查找该事务的更新操作;然后调用具有恢复功用的应用平台,以执行对已经插入的新记录进行删除操作,对己删除的记录进行插入操作,对修改的数据恢复旧值,用旧值代替新值,直至故障恢复完毕。According to the processing flow in the a priori database, the specified second application platform having the effect of eliminating the current fault is determined. For example, according to the a priori data of the transaction failure, the application platform with the scanning function is invoked to scan the log file in reverse to find the update operation of the transaction; then, the application platform with the recovery function is called to execute the new record that has been inserted. Perform the delete operation, insert the deleted record, restore the old value to the modified data, and replace the new value with the old value until the fault is recovered.
进一步地,本申请另一实施例的步骤S1之前,包括:Further, before step S1 of another embodiment of the present application, the method includes:
S10:设计操作页面的业务操作流程。S10: The business operation flow of designing the operation page.
本实施例首先根据操作业务的实现过程,设计操作页面的业务操作流程,以实现完成指定业务的流程自动化。In this embodiment, the business operation flow of the operation page is designed according to the implementation process of the operation service, so as to realize the process automation of completing the specified service.
S11:根据所述业务操作流程筛选所需的各应用平台。S11: Filter each application platform required according to the business operation process.
根据业务流程筛选业务操作中涉及的各应用平台,本步骤中的各应用平台均具有开放的API,以便将各应用平台根据步骤S10中预先设计的业务操作流程整合到一个操作页面上,以减少业务进行过程中不同应用平台间的人为切换,提高业务操作的自动化效率。According to the business process, each application platform involved in the business operation is filtered. Each application platform in this step has an open API, so that each application platform is integrated into an operation page according to the pre-designed business operation process in step S10 to reduce The artificial switching between different application platforms during the business process improves the automation efficiency of business operations.
本实施例的整合平台API可用来分配内存或访问文件,本实施例的API包括函数、常量、变量以及数据结构,可实现快速执行切换的指令。本实施例的API 由一个或多个提供某种指定特殊功能的 DLL 组成(Dynamic Link Library,动态链接库文件),整合平台上运行的任何应用平台都可调用的API的函数。整合平台运行时DLL 中的函数动态地链接到调用它的应用平台中,但无论有几个应用平台调用
DLL 中的某个函数,在磁盘上只有一个文件包含该函数,且只在调入内存时才创建该 DLL。The integrated platform API of this embodiment can be used to allocate memory or access files. The API of this embodiment includes functions, constants, variables, and data structures, and can implement instructions for quickly performing switching. The API of this embodiment is composed of one or more DLLs (Dynamic Link Library) that provide some specified special functions, and functions of APIs that can be called by any application platform running on the integration platform. The function in the integration platform runtime DLL is dynamically linked to the application platform that called it, but there are several application platform calls.
A function in a DLL that has only one file on the disk that contains the function and only creates the DLL when it is loaded into memory.
本申请再一实施例的步骤S41,包括:Step S41 of another embodiment of the present application includes:
S413:监听是否接收到第一应用平台的进程完成警报。S413: Monitor whether a process completion alarm of the first application platform is received.
本实施例通过监听到的进程完成度是否达到预期为平台切换的进度条件,以实现从第一应用平台切换到第二应用平台,以逐步完成一项业务操作。举例地,业务操作为生成系统日常巡检报告,以便及时发现并解决问题,以确保整合平台的操作系统运行正常的业务操作,首先通过API将各需要巡检的应用平台整合到操作页面上形成生成系统日常巡检报告的整合平台,比如,将各应用平台按照业务流程依次整合到操作页面后,在同一个操作页面上按照业务操作流程依次自动跳转到各应用平台并逐步完成业务内容。比如完成自动巡检和生成日常巡检报告,包括巡检用户登录平台->巡检收发信平台->巡检内外网解析平台->巡检剩余地址空间->巡检网络访问->巡检备份执行情况->巡检存储剩余空间。本申请其他实施例中,可通过业务操作过程中所涉及的各应用平台通过API整合到一个操作页面上形成具有其他功用的整合平台,各应用平台经API整合后更具有灵活性,实现不同功能业务操作的自动化进行,比如可实现资源自动扩容、系统异常自愈、监控自动生成、应急启停等业务操作流程。In this embodiment, by monitoring whether the process completion degree reaches the expected progress condition of the platform handover, the handover from the first application platform to the second application platform is implemented to gradually complete a service operation. For example, the business operation is to generate a daily inspection report of the system, so as to discover and solve the problem in time to ensure that the operating system of the integrated platform runs normally. First, the application platform that needs to be inspected is integrated into the operation page through an API. The integration platform for generating the daily inspection report of the system, for example, after the application platforms are sequentially integrated into the operation page according to the business process, automatically jump to the application platforms and gradually complete the business content according to the business operation flow on the same operation page. For example, complete automatic inspection and generate daily inspection reports, including inspection user login platform->patrol inspection and reception platform->patrol internal and external network analysis platform->patrol residual address space->patrol network access->patrol inspection Backup execution -> patrol storage remaining space. In other embodiments of the present application, the application platform involved in the business operation process can be integrated into an operation page through an API to form an integration platform having other functions, and each application platform is more flexible and realizes different functions through API integration. The automation of business operations, such as automatic resource expansion, system abnormal self-healing, automatic monitoring and monitoring, emergency start and stop, and other business operations.
S414:若接收到,则判定满足从第一应用平台切换至第二应用平台的预设条件。S414: If received, determining that the preset condition for switching from the first application platform to the second application platform is satisfied.
本实施例以监控到业务操作进程量是否达标,判断是否切换整合到整合平台上的各应用平台,以满足自动完成业务操作。In this embodiment, it is determined whether the amount of the business operation process is up to standard, and whether the application platform integrated on the integrated platform is switched to meet the automatic completion of the business operation.
S415:若未接收到,则判定不满足从第一应用平台切换至第二应用平台的预设条件。S415: If not received, determining that the preset condition for switching from the first application platform to the second application platform is not satisfied.
若未接收到业务操作进程量达标警报,则在整合平台正运作的前提下,第一应用平台继续执行子业务操作至进程量达标,然后再切换至第二应用平台继续完成新的子业务操作,直至整个业务流程执行完毕。If the business operation process quantity compliance alarm is not received, the first application platform continues to perform the sub-service operation until the process quantity reaches the standard, and then switches to the second application platform to continue to complete the new sub-service operation. Until the entire business process is completed.
进一步地,本申请又一实施例中,步骤S42之后,包括:Further, in another embodiment of the present application, after step S42, the method includes:
S423:记录从第一应用平台切换至第二应用平台的过程数据。S423: Record process data from the first application platform to the second application platform.
本步骤通过实时记录业务流程进行过程中的所有运行数据,以便后续的数据查找,比如出现故障时通过查找数据分析故障原因等。This step records all running data in the process by real-time recording of business processes, so that subsequent data can be searched, for example, by finding data to analyze the cause of the fault when a fault occurs.
S424:按照从前至后的进程时间顺序汇总所述过程数据形成运行文件。S424: The process data is summarized in the chronological order of the processes from the front to the back to form a running file.
本步骤按照从前至后的进程时间顺序汇总了业务操作流程中各应用的运行数据形成运行文件,以便对业务操作流程的匹配合理性、协作流畅度以及完成指定业务的时效性、精准度等进行综合分析评价。本步骤的运行数据包括但不限于运行链接、平台跳转延迟等。This step summarizes the running data of each application in the business operation process in the order of the process time from the front to the back, so as to make the matching of the business operation process reasonable, the smoothness of the cooperation, and the timeliness and precision of the specified service. Comprehensive analysis and evaluation. The operational data of this step includes but is not limited to running links, platform jump delays, and the like.
S425:通过压缩所述运行文件生成业务操作流程对应的数据包。S425: Generate a data packet corresponding to the service operation flow by compressing the running file.
将上述运行数据与对应的指定业务种类的预设业务操作流程,形成匹配的数据包。The running data is matched with the preset business operation flow of the corresponding specified service type to form a matching data packet.
进一步地,本申请又一实施例中,步骤S425之后,包括:Further, in another embodiment of the present application, after step S425, the method includes:
S426:分析完成指定业务中不同的业务操作流程对应的各数据包。S426: Analyze each data packet corresponding to a different service operation process in the specified service.
本实施例在同一指定业务中,存在不同的业务操作流程,比如第一业务操作流程包括从A平台到B平台到C平台再到D平台,以完成指定业务,对应数据包a;第二业务操作流程从A平台到C平台到B平台再到D平台,也可完成指定业务,对应数据包b。In this embodiment, in the same designated service, there are different service operation processes. For example, the first service operation process includes from the A platform to the B platform to the C platform to the D platform, to complete the designated service, corresponding to the data packet a; the second service The operation flow can be completed from the A platform to the C platform to the B platform to the D platform, corresponding to the data packet b.
S427:根据各业务操作流程的对比属性选择所述指定业务的最优化业务操作流程。S427: Select an optimized business operation process of the specified service according to a comparison attribute of each business operation process.
本步骤中的对比属性包括业务操作流程的流畅性、业务完成时效性、业务完成满意度等参数信息,并根据上述参数信息,选择最贴近用户意愿的最优化业务操作流程。The comparison attributes in this step include parameter information such as fluency of the business operation process, timeliness of business completion, and satisfaction of the business completion, and according to the above parameter information, the optimal business operation flow that is closest to the user's intention is selected.
进一步地,步骤S427之后,包括:Further, after step S427, the method includes:
S428:备案各指定业务对应的各最优化业务操作流程以及各最优化业务操作流程中的各应用平台,以形成数据库。S428: Recording each optimized business operation flow corresponding to each specified service and each application platform in each optimized business operation process to form a database.
本步骤通过将指定业务对应的最优化业务操作流程以及各最优化业务操作流程中的各应用平台汇总到同一个文件夹中,并以指定业务名称命名文件夹,各种不同指定业务的文价夹根据不同存储路径形成数据库,以便更有效、更广泛地进行推广应用。本步骤中的指定业务根据用户的行业背景和应用目标进行设定,比如金融行业、交通行业的指定业务具有较大区别,指定为不同的业务类型。In this step, the optimized business operation process corresponding to the specified service and each application platform in each optimized business operation process are summarized into the same folder, and the folder is named with the specified service name, and the price of each specified service is The folder forms a database according to different storage paths, so as to promote and apply more effectively and widely. The specified services in this step are set according to the user's industry background and application goals. For example, the designated services in the financial industry and the transportation industry are quite different, and are designated as different service types.
本申请又一实施例中,步骤S4之后,还包括:In another embodiment of the present application, after step S4, the method further includes:
S5:监控各所述应用平台的数据是否出现异常。S5: Monitor whether data of each application platform is abnormal.
本步骤通过设定监控时间间隔进行指定时间内监控各应用平台的运行状况,或设定实时监控各应用平台的运行状况,以及时发现异常。通过集中监控各整合应用平台的数据,以提高监控效率。This step monitors the running status of each application platform within a specified time interval by setting the monitoring time interval, or sets the real-time monitoring of the running status of each application platform, and finds an abnormality in time. Improve monitoring efficiency by centrally monitoring data across integrated application platforms.
S6:若出现异常,则生成对应的所述应用平台的数据异常报警。S6: If an abnormality occurs, generate a corresponding data abnormality alarm of the application platform.
本步骤在监控到数据异常时,会自动在整合平台的操作页面上生成数据异常报警,提高监控的时效性。In this step, when the data is abnormal, the data abnormality alarm is automatically generated on the operation page of the integration platform to improve the timeliness of the monitoring.
S7:将所述异常报警反馈到对应的所述应用平台。S7: The abnormal alarm is fed back to the corresponding application platform.
本步骤将异常报警反馈回各对应的应用平台,提高监控的针对性。In this step, the abnormal alarm is fed back to each corresponding application platform to improve the pertinence of the monitoring.
本实施例通过各应用平台API整合到同一操作页面形成具有指定功能的整合平台,并通过自动切换应用平台,减少或完全避免了业务操作过程中不同应用平台间的人工切换;通过各应用平台API整合到操作页面,实现在一个操作页面集中实现切换,提高自动化流程的灵活性、集中性;通过匹配先验异常解决方案,实现自动选择优化方案,提高解决异常警报的时效性、流程化;通过在整合的操作页面集中监控各平台数据,并及时生成监控异常预警,提高监控的时效性,提高效率。In this embodiment, the application platform API is integrated into the same operation page to form an integrated platform with designated functions, and the automatic switching of the application platform reduces or completely avoids manual switching between different application platforms during the business operation process; Integration into the operation page, realize switching in one operation page set, improve the flexibility and concentration of the automation process; achieve automatic selection and optimization scheme by matching the prior anomaly solution, improve the timeliness and process of solving the abnormal alarm; Monitor the data of each platform in the integrated operation page, and generate monitoring abnormal warnings in time to improve the timeliness of monitoring and improve efficiency.
参照图2,本申请一实施例的平台整合的装置,包括:Referring to FIG. 2, an apparatus for platform integration according to an embodiment of the present application includes:
第一调用模块1,用于调用业务操作流程中所涉及的各应用平台的应用程序编程接口。The first calling module 1 is used to invoke an application programming interface of each application platform involved in the business operation flow.
本实施例的应用程序编程接口是指整合平台时衔接各整合应用平台的链接方式,本实施通过第一调用模块1调用各应用平台对外开放的应用程序编程接口,以便于各应用平台的功能根据预设业务操作流程自动衔接,无需人力介入,节省人力资源。本实施例的应用程序编程接口是各应用平台与操作页面之间衔接的约定,对于包括较多应用平台的复杂系统,要各应用平台的职责得到合理规划。本实施例通过应用程序编程接口衔接各应用平台,将各应用平台整合至同一操作页面,降低整合平台内各应用平台的相互依赖,提高整合平台的内聚性,降低整合平台的耦合程度,从而方便维护整合平台以及扩展整合平台功能。The application programming interface of the embodiment refers to a link mode for connecting the integrated application platforms when the platform is integrated. The first call module 1 invokes an application programming interface open to each application platform to facilitate the function of each application platform. The preset business operation process is automatically connected, without human intervention, saving human resources. The application programming interface of this embodiment is an agreement between the application platform and the operation page. For a complex system including more application platforms, the responsibility of each application platform is reasonably planned. In this embodiment, the application programming interface is used to connect the application platforms, and the application platforms are integrated into the same operation page, thereby reducing the interdependence of the application platforms in the integration platform, improving the cohesion of the integration platform, and reducing the coupling degree of the integration platform, thereby Convenient maintenance of the integration platform and extension of the integration platform.
写入模块2,用于将各应用平台的所述应用程序编程接口写入操作页面进行整合。The writing module 2 is configured to write the application programming interface of each application platform into an operation page for integration.
本实施例的写入模块2通过各应用平台开放的应用程序编程接口写入同一个操作界面上实现平台整合,使各应用平台布局更集中且不相互依赖干扰,各应用平台在同一个操作页面上,并根据预设的业务操作流程依次自动跳转,即可自动完成完整的业务操作流程,提高自动化流程的灵活性、集中性,以进一步提高业务操作的自动化效率,同时提高业务操作的时序性以及处理效率。The writing module 2 of the embodiment is written on the same operation interface through the application programming interface opened by each application platform to realize platform integration, so that the layout of each application platform is more concentrated and does not depend on each other, and each application platform is on the same operation page. And automatically jump according to the preset business operation flow, which can automatically complete the complete business operation process, improve the flexibility and concentration of the automation process, further improve the automation efficiency of business operations, and improve the timing of business operations. Sex and processing efficiency.
第一生成模块3:在所述操作页面上分别生成各所述应用平台对应的链接图标。The first generation module 3: respectively generate link icons corresponding to the application platforms on the operation page.
通过第一生成模块3生成链接图标将各应用平台显示在操作页面上,以实现各应用平台通过与其相对应的应用程序编程接口整合在同一操作页面上,方便根据业务操作流程集中调用与管控各应用平台。The first generation module 3 generates a link icon to display each application platform on the operation page, so that each application platform is integrated on the same operation page through the corresponding application programming interface, so that it is convenient to centrally call and control according to the business operation process. Application platform.
第二调用模块4,用于当接收到对所述各应用平台中目标应用平台对应的链接图标的操作指令时,通过调用所述目标应用平台的应用程序编程接口,在所述操作页面中进入所述目标应用平台。The second invoking module 4 is configured to enter an operation instruction interface of the target application platform by using an application programming interface of the target application platform when receiving an operation instruction for a link icon corresponding to the target application platform in each application platform. The target application platform.
本实施例的目标应用平台是指业务操作流程中的下一流程对应的应用平台。通过链接图标调用链接图标对应的指定应用平台的应用程序编程接口,实现从当前页面跳转到指定应用平台,方便人工参与维护。The target application platform in this embodiment refers to an application platform corresponding to the next process in the service operation process. The application programming interface of the specified application platform corresponding to the link icon is invoked by the link icon to jump from the current page to the specified application platform, facilitating manual participation in maintenance.
参照图3,本实施例的平台整合的装置的第二调用模块4,包括:Referring to FIG. 3, the second calling module 4 of the platform-integrated device of the embodiment includes:
监控单元40,用于监控所述操作页面的业务操作流程的第一应用平台的进度状态。The monitoring unit 40 is configured to monitor a progress status of the first application platform of the business operation flow of the operation page.
本实施例进度状态包括按照业务操作流程的正常进度状态和异常状态。正常进度状态,比如进展开始、进展中、进展结束等,也可以通过进展百分比表示。上述的进度量通过操作界面上的监控单元40进行实时或定时的监控,以便更好的捕获业务操作流程的进展数据,使自动化的业务操作流程更加流畅。The progress status of this embodiment includes a normal progress state and an abnormal state according to the business operation flow. Normal progress status, such as the beginning of progress, progress, and end of progress, can also be expressed as a percentage of progress. The above-mentioned progress amount is monitored in real time or by the monitoring unit 40 on the operation interface, so as to better capture the progress data of the business operation process and make the automated business operation flow more smooth.
判断单元41,用于判断所述进度状态是否满足从第一应用平台切换至第二应用平台的预设条件。The determining unit 41 is configured to determine whether the progress state meets a preset condition for switching from the first application platform to the second application platform.
比如,本实施例的预设条件包括业务操作流程的进展结束点、接收到业务操作流程中的异常报警时刻或业务操作流程的进度显示为100%。For example, the preset condition of the embodiment includes the progress end point of the business operation flow, the abnormal alarm time in the received business operation flow, or the progress of the business operation flow is displayed as 100%.
切换单元42,用于若满足从第一应用平台切换至第二应用平台的预设条件,则通过调用第二应用平台的应用程序编程接口,从第一应用平台切换至第二应用平台。The switching unit 42 is configured to switch from the first application platform to the second application platform by calling an application programming interface of the second application platform if the preset condition for switching from the first application platform to the second application platform is satisfied.
本实施例通过切换单元42调用第二应用平台的应用程序编程接口,实现从第一应用平台切换至第二应用平台,提升自动跳转的灵活性、流畅性。In this embodiment, the application programming interface of the second application platform is invoked by the switching unit 42 to switch from the first application platform to the second application platform, thereby improving flexibility and fluency of the automatic jump.
参照图4,本实施例的判断单元41,包括:Referring to FIG. 4, the determining unit 41 of this embodiment includes:
第一监听子单元410,用于监听是否接收到第一应用平台的进程异常警报。The first monitoring subunit 410 is configured to monitor whether a process abnormality alarm of the first application platform is received.
本实施例中通过第一监听子单元410监听进程异常报警为进度量,以实现从第一应用平台切换至第二应用平台,通过切换到第二应用平台及时解决第一应用平台的进程异常故障。举例地,在用于特定功能异常诊断过程中,当收到监控超时告警时,切换到ZABBIX应用平台,通过登录ZABBIX查看超时量,进行异常诊断、异常修复或消除,以保证业务操作流程的继续进行,比如根据业务操作流程,查看了超时量后再登录MARIO应用平台查询每分钟请求量以及响应时间,然后再根据业务操作流程,启动ANSIBLE应用平台,以获取到各台主机每个请求处理过程的时间明细数据。上述的业务操作流程包括:通过告警发现关键字异常->统计关联API(Application
Programming Interface,简称:API,应用程序编程接口)的请求量->查询明细日志->判断是否需要重启应用,进而解决异常故障。本实施例通过将解决异常故障所需的应用平台在运维过程中通过各应用平台对外开放的API整合到同一个操作页面上,以在同一个操作页面上及时处理异常故障,提高解决异常故障的流程流畅化以及时效性。In this embodiment, the first monitoring sub-unit 410 monitors the process abnormal alarm as the progress amount, so as to switch from the first application platform to the second application platform, and solve the abnormal process of the first application platform in time by switching to the second application platform. . For example, in the process of using the abnormality of the specific function, when receiving the monitoring timeout alarm, switch to the ZABBIX application platform, check the timeout amount by logging in to ZABBIX, and perform abnormal diagnosis, abnormal repair or elimination to ensure the continuation of the business operation process. For example, according to the business operation process, after checking the timeout amount, log in to the MARIO application platform to query the request amount per minute and the response time, and then start the ANSIBLE application platform according to the business operation flow, to obtain each request processing process of each host. Time detail data. The foregoing service operation process includes: discovering a keyword exception through an alarm->a statistical association API (Application)
Programming Interface (referred to as API, application programming interface) request volume -> query detail log -> determine whether it is necessary to restart the application to solve the abnormal fault. In this embodiment, the application platform required to solve the abnormal fault is integrated into the same operation page through the APIs of the application platform in the operation and maintenance process, so that the abnormal fault is timely processed on the same operation page, and the abnormal fault is solved. Process fluency and timeliness.
第一判定子单元411,用于若接收到第一应用平台的进程异常警报,则判定满足从第一应用平台切换至第二应用平台的预设条件。The first determining sub-unit 411 is configured to determine that the preset condition for switching from the first application platform to the second application platform is satisfied if the process abnormality alarm of the first application platform is received.
本实施例以是否监控到业务操作流程中的异常报警,判断是否切换整合到整合平台上的各应用平台,以满足自动灾备切换、自动异常诊断的功能。In this embodiment, whether the abnormal alarm in the business operation process is monitored or not is determined whether the application platform integrated on the integrated platform is switched to meet the functions of automatic disaster recovery switching and automatic abnormality diagnosis.
第二判定子单元412,用于若未接收到第一应用平台的进程异常警报,则判定不满足从第一应用平台切换至第二应用平台的预设条件。The second determining sub-unit 412 is configured to determine that the preset condition for switching from the first application platform to the second application platform is not satisfied if the process abnormality alarm of the first application platform is not received.
本实施例整合平台中包括异常诊断和灾备切换的功能整合子平台,也包括其他指定业务流程的整合子平台。本实施例的异常诊断和灾备切换的功能整合子平台未接收到业务操作流程中的异常报警,可继续按照预设的业务操作流程,继续切换其他指定业务流程的整合子平台,以完成指定业务操作。本实施例的异常诊断和灾备切换的功能整合子平台接收到业务操作流程中的异常报警,则启动异常诊断和灾备切换的功能整合子平台,并中断其他指定业务流程的整合子平台的正常工作,以便通过异常诊断和灾备切换的功能整合子平台及时修复异常,并在修复异常后自动恢复其他指定业务流程的整合子平台的正常工作。In this embodiment, the integrated platform includes the function integration sub-platform for abnormal diagnosis and disaster recovery switching, and also includes other integrated sub-platforms for specifying the business process. The function integration sub-platform of the abnormality diagnosis and the disaster recovery switching in this embodiment does not receive the abnormal alarm in the business operation flow, and can continue to switch the integration sub-platforms of other specified business processes according to the preset business operation flow to complete the designation. Business operations. The function integration sub-platform of the abnormality diagnosis and the disaster recovery switching of the embodiment receives the abnormal alarm in the business operation flow, starts the function integration sub-platform of the abnormal diagnosis and the disaster recovery switch, and interrupts the integration sub-platform of other specified business processes. Normal work, in order to improve the abnormality through the function integration sub-platform of abnormal diagnosis and disaster recovery switching, and automatically restore the normal work of the integrated sub-platform of other specified business processes after the abnormality is repaired.
参照图5,本实施例的平台整合的装置的第二调用模块4,还包括:Referring to FIG. 5, the second invoking module 4 of the platform-integrated device of the embodiment further includes:
诊断单元420,用于诊断第一应用平台的进程异常警报的故障类型。The diagnosis unit 420 is configured to diagnose a fault type of a process abnormality alarm of the first application platform.
本实施例中以监听到进程异常报警为进度量,且通过诊断单元420接收到的关键字的种类区分故障类型。比如整合平台的故障类型包括事务故障、系统故障和介质故障,并分别设定事务故障、系统故障和介质故障对应的关键字为W、S和M。In this embodiment, the process abnormality alarm is monitored as the progress amount, and the type of the keyword received by the diagnosis unit 420 is used to distinguish the fault type. For example, the fault types of the integrated platform include transaction faults, system faults, and media faults, and the keywords corresponding to transaction faults, system faults, and media faults are W, S, and M, respectively.
匹配单元421,用于根据所述故障类型匹配故障解决方案。The matching unit 421 is configured to match the fault solution according to the fault type.
本实施例中包含有故障解决方案的先验数据库,可根据关键字的种类匹配最佳的故障解决方案,以实现应用层面的流程化、自动化,以及解决方案的优选化。本申请其他实施例中若同时收到两种或两种以上的关键字异常告警,系统会判断两种或两种以上的关键字分别属于哪个应用平台、选择哪种定制好的流程去诊断问题,并最终返回上述两种或两种以上的关键字告警分别对应的诊断结果。本申请其他实施例中在返回上述两种或两种以上的关键字告警分别对应的诊断结果的同时,还自动调用定制好的异常处理方案,根据故障类型的不同,采取不同的恢复策略。In this embodiment, a priori database with a fault solution is included, and the optimal fault solution can be matched according to the type of the keyword, so as to achieve application-level process, automation, and solution optimization. In other embodiments of the present application, if two or more keyword abnormal alarms are simultaneously received, the system determines which application platform the two or more keywords belong to, and selects a customized process to diagnose the problem. And finally returning the diagnosis results corresponding to the above two or more keyword alarms respectively. In other embodiments of the present application, when the diagnosis results corresponding to the two or more keyword alarms are respectively returned, the customized exception processing scheme is automatically invoked, and different recovery strategies are adopted according to different types of faults.
举例地,事务故障表示由非预期的、不正常的程序结束所造成的故障,造成程序非正常结束的原因包括输人数据错误、运算溢出、违反存储保护、并行事务发生死锁等。发生事务故障时,被迫中断的事务可能已对应用平台的数据库进行了修改,为了消除该事务对数据库的影响,要利用日志文件中所记载的信息,强行回滚该事务,将应用平台的数据库恢复到修改前的初始状态。为此要检查日志文件中由事务所引起的发生变化的记录,取消没有完成的事务所做的改变。事务故障的恢复操作称为事务撤销,具体做法如下:1)反向扫描日志文件,查找该事务的更新操作。2)对该事务的更新操作执行反操作,即对已经插入的新记录进行删除操作,对己删除的记录进行插入操作,对修改的数据恢复旧值,用旧值代替新值,由后向前逐个扫描该事务已做的所有更新操作,并采取同样的处理方式,直到扫描到此事务的开始标记,事务故障恢复完毕为止。For example, a transaction failure indicates a failure caused by an unexpected, abnormal program end, and the cause of the abnormal termination of the program includes input data error, operation overflow, violation of storage protection, deadlock of parallel transaction, and the like. In the event of a transaction failure, the transaction that was forced to interrupt may have modified the database of the application platform. In order to eliminate the impact of the transaction on the database, the information recorded in the log file is used to forcefully roll back the transaction, and the application platform is The database is restored to its original state before modification. To do this, check the records in the log file that have changed by the firm, and cancel the changes made by the unfinished firm. The transaction recovery operation is called transaction revocation, as follows: 1) Reverse scan the log file to find the update operation of the transaction. 2) Perform an inverse operation on the update operation of the transaction, that is, delete the new record that has been inserted, insert the deleted record, restore the old value to the modified data, replace the new value with the old value, and Scan all the update operations that the transaction has done one by one, and take the same processing until the start tag of this transaction is scanned, and the transaction failure is restored.
再举例地,系统故障及其恢复系统故障是指系统在运行过程中,由于某种原因造成系统停止运转,致使所有正在运行的事务都以非正常方式终止,要求系统重新启动。引起系统故障的原因可能有硬件错误(如CPU故障、操作系统)或代码错误、突然断电等。系统故障会导致内存中数据库缓冲区的内容全部丢失,虽然存储在外部存储设备上的数据库并未破坏,但其内容的可靠性较差。系统故障发生后,或许导致一些未完成事务对数据库的更新已写入数据库,可通过在系统重新启动后,强行撤销所有未完成的事务,清除事务对数据库所做的修改。或许导致已提交的事务对数据库的更新结果还保留在缓冲区中,尚未写到磁盘上的物理数据库中,导致数据库处于不一致状态,因此应将事务已提交的结果重新写入数据库。系统故障的恢复要完成两方面的工作,既要撤销所有末完成的事务,还要重做所有已提交的事务,具体做法如下:1)正向扫描日志文件,查找尚未提交的事务,将其事务标识记人撤销队列,同时查找已经提交的事务,将其事务标识记入重做队列。2)对撤销队列中的各个事务进行撤销处理。3)对重做队列中的各个事务进行重做处理。进行重做处理的方法是正向扫描日志文件,按照日志文件中所登记的操作内容,重新执行操作,使数据库恢复到最近某个可用状态。系统发生故障后,由于无法确定哪些末完成的事务已更新过数据库,哪些事务的提交结果尚未写入数据库,因此系统重新启动后,就要撤销所有的末完成的事务,重做所有的已经提交的事务。通常采用设立检查点的方法来判断事务是否正常结束,比如每隔一段时间,例如5分钟,系统就产生一个检查点,把仍保留在日志缓冲区中的内容写到日志文件中;在日志文件中写一个“检查点记录”;把数据库缓冲区中的内容写到数据库中,即把更新的内容写到物理数据库中;把日志文件中检查点记录的地址写到“重新启动文件”中。在重新启动时,恢复管理程序先从“重新启动文件”中获得检查点记录的地址,从日志文件中找到该检查点记录的内容,就能决定哪些事务需要撤销并恢复到初始的状态,哪些事务需要重做。For example, a system failure and its recovery system failure means that the system stops running due to some reason during the operation of the system, causing all running transactions to terminate in an abnormal manner, requiring the system to restart. The cause of the system failure may be a hardware error (such as a CPU failure, operating system) or code error, sudden power failure, and so on. A system failure causes all the contents of the database buffer in the memory to be lost. Although the database stored on the external storage device is not destroyed, the reliability of the content is poor. After a system failure occurs, it may cause some outstanding transactions to update the database to the database. After the system is restarted, all unfinished transactions are forcibly revoked, and the changes made to the database by the transaction are cleared. It may cause the result of the update of the committed transaction to the database to remain in the buffer and not yet written to the physical database on the disk, causing the database to be in an inconsistent state, so the result of the transaction commit should be rewritten to the database. Recovery of system failures must complete two aspects of work, both to cancel all completed transactions, and to redo all committed transactions, as follows: 1) Forward scan log files, find unsubmitted transactions, and The transaction identifier is used to undo the queue, and at the same time, it finds the committed transaction and records its transaction identifier in the redo queue. 2) Undo the processing of each transaction in the undo queue. 3) Redo processing each transaction in the redo queue. The method of redo processing is to forward scan the log file, and re-execute the operation according to the operation contents registered in the log file to restore the database to a recent available state. After a system failure, because it is impossible to determine which completed transactions have been updated, and which commits have not yet been written to the database, after the system restarts, all completed transactions are revoked, and all committed commits are redone. Business. Usually, the method of setting up a checkpoint is used to judge whether the transaction ends normally. For example, every time, for example, 5 minutes, the system generates a checkpoint, and writes the content still in the log buffer to the log file; in the log file Write a "checkpoint record"; write the contents of the database buffer to the database, that is, write the updated content to the physical database; write the address of the checkpoint record in the log file to the "restart file". On reboot, the recovery manager first obtains the address of the checkpoint record from the "restart file", and finds the contents of the checkpoint record from the log file to determine which transactions need to be undone and restored to the initial state, which The transaction needs to be redone.
再举例地,介质故障及其恢复介质故障是指系统在运行过程中,由于辅助存储器介质受到破坏,使存储在外存中的数据部分或全部丢失,为最严重的一种故障,破坏性很大,磁盘上的物理数据和日志文件可能被破坏,需要装入发生介质故障前最新的后备数据库副本,然后利用日志文件重做该副本后所运行的所有事务。具体方法如下:1)装入最新的数据库副本,使数据库恢复到最近一次转储时的可用状态。2)装入最新的日志文件副本,根据日志文件中的内容重做已完成的事务。首先扫描日志文件,找出故障发生时己提交的事务,将其记入重做队列。然后正向扫描日志文件,对重做队列中的各个事务进行重做处理,方法是正向扫描日志文件,对每个重做事务重新执行登记的操作,即将日志记录中“更新后的值”写入数据库。For example, the medium failure and the recovery medium failure refer to that the auxiliary storage medium is damaged during the operation, and the data stored in the external storage is partially or completely lost, which is the most serious failure and is highly destructive. The physical data and log files on the disk may be corrupted, requiring the most recent backup database copy before the media failure to occur, and then redoing all transactions running after the copy. The specific method is as follows: 1) Load the latest database copy to restore the database to the available state at the time of the most recent dump. 2) Load the latest copy of the log file and redo the completed transaction according to the contents of the log file. First scan the log file to find out the transaction that was committed when the failure occurred and record it in the redo queue. Then, the log file is forwardly scanned, and each transaction in the redo queue is redone processed by scanning the log file forward and re-executing the registration operation for each redo transaction, that is, writing the "updated value" in the log record. Into the database.
确定单元422,用于根据所述解决方案确定指定应用平台为第二应用平台。The determining unit 422 is configured to determine, according to the solution, that the specified application platform is the second application platform.
根据先验数据库中的处理流程,通过确定单元422确定指定的具有排除当前故障作用的第二应用平台。举例地,根据事务故障的先验数据,调用具有扫描功用的应用平台,以反向扫描日志文件,查找该事务的更新操作;然后调用具有恢复功用的应用平台,以执行对已经插入的新记录进行删除操作,对己删除的记录进行插入操作,对修改的数据恢复旧值,用旧值代替新值,直至故障恢复完毕。Based on the processing flow in the a priori database, the determination unit 422 determines the designated second application platform having the effect of eliminating the current fault. For example, according to the a priori data of the transaction failure, the application platform with the scanning function is invoked to scan the log file in reverse to find the update operation of the transaction; then, the application platform with the recovery function is called to execute the new record that has been inserted. Perform the delete operation, insert the deleted record, restore the old value to the modified data, and replace the new value with the old value until the fault is recovered.
参照图6,本申请另一实施例的平台整合的装置,包括:Referring to FIG. 6, an apparatus for platform integration according to another embodiment of the present application includes:
设计模块10,用于设计操作页面的业务操作流程。The design module 10 is used to design a business operation flow of the operation page.
本实施例首先根据操作业务的实现过程,通过设计模块10设计操作页面的业务操作流程,以实现完成指定业务的流程自动化。In this embodiment, the business operation flow of the operation page is designed by the design module 10 according to the implementation process of the operation service, so as to realize the process automation of the specified service.
筛选模块11,用于根据所述业务操作流程筛选所需的各应用平台。The screening module 11 is configured to filter each application platform required according to the business operation process.
筛选模块11根据业务流程筛选业务操作中涉及的各应用平台,本实施例中的各应用平台均具有开放的API,以便将各应用平台根据设计模块10预先设计的业务操作流程整合到一个操作页面上,以减少业务进行过程中不同应用平台间的人为切换,提高业务操作的自动化效率。The screening module 11 filters each application platform involved in the business operation according to the business process. Each application platform in this embodiment has an open API, so that each application platform is integrated into an operation page according to the pre-designed business operation process of the design module 10. In order to reduce the manual switching between different application platforms during the business process, the automation efficiency of business operations is improved.
本实施例的整合平台API可用来分配内存或访问文件,本实施例的API包括函数、常量、变量以及数据结构,可实现快速执行切换的指令。本实施例的API 由一个或多个提供某种指定特殊功能的 DLL 组成(Dynamic Link Library,动态链接库文件),整合平台上运行的任何应用平台都可调用的API的函数。整合平台运行时DLL 中的函数动态地链接到调用它的应用平台中,但无论有几个应用平台调用
DLL 中的某个函数,在磁盘上只有一个文件包含该函数,且只在调入内存时才创建该 DLL。The integrated platform API of this embodiment can be used to allocate memory or access files. The API of this embodiment includes functions, constants, variables, and data structures, and can implement instructions for quickly performing switching. The API of this embodiment is composed of one or more DLLs (Dynamic Link Library) that provide some specified special functions, and functions of APIs that can be called by any application platform running on the integration platform. The function in the integration platform runtime DLL is dynamically linked to the application platform that called it, but there are several application platform calls.
A function in a DLL that has only one file on the disk that contains the function and only creates the DLL when it is loaded into memory.
参照图7,本申请再一实施例的判断单元41,包括:Referring to FIG. 7, the determining unit 41 of another embodiment of the present application includes:
第二监听子单元413,用于监听是否接收到第一应用平台的进程完成警报。The second monitoring sub-unit 413 is configured to monitor whether a process completion alarm of the first application platform is received.
本实施例通过第二监听子单元413监听到的进程完成度是否达到预期为平台切换的进度条件,以实现从第一应用平台切换到第二应用平台,以逐步完成一项业务操作。举例地,业务操作为生成系统日常巡检报告,以便及时发现并解决问题,以确保整合平台的操作系统运行正常的业务操作,首先通过API将各需要巡检的应用平台整合到操作页面上形成生成系统日常巡检报告的整合平台,比如,将各应用平台按照业务流程依次整合到操作页面后,在同一个操作页面上按照业务操作流程依次自动跳转到各应用平台并逐步完成业务内容。比如完成自动巡检和生成日常巡检报告,包括巡检用户登录平台->巡检收发信平台->巡检内外网解析平台->巡检剩余地址空间->巡检网络访问->巡检备份执行情况->巡检存储剩余空间。本申请其他实施例中,可通过业务操作过程中所涉及的各个应用平台通过API整合到一个操作页面上形成具有其他功用的整合平台,各应用平台经API整合后更具有灵活性,实现不同功能业务操作的自动化进行,比如可实现资源自动扩容、系统异常自愈、监控自动生成、应急启停等业务操作流程。In this embodiment, whether the process completion degree monitored by the second monitoring sub-unit 413 reaches the expected progress condition of the platform switching, so as to switch from the first application platform to the second application platform to gradually complete a service operation. For example, the business operation is to generate a daily inspection report of the system, so as to discover and solve the problem in time to ensure that the operating system of the integrated platform runs normally. First, the application platform that needs to be inspected is integrated into the operation page through an API. The integration platform for generating the daily inspection report of the system, for example, after the application platforms are sequentially integrated into the operation page according to the business process, automatically jump to the application platforms and gradually complete the business content according to the business operation flow on the same operation page. For example, complete automatic inspection and generate daily inspection reports, including inspection user login platform->patrol inspection and reception platform->patrol internal and external network analysis platform->patrol residual address space->patrol network access->patrol inspection Backup execution -> patrol storage remaining space. In other embodiments of the present application, each application platform involved in the business operation process can be integrated into an operation page through an API to form an integration platform having other functions, and each application platform is more flexible and realizes different functions through API integration. The automation of business operations, such as automatic resource expansion, system abnormal self-healing, automatic monitoring and monitoring, emergency start and stop, and other business operations.
第三判定子单元414,用于若接收到第一应用平台的进程完成警报,则判定满足从第一应用平台切换至第二应用平台的预设条件。The third determining sub-unit 414 is configured to determine that the preset condition for switching from the first application platform to the second application platform is satisfied if the process of receiving the first application platform completes the alarm.
本实施例以监控到业务操作进程量是否达标,判断是否切换整合到整合平台上的各应用平台,以满足自动完成业务操作。In this embodiment, it is determined whether the amount of the business operation process is up to standard, and whether the application platform integrated on the integrated platform is switched to meet the automatic completion of the business operation.
第四判定子单元415,用于若未接收到第一应用平台的进程完成警报,则判定不满足从第一应用平台切换至第二应用平台的预设条件。The fourth determining sub-unit 415 is configured to determine that the preset condition for switching from the first application platform to the second application platform is not satisfied if the process that does not receive the process of the first application platform completes the alarm.
若未接收到业务操作进程量达标警报,则在整合平台正运作的前提下,第一应用平台继续执行子业务操作至进程量达标,然后再切换至第二应用平台继续完成新的子业务操作,直至整个业务流程执行完毕。If the business operation process quantity compliance alarm is not received, the first application platform continues to perform the sub-service operation until the process quantity reaches the standard, and then switches to the second application platform to continue to complete the new sub-service operation. Until the entire business process is completed.
参照图8,本申请又一实施例的平台整合的装置的第二调用模块4,包括:Referring to FIG. 8, a second invoking module 4 of the platform-integrated device of another embodiment of the present application includes:
记录单元423,用于记录从第一应用平台切换至第二应用平台的过程数据。The recording unit 423 is configured to record process data that is switched from the first application platform to the second application platform.
本实施例通过记录单元423实时记录业务流程进行过程中的所有运行数据,以便后续的数据查找,比如出现故障时通过查找数据分析故障原因等。In this embodiment, all the running data in the process of the business process is recorded in real time by the recording unit 423, so as to perform subsequent data searching, for example, analyzing the fault cause by finding data when a fault occurs.
汇总单元424:用于按照从前至后的进程时间顺序汇总所述过程数据形成运行文件。The summary unit 424 is configured to summarize the process data in a chronological order from the front to the back to form a running file.
本实施例通过汇总单元424按照从前至后的进程时间顺序汇总了业务操作流程中各应用的运行数据形成运行文件,以便对业务操作流程的匹配合理性、协作流畅度以及完成指定业务的时效性、精准度等进行综合分析评价。本实施例的运行数据包括但不限于运行链接、平台跳转延迟等。In this embodiment, the summary unit 424 summarizes the running data of each application in the business operation flow according to the process time sequence from front to back to form a running file, so as to match the rationality of the business operation process, the cooperation fluency, and the timeliness of completing the specified service. Comprehensive analysis and evaluation. The operational data of this embodiment includes, but is not limited to, a running link, a platform jump delay, and the like.
生成单元425,用于通过压缩所述运行文件生成业务操作流程对应的数据包。The generating unit 425 is configured to generate a data packet corresponding to the service operation flow by compressing the running file.
将上述运行数据与对应的指定业务种类的预设业务操作流程,通过生成单元425形成匹配的数据包。The running data and the corresponding preset service operation flow of the specified service type are formed by the generating unit 425 to form a matching data packet.
参照图9,本申请又一实施例的平台整合的装置的第二调用模块4,包括:Referring to FIG. 9, a second invoking module 4 of the platform-integrated device of another embodiment of the present application includes:
分析单元426,用于分析完成指定业务中不同的业务操作流程对应的各数据包。The analyzing unit 426 is configured to analyze each data packet corresponding to a different service operation process in the specified service.
本实施例在同一指定业务中,存在不同的业务操作流程,比如第一业务操作流程包括从A平台到B平台到C平台再到D平台,以完成指定业务,对应数据包a;第二业务操作流程从A平台到C平台到B平台再到D平台,也可完成指定业务,对应数据包b。In this embodiment, in the same designated service, there are different service operation processes. For example, the first service operation process includes from the A platform to the B platform to the C platform to the D platform, to complete the designated service, corresponding to the data packet a; the second service The operation flow can be completed from the A platform to the C platform to the B platform to the D platform, corresponding to the data packet b.
选择单元427,用于根据各业务操作流程的对比属性选择所述指定业务的最优化业务操作流程。The selecting unit 427 is configured to select an optimized business operation flow of the specified service according to a comparison attribute of each business operation flow.
本实施例的对比属性包括业务操作流程的流畅性、业务完成时效性、业务完成满意度等参数信息,并根据上述参数信息,通过选择单元427选择最贴近用户意愿的最优化业务操作流程。The comparison attribute of the embodiment includes parameter information such as fluency of the business operation flow, timeliness of business completion, satisfaction of the business completion, and the like, and according to the parameter information, the selection unit 427 selects an optimization business operation flow that is closest to the user's intention.
进一步地,本实施例的平台整合的装置的第二调用模块4,包括:Further, the second calling module 4 of the platform-integrated device of the embodiment includes:
备案单元428,用于备案各指定业务对应的各最优化业务操作流程以及各最优化业务操作流程中的各应用平台,以形成数据库。The filing unit 428 is configured to record each optimized business operation flow corresponding to each specified service and each application platform in each optimized business operation process to form a database.
本实施例通过备案单元428将指定业务对应的最优化业务操作流程以及各最优化业务操作流程中的各应用平台汇总到同一个文件夹中,并以指定业务名称命名文件夹,各种不同指定业务的价夹根据不同存储路径形成数据库,以便更有效、更广泛地进行推广应用。本实施例中的指定业务根据用户的行业背景和应用目标进行设定,比如金融行业、交通行业的指定业务具有较大区别,指定为不同的业务类型。In this embodiment, the filing unit 428 summarizes the optimized business operation flow corresponding to the specified service and each application platform in each optimized business operation flow into the same folder, and names the folder with the specified service name, and various different designations. The price tag of the business forms a database according to different storage paths, so that it can be promoted and applied more effectively and widely. The specified service in this embodiment is set according to the user's industry background and application goals. For example, the designated services in the financial industry and the transportation industry have a large difference, and are designated as different service types.
参照图10,本申请又一实施例的平台整合的装置,还包括:Referring to FIG. 10, an apparatus for platform integration in still another embodiment of the present application further includes:
监控模块5,用于监控各所述应用平台的数据是否出现异常。The monitoring module 5 is configured to monitor whether data of each of the application platforms is abnormal.
本实施例通过监控模块5设定监控时间间隔进行指定时间内监控各应用平台的运行状况,或设定实时监控各应用平台的运行状况,以及时发现异常。通过集中监控各整合应用平台的数据,以提高监控效率。In this embodiment, the monitoring module 5 sets the monitoring time interval to monitor the running status of each application platform within a specified time, or sets the real-time monitoring of the running status of each application platform, and finds an abnormality in time. Improve monitoring efficiency by centrally monitoring data across integrated application platforms.
第二生成模块6,用于若各所述应用平台的数据出现异常,则生成对应的所述应用平台的数据异常报警。The second generation module 6 is configured to generate a data abnormality alarm of the corresponding application platform if an abnormality occurs in data of each application platform.
本实施例在监控到数据异常时,会自动在整合平台的操作页面上通过第二生成模块6生成数据异常报警,提高监控的时效性。In this embodiment, when the data abnormality is monitored, the data generation abnormality alarm is automatically generated by the second generation module 6 on the operation page of the integration platform, thereby improving the timeliness of the monitoring.
反馈模块7,用于将所述异常报警反馈到对应的所述应用平台。The feedback module 7 is configured to feed back the abnormal alarm to the corresponding application platform.
本实施例将异常报警通过反馈模块7反馈回各对应的应用平台,提高监控的针对性。In this embodiment, the abnormal alarm is fed back to each corresponding application platform through the feedback module 7, thereby improving the pertinence of the monitoring.
参照图11,本申请实施例中还提供一种计算机设备,该计算机设备可以是服务器,其内部结构可以如图11所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设计的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机可读指令和数据库。该内存器为非易失性存储介质中的操作系统和计算机可读指令的运行提供环境。该计算机设备的数据库用于存储平台整合等数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机可读指令在执行时,执行如上述各方法的实施例的流程。本领域技术人员可以理解,图11中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定。Referring to FIG. 11, a computer device is provided in the embodiment of the present application. The computer device may be a server, and its internal structure may be as shown in FIG. 11. The computer device includes a processor, memory, network interface, and database connected by a system bus. Among them, the computer designed processor is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium, an internal memory. The non-volatile storage medium stores an operating system, computer readable instructions, and a database. The memory provides an environment for the operation of operating systems and computer readable instructions in a non-volatile storage medium. The database of the computer device is used to store data such as platform integration. The network interface of the computer device is used to communicate with an external terminal via a network connection. The computer readable instructions, when executed, perform the flow of an embodiment of the methods described above. Those skilled in the art can understand that the structure shown in FIG. 11 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation of the computer device to which the solution of the present application is applied.
本申请一实施例还提供一种计算机非易失性可读存储介质,其上存储有计算机可读指令,该计算机可读指令在执行时,执行如上述各方法的实施例的流程。以上所述仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。An embodiment of the present application also provides a computer non-volatile readable storage medium having stored thereon computer readable instructions that, when executed, perform the processes of the embodiments of the methods described above. The above description is only the preferred embodiment of the present application, and is not intended to limit the scope of the patent application, and the equivalent structure or equivalent process transformations made by the specification and the drawings of the present application, or directly or indirectly applied to other related The technical field is equally included in the scope of patent protection of the present application.
Claims (20)
- 一种平台整合的方法,其特征在于,包括:A method for platform integration, characterized in that it comprises:调用业务操作流程中所涉及的各应用平台的应用程序编程接口;Invoking an application programming interface of each application platform involved in the business operation process;将各应用平台的所述应用程序编程接口写入操作页面进行整合;Writing the application programming interface of each application platform to an operation page for integration;在所述操作页面上分别生成各应用平台对应的链接图标;Generating a link icon corresponding to each application platform on the operation page;当接收到对所述各应用平台中目标应用平台对应的链接图标的操作指令时,通过调用所述目标应用平台的应用程序编程接口,在所述操作页面中进入所述目标应用平台。When the operation instruction of the link icon corresponding to the target application platform in each application platform is received, the target application platform is entered in the operation page by calling an application programming interface of the target application platform.
- 根据权利要求1所述的平台整合的方法,其特征在于,所述当接收到对所述各应用平台中目标应用平台对应的链接图标的操作指令时,通过调用所述目标应用平台的应用程序编程接口,在所述操作页面中进入所述目标应用平台的步骤,包括:The platform integration method according to claim 1, wherein the application of the target application platform is invoked when receiving an operation instruction for a link icon corresponding to the target application platform in each application platform a programming interface, the step of entering the target application platform in the operation page, including:监控所述操作页面的业务操作流程的第一应用平台的进度状态;Monitoring a progress status of the first application platform of the business operation flow of the operation page;判断所述进度状态是否满足从所述第一应用平台切换至第二应用平台的预设条件;Determining whether the progress status satisfies a preset condition for switching from the first application platform to the second application platform;若满足,则通过调用所述第二应用平台的应用程序编程接口,从所述第一应用平台切换至所述第二应用平台。If so, switching from the first application platform to the second application platform by calling an application programming interface of the second application platform.
- 根据权利要求2所述的平台整合的方法,其特征在于,所述判断所述进度状态是否满足从所述第一应用平台切换至第二应用平台的预设条件的步骤,包括:The method of platform integration according to claim 2, wherein the step of determining whether the progress state meets a preset condition for switching from the first application platform to the second application platform comprises:监听是否接收到所述第一应用平台的进程异常警报;Monitoring whether a process abnormality alarm of the first application platform is received;若接收到,则判定满足从所述第一应用平台切换至所述第二应用平台的预设条件;If yes, determining that a preset condition for switching from the first application platform to the second application platform is satisfied;若未接收到,则判定不满足从所述第一应用平台切换至所述第二应用平台的预设条件。If not received, it is determined that the preset condition for switching from the first application platform to the second application platform is not satisfied.
- 根据权利要求3所述的平台整合的方法,其特征在于,所述通过调用所述第二应用平台的应用程序编程接口,从所述第一应用平台切换至所述第二应用平台的步骤之前,包括:The method for platform integration according to claim 3, wherein the step of switching from the first application platform to the second application platform is performed by calling an application programming interface of the second application platform ,include:诊断所述第一应用平台的进程异常警报的故障类型;Diagnosing a fault type of a process abnormality alarm of the first application platform;根据所述故障类型匹配故障解决方案;Matching the fault solution according to the fault type;根据所述解决方案确定指定应用平台为所述第二应用平台。Determining, according to the solution, that the designated application platform is the second application platform.
- 根据权利要求2所述的平台整合的方法,其特征在于,所述判断所述进度状态是否满足从所述第一应用平台切换至第二应用平台的预设条件的步骤,还包括:The method of platform integration according to claim 2, wherein the step of determining whether the progress state meets a preset condition for switching from the first application platform to the second application platform further comprises:监听是否接收到所述第一应用平台的进程完成警报;Monitoring whether a process completion alarm of the first application platform is received;若接收到,则判定满足从所述第一应用平台切换至所述第二应用平台的预设条件;If yes, determining that a preset condition for switching from the first application platform to the second application platform is satisfied;若未接收到,则判定不满足从所述第一应用平台切换至所述第二应用平台的预设条件。If not received, it is determined that the preset condition for switching from the first application platform to the second application platform is not satisfied.
- 根据权利要求5所述的平台整合的方法,其特征在于,所述通过调用所述第二应用平台的应用程序编程接口,从所述第一应用平台切换至所述第二应用平台的步骤之后,包括:The method for platform integration according to claim 5, wherein the step of switching from the first application platform to the second application platform is performed by calling an application programming interface of the second application platform ,include:记录从所述第一应用平台切换至所述第二应用平台的过程数据;Recording process data from the first application platform to the second application platform;按照从前至后的进程时间顺序汇总所述过程数据形成运行文件;The process data is summarized in a chronological order of processes from front to back to form a running file;通过压缩所述运行文件生成所述业务操作流程对应的数据包。Generating a data packet corresponding to the business operation flow by compressing the running file.
- 根据权利要求6所述的平台整合的方法,其特征在于,所述通过压缩所述运行文件生成所述业务操作流程对应的数据包的步骤之后,包括:The method of platform integration according to claim 6, wherein the step of generating the data packet corresponding to the service operation flow by compressing the running file comprises:分析完成指定业务中不同的所述业务操作流程对应的各数据包;Analyze each data packet corresponding to the different service operation processes in the specified service;根据各所述业务操作流程的对比属性选择所述指定业务的最优化业务操作流程。Selecting an optimized business operation process of the specified service according to a comparison attribute of each of the business operation processes.
- 一种平台整合的装置,其特征在于,包括:A platform integrated device, comprising:第一调用模块,用于调用业务操作流程中所涉及的各应用平台的应用程序编程接口;a first calling module, configured to invoke an application programming interface of each application platform involved in the business operation process;写入模块,用于将各应用平台的所述应用程序编程接口写入操作页面进行整合;a writing module, configured to write the application programming interface of each application platform into an operation page for integration;第一生成模块,用于在所述操作页面上分别生成的各所述应用平台对应的链接图标。The first generation module is configured to generate a link icon corresponding to each of the application platforms respectively on the operation page.第二调用模块,用于当接收到对所述各应用平台中目标应用平台对应的链接图标的操作指令时,通过调用所述目标应用平台的应用程序编程接口,在所述操作页面中进入所述目标应用平台。a second calling module, configured to: when receiving an operation instruction of a link icon corresponding to the target application platform in each application platform, by calling an application programming interface of the target application platform, entering the operation page The target application platform.
- 根据权利要求8所述的平台整合的装置,其特征在于,所述当接收到对所述各应用平台中目标应用平台对应的链接图标的操作指令时,通过调用所述目标应用平台的应用程序编程接口,所述第二调用模块,包括:The apparatus for platform integration according to claim 8, wherein the application of the target application platform is invoked when receiving an operation instruction for a link icon corresponding to the target application platform in each application platform a programming interface, the second calling module, comprising:监控单元,用于监控所述操作页面的业务操作流程的第一应用平台的进度状态;a monitoring unit, configured to monitor a progress status of the first application platform of the business operation process of the operation page;判断单元,用于判断所述进度状态是否满足从所述第一应用平台切换至第二应用平台的预设条件;a determining unit, configured to determine whether the progress status meets a preset condition for switching from the first application platform to the second application platform;切换单元,用于若满足从第一应用平台切换至第二应用平台的预设条件,则通过调用所述第二应用平台的应用程序编程接口,从所述第一应用平台切换至所述第二应用平台。a switching unit, configured to switch from the first application platform to the first application platform by calling an application programming interface of the second application platform if a preset condition for switching from the first application platform to the second application platform is satisfied Two application platforms.
- 根据权利要求9所述的平台整合的装置,其特征在于,所述判断单元,包括:The apparatus for platform integration according to claim 9, wherein the determining unit comprises:第一监听子单元,用于监听是否接收到所述第一应用平台的进程异常警报;a first monitoring subunit, configured to monitor whether a process abnormality alarm of the first application platform is received;第一判定子单元,用于若接收到第一应用平台的进程异常警报,则判定满足从所述第一应用平台切换至所述第二应用平台的预设条件;a first determining subunit, configured to determine that a preset condition for switching from the first application platform to the second application platform is satisfied if a process abnormality alarm of the first application platform is received;第二判定子单元,用于若未接收到第一应用平台的进程异常警报,则判定不满足从所述第一应用平台切换至所述第二应用平台的预设条件。The second determining subunit is configured to determine that the preset condition for switching from the first application platform to the second application platform is not satisfied if the process abnormality alarm of the first application platform is not received.
- 根据权利要求10所述的平台整合的装置,其特征在于,所述第二调用模块,包括:The apparatus for platform integration according to claim 10, wherein the second calling module comprises:诊断单元,用于诊断所述第一应用平台的进程异常警报的故障类型;a diagnosis unit, configured to diagnose a fault type of a process abnormal alarm of the first application platform;匹配单元,用于根据所述故障类型匹配故障解决方案;a matching unit, configured to match the fault solution according to the fault type;确定单元,用于根据所述解决方案确定指定应用平台为所述第二应用平台。And a determining unit, configured to determine, according to the solution, that the specified application platform is the second application platform.
- 根据权利要求9所述的平台整合的装置,其特征在于,所述判断单元,还包括:The apparatus for platform integration according to claim 9, wherein the determining unit further comprises:第二监听子单元,用于监听是否接收到所述第一应用平台的进程完成警报;a second monitoring subunit, configured to monitor whether a process completion alarm of the first application platform is received;第三判定子单元,用于若接收到第一应用平台的进程完成警报,则判定满足从所述第一应用平台切换至所述第二应用平台的预设条件;a third determining subunit, configured to determine that a preset condition for switching from the first application platform to the second application platform is satisfied if a process completion alarm is received by the first application platform;第四判定子单元,用于若未接收到第一应用平台的进程完成警报,则判定不满足从所述第一应用平台切换至所述第二应用平台的预设条件。And a fourth determining subunit, configured to determine that the preset condition for switching from the first application platform to the second application platform is not satisfied if the process that does not receive the first application platform completes the alarm.
- 根据权利要求12所述的平台整合的装置,其特征在于,所述第二调用模块,包括:The apparatus for platform integration according to claim 12, wherein the second calling module comprises:记录单元,用于记录从所述第一应用平台切换至所述第二应用平台的过程数据;a recording unit, configured to record process data that is switched from the first application platform to the second application platform;汇总单元:用于按照从前至后的进程时间顺序汇总所述过程数据形成运行文件;Aggregation unit: used to summarize the process data in a chronological order of processes from front to back to form a running file;生成单元,用于通过压缩所述运行文件生成所述业务操作流程对应的数据包。And a generating unit, configured to generate a data packet corresponding to the service operation flow by compressing the running file.
- 根据权利要求13所述的平台整合的装置,其特征在于,所述第二调用模块,包括:The apparatus for platform integration according to claim 13, wherein the second calling module comprises:分析单元,用于分析完成指定业务中不同的所述业务操作流程对应的各数据包;An analyzing unit, configured to analyze each data packet corresponding to the different service operation processes in the specified service;选择单元,用于根据各所述业务操作流程的对比属性选择所述指定业务的最优化业务操作流程。And a selecting unit, configured to select an optimized business operation process of the specified service according to a comparison attribute of each of the business operation processes.
- 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机可读指令,其特征在于,所述处理器执行所述计算机可读指令时实现平台整合的方法,该平台整合的方法,包括:A computer device comprising a memory and a processor, the memory storing computer readable instructions, wherein the processor implements platform integration when the computer readable instructions are executed, and the platform integration method comprises :调用业务操作流程中所涉及的各应用平台的应用程序编程接口;Invoking an application programming interface of each application platform involved in the business operation process;将各应用平台的所述应用程序编程接口写入操作页面进行整合;Writing the application programming interface of each application platform to an operation page for integration;在所述操作页面上分别生成各应用平台对应的链接图标;Generating a link icon corresponding to each application platform on the operation page;当接收到对所述各应用平台中目标应用平台对应的链接图标的操作指令时,通过调用所述目标应用平台的应用程序编程接口,在所述操作页面中进入所述目标应用平台。When the operation instruction of the link icon corresponding to the target application platform in each application platform is received, the target application platform is entered in the operation page by calling an application programming interface of the target application platform.
- 根据权利要求15所述的计算机设备,其特征在于,所述当接收到对所述各应用平台中目标应用平台对应的链接图标的操作指令时,通过调用所述目标应用平台的应用程序编程接口,在所述操作页面中进入所述目标应用平台的步骤,包括:The computer device according to claim 15, wherein the application programming interface of the target application platform is invoked when receiving an operation instruction for a link icon corresponding to the target application platform in each application platform And the step of entering the target application platform in the operation page, including:监控所述操作页面的业务操作流程的第一应用平台的进度状态;Monitoring a progress status of the first application platform of the business operation flow of the operation page;判断所述进度状态是否满足从所述第一应用平台切换至第二应用平台的预设条件;Determining whether the progress status satisfies a preset condition for switching from the first application platform to the second application platform;若满足,则通过调用所述第二应用平台的应用程序编程接口,从所述第一应用平台切换至所述第二应用平台。If so, switching from the first application platform to the second application platform by calling an application programming interface of the second application platform.
- 根据权利要求16所述的计算机设备,其特征在于,所述判断所述进度状态是否满足从所述第一应用平台切换至第二应用平台的预设条件的步骤,包括:The computer device according to claim 16, wherein the step of determining whether the progress state meets a preset condition for switching from the first application platform to the second application platform comprises:监听是否接收到所述第一应用平台的进程异常警报;Monitoring whether a process abnormality alarm of the first application platform is received;若接收到,则判定满足从所述第一应用平台切换至所述第二应用平台的预设条件;If yes, determining that a preset condition for switching from the first application platform to the second application platform is satisfied;若未接收到,则判定不满足从所述第一应用平台切换至所述第二应用平台的预设条件。If not received, it is determined that the preset condition for switching from the first application platform to the second application platform is not satisfied.
- 一种计算机非易失性可读存储介质,其上存储有计算机可读指令,其特征在于,所述计算机可读指令被处理器执行时实现平台整合的方法,该平台整合的方法,包括:A computer non-volatile readable storage medium having stored thereon computer readable instructions, wherein the computer readable instructions are implemented by a processor to implement platform integration, and the platform integration method comprises:调用业务操作流程中所涉及的各应用平台的应用程序编程接口;Invoking an application programming interface of each application platform involved in the business operation process;将各应用平台的所述应用程序编程接口写入操作页面进行整合;Writing the application programming interface of each application platform to an operation page for integration;在所述操作页面上分别生成各应用平台对应的链接图标;Generating a link icon corresponding to each application platform on the operation page;当接收到对所述各应用平台中目标应用平台对应的链接图标的操作指令时,通过调用所述目标应用平台的应用程序编程接口,在所述操作页面中进入所述目标应用平台。When the operation instruction of the link icon corresponding to the target application platform in each application platform is received, the target application platform is entered in the operation page by calling an application programming interface of the target application platform.
- 根据权利要求18所述的计算机非易失性可读存储介质,其特征在于,所述当接收到对所述各应用平台中目标应用平台对应的链接图标的操作指令时,通过调用所述目标应用平台的应用程序编程接口,在所述操作页面中进入所述目标应用平台的步骤,包括:The computer non-volatile readable storage medium according to claim 18, wherein said calling said target by receiving an operation instruction for a link icon corresponding to a target application platform in said each application platform An application programming interface of the application platform, the steps of entering the target application platform in the operation page, including:监控所述操作页面的业务操作流程的第一应用平台的进度状态;Monitoring a progress status of the first application platform of the business operation flow of the operation page;判断所述进度状态是否满足从所述第一应用平台切换至第二应用平台的预设条件;Determining whether the progress status satisfies a preset condition for switching from the first application platform to the second application platform;若满足,则通过调用所述第二应用平台的应用程序编程接口,从所述第一应用平台切换至所述第二应用平台。If so, switching from the first application platform to the second application platform by calling an application programming interface of the second application platform.
- 根据权利要求19所述的计算机非易失性可读存储介质,其特征在于,所述判断所述进度状态是否满足从所述第一应用平台切换至第二应用平台的预设条件的步骤,包括:The computer non-volatile readable storage medium according to claim 19, wherein said step of determining whether said progress state satisfies a preset condition for switching from said first application platform to said second application platform, include:监听是否接收到所述第一应用平台的进程异常警报;Monitoring whether a process abnormality alarm of the first application platform is received;若接收到,则判定满足从所述第一应用平台切换至所述第二应用平台的预设条件;If yes, determining that a preset condition for switching from the first application platform to the second application platform is satisfied;若未接收到,则判定不满足从所述第一应用平台切换至所述第二应用平台的预设条件。If not received, it is determined that the preset condition for switching from the first application platform to the second application platform is not satisfied.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810316736.8A CN108804239B (en) | 2018-04-10 | 2018-04-10 | Platform integration method and device, computer equipment and storage medium |
CN201810316736.8 | 2018-04-10 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019196227A1 true WO2019196227A1 (en) | 2019-10-17 |
Family
ID=64095490
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/095495 WO2019196227A1 (en) | 2018-04-10 | 2018-07-12 | Platform integration method and apparatus, and computer device and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108804239B (en) |
WO (1) | WO2019196227A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113806169A (en) * | 2021-09-03 | 2021-12-17 | 郑州阿帕斯数云信息科技有限公司 | Service exception processing method and device |
CN115695277A (en) * | 2022-09-21 | 2023-02-03 | 中银金融科技有限公司 | Service request monitoring method and system |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109542538A (en) * | 2018-11-22 | 2019-03-29 | 郑州云海信息技术有限公司 | A kind of management subsystem method and system |
US11481268B2 (en) | 2020-08-03 | 2022-10-25 | International Business Machines Corporation | Blockchain management of provisioning failures |
CN116208472B (en) * | 2023-02-28 | 2024-12-31 | 中国工商银行股份有限公司 | Site switching method, device, computer equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104123059A (en) * | 2013-04-26 | 2014-10-29 | 华茂云天科技(北京)有限公司 | Cloud computing management system based on web desktop system |
CN106990966A (en) * | 2017-03-31 | 2017-07-28 | 中国科学技术大学苏州研究院 | Mobile terminal cross-platform Development Framework and development approach based on front end frame |
US9727375B1 (en) * | 2012-06-19 | 2017-08-08 | Google Inc. | Systems and methods for run time migration |
CN107423198A (en) * | 2017-07-10 | 2017-12-01 | 中核核电运行管理有限公司 | A kind of EAM platform monitorings management method and system |
CN107577459A (en) * | 2017-08-21 | 2018-01-12 | 杰为软件系统(深圳)有限公司 | A kind of towed cross-platform development system and method based on modularization |
CN107679061A (en) * | 2017-07-26 | 2018-02-09 | 上海壹账通金融科技有限公司 | Mix APP page navigation method, device, terminal and storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106230987B (en) * | 2016-09-21 | 2019-09-13 | 南方电网科学研究院有限责任公司 | An information integration system and method based on electric power PaaS cloud platform |
CN106506215A (en) * | 2016-11-11 | 2017-03-15 | 郑州云海信息技术有限公司 | An automated operation and maintenance system based on CMDB |
-
2018
- 2018-04-10 CN CN201810316736.8A patent/CN108804239B/en active Active
- 2018-07-12 WO PCT/CN2018/095495 patent/WO2019196227A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9727375B1 (en) * | 2012-06-19 | 2017-08-08 | Google Inc. | Systems and methods for run time migration |
CN104123059A (en) * | 2013-04-26 | 2014-10-29 | 华茂云天科技(北京)有限公司 | Cloud computing management system based on web desktop system |
CN106990966A (en) * | 2017-03-31 | 2017-07-28 | 中国科学技术大学苏州研究院 | Mobile terminal cross-platform Development Framework and development approach based on front end frame |
CN107423198A (en) * | 2017-07-10 | 2017-12-01 | 中核核电运行管理有限公司 | A kind of EAM platform monitorings management method and system |
CN107679061A (en) * | 2017-07-26 | 2018-02-09 | 上海壹账通金融科技有限公司 | Mix APP page navigation method, device, terminal and storage medium |
CN107577459A (en) * | 2017-08-21 | 2018-01-12 | 杰为软件系统(深圳)有限公司 | A kind of towed cross-platform development system and method based on modularization |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113806169A (en) * | 2021-09-03 | 2021-12-17 | 郑州阿帕斯数云信息科技有限公司 | Service exception processing method and device |
CN115695277A (en) * | 2022-09-21 | 2023-02-03 | 中银金融科技有限公司 | Service request monitoring method and system |
Also Published As
Publication number | Publication date |
---|---|
CN108804239B (en) | 2022-10-18 |
CN108804239A (en) | 2018-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019196227A1 (en) | Platform integration method and apparatus, and computer device and storage medium | |
US8126848B2 (en) | Automated method for identifying and repairing logical data discrepancies between database replicas in a database cluster | |
US8762929B2 (en) | System and method for exclusion of inconsistent objects from lifecycle management processes | |
US9396052B2 (en) | Periodic validation and health reports of disaster recovery plan | |
KR102072726B1 (en) | Systems and methods for supporting inline delegation of middle-tier transaction logs to database | |
US20150317221A1 (en) | Comprehensive error management capabilities for disaster recovery operations | |
US20130145371A1 (en) | Batch processing of business objects | |
WO2017063520A1 (en) | Method and apparatus for operating database | |
JPH0683841A (en) | Work flow management system and method | |
US20090119645A1 (en) | System for boundary trace with reproduction facility | |
US7047441B1 (en) | Recovery guarantees for general multi-tier applications | |
US20130117238A1 (en) | Oracle rewind: metadata-driven undo | |
CN103559245A (en) | Distributed transaction committing failure handling method, device and system | |
JPH0836513A (en) | Data management method and restoration method of data-management error | |
US7861239B2 (en) | Data migration between versions of software | |
CN111563002B (en) | Transaction fault processing method and device, electronic equipment and storage medium | |
US6959401B2 (en) | Recovery guarantees for software components | |
WO2020253045A1 (en) | Configured supplementary processing method and device for data of which forwarding has abnormality, and readable storage medium | |
US20070168967A1 (en) | Method and computer program product for testing a software application | |
CN110795447A (en) | Data processing method, data processing system, electronic device, and medium | |
US6092084A (en) | One system of a multisystem environment taking over log entries owned by another system | |
US6076095A (en) | Method of one system of a multisystem environment taking over log entries owned by another system | |
CN112749156B (en) | Data processing method, database management system and data processing device | |
US12407622B2 (en) | Estimating a time to recover an application stack from a primary region to a standby region | |
US12367078B2 (en) | Performing a recovery drill for an application stack using a recovery protection group |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18914238 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22.01.2021) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18914238 Country of ref document: EP Kind code of ref document: A1 |