CN113779133B - Data processing method, device, electronic equipment, storage medium and program product - Google Patents

Data processing method, device, electronic equipment, storage medium and program product Download PDF

Info

Publication number
CN113779133B
CN113779133B CN202110329712.8A CN202110329712A CN113779133B CN 113779133 B CN113779133 B CN 113779133B CN 202110329712 A CN202110329712 A CN 202110329712A CN 113779133 B CN113779133 B CN 113779133B
Authority
CN
China
Prior art keywords
information
data
same meaning
different kinds
display information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110329712.8A
Other languages
Chinese (zh)
Other versions
CN113779133A (en
Inventor
孙晓野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Zhenshi Information Technology Co Ltd
Original Assignee
Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Zhenshi Information Technology Co Ltd filed Critical Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority to CN202110329712.8A priority Critical patent/CN113779133B/en
Publication of CN113779133A publication Critical patent/CN113779133A/en
Application granted granted Critical
Publication of CN113779133B publication Critical patent/CN113779133B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2246Trees, e.g. B+trees

Landscapes

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

Abstract

The embodiment of the disclosure provides a data processing method, a data processing device, an electronic device, a storage medium and a program product. The method comprises the following steps: acquiring at least two kinds of service data aiming at the same service event, wherein the data forms of different kinds of service data are different; analyzing the service data aiming at each service data in at least two service data to obtain target data, wherein the data structure of the target data has hierarchy; displaying information with association relation with the target data; responding to the mapping operation of the information fields representing the same meaning in different kinds of display information so as to establish the mapping relation between the information fields representing the same meaning in different kinds of display information; and generating mapping relation sentences for processing different kinds of business data aiming at the same business event according to the mapping relation between the information fields representing the same meaning in different kinds of display information.

Description

Data processing method, device, electronic equipment, storage medium and program product
Technical Field
The embodiments of the present disclosure relate to the field of computer technology, and more particularly, to a data processing method, apparatus, electronic device, storage medium, and program product.
Background
Aiming at system docking, data interaction among different systems is realized through preset service data, and specifically, mapping relation establishment is carried out manually according to a mapping relation table so as to realize data interaction among different systems, namely, system docking is realized.
In the process of realizing the disclosed concept, the inventor finds that at least the following problems exist in the related technology, and development workload of system docking by adopting the related technology is repeated and complex, and docking time is long.
Disclosure of Invention
In view of this, embodiments of the present disclosure provide a data processing method, apparatus, electronic device, storage medium, and program product.
One aspect of an embodiment of the present disclosure provides a data processing method, including: acquiring at least two kinds of service data aiming at the same service event, wherein the data forms of the service data of different kinds are different; analyzing the service data aiming at each service data in the at least two service data to obtain target data, wherein the data structure of the target data has hierarchy; displaying information with association relation with the target data; responding to the mapping operation of the information fields representing the same meaning for different types of the display information so as to establish the mapping relation between the information fields representing the same meaning in different types of the display information; and generating mapping relation sentences for processing different kinds of service data for the same service event according to the mapping relation between information fields representing the same meaning in the different kinds of display information.
According to an embodiment of the present disclosure, the parsing the service data to obtain target data includes: and analyzing the service data to obtain target data with a data structure of a tree structure.
According to an embodiment of the disclosure, the displaying information that displays an association relationship with the target data includes: and calling a graph drawing element to analyze the target data, and obtaining and displaying display information with an association relation with the target data.
According to an embodiment of the present disclosure, the mapping operation in response to the information fields representing the same meaning for different kinds of the presentation information to establish a mapping relationship between the information fields representing the same meaning for different kinds of the presentation information includes: acquiring connection operations of information fields which represent the same meaning for different types of the display information; and responding to the connection operation to establish mapping relations among information fields representing the same meaning in different types of the display information.
According to an embodiment of the present disclosure, the establishing a mapping relationship between information fields representing the same meaning in different types of the presentation information in response to the connection operation includes: according to the connection operation, information fields which represent the same meaning in different types of the display information are obtained; determining whether conversion information corresponding to information fields representing the same meaning in different types of the display information is the same, wherein the conversion information comprises data types and/or the number of the information fields; under the condition that conversion information corresponding to information fields expressing the same meaning in different display information is the same, directly establishing mapping relations among the information fields expressing the same meaning in different display information; and calling the information converter to establish the mapping relation between the information fields representing the same meaning in different kinds of the display information under the condition that the conversion information corresponding to the information fields representing the same meaning in the different kinds of the display information is determined to be different.
According to an embodiment of the present disclosure, further comprising: determining an object conversion tool corresponding to the display information according to the data protocol type corresponding to each display information; generating a mapping relation sentence for processing different kinds of service data for the same service event according to the mapping relation between information fields representing the same meaning in the different kinds of display information, comprising: and calling each object conversion tool to process the mapping relation between the information fields representing the same meaning in the different types of the display information, and generating mapping relation sentences for processing the different types of the service data aiming at the same service event.
According to an embodiment of the present disclosure, the tree structure includes a multi-way tree.
According to an embodiment of the present disclosure, each information field included in the presentation information is characterized in the form of an icon.
Another aspect of an embodiment of the present disclosure provides a data processing apparatus, including: the acquisition module is used for acquiring at least two kinds of service data aiming at the same service event, wherein the data forms of the service data of different kinds are different; the analysis module is used for analyzing the service data aiming at each service data in the at least two service data to obtain target data, wherein the data structure of the target data has hierarchy; the display module is used for displaying display information with association relation with the target data; the establishing module is used for responding to the mapping operation of the information fields which express the same meaning for different types of the display information so as to establish the mapping relation between the information fields which express the same meaning in different types of the display information; and a generation module for generating a mapping relation sentence for processing the different kinds of service data for the same kind of service event according to the mapping relation between the information fields representing the same meaning in the different kinds of display information.
Another aspect of an embodiment of the present disclosure provides an electronic device, including: one or more processors; and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method as described above.
Another aspect of an embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions that, when executed, are configured to implement a method as described above.
Another aspect of the disclosed embodiments provides a computer program product comprising a computer program for implementing a method as described above when executed by a processor.
According to the embodiment of the disclosure, service data with different data forms for the same service event are obtained, the service data are analyzed for each service data in the at least two service data, target data with a hierarchical data structure are obtained, display information with association relation with the target data is displayed, mapping operation of information fields with the same meaning in different types of display information is responded to establish mapping relation among the information fields with the same meaning in the different types of display information, and mapping relation statement for processing the different types of service data for the same service event is generated according to the mapping relation among the information fields with the same meaning in the different types of display information. Because the automatic generation of the mapping relation statement for processing different kinds of business data aiming at the same business event is realized, the automatically generated mapping relation statement is fed back to the research personnel, and therefore, the repeated and complex development workload of the research personnel is reduced. Meanwhile, the manual participation of system butt joint is reduced, so that the butt joint time consumption is shortened, and therefore, the technical problems that the development workload of system butt joint by adopting a related technology is repeated and complex and the butt joint time consumption is long are at least partially solved, the research and development cost is reduced, and the system butt joint efficiency is improved. In addition, because the display information showing the association relation with the target data is adopted, the mapping relation is established in a mode of responding to the mapping operation aiming at the information fields with the same meaning in different display information, the mapping relation establishment operation is visual and convenient, and the difficulty of the mapping relation establishment operation is reduced.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments thereof with reference to the accompanying drawings in which:
FIG. 1 schematically illustrates an exemplary system architecture to which a data processing method may be applied, according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow chart of a data processing method according to an embodiment of the disclosure;
FIG. 3A schematically illustrates a schematic diagram of traffic data according to an embodiment of the present disclosure;
FIG. 3B schematically illustrates a schematic diagram of another business data according to an embodiment of the present disclosure;
FIG. 4A schematically illustrates a schematic diagram of target data according to an embodiment of the present disclosure;
FIG. 4B schematically illustrates a schematic diagram of another target data according to an embodiment of the present disclosure;
FIG. 5 schematically illustrates a diagram of establishing a mapping relationship between information fields representing the same meaning in heterogeneous presentation information according to an embodiment of the present disclosure;
FIG. 6 schematically illustrates a flow chart of another data processing method according to an embodiment of the disclosure;
FIG. 7 schematically illustrates a block diagram of a data processing apparatus according to an embodiment of the present disclosure; and
Fig. 8 schematically illustrates a block diagram of an electronic device adapted to implement the above-described method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is only exemplary and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and/or the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It should be noted that the terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly formal manner.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a convention should be interpreted in accordance with the meaning of one having ordinary skill in the art (e.g., "a system having at least one of A, B and C" would include, but not be limited to, systems having a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a convention analogous to "at least one of A, B or C, etc." is used, in general such a convention should be interpreted in accordance with the meaning of one having skill in the art having generally understood the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems having a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
In the process of implementing the disclosed concept, the inventor finds that the development workload is repeated and complex and the docking time is long in the related technology.
According to the embodiments of the present disclosure, the inventors found that the cause of the repeated and complicated development effort includes the following three aspects. First, the data storage structures used to characterize the data fields of the same meaning may be different by different systems. Wherein each data field characterizing the same meaning is understood to be essentially characterizing the same content, although the identity of each data field is different. For example, with respect to order basic information, order extension information, and commodity information, in system a, the data storage structure includes order extension information and commodity information for the order basic information, whereas in system B, the data storage structure is independent of each other for the order basic information, order extension information, and commodity information. Second, the type of data protocol employed by different systems may be different. For example, the data protocol employed by system A is XML (Extensible Markup Language ), while the data protocol employed by system B is JSON (JavaScript Object Notation, JS object Profile). Third, the conversion information for the data fields used to characterize the same meaning may be different by different systems, where the conversion information may include the data type and/or the number of data fields. The number of data fields is the number of data fields used to characterize a meaning in each system for that meaning. For example, the data type of the waybill number in system A is character type, and the data type of the waybill code in system B is string type. The number of data fields used for representing a certain meaning in the system A is two, and the number of data fields used for representing the same meaning in the system B is one. The development effort is repetitive and complex and increases the development costs.
According to embodiments of the present disclosure, the inventors have caused the docking to take longer for the following reasons. Because the system docking needs to be manually established according to the mapping relation table, the time consumed by the system is generally long, and therefore the docking time is long. And the process requires common confirmation by multi-role personnel and repeated multiple times, which further increases the docking time. The above described docking takes a long time making the system docking inefficient.
In order to solve the problems in the related art, the inventor proposes a scheme for automatically generating a mapping relation statement for system docking, and implementing the establishment of the mapping relation in a visual manner in the process of generating the mapping relation statement for system docking. And the automatically generated mapping relation sentences are fed back to the research personnel, so that the repeated and complex development workload of the research personnel is reduced, and the research cost is further reduced. Meanwhile, the manual participation degree of system butt joint is reduced, so that the butt joint time consumption is shortened, and the system butt joint efficiency is improved. In addition, the mapping relation is built in a visual mode, the operation is visual and convenient, and the difficulty of the mapping relation building operation is further reduced.
The scheme provided by the embodiment of the disclosure is as follows, and the embodiment of the disclosure provides a data processing method, a data processing device and electronic equipment capable of applying the method. The method comprises an acquisition process, an analysis process, a display process, an establishment process and a generation process. In the acquiring, at least two kinds of service data aiming at the same service event are acquired, and the data forms of different kinds of service data are different. In the analysis process, aiming at each service data in at least two service data, analyzing the service data to obtain target data with hierarchical data structures. In the display process, display information with association relation with the target data is displayed. In the establishing process, mapping operation of information fields representing the same meaning in different kinds of display information is responded, so that mapping relations among the information fields representing the same meaning in different kinds of display information are established. In the generation process, according to the mapping relation between information fields representing the same meaning in different kinds of display information, mapping relation sentences for processing different kinds of business data aiming at the same business event are generated.
Fig. 1 schematically illustrates an exemplary system architecture 100 in which a data processing method may be applied according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of a system architecture to which embodiments of the present disclosure may be applied to assist those skilled in the art in understanding the technical content of the present disclosure, but does not mean that embodiments of the present disclosure may not be used in other devices, systems, environments, or scenarios.
As shown in fig. 1, a system architecture 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired and/or wireless communication links, and the like.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various communication client applications may be installed on the terminal devices 101, 102, 103, such as shopping category applications, web browser applications, search category applications, instant messaging tools, mailbox clients and/or social platform software, to name a few.
The terminal devices 101, 102, 103 may be a variety of electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (by way of example only) providing support for websites browsed by users using the terminal devices 101, 102, 103. The background management server may analyze and process the received data such as the user request, and feed back the processing result (e.g., the web page, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that the data processing method provided in the embodiments of the present disclosure may be generally performed by the server 105. Accordingly, the data processing apparatus provided by the embodiments of the present disclosure may be generally provided in the server 105. The data processing method provided by the embodiments of the present disclosure may also be performed by a server or a server cluster that is different from the server 105 and is capable of communicating with the terminal devices 101, 102, 103 and/or the server 105. Accordingly, the data processing apparatus provided by the embodiments of the present disclosure may also be provided in a server or a server cluster different from the server 105 and capable of communicating with the terminal devices 101, 102, 103 and/or the server 105. Or the data processing method provided by the embodiment of the present disclosure may be performed by the terminal device 101, 102, or 103, or may be performed by another terminal device different from the terminal device 101, 102, or 103. Accordingly, the data processing provided by the embodiments of the present disclosure may also be provided in the terminal device 101, 102, or 103, or in another terminal device different from the terminal device 101, 102, or 103.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Fig. 2 schematically illustrates a flow chart of a data processing method according to an embodiment of the present disclosure.
As shown in fig. 2, the method includes operations S210 to S250.
At operation S210, at least two kinds of service data for the same service event are acquired, wherein data forms of different kinds of service data are different.
According to embodiments of the present disclosure, a business event may refer to an event that characterizes triggers for a business scenario. One or more business events may be generated in the same business scenario. In interfacing to a system, there are typically at least two types of traffic data corresponding to the same traffic event, different types of traffic data being processed by different systems. The business scenario may include a transaction scenario, a product purchase scenario, and the like. The transaction scenario may include a transaction scenario of an e-commerce platform. The following describes a transaction scenario of the e-commerce platform as an example. In this trade scenario, order events may be generated. The business data corresponding to the order event may include the manifest data processed by the e-commerce platform side and the manifest data processed by the shipper side.
According to embodiments of the present disclosure, the data forms of the heterogeneous service data are different, generally because the heterogeneous service data are processed by different systems, and the data storage structures, conversion information, and adopted data protocols of the different systems may be different. Wherein, the different data protocols can be embodied in different data formats of the different data protocols. Thus, the dataform can include at least one of a data storage structure, conversion information, and a data format. Accordingly, the different data forms of the different kinds of service data may include at least one of different data storage structures of the different kinds of service data, conversion information of the different kinds of service data, and data formats of the different kinds of service data. In the system docking process, the service data may be represented as an interface.
By way of example, fig. 3A schematically illustrates a schematic diagram of traffic data according to an embodiment of the present disclosure. Fig. 3B schematically illustrates a schematic diagram of another business data according to an embodiment of the present disclosure. The business data is waybill data. In fig. 3A, the waybill data C (i.e., the service data C) in the system a includes a waybill number, an expected delivery time period, and a package, and the package includes a package number and a package name. In fig. 3B, the manifest data D (i.e., business data D) in system B includes a manifest code, an expected start delivery time, an expected end delivery time, and a package, the package including a package number and a package name.
In operation S220, the service data is parsed for each of the at least two service data to obtain target data, wherein the data structure of the target data has hierarchy.
According to the embodiment of the disclosure, after obtaining at least two kinds of service data for the same service event, the service data may be parsed for each kind of service data to obtain target data with a hierarchical data structure corresponding to the service data, where the content included in the target data is the same as that included in the service data corresponding to the target data, and the data structures are different. Wherein hierarchy is embodied in hierarchical relationships among various data fields included in the service data. The data structure having a hierarchical structure may include a tree structure.
According to the embodiment of the disclosure, the reason for analyzing the service data to obtain the target data segment corresponding to the service data is that. Because the service data comprises one or more data fields, and when the mapping relation is established with other service data, the mapping relation between the data fields used for representing the same meaning in the established different service data is established, so that the service data can be analyzed into target data with a hierarchical data structure in order to reduce the difficulty of establishing the mapping relation.
In operation S230, presentation information having an association relationship with the target data is presented.
According to the embodiment of the disclosure, in order to make the operation of establishing the mapping relation intuitive and convenient, and further reduce the difficulty of the operation of establishing the mapping relation, the target data with the hierarchical data structure can be displayed in a visual mode, namely, the target data is analyzed by adopting a visual tool, so that display information with an association relation with the target data is obtained. Wherein the visualization tool may comprise a graphical drawing element. The various information fields included in the presentation information may be characterized in terms of corresponding icons. The target data and the display information with the association relation with the target data contain the same content, and the display information displays the target data in a visual mode.
In operation S240, in response to a mapping operation for information fields representing the same meaning in different kinds of presentation information, a mapping relationship between information fields representing the same meaning in different kinds of presentation information is established.
According to the embodiment of the disclosure, after different kinds of presentation information for the same service event are obtained, various information fields which represent the same meaning in different kinds of presentation information can be obtained, mapping operations among the various information fields which represent the same meaning in different kinds of presentation information are obtained, and mapping relationships among the various information fields which represent the same meaning in different kinds of presentation information are established in response to the mapping operations among the various information fields which represent the same meaning in different kinds of presentation information. Wherein each information field characterizing the same meaning is understood to be essentially characterizing the same content, although the identity of each information field is different. For example, the e-commerce platform side will represent the identification characterizing the order number with the order number, and the carrier will represent the identification characterizing the order number with the order code.
According to the embodiment of the disclosure, the number of information fields which can be used for representing the same meaning is different for different kinds of display information, namely M information fields which are used for representing the meaning in one kind of display information and N information fields which are used for representing the same meaning in another kind of display information are included, wherein M is equal to or larger than 1, N is equal to or larger than 1, and M and N can be equal to or different from each other. For example, for the estimated delivery time, two information fields are used in presentation information A, namely, the estimated delivery start time 2020-12-20:13:00:00, and the estimated delivery end time 2020-12-2015:00:00, and one information field is used in presentation information B, namely, the estimated delivery time period 2020-12-20:13:00:00-15:00:00.
According to embodiments of the present disclosure, the mapping operation may include a wire operation or a drag operation. A join operation may refer to an operation that joins between various information fields that characterize the same meaning. The drag operation may refer to an operation of dragging each information field representing the same meaning to a preset area, which may represent that each information field located within the area has a mapping relationship.
According to an embodiment of the present disclosure, if each information field included in the presentation information is characterized in the form of a corresponding icon, responding to a mapping operation between information fields representing the same meaning in different types of presentation information to establish a mapping relationship between information fields representing the same meaning in different types of presentation information may include responding to a mapping operation between icons representing the same meaning in different types of presentation information to establish a mapping relationship between information fields representing the same meaning in different types of presentation information.
In operation S250, a mapping relationship sentence for processing different kinds of service data for the same service event is generated according to the mapping relationship between the information fields representing the same meaning in different kinds of presentation information.
According to the embodiment of the disclosure, for each service data, analyzing the service data to obtain target data corresponding to the service data, and analyzing the target data corresponding to the service data to obtain display information corresponding to the target data, so that each service data can be obtained to have the display information corresponding to the target data. Meanwhile, as the content included in the target data and the business data corresponding to the target data are the same, the data structures are different, the content included in the target data and the display information related to the target data are the same, and the display information displays the target data in a visual mode, each data field included in the target data and each information field included in the display information corresponding to the target data have a corresponding relation, namely, the data fields representing the target data with the same meaning have a corresponding relation with the information fields of the display information. The data field and the information field having the correspondence are expressions of the same content in different data processing processes.
According to the embodiment of the disclosure, after the mapping relation between the information fields representing the same meaning in different kinds of display information for the same service event is established, a mapping relation statement for processing different kinds of service data for the service event can be generated according to the mapping relation between the information fields representing the same meaning in different kinds of display information. And the mapping relation statement which is automatically generated and used for processing different kinds of business data aiming at the business event is fed back to the research personnel, so that the repeated and complex development workload of the research personnel is reduced, and the research cost is further reduced. Meanwhile, the manual participation degree of system butt joint is reduced, so that the butt joint time consumption is shortened, and the system butt joint efficiency is improved.
According to the technical scheme of the embodiment of the disclosure, service data with a hierarchical data structure is obtained by acquiring at least two service data with different data forms for the same service event, analyzing the service data for each service data in the at least two service data, displaying display information with an association relation with the target data, mapping information fields with the same meaning in response to the information fields with the same meaning in different display information are represented, so that mapping relations among the information fields with the same meaning in different display information are established, and mapping relation sentences for processing the different service data for the same service event are generated according to the mapping relations among the information fields with the same meaning in the different display information. Because the automatic generation of the mapping relation statement for processing different kinds of business data aiming at the same business event is realized, the automatically generated mapping relation statement is fed back to the research personnel, and therefore, the repeated and complex development workload of the research personnel is reduced. Meanwhile, the manual participation of system butt joint is reduced, so that the butt joint time consumption is shortened, and therefore, the technical problems that the development workload of system butt joint by adopting a related technology is repeated and complex and the butt joint time consumption is long are at least partially solved, the research and development cost is reduced, and the system butt joint efficiency is improved. In addition, because the display information showing the association relation with the target data is adopted, the mapping relation is established in a mode of responding to the mapping operation aiming at the information fields with the same meaning in different display information, the mapping relation establishment operation is visual and convenient, and the difficulty of the mapping relation establishment operation is reduced.
According to the embodiment of the disclosure, analyzing the service data to obtain the target data may include the following operations.
And analyzing the service data to obtain target data with a data structure of a tree structure.
According to the embodiment of the disclosure, in order to reduce the difficulty of establishing the mapping relationship, the service data can be parsed into the target data with the hierarchical data structure. Wherein the hierarchical data structure may comprise a tree structure.
For example, the service data C in fig. 3A and the service data D in fig. 3B are respectively parsed to obtain the target data C corresponding to the service data C, and the target data D corresponding to the service data D, reference may be made to fig. 4A and 4B, and fig. 4A schematically illustrates a schematic diagram of one target data according to an embodiment of the present disclosure. Fig. 4B schematically illustrates a schematic diagram of another target data according to an embodiment of the present disclosure.
In fig. 4A, the object node 1 (i.e., the target data C) in the system a includes the data node 1 (i.e., the bill number), the data node 2 (i.e., the expected delivery time period), and the object node 2 (i.e., the package), and the object node 2 includes the data node 3 (i.e., the package number) and the data node 4 (i.e., the package name).
The object node 3 (i.e., target data D) in the system B in fig. 4B includes the data node 5 (i.e., bill encoding), the data node 6 (i.e., estimated start delivery time), the data node 7 (i.e., estimated end delivery time), and the object node 3 (i.e., package), and the object node 3 includes the data node 8 (i.e., package number) and the data node 9 (i.e., package name).
According to an embodiment of the present disclosure, displaying display information having an association relationship with target data may include the following operations.
And calling the graph drawing element to analyze the target data, and obtaining and displaying the display information with the association relation with the target data.
According to the embodiment of the disclosure, in order to make the operation of establishing the mapping relation intuitive and convenient, and further reduce the difficulty of the operation of establishing the mapping relation, the graphic drawing element can be called to display the target data with the hierarchical data structure, namely, the graphic drawing element is called to analyze the target data, so as to obtain the display information with the association relation with the target data. The graphic rendering element may include Canvas (Canvas) element in HTML (Hyper Text Markup Language ).
According to an embodiment of the present disclosure, canvas elements are used to implement the graphics rendering function, which needs to be implemented through JavaScript (JS). Canvas is rendered pixel by pixel.
According to an embodiment of the present disclosure, in response to a mapping operation for information fields representing the same meaning in different kinds of presentation information to establish a mapping relationship between information fields representing the same meaning in different kinds of presentation information, the following operation may be included.
And acquiring connection operation of information fields representing the same meaning in different presentation information. And responding to the connection operation to establish the mapping relation between information fields representing the same meaning in different kinds of presentation information.
According to an embodiment of the present disclosure, the mapping operation may include a wire operation. Under the condition that the information fields representing the same meaning in different display information are determined, the information fields representing the same meaning can be associated through a connecting operation, so that the mapping relation between the information fields representing the same meaning in different display information, namely the information fields with the connecting relation, are established.
For example, calling the graphic drawing element to analyze the target data C in fig. 4A and the target data D in fig. 4B, respectively, to obtain the display information C having an association relationship with the target data C, and the display information D having an association relationship with the target data D, and displaying the display information C and the display information D, fig. 5 may be referred to, and fig. 5 schematically illustrates a schematic diagram for establishing a mapping relationship between information fields representing the same meaning in different types of display information according to an embodiment of the present disclosure.
In fig. 5, there is shown the waybill information C (i.e., the display information C) having an association with the object node 1 in fig. 4A, the waybill information C including the waybill number having an association with the data node 1 in fig. 4A, the expected delivery time period having an association with the data node 2 in fig. 4A, and the package having an association with the object node 2 in fig. 4A, the package including the package number having an association with the data node 3 in fig. 4A and the package name having an association with the data node 4 in fig. 4A.
In fig. 5, there is shown the waybill information D (i.e., the display information D) having an association with the object node 3 in fig. 4B, the waybill information D including the waybill code having an association with the data node 5 in fig. 4B, the estimated start delivery time having an association with the data node 6 in fig. 4B, the estimated end delivery time having an association with the data node 7 in fig. 4B, and the parcel having an association with the object node 3 in fig. 4B, the parcel including the parcel number having an association with the data node 8 in fig. 4B and the parcel name having an association with the data node 9 in fig. 4B.
The information field representations of the same meaning in the waybill information C and the waybill information D in fig. 5 are associated through the connecting operation, so that the mapping relation between the information fields of the same meaning in the waybill information C and the waybill information D is established.
According to an embodiment of the present disclosure, in response to a connection operation to establish a mapping relationship between information fields representing the same meaning in heterogeneous presentation information, the following operation may be included.
And according to the connection operation, obtaining information fields representing the same meaning in different kinds of display information. Determining whether conversion information corresponding to information fields representing the same meaning in different kinds of presentation information is the same, wherein the conversion information comprises data types and/or the number of the information fields. Under the condition that the conversion information corresponding to the information fields expressing the same meaning in different kinds of display information is the same, the mapping relation between the information fields expressing the same meaning in different kinds of display information is directly established. And calling the information converter to establish a mapping relation between the information fields representing the same meaning in different kinds of display information under the condition that the conversion information corresponding to the information fields representing the same meaning in different kinds of display information is determined to be different.
According to embodiments of the present disclosure, the conversion information may include a data type and/or a number of information fields. The data types may include basic types including integer, character, string, floating point, and enumeration types, among others. The number of information fields is the number of information fields in each presentation information that are used to characterize a meaning of a pointer to that meaning.
Because the conversion information corresponding to the information fields representing the same meaning in different kinds of display information may be the same or different, if the conversion information is different, a problem may occur in directly establishing a mapping relationship, an information converter needs to be called for conversion, and after the conversion is completed, the mapping relationship between the information fields representing the same meaning in different kinds of display information is established. Wherein the information converter can realize conversion between different conversion information. The different conversion information may include different types of data corresponding to respective information fields representing the same meaning in different kinds of presentation information and/or different numbers of information fields corresponding to respective information words representing the same meaning in different kinds of presentation information.
According to an embodiment of the present disclosure, the method may further include the following operations.
And determining an object conversion tool corresponding to the display information according to the data protocol type corresponding to each display information.
According to the mapping relation between the information fields representing the same meaning in different kinds of presentation information, the generation of the mapping relation statement for processing different kinds of service data aiming at the same service event can comprise the following operations.
And calling each object conversion tool to process the mapping relation between information fields representing the same meaning in different kinds of presentation information, and generating mapping relation sentences for processing different kinds of service data aiming at the same service event.
According to the embodiment of the present disclosure, since object conversion tools supported by different data protocols are different, it is necessary to acquire a data type protocol corresponding to each presentation information, and determine the object conversion tool corresponding to each presentation information according to the data protocol type corresponding to each presentation information. The object transformation tool may include a Java reflection mechanism, javaScript engine, or FastJson, among others.
And under the condition that the object conversion tools corresponding to each piece of presentation information are determined, calling each object conversion tool, and processing the mapping relation between the information fields representing the same meaning in different kinds of presentation information to generate mapping relation sentences for processing different kinds of service data.
According to an embodiment of the present disclosure, the tree structure comprises a multi-way tree.
In accordance with embodiments of the present disclosure, to facilitate data lookup, a data structure of a multi-drop tree may be employed.
According to an embodiment of the present disclosure, each information field included in the presentation information is characterized in the form of an icon.
In accordance with embodiments of the present disclosure, to enable visualization, individual information fields in the presentation information may be characterized in the form of icons.
Fig. 6 schematically illustrates a flow chart of another data processing method according to an embodiment of the disclosure.
As shown in fig. 6, the method includes operations S601 to S610.
At operation S601, at least two kinds of service data for the same service event are acquired, wherein data forms of different kinds of service data are different.
In operation S602, for each service data of the at least two service data, the service data is parsed to obtain target data with a data structure of a multi-way tree.
In operation S603, the graphic drawing element is invoked to parse the target data, obtain the display information having an association relationship with the target data, and display.
In operation S604, a join line operation for information fields representing the same meaning in different kinds of presentation information is acquired.
In operation S605, according to the connection operation, information fields representing the same meaning in different kinds of presentation information are acquired.
In operation S606, it is determined whether the conversion information corresponding to the information fields representing the same meaning in the different kinds of presentation information is the same; if yes, executing operation S607; if not, operation S608 is performed.
In operation S607, a mapping relationship between information fields representing the same meaning in different kinds of presentation information is directly established, and operation S609 is performed.
In operation S608, an information converter is called to establish a mapping relationship between information fields representing the same meaning in heterogeneous presentation information, and operation S609 is performed.
In operation S609, an object conversion tool corresponding to the presentation information is determined according to the data protocol type corresponding to each presentation information.
In operation S610, each object conversion tool is invoked to process mapping relationships between information fields representing the same meaning in different kinds of presentation information, and generate mapping relationship statements for processing different kinds of service data for the same service event.
According to the technical scheme of the embodiment of the disclosure, the mapping relation sentences for processing different kinds of business data aiming at the same business event are automatically generated, and the automatically generated mapping relation sentences are fed back to the research personnel, so that repeated and complex development workload of the research personnel is reduced. Meanwhile, the manual participation of system butt joint is reduced, so that the butt joint time consumption is shortened, and therefore, the technical problems that the development workload of system butt joint by adopting a related technology is repeated and complex and the butt joint time consumption is long are at least partially solved, the research and development cost is reduced, and the system butt joint efficiency is improved. In addition, because the display information showing the association relation with the target data is adopted, the mapping relation is established in a mode of responding to the mapping operation aiming at the information fields with the same meaning in different display information, the mapping relation establishment operation is visual and convenient, and the difficulty of the mapping relation establishment operation is reduced.
Fig. 7 schematically illustrates a block diagram of a data processing apparatus according to an embodiment of the disclosure.
As shown in fig. 7, the data processing apparatus 700 includes an acquisition module 710, an parsing model 720, a presentation module 730, a setup module 740, and a generation module 750.
Acquisition module 710, parsing module 720, presentation module 730, setup module 740, and generation module 750.
The acquiring module 710 is configured to acquire at least two kinds of service data for the same service event, where data forms of different kinds of service data are different.
The parsing module 720 is configured to parse the service data for each service data of the at least two service data to obtain target data, where a data structure of the target data has hierarchy.
And a display module 730, configured to display information having an association relationship with the target data.
The establishing module 740 is configured to respond to a mapping operation for information fields representing the same meaning in different kinds of presentation information, so as to establish a mapping relationship between information fields representing the same meaning in different kinds of presentation information.
The generating module 750 is configured to generate mapping relation sentences for processing different kinds of service data for the same service event according to mapping relations between information fields representing the same meaning in different kinds of presentation information.
According to the technical scheme of the embodiment of the disclosure, service data with a hierarchical data structure is obtained by acquiring at least two service data with different data forms for the same service event, analyzing the service data for each service data in the at least two service data, displaying display information with an association relation with the target data, mapping information fields with the same meaning in response to the information fields with the same meaning in different display information are represented, so that mapping relations among the information fields with the same meaning in different display information are established, and mapping relation sentences for processing the different service data for the same service event are generated according to the mapping relations among the information fields with the same meaning in the different display information. Because the automatic generation of the mapping relation statement for processing different kinds of business data aiming at the same business event is realized, the automatically generated mapping relation statement is fed back to the research personnel, and therefore, the repeated and complex development workload of the research personnel is reduced. Meanwhile, the manual participation of system butt joint is reduced, so that the butt joint time consumption is shortened, and therefore, the technical problems that the development workload of system butt joint by adopting a related technology is repeated and complex and the butt joint time consumption is long are at least partially solved, the research and development cost is reduced, and the system butt joint efficiency is improved. In addition, because the display information showing the association relation with the target data is adopted, the mapping relation is established in a mode of responding to the mapping operation aiming at the information fields with the same meaning in different display information, the mapping relation establishment operation is visual and convenient, and the difficulty of the mapping relation establishment operation is reduced.
According to an embodiment of the present disclosure, the parsing module 720 includes a parsing sub-module.
And the analysis sub-module is used for analyzing the service data to obtain target data with a tree structure.
According to an embodiment of the present disclosure, the display module 730 includes a display sub-module.
And the display sub-module is used for calling the graph drawing element to analyze the target data, obtaining and displaying the display information with the association relation with the target data.
According to an embodiment of the present disclosure, the setup module 740 includes an acquisition sub-module and a setup sub-module.
And the acquisition sub-module is used for acquiring the connection operation of the information fields representing the same meaning in different kinds of display information.
And the building sub-module is used for responding to the connection operation to build the mapping relation between the information fields representing the same meaning in different kinds of display information.
According to an embodiment of the present disclosure, the setup sub-module includes an acquisition unit, a determination unit, a first setup unit, and a second setup unit.
And the acquisition unit is used for acquiring information fields representing the same meaning in different display information according to the connection operation.
And the determining unit is used for determining whether the conversion information corresponding to the information fields representing the same meaning in different kinds of display information is the same, wherein the conversion information comprises data types and/or the number of the information fields.
The first establishing unit is used for directly establishing the mapping relation between the information fields representing the same meaning in different kinds of display information under the condition that the conversion information corresponding to the information fields representing the same meaning in different kinds of display information is determined to be the same.
And the second establishing unit is used for calling the information converter to establish the mapping relation between the information fields representing the same meaning in different kinds of display information under the condition that the conversion information corresponding to the information fields representing the same meaning in different kinds of display information is determined to be different.
According to an embodiment of the present disclosure, the data processing apparatus 700 further comprises a determination module.
And the determining module is used for determining an object conversion tool corresponding to the display information according to the data protocol type corresponding to each display information.
The generation module includes a generation sub-module.
And the generation sub-module is used for calling each object conversion tool to process the mapping relation between information fields representing the same meaning in different kinds of presentation information and generating mapping relation sentences for processing different kinds of service data aiming at the same service event.
According to an embodiment of the present disclosure, the tree structure comprises a multi-way tree.
According to an embodiment of the present disclosure, each information field included in the presentation information is characterized in the form of an icon.
Any number of the modules, sub-modules, units, or at least some of the functionality of any number of the modules, sub-modules, units, may be implemented in one module in accordance with embodiments of the present disclosure. Any one or more of the modules, sub-modules, units according to embodiments of the present disclosure may be implemented as a split into multiple modules. Any one or more of the modules, sub-modules, units according to embodiments of the present disclosure may be implemented at least in part as a hardware Circuit, such as a field programmable gate array (Field Programmable GATE ARRAY, FPGA), a programmable logic array (Programmable Logic Arrays, PLA), a system-on-a-chip, a system-on-a-substrate, a system-on-a-package, an Application-specific integrated Circuit (ASIC), or any other reasonable manner of hardware or firmware that integrates or encapsulates the Circuit, or any one of or a suitable combination of any of the three. Or one or more of the modules, sub-modules, units according to embodiments of the present disclosure may be at least partially implemented as computer program modules which, when executed, may perform the corresponding functions.
For example, any number of the acquisition module 710, the parsing module 720, the presentation module 730, the creation module 740, and the generation module 750 may be combined in one module/sub-module/unit, or any one of the modules/sub-modules/units may be split into a plurality of modules/sub-modules/units. Or at least part of the functionality of one or more of these modules/sub-modules/units may be combined with at least part of the functionality of other modules/sub-modules/units and implemented in one module/sub-module/unit. At least one of the acquisition module 710, the parsing module 720, the presentation module 730, the setup module 740, and the generation module 750 may be implemented, at least in part, as hardware circuitry, 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 in hardware or firmware, such as any other reasonable manner of integrating or packaging the circuitry, or in any one of or a suitable combination of three of software, hardware, and firmware, in accordance with embodiments of the present disclosure. Or at least one of the acquisition module 710, the parsing module 720, the presentation module 730, the creation module 740 and the generation module 750 may be at least partially implemented as computer program modules which, when run, may perform the corresponding functions.
It should be noted that, in the embodiments of the present disclosure, the data processing apparatus portion corresponds to the data processing method portion in the embodiments of the present disclosure, and the description of the data processing apparatus portion specifically refers to the data processing method portion and is not described herein.
Fig. 8 schematically illustrates a block diagram of an electronic device adapted to implement the above-described method according to an embodiment of the present disclosure. The electronic device shown in fig. 8 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 8, an electronic device 800 according to an embodiment of the present disclosure includes a processor 801 that can perform various appropriate actions and processes according to a program stored in a Read-Only Memory (ROM) 802 or a program loaded from a storage section 808 into a random access Memory (Random Access Memory, RAM) 803. The processor 801 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or an associated chipset and/or special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. The processor 801 may also include on-board memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing the different actions of the method flows according to embodiments of the disclosure.
In the RAM 803, various programs and data required for the operation of the electronic device 800 are stored. The processor 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. The processor 801 performs various operations of the method flow according to the embodiments of the present disclosure by executing programs in the ROM 802 and/or the RAM 803. Note that the program may be stored in one or more memories other than the ROM 802 and the RAM 803. The processor 801 may also perform various operations of the method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
According to an embodiment of the present disclosure, the electronic device 800 may also include an input/output (I/O) interface 805, the input/output (I/O) interface 805 also being connected to the bus 804. The system 800 may also include one or more of the following components connected to the I/O interface 805: an input portion 806 including a keyboard, mouse, etc.; an output portion 807 including a Cathode Ray Tube (CRT), a Liquid crystal display (Liquid CRYSTAL DISPLAY, LCD), and a speaker, etc.; a storage section 808 including a hard disk or the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. The drive 810 is also connected to the I/O interface 805 as needed. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as needed so that a computer program read out therefrom is mounted into the storage section 808 as needed.
According to embodiments of the present disclosure, the method flow according to embodiments of the present disclosure may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section 809, and/or installed from the removable media 811. The above-described functions defined in the system of the embodiments of the present disclosure are performed when the computer program is executed by the processor 801. The systems, devices, apparatus, modules, sub-modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
The present disclosure also provides a computer-readable storage medium that may be embodied in the apparatus/device/system described in the above embodiments; or may exist alone without being assembled into the apparatus/device/system. The computer-readable storage medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. Examples may include, but are not limited to: a portable computer diskette, 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 disc read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
For example, according to embodiments of the present disclosure, the computer-readable storage medium may include ROM 802 and/or RAM 803 and/or one or more memories other than ROM 802 and RAM 803 described above.
Embodiments of the present disclosure also include a computer program product comprising a computer program comprising program code for performing the methods provided by the embodiments of the present disclosure, the program code for causing an electronic device to implement the data processing methods provided by the embodiments of the present disclosure when the computer program product is run on the electronic device.
The above-described functions defined in the system/apparatus of the embodiments of the present disclosure are performed when the computer program is executed by the processor 801. The systems, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
In one embodiment, the computer program may be based on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed, and downloaded and installed in the form of a signal on a network medium, and/or from a removable medium 811 via a communication portion 809. The computer program may include program code that may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
According to embodiments of the present disclosure, program code for performing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, such computer programs may be implemented in high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. Programming languages include, but are not limited to, programming languages such as Java, c++, python, "C" or the like. The program code may execute entirely on the user's computing device, partly on the user's device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any of a variety of networks, including a local area network (Local Area Network, LAN) or a wide area network (Wide Area Networks, WAN), or may be connected to an external computing device (e.g., connected through the internet using an internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. Those skilled in the art will appreciate that the features recited in the various embodiments of the disclosure and/or in the claims may be combined in various combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, the features recited in the various embodiments of the present disclosure and/or the claims may be variously combined and/or combined without departing from the spirit and teachings of the present disclosure. All such combinations and/or combinations fall within the scope of the present disclosure.
The embodiments of the present disclosure are described above. These examples are for illustrative purposes only 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 embodiments cannot be used advantageously in combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the disclosure, and such alternatives and modifications are intended to fall within the scope of the disclosure.

Claims (12)

1. A data processing method, comprising:
acquiring at least two kinds of service data aiming at the same service event, wherein the data forms of the service data of different kinds are different;
analyzing the service data aiming at each service data in the at least two service data to obtain target data, wherein the data structure of the target data has hierarchy;
displaying information with association relation with the target data;
Responding to the mapping operation of the information fields representing the same meaning for different types of the display information so as to establish the mapping relation between the information fields representing the same meaning in different types of the display information; and
And generating mapping relation sentences for processing different kinds of business data aiming at the same business event according to the mapping relation between the information fields representing the same meaning in the different kinds of display information.
2. The method of claim 1, wherein the parsing the service data to obtain target data comprises:
and analyzing the service data to obtain target data with a data structure of a tree structure.
3. The method of claim 1, wherein the presenting the presentation information having an association with the target data comprises:
And calling a graph drawing element to analyze the target data, and obtaining and displaying display information with an association relation with the target data.
4. A method according to claim 3, wherein said responding to a mapping operation of information fields representing the same meaning for different kinds of said presentation information to establish a mapping relationship between information fields representing the same meaning for different kinds of said presentation information comprises:
Acquiring connection operations of information fields representing the same meaning for different types of the display information; and
And responding to the connection operation to establish mapping relations among information fields representing the same meaning in different types of the display information.
5. The method of claim 4, wherein said responding to said join line operation to establish a mapping relationship between information fields representing the same meaning in different kinds of said presentation information comprises:
According to the connection operation, information fields which represent the same meaning in different types of display information are obtained;
Determining whether conversion information corresponding to information fields representing the same meaning in different display information is the same or not, wherein the conversion information comprises data types and/or the number of the information fields;
Under the condition that conversion information corresponding to information fields expressing the same meaning in different kinds of display information is the same, directly establishing mapping relations among the information fields expressing the same meaning in different kinds of display information; and
And under the condition that the conversion information corresponding to the information fields representing the same meaning in different kinds of display information is different, calling an information converter to establish the mapping relation between the information fields representing the same meaning in different kinds of display information.
6. The method of claim 1, further comprising:
determining an object conversion tool corresponding to the display information according to the data protocol type corresponding to each display information;
generating a mapping relation statement for processing different kinds of service data for the same service event according to the mapping relation between information fields representing the same meaning in different kinds of display information, wherein the mapping relation statement comprises the following steps:
And calling each object conversion tool to process the mapping relation between information fields representing the same meaning in different kinds of presentation information, and generating mapping relation sentences for processing different kinds of business data aiming at the same business event.
7. The method of claim 2, wherein the tree structure comprises a multi-way tree.
8. The method of any of claims 1-6, wherein each information field included in the presentation information is characterized in the form of an icon.
9. A data processing apparatus comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring at least two kinds of service data aiming at the same service event, wherein the data forms of the service data of different kinds are different;
the analysis module is used for analyzing the service data aiming at each service data in the at least two service data to obtain target data, wherein the data structure of the target data has hierarchy;
the display module is used for displaying display information with association relation with the target data;
the establishing module is used for responding to the mapping operation of the information fields which express the same meaning for different types of the display information so as to establish the mapping relation between the information fields which express the same meaning in different types of the display information; and
And the generation module is used for generating mapping relation sentences for processing different kinds of business data aiming at the same business event according to the mapping relation between the information fields representing the same meaning in the different kinds of display information.
10. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs,
Wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-8.
11. A computer readable storage medium having stored thereon executable instructions which when executed by a processor cause the processor to implement the method of any of claims 1 to 8.
12. A computer program product comprising a computer program for implementing the method of any one of claims 1 to 8 when executed by a processor.
CN202110329712.8A 2021-03-26 2021-03-26 Data processing method, device, electronic equipment, storage medium and program product Active CN113779133B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110329712.8A CN113779133B (en) 2021-03-26 2021-03-26 Data processing method, device, electronic equipment, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110329712.8A CN113779133B (en) 2021-03-26 2021-03-26 Data processing method, device, electronic equipment, storage medium and program product

Publications (2)

Publication Number Publication Date
CN113779133A CN113779133A (en) 2021-12-10
CN113779133B true CN113779133B (en) 2024-05-17

Family

ID=78835539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110329712.8A Active CN113779133B (en) 2021-03-26 2021-03-26 Data processing method, device, electronic equipment, storage medium and program product

Country Status (1)

Country Link
CN (1) CN113779133B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115630906A (en) * 2022-11-09 2023-01-20 北京京东振世信息技术有限公司 Information processing method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001095135A2 (en) * 2000-06-05 2001-12-13 Contivo, Inc. Method and apparatus for automatically converting the format of an electronic message
EP2463810A1 (en) * 2010-12-09 2012-06-13 SAP Portals Israel Ltd. Data extraction framework
CN111158795A (en) * 2019-12-24 2020-05-15 深圳壹账通智能科技有限公司 Report generation method, device, medium and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001095135A2 (en) * 2000-06-05 2001-12-13 Contivo, Inc. Method and apparatus for automatically converting the format of an electronic message
EP2463810A1 (en) * 2010-12-09 2012-06-13 SAP Portals Israel Ltd. Data extraction framework
CN111158795A (en) * 2019-12-24 2020-05-15 深圳壹账通智能科技有限公司 Report generation method, device, medium and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种异构信息系统数据迁移技术研究;赵艳妮;郭华磊;;现代计算机(专业版)(第24期);全文 *

Also Published As

Publication number Publication date
CN113779133A (en) 2021-12-10

Similar Documents

Publication Publication Date Title
CN108874757B (en) Report generation method and system, computer readable medium and electronic equipment
CN113032244A (en) Interface testing method, device, computer system and computer readable storage medium
CN114048329A (en) Knowledge graph construction and display method and device, electronic equipment and medium
CN113031946A (en) Method and device for rendering page component
CN113505302A (en) Method, device and system for supporting dynamic acquisition of buried point data and electronic equipment
US20130282643A1 (en) Linking web extension and content contextually
CN113779133B (en) Data processing method, device, electronic equipment, storage medium and program product
CN111857674A (en) Business product generation method and device, electronic equipment and readable storage medium
CN112817562A (en) Service processing method and device
CN110807535A (en) Construction method and construction device of unified reservation platform and unified reservation platform system
CN110717992B (en) Method, apparatus, computer system and readable storage medium for scheduling model
CN112486482A (en) Page display method and device
CN113553123B (en) Data processing method, device, electronic equipment and storage medium
CN113515271B (en) Service code generation method and device, electronic equipment and readable storage medium
CN113378346A (en) Method and device for model simulation
CN115033634A (en) Data acquisition method, data acquisition device, electronic equipment and medium
CN114677114A (en) Approval process generation method and device based on graph dragging
CN113448578A (en) Page data processing method, processing system, electronic device and readable storage medium
CN114138712A (en) File processing method, processing device, electronic equipment and storage medium
CN113986258A (en) Service publishing method, device, equipment and storage medium
CN112947918A (en) Data display method and device
CN111199432A (en) Data processing method, device, system and computer readable storage medium
CN114172727B (en) Information processing method, information processing apparatus, electronic device, and storage medium
CN112860259B (en) Interface processing method, device, electronic equipment and storage medium
CN114268558B (en) Method, device, equipment and medium for generating monitoring graph

Legal Events

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