Business circulation method and system based on open source gap, and storage medium

By adopting open source Hongmeng-based business flow method in terminal devices, monitoring and transferring data processing abnormal events to secure terminal devices, the problem of low efficiency in business recovery and data recovery in the existing technology is solved, and fast and secure business flow and recovery processing is achieved.

CN119520222AActive Publication Date: 2025-02-25深圳开鸿数字产业发展有限公司
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411683039.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-22
Publication Date
2025-02-25
Estimated Expiration
2044-11-22

AI Technical Summary

Technical Problem

In the prior art, business recovery and data recovery are inefficient, and the recovery process is complex, making it difficult to deal with data processing abnormal events in terminal devices in a timely manner.

Method used

The service flow method based on open source Hongmeng is adopted to monitor whether a data processing abnormal event occurs in the terminal device. If it occurs, a service flow request is sent to the second terminal device, and the second terminal device is used to recover the data processing abnormal event.

Benefits of technology

It realizes that when a terminal device encounters an abnormal data processing event, the service flow is quickly transferred and recovery processing is carried out, which improves the efficiency of service recovery and data recovery and ensures the security of data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119520222A_ABST
    Figure CN119520222A_ABST
Patent Text Reader

Abstract

The invention discloses a business circulation method and system based on an open source gap, and a storage medium. The method comprises the following steps: monitoring whether an abnormal event of data processing occurs in a system of first terminal equipment or not; if the abnormal event of data processing occurs, sending a service flow request to a second terminal device, so that the second terminal device recovers the abnormal event of data processing occurring in the first terminal device according to the received service flow request; the first terminal equipment and the second terminal equipment are terminal equipment based on a swan-gap distributed soft bus. According to the method and the system provided by the invention, by utilizing the design of the swan Mongolian distributed soft bus, when a data processing abnormal event occurs in the system of the first terminal device, the data processing event is transferred to another terminal device for authentication security to be processed, so that the service recovery and data recovery efficiency is improved while the data processing security is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the fields of computer science and information technology, and in particular to a business flow method, system and storage medium based on open source Hongmeng. Background Art

[0002] In the current network environment, terminal devices may be disturbed by external factors, resulting in business interruption and data loss. The recovery methods used in the prior art are generally restored through backup, professional data recovery software or cloud services, but the above recovery methods are not only complicated in steps, but also depend on the severity of the situation and available resources, so the recovery efficiency is low.

[0003] Therefore, the methods in the prior art need to be further improved. Summary of the invention

[0004] In view of the shortcomings in the above-mentioned related technologies, the purpose of the present invention is to provide a business flow method, system and storage medium based on open source Hongmeng, so as to overcome the defects of low efficiency of business recovery and data recovery in the prior art.

[0005] The technical solution adopted by the present invention to solve the technical problem is as follows: In a first aspect, this embodiment discloses a service flow method based on open source Hongmeng, which is applied to a first terminal device and includes: Monitor whether abnormal data processing events occur in the terminal system; If an abnormal event in data processing occurs, a service transfer request is sent to the second terminal device, so that the second terminal device can recover the abnormal event in data processing that occurred in the first terminal device according to the received service transfer request; the first terminal device and the second terminal device are both terminal devices based on the Hongmeng distributed soft bus.

[0006] Optionally, before the step of sending the service transfer request to the second terminal device, the step further includes: Obtaining device authentication information of the second terminal device; According to the device authentication information, identity authentication, authority allocation and access log recording operations are respectively performed on the second terminal device, and according to the verification results of identity authentication, authority allocation and access log recording, it is determined whether the second terminal device is a verified secure terminal.

[0007] Optionally, the step of monitoring whether an abnormal event of data processing occurs in the terminal system includes: Obtain the operating status and performance indicators of the terminal system in real time; Analyze the operating status and performance indicators to determine whether an abnormal operating status or abnormal performance indicator event occurs; If an abnormal operation status or performance indicator event occurs, the log file is read to determine whether it is an abnormal event in data processing.

[0008] Optionally, the business flow request contains the business type and processing event information corresponding to the abnormal event of data processing; the second terminal device responds to the business flow request, obtains the business type and abnormal event information corresponding to the abnormal event of data processing, and obtains the data information required for processing the abnormal event according to the abnormal event information, so as to implement recovery processing of the data processing abnormal event.

[0009] In the second aspect, a business flow method based on open source Hongmeng, including: The first terminal device monitors whether an abnormal event of data processing occurs in the system of the terminal; If the first terminal device monitors an abnormal event of data processing in the system of the terminal, it sends a service flow request to the second terminal device; wherein the first terminal device and the second terminal device are both terminal devices based on the Hongmeng distributed soft bus; The second terminal device recovers the data processing abnormal event occurring in the first terminal device according to the received service transfer request.

[0010] Optionally, the step of the second terminal device restoring the service flow interruption event occurring in the first terminal device according to the received restoration request includes: The second terminal device responds to the recovery request and determines the service type and abnormal event information corresponding to the data processing abnormal event according to the recovery request; Acquire the data information required to handle abnormal events based on business type and abnormal event information; Recover and process abnormal events based on the acquired data information.

[0011] Optionally, after the second terminal device executes the service flow recovery event, the method further includes: The second terminal device obtains the hardware status and software configuration of the first terminal device, and determines the fault cause of the abnormal event of data processing in the first terminal device according to the hardware status and software configuration.

[0012] In a third aspect, a business circulation system based on open source Hongmeng, comprising a first terminal device and a second terminal device; The first terminal device monitors whether an abnormal event of data processing occurs in the terminal system; if an abnormal event of data processing occurs, a service flow request is sent to the second terminal device; The second terminal device recovers the abnormal event of data processing occurring in the first terminal device according to the received service flow request.

[0013] Optionally, the first terminal device further includes a security authentication module; The security authentication module is used to obtain device authentication information of the second terminal device, and perform identity authentication, authority allocation and access log recording operations on the second terminal device according to the device authentication information, and determine whether the second terminal device is a verified secure terminal based on the verification results of the identity authentication, authority allocation and access log recording.

[0014] In the fourth aspect, a computer storage medium is provided, wherein a business flow program based on open source Hongmeng is stored on the computer-readable storage medium, and when the business flow program based on open source Hongmeng is executed by a processor, the steps of the business flow method based on open source Hongmeng are implemented.

[0015] Beneficial effects: This embodiment discloses a business flow method, system and storage medium based on open source Hongmeng, which monitors whether an abnormal data processing event occurs in the system of the first terminal device; if an abnormal data processing event occurs, a business flow request is sent to the second terminal device, so that the second terminal device recovers the abnormal data processing event that occurred in the first terminal device according to the received business flow request; the first terminal device and the second terminal device are both terminal devices based on the Hongmeng distributed soft bus. The method and system of this embodiment, using the design of the Hongmeng distributed soft bus, can realize business flow between multiple devices when an abnormal data processing event occurs in the system of the first terminal device, and transfer the data processing event to another authenticated and secure terminal device for processing, so as to ensure the security of data processing while improving the efficiency of business recovery and data recovery. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 This is a flowchart of the steps of the device control method based on open source Hongmeng in an embodiment of the present invention; Figure 2 This is a system architecture diagram of the open source Hongmeng in an embodiment of the present invention; Figure 3 A system architecture diagram of a device control system in an embodiment of the present invention; Figure 4 It is a flowchart of the steps in the specific application implementation of the device control method in an embodiment of the present invention. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0018] In the prior art, when using terminal devices, they often encounter abnormal data processing events, such as data transmission failure when outputting data. When encountering data transmission failure, the terminal device usually restarts data processing to restore the service. When storing data, abnormal events may also be data leakage events. When encountering data leakage events, the security system of the terminal device may be in an attacked state. Therefore, in order to avoid more losses caused by the above abnormal events, it is necessary to handle the above events in a timely manner to restore normal system operation and information maintenance.

[0019] However, traditional data recovery methods often require diagnosing the cause of the fault first, locating the fault point by analyzing the cause of the fault, performing recovery operations on the fault point, and testing to determine whether the fault point has returned to normal after the recovery operation. When the system returns to normal, the data processing corresponding to the abnormal event is restored. Therefore, it can be seen that the data processing recovery method in the prior art has cumbersome steps, and when the data processing of an abnormal event is urgent, it cannot be processed in time, and the rapid recovery of data processing in the terminal system cannot be ensured, and the losses caused by the abnormal event cannot be avoided as quickly as possible.

[0020] Open Source Hongmeng is an open source distributed operating system that can provide a unified software platform for various devices. Since the various functions and services of the system are divided into independent service units, the operating system is more flexible and efficient. The modular development method can achieve more efficient development and management of system functions and services, while the service-oriented architecture also promotes the reusability and composability of the system. The distributed operating system based on the Hongmeng operating system can realize distributed collaboration of multiple devices to achieve rapid response to abnormal events in the system.

[0021] In order to overcome the problem of low efficiency in handling abnormal events of data processing in the prior art, the present invention discloses a business flow method, system and storage medium based on open source Hongmeng, which monitors whether an abnormal event of data processing occurs in the system of the first terminal device; if an abnormal event of data processing occurs, a business flow request is sent to the second terminal device, so that the second terminal device can recover the abnormal event of data processing occurring in the first terminal device according to the received business flow request; the first terminal device and the second terminal device are both terminal devices based on the Hongmeng distributed soft bus. The method and system of this embodiment, using the design of the Hongmeng distributed soft bus, can realize that when an abnormal event of data processing occurs in the system of the first terminal device, the event of data processing is transferred to another secure terminal device for processing, so as to ensure the security of data processing while improving the efficiency of business recovery and data recovery, thereby realizing a rapid response to abnormal events.

[0022] The following is a further explanation of a business flow method, system and storage medium based on open source Hongmeng disclosed in this embodiment in conjunction with the accompanying drawings.

[0023] like Figure 1 As shown, this embodiment discloses a service flow method based on open source Hongmeng, which is applied to a first terminal device. The service flow method includes: Step S1: monitor whether abnormal events of data processing occur in the terminal system.

[0024] The first terminal device and the second terminal device in this step are both open source Hongmeng. Since open source Hongmeng (openharmony) adopts a layered hierarchical design, it can realize the business flow between multiple devices. Figure 2 As shown, the open source Hongmeng consists of the kernel layer, system service layer, application framework layer and application layer from bottom to top. This hierarchical design enables the open source Hongmeng to adapt to the needs of different devices, and can tailor or add corresponding subsystems or functions according to actual needs in multi-device deployment scenarios.

[0025] Combination Figure 3As shown, the Hongmeng distributed soft bus is located in the system service layer 10 of the open source Hongmeng. The system service layer is equipped with components such as distributed task scheduling 110, distributed data management 120, distributed soft bus 130 and multi-language runtime subsystem 140. The above components together constitute the basic capability system set of the open source Hongmeng, which provides basic support for the operation, scheduling and migration of distributed applications on multiple devices. Specifically, distributed task scheduling is used to execute tasks on multiple nodes to achieve high-performance task scheduling; distributed data management is used to manage the access, consistency and completeness of data in a distributed environment, involving synchronization of data across different locations; the distributed soft bus is used to shield the protocol differences of various devices to achieve discovery, connection and communication between devices; the multi-language runtime subsystem is used to support the compilation and operation of multiple programming languages, thereby supporting multiple languages.

[0026] Based on the above-mentioned distributed task scheduling, distributed data management and distributed soft bus settings in the open source Hongmeng, when an abnormal event occurs in the first terminal device and business processing cannot be carried out normally, the business flow that needs to be processed can be transferred to the second terminal device for processing based on the above-mentioned distributed layout, thereby improving the efficiency of business processing.

[0027] The first terminal device and the second terminal device may be Hongmeng-enabled devices with communication and information processing functions, such as smartphones, tablets, or computers. If multi-device collaboration is established between Hongmeng devices through a distributed soft bus, multiple Hongmeng devices need to be connected to the same local area network. Therefore, if the business flow between Hongmeng devices is to be realized, the device information of multiple Hongmeng devices connected to the same local area network is first obtained in this step to obtain a device list consisting of these Hongmeng devices. The device information included in the device list may be a device name, a device type, and / or a device icon, or other device-related information. Among them, the device type is a mobile phone, a computer, or a tablet, the device name may be the name of the device when it leaves the factory or the name modified by the user, and the device icon may be an icon corresponding to the device type. Each Hongmeng device logs in to the same device account, so that when a business processing exception occurs on the first terminal, another Hongmeng device that has established multi-device collaboration with the Hongmeng device can obtain the data corresponding to the business processing exception in a timely manner and handle the abnormal event in a timely manner.

[0028] During the specific implementation of this step, the first terminal device monitors in real time whether abnormal events of data processing occur in the system. Abnormal events of data processing may include: interruption, error or slowdown of data processing task operation, inability of the console to display data information, or abnormal reporting of data processing results, or data loss and other events. The first terminal device may set up an abnormal monitoring module to obtain the running status information of the data processing, and compare the data contained in the obtained running status information with the data of the normal running status, and determine whether an abnormal event of data processing occurs according to the comparison result.

[0029] In detail, the step of monitoring whether an abnormal event of data processing occurs in the terminal system in this step includes: Step S11: Acquire the operating status and performance indicators of the terminal system in real time.

[0030] If the first terminal device monitors abnormal events by setting an abnormal monitoring module, the abnormal monitoring module is connected to each hardware module or processor to obtain the operating status and performance indicators of the first terminal system in real time. The operating status includes the network connection status of the device, the signal strength corresponding to the network connection status of the device, the CPU usage rate and memory usage rate of the device, the remaining space of the device, the power, the temperature of the device, account information, fault information, etc. The performance indicators include: hardware performance indicators, communication capability performance indicators (network communication capability, information reception and reflection capability, data processing capability and data storage capability), security performance indicators (including encryption chips and hardware layer security protection, etc.), business processing data performance indicators or environmental performance indicators (adaptability to temperature and humidity or adaptability to noise and temperature).

[0031] Step S12: Analyze the operating status and performance indicators to determine whether an abnormal operating status or abnormal performance indicator event occurs.

[0032] After the above-mentioned operation status and performance indicators are obtained, the above-mentioned operation status and performance indicators are analyzed, and each state data and each performance indicator data are compared with the data during normal operation in turn, and it is analyzed whether an abnormal operation status or abnormal performance indicator event occurs. Specifically, the standard values ​​of each state data and each performance indicator data during normal operation of the device are stored inside the first terminal device, and the abnormality monitoring module can obtain the standard values ​​of each state data and each performance indicator data stored inside the system from the first terminal device, or if the first terminal device does not contain the above-mentioned standard value information, the abnormality monitoring module can also obtain the above-mentioned standard value information from other terminal devices, thereby realizing the analysis of the operation status and performance indicators, and determining whether an abnormal operation status or abnormal performance indicator event occurs in the system.

[0033] Step S13: If an abnormal operation state or abnormal performance index event occurs, the log file is read to determine whether it is an abnormal event of data processing according to the log file.

[0034] If it is determined that an abnormal operating state or abnormal performance indicator event has occurred in the system of the first terminal device, the log file corresponding to the abnormal event can be obtained to determine whether it is an abnormal event in data processing based on the information recorded in the log file.

[0035] Specifically, abnormal events of data processing include: thread interruption, timeout, error or other abnormal situations of data processing.

[0036] In another embodiment, the method for judging whether an abnormal event of data processing has occurred can also be implemented by a trained abnormal event judgment model. The acquired state data of the current first terminal device is input into the abnormal event judgment model, and the received state data is analyzed by the abnormal event judgment model to determine whether an abnormal event has occurred. Specifically, the abnormal event judgment model is trained based on historical state data corresponding to a large number of terminal devices in abnormal events.

[0037] Step S2: If an abnormal event in data processing occurs, a service transfer request is sent to the second terminal device, so that the second terminal device can recover the abnormal event in data processing occurring in the first terminal device according to the received service transfer request; the first terminal device and the second terminal device are both terminal devices based on the Hongmeng distributed soft bus.

[0038] When it is determined in step S1 that an abnormal event of data processing occurs in the first terminal device, the first terminal device first performs security verification on the second terminal device which is also open source Hongmeng. When the second terminal device passes the security verification, a service transfer request is sent to the second terminal device so as to use the secure second terminal device to handle the abnormal event. Specifically, the first terminal device can only transfer the service where the abnormal event occurs to the second terminal device, or transfer all the remaining unfinished services to the second terminal device and use the second terminal device to handle the services.

[0039] If the first terminal device detects that an abnormal event in data processing has occurred within its system, it controls the sending of a business flow request to the second terminal device, so that the second terminal device can continue to process the event that could not be processed within its system, thereby realizing the processing of data information as quickly as possible, avoiding delays in information processing due to the abnormality occurring within the first terminal device.

[0040] Furthermore, since an abnormal data processing event occurs in the first terminal device, it means that the first terminal device may be under attack, which may cause security risks to the information stored in the first terminal device. Therefore, when the first terminal device sends a service transfer request to the second terminal device, it is necessary to determine that the second terminal device is a security authenticated device to avoid the same abnormal data processing event in the second terminal device, which may cause the data information to be unable to be processed normally. Therefore, before the step of sending the service transfer request to the second terminal device, it includes: obtaining device authentication information of the second terminal device; performing identity authentication, authority allocation and access log recording operations on the second terminal device according to the device authentication information, and determining whether the second terminal device is a verified secure terminal according to the verification results of the identity authentication, authority allocation and access log recording.

[0041] Before the first terminal device sends a service transfer request to the second terminal device, the second terminal device is also subjected to device security authentication, and the device authentication information of the second terminal device is obtained. According to the device authentication information, identity authentication, authority allocation and access log recording operations are performed in sequence, and it is determined whether the second terminal device is a secure terminal device according to the results of the above authentication operations. The device authentication information includes: device identification and key, device information and corresponding key, digital certificate, etc. The device identity authentication, device authority allocation and access log recording are implemented through the above content to obtain the verification result. When there is no problem with the above verification, it is determined that the second terminal device is a secure device.

[0042] Furthermore, the business flow request contains the business type and processing event information corresponding to the abnormal event of data processing; the second terminal device responds to the business flow request, obtains the business type and abnormal event information corresponding to the abnormal event of data processing, and obtains the data information required for processing the abnormal event according to the abnormal event information, so as to realize the recovery processing of the data processing abnormal event.

[0043] When the second terminal device receives the service transfer request, it obtains information corresponding to the abnormal event based on the service transfer request, such as the service type corresponding to the abnormal event and the event information required to process the event. The service type corresponding to the abnormal event may be data transmission interruption, data leakage, or data processing error.

[0044] After the second terminal device receives the business transfer request, it needs to first determine whether the system has the function of processing the business. If the current system has the function of processing the business, it sets the time node and priority for processing the business to execute the corresponding business processing, and monitors the business processing status in real time, and adjusts any problems that may arise during business processing. If an abnormality still occurs, it adjusts the task allocation or time node in real time, or transmits the business processing to other terminal devices for processing, so as to achieve timely processing of abnormal events.

[0045] Specifically, when the second terminal device receives a business transfer request, it can also evaluate the risk of processing the business corresponding to the business transfer request to determine whether there is a potential risk or a situation where it cannot be processed normally. If there is a potential risk to the second terminal device or the second terminal device is unable to handle the business transfer request normally, it can be proposed to switch to other terminal devices for processing or issue an alarm to avoid affecting the second terminal device.

[0046] After processing the service transfer request, the second terminal may also test and verify the processed service to ensure that the abnormal event has been processed. The test and verification may be a functional test, a security test, and the like.

[0047] This embodiment discloses a business flow method based on open source Hongmeng on the basis of the above-mentioned business flow system. Figure 4 As shown, the method includes: Step H1, the first terminal device monitors whether an abnormal event of data processing occurs in the system of the terminal; If the first terminal device monitors that an abnormal event in data processing occurs in the system of the terminal, a service transfer request is sent to the second terminal device; wherein, both the first terminal device and the second terminal device are terminal devices based on the Hongmeng distributed soft bus.

[0048] In specific implementation, the first terminal device may be equipped with a service recovery controller, and the service recovery controller is used to perform control operations related to service flow. First, the service recovery controller is used to monitor the terminal device status in real time, monitor the operating status of the terminal device, and determine whether it is illegally invaded or attacked, or whether the terminal device is damaged, so as to affect information security. If the above situation occurs, step H2 is executed. Furthermore, the first terminal device can analyze the monitoring data of the terminal, predict the risk of abnormal events that may currently exist in the terminal, and then take corresponding protective measures.

[0049] Specifically, the network traffic of the terminal device is monitored, or the application is monitored, or the terminal is GPS-located to collect the corresponding data information of the terminal. The collected data information is compared with the historical data information of the terminal, and the predicted data of the above data of the terminal in the next preset time is analyzed, and the difference between the predicted data and the monitored data is determined, and the risk level is determined according to the difference.

[0050] When analyzing the prediction data, a risk prediction model can be established, and the historical data collected by the terminal device under normal working conditions and the historical data of abnormal events can be input into the preset network model for training, so that the trained prediction network model can identify the status data under abnormal events based on the input data. Suitable prediction models may include: hidden Markov model, regression analysis model or time series analysis model, etc. When conducting data training, the historically collected network traffic monitoring data, the monitoring data collected by monitoring the application, and the location data obtained by GPS positioning of the terminal are normalized, spliced ​​and input into the preset network model, and the preset network model is trained to output the prediction results, and the parameters of the prediction model are corrected according to the actual data collected recently, so as to obtain the trained prediction model.

[0051] On the basis of establishing a prediction model to predict and analyze risks, the prediction model can also be optimized according to actual conditions to improve the prediction model's ability to predict abnormal events. Specifically, the prediction model can be regularly updated and optimized based on the data collected in the recent period, or the received data can be regularly analyzed to improve the quality of the data in the data set for training the model, so as to improve the prediction ability of the prediction model.

[0052] Step H2: The second terminal device recovers the abnormal data processing event occurring in the first terminal device according to the received service transfer request.

[0053] The business recovery controller is used to trigger the business flow, and the business flow being processed on the first terminal device is transferred to the second terminal device, so as to realize the recovery of the data processing abnormal event through the second terminal device.

[0054] Furthermore, the step of the second terminal device restoring the interruption event of the service flow occurring in the first terminal device according to the received restoration request includes: Step H21: The second terminal device responds to the recovery request and determines the service type and abnormal event information corresponding to the data processing abnormal event according to the recovery request.

[0055] Step H22: Acquire data information required for processing abnormal events based on the business type and abnormal event information.

[0056] Step H23: recover the abnormal event according to the acquired data information.

[0057] Since the second terminal device needs to know the relevant information of the data processing abnormal event to be recovered in order to realize the recovery of the abnormal event, the second terminal device needs to respond to the recovery request after receiving the recovery request, and obtain the service type and abnormal event information related to the abnormal event. After obtaining the service type and the corresponding data information, the abnormal event is recovered based on the data information and the service type.

[0058] Furthermore, after the second terminal device executes the service flow recovery event, the method further includes: The second terminal device obtains the hardware status and software configuration of the first terminal device, and determines the fault cause of the abnormal data processing event in the first terminal device according to the hardware status and software configuration.

[0059] When the second terminal device completes processing the transferred business, it can also obtain the hardware status and software configuration of the first terminal device to analyze the cause of the abnormal event in the first terminal device, so as to restore the normal operation of the first terminal device more quickly. The step of the second terminal device obtaining the hardware status of the first terminal device can be to send a hardware status query instruction to the first terminal device, and the first terminal device uses its own system to view hardware information such as CPU, memory and hard disk, and can also use command line tools to obtain hardware information. The acquisition of software configuration can be achieved by viewing the version information of the operating system and the installed software, as well as the running status of the software, and can also query the log information and analyze the log information to obtain the cause of the failure.

[0060] This embodiment provides a fast and secure method for business flow between terminals, especially business flow between risky terminals and safe terminals, which is applicable to various scenarios where it is necessary to deal with terminal devices being attacked by hackers, such as enterprise networks, personal devices, etc.

[0061] In addition, based on the disclosure of the above-mentioned business flow method, this embodiment also discloses a business flow system based on open source Hongmeng, which includes a first terminal device and a second terminal device.

[0062] The first terminal device monitors whether an abnormal event of data processing occurs in the terminal system; if an abnormal event of data processing occurs, a service flow request is sent to the second terminal device.

[0063] The second terminal device recovers the abnormal event of data processing occurring in the first terminal device according to the received service flow request.

[0064] Furthermore, the first terminal system also includes a security authentication module; the security authentication module is used to obtain device authentication information of the second terminal device, and perform identity authentication, authority allocation and access log recording operations on the second terminal device according to the device authentication information, and determine whether the second terminal device is a verified secure terminal based on the verification results of identity authentication, authority allocation and access log recording.

[0065] Furthermore, the step of monitoring whether an abnormal event of data processing occurs in the terminal system includes: Obtain the operating status and performance indicators of the terminal system in real time; Analyze the operating status and performance indicators to determine whether an abnormal operating status or abnormal performance indicator event occurs; If an abnormal operation status or performance indicator event occurs, the log file is read to determine whether it is an abnormal event in data processing.

[0066] Furthermore, the business flow request contains the business type and processing event information corresponding to the abnormal event of data processing; the second terminal device responds to the business flow request, obtains the business type and abnormal event information corresponding to the abnormal event of data processing, and obtains the data information required for processing the abnormal event according to the abnormal event information, so as to realize the recovery processing of the data processing abnormal event.

[0067] Furthermore, the second terminal device includes: a recovery processing module; The recovery processing module is used to respond to the recovery request, determine the business type and abnormal event information corresponding to the data processing abnormal event according to the recovery request; obtain the data information required to process the abnormal event based on the business type and abnormal event information; and perform recovery processing on the abnormal event according to the acquired data information.

[0068] Further, the second terminal device includes: a fault detection module; The fault detection module is used to obtain the hardware status and software configuration of the first terminal device, and determine the fault cause of the data processing abnormal event in the first terminal device according to the hardware status and software configuration.

[0069] This embodiment discloses a computer storage medium, wherein a business flow control program based on open source Hongmeng is stored on the computer-readable storage medium, and when the business flow control program based on open source Hongmeng is executed by a processor, the steps of the business flow method based on open source Hongmeng are implemented.

[0070] The method and system of this embodiment provide a business flow method when a data processing anomaly occurs in a terminal device, which is particularly suitable for scenarios where business is processed when encountering external attacks. The system of the terminal device in this embodiment is the Harmony operating system. Through the distributed operating system of Harmony, rapid transfer and recovery of business can be achieved, thereby ensuring the continuity and security of the terminal device business.

[0071] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0072] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application.

Claims

1. A business flow method based on open source Hongmeng, characterized in that: Applied to the first terminal device, including: Monitor whether abnormal data processing events occur in the terminal system; If an abnormal event in data processing occurs, a service transfer request is sent to the second terminal device, so that the second terminal device can recover the abnormal event in data processing that occurred in the first terminal device according to the received service transfer request; the first terminal device and the second terminal device are both terminal devices based on the Hongmeng distributed soft bus.

2. The business flow method based on open source Hongmeng according to claim 1 is characterized in that: Before the step of sending the service transfer request to the second terminal device, the method further includes: Obtaining device authentication information of the second terminal device; According to the device authentication information, identity authentication, authority allocation and access log recording operations are respectively performed on the second terminal device, and according to the verification results of identity authentication, authority allocation and access log recording, it is determined whether the second terminal device is a verified secure terminal.

3. The business flow method based on open source Hongmeng according to claim 1 is characterized in that: The step of monitoring whether an abnormal event of data processing occurs in the terminal system comprises: Obtain the operating status and performance indicators of the terminal system in real time; Analyze the operating status and performance indicators to determine whether an abnormal operating status or abnormal performance indicator event occurs; If an abnormal operation status or performance indicator event occurs, the log file is read to determine whether it is an abnormal event in data processing.

4. The business flow method based on open source Hongmeng according to claim 1 is characterized in that: The business transfer request contains the business type and processing event information corresponding to the abnormal event with data processing; The second terminal device responds to the business flow request, obtains the business type and abnormal event information corresponding to the abnormal event of the data processing, and obtains the data information required to process the abnormal event according to the abnormal event information to implement recovery processing of the abnormal event of the data processing.

5. A business flow method based on open source Hongmeng, characterized in that: include: The first terminal device monitors whether an abnormal event of data processing occurs in the system of the terminal; If the first terminal device monitors an abnormal event of data processing in the system of the terminal, it sends a service flow request to the second terminal device; wherein the first terminal device and the second terminal device are both terminal devices based on the Hongmeng distributed soft bus; The second terminal device recovers the data processing abnormal event occurring in the first terminal device according to the received service flow request.

6. The business flow method based on open source Hongmeng according to claim 5 is characterized in that: The step of the second terminal device restoring the interruption event of the service flow occurring in the first terminal device according to the received restoration request includes: The second terminal device responds to the recovery request and determines the service type and abnormal event information corresponding to the data processing abnormal event according to the recovery request; Acquire the data information required to handle abnormal events based on business type and abnormal event information; Recover and process abnormal events based on the acquired data information.

7. The business transfer method based on open source Hongmeng according to claim 5 is characterized in that: After the second terminal device executes the service flow recovery event, the method further includes: The second terminal device obtains the hardware status and software configuration of the first terminal device, and determines the fault cause of the abnormal data processing event in the first terminal device according to the hardware status and software configuration.

8. A business circulation system based on open source Hongmeng, characterized in that: comprising a first terminal device and a second terminal device; The first terminal device monitors whether an abnormal event of data processing occurs in the terminal system; If an abnormal event of data processing occurs, a service flow request is sent to the second terminal device; The second terminal device recovers the abnormal event of data processing occurring in the first terminal device according to the received service flow request.

9. The business circulation system based on open source Hongmeng according to claim 8 is characterized in that: The first terminal device also includes a security authentication module; The security authentication module is used to obtain device authentication information of the second terminal device, and perform identity authentication, authority allocation and access log recording operations on the second terminal device according to the device authentication information, and determine whether the second terminal device is a verified secure terminal based on the verification results of the identity authentication, authority allocation and access log recording.

10. A computer storage medium, characterized in that: The computer-readable storage medium stores a business flow program based on open source Hongmeng. When the business flow program based on open source Hongmeng is executed by the processor, the steps of the business flow method based on open source Hongmeng as described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method and device for transferring data

    CN113596530A

  • Android device abnormity early warning processing method and system and readable storage medium

    CN115328743A

  • Data access method, electronic equipment and computer readable storage medium

    CN117785498A

  • Proactive device authentication platform

    WO2019156680A1