A method and system for interactive data services of front-end and back-end of computer system

By adopting a freely configurable data service path model in front-end and back-end data services, developers' complex problems regarding database table locations and business entity relationships are solved, efficient data interaction and development efficiency are improved, and diversified business needs are supported. and low-code development.

CN118069389BActive Publication Date: 2024-10-08ZHUHAI WARDLE SOFTWARE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410098287.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-24
Publication Date
2024-10-08
Estimated Expiration
2044-01-24

AI Technical Summary

Technical Problem

In the development of front-end and back-end data services, developers need to understand the storage locations of database tables and complex business entity relationships, which leads to difficulty in development and heavy workload, especially in multiple application scenarios, making it difficult to meet different business needs.

Method used

Using a freely configurable data service path model, through front-end parameter configuration, the target entity is searched based on entity coding and relationships, and a data chain framework with associated relationships is established to realize the automatic construction and delivery of the data service path model, avoiding the need for database table locations. direct dependence.

Benefits of technology

It improves the development efficiency of front-end and back-end data services, reduces development errors, can meet diverse business needs, supports the development of low-code and zero-code systems, and significantly saves development time and workload.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118069389B_ABST
    Figure CN118069389B_ABST
Patent Text Reader

Abstract

The present invention discloses an interactive method and system for front-end and back-end data services of a computer system, including: establishing a freely configurable data service path model for front-end and back-end data services; configuring parameters of the data service path model through the front end; the data service path model starts from the encoding of known entities according to the specified service path, and takes the specified relationship between entities as the direction, and searches for the encoding of the target entity in combination with the constraint conditions of the target entity; the data service path model then uses the target entity just obtained as the starting point to query the encoding of the next target entity, and after multiple rounds of cycles, establishes an entity data chain framework with an associated relationship to obtain the final data service path model; the front-end and back-end data services use the final data service path model as a carrier to deliver data service content. The present invention achieves the purpose of improving the development efficiency of front-end and back-end data services, avoiding development errors, and greatly meeting the business needs of different scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of front-end and back-end data services, and in particular to an interactive method and system for front-end and back-end data services of a computer system. Background Art

[0002] Front-Backend Communication refers to the process of data interaction and communication between the front-end and the back-end. In Web development, the front-end is usually responsible for displaying data and user interaction, while the back-end is responsible for processing business logic and data storage. In order to achieve data interaction and communication between the front-end and the back-end, some communication methods and protocols are needed.

[0003] The purpose of front-end and back-end communication is to achieve data transmission and interaction to meet the functional requirements of the front-end and the business logic of the back-end. Through appropriate communication methods and protocols, efficient front-end and back-end collaboration and data interaction can be achieved.

[0004] When developing front-end and back-end data interaction services, the traditional method requires understanding the storage location of the data in the database table. A software system may have dozens, hundreds, or even thousands of tables, and it is difficult for developers to be familiar with each table. If developers are not familiar with the data tables, they will face great difficulties in developing data interaction.

[0005] In addition, each software application system will contain many application scenarios, and the application scenarios will contain many business entities. The characteristic fields of these entities are distributed in different data tables of the database. If a front-end application needs to call different entity data, the developer needs to develop data table links (including inner joins, left links, right links, full links, etc.), which brings a lot of workload to system development. Summary of the invention

[0006] In order to overcome the shortcomings of the prior art, the present invention provides an interaction method and system for front-end and back-end data services of a computer system, which is used to solve the technical problems that the existing interaction methods of front-end and back-end data services have development difficulties and large workloads in certain application scenarios, thereby achieving the purpose of improving the development efficiency of front-end and back-end data services, avoiding development errors, and greatly meeting the business needs of different scenarios.

[0007] To solve the above problems, the technical solution adopted by the present invention is as follows:

[0008] A method for interacting with front-end and back-end data services of a computer system, comprising the following steps:

[0009] Establish a freely configurable data service path model for the front-end and back-end data services of computer systems;

[0010] Based on the required data service, parameter configuration of the data service path model is performed through the front end;

[0011] After completing the parameter configuration, the data service path model starts from the code of the known entity according to the specified service path, takes the specified relationship between entities as the direction, and searches for the code of the target entity in combination with the constraint conditions of the target entity;

[0012] After successfully acquiring the target entity, the data service path model then uses the newly acquired target entity as a starting point to query the code of the next target entity, and after multiple cycles, a data chain framework of entities with associated relationships is established to obtain the final data service path model;

[0013] The front-end and back-end data services use the final data service path model as a carrier to deliver data service content;

[0014] The data service path model includes: the code of the starting point entity, the type of the target entity, the code of the relationship between entities, the feature label type of the entity, the feature label type of the relationship and the constraint conditions of the target entity.

[0015] As a preferred implementation mode of the present invention, when establishing a freely configurable data service path model, it includes:

[0016] Treat a dataset as an entity and give each entity a unique coding name and multiple feature labels;

[0017] Give each relationship between entities a unique coding name and multiple relationship feature labels,

[0018] Among them, each feature tag is a key-value pair, and each relationship feature tag is also a key-value pair, and serves as the smallest unit of data structure.

[0019] As a preferred embodiment of the present invention, when establishing an entity data chain framework with an associated relationship, it includes:

[0020] Taking multiple known entities in the data service path model as starting point entities, configuring multiple search targets at the same time, and establishing multiple entity data chain frameworks with association relationships;

[0021] The starting point entity is a main entity, and the main entity must be a known entity with an entity code.

[0022] As a preferred embodiment of the present invention, when establishing an entity data chain framework with an associated relationship, it includes:

[0023] The characteristic tags of each entity and each relationship on the entity data chain framework are used as the target data units of the required data service.

[0024] As a preferred implementation mode of the present invention, when the parameters of the data service path model are configured through the front end, it includes:

[0025] The code of the starting point entity, the code of the relationship between entities and the type of the target entity are added to the data service path model; and the relationship code and the type of the next target entity are searched for with the last target entity as the starting point.

[0026] As a preferred implementation mode of the present invention, when the parameters of the data service path model are configured through the front end, it also includes:

[0027] Adding constraint conditions of the target entity in the data service path model;

[0028] The constraint conditions of the target entity include: feature labels of the target entity and the association between the target entity and other entities.

[0029] As a preferred implementation mode of the present invention, when delivering data service content, it includes:

[0030] The front-end page or application requests data query services from the back-end;

[0031] When requesting data query services, include:

[0032] The final data service path model is sent to the backend, the model is parsed by the backend to obtain the target data unit, and the value result corresponding to the target data unit is found through the backend database, and then returned to the front-end page or application for rendering, thereby completing the data query service;

[0033] Wherein, the final data service path model is configured according to the data query service.

[0034] As a preferred implementation mode of the present invention, when delivering data service content, it includes:

[0035] The front-end page or application requests the back-end data storage service;

[0036] When requesting data storage services, include:

[0037] The final data service path model is sent to the backend, the model is parsed by the backend to obtain the required data, and the data is stored on the server;

[0038] The stored data includes: entity data, entity feature tag value data, and inter-entity relationship data;

[0039] The final data service path model is configured according to the data storage service.

[0040] As a preferred implementation mode of the present invention, when the final data service path model is sent to the backend, it includes:

[0041] The front-end page or application configures the parameters of the data service path model to mark the newly created entities, the relationships between the newly created entities and existing entities, the relationships between the newly created entities and other newly created entities, the characteristic label values ​​of the newly created entities and relationships, the characteristic label values ​​of the existing entities and relationships, and the old entities, old relationships, and old label values ​​to be deleted or replaced, to obtain the final data service path model, and pass it to the back end through the interface.

[0042] An interactive system for front-end and back-end data services of a computer system, comprising:

[0043] The first model building unit is used to build a freely configurable initial data service path model for the front-end and back-end data services of the computer system;

[0044] Parameter configuration unit: based on the required data service, configure the parameters of the data service path model through the front end;

[0045] The second model building unit is used to complete the parameter configuration. After the data service path model is used, it starts from the code of the known entity according to the specified service path, takes the specified relationship between entities as the direction, and searches for the code of the target entity in combination with the constraint conditions of the target entity. After successfully obtaining the target entity, the data service path model uses the newly obtained target entity as the starting point to query the code of the next target entity. After multiple cycles, an entity data chain framework with an associated relationship is established to obtain the final data service path model.

[0046] Data transmission unit: used for the front-end and back-end data services to transmit data service content using the final data service path model as a carrier;

[0047] The data service path model includes: the code of the starting point entity, the type of the target entity, the code of the relationship between entities, the feature label type of the entity, the feature label type of the relationship and the constraint conditions of the target entity.

[0048] Compared with the prior art, the present invention has the following beneficial effects:

[0049] (1) The present invention provides a new method for front-end and back-end data services of a computer system. The method is based on a database model composed of entities, relationships between entities, entity feature tags, relationship feature tags, etc. The method starts from an entity with a known code and finds the target entity based on the specified relationship between entities. The method then repeats the above process to find the next entity, and repeats the process repeatedly to find the associated data chain, so that the feature tag data or data space of each node and relationship on the chain can be exposed, so that each data forms a logical association with each other, generates a request for accurate data retrieval and a positioning logic for data writing, and then realizes the service functions of front-end and back-end data reading and writing;

[0050] (2) When configuring data interaction capabilities using the design principle of the present invention, the service requirements of the front-end and back-end are a kind of data discovery logic, which is a general capability configuration. Anyone can configure it at any time without considering the previous data development logic. This method can greatly save development time, improve development efficiency, and avoid development errors.

[0051] (3) Using the design principle of the present invention to develop front-end and back-end data interaction services can avoid a lot of development work. The system can meet the business needs of any scenario by adding different parameters to the model using the configuration method;

[0052] (4) The greatest advantage of the method provided by the present invention is that it can assist in the development of low-code and zero-code systems. A large part of the workload of application system construction is interface development. The method of the present invention can be used for code-free configuration, realize the development of front-end and back-end data communication services, and help developers solve data confusion.

[0053] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 A step diagram of the interactive method for front-end and back-end data services of a computer system provided by the present invention;

[0055] Figure 2 An architectural diagram of a data service path model according to an embodiment of the present invention;

[0056] Figure 3 An interface diagram of a data service path model configuration when requesting a data query service according to an embodiment of the present invention;

[0057] Figure 4 An interface diagram of a data service path model configuration when requesting a data storage service according to an embodiment of the present invention. DETAILED DESCRIPTION

[0058] The present invention provides a method for interacting with front-end and back-end data services of a computer system, such as Figure 1 As shown, the following steps are included:

[0059] Step S1: Establish a freely configurable data service path model for the front-end and back-end data services of the computer system;

[0060] Step S2: Based on the required data service, the parameters of the data service path model are configured through the front end;

[0061] Step S3: After completing the parameter configuration, the data service path model starts from the code of the known entity according to the specified service path, takes the specified relationship between entities as the direction, and searches for the code of the target entity in combination with the constraint conditions of the target entity;

[0062] Step S4: After successfully acquiring the target entity, the data service path model uses the newly acquired target entity as a starting point to query the code of the next target entity. After multiple cycles, an entity data chain framework with an associated relationship is established to obtain the final data service path model.

[0063] Step S5: The front-end and back-end data services use the final data service path model as a carrier to deliver data service content;

[0064] The data service path model includes: the coding of the starting point entity, the type of the target entity, the coding of the relationship between entities, the feature label type of the entity, the feature label type of the relationship, and the constraint conditions of the target entity.

[0065] In the above step S1, when establishing a freely configurable data service path model, it includes:

[0066] Treat a dataset as an entity and give each entity a unique coding name and multiple feature labels;

[0067] Give each relationship between entities a unique coding name and multiple relationship feature labels,

[0068] Among them, each feature tag is a key-value pair, and each relationship feature tag is also a key-value pair, and serves as the smallest unit of data structure.

[0069] In the above step S4, when establishing the entity data chain framework with an associated relationship, it includes:

[0070] Taking multiple known entities in the data service path model as starting entities, configuring multiple search targets at the same time, and establishing multiple entity data chain frameworks with association relationships;

[0071] Among them, the starting point entity is the main entity, and the main entity must be a known entity with an entity code.

[0072] Furthermore, when establishing a data chain framework of entities with association relationships, it includes:

[0073] The characteristic labels of each entity and each relationship on the entity data chain framework are used as the target data units of the required data services.

[0074] In the above step S2, when the parameters of the data service path model are configured through the front end, it includes:

[0075] Add the code of the starting point entity, the code of the relationship between entities and the type of the target entity in the data service path model; and configure to use the previous target entity as the starting point to find the relationship code and type of the next target entity.

[0076] Furthermore, when the parameters of the data service path model are configured through the front end, it also includes:

[0077] Add constraint conditions of target entity in data service path model;

[0078] The constraint conditions of the target entity include: the feature label of the target entity and the correlation between the target entity and other entities.

[0079] In the above step S5, when delivering the data service content, it includes:

[0080] The front-end page or application requests data query services from the back-end;

[0081] When requesting data query services, include:

[0082] The final data service path model is sent to the backend, which parses the model to obtain the target data unit. After finding the value result corresponding to the target data unit through the backend database, it is returned to the frontend page or application for rendering, thereby completing the data query service.

[0083] Among them, the final data service path model is configured according to the data query service.

[0084] In the above step S5, when delivering the data service content, it includes:

[0085] The front-end page or application requests the back-end data storage service;

[0086] When requesting data storage services, include:

[0087] The final data service path model is sent to the backend, which parses the model to obtain the required data and stores it on the server.

[0088] The stored data includes: entity data, entity feature tag value data, and relationship data between entities;

[0089] Among them, the final data service path model is configured according to the data storage service.

[0090] Furthermore, when the final data service path model is sent to the backend, it includes:

[0091] The front-end page or application configures the parameters of the data service path model to mark the newly created entities, the relationships between the newly created entities and existing entities, the relationships between the newly created entities and other newly created entities, the feature label values ​​of the newly created entities and relationships, the feature label values ​​of the existing entities and relationships, and the old entities, old relationships, and old label values ​​to be deleted or replaced, to obtain the final data service path model and pass it to the back end through the interface.

[0092] The interactive system for front-end and back-end data services of a computer system provided by the present invention comprises: a first model building unit, a parameter configuration unit, a second model building unit and a data transmission unit.

[0093] The first model building unit is used to build a freely configurable initial data service path model for the front-end and back-end data services of the computer system.

[0094] Parameter configuration unit: Based on the required data services, the parameters of the data service path model are configured through the front end.

[0095] The second model building unit: after completing the parameter configuration, the data service path model starts from the encoding of the known entity according to the specified service path, and takes the specified relationship between entities as the direction, combined with the constraint conditions of the target entity to find the encoding of the target entity; after successfully obtaining the target entity, the data service path model uses the just-acquired target entity as the starting point to query the encoding of the next target entity. After multiple rounds of cycles, an entity data chain framework with an associated relationship is established to obtain the final data service path model.

[0096] Data transfer unit: used for front-end and back-end data services to transfer data service content using the final data service path model as a carrier.

[0097] The data service path model includes: the coding of the starting point entity, the type of the target entity, the coding of the relationship between entities, the feature label type of the entity, the feature label type of the relationship, and the constraint conditions of the target entity.

[0098] The following examples are provided to further illustrate the present invention, but the scope of the present invention is not limited thereto.

[0099] This embodiment provides a data model of a database architecture consisting of entities, relationships between entities, entity feature labels, relationship feature labels, etc. Figure 2 As shown in the figure, an entity is a data set with a unique coding name; each entity contains multiple feature tags, each feature tag is a key-value pair, which is the smallest unit of data structure. The relationship between entities refers to the relationship between entities, and each relationship between entities has a unique coding name; the relationship between entities contains multiple relationship feature tags, and the relationship feature tag is a key-value pair, which is a smallest unit of data.

[0100] Specifically, each specific individual is an entity, such as a person, a car, an object, a task, a message, a purchase process, etc.

[0101] The unique code of an entity is: a unique digital code that the computer system automatically configures for each entity.

[0102] Feature tags of entities: such as a person’s name, age, gender, phone number, etc.

[0103] Relationships between entities: For example, the relationships between two entities, people and units, include: work units, unit employees, unit founders, unit external personnel, unit service objects, etc. are all relationships.

[0104] Unique coding of relationships between entities: Each relationship has a unique name. The name of this relationship is replaced by a code automatically configured by the computer system and is irreplaceable within the computer system.

[0105] Relationship feature label: For example, there is a relationship between the two entities of person and unit called "work unit". This relationship has an attribute label called "relationship feature label", such as position, rank, job title, time of joining the company, etc.

[0106] The interactive method for front-end and back-end data services of a computer system provided in this embodiment includes:

[0107] The front-end and back-end data services need to establish a freely configurable data service path model, such as Figure 3As shown. The data service path model consists of: there must be a main entity, and the main entity must be a known entity with an entity code (when the data service is a new main entity, the system automatically creates a new entity with an entity code, which is equivalent to a known entity), and then there must be a condition that another entity (target entity) needs to be found based on the main entity, which we call the relationship between the two entities (this relationship includes the data mapping between the two entities), and the type of the target entity, which constitutes the smallest basic unit of the data service path model. On top of this basic unit, each target entity can be used as a starting point for finding the next target entity, and with the relationship and target entity type, it constitutes an entity search chain that can continue.

[0108] In addition, each entity in the model can be used as a starting point to configure multiple search targets at the same time.

[0109] The data service path model can be freely configured, and the configurable contents include: infinite extension of the basic unit for searching entities, characteristic labels of all entities, relationships between any entities, characteristic labels of relationships, constraint conditions of target entities, etc.

[0110] The data service path model includes: the encoding of the starting point entity, the type of the target entity to be searched, the encoding of the relationship between two entities, the feature label type of the entity, the feature label type of the relationship, and the constraint conditions of the target entity.

[0111] Specifically, the constraint conditions of the target entity are: if we want to find a person’s work unit, we can find multiple work units (this person has worked in multiple units), but what we want to find is that he has worked there for more than ten years and the total number of people in this or these units is more than one thousand. These two conditions are the “constraint conditions of the target entity”.

[0112] The interaction method of front-end and back-end data services is: the system starts from the known entity according to the service path specified by the data service path model, takes the specified relationship as the direction, and searches for the target entity code in combination with the service constraint conditions. After the target entity is successfully obtained, the system uses the entity as the starting point to query the next target entity. After multiple cycles, a related entity data chain framework can be obtained. Specifically: when a [person] is used as the starting point and a [unit] is found with the "work unit" as the condition, then this [unit] is used as the starting point and the "unit's competent department" is used as the condition to find another [unit].

[0113] The characteristic labels of each entity and each relationship on the entity data chain framework are the target data units of the front-end and back-end data services. The front-end and back-end data services use this model as a carrier to deliver data service content. The front-end configures parameters on the data service path model and sends it to the back-end. The back-end parses the model and parameters according to the specifications and provides services to the front-end through the path specified by the model. Specifically: when a user opens a data service path model, there will be many spaces. These spaces are reserved for parameter filling when making the model. When the operator fills in these parameters and sends them to the database, the database can write the parameters into the database and save them according to the data logic of the model. When each model is made, there will be some logic arrangement in it. These logic arrangements are arranged according to the inherent rules of the system. When a model and parameters are sent to the back-end together, the back-end will parse the logic of the model according to the inherent rules of the system, understand the meaning expressed by the model, and complete the work that the model wants to do.

[0114] When the front-end page or application requests data query service (i.e. data search) from the back-end, it does not initiate the request by specifying the exact location corresponding to the data storage (the table where the data is located and the corresponding fields), but instead sends a data search request to the database through the data service path model. This request must have a known entity encoding as a prerequisite.

[0115] The search method is: the front-end page or application configures the parameters of the data service path model as needed, adds the code of the main entity, the code of the relationship between entities, and the type of the target entity, and takes the previous target entity as the starting point to search for the relationship code and type of the next target entity. The added parameters also include the constraints of the target entity itself, which include the characteristic label of the target entity and the association with other entities. After the parameters are added, the method logic for searching the target data is automatically generated. Specifically: For example, the data logic specified by the model is: [Person]--(the relationship is the work unit)--[Unit]---(the relationship is the competent department)--[Unit]. When we write the parameter "Zhang San" on the [Person] entity, the search business will use the logical relationship to find the first and second units.

[0116] The association with other entities is as follows: First, we need to find out what the associated entity of the target entity is, and other conditions. For example, the total number of people in the unit mentioned just now must be greater than one thousand, which is a constraint condition. Another condition is that it must also be a subordinate of [another unit]. This condition is the association condition of other entities.

[0117] After the configuration is completed, it is sent to the backend through the interface. The backend analyzes the model and finds the linked entity information group. Specifically, [Person]--(the relationship is the work unit)--[Unit]---(the relationship is the competent department)--[Unit]. These three entities are the linked entity information group. These three entities are not unrelated single entities, but related entities on a link.

[0118] When configuring the link-based entity search, the front-end page or application selects the characteristic tag type of each entity and relationship on the link as the target of the data query and sends it to the back-end database. After the back-end finds the value result corresponding to the target data, it feeds it back to the front-end page or application for rendering, thereby completing the entire data query process.

[0119] When the front-end page or application requests data storage service from the back-end (i.e., data writing), it does not initiate a request by specifying the exact location corresponding to the data storage (the table where the data is located and the corresponding fields), but instead issues a data storage request to the database through the data service path model.

[0120] The stored data includes: newly created entities, new entity feature label values, new entity relationship data, and new relationship feature label values.

[0121] Storage method: Figure 4 As shown, the front-end application configures the parameters of the data service path model to mark the newly created entities, the relationships between the newly created entities and existing entities, the relationships between the newly created entities and other newly created entities, the feature label values ​​of the newly created entities and relationships, and the feature label values ​​of the existing entities and relationships. It can also mark the old entities, old relationships, and old label values ​​to be deleted or replaced. The configured data service path model is passed to the back-end through the interface, and the back-end parses the model information according to the rules and stores it on the server.

[0122] The above-mentioned embodiments are only preferred embodiments of the present invention and cannot be used to limit the scope of protection of the present invention. Any non-substantial changes and substitutions made by technicians in this field on the basis of the present invention shall fall within the scope of protection required by the present invention.

Claims

1. A method for interactive data services between front-end and back-end of a computer system, characterized in that: The following steps are involved: Establish a freely configurable data service path model for the front-end and back-end data services of computer systems; Based on the required data service, parameter configuration of the data service path model is performed through the front end; After completing the parameter configuration, the data service path model starts from the code of the known entity according to the specified service path, takes the specified relationship between entities as the direction, and searches for the code of the target entity in combination with the constraint conditions of the target entity; After successfully acquiring the target entity, the data service path model then uses the newly acquired target entity as a starting point to query the code of the next target entity, and after multiple cycles, a data chain framework of entities with associated relationships is established to obtain the final data service path model; The front-end and back-end data services use the final data service path model as a carrier to deliver data service content; The data service path model includes: the code of the starting point entity, the type of the target entity, the code of the relationship between entities, the characteristic label type of the entity, the characteristic label type of the relationship and the constraint conditions of the target entity; When delivering data service content, include: The front-end page or application requests data query services from the back-end; When requesting data query services, include: The final data service path model is sent to the backend, the model is parsed by the backend to obtain the target data unit, and the value result corresponding to the target data unit is found through the backend database, and then returned to the front-end page or application for rendering, thereby completing the data query service; Wherein, the final data service path model is configured according to the data query service; When delivering data service content, include: The front-end page or application requests the back-end data storage service; When requesting data storage services, include: The final data service path model is sent to the backend, the model is parsed by the backend to obtain the required stored data, and the data is stored on the server; The stored data includes: entity data, entity feature tag value data, and inter-entity relationship data; The final data service path model is configured according to the data storage service.

2. The interactive method for front-end and back-end data services of a computer system according to claim 1, characterized in that: When building a freely configurable data service path model, include: Treat a dataset as an entity and give each entity a unique coding name and multiple feature labels; Give each relationship between entities a unique coding name and multiple relationship feature labels, Among them, each feature label is a key-value pair, and each relationship feature label is also a key-value pair. And as the smallest unit of data structure.

3. The interactive method for front-end and back-end data services of a computer system according to claim 1, characterized in that: When establishing a data chain framework for entities with association relationships, it includes: Taking multiple known entities in the data service path model as starting point entities, configuring multiple search targets at the same time, and establishing multiple entity data chain frameworks with association relationships; The starting point entity is a main entity, and the main entity must be a known entity with an entity code.

4. The interactive method for front-end and back-end data services of a computer system according to any one of claims 1 to 3, characterized in that: When establishing a data chain framework for entities with association relationships, it includes: The characteristic tags of each entity and each relationship on the entity data chain framework are used as the target data units of the required data service.

5. The interactive method for front-end and back-end data services of a computer system according to claim 1, characterized in that: When the parameters of the data service path model are configured through the front end, it includes: The code of the starting point entity, the code of the relationship between entities and the type of the target entity are added to the data service path model; and the relationship code and the type of the next target entity are searched for with the last target entity as the starting point.

6. The interactive method for front-end and back-end data services of a computer system according to claim 5, characterized in that: When the parameters of the data service path model are configured through the front end, it also includes: Adding constraint conditions of the target entity in the data service path model; The constraint conditions of the target entity include: feature labels of the target entity and the association between the target entity and other entities.

7. The interactive method for front-end and back-end data services of a computer system according to claim 6, characterized in that: When the final data service path model is sent to the backend, it includes: The front-end page or application configures the parameters of the data service path model to mark the newly created entities, the relationships between the newly created entities and existing entities, the relationships between the newly created entities and other newly created entities, the characteristic label values ​​of the newly created entities and relationships, the characteristic label values ​​of the existing entities and relationships, and the old entities, old relationships, and old label values ​​to be deleted or replaced, to obtain the final data service path model, and pass it to the back end through the interface.

8. An interactive system for front-end and back-end data services of a computer system, characterized in that: include: The first model building unit is used to build a freely configurable initial data service path model for the front-end and back-end data services of the computer system; Parameter configuration unit: based on the required data service, configure the parameters of the data service path model through the front end; The second model building unit is used for, after completing the parameter configuration, the data service path model starts from the code of the known entity according to the specified service path, takes the specified relationship between entities as the direction, and searches for the code of the target entity in combination with the constraint conditions of the target entity; After successfully acquiring the target entity, the data service path model then uses the newly acquired target entity as a starting point to query the code of the next target entity, and after multiple cycles, a data chain framework of entities with associated relationships is established to obtain the final data service path model; Data transmission unit: used for the front-end and back-end data services to transmit data service content using the final data service path model as a carrier; The data service path model includes: the code of the starting point entity, the type of the target entity, the code of the relationship between entities, the characteristic label type of the entity, the characteristic label type of the relationship and the constraint conditions of the target entity; When delivering data service content, include: The front-end page or application requests data query services from the back-end; When requesting data query services, include: The final data service path model is sent to the backend, the model is parsed by the backend to obtain the target data unit, and the value result corresponding to the target data unit is found through the backend database, and then returned to the front-end page or application for rendering, thereby completing the data query service; Wherein, the final data service path model is configured according to the data query service; When delivering data service content, include: The front-end page or application requests the back-end data storage service; When requesting data storage services, include: The final data service path model is sent to the backend, the model is parsed by the backend to obtain the required stored data, and the data is stored on the server; The stored data includes: entity data, entity feature tag value data, and inter-entity relationship data; The final data service path model is configured according to the data storage service.