Data completion method and device, computer equipment and storage medium

By obtaining data read requests and finding data completion configuration information in the fusion scenario, the full field is automatically queried from the production side and data completion processing is performed, the problem of data consistency risk in the fusion scenario is solved, and efficient and accurate data synchronization is achieved.

CN119513186APending Publication Date: 2025-02-25TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311073069.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-23
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

In the convergence scenario, how to effectively reduce the risk of data consistency between the producer and the consumer, especially in the data completion process.

Method used

After obtaining the data read request, the specified data object is read and its data completion configuration information is found. When it is determined that the data object needs to be completed, the full field is queried from the production party and the data completion process is performed based on the completion field.

Benefits of technology

Automatic data completion processing is realized, reducing the risk of data consistency in the data completion process, and improving the efficiency and accuracy of data synchronization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119513186A_ABST
    Figure CN119513186A_ABST
Patent Text Reader

Abstract

The invention relates to a data completion method and device, computer equipment, a storage medium and a computer program product. The method can be applied to the field of maps and comprises the steps of obtaining a data reading request for a data object; reading a data object specified by the data reading request, and searching data completion configuration information of the data object; when it is determined that the data object needs data completion based on the data completion configuration information, querying a full field of the data object from a producer of the data object; based on the data completion configuration information, a completion field is searched from the full-amount fields; and performing data completion processing on the data object based on the completion field. According to the method, the data completion configuration information is created for the data object in advance, and then the completion field can be searched from a producer of the data object based on the data completion configuration information, so that automatic data completion processing for the data object is realized, and the data consistency risk in the whole data completion process is effectively reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a data completion method, apparatus, computer equipment, storage medium and computer program product. Background Art

[0002] With the development of computer technology and application development technology, the technology of integrated products has emerged. Integrated products can integrate multiple existing products into new products. For example, enterprise communication and office tool software and audio and video conferencing software can be integrated, so that the functions of audio and video conferencing can be realized on enterprise communication and office tool software. However, in the integrated scenario, the data of either party will continue to be enriched with iterations, so there will be the problem of how to synchronize the new data to the other party.

[0003] In traditional technology, for historical data that has already been synchronized from the producer to the consumer, a data repair tool is generally developed to scan all historical data of the consumer to perform data repair and complete the completion.

[0004] However, the method of developing data repair tools to complete data requires data verification, which can easily increase the data consistency risk of producers and consumers in fusion scenarios. Summary of the invention

[0005] Based on this, it is necessary to provide a data completion method, device, computer equipment, computer-readable storage medium and computer program product that can reduce the data consistency risk of producers and consumers in a fusion scenario in response to the above technical problems.

[0006] In a first aspect, the present application provides a data completion method. The method comprises:

[0007] Get a data read request for a data object;

[0008] Reading the data object specified by the data read request, and searching for data completion configuration information of the data object;

[0009] When it is determined based on the data completion configuration information that the data object needs data completion, querying all fields of the data object from the producer of the data object;

[0010] Searching for a completion field from the full field based on the data completion configuration information;

[0011] The data object is subjected to data completion processing based on the completion field.

[0012] In a second aspect, the present application also provides a data completion device. The device comprises:

[0013] A request acquisition module, used to acquire a data read request for a data object;

[0014] A data object reading module, used to read the data object specified by the data reading request, and search for data completion configuration information of the data object;

[0015] A data object query module, configured to query all fields of the data object from the producer of the data object when it is determined based on the data completion configuration information that the data object needs data completion;

[0016] A completion field identification module, used to search for a completion field from the full field based on the data completion configuration information;

[0017] A data object completion module is used to perform data completion processing on the data object based on the completion field.

[0018] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0019] Get a data read request for a data object;

[0020] Reading the data object specified by the data read request, and searching for data completion configuration information of the data object;

[0021] When it is determined based on the data completion configuration information that the data object needs data completion, querying all fields of the data object from the producer of the data object;

[0022] Searching for a completion field from the full field based on the data completion configuration information;

[0023] The data object is subjected to data completion processing based on the completion field.

[0024] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0025] Get a data read request for a data object;

[0026] Reading the data object specified by the data read request, and searching for data completion configuration information of the data object;

[0027] When it is determined based on the data completion configuration information that the data object needs data completion, querying all fields of the data object from the producer of the data object;

[0028] Searching for a completion field from the full field based on the data completion configuration information;

[0029] The data object is subjected to data completion processing based on the completion field.

[0030] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0031] Get a data read request for a data object;

[0032] Reading the data object specified by the data read request, and searching for data completion configuration information of the data object;

[0033] When it is determined based on the data completion configuration information that the data object needs data completion, querying all fields of the data object from the producer of the data object;

[0034] Searching for a completion field from the full field based on the data completion configuration information;

[0035] The data object is subjected to data completion processing based on the completion field.

[0036] The above-mentioned data completion method, device, computer equipment, storage medium and computer program product, after obtaining a data read request for a data object; first read the data object specified by the data read request, and search for the data completion configuration information of the data object, so as to determine whether the data object specified by the request needs to be completed through the data completion configuration information. When it is determined that the data object needs data completion based on the data completion configuration information, the full field of the data object is queried from the producer of the data object, that is, when it is determined that the data object needs to be completed, all fields of the data object after the producer has updated it can be determined from the producer of the data object, and then the completion field is searched from the full field based on the data completion configuration information to determine which field content needs to be supplemented in the currently found data object, and finally the data object is completed based on the completion field. The solution of the present application creates data completion configuration information for the data object in advance, and then when requesting to read the data object, it can automatically search for completion fields from the producer of the data object based on the data completion configuration information, thereby realizing automatic data completion processing for the data object, thereby effectively reducing the risk of data consistency in the data completion process. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 is an application environment diagram of a data completion method in an embodiment;

[0038] Figure 2 Schematic diagram of a data completion method in one embodiment;

[0039] Figure 3 A schematic diagram of a field structure of a data object in one embodiment;

[0040] Figure 4 A schematic diagram of the field structure of data completion configuration information in one embodiment;

[0041] Figure 5 A timing diagram of a data object addition process in one embodiment;

[0042] Figure 6 A timing diagram of a data object modification process in one embodiment;

[0043] Figure 7 is a timing diagram of a data object completion process in one embodiment;

[0044] Figure 8 is a flow chart of a data completion method in another embodiment;

[0045] Fig. 9 is a structural block diagram of a data completion device in an embodiment;

[0046] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0048] In this article, it is important to understand that the terms involved are:

[0049] Converged product: A new product that is a combination of multiple existing products, such as converged conferencing that is a combination of enterprise communication and office tool software and audio and video conferencing software.

[0050] Producer: The party that produces data and adds new fields.

[0051] Consumer: The party that uses the data and needs to complete the data.

[0052] The data completion method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the consumer server 104 through the network, and the consumer server 104 communicates with the producer server 106 through the network. The data storage system can store the data that the consumer server 104 needs to process. The data storage system can be integrated on the consumer server 104, or it can be placed on the cloud or other servers. When the user of the terminal 102 wants to read a certain data, a data read request for the data object can be initiated to the consumer server 104. The consumer server 104 can receive the data read request for the data object; then read the data object specified by the data read request, and find the data completion configuration information of the data object; when it is determined based on the data completion configuration information that the data object needs data completion, the full field of the data object is queried from the producer server 106 of the data object; then the consumer server 104 can find the completion field from the full field based on the data completion configuration information; and perform data completion processing on the data object based on the completion field. The data object after data completion can also be fed back to the terminal 102. The method can also be applied to the map field to realize the update of map data in the fusion product. The terminal 102 may be, but is not limited to, various desktop computers, laptop computers, smart phones, tablet computers, IoT devices, and portable wearable devices. IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The consumer server 104 and the producer server 106 may be implemented using independent servers or server clusters consisting of multiple servers.

[0053] In one embodiment, Figure 2 As shown, a data completion method is provided, which is applied to Figure 1 Taking the consumer server 104 in the example as an example, the following steps are included:

[0054] Step 201: Obtain a data read request for a data object.

[0055] Among them, data objects are composite information representations that must be understood by the software. Data objects may be external entities, things, incidents or events, roles, organizational units, places or structures, etc. For example, a person or a car can be considered as data objects, in the sense that they can be defined by a set of attributes. The data object description includes the data object and all its attributes. Data objects only encapsulate data (there is no operation on the data). Any data structure element referenced in the application, such as files, data, variables, etc., is called a data object, or object for short. It is named using characters allowed by the programming language. Data objects can include data fields. For example, for a fusion conference scenario after the integration of enterprise communication and office tool software and audio and video conferencing software, a data object can be generated for the recorded conference video, and the data object can include fields such as "recording ID" and "recording URL".

[0056] Specifically, when a user needs to read data from the consumer server 104, for example, when a data object stored on the consumer server 104 needs to be displayed on the user interface, a data read request for the data object can be sent to the consumer server 104, and the request includes relevant information of the specified data object. The consumer server 104 can then perform data search and display or data completion according to the data read request.

[0057] Step 203: read the data object specified by the data read request, and search for data completion configuration information of the data object.

[0058] The data completion configuration information can be understood as a pre-configured rule for implementing data completion. The data completion configuration information contains the name information of the corresponding data object, and also contains information about the existing fields of the data object. At the same time, the data completion configuration information also contains information such as a marking field and a completion field, wherein the marking field is used to mark whether the current data completion configuration information has been triggered and data completion has been completed, and the completion field is used to indicate the content that needs to be completed in the current data object.

[0059] Specifically, developers can design corresponding data completion configuration information for data objects according to the needs of the consumer server 104, and then establish an association between the data object and the data completion configuration information. The technical solution of the present application can be specifically applied to the update of stock objects on the consumer server 104. For stock objects, most of them will not change again. In view of this situation, automatic completion is performed when the consumer uses the stock object (typically, the stock object is read and displayed on the user interface), thereby ensuring the effect of data completion while reducing the frequency of data completion. In the process of data completion, after obtaining a data read request for the data object, the data object specified by the data read request can be directly read from the data storage system connected to the consumer server 104, and the data completion configuration information corresponding to the data object can be found.

[0060] Step 205: When it is determined based on the data completion configuration information that the data object needs data completion, query all fields of the data object from the producer of the data object.

[0061] Among them, the data completion configuration information includes flag information for characterizing the data completion status. For example, a Boolean type flag field can be set in the data completion configuration information, and then the flag field is used to identify whether the data is completed. For example, true can be used to indicate that the completion has been completed, and false can be used to indicate that the completion has not been completed. For existing historical data, the completion flag field defaults to false. After a data completion is completed, the completion flag field will be set to true. When the flag field in the data completion configuration information does not exist in the data object, or the flag field in the data completion configuration information exists, but the table name of the flag field needs to be completed, it means that the current data object needs to be completed. As for the full field of the data object, since the data object is generated on the producer server 106 and provided to the consumer server 104, the producer server 106 contains all the field information of the data object.

[0062] Specifically, after finding the data completion configuration information, it can be determined whether the data object queried by the current terminal 102 needs to be completed by reading the data completion configuration information. If it is determined that data completion is not necessary, in one embodiment, for the integrated conference scene after the integration of enterprise communication and office tool software and audio and video conferencing software, for the data object of the conference recording information, the data object structure of the consumer side can be as follows Figure 3 As shown, it specifically includes the consumer's existing fields "recording ID" and "recording URL". The corresponding data completion configuration information can be referred to Figure 4As shown in the figure, in addition to the existing fields "recording ID" and "recording URL" on the consumer side, it also includes the completion mark field "whether the recording information has been completed", and the completion fields "recording cover", "recording duration", etc. After searching for the data completion configuration information of the data object, you can confirm that the mark field in the data completion configuration information is false, indicating that the recording information is not completed. At this time, you can query all field values ​​of the full field of the data object from the producer of the data object to perform subsequent data completion processing.

[0063] Step 207: Search for a completion field from the full field based on the data completion configuration information.

[0064] Specifically, when querying the full fields of the data object from the producer, it is possible to determine which field values ​​in the full fields of the data object need to be supplemented into the data object of the consumer server 104 based on the completion fields included in the data completion configuration information.

[0065] Step 209: perform data completion processing on the data object based on the completion field.

[0066] Specifically, after the completion fields are identified from the full fields, the completion fields can be processed, and the specific values ​​of these completion fields can be read from the producer server 106, and then synchronized to the data object of the consumer server 104 to complete the data completion process. Figure 3 The data completion configuration information shown can determine that the two fields "recording cover" and "recording duration" are completion fields and need to be completed. At this time, after obtaining the full field of the data object, the specific field values ​​of "recording cover" and "recording duration" can be determined from the full field of the data object, and then added to the data object of the consumer server 104 to obtain the completed data object. Afterwards, the completed data object can also be fully fed back to the terminal 102 so that the user of the terminal 102 can view and confirm the data object.

[0067] The above-mentioned data completion method, after obtaining a data read request for a data object; first reads the data object specified by the data read request, and searches for the data completion configuration information of the data object, so as to determine whether the data object specified by the request needs to be completed through the data completion configuration information. When it is determined based on the data completion configuration information that the data object needs data completion, the full field of the data object is queried from the producer of the data object, that is, when it is determined that the data object needs to be completed, all fields of the data object after the producer updates it can be determined from the producer of the data object, and then the completion fields are searched from the full field based on the data completion configuration information to determine which field contents need to be supplemented in the currently found data object, and finally the data object is processed based on the completion fields. The scheme of the present application creates data completion configuration information for the data object in advance, and then when requesting to read the data object, the completion fields can be automatically searched from the producer of the data object based on the data completion configuration information, thereby realizing automatic data completion processing for the data object, thereby effectively reducing the data consistency risk in the data completion process.

[0068] In one embodiment, the data completion method further includes: obtaining a completion configuration request for the data object; extracting configuration text information in the completion configuration request; and creating data completion configuration information for the data object based on the configuration text information.

[0069] Among them, the completion configuration request refers to a request for creating data completion configuration information corresponding to a data object. The completion configuration request includes configuration text information. The configuration text information may specifically include information such as completion fields, which is used to create specific data completion configuration information.

[0070] Specifically, before performing the data completion process, it is also necessary to first create the data completion configuration information corresponding to the data object, and then the data completion process can be automatically performed based on the data completion configuration information. The staff can select the completion field according to the completion needs of the consumer's data object, and then generate a corresponding completion configuration request to the consumer's server to perform the data completion configuration work. After receiving the completion configuration request for the data object, the consumer's server can parse the completion configuration request, determine the data object specified by the request, and extract the configuration text information in the completion configuration request, determine the field content specified by the completion configuration request to be completed, and then create the data completion configuration information of the data object based on the configuration text information. In this embodiment, the corresponding configuration text is extracted by the completion configuration request for the data object, and then the creation of the data completion configuration information is completed, so that the efficiency and accuracy of the data completion processing achieved through the data completion configuration information can be guaranteed.

[0071] In one embodiment, the configuration text information includes an existing field, a tag field and a completion field. Creating data completion configuration information of a data object based on the configuration text information includes: creating a completion content sub-item based on the tag field and the completion field; creating structured configuration data based on the existing field and the completion content sub-item to obtain the data completion configuration information of the data object.

[0072] Among them, the completion content sub-item refers to the configuration content used to implement a data completion process. The data completion configuration information can include the completion content sub-item. During data completion, each time data completion processing is required, a completion content sub-item can be generated to add the content of the data object that needs to be completed this time to the data completion configuration information.

[0073] Specifically, data completion for data objects is not a one-time task. As the business develops, it may require secondary completion, tertiary completion, and so on. In order to reduce the workload of subsequent completion and save labor costs, the completion process needs to be rule-configured. To this end, for each completion content, a completion content sub-item can be created based on the default tag field and completion field. When completing the content for the first time and creating structured configuration data, you can first create a completion content sub-item based on the tag field and the completion field to obtain a completion content sub-item, and then create structured configuration data based on the existing fields and the completion content sub-item to obtain the data completion configuration information of the data object. For example, for a data object, the structured initial data completion configuration information created is as follows:

[0074] Data Object:

[0075] (1) Existing fields (1, 2, 3);

[0076] (2) Rule 1 (rule for the first completion): mark field (4), complete field (5, 6, 7, 8). In one embodiment, the created data completion configuration information can also be updated to complete secondary completion, tertiary completion and other processing. At this time, a configuration update request can be obtained from the staff of the consumer; then the target data completion configuration information specified by the configuration update request is searched; then a new target completion content sub-item is created based on the configuration update request; finally, the target completion content sub-item is added to the structured data of the target data completion configuration information. In this way, the update process of the data completion configuration information is completed. At this time, for the above-mentioned initial data completion configuration information, after two updates, the corresponding data completion configuration information is:

[0077] Data Object:

[0078] (1) Existing fields (1, 2, 3);

[0079] (2) Rule 1 (rule for the first completion): mark field (4), complete fields (5, 6, 7, 8);

[0080] (3) Rule 2 (rule for the second completion): mark field (9), complete field (10, 11, 12);

[0081] (4) Rule 3 (rule for the third completion): mark field (13), complete fields (14, 15, 16).

[0082] In addition, for automatic data completion, the update processing of the data object can be completed in batches or all at once according to the time node of the user's access when creating the data completion configuration information and updating the data completion configuration information. For example, after the initial data completion configuration information is created, if the user directly accesses the data object, the data completion can be completed based on the initial data completion configuration information. If the user has not accessed the data object until the data completion configuration information is updated multiple times, the data completion processing can be completed all at once based on all updated completion content sub-items in the data completion configuration information. In this embodiment, through the creation and update of the data completion configuration information, the association between the data completion configuration information and the data object can be effectively established, thereby realizing the processing of data completion and ensuring the accuracy and efficiency of the data completion process.

[0083] In one embodiment, step 205 includes: when the mark field in the data completion configuration information indicates that the data object needs data completion, querying the full fields of the data object from the producer of the data object. After step 209, it also includes: writing the field value of the mark field into the data object based on the result of the data completion process.

[0084] Specifically, the data completion configuration information includes a mark field for characterizing the data completion status. For example, a Boolean mark field can be set in the data completion configuration information, and then the mark field is used to identify whether the data is completed. For example, true can be used to indicate that the completion has been completed, and false can be used to indicate that the completion has not been completed. For the existing historical data, the completion mark field defaults to false. After completing the data completion once, the completion mark field will be set to true. Therefore, when it is necessary to complete the data, it can be identified by comparing the mark field in the data object with the mark field in the data completion configuration information. When the mark field in the data completion configuration information does not exist in the data object, or the mark field in the data completion configuration information exists, but the mark field table name needs to be completed, it means that the data object needs to be completed, and the full field of the data object is queried from the producer of the data object. After the data completion is completed, in order to prevent the repeated data completion from affecting the work efficiency of the consumer server, it is also necessary to write the field value of the mark field into the data object based on the result of the data completion processing. For example, for the above embodiment, the mark field of the true field value needs to be written into the data object. In this embodiment, by marking whether the data completion is completed through the marking field, the recognition accuracy and efficiency of the data objects that need to be completed during the data completion process can be effectively guaranteed, thereby ensuring the efficiency and accuracy of the data completion processing.

[0085] In one of the embodiments, the method further includes: obtaining a data object adding request from a producer; and creating a new data object based on the data object adding request.

[0086] The data object addition request refers to a request sent from the producer server to notify the consumer server to create a new data object. The data object addition request contains the flag information of the newly added object. The consumer server can query the producer server for the specific information of the object through the flag information in the data object addition request, thereby creating a new data object.

[0087] Specifically, in addition to being applicable to the synchronization processing of the data completion process, the solution of the present application can also be applied to the incremental object synchronization process. An incremental object refers to a data object newly added by the producer. For example, when applied to a conference recording scenario, the newly added data object can be a newly added conference recording in the conference recording scenario. For incremental objects, there is no corresponding historical data on the consumer server. Therefore, it is necessary to send a data object addition request to the consumer server through the producer server to notify the consumer server to add the corresponding data object to the data storage system to maintain data synchronization. After receiving the producer's request to add a data object, the consumer server will first query the producer for the full fields of the newly added object based on the data object addition request. Specifically, it can be to parse out the identifier of the newly added data object carried in the data object addition request, and then query the producer for the full fields of the newly added object based on the data object addition request; finally, create a new data object based on the full fields of the newly added object. Such as Figure 5 As shown in the sequence diagram of the incremental synchronization process, during the synchronization process of the incremental object, after the producer adds a new data object, it will notify the consumer of the currently added data object. After receiving the producer's request for adding a new data object, if the consumer confirms that the currently added data object needs to be synchronized, it can query the producer for all the field contents of the currently added data object based on the request for adding a new data object. The producer will return the full field information of the newly added data object to the consumer according to the request of the consumer, and the consumer server can create a new data object on the consumer's data storage system according to the returned full field information. In this embodiment, the synchronization of data objects on the consumer is achieved through the producer's request for adding a new data object, thereby effectively ensuring the processing efficiency of data object synchronization.

[0088] In one embodiment, the method further includes: obtaining a data object change request from a producer; searching for a change object based on the data object change request, and updating the change object.

[0089] The data object change request is a request sent from the producer server to notify the consumer server to change an existing data object. The data object change request contains the flag information of the changed object. The consumer server can use the flag information in the data object change request to find the specific information of the changed data object, thereby implementing the update processing of the data object.

[0090] Specifically, in addition to being applicable to the synchronization processing of the data completion process, the solution of the present application can also be applied to the change object synchronization process. A change object refers to an existing data object that has undergone data changes on the producer side. For example, when applied to a conference recording scenario, a newly added data object may be a change in the number of participants recorded in the conference recording scenario. For a change object, data changes need to be synchronized on the consumer server. Therefore, it is necessary to send a data object change request to the consumer server through the producer server to notify the consumer server to perform change processing on the corresponding data object on the data storage system to maintain data synchronization. After receiving the data object change request from the producer, the consumer server will first query the producer for the full fields of the change object after the change processing based on the data object change request. Specifically, it may be to parse out the identifier of the changed data object carried in the data object change request, and then query the producer for the full fields of the change object based on the data object change request; finally, based on the full fields of the change object, the change object on the consumer side is synchronously updated. Figure 6 As shown in the sequence diagram of the change object synchronization process, during the synchronization process of the change object, after the data object is changed, the producer will notify the consumer of the currently changed data object through a data object change request, and the consumer will query the producer for all the field contents of the currently changed data object based on the data object change request after receiving the producer's data object change request, and the producer will return the full field information of the changed object to the consumer according to the consumer's request, and the consumer server will compare the local field information of the changed object based on the returned full field information, determine the changed field in the full field of the changed object, and finally update the data of the changed object based on the changed field. In this embodiment, the synchronous processing of the data object on the consumer is realized through the producer's data object change request, so that the processing efficiency of data object synchronization can be effectively guaranteed.

[0091] In one embodiment, step 201 includes: obtaining a data read request; performing concurrent protection processing on the data object based on the data object requested by the data read request, and obtaining a data read request for the data object after the concurrent protection processing.

[0092] Concurrency protection refers to protecting concurrent processes to prevent concurrent tasks from affecting the performance of consumer systems. Concurrency means that the number of tasks that the consumer needs to execute is greater than the number of processor cores. Through various task scheduling algorithms of the operating system, multiple tasks are executed "together" (in fact, there are always some tasks that are not executed because the speed of switching tasks is quite fast, so they only appear to be executed together).

[0093] Specifically, in the scheme of the present application, for stock objects, when a large number of users request data objects at the same time, they may all be judged to be incompletely completed, and thus penetrate to the producer to query at the same time. Therefore, it is possible to cause very large access pressure to the producer during the data completion process. In order to reduce the access volume to the producer, it is necessary to perform concurrent protection processing on the consumer at this time. Concurrent protection can be achieved by processing data read requests. When performing concurrent protection, the data object can be processed for concurrent protection based on the data object requested by the data read request, and a data read request for the data object after concurrent protection processing can be obtained. Concurrent protection processing of the data object based on the data object requested by the data read request can be performed to create a request queue corresponding to the data object for each data object that needs to be accessed, and then the data read request is placed in the request queue according to the data object requested by the data read request, so that multiple data read requests for the same data object will be included in the same request queue, and for the data read request in the request queue. The data read request at the head of the request queue can be directly obtained, because these data read requests are all for the same data object. Therefore, after the data object is processed for data completion, the data object after data completion is read. At this time, since the same data object is requested in the same request queue, all data read requests in the request queue can be fed back directly based on the data object read by the data read request at the head of the queue. In this way, for data read requests, by queuing all requests for the same data object, only the request at the head of the queue can access the producer, and after the producer returns the full field data of the data object, all queued requests are returned. In this way, for the producer, there is only one access request at the same time, and the access level is greatly reduced. In this embodiment, by creating a request queue for the data queue, concurrent protection processing of the data object access process is implemented, thereby reducing the data access pressure on the producer caused by concurrent requests.

[0094] The present application also provides an application scenario, and the application scenario applies the above data completion method. Specifically, the application of the data completion method in the application scenario is as follows:

[0095] When a user is using an enterprise communication and office tool software, he can hold an online meeting through the audio and video conferencing function integrated in the enterprise communication and office tool software, and record the relevant information of the online meeting, such as "recording ID" and "recording URL" and other fields, which can be used as the relevant data fields of the recorded online meeting video after recording the online meeting. The audio and video conferencing function integrated in the enterprise communication and office tool software is actually realized by the audio and video conferencing software of the producer, and the audio and video conferencing software may also record new information such as "recording cover" and "recording duration" as the data field of this online meeting video. When the user wants to obtain relevant information about the recorded online meeting video, the enterprise communication and office tool software as the consumer can synchronize the data object of the producer's audio and video conferencing software to the consumer, and after completing the data completion, the completed data will be fed back to the user. At this time, the data completion method of this application can be used to implement the data completion processing of the consumer.

[0096] Before data completion processing, the staff of the consumer will generate corresponding data completion configuration information according to the fields that need to be completed. The staff can send a completion configuration request for the data object to the consumer's server and set the data fields that need to be completed in the completion configuration request. Then the consumer's server obtains the completion configuration request for the data object; extracts the configuration text information in the completion configuration request; creates a completion content sub-item based on the tag field and the completion field in the configuration text information;

[0097] Create structured configuration data based on existing fields and completion content sub-items to obtain data completion configuration information for the data object. Afterwards, if there are subsequent updates, the configuration information can be updated through configuration update requests. The consumer server obtains the configuration update request submitted by the staff; searches for the target data completion configuration information specified in the configuration update request; creates the target completion content sub-item based on the configuration update request; and adds the target completion content sub-item to the structured data of the target data completion configuration information. For the specific data completion process, the timing diagram can be referred to Figure 7As shown, first, the user initiates a data read request for a data object to the consumer through the terminal. The consumer obtains a data read request for the data object; reads the data object specified by the data read request, and searches for the data completion configuration information of the data object. When the tag field in the data completion configuration information indicates that the data object needs data completion, the full field of the data object is queried from the producer of the data object, and then the completion field is searched from the full field based on the data completion configuration information; and the data object is processed for data completion based on the completion field. At the same time, the field value of the tag field can also be written into the data object based on the result of the data completion processing. In addition, the solution of the present application can also add a new data object to the consumer. This process is initiated by the producer. The consumer can obtain the producer's request for adding a new data object; query the producer for the full field of the new object based on the request for adding a new data object; and create a new data object based on the full field of the new object. At the same time, the solution of the present application can also modify the data object on the consumer side. This process is initiated by the producer. The consumer can obtain the producer's data object change request; query the producer for the full fields of the changed object based on the data object change request; compare the local field information of the changed object to determine the changed fields in the full fields of the changed object; and perform data update processing on the changed object based on the changed fields. At the same time, since the data read request initiated by the customer may cause concurrency problems, concurrency protection can be implemented for processing. At this time, after the consumer obtains the data read request; a request queue can be created; according to the data object requested by the data read request, the data read request is placed in the request queue, and the data read request at the head of the queue in the request queue is obtained; after the data object is completed based on the completion field, the data object after the data completion processing is read; and the data object is fed back to the request terminal of the data read request in the request queue. Concurrency protection processing is performed on the data object based on the data object requested by the data read request, and a data read request for the data object after the concurrency protection processing is obtained.

[0098] In one embodiment, the data completion method of the present application can refer to Figure 8As shown, it includes: step 801, obtaining a completion configuration request for a data object. Step 803, extracting the configuration text information in the completion configuration request. Step 805, creating a completion content sub-item based on the tag field and the completion field. Step 807, creating structured configuration data based on the existing fields and the completion content sub-items in the configuration text information, and obtaining the data completion configuration information of the data object. Step 809, obtaining a configuration update request. Step 811, searching for the target data completion configuration information specified by the configuration update request. Step 813, creating a target completion content sub-item based on the configuration update request. Step 815, adding the target completion content sub-item to the structured data of the target data completion configuration information. Step 817, obtaining a data read request for the data object. Step 819, reading the data object specified by the data read request, and searching for the data completion configuration information of the data object. Step 821, when the tag field in the data completion configuration information indicates that the data object needs data completion, querying the full amount of fields of the data object from the producer of the data object. Step 823, searching for the completion field from the full field based on the data completion configuration information. Step 825, performing data completion processing on the data object based on the completion field. Step 827, writing the field value of the marked field into the data object based on the result of the data completion processing.

[0099] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0100] Based on the same inventive concept, the embodiment of the present application also provides a data completion device for implementing the data completion method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more data completion device embodiments provided below can refer to the limitations on the data completion method above, and will not be repeated here.

[0101] In one embodiment, Fig. 9 As shown, a data completion device is provided, comprising:

[0102] The request acquisition module 902 is used to acquire a data read request for a data object.

[0103] The data object reading module 904 is used to read the data object specified by the data reading request and search for data completion configuration information of the data object.

[0104] The data object query module 906 is used to query all fields of the data object from the producer of the data object when it is determined that the data object needs data completion based on the data completion configuration information.

[0105] The completion field identification module 908 is used to search for the completion field from the full field based on the data completion configuration information.

[0106] The data object completion module 910 is used to perform data completion processing on the data object based on the completion field.

[0107] In one embodiment, the completion configuration module is used to: obtain a completion configuration request for a data object; extract configuration text information in the completion configuration request; and create data completion configuration information for the data object based on the configuration text information.

[0108] In one embodiment, the configuration text information includes existing fields, mark fields and completion fields. The completion configuration module is also used to: create completion content sub-items based on the mark fields and the completion fields; create structured configuration data based on the existing fields and the completion content sub-items to obtain data completion configuration information of the data object.

[0109] In one embodiment, it also includes a configuration update module, which is used to: obtain a configuration update request; search for the target data completion configuration information specified by the configuration update request; create a target completion content sub-item based on the configuration update request; and add the target completion content sub-item to the structured data of the target data completion configuration information.

[0110] In one embodiment, the data object query module 906 is specifically used to: when the mark field in the data completion configuration information indicates that the data object needs data completion, query the full amount of fields of the data object from the producer of the data object. The device also includes a field update module, which is used to: write the field value of the mark field into the data object based on the result of the data completion processing.

[0111] In one embodiment, it also includes a data object adding module, which is used to: obtain a data object adding request from a producer; and create a new data object based on the data object adding request.

[0112] In one embodiment, the data object adding module is specifically used for: querying the producer for all fields of the added object based on the data object adding request; and creating a new data object based on all fields of the added object.

[0113] In one embodiment, it also includes a data object change module, which is used to: obtain a data object change request from a producer; search for a change object based on the data object change request, and update the change object.

[0114] In one embodiment, the data object change module is specifically used to: query the producer for all fields of the changed object based on the data object change request; compare the local field information of the changed object to determine the changed fields in the full fields of the changed object; and perform data update processing on the changed object based on the changed fields.

[0115] In one embodiment, the request acquisition module 902 is specifically used to: acquire a data read request; perform concurrent protection processing on the data object based on the data object requested by the data read request, and obtain the data read request for the data object after the concurrent protection processing.

[0116] In one embodiment, the request acquisition module 902 is further used to: create a request queue; place the data read request in the request queue according to the data object requested by the data read request, and obtain the data read request at the head of the request queue. The device also includes a data feedback module, which is used to: read the data object after data completion processing; and feed back the data object to the request terminal of the data read request in the request queue.

[0117] Each module in the above data completion device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0118] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.10As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data related to data objects. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a data completion method is implemented.

[0119] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0120] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0121] In one embodiment, a computer-readable storage medium is provided, storing a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0122] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-mentioned method embodiments.

[0123] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0124] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0125] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0126] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A data completion method, characterized in that: The method comprises: Get a data read request for a data object; Reading the data object specified by the data read request, and searching for data completion configuration information of the data object; When it is determined based on the data completion configuration information that the data object needs data completion, querying all fields of the data object from the producer of the data object; Searching for a completion field from the full field based on the data completion configuration information; The data object is subjected to data completion processing based on the completion field.

2. The method according to claim 1, characterized in that The method further comprises: Get the completion configuration request for the data object; Extracting configuration text information from the configuration completion request; The data completion configuration information of the data object is created based on the configuration text information.

3. The method according to claim 2, characterized in that The configuration text information includes existing fields, mark fields and completion fields; The data completion configuration information of the data object created based on the configuration text information includes: Creating a completion content sub-item based on the tag field and the completion field; Structured configuration data is created based on the existing fields and the completion content sub-items to obtain data completion configuration information of the data object.

4. The method according to claim 3, characterized in that The method further comprises: Get configuration update request; Searching for target data specified in the configuration update request to complete the configuration information; Creating a target completion content sub-item based on the configuration update request; The target completion content sub-item is added to the structured data of the target data completion configuration information.

5. The method according to claim 1, characterized in that When it is determined based on the data completion configuration information that the data object needs data completion, querying the full amount of fields of the data object from the producer of the data object includes: When the mark field in the data completion configuration information indicates that the data object needs data completion, querying the full amount of fields of the data object from the producer of the data object; After performing data completion processing on the data object based on the completion field, the method further includes: The field value of the tag field is written into the data object based on the result of the data completion processing.

6. The method according to claim 1, characterized in that The method further comprises: Get the producer's data object addition request; A new data object is created based on the data object adding request.

7. The method according to claim 6, characterized in that The creating a new data object based on the data object adding request comprises: Based on the data object addition request, query the producer for all fields of the newly added object; A new data object is created based on all fields of the new object.

8. The method according to claim 1, characterized in that The method further comprises: Get the data object change request from the producer; The changed object is searched based on the data object change request, and the changed object is updated.

9. The method according to claim 1, characterized in that: The searching for the changed object based on the data object change request and updating the changed object includes: Based on the data object change request, query the producer for all fields of the changed object; Comparing the local field information of the changed object, determining the changed field in the full field of the changed object; Data update processing is performed on the changed object based on the changed field.

10. The method according to any one of claims 1 to 9, characterized in that: The obtaining of a data read request for a data object comprises: Get data read request; Based on the data object requested by the data read request, concurrent protection processing is performed on the data object, and a data read request for the data object after the concurrent protection processing is obtained.

11. The method according to claim 10, characterized in that The performing concurrent protection processing on the data object based on the data object requested by the data read request and obtaining the data read request for the data object after the concurrent protection processing comprises: Create a request queue; According to the data object requested by the data read request, the data read request is placed in the request queue, and the data read request at the head position in the request queue is obtained; After performing data completion processing on the data object based on the completion field, the method further includes: Read the data object after data completion processing; Feedback the data object to the request terminal of the data read request in the request queue.

12. A data completion device, characterized in that: The device comprises: A request acquisition module, used to acquire a data read request for a data object; A data object reading module, used to read the data object specified by the data reading request, and search for data completion configuration information of the data object; A data object query module, configured to query all fields of the data object from the producer of the data object when it is determined that the data object needs data completion based on the data completion configuration information; A completion field identification module, used to search for a completion field from the full field based on the data completion configuration information; A data object completion module is used to perform data completion processing on the data object based on the completion field.

13. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 11 are implemented.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.