Data structure creation method and device, data processing method and device and storage control system

By obtaining the target object name and data type in the data structure configuration interface and creating data structures based on the rule configuration information, the data processing efficiency and accuracy problems caused by the application of different systems are solved, and efficient and accurate data processing is achieved.

CN119201881APending Publication Date: 2024-12-27BEIJING JINGDONG QIANSHITECHNOLOGY CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202310753160.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-25
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The data structures applicable to different systems make it difficult to guarantee the efficiency and accuracy of data processing.

Method used

By providing a method of creating a data structure, it includes obtaining the target object name and data type in the data structure configuration interface, and creating the target data structure based on the rule configuration information, realizing the visual data structure definition and adapting to business needs.

Benefits of technology

It improves the adaptability of data structures, improves the efficiency and accuracy of data processing, and overcomes the processing efficiency and accuracy problems caused by the differences in data structures applicable to different systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119201881A_ABST
    Figure CN119201881A_ABST
Patent Text Reader

Abstract

The invention provides a data structure creation method and device, a data processing method and device and a storage control system, and can be applied to the fields of computer technology, Internet technology, big data technology and data processing technology. The data structure creation method comprises the following steps: in response to the triggering of an object creation button in a data structure configuration interface, respectively obtaining M target object names corresponding to a service identifier and target data types corresponding to the M target object names from an object name input box and a data type input box; in response to the fact that a rule configuration button in the data structure configuration interface is triggered, rule configuration information corresponding to the N target object names is obtained from a rule configuration interface, and the rule configuration interface is associated with the data structure configuration interface; and creating a target data structure according to the M target object names, the target data types corresponding to the M target object names and the rule configuration information corresponding to the N target object names.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the fields of computer technology, Internet technology, big data technology, and data processing technology, and more specifically, to the creation of a data structure, a data processing method and device, and a warehouse control system. Background Art

[0002] With the development of computer technology, user behavior will generate massive amounts of data. How to process the massive amounts of data is an urgent problem to be solved.

[0003] In the process of data processing, metadata is becoming increasingly important. Metadata can refer to data used to describe data, such as information that can describe data attributes. Data can be managed through metadata configuration.

[0004] In the process of implementing the concept of the present disclosure, the inventors discovered that there are at least the following problems in the related art: since different systems may be applicable to different data structures, it is difficult to ensure the efficiency and accuracy of data processing. Summary of the invention

[0005] In view of this, the present disclosure provides a data structure creation method, a data processing method and device, a warehouse control system, an electronic device, a computer-readable storage medium, and a computer program product.

[0006] According to one aspect of the present disclosure, a method for creating a data structure is provided, comprising: in response to an object creation button in a data structure configuration interface being triggered, obtaining M target object names corresponding to a business identifier and a target data type corresponding to each of the M target object names from an object name input box and a data type input box, respectively, wherein M is a positive integer; in response to a rule configuration button in the data structure configuration interface being triggered, obtaining rule configuration information corresponding to each of the N target object names from a rule configuration interface, wherein the rule configuration interface is associated with the data structure configuration interface, and N is a positive integer less than or equal to M; and, creating a target data structure according to the M target object names, the target data types corresponding to each of the M target object names, and the rule configuration information corresponding to each of the N target object names.

[0007] According to an embodiment of the present disclosure, the object creation button includes a main object creation button, and the M target object names include a first number of main object names, which is less than or equal to M.

[0008] According to an embodiment of the present disclosure, in response to the object creation button in the data structure configuration interface being triggered, M target object names corresponding to the business identifier and the target data types corresponding to the above M target object names are respectively obtained from the object name input box and the data type input box, including: for each main object name in the above first number of main object names, in response to the main object creation button being triggered, displaying the above object name input box; obtaining the above main object name from the above object name input box; creating a target main object corresponding to the above main object name according to the above main object name, wherein the above target main object corresponds to the above data type input box; and obtaining the above target data type corresponding to the above main object name from the above data type input box.

[0009] According to an embodiment of the present disclosure, in a case where the above-mentioned target data type is an object data type, the above-mentioned M target object names also include a second number of sub-object names, and the sum of the above-mentioned first number and the above-mentioned second number is equal to M; and, in a case where the above-mentioned target data type is an array data type, the above-mentioned M target object names also include a third number of associated object names, and the above-mentioned third number of associated object names are associated with each other, and the third number is less than or equal to M.

[0010] According to an embodiment of the present disclosure, the above-mentioned object creation button also includes a sub-object creation button.

[0011] According to an embodiment of the present disclosure, the method further includes: for each sub-object name among the second number of sub-object names, in response to the sub-object creation button being triggered, displaying the object name input box; obtaining the sub-object name from the object name input box; creating a target sub-object corresponding to the sub-object name based on the sub-object name and the hierarchical relationship, wherein the target sub-object corresponds to the data type input box; and obtaining the target data type corresponding to the sub-object name from the data type input box.

[0012] According to an embodiment of the present disclosure, the above-mentioned target sub-object also corresponds to a sub-object deletion button.

[0013] According to an embodiment of the present disclosure, the method further includes: in response to the sub-object deletion button being triggered, determining the sub-object name to be deleted corresponding to the target sub-object to be deleted; and, according to the sub-object name to be deleted, deleting the target sub-object to be deleted.

[0014] According to an embodiment of the present disclosure, each of the M target object names corresponds to the rule configuration button.

[0015] According to an embodiment of the present disclosure, in response to the rule configuration button in the data structure configuration interface being triggered, obtaining the rule configuration information corresponding to each of the N target object names from the rule configuration interface includes: for each of the N target object names, in response to the rule configuration button corresponding to the target object name being triggered, displaying the rule configuration interface corresponding to the target object name, wherein the rule configuration interface includes at least one configuration input box, each of the at least one configuration input box corresponds to a rule name and rule configuration information to be input; and, in response to the user clicking on any of the at least one configuration input box, obtaining the rule configuration information corresponding to the configuration input box.

[0016] According to an embodiment of the present disclosure, when the target data type is a string data type, an integer data type or a numerical data type, an enumeration configuration button corresponds to the target object name.

[0017] According to an embodiment of the present disclosure, the above method also includes: in response to the above enumeration configuration button corresponding to the above target object name being triggered, displaying an enumeration configuration interface, wherein the above enumeration configuration interface includes a fixed value configuration sub-button and an interface configuration sub-button; when the above fixed value configuration sub-button is triggered, obtaining fixed value configuration information; and, when the above interface configuration sub-button is triggered, obtaining interface configuration information.

[0018] According to an embodiment of the present disclosure, the data structure configuration interface further includes a view switching button, each of the M target object names corresponds to a target object, and the M target objects have an association relationship and a hierarchical relationship.

[0019] According to an embodiment of the present disclosure, the method further includes, after creating the target data structure according to the M target object names, the target data types corresponding to the M target object names, and the rule configuration information corresponding to the N target object names: determining an output script template according to the association relationship and the hierarchical relationship; writing the M target object names, the target data types corresponding to the M target object names, and the rule configuration information corresponding to the N target object names into the output script template to obtain an output script; and, in response to the view switching button being triggered, displaying the output script in the script view interface.

[0020] According to one aspect of the present disclosure, a data processing method is provided, comprising: in response to receiving a data processing request, obtaining a target data structure corresponding to the business identifier according to the business identifier indicated by the data processing request, wherein the data processing request includes data to be processed, and the target data structure is created using a data structure creation method; and, using the target data structure, processing the data to be processed to obtain a data processing result.

[0021] According to an embodiment of the present disclosure, the above-mentioned target data structure includes M target object names, target data types corresponding to each of the M target object names, and rule configuration information corresponding to each of the N target object names, where M is a positive integer and N is a positive integer less than or equal to M.

[0022] According to an embodiment of the present disclosure, the above-mentioned target data structure is used to process the above-mentioned data to be processed, and the data processing results obtained include: according to the above-mentioned M target object names and the above-mentioned target data types corresponding to the M target object names, data mapping processing is performed on the above-mentioned data to be processed to obtain data mapping results corresponding to the M target object names; and according to the above-mentioned rule configuration information corresponding to each of the N target object names, data verification processing is performed on the above-mentioned data mapping results corresponding to each of the M target object names to obtain the above-mentioned data processing results.

[0023] According to another aspect of the present disclosure, a warehouse control system is provided, including: a client, configured to: display a data structure configuration interface, wherein the data structure configuration interface includes an object creation button and a rule configuration button; a server, configured to: in response to the object creation button being triggered, obtain M target object names corresponding to the business identifier and target data types corresponding to each of the M target object names from an object name input box and a data type input box, respectively, wherein M is a positive integer; in response to the rule configuration button being triggered, obtain rule configuration information corresponding to each of the N target object names from the rule configuration interface, wherein the rule configuration interface and the data structure configuration button are connected. The interface is associated, N is a positive integer less than or equal to M; a target data structure is created according to the M target object names, the target data types corresponding to the M target object names, and the rule configuration information corresponding to the N target object names; the client is also configured to: send a data processing request; and display the data processing result; the server is also configured to: in response to receiving the data processing request, obtain a target data structure corresponding to the business identifier according to the business identifier indicated by the data processing request, wherein the data processing request includes data to be processed; and, using the target data structure, process the data to be processed to obtain the data processing result.

[0024] According to another aspect of the present disclosure, a data structure creation device is provided, comprising: a first acquisition module, for, in response to an object creation button in a data structure configuration interface being triggered, obtaining M target object names corresponding to a business identifier and target data types corresponding to each of the M target object names from an object name input box and a data type input box, respectively, wherein M is a positive integer; a second acquisition module, for, in response to a rule configuration button in the data structure configuration interface being triggered, obtaining rule configuration information corresponding to each of the N target object names from a rule configuration interface, wherein the rule configuration interface is associated with the data structure configuration interface, and N is a positive integer less than or equal to M; and a first creation module, for creating a target data structure according to the M target object names, the target data types corresponding to each of the M target object names, and the rule configuration information corresponding to each of the N target object names.

[0025] According to another aspect of the present disclosure, a data processing device is provided, including: a third acquisition module, used to respond to receiving a data processing request and, based on the business identifier indicated by the data processing request, acquire a target data structure corresponding to the business identifier, wherein the data processing request includes data to be processed, and the target data structure is created by using a data structure creation device; and a processing module, used to process the data to be processed using the target data structure to obtain a data processing result.

[0026] According to another aspect of the present disclosure, an electronic device is provided, comprising: one or more processors; and a memory for storing one or more instructions, wherein when the one or more instructions are executed by the one or more processors, the one or more processors implement the method described in the present disclosure.

[0027] According to another aspect of the present disclosure, a computer-readable storage medium is provided, on which executable instructions are stored. When the executable instructions are executed by a processor, the processor implements the method described in the present disclosure.

[0028] According to another aspect of the present disclosure, a computer program product is provided. The computer program product includes computer executable instructions. When the computer executable instructions are executed, they are used to implement the method described in the present disclosure.

[0029] According to the embodiments of the present disclosure, since the target object name and the target data type corresponding to the target object name are obtained from the object name input box and the data type input box respectively in response to the object creation button in the data structure configuration interface being triggered, the rule configuration information is obtained from the rule configuration interface in response to the rule configuration button in the data structure configuration interface being triggered, thereby realizing a visual data structure definition. On this basis, since the target data structure is created according to the target object name, the target data type corresponding to the target object name, and the rule configuration information corresponding to the target object name, different data structures can be defined according to business needs, at least partially overcoming the technical problem in the related art that it is difficult to ensure the efficiency and accuracy of data processing due to the different data structures applicable to different systems, and by visually configuring and customizing the data structure related to the business identifier, the adaptability of the data structure is improved, thereby improving the efficiency and accuracy of subsequent data processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0031] Figure 1 The schematic diagram of the architecture of a warehouse control system according to an embodiment of the present disclosure is schematically shown;

[0032] Figure 2 A flowchart schematically shows a method for creating a data structure according to an embodiment of the present disclosure;

[0033] Figure 3 An example schematic diagram of a data structure configuration interface according to an embodiment of the present disclosure is schematically shown;

[0034] Figure 4 An example schematic diagram of a data structure configuration interface according to another embodiment of the present disclosure is schematically shown;

[0035] Figure 5 An example schematic diagram of a rule configuration interface according to an embodiment of the present disclosure is schematically shown;

[0036] Figure 6 An example schematic diagram of an enumeration configuration interface according to an embodiment of the present disclosure is schematically shown;

[0037] Figure 7 An example schematic diagram schematically shows a view switching process according to an embodiment of the present disclosure;

[0038] Figure 8 A flowchart schematically shows a data processing method according to an embodiment of the present disclosure;

[0039] FIG. 9A to FIG. 9DAn example schematic diagram schematically shows a data mapping process according to an embodiment of the present disclosure; Fig.10 A block diagram schematically shows a device for creating a data structure according to an embodiment of the present disclosure;

[0040] Fig.11 A block diagram schematically shows a data processing device according to an embodiment of the present disclosure; and

[0041] Fig.12 A block diagram of an electronic device suitable for implementing a method for creating a data structure and a method for processing data according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0042] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0043] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0044] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.

[0045] In the case of using expressions such as "at least one of A, B, and C, etc.", it should generally be interpreted in accordance with the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.). In the case of using expressions such as "at least one of A, B, or C, etc.", it should generally be interpreted in accordance with the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, or C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0046] In the embodiments of the present disclosure, the collection, updating, analysis, processing, use, transmission, provision, disclosure, storage, etc. of the data involved (for example, including but not limited to user personal information) are in compliance with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. In particular, necessary measures are taken for user personal information to prevent illegal access to user personal information data and maintain the security of user personal information, network security, and national security.

[0047] In the embodiments of the present disclosure, the user's authorization or consent is obtained before obtaining or collecting the user's personal information.

[0048] For example, after obtaining the data to be processed, we can use methods including de-identification or anonymization to desensitize your information to protect the security of your information.

[0049] Data structure can refer to a collection of data elements with structural characteristics. Data structure can include data logical structure and data storage structure.

[0050] The data logical structure may refer to a data structure that reflects the logical relationship between data elements. The logical relationship may refer to the before-after relationship between data elements. The data logical structure may include at least one of the following: a set, a linear structure, a tree structure, and a graph structure.

[0051] The data storage structure may refer to the storage form in the computer storage space. The data storage structure may include at least one of the following: sequential storage, chain storage, index storage and hash storage.

[0052] However, since different systems may apply different data structures, it is difficult to ensure the efficiency and accuracy of data processing.

[0053] The present disclosure provides a data structure creation method, a data processing method and device, and an electronic device, which can be applied to the fields of computer technology, Internet technology, big data technology, and data processing technology. The data structure creation method includes: in response to the object creation button in the data structure configuration interface being triggered, M target object names corresponding to the business identifier and the target data type corresponding to each of the M target object names are obtained from the object name input box and the data type input box respectively; in response to the rule configuration button in the data structure configuration interface being triggered, the rule configuration information corresponding to each of the N target object names is obtained from the rule configuration interface, wherein the rule configuration interface is associated with the data structure configuration interface; according to the M target object names, the target data types corresponding to each of the M target object names, and the rule configuration information corresponding to each of the N target object names, a target data structure is created.

[0054] Figure 1 The schematic diagram of the architecture of the warehouse control system according to the embodiment of the present disclosure is shown schematically. It should be noted that: Figure 1 What is shown is merely an example of the architecture of a warehouse control system to which the embodiments of the present disclosure can be applied, in order to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.

[0055] like Figure 1 As shown, the warehouse control system 100 may include a client 110 and a server 120. The client 110 may include a first terminal device 101, a second terminal device 102, and a third terminal device 103. The network 130 is used to provide a medium for a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103 and the server 120. The network 130 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc. A user may use at least one of the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 through the network 130 to receive or send messages, etc. Various communication client applications may be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, mailbox clients, social platform software, etc. (only as examples).

[0056] The first terminal device 101, the second terminal device 102, and the third terminal device 103 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0057] For example, the client 110 can be configured to: display a data structure configuration interface, wherein the data structure configuration interface includes an object creation button and a rule configuration button. Alternatively, the client 110 can also be configured to: send a data processing request; and display a data processing result. The server 120 can be a server that provides various services, such as a background management server that provides support for websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103 (only as an example). The background management server can analyze and process the received user request and other data, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests, etc.) to the terminal device.

[0058] For example, the server 120 may be configured to: in response to the object creation button being triggered, obtain M target object names corresponding to the business identifier and the target data type corresponding to each of the M target object names from the object name input box and the data type input box, respectively, wherein M is a positive integer. In response to the rule configuration button being triggered, obtain the rule configuration information corresponding to each of the N target object names from the rule configuration interface, wherein the rule configuration interface is associated with the data structure configuration interface, and N is a positive integer less than or equal to M. Create a target data structure according to the M target object names, the target data type corresponding to each of the M target object names, and the rule configuration information corresponding to each of the N target object names. Alternatively, the server 120 may also be configured to: in response to receiving a data processing request, obtain the target data structure corresponding to the business identifier according to the business identifier indicated by the data processing request, wherein the data processing request includes the data to be processed. The data to be processed is processed using the target data structure to obtain a data processing result.

[0059] It should be noted that the data structure creation method and data processing method provided in the embodiments of the present disclosure can generally be executed by the server 120. Accordingly, the data structure creation device and data processing device provided in the embodiments of the present disclosure can generally be set in the server 120. The data structure creation method and data processing method provided in the embodiments of the present disclosure can also be executed by a server or server cluster that is different from the server 120 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105. Accordingly, the data structure creation device and data processing device provided in the embodiments of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105.

[0060] Alternatively, the data structure creation method and data processing method provided in the embodiments of the present disclosure may also be executed by the first terminal device 101, the second terminal device 102 or the third terminal device 103, or may also be executed by other terminal devices different from the first terminal device 101, the second terminal device 102 or the third terminal device 103. Accordingly, the data structure creation device and data processing device provided in the embodiments of the present disclosure may also be set in the first terminal device 101, the second terminal device 102 or the third terminal device 103, or may be set in other terminal devices different from the first terminal device 101, the second terminal device 102 or the third terminal device 103.

[0061] It should be understood that Figure 1The number of the first terminal device, the second terminal device or the third terminal device, the network and the server in the embodiment is only for illustration. According to the implementation requirements, there may be any number of the first terminal device, the second terminal device or the third terminal device, the network and the server.

[0062] It should be noted that the sequence numbers of the operations in the following method are only used as representations of the operations for the purpose of description, and should not be regarded as representing the execution order of the operations. Unless explicitly stated, the method does not need to be executed completely in the order shown.

[0063] Figure 2 The flowchart of the method for creating a data structure according to an embodiment of the present disclosure is schematically shown.

[0064] like Figure 2 As shown, the data structure creation method 200 includes operations S210 to S230.

[0065] In operation S210, in response to the object creation button in the data structure configuration interface being triggered, M target object names corresponding to the business identifier and target data types corresponding to the M target object names are obtained from the object name input box and the data type input box, respectively, where M is a positive integer.

[0066] In operation S220, in response to the rule configuration button in the data structure configuration interface being triggered, rule configuration information corresponding to each of the N target object names is obtained from the rule configuration interface, wherein the rule configuration interface is associated with the data structure configuration interface, and N is a positive integer less than or equal to M.

[0067] In operation S230, a target data structure is created according to the M target object names, the target data types corresponding to the M target object names, and the rule configuration information corresponding to the N target object names.

[0068] According to an embodiment of the present disclosure, a method for creating a data structure may be applicable to a warehouse management scenario. The warehouse management scenario may include a warehouse management system (WMS), a warehouse control system (WCS), and a warehouse execution device.

[0069] According to an embodiment of the present disclosure, a warehouse management system can be used to coordinate the in-and-out information and storage information of all goods in a warehouse, and provide the above information to a warehouse control system. The warehouse control system can be used to determine the tasks of each warehouse execution device based on the in-and-out information and storage information of the goods, and distribute the determined tasks to the corresponding warehouse execution device. The warehouse execution device can refer to multiple unmanned devices arranged in the warehouse for moving, transporting or lifting goods.

[0070] According to an embodiment of the present disclosure, the data structure configuration interface may include at least one button and at least one input box. The button may include at least one of the following: an object creation button, a rule configuration button, an enumeration configuration button, and a view switching button. Each of the at least one button may be associated with a corresponding operation call interface. The input box may include at least one of the following: an object name input box, a data type input box, and a configuration input box.

[0071] According to an embodiment of the present disclosure, a service identifier may be used to characterize different target services. A target data structure may correspond to a target service. A target data structure may be created based on service information related to the target service. After the target data structure is created, the target data structure may be used to process the data to be processed related to the target service to obtain a data processing result.

[0072] According to the embodiments of the present disclosure, the triggering mode of the object creation button can be configured according to actual business needs and is not limited here. For example, the triggering mode may include a click triggering mode through a keyboard or mouse, a touch triggering mode through a screen, and a voice triggering mode through a microphone.

[0073] According to an embodiment of the present disclosure, the business information related to the target business may include M target object names. In response to the object creation button in the data structure configuration interface being triggered, the M target object names corresponding to the business identifier may be obtained from the object name input box. After obtaining the M target object names corresponding to the business identifier, the M target object names may be displayed in the data structure configuration interface.

[0074] According to an embodiment of the present disclosure, the target data type corresponding to each of the M target object names can be obtained from the data type input box. After obtaining the target data type corresponding to each of the M target object names, the target data type and rule configuration button corresponding to each of the M target object names can be displayed at the target position corresponding to each of the M target object names.

[0075] According to an embodiment of the present disclosure, in response to a rule configuration button corresponding to a target object name being triggered, a rule configuration interface corresponding to the target object name may be displayed. The rule configuration interface may include at least one configuration input box. The configuration input box may be used to obtain rule configuration information to be input corresponding to the rule name. The rule configuration information corresponding to the target object name may be obtained via the configuration input box.

[0076] According to an embodiment of the present disclosure, after obtaining the rule configuration information corresponding to each of the N target object names, a candidate data structure can be created according to the M target object names and the target data types corresponding to each of the M target object names. According to the rule configuration information corresponding to each of the N target object names, the candidate data structure is further configured to obtain a target data structure. The target data structure may include the association relationship and hierarchical relationship between the M target objects.

[0077] According to an embodiment of the present disclosure, after obtaining the target data structure, the target data structure can be stored. For example, the target data structure can be stored in a standard json-schema format. In response to the view switching button being triggered, the target data structure can be converted to obtain an output script. After obtaining the output script, the output script can be displayed in the script view interface.

[0078] According to the embodiments of the present disclosure, since the target object name and the target data type corresponding to the target object name are obtained from the object name input box and the data type input box respectively in response to the object creation button in the data structure configuration interface being triggered, the rule configuration information is obtained from the rule configuration interface in response to the rule configuration button in the data structure configuration interface being triggered, thereby realizing a visual data structure definition. On this basis, since the target data structure is created according to the target object name, the target data type corresponding to the target object name, and the rule configuration information corresponding to the target object name, different data structures can be defined according to business needs, at least partially overcoming the technical problem in the related art that it is difficult to ensure the efficiency and accuracy of data processing due to the different data structures applicable to different systems, and by visually configuring and customizing the data structure related to the business identifier, the adaptability of the data structure is improved, thereby improving the efficiency and accuracy of subsequent data processing.

[0079] Reference below Figure 3 to Figure 7 , the method 200 for creating a data structure according to an embodiment of the present invention is further described.

[0080] According to an embodiment of the present disclosure, operation S210 may include the following operations.

[0081] For each of the first number of main object names, in response to the main object creation button being triggered, an object name input box is displayed. The main object name is obtained from the object name input box. According to the main object name, a target main object corresponding to the main object name is created, wherein the target main object has a data type input box. The target data type corresponding to the main object name is obtained from the data type input box.

[0082] According to an embodiment of the present disclosure, the object creation button may include a master object creation button. The M target object names may include a first number of master object names. The first number is less than or equal to M.

[0083] According to an embodiment of the present disclosure, the target data type corresponding to the main object name may include at least one of the following: an object data type (i.e., object), an array data type (i.e., array), a string data type (i.e., string), an integer data type (i.e., integer) or a floating-point data type (i.e., number) and a Boolean type (i.e., boolean).

[0084] Figure 3 An example schematic diagram of a data structure configuration interface according to an embodiment of the present disclosure is schematically shown.

[0085] like Figure 3 As shown, in 300, in response to the main object creation button in the data structure configuration interface 301 being triggered, an object name input box 302 may be displayed. The main object name is obtained from the object name input box 302. According to the main object name, a target main object corresponding to the main object name is created.

[0086] On this basis, the target main object may correspond to a data type input box 303. From the data type input box 303, the target data type corresponding to the main object name may be acquired.

[0087] According to an embodiment of the present disclosure, when the target data type is an object data type, the M target object names further include a second number of sub-object names, and the sum of the first number and the second number is equal to M.

[0088] According to an embodiment of the present disclosure, when the target data type is an array data type, the M target object names also include a third number of associated object names, the third number of associated object names are associated with each other, and the third number is less than or equal to M.

[0089] According to an embodiment of the present disclosure, when the target data type is an object data type (i.e., object), the M target object names may include a first number of main object names and a second number of sub-object names. The main object name may not have a corresponding sub-object name or may have at least one corresponding sub-object name.

[0090] According to an embodiment of the present disclosure, the sum of the first number and the second number may be equal to M. For example, the main object name may include main object A, main object B, and main object C. Main object A may not have a corresponding sub-object name. Main object B may have a corresponding sub-object b. Main object C may have corresponding sub-objects c1 and c2. In this case, the first number may be 3, the second number may be 3, and M may be 6.

[0091] According to an embodiment of the present disclosure, when the target data type is an array data type (i.e., array), the M target object names may include a first number of primary object names and a third number of associated object names. The primary object name may not have a corresponding associated object name or may have at least one corresponding associated object name. When the primary object name has at least one corresponding associated object name, the primary object name and the at least one corresponding associated object name may be batch processed in the form of a list.

[0092] According to an embodiment of the present disclosure, the data structure creation method 200 may further include the following operations.

[0093] For each of the second number of sub-object names, in response to the sub-object creation button being triggered, an object name input box is displayed. The sub-object name is obtained from the object name input box. A target sub-object corresponding to the sub-object name is created according to the sub-object name and the hierarchical relationship, wherein the target sub-object has a data type input box. A target data type corresponding to the sub-object name is obtained from the data type input box.

[0094] According to an embodiment of the present disclosure, the object creation button may further include a sub-object creation button.

[0095] According to an embodiment of the present disclosure, when the target data type is an object data type (i.e., object), the main object corresponding to the main object name may have at least one corresponding sub-object. By triggering a sub-object creation button corresponding to the main object, a sub-object corresponding to the main object may be generated. For example, a transport task whose target data type is an object data type may include different sub-object types.

[0096] According to an embodiment of the present disclosure, the data structure creation method 200 may further include the following operations.

[0097] In response to the sub-object deletion button being triggered, the name of the sub-object to be deleted corresponding to the target sub-object to be deleted is determined, and the target sub-object to be deleted is deleted according to the name of the sub-object to be deleted.

[0098] According to an embodiment of the present disclosure, the target sub-object may also correspond to a sub-object deletion button.

[0099] According to an embodiment of the present disclosure, when a target sub-object needs to be deleted, a sub-object deletion button corresponding to the target sub-object can be triggered. When the sub-object deletion button is triggered, the name of the sub-object to be deleted corresponding to the target sub-object to be deleted can be determined. On this basis, the target sub-object to be deleted can be deleted according to the name of the sub-object to be deleted.

[0100] Figure 4 An example schematic diagram of a data structure configuration interface according to another embodiment of the present disclosure is schematically shown.

[0101] like Figure 4 As shown, in 400, when the target data type is the object data type 402, the target main object corresponding to the object data type 402 (corresponding to the target main object name Task) may correspond to a sub-object creation button 403. In response to the sub-object creation button 403 being triggered, a target sub-object 404 may be created.

[0102] The target sub-object may correspond to a sub-object delete button 405. In response to the sub-object delete button 405 being triggered, the name of the sub-object to be deleted corresponding to the target sub-object to be deleted may be determined to be "releaseSourcePointFlag". The target sub-object to be deleted may be deleted according to the name of the sub-object to be deleted "releaseSourcePointFlag".

[0103] According to an embodiment of the present disclosure, operation S220 may include the following operations.

[0104] For each target object name among the N target object names, in response to a rule configuration button corresponding to the target object name being triggered, a rule configuration interface corresponding to the target object name is displayed, wherein the rule configuration interface includes at least one configuration input box, and each of the at least one configuration input box corresponds to a rule name and rule configuration information to be input. In response to a user clicking on any configuration input box among the at least one configuration input box, the rule configuration information corresponding to the configuration input box is obtained.

[0105] According to an embodiment of the present disclosure, each of the M target object names may correspond to a rule configuration button.

[0106] According to the embodiments of the present disclosure, since different target objects may correspond to different data verification rules, when a rule configuration is required for a target object, a rule configuration button corresponding to the target object may be triggered. When the rule configuration button is triggered, a rule configuration interface corresponding to the target object may be displayed.

[0107] According to an embodiment of the present disclosure, the rule configuration interface may include at least one configuration input box. The configuration input boxes may each correspond to a rule name and rule configuration information to be input. The rule name may include at least one of the following: task number, required or not, minimum length, maximum length, format, default value, regular check, etc.

[0108] Figure 5 An example schematic diagram of a rule configuration interface according to an embodiment of the present disclosure is schematically shown.

[0109] like Figure 5 As shown, in 500, in response to the rule configuration button 503 corresponding to the target object name "taskNo" in the data structure configuration interface 51 being triggered, the rule configuration interface 502 corresponding to the target object name "taskNo" may be displayed.

[0110] The rule configuration interface 502 corresponding to the target object name "taskNo" may include at least one configuration input box. The at least one configuration input box may each correspond to a rule name and rule configuration information to be input. For example, the rule name 504 "longest" and the rule configuration information 505 to be input, the rule name 506 "regular" and the rule configuration information 507 to be input.

[0111] According to an embodiment of the present disclosure, the data structure creation method 200 may further include the following operations.

[0112] In response to the enumeration configuration button corresponding to the target object name being triggered, an enumeration configuration interface is displayed, wherein the enumeration configuration interface includes a fixed value configuration sub-button and an interface configuration sub-button. When the fixed value configuration sub-button is triggered, fixed value configuration information is obtained. When the interface configuration sub-button is triggered, interface configuration information is obtained.

[0113] According to an embodiment of the present disclosure, when the target data type is a string data type, an integer data type, or a numeric data type, the target object name may correspond to an enumeration configuration button.

[0114] According to an embodiment of the present disclosure, when the target data type is a string data type (i.e., string), an integer data type (i.e., integer), or a floating-point data type (i.e., number), the target object can be enumerated and configured. Enumeration configuration can refer to a data value configuration that can be exhaustively enumerated, which can be used to subsequently verify the actual received data. When it is necessary to enumerate a target object, an enumeration configuration button corresponding to the target object can be triggered. When the enumeration configuration button is triggered, the enumeration configuration interface can be displayed.

[0115] According to an embodiment of the present disclosure, the enumeration configuration interface may include a fixed value configuration sub-button and an interface configuration sub-button. When the fixed value configuration sub-button is triggered, the fixed value configuration interface may be displayed, and the fixed value configuration interface may include at least one fixed value configuration input box. The fixed value configuration information may be obtained by specifying the corresponding fields of the enumeration key information and the value information via the at least one fixed value configuration input box.

[0116] According to an embodiment of the present disclosure, when the interface configuration sub-button is triggered, an interface configuration interface may be displayed, and the fixed value configuration interface may include at least one interface configuration input box. Interface configuration information may be obtained via the at least one interface configuration input box.

[0117] Figure 6 An example schematic diagram of an enumeration configuration interface according to an embodiment of the present disclosure is schematically shown.

[0118] like Figure 6 As shown in 600, in response to the enumeration configuration button 602 corresponding to the target object name "taskType" in the data structure configuration interface 601 being triggered, an enumeration configuration interface 603 corresponding to the target object name "taskType" can be displayed. The enumeration configuration interface 603 can include a fixed value configuration sub-button 604 and an interface configuration sub-button 605.

[0119] When the fixed value configuration sub-button 604 is triggered, fixed value configuration information 606 can be obtained. When the interface configuration sub-button 605 is triggered, an enumeration configuration interface 607 can be displayed and interface configuration information 608 can be obtained.

[0120] According to an embodiment of the present disclosure, the data structure creation method 200 may further include the following operations.

[0121] According to the association relationship and the hierarchical relationship, an output script template is determined. M target object names, target data types corresponding to the M target object names, and rule configuration information corresponding to the N target object names are written into the output script template to obtain an output script. In response to the view switching button being triggered, the output script is displayed in the script view interface.

[0122] According to an embodiment of the present disclosure, the data structure configuration interface may further include a view switching button. The M target object names may each correspond to a target object. The M target objects may have an association relationship and a hierarchical relationship.

[0123] According to an embodiment of the present disclosure, when view switching is required, a view switching button can be triggered. The view switching button can include a button for switching from a data structure configuration interface to a script view interface, and a button for switching from a script view interface to a data structure configuration interface.

[0124] According to an embodiment of the present disclosure, an association relationship can be used to characterize target objects that are associated at the same level among M target objects. A hierarchical relationship can be used to characterize target objects that are affiliated at different levels among M target objects. A script template can be output based on the association relationship and hierarchical relationship between the M target objects. The output script template can be written based on JSON (JavaScript Object Notation). M target object names, target data types corresponding to each of the M target object names, and rule configuration information corresponding to each of the N target object names can be written into the output script template to obtain an output script.

[0125] According to an embodiment of the present disclosure, when the view switching button is triggered, the current view can be determined. When the current view is a data structure configuration interface, the output script can be displayed in the script view interface. When the current view is a script view interface, the target data structure can be displayed in the data structure configuration interface.

[0126] According to the embodiments of the present disclosure, the creation process of data structures including hierarchical structures, data rules, view switching, data assignment and data verification can be realized through the data structure configuration interface. On this basis, the integrated mechanism of data orchestration and execution can be realized through the process engine, and a low-code configurable system integration solution can be realized by customizing the input and output parameters of different systems, the data structures of each module within the warehouse control system, and the various types of data structures scheduled and orchestrated by the process engine.

[0127] Figure 7 An example schematic diagram of a view switching process according to an embodiment of the present disclosure is schematically shown.

[0128] like Figure 7 As shown in 700, the data structure configuration interface 701 may include a view switching button 702. In response to the view switching button 702 being triggered, the output script 705 may be displayed in the script view interface 703. On this basis, a thumbnail 706 of the output script 705 may also be displayed in the script view interface 703.

[0129] The script view interface 703 may include a view switching button 704 . In response to the view switching button 704 being triggered, the view may be switched to the data structure configuration interface 701 .

[0130] The above are merely exemplary embodiments, but are not limited thereto and may also include other data structure creation methods known in the art, as long as they can improve the adaptability of the data structure and thereby improve the efficiency and accuracy of subsequent data processing.

[0131] Figure 8 The flowchart of the data processing method according to the embodiment of the present disclosure is schematically shown.

[0132] like Figure 8 As shown, the data processing method 800 includes operations S810 to S820.

[0133] In operation S810, in response to receiving a data processing request, a target data structure corresponding to the business identifier is obtained according to the business identifier indicated in the data processing request, wherein the data processing request includes data to be processed and the target data structure is created using a data structure creation method.

[0134] In operation S820, the data to be processed is processed using the target data structure to obtain a data processing result.

[0135] According to the embodiments of the present disclosure, a target data structure corresponding to a business identifier may be pre-created using a data structure creation method. The target data structure may refer to a structure of data flowing in different business systems, modules within a warehouse control system, or process scheduling.

[0136] According to an embodiment of the present disclosure, after detecting a data processing operation initiated by a user for the data to be processed, a service identifier corresponding to the data to be processed may be determined. After obtaining the service identifier, a target data structure corresponding to the service identifier may be obtained from a data source according to the service identifier. The data source may include at least one of the following: a local database, a cloud database, and a network resource. For example, a data interface may be called to obtain a target data structure corresponding to the service identifier from a data source using the data interface.

[0137] According to an embodiment of the present disclosure, after obtaining the target data structure, the target data structure can be used to process the data to be processed to obtain a data processing result. The specific processing method can be configured according to actual business needs and is not limited here. For example, the specific processing method may include at least one of the following: data mapping, data verification, and data processing.

[0138] According to the embodiments of the present disclosure, since the target data structure is obtained in response to receiving a data processing request and according to the service identifier indicated by the data processing request, the target data structure can be adapted to the service identifier. On this basis, since the data processing result is obtained by processing the data to be processed using the target data structure, by using the target data structure to adapt, convert and arrange the data to be processed, the differences in data structures between different systems can be adapted, thereby improving the efficiency of data processing and further improving the accuracy of the data processing result.

[0139] Reference below Fig.9A , Fig. 9B , Fig. 9C and Fig.9D , the data processing method 800 according to an embodiment of the present invention is further explained.

[0140] According to an embodiment of the present disclosure, operation S820 may include the following operations.

[0141] According to the M target object names and the target data types corresponding to the M target object names, data mapping processing is performed on the data to be processed to obtain data mapping results corresponding to the M target object names. According to the rule configuration information corresponding to the N target object names, data verification processing is performed on the data mapping results corresponding to the M target object names to obtain data processing results.

[0142] According to an embodiment of the present disclosure, the target data structure may include M target object names, target data types corresponding to each of the M target object names, and rule configuration information corresponding to each of the N target object names. M is a positive integer. N is a positive integer less than or equal to M.

[0143] According to an embodiment of the present disclosure, after obtaining the target data structure, data mapping processing can be performed on the data to be processed according to the M target object names in the target data structure and the target data types corresponding to the M target object names respectively, to obtain data mapping results corresponding to the M target object names respectively.

[0144] According to an embodiment of the present disclosure, data mapping processing can be assigned through an assignment node in a process or a data mapping interface. The specific data mapping processing method can be configured according to actual business needs and is not limited here. For example, the data mapping processing method may include at least one of the following: a data model, a fixed value, an expression, and an advanced parameter script. The advanced parameter script can be used in situations where complex assignment processing is required for the target object.

[0145] According to an embodiment of the present disclosure, after obtaining the data mapping results corresponding to each of the M target object names, data verification processing can be performed on the data mapping results corresponding to each of the N target object names according to the rule configuration information corresponding to each of the N target object names in the target data structure to obtain the data processing results.

[0146] FIG. 9A to FIG. 9D An example schematic diagram of a data mapping process according to an embodiment of the present disclosure is schematically shown.

[0147] like Fig.9A As shown, in the case where data to be processed needs to be processed for data mapping, a data mapping interface 901 may be displayed, and a data mapping method may be input through a mapping method input box 902 in the data mapping interface 901 .

[0148] like Fig. 9B As shown, when the data mapping method is a data model method 903, a data mapping interface 904 based on the data model can be displayed.

[0149] like Fig. 9C As shown, when the data mapping mode is the fixed value mode 905, a fixed value-based data mapping interface 906 may be displayed, and a character string may be input through a fixed value input box 907 in the fixed value-based data mapping interface 906.

[0150] like Fig.9D As shown, when the data mapping mode is the expression mode 908 , an expression-based data mapping interface 909 may be displayed, and an expression may be input through an expression input box 910 in the expression-based data mapping interface 909 .

[0151] The above are merely exemplary embodiments, but are not limited thereto, and may also include other data processing methods known in the art, as long as they can improve the efficiency of data processing and thereby improve the accuracy of data processing results.

[0152] Fig.10 A block diagram schematically shows a device for creating a data structure according to an embodiment of the present disclosure.

[0153] like Fig.10 As shown, the data structure creation device 1000 may include a first acquisition module 1010 , a second acquisition module 1020 and a first creation module 1030 .

[0154] The first acquisition module 1010 is used to obtain M target object names corresponding to the business identifier and the target data types corresponding to the M target object names from the object name input box and the data type input box in response to the object creation button in the data structure configuration interface being triggered, wherein M is a positive integer.

[0155] The second acquisition module 1020 is used to obtain rule configuration information corresponding to each of N target object names from the rule configuration interface in response to the rule configuration button in the data structure configuration interface being triggered, wherein the rule configuration interface is associated with the data structure configuration interface, and N is a positive integer less than or equal to M.

[0156] The first creation module 1030 is used to create a target data structure according to the M target object names, the target data types corresponding to the M target object names, and the rule configuration information corresponding to the N target object names.

[0157] According to an embodiment of the present disclosure, the object creation button includes a main object creation button, and the M target object names include a first number of main object names, which is less than or equal to M.

[0158] According to an embodiment of the present disclosure, the first acquisition module 1010 may include a first display unit, a first acquisition unit, a first creation unit, and a second acquisition unit.

[0159] The first display unit is used to display an object name input box for each main object name of the first number of main object names in response to the main object creation button being triggered.

[0160] The first acquisition unit is used to acquire the main object name from the object name input box.

[0161] The first creation unit is used to create a target main object corresponding to the main object name according to the main object name, wherein the target main object corresponds to a data type input box.

[0162] The second acquisition unit is used to acquire the target data type corresponding to the main object name from the data type input box.

[0163] According to an embodiment of the present disclosure, when the target data type is an object data type, the M target object names further include a second number of sub-object names, and the sum of the first number and the second number is equal to M.

[0164] According to an embodiment of the present disclosure, when the target data type is an array data type, the M target object names also include a third number of associated object names, the third number of associated object names are associated with each other, and the third number is less than or equal to M.

[0165] According to an embodiment of the present disclosure, the object creation button further includes a sub-object creation button.

[0166] According to an embodiment of the present disclosure, the data structure creation device 1000 may further include a first display module, a fourth acquisition module, a second creation module and a fifth acquisition module.

[0167] The first display module is configured to display an object name input box for each sub-object name of the second number of sub-object names in response to the sub-object creation button being triggered.

[0168] The fourth acquisition module is used to acquire the sub-object name from the object name input box.

[0169] The second creation module is used to create a target sub-object corresponding to the sub-object name according to the sub-object name and the hierarchical relationship, wherein the target sub-object corresponds to a data type input box.

[0170] The fifth acquisition module is used to acquire the target data type corresponding to the sub-object name from the data type input box.

[0171] According to an embodiment of the present disclosure, the target sub-object also corresponds to a sub-object deletion button.

[0172] According to an embodiment of the present disclosure, the data structure creation device 1000 may further include a first determination module and a deletion module.

[0173] The first determining module is configured to determine the name of the sub-object to be deleted corresponding to the target sub-object to be deleted in response to the sub-object deletion button being triggered.

[0174] The deletion module is used to delete the target sub-object to be deleted according to the name of the sub-object to be deleted.

[0175] According to an embodiment of the present disclosure, each of the M target object names corresponds to a rule configuration button.

[0176] According to an embodiment of the present disclosure, the second acquisition module 1020 may include a second display unit and a third acquisition unit.

[0177] The second display unit is used to display a rule configuration interface corresponding to the target object name for each target object name among the N target object names, in response to a rule configuration button corresponding to the target object name being triggered, wherein the rule configuration interface includes at least one configuration input box, and the at least one configuration input box respectively corresponds to a rule name and rule configuration information to be entered.

[0178] The third acquisition unit is configured to acquire rule configuration information corresponding to the configuration input box in response to a user clicking on any configuration input box of the at least one configuration input box.

[0179] According to an embodiment of the present disclosure, when the target data type is a string data type, an integer data type, or a numeric data type, an enumeration configuration button corresponds to the target object name.

[0180] According to an embodiment of the present disclosure, the data structure creation device 1000 may further include a second display module, a sixth acquisition module and a seventh acquisition module.

[0181] The second display module is used to display the enumeration configuration interface in response to the enumeration configuration button corresponding to the target object name being triggered, wherein the enumeration configuration interface includes a fixed value configuration sub-button and an interface configuration sub-button.

[0182] The sixth acquisition module is used to acquire the fixed value configuration information when the fixed value configuration sub-button is triggered.

[0183] The seventh acquisition module is used to acquire the interface configuration information when the interface configuration sub-button is triggered.

[0184] According to an embodiment of the present disclosure, the data structure configuration interface further includes a view switching button, each of the M target object names corresponds to a target object, and the M target objects have an association relationship and a hierarchical relationship.

[0185] According to an embodiment of the present disclosure, the data structure creation device 1000 may further include a second determination module, a writing module and a third display module.

[0186] The second determination module is used to determine the output script template according to the association relationship and the hierarchical relationship.

[0187] The writing module is used to write M target object names, target data types corresponding to the M target object names, and rule configuration information corresponding to the N target object names into an output script template to obtain an output script.

[0188] The third display module is used to display the output script in the script view interface in response to the view switching button being triggered.

[0189] Fig.11 The block diagram schematically shows a data processing device according to an embodiment of the present disclosure.

[0190] like Fig.11 As shown, the data processing device 1100 may include a third acquisition module 1110 and a processing module 1120 .

[0191] The third acquisition module 1110 is used to respond to receiving a data processing request and, based on the business identifier indicated in the data processing request, acquire a target data structure corresponding to the business identifier, wherein the data processing request includes data to be processed and the target data structure is created using the device of claim 11.

[0192] The processing module 1120 is used to process the data to be processed using the target data structure to obtain a data processing result.

[0193] According to an embodiment of the present disclosure, the target data structure includes M target object names, target data types corresponding to each of the M target object names, and rule configuration information corresponding to each of the N target object names, where M is a positive integer and N is a positive integer less than or equal to M.

[0194] According to an embodiment of the present disclosure, the processing module 1120 may include a first processing unit and a second processing unit.

[0195] The first processing unit is used to perform data mapping processing on the data to be processed according to the M target object names and the target data types respectively corresponding to the M target object names, so as to obtain data mapping results respectively corresponding to the M target object names.

[0196] The second processing unit is used to perform data verification processing on the data mapping results corresponding to the M target object names respectively according to the rule configuration information corresponding to the N target object names respectively, to obtain a data processing result.

[0197] According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits, or at least part of the functions of any one of them can be implemented in one module. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be split into multiple modules for implementation. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be at least partially implemented as hardware circuits, such as field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), systems on chips, systems on substrates, systems on packages, application specific integrated circuits (ASICs), or can be implemented by hardware or firmware in any other reasonable way of integrating or packaging the circuit, or in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of them. Alternatively, according to the embodiments of the present invention, one or more of the modules, submodules, units, and subunits can be at least partially implemented as computer program modules, and when the computer program modules are run, the corresponding functions can be performed.

[0198] For example, any multiple of the first acquisition module 1010, the second acquisition module 1020, and the first creation module 1030 can be combined in one module / unit / subunit for implementation, or any one of the modules / units / subunits can be split into multiple modules / units / subunits. Alternatively, at least part of the functions of one or more of these modules / units / subunits can be combined with at least part of the functions of other modules / units / subunits and implemented in one module / unit / subunit. According to an embodiment of the present disclosure, at least one of the first acquisition module 1010, the second acquisition module 1020, and the first creation module 1030 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or by any one of the three implementation methods of software, hardware, and firmware, or by a suitable combination of any of them. Alternatively, at least one of the first acquisition module 1010, the second acquisition module 1020, and the first creation module 1030 may be at least partially implemented as a computer program module, and when the computer program module is executed, a corresponding function may be performed.

[0199] It should be noted that the data structure creation device part in the embodiment of the present disclosure corresponds to the data structure creation method part in the embodiment of the present disclosure. The description of the data structure creation device part specifically refers to the data structure creation method part, which will not be repeated here.

[0200] For example, any multiple of the third acquisition module 1110 and the processing module 1120 can be combined in one module / unit / sub-unit for implementation, or any one of the modules / units / sub-units can be split into multiple modules / units / sub-units. Alternatively, at least part of the functions of one or more of these modules / units / sub-units can be combined with at least part of the functions of other modules / units / sub-units and implemented in one module / unit / sub-unit. According to an embodiment of the present disclosure, at least one of the third acquisition module 1110 and the processing module 1120 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware and firmware or in a suitable combination of any of them. Alternatively, at least one of the third acquisition module 1110 and the processing module 1120 may be at least partially implemented as a computer program module, and when the computer program module is executed, the corresponding function may be executed.

[0201] It should be noted that the data processing device part in the embodiments of the present disclosure corresponds to the data processing method part in the embodiments of the present disclosure. The description of the data processing device part specifically refers to the data processing method part, which will not be repeated here.

[0202] Fig.12 A block diagram of an electronic device suitable for implementing a method for creating a data structure and a method for processing data according to an embodiment of the present disclosure is schematically shown. Fig.12 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0203] like Fig.12 As shown, the computer electronic device 1200 according to the embodiment of the present disclosure includes a processor 1201, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1202 or the program loaded from the storage part 1209 to the random access memory (RAM) 1203. The processor 1201 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 1201 may also include an onboard memory for caching purposes. The processor 1201 may include a single processing unit or multiple processing units for performing different actions of the method flow according to the embodiment of the present disclosure.

[0204] In RAM 1203, various programs and data required for the operation of electronic device 1200 are stored. Processor 1201, ROM 1202 and RAM 1203 are connected to each other via bus 1204. Processor 1201 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 1202 and / or RAM 1203. It should be noted that the program can also be stored in one or more memories other than ROM 1202 and RAM 1203. Processor 1201 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.

[0205] According to an embodiment of the present disclosure, the electronic device 1200 may further include an input / output (I / O) interface 1205, which is also connected to the bus 1204. The electronic device 1200 may further include one or more of the following components connected to the input / output (I / O) interface 1205: an input portion 1206 including a keyboard, a mouse, etc.; an output portion 1207 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 1208 including a hard disk, etc.; and a communication portion 1209 including a network interface card such as a LAN card, a modem, etc. The communication portion 1209 performs communication processing via a network such as the Internet. The drive 1210 is also connected to the input / output (I / O) interface 1205 as needed. A removable medium 1211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1210 as needed, so that a computer program read therefrom is installed into the storage portion 1208 as needed.

[0206] According to an embodiment of the present disclosure, the method flow according to an embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1209, and / or installed from the removable medium 1211. When the computer program is executed by the processor 1201, the above-mentioned functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.

[0207] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0208] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. For example, it may include, but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device.

[0209] For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 1202 and / or the RAM 1203 described above and / or one or more memories other than the ROM 1202 and the RAM 1203 .

[0210] The embodiments of the present disclosure also include a computer program product, which includes a computer program, and the computer program contains program code for executing the method provided by the embodiments of the present disclosure. When the computer program product runs on an electronic device, the program code is used to enable the electronic device to implement the data structure creation method and data processing method provided by the embodiments of the present disclosure.

[0211] When the computer program is executed by the processor 1201, the above functions defined in the system / device of the embodiment of the present disclosure are executed. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0212] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 1209, and / or installed from the removable medium 1211. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0213] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).

[0214] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram may represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions. It can be understood by those skilled in the art that the features recorded in the various embodiments and / or claims of the present disclosure can be combined and / or combined in a variety of ways, even if such a combination or combination is not explicitly recorded in the present disclosure. In particular, without departing from the spirit and teaching of the present disclosure, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0215] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. A method for creating a data structure, comprising: In response to the object creation button in the data structure configuration interface being triggered, M target object names corresponding to the business identifier and target data types corresponding to each of the M target object names are respectively obtained from the object name input box and the data type input box, where M is a positive integer; In response to a rule configuration button in the data structure configuration interface being triggered, acquiring rule configuration information corresponding to each of the N target object names from the rule configuration interface, wherein the rule configuration interface is associated with the data structure configuration interface, and N is a positive integer less than or equal to M; and A target data structure is created according to the M target object names, the target data types corresponding to the M target object names, and the rule configuration information corresponding to the N target object names.

2. The method according to claim 1, wherein: The object creation button includes a main object creation button, the M target object names include a first number of main object names, the first number is less than or equal to M; In response to the object creation button in the data structure configuration interface being triggered, obtaining M target object names corresponding to the business identifier and target data types corresponding to the M target object names from the object name input box and the data type input box respectively includes: For each of the first number of primary object names, In response to the main object creation button being triggered, displaying the object name input box; Obtain the main object name from the object name input box; According to the main object name, create a target main object corresponding to the main object name, wherein the target main object corresponds to the data type input box; and The target data type corresponding to the main object name is acquired from the data type input box.

3. The method according to claim 2, wherein: In the case where the target data type is an object data type, the M target object names further include a second number of sub-object names, and the sum of the first number and the second number is equal to M; as well as In the case where the target data type is an array data type, the M target object names further include a third number of associated object names, the third number of associated object names are associated with each other, and the third number is less than or equal to M.

4. The method according to claim 3, wherein: The object creation button also includes a sub-object creation button; The method further comprises: For each sub-object name in the second number of sub-object names, In response to the sub-object creation button being triggered, displaying the object name input box; Obtain the sub-object name from the object name input box; According to the sub-object name and the hierarchical relationship, create a target sub-object corresponding to the sub-object name, wherein the target sub-object corresponds to the data type input box; and The target data type corresponding to the sub-object name is acquired from the data type input box.

5. The method according to claim 3, wherein: The target sub-object also corresponds to a sub-object deletion button; The method further comprises: In response to the sub-object deletion button being triggered, determining the name of the sub-object to be deleted corresponding to the target sub-object to be deleted; and Delete the target sub-object to be deleted according to the name of the sub-object to be deleted.

6. The method according to any one of claims 1 to 5, wherein: Each of the M target object names corresponds to the rule configuration button; In response to a rule configuration button in the data structure configuration interface being triggered, acquiring rule configuration information corresponding to each of the N target object names from the rule configuration interface includes: For each target object name among the N target object names, In response to the rule configuration button corresponding to the target object name being triggered, displaying the rule configuration interface corresponding to the target object name, wherein the rule configuration interface includes at least one configuration input box, each of the at least one configuration input box corresponds to a rule name and rule configuration information to be input; and In response to the user clicking any configuration input box among the at least one configuration input box, the rule configuration information corresponding to the configuration input box is acquired.

7. The method according to claim 6, wherein: In the case where the target data type is a string data type, an integer data type or a numerical data type, the target object name corresponds to an enumeration configuration button; The method further comprises: In response to the enumeration configuration button corresponding to the target object name being triggered, displaying an enumeration configuration interface, wherein the enumeration configuration interface includes a fixed value configuration sub-button and an interface configuration sub-button; When the fixed value configuration sub-button is triggered, obtaining fixed value configuration information; and When the interface configuration sub-button is triggered, interface configuration information is obtained.

8. The method according to any one of claims 1 to 5, wherein: The data structure configuration interface further includes a view switching button, each of the M target object names corresponds to a target object, and the M target objects have an association relationship and a hierarchical relationship between them; The method further includes, after creating the target data structure according to the M target object names, the target data types corresponding to the M target object names, and the rule configuration information corresponding to the N target object names: Determine an output script template according to the association relationship and the hierarchical relationship; Write the M target object names, the target data types corresponding to the M target object names, and the rule configuration information corresponding to the N target object names into the output script template to obtain an output script; as well as In response to the view switching button being triggered, the output script is displayed in the script view interface.

9. A data processing method, comprising: In response to receiving a data processing request, acquiring a target data structure corresponding to the service identifier according to the service identifier indicated by the data processing request, wherein the data processing request includes data to be processed, and the target data structure is created by using the method of any one of claims 1 to 8; and The target data structure is used to process the data to be processed to obtain a data processing result.

10. The method according to claim 9, wherein: The target data structure includes M target object names, target data types corresponding to the M target object names, and rule configuration information corresponding to the N target object names, where M is a positive integer and N is a positive integer less than or equal to M. The using the target data structure to process the data to be processed to obtain a data processing result includes: According to the M target object names and the target data types corresponding to the M target object names, data mapping processing is performed on the data to be processed to obtain data mapping results corresponding to the M target object names; as well as According to the rule configuration information corresponding to each of the N target object names, data verification processing is performed on the data mapping results corresponding to each of the M target object names to obtain the data processing result.

11. A warehouse control system, comprising: The client is configured as: Displaying a data structure configuration interface, wherein the data structure configuration interface includes an object creation button and a rule configuration button; The server is configured as: In response to the object creation button being triggered, M target object names corresponding to the business identifier and target data types corresponding to each of the M target object names are respectively obtained from the object name input box and the data type input box, where M is a positive integer; In response to the rule configuration button being triggered, acquiring rule configuration information corresponding to each of the N target object names from a rule configuration interface, wherein the rule configuration interface is associated with the data structure configuration interface, and N is a positive integer less than or equal to M; Creating a target data structure according to the M target object names, target data types corresponding to the M target object names, and rule configuration information corresponding to the N target object names; The client is further configured as follows: Send a request for data processing; Displaying the data processing results; The server is further configured to: In response to receiving a data processing request, acquiring a target data structure corresponding to the service identifier according to a service identifier indicated by the data processing request, wherein the data processing request includes data to be processed; and The target data structure is used to process the data to be processed to obtain the data processing result.

12. A device for creating a data structure, comprising: A first acquisition module is used for acquiring, in response to the object creation button in the data structure configuration interface being triggered, M target object names corresponding to the business identifier and target data types corresponding to each of the M target object names from the object name input box and the data type input box, respectively, where M is a positive integer; a second acquisition module, configured to acquire, in response to a rule configuration button in the data structure configuration interface being triggered, rule configuration information corresponding to each of the N target object names from the rule configuration interface, wherein the rule configuration interface is associated with the data structure configuration interface, and N is a positive integer less than or equal to M; and The first creation module is used to create a target data structure according to the M target object names, the target data types corresponding to the M target object names, and the rule configuration information corresponding to the N target object names.

13. A data processing device, comprising: a third acquisition module, configured to, in response to receiving a data processing request, acquire a target data structure corresponding to the service identifier according to the service identifier indicated by the data processing request, wherein the data processing request includes data to be processed, and the target data structure is created by using the apparatus according to claim 12; and The processing module is used to process the data to be processed by using the target data structure to obtain a data processing result.

14. An electronic device comprising: one or more processors; a memory for storing one or more instructions, Wherein, when the one or more instructions are executed by the one or more processors, the one or more processors implement the method of any one of claims 1 to 8 or any one of claims 9 to 10.

15. A computer-readable storage medium having executable instructions stored thereon, wherein when the executable instructions are executed by a processor, the processor is enabled to implement the method of any one of claims 1 to 8 or any one of claims 9 to 10.

16. A computer program product comprising computer executable instructions for implementing the method of any one of claims 1 to 8 or any one of claims 9 to 10 when the computer executable instructions are executed.

Citation Information

Patent Citations

  • Data processing method and data processing system

    CN103399904A

  • Method for electronic file metadata expansion

    CN103593443A

  • Application object creation method and apparatus

    CN105117410A

  • Data synchronization script generation method and system, terminal and storage medium

    CN112364049A

  • Report display method and device, computer equipment and storage medium

    CN113988004A