CN108062714A - Annuity data transmission method for uplink, device, computer equipment and storage medium - Google Patents
Annuity data transmission method for uplink, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN108062714A CN108062714A CN201711213258.XA CN201711213258A CN108062714A CN 108062714 A CN108062714 A CN 108062714A CN 201711213258 A CN201711213258 A CN 201711213258A CN 108062714 A CN108062714 A CN 108062714A
- Authority
- CN
- China
- Prior art keywords
- message
- sent
- social security
- data
- security center
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/08—Insurance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q50/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/26—Government or public services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/62—Establishing a time schedule for servicing the requests
Abstract
The present invention relates to a kind of annuity data transmission method for uplink, device, computer equipment and storage medium, this method is included when timed task existing for startup, then obtains annuity data to be sent corresponding with the timed task;The basic configuration of interface is obtained according to interface identifier corresponding with the timed task;Obtain processing method corresponding with the basic configuration;Social security center configuration table is obtained according to social security center identification corresponding with the timed task;Configuration template is obtained according to the interface identifier and the social security center configuration table;Acquired annuity data to be sent are inputted by the processing method and generate message into acquired configuration template;The message is sent to corresponding social security center by the interface.Above-mentioned annuity data transmission method for uplink, device, computer equipment and storage medium, improves transmitting efficiency.
Description
Technical field
The present invention relates to field of computer technology, are set more particularly to a kind of annuity data transmission method for uplink, device, computer
Standby and storage medium.
Background technology
, it is necessary to be directed to different societies when professional annuity trustee system receives the message that Duo Jia provinces social security center is sent
The requirement at guarantor center carries out personalisation process, and feeds back message information to social security center.
In traditional technology, professional annuity trustee can only be solely to the transmission message information at a social security center, when need
When sending message information to different social security centers, then need to set substantial amounts of transmission system, maintenance work is very big so that hair
Efficiency is sent to reduce.
The content of the invention
Based on this, it is necessary in view of the above-mentioned problems, provide a kind of annuity data transmission method for uplink, device, computer equipment and
Storage medium.
A kind of annuity data transmission method for uplink, the described method includes:
When timed task existing for startup, then annuity data to be sent corresponding with the timed task are obtained;
The basic configuration of interface is obtained according to interface identifier corresponding with the timed task;
Obtain processing method corresponding with the basic configuration;
Social security center configuration table is obtained according to social security center identification corresponding with the timed task;
Configuration template is obtained according to the interface identifier and the social security center configuration table;
Acquired annuity data to be sent are inputted into acquired configuration template by the processing method and are generated
Message;
The message is sent to corresponding social security center by the interface.
In one of the embodiments, the method further includes:
The transmission that annuity data to be sent are received by webpage instructs;
The annuity data to be sent are inputted into corresponding interface table according to the transmission instruction;
Configuration and the transmission corresponding timed task of instruction.
In one of the embodiments, it is described acquisition annuity data to be sent corresponding with the timed task the step of it
Afterwards, further include:
Physical verification is carried out to the annuity data to be sent;
If verification is not by obtaining user identifier corresponding with the timed task;
To the information of the corresponding user terminal feedback check failure of the user identifier.
In one of the embodiments, it is described by the processing method by acquired annuity data to be sent input to
The step of message is generated in acquired configuration template, including:
Public domain node data is generated according to the social security center configuration table;
According to the social security center configuration table and acquired annuity data to be sent generation service node data;
According to the configuration module, public domain node data, service node data generation message.
In one of the embodiments, it is described to be given birth to according to the configuration module, public domain node data, service node data
The step of message before, further include:
Physical verification is carried out to the configuration module, public domain node data, service node data;
If verification is not by obtaining user identifier corresponding with the timed task;
To the information of the corresponding user terminal feedback check failure of the user identifier.
In one of the embodiments, the step that the message is sent to corresponding social security center by the interface
Suddenly include:
The message is preserved as daily record;
Judge whether the message is file correlation;
When the message be file correlation, then file corresponding with the message is sent to corresponding social security center, and
The message is sent to corresponding social security center by the interface;
When the message be not file correlation, then directly the message is sent to by the interface in corresponding social security
The heart.
In one of the embodiments, it is described by the processing method by acquired annuity data to be sent input to
After the step of message is generated in acquired configuration template, further include:
Judging generated message, whether file is related;
When the message is file correlation, then file identification is added in the message.
A kind of annuity data sending device, described device include:
Annuity data acquisition module to be sent, for when timed task existing for startup, then obtaining and appointing with the timing
It is engaged in corresponding annuity data to be sent;
Processing method acquisition module, for obtaining matching somebody with somebody substantially for interface according to interface identifier corresponding with the timed task
It puts, obtains processing method corresponding with the basic configuration;
Social security center configuration table acquisition module, for obtaining society according to social security center identification corresponding with the timed task
Protect center configuration table;
Configuration template acquisition module, for obtaining configuration mould according to the interface identifier and the social security center configuration table
Plate;
Message generation module, for being inputted acquired annuity data to be sent to acquired by the processing method
Configuration template in generate message;
Sending module, for the message to be sent to corresponding social security center by the interface.
A kind of computer equipment can be run on a memory and on a processor including memory, processor and storage
Computer program, the processor realizes the step in above-mentioned any one the method when performing the computer program.
A kind of computer readable storage medium, is stored thereon with computer program, which is executed by processor
Step in Shi Shixian any of the above-described the methods.
Above-mentioned annuity data transmission method for uplink, device, computer equipment and storage medium is set by timed task and sent
Task, and according to the basic configuration of interface corresponding with timed task, obtain corresponding processing method, and acquisition and timed task
Social security center configuration table is obtained, so as to obtain configuration template according to interface identifier and social security center configuration table, and passes through institute
The method of acquisition by annuity data sending to be sent into configuration template to generate message, and by message be sent to social security center with
Annuity data transmission procedure is completed, multiple social security centers can be docked with same annuity trusted systems, improve transmitting efficiency.
Description of the drawings
Fig. 1 is the application scenario diagram of embodiment middle age golden data transmission method for uplink;
Fig. 2 is that the network area in an embodiment divides schematic diagram;
Fig. 3 is the flow chart of the annuity data transmission method for uplink in an embodiment;
Fig. 4 is the flow chart of the step S310 in embodiment illustrated in fig. 3;
Fig. 5 is the schematic diagram of the annuity data sending device in an embodiment;
Fig. 6 is the structure diagram of the computer equipment in an embodiment.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is used only for explaining the present invention, and
It is not used in the restriction present invention.
Be described in detail according to an embodiment of the invention before, it should be noted that, the embodiment described essentially consist in
Annuity data transmission method for uplink, device, computer equipment and the step of storage medium correlation and the combination of system component.Therefore, institute
It states system component and method and step to show in position by ordinary symbol in the accompanying drawings, and only shows
The details related with understanding the embodiment of the present invention, in order to avoid due to those of ordinary skill in the art for having benefited from the present invention
Those obvious details of speech have obscured the disclosure.
Herein, such as left and right, upper and lower, front and rear, first and second etc relational terms are used merely to area
Divide an entity or action and another entity or action, and not necessarily require or imply and is between this entity or action any
Actual this relation or order.Term " comprising ", "comprising" or any other variant are intended to cover non-exclusive inclusion, by
This to include the process of a series of elements, method, article or equipment not only comprising these elements, but also comprising not bright
The other element really listed is elements inherent to such a process, method, article, or device.
Referring to Fig. 1, Fig. 1 is the application scenario diagram of embodiment middle age golden data transmission method for uplink, and in this embodiment, bag
Include annuity trusted systems, more social security centers.Wherein annuity trusted systems again include can be with the public place of social security center to center communications
Reason module, the common interface module that can be communicated with common process module, the public function that can be communicated with common interface module
Module, the page processing module that can be communicated with common process module and can store data database and storage configuration letter
Configuration file of breath etc..Wherein in order to ensure the security of data transmission, referring to Fig. 2, Fig. 2 is the network area in an embodiment
Schematic diagram is divided, wherein internal special line area, internal public network area, external public network area and inside WEB areas can be divided into, wherein internal
Special line area can communicate with external public network, so common process module is set here, and inside WEB areas are merely able to and in-house network
Network communicates, so common interface module, public function module, page processing module, database and configuration file etc. are equal
It is stored in inside WEB areas;And more social security centers are then in external public network area, it can be with the common process in internal special line area
Module communicates.
Referring to Fig. 3, in one of the embodiments, a kind of annuity data transmission method for uplink is provided, the present embodiment is with the party
Annuity trusted systems that method is applied in above-mentioned Fig. 1 illustrate.Operation has annuity data sending on the annuity trusted systems
Program implements annuity data transmission method for uplink by the annuity data sending program.This method specifically comprises the following steps:
S302:When there are during timed task startup, then obtaining annuity data to be sent corresponding with timed task.
Specifically, annuity is that a kind of sale of insurance company is used for periodically to the financial product of purchaser's cash payment, one
As be periodically to get cash after holder's retirement, the Individual Income Tax imposed to annuity is just imposed only when getting, therefore
All taxations to annuity account all lag behind it and generate the time of income.Timed task refers to task preset in advance, then
Default task is performed within the predetermined time.For example, transmission task can be pre-configured with, it should so as to start in the default time
Transmission task.Since annuity data to be sent have default timing statistics or default processing time, work as annuity to be sent
When data do not count complete, then the annuity data to be sent cannot be sent, therefore default transmission task was needed in year to be sent
Can just it start after the completion of golden data collection.
Common process module in annuity trusted systems can be detected whether there are timed task startup, and there is timing
During task start, then common interface module is triggered, year golden number to be sent corresponding with timed task is obtained by common interface module
According to.It this is because common process module is internally positioned special line area, communicates with external public network, in order to ensure inside
The security of data, therefore the common interface module in internally positioned WEB areas is called to obtain annuity data to be sent.
S304:The basic configuration of interface is obtained according to interface identifier corresponding with timed task;It obtains and basic configuration pair
The processing method answered.
Specifically, due to needing to set specific interface when sending data, and the configuration of interface is also annuity transmission process
In problem needed to be considered, therefore common interface module can according to interface identifier corresponding with timed task obtain interface base
This configuration, so as to obtain corresponding processing method according to the basic configuration of interface.Wherein the basic configuration of interface includes connecing
Mouthful transmission parameter, the physical state of interface, the protocol parameter etc. of interface.Wherein the processing method is considered as common process
Class, the common process class can be stored in the factory mode of configuration, and factory mode refers to be responsible for specially having a large amount of jointly
The class instantiation of interface, and need not know it is the pattern that instantiate which class every time in advance.It defines one for creating
The interface of object is built, determines which class instantiated by subclass, which is considered as a subclass under factory mode,
Processing method can be determined by the subclass.
S306:Social security center configuration table is obtained according to social security center identification corresponding with timed task.
Specifically, social security center identification refers to the mark that can uniquely determine the social security center, which can be annuity
Trusted systems can determine for the number of social security center distribution or the mark according to site identifications, so as to according to this
Mark can uniquely determine social security center.
Different timed tasks may be corresponding from different social security centers, i.e., the annuity trusted systems can be from different societies
Guarantor center is docked, and since the configuration at different social security centers may be different, when sending annuity data to be sent,
It also needs to consider different social security centers.Therefore annuity trusted systems can be obtained first in social security corresponding with timed task
The heart identifies, and then obtains social security center configuration table according to the social security center identification, which can deposit in advance
Storage in the database, wherein store the concrete configuration for being related to social security center, the wherein concrete configuration social security at social security center
Center identification, social security center names, the contents such as establishment time at social security center.
S308:Configuration template is obtained according to interface identifier and social security center configuration table.
Specifically, configuration template can be stored in configuration file, and configuration template has been pre-configured with the form of message, example
The content of such as field, field put in order, and the configuration template can be related to interface identifier and social security center configuration table
Connection, i.e., after transmission interface and social security center determine, then can uniquely determine the configuration template.
S310:Acquired annuity data to be sent are inputted into acquired configuration template by processing method and are generated
Message.
It specifically, can be defeated by annuity data to be sent according to acquired processing method after configuration template is got
Enter into configuration template, wherein when the configuration template is XML templates, then input annuity data to be sent to the XML templates
To generate XML message.Then instantiate current XML message and obtain socket examples, and the socket examples and others are believed
Breath is sent as parameter.
S312:Message is sent to corresponding social security center by interface.
Specifically, after message is generated, then message is directly sent to corresponding social security center, it is pending to complete this
Send annuity data transmission procedure.
Above-mentioned annuity data transmission method for uplink sets transmission task by timed task, and according to corresponding with timed task
Interface basic configuration, obtain corresponding processing method, and obtain and obtain social security center configuration table with timed task, so as to
To obtain configuration template according to interface identifier and social security center configuration table, and pass through acquired method by annuity data to be sent
It is sent in configuration template to generate message, and message is sent to social security center to complete annuity data transmission procedure, it is multiple
Social security center can be docked with same annuity trusted systems, improve transmitting efficiency.
In one of the embodiments, which can also include:Year to be sent is received by webpage
The transmission instruction of golden number evidence;Annuity data to be sent are inputted into corresponding interface table according to instruction is sent;Configuration and transmission
Instruct corresponding timed task.
Specifically, annuity trusted systems can provide a webpage, and user can operate on webpage, certain with triggering generation
When task.Such as user operates on webpage can trigger corresponding interface function, page processing module is according to the triggering of user
Operation gets corresponding annuity data to be sent and stores the annuity data to be sent into corresponding interface table, such as when
User opens the annuity data file on interface, and has selected which part annuity data, then clicks on the transmission on interface
After button, page processing module can then get the part annuity data according to the selection region of user, and by the part year
Golden number is according to storing into interface table.Then page processing module configures a timed task, can include interface in the timed task
Mark and social security center identification, so as to which common process module can call common interface module to obtain pair according to the timed task
Annuity data to be sent, interface identifier and social security center identification for answering etc. are to carry out subsequent processing.Wherein interface table can be deposited
Storage in the database, since database purchase is in interior barrier, can ensure the security of database, and each transmission interface
It is correspondingly arranged on interface table.The parameter of timed task can include interface identifier and social security center identification.
In addition, the annuity data to be sent can be the annuity data that annuity trusted systems are actively provided to social security center,
Can also be data institute feedack sent based on social security center etc., wherein, when annuity data to be sent are that annuity is commissioned
Can be file correlation during the annuity data that system active is provided to social security center, when annuity data to be sent are based on society
It is not file correlation during the data institute feedack that guarantor center is sent.
In above-described embodiment, user need to only carry out shirtsleeve operation on webpage, and annuity trusted systems can collect phase
Then the annuity data to be sent closed generate timed task, in order to which annuity trusted systems are timely according to annuity data to be sent
Ground is by annuity data sending to be sent to social security center.
In one of the embodiments, after the step of obtaining annuity data to be sent corresponding with timed task, may be used also
To include:Physical verification is carried out to annuity data to be sent;If verification is not by obtaining user's mark corresponding with timed task
Know;To the information of the corresponding user terminal feedback check failure of user identifier.
Specifically, common process module is calling common interface module come when handling timed task, common interface module is first
Corresponding interface data to be sent is first obtained according to timed task, physical verification, bag then are carried out to the annuity data to be sent
The physical verifications such as data length, data type are included, if verification passes through, are continued according to interface identifier corresponding with timed task
The step of obtaining the basic configuration of interface is to complete transmission task.If verification is not by that is, corresponding annuity data to be sent
There are problem, such as there are the data types of problem or some data there are problem for the form of the annuity data to be sent,
Such as real-coded GA is should be, but current annuity data to be sent are integer data, then the annuity data to be sent are deposited
In problem;Or should be date data, but what is provided is time data, then there is also ask for the annuity data to be sent
Topic.When annuity data check to be sent not by when, then needing notification triggers, this sends the user of operation, i.e. common interface mould
Block can call public function module to send the information for verifying failure, and timing in order to prevent to the user terminal of corresponding user
Task continues or Xun Huan performs, the public function module stop timing task.Wherein public function module is sent to user terminal
The step of verifying the information of failure can be phone number, the electricity of the user for first obtaining user identifier corresponding with timed task
Sub-voice mailbox or WeChat ID etc., phone number, E-mail address or the wechat of right rear line etc. send the annuity data school to be sent
Test the information of failure.Can be sent by the way of wechat public platform wherein by the mode that wechat mode is sent, i.e. user
Wechat public platform is first paid close attention to, when there is the information of the annuity data check to be sent unsuccessfully, then by wechat public platform to right
The user answered sends the information of the annuity data check failure to be sent.
In above-described embodiment, when common interface module receives the timed task, obtained first according to the timed task
Corresponding annuity data to be sent, and in order to ensure that the annuity data sent from annuity trusted systems are correct, therefore walk herein
The annuity data to be sent that this gets are verified first in rapid, only just may proceed to carry out by the annuity data of verification
Message is formed in next step, and so the annuity data are verified first before message is formed, are avoided after message is formed
It was found that annuity error in data, the step of annuity trusted systems is caused to carry out, is all useless, has saved annuity trusted systems
Computing resource improves the accuracy of annuity data sending.
In one of the embodiments, refering to Fig. 4, Fig. 4 is the flow chart of the step S310 in embodiment illustrated in fig. 3, should
Acquired annuity data to be sent are inputted into acquired configuration template generation report by step S310 by processing method
The step of text can include:
S402:Public domain node data is generated according to social security center configuration table.
Specifically, the public domain node at different social security centers is different, it is therefore desirable to according in acquired social security
Heart allocation list generates the node data of corresponding public domain node, such as the node data of the public domain node at the social security center having
Grphdr data, the node data of public domain be pensiondata data, it is therefore desirable to according to social security center configuration table
Different public domain node datas is obtained, to realize the accurate processing to the data to be sent at different social security center.
S404:According to social security center configuration table and acquired annuity data to be sent generation service node data.
Specifically, the service node at different social security centers is also different, therefore is also required to according to social security center configuration
Table generates corresponding business domains node data to obtain different service nodes according to annuity data to be sent, such as works as public affairs
When co-domain node is grphdr nodes, business domain node can be busitext nodes.When public domain node pensiondata is saved
During point, business domain node can be pensioninfo nodes, further according to the acquired corresponding section of annuity data to be sent generation
Point data.It can wherein be selected according to the business domain node generated in the corresponding field in corresponding annuity data to be sent
Data as corresponding node data, without all annuity data to be sent are added in business domain node, so as to
The traffic volume of data can be reduced from source.
S406:According to configuration module, public domain node data, service node data generation message.
Specifically, common interface processing module can be defeated by acquired public domain node data, business domains node data
Enter into corresponding configuration template to obtain corresponding message.Such as when configuration template is XML templates, then directly by those
Data, which are inputted to the XML templates, can then generate corresponding XML message, and the XML message then is sent to common process module,
Socket examples are obtained by the current XML message of common process module instanceization, and according to socket examples and other information parameter
Generate message.
In one of the embodiments, message is generated according to configuration module, public domain node data, service node data
Before step, it can also include:Physical verification is carried out to the configuration module, public domain node data, service node data;If
Verification is not by obtaining user identifier corresponding with timed task then;It is lost to the corresponding user terminal feedback check of user identifier
The information lost.
Specifically, common interface module is after configuration template, public domain node data and service node data are got,
Can physical verification be carried out to those data first, including physical verifications such as data length, data types, if verification passes through,
Corresponding message then is generated according to those contents, if verification failure, needing notification triggers, this sends the user operated, i.e.,
Common interface module can call public function module to send the information of verification failure to the user terminal of corresponding user, and be
Prevent timed task from continuing to execute, the public function module stop timing task.Wherein public function module is whole to user
End sends the step of information of verification failure, can be the cell-phone number for the user for first obtaining user identifier corresponding with timed task
Code, E-mail address or WeChat ID etc., phone number, E-mail address or wechat of right rear line etc. send the letter of verification failure
Breath.Can be sent by the way of wechat public platform wherein by the mode that wechat mode is sent, i.e., user first pays close attention to wechat
Public platform when the information to fail there are the annuity data check to be sent, is then sent out by wechat public platform to corresponding user
Give the information of verification failure.
In above-described embodiment, configuration template, public domain node data and service node are got in common interface module
After data, message is not directly generated, but first determines whether that those data whether there is mistake, after only no mistake, just meeting
Message is generated according to corresponding data, further improves the correctness of message.
In one of the embodiments, acquired annuity data to be sent are inputted to acquired by processing method
After the step of message is generated in configuration template, it can also include:Judging generated message, whether file is related;When message is
During file correlation, then file identification is added in message.
Specifically, after message is generated, then judge whether the message is file correlation, if file is related, then will
The relevant parameter of file, i.e. file identification are put into message, such as the storage location of file, size of file etc., then will
Message and parameter are sent to common process module together.It is related if not file, then the message is directly sent to public place
Module is managed, in order to which common process module is further processed, such as generation socket examples etc..Year golden number wherein to be sent
According to can be annuity trusted systems actively to social security center provide annuity data or based on social security center send number
According to institute's feedack etc., wherein, when annuity data to be sent are the annuities that annuity trusted systems are actively provided to social security center
Can be file correlation during data, when annuity data to be sent are the data institute feedacks based on the transmission of social security center
When, it is not file correlation.In addition, file identification can there is or can also pass through label by the form of flag
Mode exist, be not limited herein.
In above-described embodiment, after message is generated, first determine whether the message is file correlation, if it is, addition
File identification, in order to which common process module generates corresponding socket examples, consequently facilitating subsequent processing.
In one of the embodiments, the step of message being sent to corresponding social security center by interface can include:
It is preserved message as daily record;Judge whether message is file correlation;When message be file correlation, then will be corresponding with message
File be sent to corresponding social security center, and message is sent to corresponding social security center by interface;When message is not text
Part is related, then message directly is sent to corresponding social security center by interface.
Specifically, after according to the XML message generation socket examples generated, a preservation step is further included, that is, is being located
It manages the character string of acquisition before message, socket information, social security center configuration information is saved as log recording, storage
Into portion of people society interface requests response record table, portion of the people society interface requests response record table is stored in database.This
Sample can send message error after, search corresponding log recording can misjudgment the reason for, so as to be directed to
Property make adjustment to message etc. so that message is sent correct next time.
In addition, after by packet storage, then continue to judge whether the message is file correlation, if file is related, then
It actively sends the file on social security center and is stored, it is related if not file, then message is converted into message flow hair
It is sent to social security center.I.e. if the message is file correlation, the parameter according to file, such as the position of file and file are needed
Acquiring size to corresponding file, and this document is uploaded to social security center, can so as to which social security center is after message is received
To directly read relevant file.The message can be that social security center is sent in a manner of byte stream, and social security center exists
Message can be received to annuity trusted systems return one after receiving the message, in order to which annuity trusted systems timely recognize this
Whether message sends success, and when message sends failure, resends message.
In above-described embodiment, after message generation, message is stored, phase can be searched after message error is sent
The log recording answered can misjudgment the reason for, so as to targetedly make adjustment to message etc. so that next
Secondary message is sent correctly, and when message is file correlation, then corresponding file directly is transmitted to social security center, so as in society
After guarantor center receives message, corresponding file can be directly obtained, it should without being obtained again from annuity trusted systems
File reduces the number of data interaction.
Refering to Fig. 5, Fig. 5 is the schematic diagram of the annuity data sending device in an embodiment, which includes:
Annuity data acquisition module 100 to be sent, for when timed task existing for startup, then obtaining and timed task
Corresponding annuity data to be sent.
Processing method acquisition module 200, for obtaining matching somebody with somebody substantially for interface according to interface identifier corresponding with timed task
It puts, obtains processing method corresponding with basic configuration.
Social security center configuration table acquisition module 300, for obtaining society according to social security center identification corresponding with timed task
Protect center configuration table.
Configuration template acquisition module 400, for obtaining configuration template according to interface identifier and social security center configuration table.
Message generation module 500 inputs acquired annuity data to be sent to acquired for passing through processing method
Configuration template in generate message.
Sending module 600, for message to be sent to corresponding social security center by interface.
In one of the embodiments, device can also include:
Receiving module, for passing through the transmission instruction that webpage receives annuity data to be sent.
Input module, for being inputted annuity data to be sent into corresponding interface table according to transmission instruction.
Timed task generation module, for configuring with sending the corresponding timed task of instruction.
In one of the embodiments, device can also include:First correction verification module, for obtaining and timed task pair
After the annuity data to be sent answered, physical verification is carried out to annuity data to be sent.
First feedback module, if for verifying not by obtaining user identifier corresponding with timed task;It is marked to user
Know the information of corresponding user terminal feedback check failure.
In one of the embodiments, message generation module can include:
Public domain node data generation unit, for generating public domain node data according to social security center configuration table.
Service node data generating unit, for according to social security center configuration table and acquired annuity data to be sent
Generate service node data.
Message generation unit, for generating message according to configuration module, public domain node data, service node data.
In one of the embodiments, device can also include:
Second correction verification module, for according to configuration module, public domain node data, service node data generation message it
Before, physical verification is carried out to configuration module, public domain node data, service node data.
Second feedback module, if for verifying not by obtaining user identifier corresponding with timed task;It is marked to user
Know the information of corresponding user terminal feedback check failure.
In one of the embodiments, sending module can include:
Storage unit, for being preserved message as daily record.
Judging unit, for judging whether message is file correlation.
Transmitting element is file correlation for working as message, then file corresponding with message is sent in corresponding social security
The heart, and message is sent to corresponding social security center by interface;When message be not file correlation, then directly by message by connecing
Mouth is sent to corresponding social security center.
In one of the embodiments, device can also include:
File identification add module, for judging generated message, whether file is related;When message is file correlation,
Then file identification is added in message.
Specific restriction on annuity data sending device may refer to the limit above for annuity data transmission method for uplink
Fixed, details are not described herein.Modules in above-mentioned annuity data sending device can fully or partially through software, hardware and its
It combines to realize.Above-mentioned each module can be embedded in or in the form of hardware independently of in the processor in computer equipment, can also
It is stored in a software form in the memory in computer equipment, in order to which processor calls execution more than modules corresponding
Operation.The processor can be central processing unit (CPU), microprocessor, microcontroller etc..Above-mentioned annuity data sending device can
In the form of being embodied as a kind of computer program, computer program can be run on annuity trusted systems as shown in Figure 1.
In one embodiment, a kind of computer equipment is provided, the annuity trusted systems being equivalent in Fig. 1, the calculating
Machine equipment can be server or mobile terminal.When the computer equipment is server, cut-away view can be with
As shown in Figure 6.The computer equipment includes connecing by processor, memory, operating system and the network that system bus connects
Mouthful.Wherein, the processor of the computer equipment is for offer calculating and control ability.The memory of the computer equipment includes non-
Volatile storage medium, built-in storage.The non-volatile memory medium is stored with operating system and computer program.The memory storage
Device provides environment for the operating system in non-volatile memory medium and the operation of computer program.The network of the computer equipment
Interface is used to communicate by network connection with external terminal.To realize a kind of annuity when the computer program is executed by processor
Data transmission method for uplink.It will be understood by those skilled in the art that structure shown in Fig. 6, only relevant with application scheme
The block diagram of part-structure does not form the restriction for the computer equipment being applied thereon to application scheme, specific to calculate
Machine equipment can include either combining some components or with different components than more or fewer components shown in figure
Arrangement.
Wherein, following steps are realized when processor performs program:When timed task existing for startup, then obtain and timing
The corresponding annuity data to be sent of task;The basic configuration of interface is obtained according to interface identifier corresponding with timed task;It obtains
Processing method corresponding with basic configuration;Social security center configuration table is obtained according to social security center identification corresponding with timed task;
Configuration template is obtained according to interface identifier and social security center configuration table;By processing method by acquired annuity data to be sent
Input generates message into acquired configuration template;Message is sent to corresponding social security center by interface.
In one of the embodiments, following steps can also be realized when processor performs program:It is treated by webpage reception
Send the transmission instruction of annuity data;Annuity data to be sent are inputted into corresponding interface table according to instruction is sent;Configuration
With sending the corresponding timed task of instruction.
In one of the embodiments, processor performs the acquisition year to be sent corresponding with timed task realized during program
Golden number according to the step of after, can also include:Physical verification is carried out to annuity data to be sent;If verification is not by obtaining
User identifier corresponding with timed task;To the information of the corresponding user terminal feedback check failure of user identifier.
In one of the embodiments, processor perform realized during program will be acquired to be sent by processing method
Annuity data, which input into acquired configuration template the step of generating message, to be included:It is generated according to social security center configuration table
Public domain node data;According to social security center configuration table and acquired annuity data to be sent generation service node data;
According to configuration module, public domain node data, service node data generation message.
In one of the embodiments, processor perform program when realize according to configuration module, public domain node data,
Before service node data generate the step of message, it can also include:To configuration module, public domain node data, service node
Data carry out physical verification;If verification is not by obtaining user identifier corresponding with timed task;It is corresponding to user identifier
The information of user terminal feedback check failure.
In one of the embodiments, that is realized during processor execution program is sent to corresponding society by message by interface
The step of guarantor center, can include:It is preserved message as daily record;Judge whether message is file correlation;When message is text
Part is related, then file corresponding with message is sent to corresponding social security center, and message is sent to by interface corresponding
Social security center;When message be not file correlation, then message is directly sent to corresponding social security center by interface.
In one of the embodiments, processor perform realized during program will be acquired to be sent by processing method
Annuity data were inputted into acquired configuration template after the step of generation message, can also be included:Judge generated report
Whether file is related for text;When message is file correlation, then file identification is added in message.
The above-mentioned restriction for computer equipment may refer to the specific restriction above for annuity data transmission method for uplink,
Details are not described herein.
Please continue to refer to Fig. 6, a kind of computer readable storage medium is also provided, is stored thereon with computer program, such as Fig. 6
Shown in non-volatile memory medium, wherein, which realizes following steps when being executed by processor:When fixed existing for startup
When task when, then obtain corresponding with timed task annuity data to be sent;It is obtained according to interface identifier corresponding with timed task
Take the basic configuration of interface;Obtain processing method corresponding with basic configuration;It is marked according to social security center corresponding with timed task
Know and obtain social security center configuration table;Configuration template is obtained according to interface identifier and social security center configuration table;It will by processing method
Acquired annuity data to be sent are inputted generates message into acquired configuration template;Message is sent to pair by interface
The social security center answered.
In one of the embodiments, following steps can also be realized when which is executed by processor:It is connect by webpage
Receive the transmission instruction of annuity data to be sent;Annuity data to be sent are inputted into corresponding interface table according to instruction is sent;
Configuration is with sending the corresponding timed task of instruction.
In one of the embodiments, the acquisition realized when which is executed by processor is corresponding with timed task pending
After the step of sending annuity data, it can also include:Physical verification is carried out to annuity data to be sent;If verification not by,
Obtain user identifier corresponding with timed task;To the information of the corresponding user terminal feedback check failure of user identifier.
In one of the embodiments, that is realized when which is executed by processor is treated acquired by processing method
Sending the step of annuity data input into acquired configuration template generation message can include:According to social security center configuration table
Generate public domain node data;According to social security center configuration table and acquired annuity data to be sent generation service node number
According to;According to configuration module, public domain node data, service node data generation message.
In one of the embodiments, realized when which is executed by processor according to configuration module, public domain node
Before the step of data, service node data generation message, it can also include:To configuration module, public domain node data, business
Node data carries out physical verification;If verification is not by obtaining user identifier corresponding with timed task;To user identifier pair
The information for the user terminal feedback check failure answered.
In one of the embodiments, that is realized when which is executed by processor is sent to correspondence by message by interface
Social security center the step of can include:It is preserved message as daily record;Judge whether message is file correlation;Work as message
It is file correlation, then file corresponding with message is sent to corresponding social security center, and message is sent to pair by interface
The social security center answered;When message be not file correlation, then message is directly sent to corresponding social security center by interface.
In one of the embodiments, that is realized when which is executed by processor is treated acquired by processing method
After sending the step of annuity data input into acquired configuration template generation message, it can also include:Judgement is generated
Message whether file is related;When message is file correlation, then file identification is added in message.
The above-mentioned restriction for computer readable storage medium may refer to above for annuity data transmission method for uplink
Specific to limit, details are not described herein.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a non-volatile computer and can be read
In storage medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage is situated between
Matter can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, the scope that this specification is recorded all is considered to be.
Embodiment described above only expresses the several embodiments of the present invention, and description is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that come for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention
Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (10)
1. a kind of annuity data transmission method for uplink, which is characterized in that the described method includes:
When timed task existing for startup, then annuity data to be sent corresponding with the timed task are obtained;
The basic configuration of interface is obtained according to interface identifier corresponding with the timed task;
Obtain processing method corresponding with the basic configuration;
Social security center configuration table is obtained according to social security center identification corresponding with the timed task;
Configuration template is obtained according to the interface identifier and the social security center configuration table;
Acquired annuity data to be sent are inputted by the processing method and generate message into acquired configuration template;
The message is sent to corresponding social security center by the interface.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
The transmission that annuity data to be sent are received by webpage instructs;
The annuity data to be sent are inputted into corresponding interface table according to the transmission instruction;
Configuration and the transmission corresponding timed task of instruction.
3. according to the method described in claim 2, it is characterized in that, described obtain year to be sent corresponding with the timed task
Golden number according to the step of after, further include:
Physical verification is carried out to the annuity data to be sent;
If verification is not by obtaining user identifier corresponding with the timed task;
To the information of the corresponding user terminal feedback check failure of the user identifier.
4. according to the method described in claim 1, it is characterized in that, described will be acquired to be sent by the processing method
Annuity data input into acquired configuration template the step of generation message, including:
Public domain node data is generated according to the social security center configuration table;
According to the social security center configuration table and acquired annuity data to be sent generation service node data;
According to the configuration module, public domain node data, service node data generation message.
5. according to the method described in claim 4, it is characterized in that, it is described according to the configuration module, public domain node data,
Before service node data generate the step of message, further include:
Physical verification is carried out to the configuration module, public domain node data, service node data;
If verification is not by obtaining user identifier corresponding with the timed task;
To the information of the corresponding user terminal feedback check failure of the user identifier.
6. according to the method described in claim 1, it is characterized in that, described be sent to correspondence by the message by the interface
Social security center the step of include:
The message is preserved as daily record;
Judge whether the message is file correlation;
When the message is file correlation, then file corresponding with the message is sent to corresponding social security center, and by institute
It states message and corresponding social security center is sent to by the interface;
When the message be not file correlation, then the message is directly sent to corresponding social security center by the interface.
7. according to the method described in claim 1, it is characterized in that, described will be acquired to be sent by the processing method
Annuity data were inputted into acquired configuration template after the step of generation message, were further included:
Judging generated message, whether file is related;
When the message is file correlation, then file identification is added in the message.
8. a kind of annuity data sending device, which is characterized in that described device includes:
Annuity data acquisition module to be sent, for when timed task existing for startup, then obtaining and the timed task pair
The annuity data to be sent answered;
Processing method acquisition module, for obtaining the basic configuration of interface according to interface identifier corresponding with the timed task,
Obtain processing method corresponding with the basic configuration;
Social security center configuration table acquisition module, for being obtained according to social security center identification corresponding with the timed task in social security
Heart allocation list;
Configuration template acquisition module, for obtaining configuration template according to the interface identifier and the social security center configuration table;
Message generation module is matched somebody with somebody for being inputted acquired annuity data to be sent to acquired by the processing method
It puts and message is generated in template;
Sending module, for the message to be sent to corresponding social security center by the interface.
9. a kind of computer equipment, can run on a memory and on a processor including memory, processor and storage
Computer program, which is characterized in that the processor is realized any one in claim 1 to 7 when performing the computer program
Step in item the method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt
The step in any one of claim 1 to 7 the method is realized when processor performs.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711213258.XA CN108062714B (en) | 2017-11-28 | 2017-11-28 | Annuity data sending method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711213258.XA CN108062714B (en) | 2017-11-28 | 2017-11-28 | Annuity data sending method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108062714A true CN108062714A (en) | 2018-05-22 |
CN108062714B CN108062714B (en) | 2021-01-26 |
Family
ID=62135087
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711213258.XA Active CN108062714B (en) | 2017-11-28 | 2017-11-28 | Annuity data sending method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108062714B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109871354A (en) * | 2019-01-16 | 2019-06-11 | 平安科技(深圳)有限公司 | A kind of method and device of file process |
CN110363419A (en) * | 2019-07-10 | 2019-10-22 | 拉扎斯网络科技(上海)有限公司 | Task data processing method and device, electronic equipment and medium |
CN111859041A (en) * | 2020-07-24 | 2020-10-30 | 中国工商银行股份有限公司 | Data transmission method and device |
CN113726781A (en) * | 2021-08-31 | 2021-11-30 | 平安养老保险股份有限公司 | Message information processing method and device, computer equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102833357A (en) * | 2011-06-17 | 2012-12-19 | 上海晨阑数据技术有限公司 | Interface platform communicating with third party |
CN103067462A (en) * | 2012-12-19 | 2013-04-24 | 东软集团股份有限公司 | Document transmission method and device based on Mirror Link protocol |
US9137116B1 (en) * | 2012-07-12 | 2015-09-15 | Juniper Networks, Inc. | Routing protocol interface for generalized data distribution |
US20160180327A1 (en) * | 2014-12-19 | 2016-06-23 | Capital One Services, Llc | Systems and methods for contactless and secure data transfer |
CN105808365A (en) * | 2016-03-22 | 2016-07-27 | 深圳市宁远科技股份有限公司 | HIS (Hospital Information System) interface calling method and HIS interface configuration method |
CN106487712A (en) * | 2016-11-24 | 2017-03-08 | 泰康保险集团股份有限公司 | For accessing method, device and the server of multiple external systems |
CN107181663A (en) * | 2017-06-28 | 2017-09-19 | 联想(北京)有限公司 | A kind of message processing method, relevant device and computer-readable recording medium |
-
2017
- 2017-11-28 CN CN201711213258.XA patent/CN108062714B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102833357A (en) * | 2011-06-17 | 2012-12-19 | 上海晨阑数据技术有限公司 | Interface platform communicating with third party |
US9137116B1 (en) * | 2012-07-12 | 2015-09-15 | Juniper Networks, Inc. | Routing protocol interface for generalized data distribution |
CN103067462A (en) * | 2012-12-19 | 2013-04-24 | 东软集团股份有限公司 | Document transmission method and device based on Mirror Link protocol |
US20160180327A1 (en) * | 2014-12-19 | 2016-06-23 | Capital One Services, Llc | Systems and methods for contactless and secure data transfer |
CN105808365A (en) * | 2016-03-22 | 2016-07-27 | 深圳市宁远科技股份有限公司 | HIS (Hospital Information System) interface calling method and HIS interface configuration method |
CN106487712A (en) * | 2016-11-24 | 2017-03-08 | 泰康保险集团股份有限公司 | For accessing method, device and the server of multiple external systems |
CN107181663A (en) * | 2017-06-28 | 2017-09-19 | 联想(北京)有限公司 | A kind of message processing method, relevant device and computer-readable recording medium |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109871354A (en) * | 2019-01-16 | 2019-06-11 | 平安科技(深圳)有限公司 | A kind of method and device of file process |
CN109871354B (en) * | 2019-01-16 | 2023-08-22 | 平安科技(深圳)有限公司 | File processing method and device |
CN110363419A (en) * | 2019-07-10 | 2019-10-22 | 拉扎斯网络科技(上海)有限公司 | Task data processing method and device, electronic equipment and medium |
CN111859041A (en) * | 2020-07-24 | 2020-10-30 | 中国工商银行股份有限公司 | Data transmission method and device |
CN111859041B (en) * | 2020-07-24 | 2023-07-18 | 中国工商银行股份有限公司 | Data reporting method and device |
CN113726781A (en) * | 2021-08-31 | 2021-11-30 | 平安养老保险股份有限公司 | Message information processing method and device, computer equipment and storage medium |
CN113726781B (en) * | 2021-08-31 | 2023-05-16 | 平安养老保险股份有限公司 | Message information processing method, device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108062714B (en) | 2021-01-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10304062B1 (en) | Computer architecture incorporating blockchain based immutable audit ledger for compliance with data regulations | |
CN108062714A (en) | Annuity data transmission method for uplink, device, computer equipment and storage medium | |
CN108132926A (en) | Contract generating means and system | |
CN107341109B (en) | Test data generation method and system | |
US20050021428A1 (en) | Time management system for mobile employees | |
CN104216912A (en) | Method and device for achieving non-intrusive service form workflow | |
CN111786994B (en) | Data processing method based on block chain and related equipment | |
CN107545031A (en) | Account comprehensive inquiry service, system and computer-readable recording medium | |
CN108063714A (en) | A kind of processing method and processing device of network request | |
CN108256814A (en) | Item information processing method, device, server and storage medium | |
CN109726571A (en) | Electronic signature method, device, storage medium and the electronic equipment of document | |
CN108197908A (en) | A kind of building operation management method, apparatus and system based on cloud platform | |
CN108052550B (en) | Annuity data receiving method and device, computer equipment and storage medium | |
US7571863B2 (en) | Method with which a terminal can retrieve information associated to an EPC-code from an EPC network | |
CN114416075A (en) | Service processing method and device | |
CN106658666A (en) | Method and device for building wireless connection | |
CN103023935A (en) | M2M (machine-to-machine) platform cloud system and method for processing M2M service | |
CN107943969A (en) | Annuity data file sending method, device, computer equipment and storage medium | |
CN111311200B (en) | Management method and device for guest consultation work order platform | |
CN107705384B (en) | Attendance checking method, system, electronic device and storage medium | |
CN109857941A (en) | A kind of input method and device of policy information | |
CN110069755A (en) | Method, apparatus, computer equipment and the storage medium that data are sent | |
CN111582831B (en) | Government affair mailbox management method, system and storage medium | |
CN106815543A (en) | Data processing method and device | |
KR20220066215A (en) | Visit history registration method using smartphone |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |