Method and apparatus for controlling concurrence error

An error and trigger identification technology, applied in the field of data processing, can solve problems such as low system stability and processing efficiency, control concurrency errors, etc., to achieve the effect of improving stability and processing efficiency and avoiding errors

Active Publication Date: 2009-05-27
KINGDEE SOFTWARE(CHINA) CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In view of this, the embodiments of the present invention provide a method and device for controlling concurrency errors to solve the problems of low system stability and processing efficiency caused by existing solutions for controlling concurrency errors. The technical solution is as follows:

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and apparatus for controlling concurrence error
  • Method and apparatus for controlling concurrence error
  • Method and apparatus for controlling concurrence error

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] figure 1 Shown is a flow chart of a method for controlling concurrency errors in an embodiment of the present invention, including the following steps:

[0028] S101. When the calling application end UA invokes an application service, perform encapsulation processing on the invoked application service, and add a trigger identifier.

[0029] In the technical solution of the present invention, after the application service is invoked, it will not be executed immediately, but will be sent to the local AM (Application Manager, application service manager) of the UA for processing. In order for the AM to schedule the application service correctly, the application service needs to be encapsulated first, and the main content of the encapsulation includes adding a trigger identifier for the application service.

[0030] We can add a sequence trigger flag to the application service, so that the AM can schedule the application service in a certain order. Sequential trigger flag...

Embodiment 2

[0046] In a preferred embodiment of the present invention, the service management center can learn which application services can be executed concurrently without error by analyzing the functions of the application services, and can further add events for these application services during the encapsulation process The trigger conditions enable these application services to be invoked in parallel, thereby further improving the processing efficiency of the system.

[0047] The following assumes that P1, P2, P3, P4, P5, and P6 serve different applications, and their corresponding functions are as follows:

[0048] P1: x=x+5;

[0049] P2: y=x+10;

[0050] P3: a=x+y;

[0051] P4: b=x-y;

[0052] P5: c=x / y;

[0053] P6: d=a+b+c.

[0054] When UA invokes the above services, UA's local AM will not only add sequential trigger identifiers (namely serial numbers) for P1-P6, but also analyze each application service (since there is no other application service before P1, it is not ne...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and a device for controlling concurrent errors. The method for controlling the concurrent errors comprises: adding triggering identifiers into called application services; adding the application services added with the triggering identifiers into a task queue; and triggering the application services in the task queue according to the triggering identifiers when triggering conditions are met. Through application of the technical proposal, the method and the device not only can avoid errors caused by concurrent data operation of programs but also can not cause frequent execution failure of the application services, and effectively improve the stability and the processing efficiency of a system.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a method and device for controlling concurrency errors. Background technique [0002] Distributed Object (Distributed Object) technology provides a powerful solution for the development of software on the network computing platform. At present, Distributed Object technology has become the core technology for establishing service application framework and software components. In a distributed object computing (Distributed Object Computing, DOC) environment, each distributed object in the network, when serving as a service provider, is independent of each other. Therefore, the calling application (User Application, UA) in When invoking a service, application services (programs) provided by different providers may be triggered simultaneously. [0003] For multiple application services that need to be triggered in order to obtain correct results, if they are triggered at the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L29/08H04L29/06G06F9/46
Inventor 王成明
Owner KINGDEE SOFTWARE(CHINA) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products