CN108182118A - The method and apparatus of data interaction between a kind of electronic tax multisystem - Google Patents

The method and apparatus of data interaction between a kind of electronic tax multisystem Download PDF

Info

Publication number
CN108182118A
CN108182118A CN201810082928.7A CN201810082928A CN108182118A CN 108182118 A CN108182118 A CN 108182118A CN 201810082928 A CN201810082928 A CN 201810082928A CN 108182118 A CN108182118 A CN 108182118A
Authority
CN
China
Prior art keywords
task
state
data
multisystem
data interaction
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
CN201810082928.7A
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.)
FORESEE TECHNOLOGY Co Ltd
Original Assignee
FORESEE TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by FORESEE TECHNOLOGY Co Ltd filed Critical FORESEE TECHNOLOGY Co Ltd
Priority to CN201810082928.7A priority Critical patent/CN108182118A/en
Publication of CN108182118A publication Critical patent/CN108182118A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/10Tax strategies
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/48Indexing scheme relating to G06F9/48
    • G06F2209/483Multiproc
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/544Remote

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Technology Law (AREA)
  • Retry When Errors Occur (AREA)

Abstract

The present invention relates to electronic tax technical fields, the device of data interaction between especially a kind of electronic tax multisystem, including device deployment module, described device deployment module signal is connected with multiple source system modules and multiple goal systems modules, device deployment module includes device deployment services device, job task table is formed by implementation schedule and execution condition that each system task is established in device deployment services device, by way of remote control poll, the flexibly extraction of triggering source system data, conversion, operation, the operations such as judgement, the result data of return is fed back and updates goal systems, complete the data interaction task of automation.The present invention can realize remote control, small to source, goal systems resource occupation.

Description

The method and apparatus of data interaction between a kind of electronic tax multisystem
Technical field
The present invention relates to a kind of methods of data interaction between electronic tax technical field more particularly to electronic tax multisystem And device.
Background technology
In E-Tax system exploitation, we need certain data in some core tax jurisdiction systems to carry sometimes It takes out, is counted, judged after sorting out by operation, it will be in the result data update to electronic file management system of return.
Solution common in the art is as follows:
(1)Batch obtains source system data state, is synchronized to goal systems by ftp or other means, then according to condition more Fresh target system data.
(2)For write state information to database, follow-up each goal systems will scan round during the system mode update of source To trigger next link.
It has the following disadvantages:
(2)Existing technology realizes the application for needing log-on data inquiry, extraction in the system of source, disposes on the target system more The application of new data, and each application needs not simple disconnected, full task scan to perform, and need to occupy source, goal systems resource for a long time.
(2)Application execution between source, goal systems does not have relevance, when possible source system data has been updated over one section Between, goal systems is not scanned also in requisition for newer position, causing data update not in time.
Invention content
The purpose of the present invention is to solve shortcoming in the prior art, and a kind of electronic tax multisystem proposed Between data interaction method and apparatus.
To achieve these goals, present invention employs following technical solutions:
A kind of device of data interaction between electronic tax multisystem is designed, including device deployment module, described device deployment module Signal is connected with multiple source system modules and multiple goal systems modules, and device deployment module includes device deployment services device, leads to It crosses the implementation schedule that each system task is established in device deployment services device and execution condition forms job task table, by remote The mode of process control poll flexibly triggers the operations such as extraction, conversion, operation, the judgement of source system data, by the number of results of return According to feeding back and updating goal systems, the data interaction task of automation is completed.
Preferably, it imposes a condition and triggers next step tasks carrying after meeting, neither empty race task waste of resource will not be because Task triggering influences data update promptness not in time.
Preferably, poll execution interval can be set and run number again, realize that mission failure automatically processes.
Preferably, polling tasks state is monitored, can checks task status at any time, and equipped with log query, it is necessary Shi Jinhang manual interventions.
The invention also provides a kind of methods of data interaction between electronic tax multisystem, include the following steps:
S1, all configuration datas that rwdd polling set-ups are obtained from configuration center, a task correspond to a data, obtain herein It is task list;
S2, it one is signed for from set of tasks can sign for task data, and change state to have signed for;
S3, check verifications are carried out to the long-range kernel service of the data call signed for, to pass through, false does not pass through true, passes through Then continue to call the excute methods of kernel service to perform;
S4, check do not pass through, and represent that data do not need to perform the task, more new task handling result state is skips execution, no The step of after needing;
S5, check are pushed to task data in workerpool by rear, and the excute of kernel service is called to perform specifically Task operating, return null or " " represent tasks carrying success, otherwise perform mission failure;
S6, tasks carrying call external system processing;
S7, more new task handling result state.
Preferably, the state code of business data processing task has:
20:The state signed for, present
25:Verification passes through
00:The state that tasks carrying is completed
50:The state of tasks carrying exception
55:Tasks carrying calls the state of remote service time-out
10:Task needs the state performed again after verifying
99:The full final state of task number of retries
58:The abnormal state of task verification
90:Task verification does not pass through, the state skipped.
Preferably, from no task node state, to 20;Check verifications are carried out, if calling abnormal, state transformation 58; State change is 90 if fasle is returned;Return to true, then enter virtual 25, into remote service excute methods into Row specific tasks perform;Task is normally performed, more new state is 00;Excute returns to specific business information and then returns to 50;If Time-out when calling excute, then return to 55;After certain setting time, batch processing frame can be unified abnormality code 58th, 55,50 status modifier is 10, so as to which this abnormal business datum can be signed for handling again;If at this abnormal restoring When reason mechanism is repeated 9 times out still untreated success status, then the state for changing the business datum is 99, if this state need to be extensive It is multiple, then artificial treatment is needed to restore state.
The method and apparatus of data interaction, advantageous effect are between a kind of electronic tax multisystem proposed by the present invention:
(1)Remote control is small to source, goal systems resource occupation.
(2)Polling tasks, task definition can configure, and realization method is flexible.
(3)Front and rear task association is close, and promptness, accuracy are secure.
(4)Multitask is managed concentratedly, and one thread of a task is independent of each other, and performance is stablized.
Description of the drawings
The schematic diagram of Fig. 1 devices of data interaction between a kind of electronic tax multisystem proposed by the present invention;
The arrangement logic chart of Fig. 2 methods of data interaction between a kind of electronic tax multisystem proposed by the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.
With reference to Fig. 1-2, a kind of device of data interaction between electronic tax multisystem is designed, including device deployment module, dress It puts deployment module signal and is connected with multiple source system modules and multiple goal systems modules, device deployment module is disposed including device Server forms job task by implementation schedule and execution condition that each system task is established in device deployment services device Table by way of remote control poll, flexibly triggers the operations such as extraction, conversion, operation, the judgement of source system data, will return The result data returned feeds back and updates goal systems, completes the data interaction task of automation.
It imposes a condition and next step tasks carrying is triggered after meeting, neither empty race task waste of resource will not be touched because of task Hair influences data update promptness not in time.
Poll execution interval can be set and run number again, realize that mission failure automatically processes.
Polling tasks state is monitored, task status can be checked at any time, and equipped with log query, when necessary into pedestrian Work intervention.
The invention also provides a kind of methods of data interaction between electronic tax multisystem, include the following steps:
S1, all configuration datas that rwdd polling set-ups are obtained from configuration center, a task correspond to a data, obtain herein It is task list;
S2, it one is signed for from set of tasks can sign for task data, and change state to have signed for;
S3, check verifications are carried out to the long-range kernel service of the data call signed for, to pass through, false does not pass through true, passes through Then continue to call the excute methods of kernel service to perform;
S4, check do not pass through, and represent that data do not need to perform the task, more new task handling result state is skips execution, no The step of after needing;
S5, check are pushed to task data in workerpool by rear, and the excute of kernel service is called to perform specifically Task operating, return null or " " represent tasks carrying success, otherwise perform mission failure;
S6, tasks carrying call external system processing;
S7, more new task handling result state.
The state code of business data processing task has:
20:The state signed for, present
25:Verification passes through
00:The state that tasks carrying is completed
50:The state of tasks carrying exception
55:Tasks carrying calls the state of remote service time-out
10:Task needs the state performed again after verifying
99:The full final state of task number of retries
58:The abnormal state of task verification
90:Task verification does not pass through, the state skipped.
From no task node state, to 20;Check verifications are carried out, if calling abnormal, state transformation 58;If it returns Then state change is 90 to fasle;True is returned, then enters virtual 25, the excute methods into remote service carry out specifically Tasks carrying;Task is normally performed, more new state is 00;Excute returns to specific business information and then returns to 50;If it calls It is overtime during excute, then return to 55;After certain setting time, batch processing frame can unify by abnormality code 58, 55th, 50 status modifier is 10, so as to which this abnormal business datum can be signed for handling again;If this abnormal restoring processor When system is repeated 9 times out still untreated success status, then the state for changing the business datum is 99, if this state needs to restore, Artificial treatment is then needed to restore state.
The foregoing is only a preferred embodiment of the present invention, but protection scope of the present invention be not limited thereto, Any one skilled in the art in the technical scope disclosed by the present invention, according to the technique and scheme of the present invention and its Inventive concept is subject to equivalent substitution or change, should be covered by the protection scope of the present invention.

Claims (7)

1. the device of data interaction between a kind of electronic tax multisystem, which is characterized in that including device deployment module, described device Deployment module signal is connected with multiple source system modules and multiple goal systems modules, and device deployment module includes device deployment clothes Business device forms job task by implementation schedule and execution condition that each system task is established in device deployment services device Table by way of remote control poll, flexibly triggers the operations such as extraction, conversion, operation, the judgement of source system data, will return The result data returned feeds back and updates goal systems, completes the data interaction task of automation.
2. realize the device of data interaction between a kind of electronic tax multisystem as described in claim 1, it is characterised in that:Setting Condition triggers next step tasks carrying after meeting, and neither empty race task waste of resource will not in time be influenced because task triggers Data update promptness.
3. realize the device of data interaction between a kind of electronic tax multisystem as described in claim 1, it is characterised in that:It can set It puts poll execution interval and runs number again, realize that mission failure automatically processes.
4. realize the device of data interaction between a kind of electronic tax multisystem as described in claim 1, it is characterised in that:To wheel It askes task status to be monitored, can check task status at any time, and equipped with log query, carry out manual intervention when necessary.
5. the method for data interaction between a kind of electronic tax multisystem according to claim 1, which is characterized in that including with Lower step:
S1, all configuration datas that rwdd polling set-ups are obtained from configuration center, a task correspond to a data, obtain herein It is task list;
S2, it one is signed for from set of tasks can sign for task data, and change state to have signed for;
S3, check verifications are carried out to the long-range kernel service of the data call signed for, to pass through, false does not pass through true, passes through Then continue to call the excute methods of kernel service to perform;
S4, check do not pass through, and represent that data do not need to perform the task, more new task handling result state is skips execution, no The step of after needing;
S5, check are pushed to task data in workerpool by rear, and the excute of kernel service is called to perform specifically Task operating, return null or " " represent tasks carrying success, otherwise perform mission failure;
S6, tasks carrying call external system processing;
S7, more new task handling result state.
6. the method for data interaction between a kind of electronic tax multisystem according to claim 5, which is characterized in that business number State code according to processing task has:
20:The state signed for, present
25:Verification passes through
00:The state that tasks carrying is completed
50:The state of tasks carrying exception
55:Tasks carrying calls the state of remote service time-out
10:Task needs the state performed again after verifying
99:The full final state of task number of retries
58:The abnormal state of task verification
90:Task verification does not pass through, the state skipped.
7. the method for data interaction between a kind of electronic tax multisystem according to claim 6, which is characterized in that appoint from nothing Business node state, to 20;Check verifications are carried out, if calling abnormal, state transformation 58;The state change if fasle is returned It is 90;True is returned, then enters virtual 25, the excute methods into remote service carry out specific tasks execution;Normally hold Task is gone, more new state is 00;Excute returns to specific business information and then returns to 50;If calling time-out during excute, return Return 55;After certain setting time, batch processing frame can unify be by the status modifier of abnormality code 58,55,50 10, so as to which this abnormal business datum can be signed for handling again;If this abnormal restoring treatment mechanism is repeated 9 times out still During untreated success status, then the state for changing the business datum is 99, if this state needs to restore, artificial treatment is needed to restore shape State.
CN201810082928.7A 2018-01-29 2018-01-29 The method and apparatus of data interaction between a kind of electronic tax multisystem Pending CN108182118A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810082928.7A CN108182118A (en) 2018-01-29 2018-01-29 The method and apparatus of data interaction between a kind of electronic tax multisystem

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810082928.7A CN108182118A (en) 2018-01-29 2018-01-29 The method and apparatus of data interaction between a kind of electronic tax multisystem

Publications (1)

Publication Number Publication Date
CN108182118A true CN108182118A (en) 2018-06-19

Family

ID=62551643

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810082928.7A Pending CN108182118A (en) 2018-01-29 2018-01-29 The method and apparatus of data interaction between a kind of electronic tax multisystem

Country Status (1)

Country Link
CN (1) CN108182118A (en)

Similar Documents

Publication Publication Date Title
EP0622714B1 (en) Integrated automation development system and method
CN109656782A (en) Visual scheduling monitoring method, device and server
CZ222098A3 (en) Automation apparatus
US20200145303A1 (en) Utilizing machine learning with self-support actions to determine support queue positions for support calls
CN103838625A (en) Data interaction method and system
CN110691122B (en) Parallel chain consensus method, device and storage medium
EP3724776A1 (en) Method, function manager and arrangement for handling function calls
CN108182118A (en) The method and apparatus of data interaction between a kind of electronic tax multisystem
CN105912414A (en) Method and system for server management
CN107766144A (en) A kind of method for scheduling task, apparatus and system
JPS6236577B2 (en)
CN111008031B (en) Component updating method and device, electronic equipment and computer readable storage medium
EP3422185A1 (en) Processing system and processing method
CN112084044A (en) Event processing method in system and related device
EP0280893B1 (en) Relational data base lock avoidance system
CN108062224A (en) Data read-write method, device and computing device based on file handle
CN114037496A (en) State machine-based order state management method, device, equipment and medium
CN115409310A (en) System and method for generating and displaying targeted information related to a robot working in an operating environment
US10885014B2 (en) Assigning monitoring responsibilities in distributed systems using optimistic concurrency
CN111984275A (en) System deployment method, system, terminal and storage medium based on CPU architecture type
CN108693968A (en) The man-machine interface based on vehicle is controlled via wearable device
US20210036936A1 (en) Utilizing machine learning with self-support actions to determine support queue positions for support calls
US10705893B1 (en) Command line interface modifications
CN101442549B (en) Method and apparatus for controlling concurrence error
CN112363948B (en) Interface testing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180619

WD01 Invention patent application deemed withdrawn after publication