CN108052550B - Annuity data receiving method and device, computer equipment and storage medium - Google Patents

Annuity data receiving method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN108052550B
CN108052550B CN201711212697.9A CN201711212697A CN108052550B CN 108052550 B CN108052550 B CN 108052550B CN 201711212697 A CN201711212697 A CN 201711212697A CN 108052550 B CN108052550 B CN 108052550B
Authority
CN
China
Prior art keywords
received
character string
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.)
Active
Application number
CN201711212697.9A
Other languages
Chinese (zh)
Other versions
CN108052550A (en
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.)
Ping An Pension Insurance Corp
Original Assignee
Ping An Pension Insurance Corp
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 Ping An Pension Insurance Corp filed Critical Ping An Pension Insurance Corp
Priority to CN201711212697.9A priority Critical patent/CN108052550B/en
Publication of CN108052550A publication Critical patent/CN108052550A/en
Application granted granted Critical
Publication of CN108052550B publication Critical patent/CN108052550B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/105Human resources
    • G06Q10/1057Benefits or employee welfare, e.g. insurance, holiday or retirement packages
    • 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/08Insurance

Abstract

The invention relates to an annuity data receiving method, an annuity data receiving device, computer equipment and a storage medium, wherein the method comprises the following steps: receiving annuity data to be received sent by a social security center, and acquiring corresponding social security center configuration information according to a social security center identifier carried by the annuity data to be received; decrypting annuity data to be received according to the configuration information of the social security center to obtain a character string; acquiring first configuration information corresponding to the character string according to the social security center identification and the interface identification carried by the annuity data to be received and the interaction direction of the annuity data to be received, and processing the character string through the first configuration information to obtain a field; acquiring second configuration information corresponding to the field according to the social security center identification and the interface identification carried by the annuity data to be received, and processing the field through the second configuration information to obtain a key value pair; and converting the key-value pairs into a data model and storing the data model. Different receiving systems do not need to be established for different social security centers, and the receiving efficiency is improved.

Description

Annuity data receiving method and device, computer equipment and storage medium
Technical Field
The invention relates to the technical field of computers, in particular to an annuity data receiving method, an annuity data receiving device, computer equipment and a storage medium.
Background
Annuals are financial products sold by insurance companies to pay cash to purchasers on a regular basis, and are typically received by the bearer on a regular basis after retirement. The personal income tax imposed on annuals is imposed only on earnings in exchange for earnings, and therefore all tax imposed on annuals accounts lag behind the time they generate revenue. When the occupational annuity entrusted people system receives the messages sent by the multi-provincial social security center, personalized processing needs to be carried out according to different social security requirements.
In the traditional technology, an occupational annuity trustee can only receive annuity data information to be received of one social security center singly, when different social security centers need to receive and send the annuity data information to be received, a large number of receiving systems need to be arranged, maintenance work is very large, and receiving efficiency is reduced.
Disclosure of Invention
In view of the above, it is necessary to provide an annuity data receiving method, an apparatus, a computer device, and a storage medium for solving the problem of low receiving efficiency of the annuity entrusted system.
An annuity data receiving method, the method comprising:
receiving annuity data to be received sent by a social security center, and acquiring corresponding social security center configuration information according to a social security center identifier carried by the annuity data to be received;
decrypting the annuity data to be received according to the social security center configuration information to obtain a character string;
acquiring first configuration information corresponding to the character string according to the social security center identification, the interface identification and the interaction direction of the annuity data to be received, which are carried by the annuity data to be received, and processing the character string through the first configuration information to obtain a field;
acquiring second configuration information corresponding to the field according to the social security center identification and the interface identification carried by the annuity data to be received, and processing the field through the second configuration information to obtain a key value pair;
and converting the key-value pair into a data model and storing the data model.
In one embodiment, after the step of decrypting the annuity data to be received according to the social security center configuration information to obtain the character string, the method further includes:
judging whether the annuity data to be received corresponding to the character string is a first receipt message or not;
and when the annuity data to be received corresponding to the character string is a first receipt message, acquiring annuity data to be received corresponding to the character string, and storing the character string and the annuity data to be received in a correlation manner.
In one embodiment, after the step of decrypting the annuity data to be received according to the social security center configuration information to obtain the character string, the method further includes:
storing the character string obtained by decryption;
after the step of converting the key-value pairs into a data model and saving, the method further comprises:
and generating a second receipt message corresponding to whether the data model storage is successful or not, and sending the second receipt message to the social security center after the second receipt message is associated with the character string for storage.
In one embodiment, after the step of decrypting the annuity data to be received according to the social security center configuration information to obtain the character string, the method further includes:
judging whether an interface for receiving the annuity data to be received is a file interface;
and when the interface is a file interface, downloading a file corresponding to the file identifier carried by the character string from the social security center, and storing the file and the character string in an associated manner.
In one embodiment, the step of converting the key-value pairs into a data model and saving includes:
acquiring a processing method corresponding to the key value pair according to a configuration factory mode;
converting the key-value pairs into an initial data model by the processing method;
carrying out differentiation processing on the initial data model according to a preset standard data model;
and storing the initial data model after the differentiation processing.
An annuity data receiving apparatus, the apparatus comprising:
the receiving module is used for receiving annuity data to be received sent by a social security center and acquiring corresponding social security center configuration information according to a social security center identifier carried by the annuity data to be received;
the decryption module is used for decrypting the annuity data to be received according to the social security center configuration information to obtain a character string;
the field acquisition module is used for acquiring first configuration information corresponding to the character string according to the social security center identification, the interface identification and the interaction direction of the annuity data to be received, which are carried by the annuity data to be received, and processing the character string through the first configuration information to obtain a field;
the key value pair acquisition module is used for acquiring second configuration information corresponding to the field according to the social security center identifier and the interface identifier carried by the annuity data to be received, and processing the field through the second configuration information to obtain a key value pair;
and the storage module is used for converting the key value pairs into a data model and storing the data model.
In one embodiment, the apparatus further comprises:
the judgment module is used for judging whether the annuity data to be received corresponding to the character string is a first receipt message or not after the annuity data to be received is decrypted according to the social security center configuration information to obtain the character string;
and the first association module is used for acquiring annuity data to be received corresponding to the character string and storing the character string and the annuity data to be received in an association manner when the annuity data to be received corresponding to the character string is a first receipt message.
In one embodiment, the storage module is further configured to store the decrypted character string after decrypting the annuity data to be received according to the social security center configuration information to obtain the character string;
the device further comprises:
and the feedback module is used for generating a second receipt message corresponding to whether the data model storage is successful or not after the key value pair is converted into the data model and stored, and sending the second receipt message to the social security center after the second receipt message is associated with the character string for storage.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the methods described above when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any of the preceding claims.
According to the annuity data receiving method, the device, the computer equipment and the storage medium, when receiving the to-be-received annuity data sent by the social security center, the configuration information of the social security center is obtained according to the social security center identification, so that the to-be-received annuity data can be accurately decrypted, the character string obtained through decryption can be subjected to personalized processing according to the social security center identification, the interface identification, the to-be-received annuity data interaction direction and the like, and finally a data model is obtained and stored.
Drawings
Fig. 1 is an application scenario diagram of an annuity data receiving method in an embodiment;
FIG. 2 is a schematic diagram illustrating network region partitioning in an embodiment;
FIG. 3 is a flowchart of an annuity data receiving method in an embodiment;
FIG. 4 is a diagram of an annuity data receiving device in one embodiment;
FIG. 5 is a block diagram of a computer device in an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Before describing in detail embodiments that are in accordance with the present invention, it should be observed that the embodiments reside primarily in combinations of steps and system components related to annuity data receiving method, apparatus, computer device, and storage medium. Accordingly, the system components and method steps have been represented where appropriate by conventional symbols in the drawings, showing only those details that are pertinent to understanding the embodiments of the present invention so as not to obscure the disclosure with details that will be readily apparent to those of ordinary skill in the art having the benefit of the description herein.
In this document, relational terms such as left and right, top and bottom, front and back, first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Referring to fig. 1, fig. 1 is a diagram illustrating an application scenario of the annuity data receiving method in an embodiment, which includes an annuity trusted system and a plurality of social security centers. The annuity trusted system comprises a public processing module capable of communicating with the social security center, a public interface module capable of communicating with the public processing module, a public function module capable of communicating with the public interface module, a page processing module capable of communicating with the public processing module, a database capable of storing data, a configuration file for storing configuration information and the like. In order to ensure the security of data transmission, referring to fig. 2, fig. 2 is a schematic diagram of network region division in an embodiment, which may be divided into an internal private line region, an internal public network region, an external public network region, and an internal WEB region, where the internal private line region may communicate with an external public network, so that a public processing module is disposed therein, and the internal WEB region may only communicate with an internal network, so that a public interface module, a public function module, a page processing module, a database, a configuration file, and the like are all stored in the internal WEB region; the multiple social security centers are in the external public network area and can communicate with the public processing module in the internal private line area.
Referring to fig. 3, in one embodiment, an annuity data receiving method is provided, and the embodiment is exemplified by applying the method to the annuity trusted system in fig. 1. The annuity data receiving program is operated on the annuity trusted system, and the annuity data receiving method is implemented through the annuity data receiving program. The method specifically comprises the following steps:
s302: and receiving the annuity data to be received sent by the social security center, and acquiring corresponding social security center configuration information according to the social security center identification carried by the annuity data to be received.
The social security center can send annuity data to the annuity trusted system, so that the annuity trusted system can process the received annuity data, generally, the annuity trusted system receives a socket message, namely the annuity data to be received, the receiving is executed by a public processing module located in an internal private line area, a social security center identifier can be obtained according to the socket message, the public processing module sends the social security center identifier to a public function module, and the public function module reads social security center configuration information in the annuity trusted system according to the social security center identifier. The social security center identifier may be a unique number assigned by the annuity trusted system to different social security centers, or an identifier determined according to a location.
The social security center configuration information may be stored in a database, for example, a social security center configuration table may be established in the database, and the social security center configuration table may store configuration information of multiple social security centers and be associated with the social security center identifier.
Further, after the public function module acquires the social security center configuration information, the social security center configuration information is returned to the public processing module. And if the public function module does not acquire the configuration information of the social security center, returning a message of not acquiring the configuration information of the social security center to the public processing module. Therefore, the annuity entrusted system can send error reporting information to the social security center so as to facilitate the social security center to carry out the next processing. When the public processing module judges that the configuration information of the social security center is acquired, the next processing can be carried out.
S304: and decrypting the annuity data to be received according to the configuration information of the social security center to obtain the character string.
After the public processing module acquires the configuration information of the social security center, a decryption mode of annuity data to be received can be acquired, and a corresponding factory mode can be generated according to the decryption mode, so that the annuity data to be received is input into the factory mode, and a decrypted character string can be acquired; the factory model refers to a model which is specially responsible for instantiating a large number of classes with common interfaces and does not need to know in advance which class is to be instantiated each time. The interface used for creating the object is defined, a subclass determines which class is instantiated, the social security center configuration information can be regarded as a subclass in a factory mode, decryption modes can be determined through the subclass, the decryption modes form the factory mode together, and therefore the corresponding decryption modes can be obtained according to the social security center configuration information. And in order to enable the original character string to be called continuously subsequently, before the character string is actually processed, the public function module stores the decrypted character string and the configuration information of the social security center as log records in a human-social interface request response record table in a database, and can feed back the ID number of the log to the public processing module so as to facilitate the public processing module to record and store.
S306: and acquiring first configuration information corresponding to the character string according to the social security center identification and the interface identification carried by the annuity data to be received and the interaction direction of the annuity data to be received, and processing the character string through the first configuration information to obtain a field.
The public processing module calls the public interface module to process the character string after acquiring information that the character string is recorded, and because processing modes of different social security centers, different interfaces and different annuity data interaction directions to be received are different, first configuration information needs to be acquired according to social security center identification, interface identification and the annuity data interaction directions to be received, and the character string is processed according to the first configuration information to obtain a field. The first configuration information stores the parsing manner of the character string, for example, if the x-th character to the y-th character of the character string correspond to one field, the common interface module parses one field according to the x-th character to the y-th character, and similarly, other fields can be parsed according to the positions of other characters.
S308: and acquiring second configuration information corresponding to the field according to the social security center identification and the interface identification carried by the annuity data to be received, and processing the field through the second configuration information to obtain the key value pair.
After the public interface module analyzes the fields, the fields analyzed at this time are disordered, and therefore the fields need to be further processed, so that the public interface module obtains second configuration information corresponding to the fields according to the social security center identifier and the interface identifier carried by the annuity data to be received, and the public interface module can convert the analyzed fields into key value pairs of corresponding types according to the field types and the field formats, such as map key value pairs, wherein the map key value pairs are containers for associating the key objects and the value objects, such as key objects serving as fields in the second configuration information and value objects serving as values of corresponding fields in the annuity data to be received, and the key objects and the value objects are stored in an associated manner to obtain corresponding map value pairs. When a plurality of rows of annuity data to be received exist, the analyzed fields are converted into key value pairs of a table type, such as listmap type data.
S310: and converting the key-value pairs into a data model and storing the data model.
After the key-value pairs are obtained, the relation between the data is established, and then the key-value pairs can be converted into a data model according to the relation between the data, so that the data is more standard, for example, the key-value pairs can be converted into a table form, wherein the table form comprises a title, a field, contents and the like.
According to the annuity data receiving method, when the to-be-received annuity data sent by the social security center is received, the configuration information of the social security center is obtained according to the social security center identification, so that the to-be-received annuity data can be accurately decrypted, the character string obtained through decryption can be subjected to personalized processing according to the social security center identification, the interface identification, the to-be-received annuity data interaction direction and the like, and finally a data model is obtained and stored.
In one embodiment, after the step of decrypting the annuity data to be received according to the configuration information of the social security center to obtain the character string, the method may further include: judging whether the annuity data to be received corresponding to the character string is a first receipt message or not; and when the annuity data to be received corresponding to the character string is the first receipt message, acquiring annuity data to be received corresponding to the character string, and storing the character string and the annuity data to be received in a correlation manner.
After the public interface module obtains the decrypted character string, the public interface module may further determine whether annuity data to be received corresponding to the character string is a first receipt message, if the annuity data to be received is a receipt message, that is, the social security center replies the annuity data to be received based on a message sent by the annuity trusted system, the public interface module needs to obtain the message sent by the annuity trusted system, and store the obtained message sent by the annuity trusted system and the first receipt message in association, for example, the obtained message and the first receipt message may be stored in a human social interface request record table of the database, so that the user may determine whether data communication between the annuity trusted system and the human social is in error by querying data in the human social interface request record table. When a certain annuity data to be received in the request record table of the human-social interface does not obtain the first receipt message corresponding to the annuity data to be received in the preset time, a prompt can be sent to prevent the condition that the annuity data to be received is missed.
In the above embodiment, the annuity data to be received may be processed by determining whether the annuity data to be received is a receipt message, so that the annuity data to be received needs to be stored with the corresponding request annuity data to be received when the receipt message is received, so as to facilitate a subsequent user to inquire whether the annuity data to be received is in error.
In one embodiment, after the step of decrypting the annuity data to be received according to the configuration information of the social security center to obtain the character string, the method may further include: storing the character string obtained by decryption; after the step of converting the key-value pairs into the data model and saving, the method further comprises the following steps: and generating a second receipt message corresponding to whether the data model storage is successful or not, and sending the second receipt message to the social security center after the second receipt message is associated with the character string for storage.
Before the character string is actually processed, the public function module saves the decrypted character string and the configuration information of the social security center as log records to a human-social interface request response record table in a database, and can feed back the ID number of the log to the public processing module so as to facilitate the public processing module to record and store.
Therefore, after the key value pairs are converted into the data models and stored, a second receipt message corresponding to whether the data model storage is successful or not can be generated, for example, when the data model storage is successful, annuity data to be received, which are successfully stored in the data models, are generated, when the data model storage is unsuccessful, annuity data to be received, which are unsuccessfully stored in the data models, can be generated, and the annuity data to be received can be stored in a request record table through a human-social interface and are associated with corresponding character strings. Before judging whether the annuity data to be received corresponding to the character string is a receipt message, physical verification can be performed on the character string, such as the type of the character, the length of the character and the like. If the verification fails, the annual fund data to be received which is failed to be verified is organized through the public function module, and then the annual fund data to be received which is failed to be verified is fed back to the social security center through the public processing module. If the verification is successful, continuously judging whether the annuity data to be received corresponding to the character string is a receipt message.
In the above embodiment, the character string is stored after the character string is obtained through decryption, so that the data model and the corresponding character string can be stored after the data model is obtained, and convenience is provided for subsequent data service processing.
In one embodiment, after the step of decrypting the annuity data to be received according to the configuration information of the social security center to obtain the character string, the method may further include: judging whether an interface for receiving annuity data to be received is a file interface; and when the interface is a file interface, downloading a file corresponding to the file identifier carried by the character string from the social security center, and storing the file and the character string in an associated manner.
After the public processing module receives the message that the public function module stores the character string, the public processing module judges whether an interface for receiving annuity data to be received is a file interface, and if the interface is the file interface, the public processing module downloads a file corresponding to a file identifier carried by the character string from the social security center, so that the public processing module can perform corresponding processing on the file, and performs associated storage on the file and the character string, and accordingly, the file can be subsequently processed correspondingly.
In the above embodiment, when the file interface of the interface for receiving the annuity data to be received is determined, the corresponding file is acquired from the social security center, and the acquired file and the character string are stored in an associated manner, so that the file can be called in real time when the character string is subsequently processed.
In one embodiment, the step of converting the key-value pairs into a data model and saving may comprise: acquiring a processing method corresponding to the key value pair according to the configuration factory mode; converting the key-value pairs into an initial data model by a processing method; carrying out differentiation processing on the initial data model according to a preset standard data model; and storing the initial data model after the differentiation processing.
The factory model refers to a model which is specially responsible for instantiating a large number of classes with common interfaces and does not need to know in advance which class is to be instantiated each time. It defines an interface for creating objects, with subclasses determining which class to instantiate. The public interface module obtains a processing method corresponding to the key value pair according to the configuration factory mode, then converts the key value pair into an initial data model through the processing method, and the expression mode of the field of the initial data model is possibly inconsistent with the expression mode of the field in the annuity entrusted system, so that the public interface module can carry out differentiation processing on the initial data model according to a preset standard data model, namely, after the expression modes of all the fields are unified, the initial data model after differentiation processing is stored, for example, the initial data model can be stored into an interface table, and the interface table can be stored into a database. In addition, before the step of processing, whether the key value pair is normally converted or not can be judged, if the key value pair is not normally converted, the common function module organizes the annuity data to be received, which is failed to be converted, and the common processing module feeds the annuity data to be received, which is failed to be converted, back to the corresponding social security center. If the key-value pair is successfully converted normally, continuing to convert the key-value pair into the data model and storing the data model.
In the above embodiment, the initial data model is differentiated according to a preset standard data model; and storing the initial data model after the differentiation processing to obtain data convenient for service processing, so that the data can be subsequently subjected to service processing.
Referring to fig. 4, fig. 4 is a schematic diagram of an annuity data receiving device according to an embodiment, the device including:
the receiving module 100 is configured to receive annuity data to be received sent by the social security center, and obtain corresponding social security center configuration information according to a social security center identifier carried by the annuity data to be received.
And the decryption module 200 is configured to decrypt the annuity data to be received according to the social security center configuration information to obtain a character string.
The field obtaining module 300 is configured to obtain first configuration information corresponding to the character string according to the social security center identifier, the interface identifier, and the interaction direction of the annuity data to be received, which are carried by the annuity data to be received, and process the character string through the first configuration information to obtain the field.
And the key-value pair obtaining module 400 is configured to obtain second configuration information corresponding to the field according to the social security center identifier and the interface identifier carried in the annuity data to be received, and process the field through the second configuration information to obtain a key-value pair.
And the saving module 500 is used for converting the key value pairs into data models and saving the data models.
In one embodiment, the apparatus may further include:
the first judgment module is used for judging whether the annuity data to be received corresponding to the character string is the first receipt message or not after the annuity data to be received is decrypted according to the configuration information of the social security center to obtain the character string.
And the first association module is used for acquiring annuity data to be received corresponding to the character string and storing the character string and the annuity data to be received in an association manner when the annuity data to be received corresponding to the character string is the first receipt message.
In one embodiment, the storage module may be further configured to store the character string obtained by decryption after decrypting the annuity data to be received according to the social security center configuration information to obtain the character string.
The device still includes: and the feedback module is used for generating a second receipt message corresponding to whether the data model storage is successful or not after the key value pair is converted into the data model and stored, and sending the second receipt message to the social security center after the second receipt message is associated with the character string for storage.
In one embodiment, the apparatus may further include: the second judgment module is used for judging whether an interface for receiving the annuity data to be received is a file interface or not after the annuity data to be received is decrypted according to the configuration information of the social security center to obtain a character string; and when the interface is a file interface, downloading a file corresponding to the file identifier carried by the character string from the social security center, and storing the file and the character string in an associated manner.
In one embodiment, the saving module may include:
and the processing method acquisition unit is used for acquiring the processing method corresponding to the key value pair according to the configuration factory mode.
And the conversion unit is used for converting the key value pairs into the initial data model through a processing method.
And the differentiation processing unit is used for carrying out differentiation processing on the initial data model according to a preset standard data model.
And the storage unit is used for storing the initial data model after the differentiation processing.
For the specific limitation of the annuity data receiving device, reference may be made to the above limitation on the annuity data receiving method, which is not described herein again. The modules in the annuity data receiving device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules. The processor can be a Central Processing Unit (CPU), a microprocessor, a singlechip and the like. The above annuity data receiving means may be implemented in the form of a computer program that can be run on an annuity trusted system as shown in fig. 1.
In one embodiment, a computer device is provided, which corresponds to the above-mentioned annuity trusted system, and which may be a server or a mobile terminal. When the computer device is a server, its internal structure diagram may be as shown in fig. 5. The computer device includes a processor, a memory, an operating system, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an annuity data receiving method. Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Wherein, the following steps are realized when the processor executes the program: receiving annuity data to be received sent by a social security center, and acquiring corresponding social security center configuration information according to a social security center identifier carried by the annuity data to be received; decrypting annuity data to be received according to the configuration information of the social security center to obtain a character string; acquiring first configuration information corresponding to the character string according to the social security center identification and the interface identification carried by the annuity data to be received and the interaction direction of the annuity data to be received, and processing the character string through the first configuration information to obtain a field; acquiring second configuration information corresponding to the field according to the social security center identification and the interface identification carried by the annuity data to be received, and processing the field through the second configuration information to obtain a key value pair; and converting the key-value pairs into a data model and storing the data model.
In one embodiment, after the step of decrypting the annuity data to be received according to the social security center configuration information to obtain the character string, which is implemented when the processor executes the program, the method may further include: judging whether the annuity data to be received corresponding to the character string is a first receipt message or not; and when the annuity data to be received corresponding to the character string is the first receipt message, acquiring annuity data to be received corresponding to the character string, and storing the character string and the annuity data to be received in a correlation manner.
In one embodiment, after the step of decrypting the annuity data to be received according to the social security center configuration information to obtain the character string, which is implemented when the processor executes the program, the method may further include: storing the character string obtained by decryption; so that the steps of converting key-value pairs into data models and saving implemented when the processor executes the program may further include: and generating a second receipt message corresponding to whether the data model storage is successful or not, and sending the second receipt message to the social security center after the second receipt message is associated with the character string for storage.
In one embodiment, after the step of decrypting the annuity data to be received according to the social security center configuration information to obtain the character string, which is implemented when the processor executes the program, the method may further include: judging whether an interface for receiving annuity data to be received is a file interface; and when the interface is a file interface, downloading a file corresponding to the file identifier carried by the character string from the social security center, and storing the file and the character string in an associated manner.
In one embodiment, the step of converting the key-value pairs into the data model and saving, which is performed when the processor executes the program, may include: acquiring a processing method corresponding to the key value pair according to the configuration factory mode; converting the key-value pairs into an initial data model by a processing method; carrying out differentiation processing on the initial data model according to a preset standard data model; and storing the initial data model after the differentiation processing.
The above definition of the computer device can refer to the above specific definition of the annuity data receiving method, and is not described herein again.
With continuing reference to fig. 5, there is also provided a computer readable storage medium having stored thereon a computer program, such as the non-volatile storage medium shown in fig. 5, wherein the program when executed by a processor implements the steps of: .
In one embodiment, the program when executed by the processor further performs the steps of: receiving annuity data to be received sent by a social security center, and acquiring corresponding social security center configuration information according to a social security center identifier carried by the annuity data to be received; decrypting annuity data to be received according to the configuration information of the social security center to obtain a character string; acquiring first configuration information corresponding to the character string according to the social security center identification and the interface identification carried by the annuity data to be received and the interaction direction of the annuity data to be received, and processing the character string through the first configuration information to obtain a field; acquiring second configuration information corresponding to the field according to the social security center identification and the interface identification carried by the annuity data to be received, and processing the field through the second configuration information to obtain a key value pair; and converting the key-value pairs into a data model and storing the data model.
In one embodiment, after the step of decrypting the annuity data to be received according to the social security center configuration information to obtain the character string is implemented when the program is executed by the processor, the method may further include: judging whether the annuity data to be received corresponding to the character string is a first receipt message or not; and when the annuity data to be received corresponding to the character string is the first receipt message, acquiring annuity data to be received corresponding to the character string, and storing the character string and the annuity data to be received in a correlation manner.
In one embodiment, after the step of decrypting the annuity data to be received according to the social security center configuration information to obtain the character string is implemented when the program is executed by the processor, the method may further include: storing the character string obtained by decryption; so that the steps of converting key-value pairs into data models and saving implemented when the processor executes the program may further include: and generating a second receipt message corresponding to whether the data model storage is successful or not, and sending the second receipt message to the social security center after the second receipt message is associated with the character string for storage.
In one embodiment, after the step of decrypting the annuity data to be received according to the social security center configuration information to obtain the character string is implemented when the program is executed by the processor, the method may further include: judging whether an interface for receiving annuity data to be received is a file interface; and when the interface is a file interface, downloading a file corresponding to the file identifier carried by the character string from the social security center, and storing the file and the character string in an associated manner.
In one embodiment, the step of converting and saving the key-value pairs into the data model when the program is executed by the processor may include: acquiring a processing method corresponding to the key value pair according to the configuration factory mode; converting the key-value pairs into an initial data model by a processing method; carrying out differentiation processing on the initial data model according to a preset standard data model; and storing the initial data model after the differentiation processing.
The above definition of the computer-readable storage medium can refer to the above specific definition of the annuity data receiving method, and is not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An annuity data receiving method, the method comprising:
receiving annuity data to be received sent by a social security center, and acquiring corresponding social security center configuration information according to a social security center identifier carried by the annuity data to be received;
decrypting the annuity data to be received according to the social security center configuration information to obtain a character string;
acquiring first configuration information corresponding to the character string according to the social security center identification, the interface identification and the interaction direction of the annuity data to be received, which are carried by the annuity data to be received, and processing the character string through the first configuration information to obtain a field;
acquiring second configuration information corresponding to the field according to the social security center identification and the interface identification carried by the annuity data to be received, and processing the field through the second configuration information to obtain a key value pair;
and converting the key-value pair into a data model and storing the data model.
2. The method as claimed in claim 1, wherein after the step of decrypting the annuity data to be received according to the social security center configuration information to obtain the character string, the method further comprises:
judging whether the annuity data to be received corresponding to the character string is a first receipt message or not;
and when the annuity data to be received corresponding to the character string is a first receipt message, acquiring a request message corresponding to the character string, and storing the character string and the request message in a correlation manner.
3. The method as claimed in claim 1, wherein after the step of decrypting the annuity data to be received according to the social security center configuration information to obtain the character string, the method further comprises:
storing the character string obtained by decryption;
after the step of converting the key-value pairs into a data model and saving, the method further comprises:
and generating a second receipt message corresponding to whether the data model storage is successful or not, and sending the second receipt message to the social security center after the second receipt message is associated with the character string for storage.
4. The method as claimed in claim 1, wherein after the step of decrypting the annuity data to be received according to the social security center configuration information to obtain the character string, the method further comprises:
judging whether an interface for receiving the annuity data to be received is a file interface;
and when the interface is a file interface, downloading a file corresponding to the file identifier carried by the character string from the social security center, and storing the file and the character string in an associated manner.
5. The method of claim 1, wherein the step of converting the key-value pairs into a data model and saving comprises:
acquiring a processing method corresponding to the key value pair according to a configuration factory mode;
converting the key-value pairs into an initial data model by the processing method;
carrying out differentiation processing on the initial data model according to a preset standard data model;
and storing the initial data model after the differentiation processing.
6. An annuity data receiving apparatus, comprising:
the receiving module is used for receiving annuity data to be received sent by a social security center and acquiring corresponding social security center configuration information according to a social security center identifier carried by the annuity data to be received;
the decryption module is used for decrypting the annuity data to be received according to the social security center configuration information to obtain a character string;
the field acquisition module is used for acquiring first configuration information corresponding to the character string according to the social security center identification, the interface identification and the interaction direction of the annuity data to be received, which are carried by the annuity data to be received, and processing the character string through the first configuration information to obtain a field;
the key value pair acquisition module is used for acquiring second configuration information corresponding to the field according to the social security center identifier and the interface identifier carried by the annuity data to be received, and processing the field through the second configuration information to obtain a key value pair;
and the storage module is used for converting the key value pairs into a data model and storing the data model.
7. The apparatus of claim 6, further comprising:
the judgment module is used for judging whether the annuity data to be received corresponding to the character string is a first receipt message or not after the annuity data to be received is decrypted according to the social security center configuration information to obtain the character string;
and the first association module is used for acquiring annuity data to be received corresponding to the character string and storing the character string and the annuity data to be received in an association manner when the annuity data to be received corresponding to the character string is a first receipt message.
8. The apparatus according to claim 6, wherein the storage module is further configured to store the decrypted character string after decrypting the annuity data to be received according to the social security center configuration information to obtain the character string;
the device further comprises:
and the feedback module is used for generating a second receipt message corresponding to whether the data model storage is successful or not after the key value pair is converted into the data model and stored, and sending the second receipt message to the social security center after the second receipt message is associated with the character string for storage.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN201711212697.9A 2017-11-28 2017-11-28 Annuity data receiving method and device, computer equipment and storage medium Active CN108052550B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711212697.9A CN108052550B (en) 2017-11-28 2017-11-28 Annuity data receiving method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711212697.9A CN108052550B (en) 2017-11-28 2017-11-28 Annuity data receiving method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108052550A CN108052550A (en) 2018-05-18
CN108052550B true CN108052550B (en) 2020-07-07

Family

ID=62120707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711212697.9A Active CN108052550B (en) 2017-11-28 2017-11-28 Annuity data receiving method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108052550B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582286B (en) * 2018-07-04 2021-11-26 福州震旦计算机技术有限公司 Freemarker technology-based data normalization verification method and device
CN111209281B (en) * 2020-01-06 2023-04-28 泰康保险集团股份有限公司 Annuity data processing method, annuity data processing device, medium and electronic equipment
CN112434015B (en) * 2020-12-08 2022-08-19 新华三大数据技术有限公司 Data storage method and device, electronic equipment and medium
CN113726781B (en) * 2021-08-31 2023-05-16 平安养老保险股份有限公司 Message information processing method, device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532700A (en) * 2013-09-25 2014-01-22 国家电网公司 Communication message encryption and decryption model of electricity consumption information collecting system
CN106204000A (en) * 2016-07-05 2016-12-07 康存乐付保数据科技(上海)有限公司 A kind of service consumption method for processing payment information and system
CN106296177A (en) * 2016-08-30 2017-01-04 中国民生银行股份有限公司 Data processing method based on bank's Mobile solution and equipment
CN106652257A (en) * 2016-11-29 2017-05-10 杭州东方通信软件技术有限公司 Supervision system and supervision method
CN106934023A (en) * 2017-03-13 2017-07-07 山东浪潮云服务信息科技有限公司 A kind of data managing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7743397B2 (en) * 2001-01-17 2010-06-22 Lg Electronics Inc. Digital television signal, digital television receiver, and method of processing digital television signal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532700A (en) * 2013-09-25 2014-01-22 国家电网公司 Communication message encryption and decryption model of electricity consumption information collecting system
CN106204000A (en) * 2016-07-05 2016-12-07 康存乐付保数据科技(上海)有限公司 A kind of service consumption method for processing payment information and system
CN106296177A (en) * 2016-08-30 2017-01-04 中国民生银行股份有限公司 Data processing method based on bank's Mobile solution and equipment
CN106652257A (en) * 2016-11-29 2017-05-10 杭州东方通信软件技术有限公司 Supervision system and supervision method
CN106934023A (en) * 2017-03-13 2017-07-07 山东浪潮云服务信息科技有限公司 A kind of data managing method and device

Also Published As

Publication number Publication date
CN108052550A (en) 2018-05-18

Similar Documents

Publication Publication Date Title
CN108052550B (en) Annuity data receiving method and device, computer equipment and storage medium
WO2020140663A1 (en) Microservice grayscale publishing method, device, computer device and storage medium
CN113452719A (en) Application login method and device, terminal equipment and storage medium
CN111274045B (en) Multi-platform docking method and device, computer equipment and readable storage medium
EP3413255A1 (en) Electronic payment service processing method and device, and electronic payment method and device
WO2020000720A1 (en) Server, packet processing method, program, and computer-readable storage medium
CN110543510B (en) Bill data processing method, device, storage medium and computer equipment
CN104796257A (en) Flexible data authentication
CN112367164B (en) Service request processing method and device, computer equipment and storage medium
US20210182955A1 (en) Financial transaction management system, method, storage medium and server
CN101388096A (en) Multi-platform data standardization processing method and system
CN111506632A (en) Data processing method and device
CN112767113A (en) Account checking data processing method, device and system based on block chain
CN112135186A (en) Screen projection method, device, equipment and storage medium based on small program
CN113918904A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN110807209B (en) Data processing method, device and storage medium
CN108062713B (en) Annuity data file obtaining method and device, computer equipment and storage medium
CN107943969B (en) Annuity data file sending method and device, computer equipment and storage medium
CN114265577A (en) Service data processing method and device, computer equipment and storage medium
CN113609147A (en) Data sharing method and device and electronic equipment
US11315104B2 (en) Account identifier digitization abstraction
CN111327680A (en) Authentication data synchronization method, device, system, computer equipment and storage medium
CN115510366A (en) Business message pushing method and device, computer equipment and storage medium
CN116383799A (en) Business processing method and device based on applet and electronic equipment
CN113706299A (en) Data processing method and device, electronic equipment and medium

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