CN111143384B - Entity attribute updating method, device, equipment and readable medium - Google Patents

Entity attribute updating method, device, equipment and readable medium Download PDF

Info

Publication number
CN111143384B
CN111143384B CN201911342369.XA CN201911342369A CN111143384B CN 111143384 B CN111143384 B CN 111143384B CN 201911342369 A CN201911342369 A CN 201911342369A CN 111143384 B CN111143384 B CN 111143384B
Authority
CN
China
Prior art keywords
attribute
target
entity
updating
updated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911342369.XA
Other languages
Chinese (zh)
Other versions
CN111143384A (en
Inventor
赵雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Agricultural Products Co ltd
Original Assignee
Shenzhen Agricultural Products Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Agricultural Products Co ltd filed Critical Shenzhen Agricultural Products Co ltd
Priority to CN201911342369.XA priority Critical patent/CN111143384B/en
Publication of CN111143384A publication Critical patent/CN111143384A/en
Application granted granted Critical
Publication of CN111143384B publication Critical patent/CN111143384B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2393Updating materialised views
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a method and a device for updating entity attributes and a readable medium, wherein the method comprises the following steps: acquiring an attribute updating request, and determining a target entity and target attribute information corresponding to the target entity according to the attribute updating request; updating a preset attribute dictionary according to the target attribute information; determining an attribute template corresponding to the target entity, and updating the attribute template according to the updated attribute dictionary; the invention improves the updating efficiency of entity attributes in the database by updating the attribute list corresponding to the target entity according to the updated attribute template.

Description

Entity attribute updating method, device, equipment and readable medium
Technical Field
The present invention relates to the field of database processing, and in particular, to a method, an apparatus, a device, and a readable medium for updating an entity attribute.
Background
Along with the high-speed development of the internet industry, the demands of users on software are more and more diversified, so that different business entities are correspondingly established on a business data layer corresponding to different business demands, and meanwhile, when the business demands are changed, the attributes of the business entities in various application scenes are correspondingly changed and updated.
In the prior art, when the attribute of the service entity is updated, the attribute is usually replaced by using an extension field in a manner of redundancy of the extension field, that is, when a new attribute needs to be added. The problem of doing so is: on the one hand, a large number of extension fields are introduced, so that a data table contains hundreds of fields, which occupy storage space, on the other hand, the fields have no special entity attribute meaning, and only description and recording are performed on a code layer, so that a large amount of troubles are brought to the maintenance of a database in the future, and the update efficiency of entity attributes in the database is low.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, apparatus, computer device, and readable medium for updating entity attributes.
A method for updating an entity attribute, the method comprising:
acquiring an attribute updating request, and determining a target entity and target attribute information corresponding to the target entity according to the attribute updating request;
updating a preset attribute dictionary according to the target attribute information;
determining an attribute template corresponding to the target entity, and updating the attribute template according to the updated attribute dictionary;
and updating the attribute list corresponding to the target entity according to the updated attribute template.
Still further, the method comprises the steps of,
the target attribute information comprises an attribute item to be updated corresponding to the target entity and/or a target attribute value corresponding to the attribute item to be updated;
the attribute dictionary comprises at least one selectable entity and at least one corresponding selectable associated attribute item;
the attribute template comprises at least one target associated attribute item corresponding to the target entity and a corresponding attribute verification rule;
the attribute list includes target attribute items and corresponding attribute values for the target entity.
The updating the preset attribute dictionary according to the target attribute information comprises the following steps:
matching the target entity with at least one selectable entity included in the attribute dictionary;
if the target entity is not matched with the selectable entity, adding the target entity into the attribute dictionary;
under the condition that the optional entity is matched, searching whether the attribute item to be updated is contained in the optional associated attribute item corresponding to the matched optional entity;
and under the condition that the optional associated attribute items do not contain the attribute items to be updated, adding the attribute items to be updated into the attribute dictionary as the optional associated attribute items corresponding to the matched optional entities.
The step of updating the attribute template according to the updated attribute dictionary comprises the following steps:
and determining the optional associated attribute item corresponding to the matched optional entity as the target associated attribute item, and adding the target associated attribute item into the attribute template.
The updating the attribute list corresponding to the target entity according to the updated attribute template comprises the following steps:
searching whether the attribute item to be updated is contained in the target associated attribute item, and determining the searched target associated attribute item as the target attribute item of the target entity under the condition that the attribute item to be updated is contained in the target associated attribute item;
acquiring an attribute verification rule corresponding to the searched target associated attribute item, and verifying the target attribute value according to the attribute verification rule;
and under the condition that the verification is passed, determining the target attribute value as the attribute value corresponding to the target attribute item.
Optionally, after the step of updating the attribute list corresponding to the target entity according to the attribute template, the method includes:
acquiring an attribute query request, and determining an entity to be queried according to the attribute query request;
and acquiring an attribute list corresponding to the entity to be queried, and displaying the attribute list through a preset device.
An apparatus for updating an entity attribute, the apparatus comprising:
an acquisition unit: the method comprises the steps of acquiring an attribute updating request, and determining a target entity and target attribute information corresponding to the target entity according to the attribute updating request;
a first updating unit: the method is used for updating a preset attribute dictionary according to the target attribute information;
an association unit: the attribute template is used for determining an attribute template corresponding to the target entity, and updating the attribute template according to the updated attribute dictionary;
a second updating unit: and updating the attribute list corresponding to the target entity according to the updated attribute template.
A computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of:
acquiring an attribute updating request, and determining a target entity and target attribute information corresponding to the target entity according to the attribute updating request;
updating a preset attribute dictionary according to the target attribute information;
determining an attribute template corresponding to the target entity, and updating the attribute template according to the updated attribute dictionary;
and updating the attribute list corresponding to the target entity according to the updated attribute template.
A computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
acquiring an attribute updating request, and determining a target entity and target attribute information corresponding to the target entity according to the attribute updating request;
updating a preset attribute dictionary according to the target attribute information;
determining an attribute template corresponding to the target entity, and updating the attribute template according to the updated attribute dictionary;
and updating the attribute list corresponding to the target entity according to the updated attribute template.
In the embodiment of the invention, firstly, an attribute updating request is acquired, a target entity corresponding to the attribute updating request and target attribute information corresponding to the target entity are determined, and then a preset attribute dictionary is updated according to the target attribute information, wherein the attribute dictionary comprises at least one selectable entity and a corresponding selectable attribute item.
And then determining an attribute template corresponding to the target entity, updating the attribute template according to the updated attribute dictionary, and finally updating an attribute list corresponding to the target entity according to the updated attribute template.
Compared with the defect that in the prior art, when new attributes need to be added, the expansion fields are used for replacing, redundant occupation on the storage space is caused, and meanwhile, the database is difficult to maintain later.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Wherein:
FIG. 1 illustrates a flow diagram of a method of updating an entity attribute in one embodiment;
FIG. 2 illustrates a flow diagram for updating an attribute dictionary in accordance with an attribute update request in one embodiment;
FIG. 3 is a flowchart of updating a list of attributes corresponding to the target entity according to an updated attribute template in another embodiment;
FIG. 4 illustrates a flow diagram for querying a property list for a target entity in one embodiment;
FIG. 5 illustrates a block diagram of an entity attribute updating apparatus in one embodiment;
FIG. 6 illustrates an internal block diagram of a computer device in one embodiment.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The invention provides a method for updating entity attributes, and in one embodiment, the method can be based on computer processing equipment such as a smart phone, a PC and the like.
Referring to fig. 1, an embodiment of the present invention provides a method for updating an entity attribute.
FIG. 1 illustrates a flow diagram of a method of updating an entity attribute in one embodiment. The method for updating the entity attribute at least comprises steps S1022-S1028 shown in FIG. 1, and is described in detail as follows:
in step S1022, an attribute update request is acquired, and a target entity and target attribute information corresponding to the target entity are determined according to the attribute update request.
Before describing a specific method for updating entity attributes, description will be made with respect to definition and action of an entity and entity attributes.
First, in the development and architecture of software, a software system can be generally divided into three layers: a presentation layer, a business logic layer, and a data access layer. The presentation layer is responsible for interfaces and interactions, the business logic layer is responsible for defining business logic (such as data rules, workflows, data integrity, etc.), and the data access layer is responsible for reading data.
The entity to which the invention is directed is applied in the business logic layer. Specifically, the service logic layer may include the following four parts: service entity: defining objects in the service, wherein each object has attributes and behaviors; business rules: defining conditions that must be met to complete an action; data integrity: defining indispensable elements of service-related data; and (3) workflow: interaction relations among business entities in the field are defined.
It can be seen that the entity attribute in the software is the characteristic parameter item related to the service implementation of each object in the extracted and abstracted application scene. For example, as in an electronic shopping software system, entities that may be included are "users," "merchandise," "orders," etc., which are the roles and execution entities of activities necessary for the electronic shopping software to perform its functions.
The attribute items corresponding to the entities may be as follows:
the attribute items corresponding to the entity of the user are user identification, user name, user password, user grade and the like. The attribute items corresponding to the entity of "commodity" may include "commodity identification", "commodity manufacturer", "commodity category", and the like, and the attribute items corresponding to the entity of "order" may be "order identification", "order generation time", "order completion time", "order association user", and the like.
In summary, the get attribute update request in this step may be that a new entity object needs to be created. As in the electronic shopping system described above, entities such as "warehouse," "paymate," etc. may be added due to business development requirements.
Alternatively, one or more attribute items need to be added for an existing entity, for example, attribute items such as "associated payment account", "user frequent area" are added for the entity item "user". It is also possible to modify or delete certain property items of a certain pre-existing entity, etc.
Correspondingly, the target attribute information determined herein includes an attribute item to be updated corresponding to the target entity and/or a target attribute value corresponding to the attribute item to be updated. The description continues with reference to the above examples: the target entity may be an entity of "order", and the attribute items to be updated may include two attribute items of "order status" and "order completion time", and their corresponding target attribute values may be "completed", "2019 12, 17, 10:46:01", respectively.
In step S1024, a preset attribute dictionary is updated according to the target attribute information.
First, the attribute dictionary herein includes at least one selectable entity and corresponding at least one selectable associated attribute item.
The attribute dictionary can be regarded as a database of entity objects and attribute items, and entities possibly used in a system and attribute items possibly associated with the entities can be searched in the attribute dictionary so as to be further called.
Specifically, the process of updating the attribute dictionary according to the attribute update request in step S1024 may further include steps S1032-S1038 shown in fig. 2. FIG. 2 illustrates a flow diagram for updating an attribute dictionary based on an attribute update request in one embodiment.
In step S1032, the target entity is matched with at least one optional entity included in the attribute dictionary.
This step is to determine whether the current attribute update request is to add an entity and its corresponding attribute information, or update the attribute information of an entity already existing in the attribute dictionary, so as to determine to perform specific update operations such as adding, deleting, checking, and modifying the attribute dictionary.
In step S1034, in the case where the optional entity is not matched, the target entity is added to the attribute dictionary.
For example, when a "warehouse" entity does not exist in the selectable entities of the attribute dictionary, the entity "warehouse" may be added to the attribute dictionary as a new selectable entity.
In step S1036, if the attribute item to be updated is matched with the optional entity, it is searched for whether the attribute item to be updated is contained in the optional associated attribute item corresponding to the matched optional entity.
In step S1038, in the case where the attribute to be updated is not contained in the selectable associated attribute items, the attribute to be updated is added to the attribute dictionary as a selectable associated attribute item corresponding to the matched selectable entity.
Continuing with the example in step S1022, in the embodiment where the target entity is "order", the attribute items to be updated are "order status" and "order completion time", and the target attribute values corresponding to the two attribute items are "completed", "2019 12, 17, 10:46:01", respectively, after matching to the optional entity "order", it may be determined according to the attribute dictionary that the optional associated attribute item of "order" includes "order identifier", "order generation time", "order completion time", "order associated user", and thus "order status" is associated as a new optional associated attribute item to the entity "order".
In step S1026, an attribute template corresponding to the target entity is determined, and the attribute template is updated according to the updated attribute dictionary.
First, the attribute template here includes at least one target associated attribute item corresponding to the target entity and a corresponding attribute verification rule.
After determining a database of selectable entities and attribute terms as an attribute dictionary, a further attribute template is associated with each target entity for reasons and benefits:
due to the diversification of application scenes and the real-time change of software requirements, attribute items corresponding to one entity in different application periods can be changed continuously. And the attribute items which are possibly and correspondingly used by a certain entity in different scenes are called from an attribute dictionary which stores a large number of selectable attribute items (the selectable attribute items in the attribute dictionary can be continuously updated along with the requirement as known from the previous steps) and are stored in the attribute templates corresponding to the entity. Therefore, when the attribute information of the entity needs to be updated, the entity is directly selected and modified based on the attribute template, so that the dynamic update of the entity attribute is realized.
In summary, the process of updating the attribute template according to the updated attribute dictionary may be: and determining the matched selectable associated attribute item corresponding to the selectable entity as the target associated attribute item, and adding the target associated attribute item into an attribute template corresponding to the target entity.
For example, for a successfully matched target entity, the "order" may be the optional associated attribute items stored in the attribute dictionary, which may be "order identification", "order generation time", "order completion time", "order associated user", so that these attribute items are added as target associated attribute items to the attribute template corresponding to the entity "order", so that when the attribute information of the "order" needs to be updated, the attribute information is generated directly based on this attribute template.
In step S1028, the attribute list corresponding to the target entity is updated according to the updated attribute template.
First, the attribute list here includes target attribute items of target entities and corresponding attribute values.
Further, step S1028 may also include steps S1042-S1046 shown in FIG. 3. FIG. 3 is a flow chart illustrating updating of the attribute list corresponding to the target entity according to the updated attribute template in another embodiment.
In step S1042, whether the attribute item to be updated is contained is searched for in the target associated attribute item, and if the attribute item to be updated is contained in the target associated attribute item, the searched target associated attribute item is determined as the target attribute item of the target entity.
Also described in connection with the examples in the preceding steps, after matching an optional entity "order", determining a target associated attribute item for "order" from its corresponding updated attribute template includes: "order identification", "order generation time", "order completion time", "order associated user", "order status", and "order status" for the attribute item to be updated. Thus, the "order status" is determined as the target property item.
In step S1044, an attribute verification rule corresponding to the found target associated attribute item is obtained, and the target attribute value is verified according to the attribute verification rule.
It is readily understood that the data type of the attribute item to which each entity corresponds is critical to whether the attribute item can be invoked normally and interacted with by other business entities. Therefore, in addition to determining which attribute items a business entity corresponds to, a rule for verifying the validity of data of attribute values such as legal data types, ranges of data values and the like needs to be determined for each attribute item.
Target associated attribute items of a business entity such as "order": the legal attribute value types and the legal attribute value size ranges corresponding to the order identification, the order generation time, the order related user and the order state are respectively: a 16-bit character string, a date in a year, month and day format, an 8-bit character string, a 4-bit character string, and the like.
In step S1046, in the case that the verification passes, the target attribute value is determined as the attribute value corresponding to the target attribute item.
In addition, in an alternative embodiment, after updating the attribute list of the target entity according to the attribute template, in order to more intuitively represent the data, it is more efficient to maintain the database, and the present invention may further include a process of querying the attribute list of the target entity, specifically, steps S1052-S1054 shown in fig. 4. FIG. 4 illustrates a flow diagram for querying a list of attributes for a target entity in one embodiment.
In step S1052, an attribute query request is acquired, and an entity to be queried is determined according to the attribute query request.
The specific attribute query request may be the attribute item corresponding to the entity "user" in the current software version and all application scenarios according to the entity identifier "0019273" and the attribute value corresponding to each attribute item.
In step S1054, an attribute list corresponding to the entity to be queried is obtained, and the attribute list is displayed through a preset device.
In connection with the example of the query requirement in the previous step, the attribute list corresponding to the "user" may be: attribute item: "user account identification", "user account name", "user account password", "user account type". Since there may be numerous specific situations for the attribute value corresponding to an attribute item corresponding to an entity, the attribute value is not further illustrated herein.
Fig. 5 is a block diagram of an entity attribute updating apparatus in one embodiment.
Referring to fig. 5, an entity attribute updating apparatus 1060 according to an embodiment of the present invention includes: an acquisition unit 1062, a first update unit 1064, an association unit 1066, and a second update unit 1068.
Wherein the acquisition unit 1062: the method comprises the steps of acquiring an attribute updating request, and determining a target entity and target attribute information corresponding to the target entity according to the attribute updating request;
the first updating unit 1064: the method is used for updating a preset attribute dictionary according to the target attribute information;
association unit 1066: the attribute template is used for determining an attribute template corresponding to the target entity, and updating the attribute template according to the updated attribute dictionary;
the second updating unit 1068: and updating the attribute list corresponding to the target entity according to the updated attribute template.
FIG. 6 illustrates an internal block diagram of a computer device in one embodiment. The computer device may specifically be a terminal or a server. As shown in fig. 6, the computer device includes a processor, a memory and communication module, a processing module, a presentation module, which are connected by a system bus. The memory includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system, and may also store a computer program that, when executed by a processor, causes the processor to implement a method for updating a property of the entity. The internal memory may also store a computer program that, when executed by the processor, causes the processor to perform a method for updating the attribute of the entity. It will be appreciated by those skilled in the art that the structure shown in fig. 6 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is presented comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of:
acquiring an attribute updating request, and determining a target entity and target attribute information corresponding to the target entity according to the attribute updating request;
updating a preset attribute dictionary according to the target attribute information;
determining an attribute template corresponding to the target entity, and updating the attribute template according to the updated attribute dictionary;
and updating the attribute list corresponding to the target entity according to the updated attribute template.
In one embodiment, a computer-readable storage medium is provided, storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
acquiring an attribute updating request, and determining a target entity and target attribute information corresponding to the target entity according to the attribute updating request;
updating a preset attribute dictionary according to the target attribute information;
determining an attribute template corresponding to the target entity, and updating the attribute template according to the updated attribute dictionary;
and updating the attribute list corresponding to the target entity according to the updated attribute template.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (9)

1. A method for updating an entity attribute, the method comprising:
acquiring an attribute updating request, and determining a target entity and target attribute information corresponding to the target entity according to the attribute updating request;
updating a preset attribute dictionary according to the target attribute information;
determining an attribute template corresponding to the target entity, and updating the attribute template according to the updated attribute dictionary;
updating the attribute list corresponding to the target entity according to the updated attribute template;
the target attribute information comprises an attribute item to be updated corresponding to the target entity and/or a target attribute value corresponding to the attribute item to be updated;
the attribute dictionary comprises at least one selectable entity and at least one corresponding selectable associated attribute item;
the attribute template comprises at least one target associated attribute item corresponding to the target entity and a corresponding attribute verification rule;
the attribute list includes target attribute items and corresponding attribute values for the target entity.
2. The method according to claim 1, wherein updating the preset attribute dictionary according to the target attribute information includes:
matching the target entity with at least one selectable entity included in the attribute dictionary;
if the target entity is not matched with the selectable entity, adding the target entity into the attribute dictionary;
under the condition that the optional entity is matched, searching whether the attribute item to be updated is contained in the optional associated attribute item corresponding to the matched optional entity;
and under the condition that the optional associated attribute items do not contain the attribute items to be updated, adding the attribute items to be updated into the attribute dictionary as the optional associated attribute items corresponding to the matched optional entities.
3. The method of claim 1, wherein the step of updating the attribute template in accordance with the updated attribute dictionary comprises:
and determining the optional associated attribute item corresponding to the matched optional entity as the target associated attribute item, and adding the target associated attribute item into the attribute template.
4. The method according to claim 1, wherein updating the attribute list corresponding to the target entity according to the updated attribute template includes:
searching whether the attribute item to be updated is contained in the target associated attribute item, and determining the searched target associated attribute item as the target attribute item of the target entity under the condition that the attribute item to be updated is contained in the target associated attribute item;
acquiring an attribute verification rule corresponding to the searched target associated attribute item, and verifying the target attribute value according to the attribute verification rule;
and under the condition that the verification is passed, determining the target attribute value as the attribute value corresponding to the target attribute item.
5. The method according to claim 4, wherein after the step of updating the attribute list corresponding to the target entity according to the attribute template, the method comprises:
acquiring an attribute query request, and determining an entity to be queried according to the attribute query request;
and acquiring an attribute list corresponding to the entity to be queried, and displaying the attribute list through a preset device.
6. An apparatus for processing an entity attribute, the apparatus comprising:
an acquisition unit: the method comprises the steps of acquiring an attribute updating request, and determining a target entity and target attribute information corresponding to the target entity according to the attribute updating request;
a first updating unit: the method is used for updating a preset attribute dictionary according to the target attribute information;
an association unit: the attribute template is used for determining an attribute template corresponding to the target entity, and updating the attribute template according to the updated attribute dictionary;
a second updating unit: the attribute list corresponding to the target entity is updated according to the updated attribute template;
the target attribute information comprises an attribute item to be updated corresponding to the target entity and/or a target attribute value corresponding to the attribute item to be updated;
the attribute dictionary comprises at least one selectable entity and at least one corresponding selectable associated attribute item;
the attribute template comprises at least one target associated attribute item corresponding to the target entity and a corresponding attribute verification rule;
the attribute list includes target attribute items and corresponding attribute values for the target entity.
7. The apparatus of claim 6, wherein the first updating unit further comprises:
a first matching unit: the target entity is used for matching with the optional entities in the attribute dictionary, and the target entity is used as an optional entity to be added into the attribute dictionary under the condition that the target entity is not matched with the optional entities;
a first matching unit: the method comprises the steps of matching the attribute item to be updated with an optional associated attribute item corresponding to the matched optional entity under the condition of matching the optional entity;
a third updating unit: and the attribute dictionary is used for adding the attribute item to be updated into the attribute dictionary as the optional associated attribute item corresponding to the matched optional entity in the case that the optional associated attribute item is not matched.
8. A readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of the method of any one of claims 1 to 5.
9. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method of any of claims 1 to 5.
CN201911342369.XA 2019-12-23 2019-12-23 Entity attribute updating method, device, equipment and readable medium Active CN111143384B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911342369.XA CN111143384B (en) 2019-12-23 2019-12-23 Entity attribute updating method, device, equipment and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911342369.XA CN111143384B (en) 2019-12-23 2019-12-23 Entity attribute updating method, device, equipment and readable medium

Publications (2)

Publication Number Publication Date
CN111143384A CN111143384A (en) 2020-05-12
CN111143384B true CN111143384B (en) 2024-02-02

Family

ID=70519515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911342369.XA Active CN111143384B (en) 2019-12-23 2019-12-23 Entity attribute updating method, device, equipment and readable medium

Country Status (1)

Country Link
CN (1) CN111143384B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103606037A (en) * 2013-11-06 2014-02-26 远光软件股份有限公司 Query and configuration method of business data and device thereof
US9201909B1 (en) * 2013-10-28 2015-12-01 Ca, Inc. Data volume attributes for entity-relationship modeling of databases
CN109767098A (en) * 2018-12-28 2019-05-17 广东益萃网络科技有限公司 Processing method, device, computer equipment and the storage medium of product attribute
CN109783651A (en) * 2019-01-29 2019-05-21 北京百度网讯科技有限公司 Extract method, apparatus, electronic equipment and the storage medium of entity relevant information
CN110555015A (en) * 2019-09-09 2019-12-10 腾讯科技(深圳)有限公司 Database entity management method and device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9201909B1 (en) * 2013-10-28 2015-12-01 Ca, Inc. Data volume attributes for entity-relationship modeling of databases
CN103606037A (en) * 2013-11-06 2014-02-26 远光软件股份有限公司 Query and configuration method of business data and device thereof
CN109767098A (en) * 2018-12-28 2019-05-17 广东益萃网络科技有限公司 Processing method, device, computer equipment and the storage medium of product attribute
CN109783651A (en) * 2019-01-29 2019-05-21 北京百度网讯科技有限公司 Extract method, apparatus, electronic equipment and the storage medium of entity relevant information
CN110555015A (en) * 2019-09-09 2019-12-10 腾讯科技(深圳)有限公司 Database entity management method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111143384A (en) 2020-05-12

Similar Documents

Publication Publication Date Title
CN111027295B (en) Data processing method, device, computer equipment and storage medium
CN109558440A (en) Batch data processing method, device, computer equipment and storage medium
CN109597979B (en) List table generation method and device, computer equipment and storage medium
US11176184B2 (en) Information retrieval
WO2020155771A1 (en) Spreadsheet data processing method and apparatus, computer device, and storage medium
CN109062925A (en) Automatically generate the method, apparatus, computer equipment and storage medium of insert sentence
CN112286934A (en) Database table importing method, device, equipment and medium
CN108334625A (en) Processing method, device, computer equipment and the storage medium of user information
CN109344228A (en) Declaration form data processing method, device, computer equipment and storage medium
CN115357590A (en) Recording method and device for data change, electronic device and storage medium
CN114358802A (en) Customer management method, system and equipment based on enterprise WeChat scene
CN113554029A (en) Bill verification method, device, equipment and storage medium
CN111143384B (en) Entity attribute updating method, device, equipment and readable medium
WO2018206819A1 (en) Data storage method and apparatus
CN113779132A (en) Data import method and device, computer equipment and storage medium
US10565289B2 (en) Layout reconstruction using spatial and grammatical constraints
CN113254455A (en) Dynamic configuration method and device of database, computer equipment and storage medium
CN113157964A (en) Method and device for searching data set through voice and electronic equipment
CN109254974B (en) Intelligent input order opening method and device and computer equipment
CN113849218B (en) Software information merging method, device, computer equipment and storage medium
CN117313688A (en) Method and related device for generating application proposal
CN114741637A (en) Method, device and equipment for generating form page and readable storage medium
CN115879427A (en) Form template construction method, system, equipment and medium
CN112633894A (en) Method, device, equipment and computer storage medium for pressure testing of repayment capacity
CN114780561A (en) Entity attribute editing method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant