CN109189378A - A kind of data processing method and relevant apparatus - Google Patents
A kind of data processing method and relevant apparatus Download PDFInfo
- Publication number
- CN109189378A CN109189378A CN201811012944.5A CN201811012944A CN109189378A CN 109189378 A CN109189378 A CN 109189378A CN 201811012944 A CN201811012944 A CN 201811012944A CN 109189378 A CN109189378 A CN 109189378A
- Authority
- CN
- China
- Prior art keywords
- data processing
- processing method
- attribute
- data
- class
- 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
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/31—Programming languages or programming paradigms
- G06F8/315—Object-oriented languages
Abstract
The invention discloses a kind of data processing methods, system and device and computer readable storage medium, when the data to target property information are handled, first call the first data processing method, in the first kind, realize the first data processing method based on Javabean, the processing of this method realization objective attribute target attribute data, since the first Similar integral has the second class of corresponding second data processing method of HashMap type, make the first data processing method in the corresponding data of actual treatment objective attribute target attribute object, by the operation for calling the second data processing method database.If not realizing data processing method in the first kind, it can also be directly to call the second data processing method to complete data processing by transmitting key, in a manner of value, therefore this programme not only remains JavaBean specification, but also possess the flexibility of HashMap by Javabean in conjunction with HashMap.
Description
Technical field
The present invention relates to Object Relation Mapping technical field, more specifically to a kind of data processing method, system,
Device and computer readable storage medium.
Background technique
ORM (Object Relation Mapping) is that Java (a kind of computer programming language) applies commonly used technology modules, is used
Object the object model in program is indicated is mapped in the relational model database structure based on SQL, with simplified pair
The operation of database.
In the prior art, the mapping of data structure is usually to use Javabean to realize, is each Object Creation
Javabean works as needs including the data processing method (get method, set method) of the attribute of object, the corresponding attribute
When being read by the corresponding data of the attribute of the object in database or modify operation, it can by calling the attribute pair
The data processing method answered is completed.
This method, if it is desired to which attribute data is operated, it is necessary to determine the corresponding object of the attribute, and be directed to
The corresponding Javabean of the Object Creation attribute.But in the business for being related to report, wherein will include multiple tables of data,
For example, having object User, and it has the attribute of name, student number in a table, in another table, without corresponding right
As, but have student number and corresponding achievement in this table.That is, can't usually be set for the attribute of second table for it
Javabean is set, but if may be related to handling the operation of the corresponding achievement of name, in number in business processing logic
According in the operation in library, it is only necessary to name can be found by, which being associated two tables, corresponds to achievement, and operates on it, still,
For achievement, corresponding object is not User, but does not have object, and corresponding without achievement
Javabean, this has resulted in database structure and Javabean is not the case where one-to-one correspondence, if it is desired to handle this kind
Property data, it is necessary to for its create Javabean still since the Javabean has no actual entity object meaning, have
It is contrary in the original intention of Object-Oriented Design, and if constructing Javabean to each attribute, size of code can be increased significantly, increases
The difficulty of later period code maintenance.
Therefore, the data in database how are flexibly handled, are those skilled in the art's problems to be solved.
Summary of the invention
The purpose of the present invention is to provide a kind of data processing method, system, device and computer readable storage medium, with
It solves the problems, such as how flexibly to handle the data in database.
To achieve the above object, the embodiment of the invention provides following technical solutions:
A kind of data processing method, comprising:
Call the first data processing method in the first kind;Wherein, the first kind is preset with the every of corresponding each object
The data processing method of a attribute, first data processing method are the number based on JavaBean of corresponding target property information
According to processing method, the target property information is the attribute information of target object;
The target property information is passed to the second data processing side of the second class using first data processing method
Method;Wherein, the second class described in first Similar integral, second class are preset with corresponding second number of HashMap type
According to processing method;
Using being passed to second data processing method of the target property information to target category described in database
The property corresponding data of information are handled.
Wherein, the first kind is the corresponding target object for the class of Javabean to be arranged.
Wherein, second class be record class, it is described record class include HashMap type preset attribute, and with it is described
Corresponding second data processing method of preset attribute.
Wherein, first data processing method called in the first kind, comprising:
Call the first data capture method that the target property information is corresponded in the first kind;Wherein, the target
Attribute information includes objective attribute target attribute title;
Then second data that the target property information is passed to the second class using first data processing method
Processing method, comprising:
The objective attribute target attribute name is referred to as to the key of the second data capture method using first data capture method, and
It is passed to second data capture method;Wherein, second data capture method is the data capture method of second class.
Wherein, first data processing method called in the first kind, comprising:
The first data arrangement method for corresponding to the target property information in the first kind is called, and described first is counted
Objective attribute target attribute setting value is set as according to the setting value of setting method;Wherein the target property information include objective attribute target attribute title and
The objective attribute target attribute setting value;
Then second data that the target property information is passed to the second class using first data processing method
Processing method, comprising:
Using first data arrangement method using the objective attribute target attribute setting value as second data arrangement method
Value, the objective attribute target attribute name is referred to as to the key of second data arrangement method, and described value and the key are passed to institute
State the second data arrangement method.
Present invention also provides a kind of data processing systems, comprising:
Calling module, for calling the first data processing method in the first kind;Wherein, the first kind is preset with correspondence
The data processing method of each attribute of each object, first data processing method be corresponding target property information based on
The data processing method of JavaBean, the target property information are the attribute information of target object;
Biography value module, for the target property information to be passed to the of the second class using first data processing method
Two data processing methods;Wherein, the second class described in first Similar integral, it is corresponding that second class is preset with HashMap type
Second data processing method;
Processing module, for utilizing second data processing method for being passed to the target property information to database
Described in the corresponding data of target property information handled.
Wherein, the first kind is the BaseBean class of the corresponding target object.
Wherein, second class be record class, it is described record class include HashMap type preset attribute, and with it is described
Corresponding second data processing method of preset attribute.
Present invention also provides a kind of data processing equipments, comprising:
Memory, for storing computer program;
Processor, realization is as described in power the step of data processing method when for executing the computer program.
Present invention also provides a kind of computer readable storage medium, meter is stored on the computer readable storage medium
Calculation machine program is realized when the computer program is executed by processor such as the step of the data processing method.
By above scheme it is found that a kind of data processing method provided by the invention, comprising: call first in the first kind
Data processing method;Wherein, the first kind is preset with the data processing method of each attribute of corresponding each object, and described the
One data processing method is the data processing method based on JavaBean of corresponding target property information, the target property information
For the attribute information of target object;The target property information is passed to the of the second class using first data processing method
Two data processing methods;Wherein, the second class described in first Similar integral, it is corresponding that second class is preset with HashMap type
Second data processing method;Using being passed to second data processing method of the target property information to data
The corresponding data of target property information described in library are handled.
It can be seen that a kind of data processing method provided by the present application, is handled in the data to target property information
When, the first data processing method based on Javabean is called first, that is to say, that in the first kind, is realized and is based on
The data processing method of Javabean, be the processing of target property information data can be realized by Javabean, and due to
First the second class of Similar integral has corresponding second data processing method of HashMap type in the second class, makes the first data processing side
Method is in the corresponding data of actual treatment objective attribute target attribute object, by the behaviour for calling the second data processing method database
Make.Since method of the reality to database manipulation is corresponding second data processing method of HashMap type, so if not existing
The data processing method of Javaean is realized in the first kind, can also be called at the second data in such a way that key, value are transmitted in direct clearance
Reason method complete data processing, therefore this programme by Javabean in conjunction with HashMap, both can be used based on Javabean's
Data processing method handles attribute data, to remain JavaBean specification, can also directly pass through HashMap class
Corresponding second data processing method of type handles attribute data, without being arranged each attribute based on Javabean's
Method, to possess the flexibility of HashMap.
Present invention also provides a kind of data processing system, device, computer readable storage mediums, equally may be implemented
State technical effect.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of data processing method flow chart disclosed by the embodiments of the present invention;
Fig. 2 is a kind of specific data processing method flow chart disclosed by the embodiments of the present invention;
Fig. 3 is a kind of specific data processing method flow chart disclosed by the embodiments of the present invention;
Fig. 4 is a kind of data processing system structural schematic diagram disclosed by the embodiments of the present invention;
Fig. 5 is a kind of data processing equipment structural diagram disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of data processing method, system, device and computer readable storage mediums, with solution
The problem of certainly how flexibly handling the data in database.
Referring to Fig. 1, a kind of data processing method provided in an embodiment of the present invention is specifically included:
S101 calls the first data processing method in the first kind;Wherein, the first kind is preset with corresponding each object
Each attribute data processing method, first data processing method is corresponding target property information based on JavaBean
Data processing method, the target property information be target object attribute information.
In the present solution, Javabean and HashMap are combined, thus the rule for making Business Entity both meet Javabean
Model, and possess the flexibility of HashMap.
Specifically, the data processing method when handling attribute data, first in the calling first kind.Wherein, exist
In the concept of object-oriented, including object (Object) this concept, and object can be corresponding with attribute, for example, defining one
The object of entitled User (user) can also be called entity object, and the object definition has including age (age), name (year
Age) attribute, each attribute has specific data again, these data storage corresponding tables of data in the database.In we
In case, if to handle the data of some attribute of some object, for example, the age attribute of User object, it be to the category
Property data modify or inquiry operation, the first data processing method in the calling first kind first.
It should be noted that the first kind is one of this programme class (Class), class is Object-oriented Programming Design
(OOP, Object-Oriented Programming) realizes the basis of Information encapsulation, and class is a kind of user defined type, also referred to as
Class Type.Each class includes the function (method) that data illustrate with one group of operation data or transmit message, and the example of class is known as pair
As.
In the first kind, it is preset with the data processing method of each attribute of corresponding each object, data processing method
It is exactly set the or get method that each attribute is corresponded in Javabean.Get method and set method are understood from literal, are exactly obtained
Take method and setting method.The function of get method is exactly to read the value of attribute in class, and set method is then attribute in setting class
Value.
For example, the corresponding data capture method of name can be called when obtaining the name attribute of User object
user.getName();When modifying the name attribute of User object, the corresponding data arrangement method of name can be called
User.setName (" John "), wherein John is the specific data for the setting of name attribute, that is, the name of User is set
It is set to John.
In a specific embodiment, the specific implementation of the first kind can be first realization BaseBean class, then realize
Bean class, Bean Similar integral BaseBean class.
Specifically, BaseBean class is a kind of general designation, and when corresponding to specific business realizing, title is different, for example, for
User entity then can be BaseUser, specifically how to name and is not specifically limited in this programme.Second class of Similar integral,
Specific descriptions in relation to the second class will describe in detail in following step, include immediate operand in the second class according to library
Corresponding second data processing method of HashMap type, e.g., get method and put method.Due to BaseBean Similar integral second
Class, therefore in the first data processing method for executing the first kind, this method can pass through the second data processing side of calling parent
The operation of method database, namely by calling get, put method of parent to realize to specific Business Entity (such as User)
All properties set, get method.
Bean class and a general designation, title is different when corresponding to specific Business Entity, such as User entity, then for
User.Such is inherited from BaseBean class, can according to specific requirements increase object attribute and corresponding method.
The target property information is passed at the second data of the second class by S102 using first data processing method
Reason method;Wherein, the second class described in first Similar integral, second class are preset with HashMap type corresponding described
Two data processing methods.
In the present solution, being equipped with the second class, the second data processing method in the second class is used for entity object in data
The specific data of attribute are operated in library, that is to say, the second class is directly and in the second class of class of database structure mapping
Second data processing method directly operates database.
First above-mentioned the second class of Similar integral, can be by calling the second data processing method of the second class to realize the first kind
The first data processing method, to realize the operation using the first data processing method database.
Specifically, corresponding second data processing method of HashMap type is preset in the second class.
In a specific embodiment, the second class is Record (record) class, such is direct with database structure
The class of mapping, the realization of ORM is completed using conventional method, and the realization in relation to ORM can specifically refer to the prior art, not do herein
It is specific to limit.Include the attribute attrs of a HashMap type in such, and realize get method and put method, for pair
Attrs carries out accessing operation, by carrying out accessing operation to attrs attribute, and in the number of corresponding access method namely second
According to key, the value for being passed to the objective attribute target attribute for needing to be arranged or obtain in processing method, then the access to objective attribute target attribute can be completed,
Namely it is arranged or obtains.
Specifically, the data processing method in the second class, it usually needs incoming key, or, key and value, thus in database
The corresponding data of key are operated.
Specifically, target property information is passed to the second data processing side of the second class using the first data processing method
Method.First data processing method is the data processing method of the Javabean introduced in above-mentioned steps, that is, right in Javabean
Get the or set method for answering attribute, in this get or set method, a usual attribute just corresponds to get, set method,
For example, this attribute (the name attribute of User object) of user.name, corresponding method be user.getName () and
User.setName (" John "), and the corresponding acquisition of other attributes or setting method are exactly the corresponding acquisition of other attributes or set
Set method, that is to say, that there are corresponding relationships for attribute method corresponding with its, rather than share a set of data processing side
Method.Therefore pass through the first data processing method, so that it may determine the corresponding attribute information of the first data processing method.For example,
User.getName (), Property Name are name;User.setName (" John "), Property Name are name, and title pair
The value answered is exactly John.
After determining target property information using the first data processing method, target property information can be passed to the second class
The second data processing method.For example, for the attribute attrs of above-mentioned HashMap type, corresponding data manipulation method,
There are get and put method, and get or put method can be understood as shared method herein, for different objective attribute target attributes, need
The corresponding key of different target attribute or key and value are passed to method, wherein get method is the incoming target category for wanting to obtain
Property title, so that name is referred to as key, such as want to obtain the value of name, key of the name as get method herein;Put method is then
It is and using the corresponding data of Property Name as value, such as to want to set up the data of attribute name using Property Name as key,
Then put method is called using specific data John as value using Property Name name as key.
S103, utilization have been passed to second data processing method of the target property information to mesh described in database
The corresponding data of mark attribute information are handled.
Specifically, since the second class is directly to be mapped with database, utilization has been passed to target property information
Second data processing method handles the corresponding data of target property information in database.
It can be seen that a kind of data processing method provided by the present application, is handled in the data to target property information
When, the first data processing method based on Javabean is called first, that is to say, that in the first kind, is realized and is based on
The data processing method of Javabean, be the processing of target property information data can be realized by Javabean, and due to
First the second class of Similar integral has corresponding second data processing method of HashMap type in the second class, makes the first data processing side
Method is in the corresponding data of actual treatment objective attribute target attribute object, by the behaviour for calling the second data processing method database
Make.Since method of the reality to database manipulation is corresponding second data processing method of HashMap type, so if not existing
The data processing method of Javaean is realized in the first kind, can also be called at the second data in such a way that key, value are transmitted in direct clearance
Reason method complete data processing, therefore this programme by Javabean in conjunction with HashMap, both can be used based on Javabean's
Data processing method handles attribute data, to remain JavaBean specification, can also directly pass through HashMap class
Corresponding second data processing method of type handles attribute data, without being arranged each attribute based on Javabean's
Method, to possess the flexibility of HashMap.
A kind of specific data processing method provided by the embodiments of the present application is introduced below, one kind described below
For specific data processing method mainly to the specific introduction of data acquisition operations, other content is roughly the same with above-described embodiment,
It specifically can be cross-referenced with above-described embodiment.
Referring to fig. 2, a kind of specific data processing method provided by the embodiments of the present application, specifically includes:
S201 calls the first data capture method that the target property information is corresponded in the first kind;Wherein, described
Target property information includes objective attribute target attribute title.
In the present solution, needing to carry out acquisition operation to the corresponding data of target data information.
Specifically, the first data capture method for corresponding to target property information in the first kind is called first, in above-mentioned implementation
It include the first data capture method, the first data capture method is for obtaining number in first data processing method of example
According to method.
In a specific embodiment, the first data capture method is the Javabean of corresponding target property information
Get method.For example, for this attribute of user.name, the first data capture method is exactly user.getName ().
It should be noted that including the title of objective attribute target attribute in target property information, therefore according to the name of objective attribute target attribute
Claim to can determine corresponding first data capture method of target property information.
The objective attribute target attribute name is referred to as the second data capture method using first data capture method by S202
Key, and it is passed to second data capture method;Wherein, second data capture method is the data acquisition of second class
Method.
It specifically, is data processing corresponding to HashMap type due to the second data processing method in the second class
Method is introduced in above-described embodiment, the method for carrying out accessing operation to the attribute attrs of HashMap type.Second number
According to processing method, it is not the method for an objective attribute target attribute, and each objective attribute target attribute can be realized by calling this method
Operation to database.
For obtaining for this operation of the data of objective attribute target attribute, need to want to obtain to the second data capture method is incoming
Objective attribute target attribute title, so that the name of the objective attribute target attribute is referred to as the key of the second data processing method, thus execution second number
According to acquisition methods, so that it may get the data of the corresponding objective attribute target attribute of key from database by the key.
S203, utilization have been passed to second data processing method of the target property information to mesh described in database
The corresponding data of mark attribute information are handled.
A kind of specific data processing method provided by the embodiments of the present application is introduced below, one kind described below
The mainly specific introduction to data setting operation of specific data processing method, other content is roughly the same with above-described embodiment,
It specifically can be cross-referenced with above-described embodiment.
Referring to Fig. 3, a kind of specific data processing method provided by the embodiments of the present application is specifically included:
S301 calls the first data arrangement method that the target property information is corresponded in the first kind, and will be described
The setting value of first data arrangement method is set as objective attribute target attribute setting value;Wherein the target property information includes objective attribute target attribute
Title and the objective attribute target attribute setting value.
In the present solution, need to be configured target property information corresponding data operation, that is, modification or write-in
Operation.
Specifically, the first data arrangement method that target property information is corresponded in the first kind, above-mentioned first number are called first
Include the first data arrangement method according to processing method, has corresponding first data arrangement method for different objective attribute target attributes.
For example, the first data arrangement method is user.setName (" John "), and Property Name is for attribute name
Name, and the corresponding value of title is exactly John, it is clear that value can also be revised as other data.
S302 is arranged using first data arrangement method using the objective attribute target attribute setting value as second data
The objective attribute target attribute name is referred to as the key of second data arrangement method, and described value and the key is passed by the value of method
Enter second data arrangement method.
Specifically, using the first data arrangement method and can determine the corresponding objective attribute target attribute title of target property information and
Objective attribute target attribute title is corresponding to need the value that is arranged, therefore in this step, using the first data arrangement method by objective attribute target attribute
Name is referred to as the key of the second data arrangement method, sets using the corresponding objective attribute target attribute setting value of objective attribute target attribute title as the second data
The value for setting method by key and is worth incoming second data arrangement method, it can in the database using the second data arrangement method
Corresponding objective attribute target attribute setting value is arranged to objective attribute target attribute.
S303, utilization have been passed to second data processing method of the target property information to mesh described in database
The corresponding data of mark attribute information are handled.
A kind of data processing system provided by the embodiments of the present application is introduced below, a kind of data of volume described below
Processing system can be cross-referenced with above-described embodiment.
Referring to fig. 4, a kind of data processing system provided by the embodiments of the present application, specifically includes:
Calling module 401, for calling the first data processing method in the first kind;Wherein, the first kind is preset with
The data processing method of each attribute of corresponding each object, first data processing method are corresponding target property information
Data processing method based on JavaBean, the target property information are the attribute information of target object.
Biography value module 402, for the target property information to be passed to the second class using first data processing method
The second data processing method;Wherein, the second class described in first Similar integral, second class are preset with HashMap type
Corresponding second data processing method.
Processing module 403, for utilizing the second data processing method logarithm for being passed to the target property information
It is handled according to the corresponding data of target property information described in library.
The data processing system of the present embodiment is for realizing data processing method above-mentioned, therefore in data processing system
The embodiment part of the visible data processing method hereinbefore of specific embodiment, for example, calling module 401, biography value module
402, processing module 403 is respectively used to realize step S101, S102, S103 in above-mentioned data processing method, so, it is specific
Embodiment is referred to the description of corresponding various pieces embodiment, and details are not described herein.
A kind of data processing equipment provided by the embodiments of the present application is introduced below, at a kind of data described below
Managing device can be cross-referenced with above-described embodiment.
Referring to Fig. 5, a kind of data processing equipment provided by the embodiments of the present application is specifically included:
Memory 100, for storing computer program;
Step provided by above-described embodiment may be implemented in processor 200 when for executing the computer program.
Specifically, memory 100 includes non-volatile memory medium, built-in storage.Non-volatile memory medium storage
There are operating system and computer-readable instruction, which is that the operating system and computer in non-volatile memory medium can
The operation of reading instruction provides environment.Processor 200 provides calculating and control ability for data processing equipment, may be implemented above-mentioned
Step provided by one data processing method embodiment.
Present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the computer
Step provided by above-described embodiment may be implemented when program is executed by processor.The storage medium may include: USB flash disk, movement
Hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory,
RAM), the various media that can store program code such as magnetic or disk.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (10)
1. a kind of data processing method characterized by comprising
Call the first data processing method in the first kind;Wherein, the first kind is preset with each category of corresponding each object
Property data processing method, first data processing method is at the data based on JavaBean of corresponding target property information
Reason method, the target property information are the attribute information of target object;
The target property information is passed to the second data processing method of the second class using first data processing method;Its
In, the second class described in first Similar integral, second class is preset with corresponding second data processing of HashMap type
Method;
Objective attribute target attribute described in database is believed using second data processing method for being passed to the target property information
Corresponding data are ceased to be handled.
2. the method according to claim 1, wherein the first kind is the corresponding target object for setting
Set the class of Javabean.
3. the record class includes the method according to claim 1, wherein second class is record class
The preset attribute of HashMap type, and the second data processing method corresponding with the preset attribute.
4. the method according to claim 1, wherein it is described call the first kind in the first data processing method,
Include:
Call the first data capture method that the target property information is corresponded in the first kind;Wherein, the objective attribute target attribute
Information includes objective attribute target attribute title;
Then second data processing that the target property information is passed to the second class using first data processing method
Method, comprising:
The objective attribute target attribute name is referred to as the key of the second data capture method using first data capture method, and is passed to
Second data capture method;Wherein, second data capture method is the data capture method of second class.
5. the method according to claim 1, wherein it is described call the first kind in the first data processing method,
Include:
The first data arrangement method for corresponding to the target property information in the first kind is called, and first data are set
The setting value for setting method is set as objective attribute target attribute setting value;Wherein the target property information includes objective attribute target attribute title and described
Objective attribute target attribute setting value;
Then second data processing that the target property information is passed to the second class using first data processing method
Method, comprising:
Using first data arrangement method using the objective attribute target attribute setting value as the value of second data arrangement method,
The objective attribute target attribute name is referred to as to the key of second data arrangement method, and described value and the key are passed to described second
Data arrangement method.
6. a kind of data processing system characterized by comprising
Calling module, for calling the first data processing method in the first kind;Wherein, the first kind is preset with corresponding each
The data processing method of each attribute of object, first data processing method be corresponding target property information based on
The data processing method of JavaBean, the target property information are the attribute information of target object;
Biography value module, for the target property information to be passed to the second number of the second class using first data processing method
According to processing method;Wherein, the second class described in first Similar integral, second class are preset with the corresponding institute of HashMap type
State the second data processing method;
Processing module, for utilizing second data processing method for being passed to the target property information to institute in database
The corresponding data of target property information are stated to be handled.
7. system according to claim 6, which is characterized in that the first kind is the corresponding target object
BaseBean class.
8. system according to claim 6, which is characterized in that second class is record class, and the record class includes
The preset attribute of HashMap type, and the second data processing method corresponding with the preset attribute.
9. a kind of data processing equipment characterized by comprising
Memory, for storing computer program;
Processor, realizing the data processing method as described in any one of claim 1 to 5 when for executing the computer program
Step.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes the step of the data processing method as described in any one of claim 1 to 5 when the computer program is executed by processor
Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811012944.5A CN109189378B (en) | 2018-08-31 | 2018-08-31 | Data processing method and related device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811012944.5A CN109189378B (en) | 2018-08-31 | 2018-08-31 | Data processing method and related device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109189378A true CN109189378A (en) | 2019-01-11 |
CN109189378B CN109189378B (en) | 2021-08-10 |
Family
ID=64917343
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811012944.5A Active CN109189378B (en) | 2018-08-31 | 2018-08-31 | Data processing method and related device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109189378B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110471708A (en) * | 2019-07-12 | 2019-11-19 | 中国平安人寿保险股份有限公司 | The method and device that configuration item based on Reusable Module obtains |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6529909B1 (en) * | 1999-08-31 | 2003-03-04 | Accenture Llp | Method for translating an object attribute converter in an information services patterns environment |
US6539396B1 (en) * | 1999-08-31 | 2003-03-25 | Accenture Llp | Multi-object identifier system and method for information service pattern environment |
US6549949B1 (en) * | 1999-08-31 | 2003-04-15 | Accenture Llp | Fixed format stream in a communication services patterns environment |
CN106484826A (en) * | 2016-09-28 | 2017-03-08 | 山东浪潮商用系统有限公司 | A kind of method and device of operating database |
-
2018
- 2018-08-31 CN CN201811012944.5A patent/CN109189378B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6529909B1 (en) * | 1999-08-31 | 2003-03-04 | Accenture Llp | Method for translating an object attribute converter in an information services patterns environment |
US6539396B1 (en) * | 1999-08-31 | 2003-03-25 | Accenture Llp | Multi-object identifier system and method for information service pattern environment |
US6549949B1 (en) * | 1999-08-31 | 2003-04-15 | Accenture Llp | Fixed format stream in a communication services patterns environment |
CN106484826A (en) * | 2016-09-28 | 2017-03-08 | 山东浪潮商用系统有限公司 | A kind of method and device of operating database |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110471708A (en) * | 2019-07-12 | 2019-11-19 | 中国平安人寿保险股份有限公司 | The method and device that configuration item based on Reusable Module obtains |
CN110471708B (en) * | 2019-07-12 | 2024-02-02 | 中国平安人寿保险股份有限公司 | Method and device for acquiring configuration items based on reusable components |
Also Published As
Publication number | Publication date |
---|---|
CN109189378B (en) | 2021-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108536761B (en) | Report data query method and server | |
US11847135B2 (en) | Blockchain node and transaction method | |
CN104732154B (en) | By the method and system of data anonymous | |
CN110020542B (en) | Data reading and writing method and device and electronic equipment | |
CN104063495A (en) | Form extension method and form extension device | |
CN102981941A (en) | Alarm handling method and alarm handling device | |
CN111506579B (en) | Method, program and equipment for generating intelligent contract code | |
CN109447820A (en) | Data processing method, device, computer equipment and storage medium | |
CN109710235B (en) | Transaction implementation system and method based on Java intelligent contract service logic | |
WO2021057064A1 (en) | Data interaction conversion method and apparatus based on artificial intelligence, device, and medium | |
CN103324713A (en) | Data processing method and device in multistage server and data processing system | |
CN109522139A (en) | A kind of tables of data service creation call method, device, equipment and storage medium | |
CN112925783A (en) | Service data processing method and device, electronic equipment and storage medium | |
CN109189378A (en) | A kind of data processing method and relevant apparatus | |
CN109491971A (en) | A kind of file filter method, apparatus, equipment and computer readable storage medium | |
CN111522840A (en) | Label configuration method, device, equipment and computer readable storage medium | |
CN103729455A (en) | Master data storage method based on primary copy storage pattern | |
CN107741887A (en) | A kind of communication interaction method and apparatus of inter-module | |
CN114513469A (en) | Traffic shaping method and device for distributed system and storage medium | |
US20130166722A1 (en) | Handling incidents related to business processes | |
CN111309290B (en) | Flexible and extensible business rule matrix system | |
CN107153542B (en) | Business logic decoupling method and device | |
CN104281534A (en) | Meta data storing method and device | |
CN112507028B (en) | Data storage method, device, equipment and storage medium | |
CN112579082A (en) | Interactive state data establishing method and device, storage medium and electronic equipment |
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 |