CN110196889A - Data processing method, device, electronic equipment and storage medium - Google Patents
Data processing method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN110196889A CN110196889A CN201910465623.9A CN201910465623A CN110196889A CN 110196889 A CN110196889 A CN 110196889A CN 201910465623 A CN201910465623 A CN 201910465623A CN 110196889 A CN110196889 A CN 110196889A
- Authority
- CN
- China
- Prior art keywords
- business
- data
- business object
- relationship
- field
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
- G06F16/288—Entity relationship models
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the present disclosure discloses a kind of data processing method, device, electronic equipment and storage medium, which comprises in response to the service data request to the first business object, determines the data inheritance information of the first business object;Wherein data inheritance information records the data inheritance relationship between the first business object and the second business object;According to the data inheritance information of the first business object, business datum of the associated business datum of the second business object as the first business object itself is read.Using the method for the embodiment of the present disclosure in the data linkage relationship between needing to deal with objects, it only needs to be associated different objects by the inheritance between object and object, the logic of data linkage variation can be automatically performed, so that system has very strong flexibility, reduce the code of processing each object incidence relation, the operating time for saving system manager, operation complexity is greatly reduced.
Description
Technical field
The embodiment of the present disclosure is related to technical field of data processing more particularly to a kind of data processing method, device, electronics are set
Standby and storage medium.
Background technique
In enterprises service field, there is complicated incidence relation between object entity and object entity, object entity with
Incidence relation between object entity constitutes a huge data network, and the pass between object signal and object entity
Connection relationship is arbitrary, and is not unalterable.
In view of the arbitrariness of incidence relation between object entity and object entity, when object entity changes, only
It can be modified by manual type for its relevant each object entity according to the variation of object entity.But
Due between object entity and object entity there is complicated incidence relation, the low efficiency of manual amendment's mode, and accidentally
Modification mistake can cause the generations of further problems.
Summary of the invention
A kind of data processing method, device, electronic equipment and storage medium are provided in the embodiment of the present disclosure, to improve pair
As the modification efficiency of entity and accuracy.
In a first aspect, providing a kind of data processing method in the embodiment of the present disclosure, comprising:
In response to the service data request to the first business object, the data inheritance letter of first business object is determined
Breath;The data inheritance information records the data inheritance relationship between first business object and the second business object, described
Data inheritance relationship, which is used to indicate, inherits the associated business datum of the second business object to first business object;
According to the data inheritance information of first business object, the associated business number of the second business object is read
According to business datum as first business object itself.
Second aspect additionally provides a kind of data processing equipment in the embodiment of the present disclosure, comprising:
Inherited information determining module, for determining described first in response to the service data request to the first business object
The data inheritance information of business object;The data inheritance information records between first business object and the second business object
Data inheritance relationship, the data inheritance relationship be used to indicate by the associated business datum of the second business object inherit to
First business object;
Business datum read module reads described second for the data inheritance information according to first business object
The associated business datum of business object, the business datum as first business object itself.
The third aspect additionally provides a kind of electronic equipment in the embodiment of the present disclosure, comprising:
One or more processing units;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processing units, so that one or more of places
It manages device and realizes data processing method provided in the embodiment of the present disclosure.
Fourth aspect additionally provides a kind of computer readable storage medium in the embodiment of the present disclosure, is stored thereon with calculating
Machine program realizes data processing method provided in the embodiment of the present disclosure when program is executed by processing unit.
A kind of data processing scheme is provided in the embodiment of the present disclosure, it will be different by using flexible data inheritance attribute
Object associated in the form of a kind of relation chain, need deal with objects between data linkage relationship when, it is only necessary to pass through
Different objects is associated by the inheritance between object and object, so that it may be automatically performed data linkage variation
Logic reduces the code of processing each object incidence relation, saves system so that system has very strong flexibility
The operating time of administrator, and significantly reduce operation complexity.
Above disclosure is only the general introduction of disclosed technique scheme, in order to better understand the technology hand of the disclosure
Section, and can be implemented in accordance with the contents of the specification, and in order to allow above and other objects, features, and advantages of the present disclosure energy
It is enough clearer and more comprehensible, below the special specific embodiment for lifting the disclosure.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the disclosure is other
Feature, objects and advantages will become more apparent upon.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as pair
The limitation of the disclosure.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of flow diagram of the data processing method provided in the embodiment of the present disclosure;
Fig. 2 shows a kind of structural schematic diagrams of the data processing equipment provided in the embodiment of the present disclosure;
Fig. 3 shows a kind of structural schematic diagram of the data processing equipment provided in the embodiment of the present disclosure;
Fig. 4 shows the structural schematic diagram of a kind of electronic equipment provided in the embodiment of the present disclosure.
Specific embodiment
The disclosure is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is only used for explaining the disclosure, rather than the restriction to the disclosure.It also should be noted that for the ease of
It describes, illustrates only part relevant to the disclosure rather than entire infrastructure in attached drawing.
Before exemplary embodiment is discussed in greater detail, it should be mentioned that some exemplary embodiments are described
At the processing or method described as flow chart.Although operations (or step) are described as the processing of sequence by flow chart,
It is that many of these operations (or step) can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can
To be rearranged.The processing can be terminated when its operations are completed, be not included in attached drawing it is also possible to have
Additional step.The processing can correspond to method, function, regulation, subroutine, subprogram etc..
Fig. 1 shows a kind of flow diagram of the data processing method provided in the embodiment of the present disclosure.The disclosure is implemented
Example is applicable to the case where operating when carrying out data processing for object to data.This method can be filled by data processing
It sets to execute, which can be realized by the way of software and/or hardware, which can be configured at network communication function
In the equipment of energy.As shown in Figure 1, the data processing method provided in the embodiment of the present disclosure may include:
S110, in response to the service data request to the first business object, determine the data inheritance letter of the first business object
Breath;Data inheritance information records the data inheritance relationship between the first business object and the second business object, and the data inheritance
Relationship, which is used to indicate, inherits the associated business datum of the second business object to the first business object.
In the embodiments of the present disclosure, object refers to the anything to be studied, from simplest number to complexity
Aircraft etc. is considered as object, and object can not only indicate some specific things, moreover it is possible to indicate abstract rule, plan or thing
Part.It may include one or more things in first business object, may include one or more things in the second business object.
First business object and the second business object can be the things of ad eundem, or different grades of things.For example, first
Business object is specially " employee ", and the second business object is specifically as follows " department ";Alternatively, the first business object is specially
" employee ", and the second business object specifically may be " employee ".
In the embodiments of the present disclosure, when there is complicated data correlation relation between object, if necessary to a certain business pair
The business datum of elephant carries out data manipulation, then need to find the business object according to the data correlation relation between object associated by
Business datum, to carry out subsequent data processing operation, i.e., traditional mode be matched in a manner of strong constraint business object it
Between complex relationship, so as to obtain business datum according to the incidence relation between matched object.But business object it
Between incidence relation be not fixed and invariable, as the migration of time can change, once change, then need frequently to modify
Permission Constraints adapt to the incidence relation between the business object often changed, to can make matching for business datum incidence relation
Complex during setting, and unavoidably will appear configuration error in configuration process, even if business datum incidence relation
Configuration is correct, subsequent to be also required to inquiry business object association table to will also result in data acquisition operations more complicated.
In the embodiments of the present disclosure, it causes frequently to repair to solve to match complex relationship between business object in a manner of strong constraint
Change Permission Constraints to adapt to the management complexity problem of the business scenario often changed, passes through data inheritance in the embodiment of the present disclosure
Information carrys out the transitive relation of configuration service data.The data inheritance information of first business object records the first business object and second
Data inheritance relationship between business object.Optionally, the data inheritance information of the first business object from people, object, thing business
The data delivery rules between the first business object and the second business object are had recorded in association.As it can be seen that the first business object
It is that core dynamically associates Link role that data inheritance information, which plays between business object with " people, object, thing ", is that a kind of will count
According in the transmittance process of system in a manner of the data management that " application characteristic " serves as theme.
S120, the data inheritance information according to the first business object, read the associated business datum of the second business object, make
For the business datum of the first business object itself.
In the embodiments of the present disclosure, the data inheritance between the first business object and the second business object can be pre-established
Relationship, and after the data inheritance relationship established between the first business object and the second business object, it can be automatically according to this
Data inheritance relationship inherits the associated business datum of the second business object to the first business object, after aforesaid operations are handled
First business object just looks like directly to have business datum associated by the second business object.It is carried out to the first business object
When service data request, can using direct basis data inheritance information read the associated business datum of the second business object as itself
Business datum, entire reading process can directly read from the first business object, read without tabling look-up.
In a kind of optional way of the embodiment of the present disclosure, data between the first business object and the second business object after
Relationship is held, is specifically included: the first adduction relationship between the first business object and the second business object;And first business pair
As with the second business object, respectively the second adduction relationship between same target service data object.
In the present embodiment, in order to realize the data of the business datum between the first business object and the second business object
Inherit function, the first adduction relationship for needing first to establish between the first business object and the second business object and the first business
The second adduction relationship between object and the second business object, after could being carried out according to the first adduction relationship and the second adduction relationship
Continuous data read operation.Optionally, the first adduction relationship can be used for characterizing first business object itself and the second business pair
As the reference incidence relation between itself.Only have the first adduction relationship just and can guarantee that business datum can be in the first business pair
As being transmitted between the second business object, otherwise there is no data to pass between the first business object and the second business object
The bridge passed cannot carry out data transmitting between business object accordingly.
In the present embodiment, optionally, the second adduction relationship can be used for characterizing the first business object and the second business
The transitive relation of business datum between object.Only have the second adduction relationship just and can determine that and needs to be closed the second business object
Which business datum of connection is inherited to the first business object.When establishing between the first business object and target service data object
Adduction relationship and when establishing the adduction relationship between the second business object and same target service data object, shows the first industry
Business object and the second business object are for needing to be directed to target service data in the selection of business datum transmitted, and at this time the
The instruction of two adduction relationships needs target service data associated by the second business object passing to the first business object.
In the present embodiment, the transmitting type of business datum, i.e. two business pair are defined in view of the second adduction relationship
As both pointing to the same target service data object.For this purpose, reading the associated business datum of the second business object as the
When the business datum of one business object itself, specifically the second industry can be read based on the second adduction relationship in data inheritance information
It is engaged in the business datum of the associated target service data object of object, and using the business datum of the target service data object as the
The business datum of one business object itself.
In the present embodiment, in the first adduction relationship established between the first business object and the second business object and
After second adduction relationship, first adduction relationship and the second adduction relationship can be loaded into database, then subsequent right
It, can be according to above-mentioned the first adduction relationship and the second adduction relationship loaded when first business object carries out service data request
The associated business datum of second business object, at this time read the associated business datum of the second business object just look like be directly from
The business datum that the first business object itself is read in database is the same, without according to the first business object and the second industry
The relation table being engaged between object carries out relationship between query object, then takes from database corresponding industry according to object relationship
Business data.
In a kind of optional way of the embodiment of the present disclosure, the first adduction relationship concrete configuration are as follows: the first business object is closed
The field identification of the business type field of connection is directed toward the second business object.
In the present embodiment, in enterprises service field, there is complicated passes between object entity and object entity
Connection relationship, this incidence relation are usually by the field reference description on object.It below will be from the angle for establishing adduction relationship
It is illustrated, includes business type field in the field of the first business object, it specifically can be associated to the first business object
Business type field is configured, and the field identification of the business type field of the first business object is dynamically directed toward the second business
Object establishes the first adduction relationship to realize.It establishes and illustrates Fig. 2 shows a kind of adduction relationship provided in the embodiment of the present disclosure
Figure.It illustratively, referring to fig. 2, is employee with the first business object, for the second business object is business department, by by member
The Field ID of Department field associated by work object is directed toward business department's object, comes into existence draw between employee and business department at this time
Use incidence relation.
In a kind of optional way of the embodiment of the present disclosure, the second adduction relationship concrete configuration are as follows: the first business object is closed
The field identification of the traffic data field of connection and the field identification of the associated traffic data field of the second business object are directed toward simultaneously
Target service data object.
In the present embodiment, it is illustrated from the angle for establishing adduction relationship, in the field of the first business object and
It may each comprise traffic data field in the field of two business objects, it specifically can be to the associated business datum of the first business object
Field and the associated traffic data field of the second business object are configured, dynamically by the business datum word of the first business object
The field identification of section is directed toward target service data object, while by the field identification of the traffic data field of the second business object
It is directed toward target service data object, so as to realize the foundation of the second adduction relationship.Wherein, right in target service data object
The business datum answered is the data inherited.It illustratively, is employee with the first business object, the second business object is
The traffic data field of business department and the first business object is to be responsible for for herringbone section, by carrying out to responsible person's field
The Field ID of responsible person's field of employee's object can be directed toward target responsible person object by configuration, and by business department's object
Responsible person's field Field ID be directed toward target responsible person object.With the foundation person of the first adduction relationship and the second adduction relationship
Has reference incidence relation between work object and business department's object, in responsible person's field on employee's object and department objects
Responsible person's field all refer to the same target responsible person object, at this point, employee's object can inherit the mesh in department objects
Mark responsible person.
In a kind of optional way of the embodiment of the present disclosure, the storage mode of data inheritance relationship includes: that unique fields are deposited
Storage and Multiple Value Field storage, wherein unique fields are that the cover type of data inheritance relationship stores, and Multiple Value Field is data inheritance pass
The succession hierarchic sequence of system stores.
In the present embodiment, establishing data inheritance information, can according to foundation data inheritance information realization by
The business datum of two business objects is inherited to the first business object, and the first business object inherits the business number of the second business object
According to rear, need to carry out the business datum of succession to fall library storage.Business datum can directly be ignored when subsequent query
Inheritance directly can obtain the business datum from the first business object.Optionally, it is handled in the library that falls for carrying out business datum
When, fall library is field identification rather than the business datum of final succession, therefore is not needed when updating business datum itself
Again the data inheritance information of Refresh Services data again, and then do not need falling library again to data inherited information again.
In the present embodiment, for unique fields storage, storage service data inheritance is supported on unique fields
Final result, directly the business datum to come is inherited in covering if specifying by hand.For Multiple Value Field storage, multivalue word
It is cover type unlike inheriting the storage of unique fields that section storage, which is inherited, and it is not addition type that Multiple Value Field, which stores succession mode,
, that is to say, that the business datum to come is above once inherited specifying to will continue to add below by hand, and suitable by succession level
The business datum that sequence additional subsequent is inherited.Optionally, overall plan uses hierarchical cache in performance, by largely writing expansion
Scattered mode can dissolve too deep " data query snowslide " effect that may cause of data inheritance level.
In the present embodiment, the business datum that specified by hand business datum and succession come is distinguished, needs to design
Storage organization.Optionally, diffusion data table is write in the succession of the data inheritance relation table and business datum of establishing business datum, simultaneously
The inheritance chain of cache business data in radis, by accelerating inquiry, time in redis when inquiry and update
It is preferential to sacrifice space, write the thinking of diffusion.
Below by taking employee's (Employee) object and department (Department) object as an example, for Employee object and
Data inheritance relationship between Department object is described in detail.Table 1 be for Employee object and
The description information table of the data inheritance relationship of Department object, shows for Employee object and Department pairs
The business type field and traffic data field of elephant are described in detail.Table 2 is for Employee object and Department
The data inheritance relation table of object is shown according to the data inheritance relationship between Employee object and Department object
The data inheritance result of realization.Table 3 is to spread description information table for Employee object and writing for Department object.Table
4 be to write diffusion data table for the data inheritance of Employee object and Department object.
Table 1
id | Description |
tenant_id | Tenant |
is_inheriting | Whether cutting is inherited |
record_id | The record field identification of employee |
object_id | The object field identification of employee |
field_id | The hrbp field of employee |
inherited_record_id | The record field identification of department |
inherited_object_id | The object field identification of department |
inherited_field_id | The negative hrbp field of department |
updated_at | Timestamp |
Table 2
record_id | field_id | inherited_record_id | inherited_field_id |
dept_l2 | field1_hrbp | dept_l1 | field1_hrbp |
dept_l3 | field1_hrbp | dept_l2 | field1_hrbp |
dept_l4 | field1_hrbp | dept_l3 | field1_hrbp |
employee1 | field2_hrbp | dept4 | field1_hrbp |
employee2 | field2_hrbp | dept3 | field1_hrbp |
Table 3
id | Description |
tenant_id | Tenant |
object_id | The objectId of employee |
field_id | The hrbp field of employee |
record_id | The recordId of employee |
inherited_record_id | The recordId for the department that the hrbp field of employee is inherited |
target_record_id | The recordId for the hrbp that the hrbp field of employee is inherited |
updated_at | Timestamp |
Table 4
record_id | field_id | inherited_record_id | target_record_id | level | order |
dept_l1 | field1_hrbp | dept_l1 | hrbp1_rid | 0 | 1 |
dept_l2 | field1_hrbp | dept_l1 | hrbp1_rid | 1 | 1 |
dept_l2 | field1_hrbp | dept_l2 | hrbp2_rid | 0 | 1 |
dept_l3 | field1_hrbp | dept_l1 | hrbp1_rid | 2 | 1 |
dept_l3 | field1_hrbp | dept_l2 | hrbp2_rid | 1 | 1 |
dept_l3 | field1_hrbp | dept_l3 | hrbp3_rid | 0 | 1 |
dept_l4 | field1_hrbp | dept_l1 | hrbp1_rid | 3 | 1 |
dept_l4 | field1_hrbp | dept_l2 | hrbp2_rid | 2 | 1 |
dept_l4 | field1_hrbp | dept_l3 | hrbp3_rid | 1 | 1 |
dept_l4 | field1_hrbp | dept_l4 | hrbp4_rid | 0 | 1 |
employee1 | field2_hrbp | employee1 | hrbp0_rid | 0 | 1 |
employee1 | field2_hrbp | dept4 | hrbp4_rid | 1 | 1 |
employee1 | field2_hrbp | dept3 | hrbp3_rid1 | 2 | 1 |
employee1 | field2_hrbp | dept3 | hrbp3_rid2 | 2 | 2 |
employee1 | field2_hrbp | dept3 | hrbp3_rid3 | 2 | 3 |
employee1 | field2_hrbp | dept2 | hrbp2_rid | 3 | 1 |
employee1 | field2_hrbp | dept1 | hrbp1_rid | 4 | 1 |
employee2 | field2_hrbp | employee2 | hrbp0_rid | 0 | 1 |
employee2 | field2_hrbp | dept3 | hrbp3_rid | 1 | 1 |
employee2 | field2_hrbp | dept2 | hrbp2_rid | 2 | 1 |
employee2 | field2_hrbp | dept1 | hrbp1_rid | 3 | 1 |
In a kind of optional way of the embodiment of the present disclosure, the big quantitative change of inheritance is caused in view of batch modification adduction relationship
Dynamic scene (such as adjustment organizational structure batch modification higher level department), if lower section existence value inheritance field, synchronous behaviour
Processing time-out is likely resulted in, can choose searched by the way of asynchronous operation according to succession hierarchic sequence at this time.Especially
It is especially needed for being the storage succession mode for Multiple Value Field to be looked by the way of asynchronous operation according to succession hierarchic sequence
It looks for.Optionally, value inheritance is allowed in data definition state, there is a reasonable business scenario, but run mode take after
It needs to identify cyclic annular endless loop when the business datum held, can correctly handle cyclic annular endless loop, and stop circular treatment.
Provide a kind of data processing scheme in the embodiment of the present disclosure, there are incidence relations between object entity, when some
The data of object change, and how the data of affiliated partner flexibly change therewith, the use of embodiment of the present disclosure innovation
The mode of the value of data " inherit " realize that data linkage changes.Value succession can be played in operation system is with " people, object, thing "
The effect for dynamically associating tie of core is a kind of manager that data are served as theme in the propagation of system with " application characteristic "
Formula solves traditional business field for causing frequent modification authority constraint to adapt to often change with strong constraint Model Matching business
The management complexity problem of scape.By using flexible data inheritance attribute, by different objects in the form of a kind of relation chain
In association, when data linkage relationship between dealing with objects, it is only necessary to object be associated by data inheritance information, just
It can be automatically performed the logic of data linkage variation, hard coded modification code is not needed and realize, also do not need system manager's frequency
Numerous modification business constraint conditional plan reduces processing each object association and closes so that system has very strong flexibility
The code of system saves the operating time of system manager, reduces operation complexity.
Fig. 3 shows a kind of structural schematic diagram of the data processing equipment provided in the embodiment of the present disclosure, and the disclosure is implemented
Example is applicable to the case where operating when carrying out data processing for object to data.The device can using software and/
Or the mode of hardware is realized, which can be configured in the equipment with network communicating function.As shown in figure 3, the disclosure is real
Applying the data processing equipment provided in example includes: inherited information determining module 310 and business datum read module 320.Wherein:
Inherited information determining module 310, for determining described in response to the service data request to the first business object
The data inheritance information of one business object;The data inheritance information record first business object and the second business object it
Between data inheritance relationship, the data inheritance relationship, which is used to indicate, inherits the associated business datum of second business object
To first business object;
Business datum read module 320 reads described for the data inheritance information according to first business object
The associated business datum of two business objects, the business datum as first business object itself.
On the basis of the above embodiments, optionally, the data inheritance relationship includes: first business object and institute
State the first adduction relationship between the second business object;And first business object and second business object, respectively
With the second adduction relationship between same target service data object;
Correspondingly, business datum read module is used for: reading the associated target service data pair of the second business object
The business datum of elephant, the business datum as first business object itself.
On the basis of the above embodiments, optionally, the first adduction relationship concrete configuration are as follows: first business pair
As the field identification of associated business type field is directed toward second business object.
On the basis of the above embodiments, optionally, the second adduction relationship concrete configuration are as follows: first business pair
As the field identification of associated traffic data field and the field identification of the associated traffic data field of the second business object
It is directed toward the target service data object simultaneously.
On the basis of the above embodiments, optionally, the storage mode of the data inheritance relationship includes: that unique fields are deposited
Storage and Multiple Value Field storage.
On the basis of the above embodiments, optionally, the unique fields are that the cover type of data inheritance relationship stores;Institute
The succession hierarchic sequence that Multiple Value Field is data inheritance relationship is stated to store.
Data processing equipment provided in the embodiment of the present disclosure can be performed provided in above-mentioned disclosure any embodiment
Data processing method, have and execute the corresponding function of the data processing method and beneficial effect, not in the above-described embodiments in detail
The technical detail described to the greatest extent, reference can be made to data processing method provided in the application any embodiment.
Fig. 4 shows the structural schematic diagram of a kind of electronic equipment provided in the embodiment of the present disclosure.With reference to Fig. 4, show
Suitable for being used to realize the structural schematic diagram of the electronic equipment 400 of the embodiment of the present disclosure.Electronic equipment shown in Fig. 4 is only one
A example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in figure 4, electronic equipment 400 may include processing unit (such as central processing unit, graphics processor etc.)
401, random access can be loaded into according to the program being stored in read-only memory (ROM) 402 or from storage device 408
Program in memory (RAM) 403 and execute various movements appropriate and processing.In RAM 403, it is also stored with equipment 400
Various programs and data needed for operation.Processing unit 401, ROM 402 and RAM 403 are connected with each other by bus 404.It is defeated
Enter/export (I/O) interface 405 and is also connected to bus 404.
In general, following device can connect to I/O interface 405: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph
As the input unit 406 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration
The output device 407 of dynamic device etc.;Storage device 408 including such as tape, hard disk etc.;And communication device 409.Communication device
409, which can permit equipment 400, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 4, which is shown, to be had respectively
The equipment 400 of kind device, it should be understood that being not required for implementing or having all devices shown.It can be alternatively real
Apply or have more or fewer devices.
Particularly, it according to a kind of data processing method provided in disclosure previous embodiment, is retouched above with reference to flow chart
The process for the data processing stated may be implemented as computer software programs.For example, may include one in embodiment of the disclosure
Kind computer program product comprising carry computer program on a computer-readable medium, which includes to use
The program code of the reason method of the data shown in execution flow chart.In such embodiments, which can pass through
Communication device 409 is downloaded and installed from network, is perhaps mounted from storage device 408 or is mounted from ROM402.?
When the computer program is executed by processing unit 401, the skill of the data processing method provided in disclosure previous embodiment is executed
The above-mentioned function of being limited in art scheme.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this
In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated,
In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to
Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit
Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for
By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned
Any appropriate combination.
Above-mentioned computer-readable medium can be included in above equipment;It is also possible to individualism, and it is unassembled
Enter in the equipment.
Optionally, above-mentioned computer-readable medium carries one or more program, when said one or multiple journeys
When sequence is executed by the equipment, the equipment can be made: in response to the service data request to the first business object, determining described the
The data inheritance information of one business object;The data inheritance information record first business object and the second business object it
Between data inheritance relationship, the data inheritance relationship, which is used to indicate, inherits the associated business datum of second business object
To first business object;According to the data inheritance information of first business object, reads second business object and close
The business datum of connection, the business datum as first business object itself.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof
Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+
+, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can
Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package,
Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part.
In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN)
Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service
Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard
The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions, for example, the
One acquiring unit is also described as " obtaining the unit of at least two internet protocol addresses ".
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that the open scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from design disclosed above, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (14)
1. a kind of data processing method characterized by comprising
In response to the service data request to the first business object, the data inheritance information of first business object is determined;Institute
State data inheritance information and record data inheritance relationship between first business object and the second business object, the data after
The relationship of holding, which is used to indicate, inherits the associated business datum of the second business object to first business object;
According to the data inheritance information of first business object, the associated business datum of the second business object is read, is made
For the business datum of first business object itself.
2. the method according to claim 1, wherein the data inheritance relationship includes: first business pair
As the first adduction relationship between second business object;And first business object and second business pair
As the second adduction relationship between same target service data object respectively;
Correspondingly, reading the associated business datum of the second business object, the business as first business object itself
Data, comprising:
The business datum for reading the associated target service data object of second business object, as first business object
The business datum of itself.
3. according to the method described in claim 2, it is characterized in that, the first adduction relationship concrete configuration are as follows: described first
The field identification of the associated business type field of business object is directed toward second business object.
4. according to the method described in claim 2, it is characterized in that, the second adduction relationship concrete configuration are as follows: described first
The word of the field identification of the associated traffic data field of business object and the associated traffic data field of the second business object
Segment identification is directed toward the target service data object simultaneously.
5. the method according to claim 1, wherein the storage mode of the data inheritance relationship includes: monodrome
Field storage and Multiple Value Field storage.
6. according to the method described in claim 5, it is characterized in that, the cover type that the unique fields are data inheritance relationship is deposited
Storage;The Multiple Value Field is that the succession hierarchic sequence of data inheritance relationship stores.
7. a kind of data processing equipment characterized by comprising
Inherited information determining module, for determining first business in response to the service data request to the first business object
The data inheritance information of object;The data inheritance information records the number between first business object and the second business object
According to inheritance, the data inheritance relationship, which is used to indicate, inherits the associated business datum of the second business object to described
First business object;
Business datum read module reads second business for the data inheritance information according to first business object
The associated business datum of object, the business datum as first business object itself.
8. device according to claim 7, which is characterized in that the data inheritance relationship includes: first business pair
As the first adduction relationship between second business object;And first business object and second business pair
As the second adduction relationship between same target service data object respectively;
Correspondingly, business datum read module is used for: reading the associated target service data object of the second business object
Business datum, the business datum as first business object itself.
9. device according to claim 8, which is characterized in that the first adduction relationship concrete configuration are as follows: described first
The field identification of the associated business type field of business object is directed toward second business object.
10. device according to claim 8, which is characterized in that the second adduction relationship concrete configuration are as follows: described first
The word of the field identification of the associated traffic data field of business object and the associated traffic data field of the second business object
Segment identification is directed toward the target service data object simultaneously.
11. device according to claim 7, which is characterized in that the storage mode of the data inheritance relationship includes: monodrome
Field storage and Multiple Value Field storage.
12. device according to claim 11, which is characterized in that the unique fields are the cover type of data inheritance relationship
Storage;The Multiple Value Field is that the succession hierarchic sequence of data inheritance relationship stores.
13. a kind of electronic equipment characterized by comprising
One or more processing units;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processing units, so that one or more of processing fill
It sets and realizes data processing method as claimed in any one of claims 1 to 6.
14. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that program dress processed
Data processing method as claimed in any one of claims 1 to 6 is realized when setting execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910465623.9A CN110196889A (en) | 2019-05-30 | 2019-05-30 | Data processing method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910465623.9A CN110196889A (en) | 2019-05-30 | 2019-05-30 | Data processing method, device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110196889A true CN110196889A (en) | 2019-09-03 |
Family
ID=67753616
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910465623.9A Pending CN110196889A (en) | 2019-05-30 | 2019-05-30 | Data processing method, device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110196889A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110598381A (en) * | 2019-09-16 | 2019-12-20 | 北京字节跳动网络技术有限公司 | Data access method, device, equipment and storage medium |
CN110704751A (en) * | 2019-10-22 | 2020-01-17 | 北京字节跳动网络技术有限公司 | Data processing method and device, electronic equipment and storage medium |
CN110826307A (en) * | 2019-10-31 | 2020-02-21 | 北京字节跳动网络技术有限公司 | Method and device for creating business object |
CN110889708A (en) * | 2019-11-08 | 2020-03-17 | 泰康保险集团股份有限公司 | Correlation processing method and device for transferring annuity member to service |
CN111339561A (en) * | 2020-02-28 | 2020-06-26 | 北京字节跳动网络技术有限公司 | Data processing method, electronic device and storage medium |
CN111475533A (en) * | 2020-04-27 | 2020-07-31 | 万联易达物流科技有限公司 | Logistics document information processing method and device and logistics data information query method and device |
CN112202591A (en) * | 2020-08-28 | 2021-01-08 | 网宿科技股份有限公司 | Configuration management system, method and storage medium |
CN112711629A (en) * | 2020-12-30 | 2021-04-27 | 浙江中控技术股份有限公司 | Data and associated data import and export method, device, equipment and storage medium |
CN113094360A (en) * | 2021-03-19 | 2021-07-09 | 北京优奥创思科技发展有限公司 | Cross-industry data processing method |
WO2022151614A1 (en) * | 2021-01-12 | 2022-07-21 | 平安科技(深圳)有限公司 | Data migration method and apparatus, device, and storage medium |
CN115878647A (en) * | 2023-02-08 | 2023-03-31 | 北京全路通信信号研究设计院集团有限公司 | Data processing method and device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5659723A (en) * | 1991-12-20 | 1997-08-19 | International Business Machines Corporation | Entity/relationship to object oriented logical model conversion method |
CN104794130A (en) * | 2014-01-20 | 2015-07-22 | 华为技术有限公司 | Inter-table correlation query method and device |
CN107145574A (en) * | 2017-05-05 | 2017-09-08 | 恒生电子股份有限公司 | database data processing method, device and storage medium and electronic equipment |
-
2019
- 2019-05-30 CN CN201910465623.9A patent/CN110196889A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5659723A (en) * | 1991-12-20 | 1997-08-19 | International Business Machines Corporation | Entity/relationship to object oriented logical model conversion method |
CN104794130A (en) * | 2014-01-20 | 2015-07-22 | 华为技术有限公司 | Inter-table correlation query method and device |
CN107145574A (en) * | 2017-05-05 | 2017-09-08 | 恒生电子股份有限公司 | database data processing method, device and storage medium and electronic equipment |
Non-Patent Citations (3)
Title |
---|
HDZLEI: "Hibernate之jpa实体映射的三种继承关系", 《CSDN》 * |
千古壹号: "MySQL数据库学习笔记(六)---MySQL多表查询之外键、表连接、子查询、索引", 《博客园》 * |
黎升洪: "《Access数据库与VBA面向对象程序设计》", 31 January 2017 * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110598381A (en) * | 2019-09-16 | 2019-12-20 | 北京字节跳动网络技术有限公司 | Data access method, device, equipment and storage medium |
CN110704751A (en) * | 2019-10-22 | 2020-01-17 | 北京字节跳动网络技术有限公司 | Data processing method and device, electronic equipment and storage medium |
CN110826307A (en) * | 2019-10-31 | 2020-02-21 | 北京字节跳动网络技术有限公司 | Method and device for creating business object |
CN110889708A (en) * | 2019-11-08 | 2020-03-17 | 泰康保险集团股份有限公司 | Correlation processing method and device for transferring annuity member to service |
CN111339561A (en) * | 2020-02-28 | 2020-06-26 | 北京字节跳动网络技术有限公司 | Data processing method, electronic device and storage medium |
CN111475533A (en) * | 2020-04-27 | 2020-07-31 | 万联易达物流科技有限公司 | Logistics document information processing method and device and logistics data information query method and device |
CN112202591A (en) * | 2020-08-28 | 2021-01-08 | 网宿科技股份有限公司 | Configuration management system, method and storage medium |
CN112711629A (en) * | 2020-12-30 | 2021-04-27 | 浙江中控技术股份有限公司 | Data and associated data import and export method, device, equipment and storage medium |
WO2022151614A1 (en) * | 2021-01-12 | 2022-07-21 | 平安科技(深圳)有限公司 | Data migration method and apparatus, device, and storage medium |
CN113094360A (en) * | 2021-03-19 | 2021-07-09 | 北京优奥创思科技发展有限公司 | Cross-industry data processing method |
CN113094360B (en) * | 2021-03-19 | 2023-11-10 | 北京优奥创思科技发展有限公司 | Cross-industry data processing method |
CN115878647A (en) * | 2023-02-08 | 2023-03-31 | 北京全路通信信号研究设计院集团有限公司 | Data processing method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110196889A (en) | Data processing method, device, electronic equipment and storage medium | |
CN113692582B (en) | User interface for establishing a data privacy pipeline and contract agreement to share data | |
CN110569657B (en) | Data access method, device, equipment and storage medium | |
CN108228817A (en) | Data processing method, device and system | |
US9584949B2 (en) | Cloud based master data management architecture | |
US9128768B2 (en) | Cloud based master data management | |
US11822543B2 (en) | Composite views in a master data management system | |
CN107644286A (en) | Workflow processing method and device | |
CN111427971B (en) | Business modeling method, device, system and medium for computer system | |
CN106027593B (en) | For dynamically maintaining the method and system of data structure | |
KR20060043629A (en) | Project time and expense | |
CN109791592A (en) | The sensitive data in application program is handled using external treatment | |
CN111858615A (en) | Database table generation method, system, computer system and readable storage medium | |
CN113711219A (en) | Constraint manager for collaborative intelligence and constraint computation | |
CN111596956B (en) | Information processing method and device based on block chain, electronic equipment and medium | |
CN109492053A (en) | Method and apparatus for accessing data | |
CN109447635A (en) | Information storage means and device for block chain | |
CN110490459A (en) | A kind of protocol managerial approach and device | |
CN109710613A (en) | Management method, device, server and the storage medium of field | |
CN111339561B (en) | Data processing method, electronic device and storage medium | |
US8428989B2 (en) | Cross functional area service identification | |
Yang et al. | Design of enterprise management system based on edge computing architecture | |
CN108920618A (en) | A kind of store method, device, medium and the electronic equipment of object reference relationship | |
US9053143B2 (en) | Allowing updates to database objects | |
CN111241107A (en) | Service processing method, device, 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 |