CN107528912A - A kind of automatic method, system and relevant apparatus for realizing distributing real time system - Google Patents

A kind of automatic method, system and relevant apparatus for realizing distributing real time system Download PDF

Info

Publication number
CN107528912A
CN107528912A CN201710812868.5A CN201710812868A CN107528912A CN 107528912 A CN107528912 A CN 107528912A CN 201710812868 A CN201710812868 A CN 201710812868A CN 107528912 A CN107528912 A CN 107528912A
Authority
CN
China
Prior art keywords
transaction
data processing
processing request
website
issued
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710812868.5A
Other languages
Chinese (zh)
Inventor
杨胜旺
杨政
邓启平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN201710812868.5A priority Critical patent/CN107528912A/en
Publication of CN107528912A publication Critical patent/CN107528912A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/566Grouping or aggregating service requests, e.g. for unified processing

Abstract

The embodiments of the invention provide a kind of automatic method, system and relevant apparatus for realizing distributing real time system, for improving the programming efficiency of distributing real time system, exploitation and maintenance cost are reduced.Present invention method includes:Issued transaction website unifies the data processing request of receiving terminal transmission, and the issued transaction website is the unified entrance of service end issued transaction;The issued transaction website, which parses, whether there is transaction identification in the data processing request, the transaction identification is the mark being encapsulated in program development process in program class, is used to indicate whether to carry out target transaction processing;If the transaction identification in the data processing request be present, service end is called to perform target transaction corresponding to the transaction identification.

Description

A kind of automatic method, system and relevant apparatus for realizing distributing real time system
Technical field
The present invention relates to issued transaction field, more particularly to a kind of automatic method, system for realizing distributing real time system And relevant apparatus.
Background technology
In many large-scale, crucial application programs, computer is all performing substantial amounts of task each second.It is more frequent Be not these tasks in itself, but these tasks are combined together and complete a business need, referred to as affairs.Affairs are one Minimum working cell, is all used as an entirety hit or miss.Issued transaction (Transaction Scope) is that affairs are held A kind of fault tolerant mechanism during row, for the application data uniformity for ensureing to be deployed on different computers, when program is being transported When sending unpredictable wrong during row can automatic rollback, submitted without mistake is then automatic.Needed in transaction process Write one or more program statement sequences and be combined together a formed Logical processing unit, serviced with this to call The resource at end completes issued transaction.Each sentence in Logical processing unit is that the part for completing whole task works, institute Some sentences, which organize together, can complete a certain specific task.The characteristics of distributed transaction, is the participant of affairs, supports Server, Resource Server and the task manager of affairs are respectively on the different nodes of different distributed systems. Existing programming realization distributed transaction processing method mainly has following two:
1. using COM+ transaction processing facilities, in development process, each needs the position of issued transaction to need manual list Solely Logical processing unit corresponding to encapsulation affairs, in same software systems, the processing for identical affairs, due to processing The position of the same transaction is different, and Logical processing unit corresponding to the things needs to need to handle the place of the affairs in everywhere Logical processing unit corresponding to repeating encapsulation, complex steps, causes programming efficiency low, and the position that affairs are distributed in software systems Relative distribution is put, later maintenance needs to safeguard one by one, causes later stage program maintenance relative difficulty.
2. the Begin-End transaction processing facilities provided using development language in the realization of each method body, it is necessary to increase Add Logical processing unit corresponding to issued transaction, there is also repeat asking for encapsulation Logical processing unit for the processing for same affairs The problem of topic and later maintenance difficulty, in addition, whether the application for distributed arrangement then needs manual monitoring intermediate layer abnormal, And then encapsulation rollback treatment mechanism manually is needed, step is more cumbersome, and programming efficiency further reduces.
In view of this, it is necessary to develop a kind of programming efficiency that can improve distributing real time system, reduce exploitation and The method of maintenance cost.
The content of the invention
The embodiments of the invention provide a kind of automatic method, system and relevant apparatus for realizing distributing real time system, use In the programming efficiency for improving distributing real time system, exploitation and maintenance cost are reduced.
First aspect of the embodiment of the present invention provides a kind of automatic method for realizing distributing real time system, it may include:
Issued transaction website unifies the data processing request of receiving terminal transmission, and the issued transaction website is service end thing The unified entrance of business processing;
The issued transaction website, which is parsed in the data processing request, whether there is transaction identification, the office Reason is identified as the mark being encapsulated in program development process in program class, is used to indicate whether to carry out target transaction processing;
If the transaction identification in the data processing request be present, service end is called to perform the issued transaction Target transaction corresponding to mark.
Optionally, after the calling service end performs target transaction corresponding to the transaction identification, this method Also include:
The issued transaction website receives the target transaction result that the service end returns;
If the target transaction processing failure, the issued transaction website carries out transaction rollback behaviour to the target transaction Make;
If the target transaction is handled successfully, the target transaction is submitted automatically.
Optionally, when the transaction identification is not present in the data processing request, methods described also includes:
The data processing request is transmitted to the service end by the issued transaction website.
Optionally, before the issued transaction website unifies the data processing request of receiving terminal transmission, in addition to:
The data processing request is encrypted according to preset encryption rule for the terminal.
Second aspect of the embodiment of the present invention provides a kind of automatic system for realizing distributing real time system, it may include:
Issued transaction website, service end and terminal, wherein,
The issued transaction website is used for the data processing request that unified receiving terminal is sent, and the issued transaction website is The unified entrance of service end issued transaction;
The issued transaction website, which is additionally operable to parse, whether there is transaction identification in the data processing request, described Transaction identification is the mark being encapsulated in program development process in program class, is used to indicate whether to carry out at target transaction Reason;
If the transaction identification in the data processing request be present, service end is called to perform the issued transaction Target transaction corresponding to mark.
Optionally, after the calling service end performs target transaction corresponding to the transaction identification,
The issued transaction website is additionally operable to receive the target transaction result that the service end returns;
If the target transaction processing failure, the issued transaction website carries out transaction rollback behaviour to the target transaction Make;
If the target transaction is handled successfully, the target transaction is submitted automatically.
Optionally, when the transaction identification is not present in the data processing request, the issued transaction website It is additionally operable to the data processing request being transmitted to the service end.
Optionally, before the issued transaction website unifies the data processing request of receiving terminal transmission, the terminal It is additionally operable to that the data processing request is encrypted according to preset encryption rule.
The third aspect of the embodiment of the present invention provides a kind of computer installation, it is characterised in that:The computer installation bag Processor is included, the processor is used to realize following steps when performing the computer program stored in memory:
The data processing request that unified receiving terminal is sent;
Parse and whether there is transaction identification in the data processing request, the transaction identification is program development During be encapsulated in mark in program class, be used to indicate whether to carry out target transaction processing;
If the transaction identification in the data processing request be present, service end is called to perform the issued transaction Target transaction corresponding to mark.
Fourth aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, is stored thereon with computer journey Sequence, the computer program realize following steps when being executed by processor:
The data processing request that unified receiving terminal is sent;
Parse and whether there is transaction identification in the data processing request, the transaction identification is program development During be encapsulated in mark in program class, be used to indicate whether to carry out target transaction processing;
If the transaction identification in the data processing request be present, service end is called to perform the issued transaction Target transaction corresponding to mark.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:
In the embodiment of the present invention, first, transaction identification is encapsulated in advance in program class to indicate whether to carry out target Issued transaction, when the component in program or method need performance objective affairs, rower can be entered using the transaction identification Note, secondly, unified issued transaction website is set to unify the data processing request of receiving terminal, and parse data processing request In component and method in whether contain the transaction identification, if in the presence of the transaction identification, the issued transaction website Service end can be called to carry out the processing of target transaction according to Logical processing unit corresponding to target transaction, relative to existing skill Art, in each component for needing target transaction to handle or method, without repeating logical process list corresponding to addition target transaction Member, reduce size of code, improve programming efficiency, secondly, Logical processing unit is stored in issued transaction corresponding to target transaction Website, when the later stage needs to safeguard the logic of target transaction processing, only need Logical processing unit in care of transaction treatment station i.e. Can, without the component in maintenance program one by one or method body, reduce the cost of development and maintenance.
Brief description of the drawings
Fig. 1 is a kind of one embodiment signal of the automatic method for realizing distributing real time system in the embodiment of the present invention Figure;
Fig. 2 is a kind of another embodiment signal of the automatic method for realizing distributing real time system in the embodiment of the present invention Figure;
Fig. 3 is a kind of automatic system architecture schematic diagram for realizing distributing real time system in the embodiment of the present invention.
Embodiment
The embodiments of the invention provide a kind of automatic method, system and relevant apparatus for realizing distributing real time system, use In the programming efficiency for improving distributing real time system, exploitation and maintenance cost are reduced.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protects Enclose.
In order to make it easy to understand, the idiographic flow in the embodiment of the present invention is described below, referring to Fig. 1, of the invention A kind of one embodiment of the automatic method for realizing distributing real time system may include in embodiment:
101st, issued transaction website unifies the data processing request of receiving terminal transmission;
Identical or different application can be deployed in different terminals by software systems in design and deployment, realized and divided Cloth is laid out.In distributed arrangement, multiple different terminals can send data processing request to service end respectively, to cause Service end calls backstage resource, carries out the data processing of related service.
102nd, it whether there is transaction identification in issued transaction website parsing data processing request;
In the embodiment of the present invention, in the program development stage, transaction identification can be encapsulated to refer in advance in program class Show whether carry out target transaction processing, for example, can be using Transaction Scope fields as transaction identification.Work as journey When component or method in sequence need performance objective affairs, it can be marked using the transaction identification.Secondly, the present invention Unified issued transaction website is set to unify the data processing request of receiving terminal in embodiment, the issued transaction website is clothes The unified entrance for end issued transaction of being engaged in, the issued transaction website can be needed the program for carrying out target transaction processing to adjust by other With to carry out data processing.Whether the issued transaction website can parse in the component in data processing request and contain in method There is the transaction identification, if in the presence of the transaction identification, perform step 103, start the transaction processing facility of the present invention. Optionally, if the transaction identification is not present, step 104 can be performed, data processing request is directly transmitted to service End is handled.
103rd, issued transaction website calls target transaction corresponding to service end Executive Office reason mark;
Logical processing unit corresponding to target transaction is preset in issued transaction website, is being resolved to the data of terminal transmission When including transaction identification in processing request, issued transaction website can be adjusted according to Logical processing unit corresponding to target transaction The resource corresponding to service end, is handled target transaction.
104th, data processing request is transmitted to service end and handled by issued transaction website.
If that is, not containing transaction identification in data processing request, data processing request is transmitted to clothes It is engaged in end, will not so starting transaction processing facility of the invention, that is to say, that service end is without transaction operation.
In the embodiment of the present invention, first, transaction identification is encapsulated in advance in program class to indicate whether to carry out target Issued transaction, when the component in program or method need performance objective affairs, rower can be entered using the transaction identification Note, secondly, unified issued transaction website is set to unify the data processing request of receiving terminal, and parse data processing request In component and method in whether contain the transaction identification, if in the presence of the transaction identification, the issued transaction website Service end can be called to carry out the processing of target transaction according to Logical processing unit corresponding to target transaction, relative to existing skill Art, in each component for needing target transaction to handle or method, without repeating logical process list corresponding to addition target transaction Member, reduce size of code, improve programming efficiency, secondly, Logical processing unit is stored in issued transaction corresponding to target transaction Website, when the later stage needs to safeguard the logic of target transaction processing, only need Logical processing unit in care of transaction treatment station i.e. Can, without the component in maintenance program one by one or method body, reduce the cost of development and maintenance.
On the basis of above-described embodiment, referring to Fig. 2, one kind of the embodiment of the present invention realizes distributing real time system automatically Another embodiments of method and system may include:
201st, issued transaction website unifies the data processing request of receiving terminal transmission;
Identical or different application can be deployed in different terminals by software systems in design and deployment, realized and divided Cloth is laid out.In distributed arrangement, multiple different terminals can send data processing request to service end respectively, to cause Service end calls backstage resource, carries out the data processing of related service.
Optionally, before issued transaction website unifies the data processing request of receiving terminal transmission, terminal can be according to Data processing request is encrypted preset encryption rule, to improve the security of communication information.Specific AES can be with It is configured according to the demand of user, is not limited herein.
202nd, it whether there is transaction identification in issued transaction website parsing data processing request;
203rd, issued transaction website calls target transaction corresponding to service end Executive Office reason mark;
204th, data processing request is transmitted to service end and handled by issued transaction website;
Above-mentioned steps 202 to 204 are similar with the content described in the step 102 in the embodiment shown in Fig. 1 to 104, Referring specifically to step 102 to 104, here is omitted.
205th, issued transaction website receives the target transaction result that service end returns;
Affairs are a minimum working cells, are all used as an entirety hit or miss, and issued transaction website needs Determine whether the sequence of operations in target transaction all succeeds, to determine the handling process of next step, issued transaction website can To receive the target transaction result of service end return, to determine whether target transaction handles completion, if target transaction is handled Failure, then perform step 205, and issued transaction website carries out transaction rollback operation to target transaction;If target transaction is handled successfully, Step 206 is then performed, submits target transaction automatically.
If the 206, target transaction processing failure, issued transaction website carries out transaction rollback operation to target transaction;
If target transaction processing failure, issued transaction website carries out transaction rollback operation to target transaction, for example, for Database field, when target transaction processing failure, then to all more new capital of database data in target transaction processing procedure The state that can be rolled back to before target transaction starts, specific rolling back action are different from the business scope that programming system is used And it is different, specific rolling back action does not limit herein.
If the 207, target transaction is handled successfully, target transaction is submitted automatically.
In the embodiment of the present invention, first, transaction identification is encapsulated in advance in program class to indicate whether to carry out target Issued transaction, when the component in program or method need performance objective affairs, rower can be entered using the transaction identification Note, secondly, unified issued transaction website is set to unify the data processing request of receiving terminal, and parse data processing request In component and method in whether contain the transaction identification, if in the presence of the transaction identification, the issued transaction website Service end can be called to carry out the processing of target transaction according to Logical processing unit corresponding to target transaction, relative to existing skill Art, in each component for needing target transaction to handle or method, without repeating logical process list corresponding to addition target transaction Member, reduce size of code, improve programming efficiency, secondly, Logical processing unit is stored in issued transaction corresponding to target transaction Website, when the later stage needs to safeguard the logic of target transaction processing, only need Logical processing unit in care of transaction treatment station i.e. Can, without the component in maintenance program one by one or method body, reduce the cost of development and maintenance, affairs in last the present embodiment Treatment station can be automatic to submit affairs or carry out transaction rollback automatically according to the result to issued transaction of service end, improves Executing efficiency.
Above-described embodiment realizes that the method for distributing real time system is retouched automatically to a kind of in the embodiment of the present invention State, will realize that the system of distributing real time system is described automatically to a kind of in the embodiment of the present invention below, refer to figure 3, Fig. 3 be a kind of automatic system architecture schematic diagram for realizing distributing real time system, the embodiment of the present invention in the embodiment of the present invention A kind of one embodiment of middle automatic system for realizing distributing real time system, including:
Issued transaction website 301, service end 302 and terminal 303, wherein,
Issued transaction website 301 is used for the data processing request that unified receiving terminal 303 is sent, issued transaction website 301 For the unified entrance of the data processing of service end 302;
Issued transaction website 301, which is additionally operable to parse in data processing request, whether there is transaction identification, issued transaction The mark being encapsulated in program development process in program class is identified as, is used to indicate whether to carry out target transaction processing;
If transaction identification be present, target transaction corresponding to the Executive Office of service end 302 reason mark is called.
Implementation shown in the concrete function and Fig. 1 of the automatic system for realizing distributing real time system in the embodiment of the present invention Content described in example is similar, referring specifically to the embodiment shown in Fig. 1, does not repeat herein.
In the embodiment of the present invention, first, transaction identification is encapsulated in advance in program class to indicate whether to carry out target Issued transaction, when the component in program or method need performance objective affairs, rower can be entered using the transaction identification Note, secondly, unified issued transaction website is set to unify the data processing request of receiving terminal, and parse data processing request In component and method in whether contain the transaction identification, if in the presence of the transaction identification, the issued transaction website Service end can be called to carry out the processing of target transaction according to Logical processing unit corresponding to target transaction, relative to existing skill Art, in each component for needing target transaction to handle or method, without repeating logical process list corresponding to addition target transaction Member, reduce size of code, improve programming efficiency, secondly, Logical processing unit is stored in issued transaction corresponding to target transaction Website, when the later stage needs to safeguard the logic of target transaction processing, only need Logical processing unit in care of transaction treatment station i.e. Can, without the component in maintenance program one by one or method body, reduce the cost of development and maintenance.
It is a kind of in the embodiment of the present invention to realize automatically at distributed transaction on the basis of the embodiment shown in above-mentioned Fig. 3 In another embodiment of the system of reason,
Optionally, after target transaction corresponding to service end Executive Office reason mark is called, issued transaction website 301 It is additionally operable to receive the target transaction result that service end 302 returns;
If target transaction processing failure, issued transaction website 301 carries out transaction rollback operation to target transaction;
It is automatic to submit target transaction if target transaction is handled successfully.
Optionally, when transaction identification is not present in data processing request, issued transaction website 301 is additionally operable to number Service end is transmitted to according to processing request.
Optionally, before the data processing request that the unified receiving terminal of issued transaction website 301 is sent, terminal 303 is also For data processing request to be encrypted according to preset encryption rule.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description Specific work process, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
Above to realizing that the method and system of distributing real time system are described automatically in the embodiment of the present invention, under The computer installation in the embodiment of the present invention is described from the angle of hardware handles for face.
Computer device one embodiment of the embodiment of the present invention includes:
Processor, the processor are used to realize following steps when performing the computer program stored in memory:
The data processing request that unified receiving terminal is sent;
Parse and whether there is transaction identification in the data processing request, the transaction identification is program development During be encapsulated in mark in program class, be used to indicate whether to carry out target transaction processing;
If the transaction identification in the data processing request be present, service end is called to perform the issued transaction Target transaction corresponding to mark.
In some embodiments of the present invention, processor can be also used for realizing following steps:
After target transaction corresponding to service end Executive Office reason mark is called, the target thing that service end returns is received Business result;
If target transaction processing failure, transaction rollback operation is carried out to target transaction;
It is automatic to submit target transaction if target transaction is handled successfully.
In some embodiments of the present invention, processor can be also used for realizing following steps:
When the transaction identification is not present in data processing request, data processing request is transmitted to service end.
It is understood that also may be used described in computing device in the computer installation of described above during computer program To realize the function of issued transaction website in above-mentioned corresponding each system embodiment, here is omitted.
The computer installation can be that the calculating such as desktop PC, notebook, palm PC and cloud server are set It is standby.The computer installation may include but be not limited only to processor, memory.It will be understood by those skilled in the art that processor, Memory is only the example of computer installation, does not form the restriction to computer installation, can be included more or less Part, some parts or different parts are either combined, such as the computer installation can also be set including input and output Standby, network access equipment, bus etc..
The processor can be CPU (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng the processor is the control centre of the computer installation, utilizes various interfaces and the whole computer installation of connection Various pieces.
The memory can be used for storing the computer program and/or module, and the processor is by running or performing The computer program and/or module being stored in the memory, and the data being stored in memory are called, described in realization The various functions of computer installation.The memory can mainly include storing program area and storage data field, wherein, storage program Area can storage program area, application program needed at least one function etc.;Storage data field can store the use according to terminal Data created etc..In addition, memory can include high-speed random access memory, non-volatile memories can also be included Device, such as hard disk, internal memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other volatibility are consolidated State memory device.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, is stored thereon with computer program, the meter When calculation machine program is executed by processor, processor is used to perform following steps:
The data processing request that unified receiving terminal is sent;
Parse and whether there is transaction identification in the data processing request, the transaction identification is program development During be encapsulated in mark in program class, be used to indicate whether to carry out target transaction processing;
If the transaction identification in the data processing request be present, service end is called to perform the issued transaction Target transaction corresponding to mark.
In some embodiments of the present invention, when the computer program is executed by processor, processor can be also used for realizing Following steps:
After target transaction corresponding to service end Executive Office reason mark is called, the target thing that service end returns is received Business result;
If target transaction processing failure, transaction rollback operation is carried out to target transaction;
If target transaction is handled successfully, the target transaction is submitted automatically.
In some embodiments of the present invention, when the computer program is executed by processor, processor can be also used for realizing Following steps:
When the transaction identification is not present in data processing request, data processing request is transmitted to service end.
It is understood that also may be used described in computing device in the computer installation of described above during computer program To realize the function of issued transaction website in above-mentioned corresponding each system embodiment, here is omitted.
The embodiment of the present invention realizes all or part of flow in above-mentioned corresponding embodiment method, can also pass through calculating Machine program instructs the hardware of correlation to complete, and described computer program can be stored in a computer-readable recording medium, Wherein, the computer program includes computer program code, and the computer program code can be source code form, object Code form, executable file or some intermediate forms etc..The computer-readable medium can include:The meter can be carried Any entity or device of calculation machine program code, recording medium, USB flash disk, mobile hard disk, magnetic disc, CD, computer storage, only Memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electricity is read to carry Ripple signal, telecommunication signal and software distribution medium etc..It should be noted that the content that the computer-readable medium includes can To carry out appropriate increase and decrease according to legislation in jurisdiction and the requirement of patent practice, such as in some jurisdictions, root Do not include electric carrier signal and telecommunication signal according to legislation and patent practice, computer-readable medium.
Described above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before Embodiment is stated the present invention is described in detail, it will be understood by those within the art that:It still can be to preceding State the technical scheme described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And these Modification is replaced, and the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

  1. A kind of 1. automatic method for realizing distributing real time system, it is characterised in that including:
    Issued transaction website unifies the data processing request of receiving terminal transmission, and the issued transaction website is service end office The unified entrance of reason;
    The issued transaction website, which is parsed in the data processing request, whether there is transaction identification, the issued transaction mark Know the mark to be encapsulated in program development process in program class, be used to indicate whether to carry out target transaction processing;
    If the transaction identification in the data processing request be present, service end is called to perform the transaction identification Corresponding target transaction.
  2. 2. according to the method for claim 1, it is characterised in that perform the transaction identification in the calling service end After corresponding target transaction, in addition to:
    The issued transaction website receives the target transaction result that the service end returns;
    If the target transaction processing failure, the issued transaction website carries out transaction rollback operation to the target transaction;
    If the target transaction is handled successfully, the target transaction is submitted automatically.
  3. 3. according to the method for claim 1, it is characterised in that when the office is not present in the data processing request During reason mark, methods described also includes:
    The data processing request is transmitted to the service end by the issued transaction website.
  4. 4. according to the method described in claims 1 to 3, it is characterised in that unify receiving terminal in the issued transaction website Before the data processing request of transmission, in addition to:
    The data processing request is encrypted according to preset encryption rule for the terminal.
  5. A kind of 5. automatic system for realizing distributing real time system, it is characterised in that including:
    Issued transaction website, service end and terminal, wherein,
    The issued transaction website is used for the data processing request that unified receiving terminal is sent, and the issued transaction website is service Hold the unified entrance of issued transaction;
    The issued transaction website, which is additionally operable to parse, whether there is transaction identification, the affairs in the data processing request Processing is identified as the mark being encapsulated in program development process in program class, is used to indicate whether to carry out target transaction processing;
    If the transaction identification in the data processing request be present, service end is called to perform the transaction identification Corresponding target transaction.
  6. 6. system according to claim 5, it is characterised in that perform the transaction identification in the calling service end After corresponding target transaction,
    The issued transaction website is additionally operable to receive the target transaction result that the service end returns;
    If the target transaction processing failure, the issued transaction website carries out transaction rollback operation to the target transaction;
    If the target transaction is handled successfully, the target transaction is submitted automatically.
  7. 7. system according to claim 5, it is characterised in that when the office is not present in the data processing request During reason mark, the issued transaction website is additionally operable to the data processing request being transmitted to the service end.
  8. 8. the system according to any one of claim 5 to 7, it is characterised in that uniformly connect in the issued transaction website Before receiving the data processing request that terminal is sent, the terminal is additionally operable to according to preset encryption rule to the data processing request It is encrypted.
  9. A kind of 9. computer installation, it is characterised in that:The computer installation includes processor, and the processor is deposited for execution The step of the reading position acquisition methods as described in any one in Claims 1-4 is realized during the computer program stored in reservoir Suddenly.
  10. 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that:The computer program Realized when being executed by processor as described in any one in Claims 1-4 the step of reading position acquisition methods.
CN201710812868.5A 2017-09-11 2017-09-11 A kind of automatic method, system and relevant apparatus for realizing distributing real time system Pending CN107528912A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710812868.5A CN107528912A (en) 2017-09-11 2017-09-11 A kind of automatic method, system and relevant apparatus for realizing distributing real time system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710812868.5A CN107528912A (en) 2017-09-11 2017-09-11 A kind of automatic method, system and relevant apparatus for realizing distributing real time system

Publications (1)

Publication Number Publication Date
CN107528912A true CN107528912A (en) 2017-12-29

Family

ID=60736578

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710812868.5A Pending CN107528912A (en) 2017-09-11 2017-09-11 A kind of automatic method, system and relevant apparatus for realizing distributing real time system

Country Status (1)

Country Link
CN (1) CN107528912A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108664650A (en) * 2018-05-17 2018-10-16 百度在线网络技术(北京)有限公司 A kind of transaction methods, device, equipment and the storage medium of block chain network
CN110231980A (en) * 2019-06-10 2019-09-13 世纪龙信息网络有限责任公司 Processing method, device and the transaction processor of distributed transaction
CN111045794A (en) * 2019-12-17 2020-04-21 深圳前海环融联易信息科技服务有限公司 Distributed transaction processing method, device, system, computer equipment and storage medium
CN111125240A (en) * 2018-10-31 2020-05-08 北京金山云网络技术有限公司 Distributed transaction implementation method and device, electronic equipment and storage medium
CN111240851A (en) * 2018-11-29 2020-06-05 优信拍(北京)信息科技有限公司 Transaction processing method, device, equipment and system based on tangent plane programming

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6209038B1 (en) * 1999-01-13 2001-03-27 International Business Machines Corporation Technique for aggregate transaction scope across multiple independent web requests
US20040019898A1 (en) * 1999-06-14 2004-01-29 International Business Machines Corporation Accessing local objects using local access proxies
CN101046815A (en) * 2007-03-14 2007-10-03 华为技术有限公司 Affairs coordinator, resource using end, service end and distribution affairs process method
CN102346460A (en) * 2011-05-27 2012-02-08 运软网络科技(上海)有限公司 Transaction-based service control system and method
CN102831156A (en) * 2012-06-29 2012-12-19 浙江大学 Distributed transaction processing method on cloud computing platform
CN103473318A (en) * 2013-09-12 2013-12-25 中国科学院软件研究所 Distributed transaction security method for memory data grid
CN106874130A (en) * 2017-02-06 2017-06-20 西多多信息科技(北京)有限公司 The processing method of distributed transaction in a kind of micro services framework

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6209038B1 (en) * 1999-01-13 2001-03-27 International Business Machines Corporation Technique for aggregate transaction scope across multiple independent web requests
US20040019898A1 (en) * 1999-06-14 2004-01-29 International Business Machines Corporation Accessing local objects using local access proxies
CN101046815A (en) * 2007-03-14 2007-10-03 华为技术有限公司 Affairs coordinator, resource using end, service end and distribution affairs process method
CN102346460A (en) * 2011-05-27 2012-02-08 运软网络科技(上海)有限公司 Transaction-based service control system and method
CN102831156A (en) * 2012-06-29 2012-12-19 浙江大学 Distributed transaction processing method on cloud computing platform
CN103473318A (en) * 2013-09-12 2013-12-25 中国科学院软件研究所 Distributed transaction security method for memory data grid
CN106874130A (en) * 2017-02-06 2017-06-20 西多多信息科技(北京)有限公司 The processing method of distributed transaction in a kind of micro services framework

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108664650A (en) * 2018-05-17 2018-10-16 百度在线网络技术(北京)有限公司 A kind of transaction methods, device, equipment and the storage medium of block chain network
CN108664650B (en) * 2018-05-17 2020-05-22 百度在线网络技术(北京)有限公司 Transaction processing method, device, equipment and storage medium of block chain network
US11875171B2 (en) 2018-05-17 2024-01-16 Baidu Online Network Technology (Beijing) Co., Ltd. Blockchain network transaction processing method, apparatus, device, and storage medium
CN111125240A (en) * 2018-10-31 2020-05-08 北京金山云网络技术有限公司 Distributed transaction implementation method and device, electronic equipment and storage medium
CN111125240B (en) * 2018-10-31 2023-09-01 北京金山云网络技术有限公司 Distributed transaction realization method and device, electronic equipment and storage medium
CN111240851A (en) * 2018-11-29 2020-06-05 优信拍(北京)信息科技有限公司 Transaction processing method, device, equipment and system based on tangent plane programming
CN110231980A (en) * 2019-06-10 2019-09-13 世纪龙信息网络有限责任公司 Processing method, device and the transaction processor of distributed transaction
CN111045794A (en) * 2019-12-17 2020-04-21 深圳前海环融联易信息科技服务有限公司 Distributed transaction processing method, device, system, computer equipment and storage medium
CN111045794B (en) * 2019-12-17 2023-04-25 深圳前海环融联易信息科技服务有限公司 Distributed transaction processing method, device, system, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107528912A (en) A kind of automatic method, system and relevant apparatus for realizing distributing real time system
CN108305072B (en) Method, apparatus, and computer storage medium for deploying a blockchain network
CN108427581A (en) System micro services method and terminal device
CN110490416B (en) Task management method and terminal equipment
CN111899008B (en) Resource transfer method, device, equipment and system
CN111400465B (en) Generation method and device of customer service robot, electronic equipment and medium
CN102136967A (en) Method, device and system for managing service state
CN104484167B (en) Task processing method and device
CN107564204A (en) A kind of wholesale withdrawal method and atm device
CN108255602A (en) Task combined method and terminal device
CN105072139A (en) Recommendation method and recommendation device
CN107067559A (en) A kind of method and apparatus for realizing charging pile interconnection charging
CN112017007A (en) User behavior data processing method and device, computer equipment and storage medium
CN109685641A (en) A kind of information processing method and device
CN111242462A (en) Data processing method and device, computer storage medium and electronic equipment
CN109299913A (en) Employee's wages scheme generation method and device
CN112308590B (en) Parameter processing method and device, computing equipment and storage medium
CN105988785A (en) RPC (remote procedure call) service development method and device
CN111523817A (en) Order business processing method, device, equipment and medium based on big data
CN107786308B (en) Data transmission method and terminal device
CN104715421A (en) Method and device for processing electric charge data
CN112508693B (en) Resource distribution channel distribution method and device based on user tags and electronic equipment
CN111865726B (en) Service message testing method, device, computer system and storage medium
CN107509179A (en) Obtain method, apparatus, terminal device and the storage medium of own mobile phone number
CN112270626A (en) Enterprise credit line management method, device, storage medium and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20171229

RJ01 Rejection of invention patent application after publication