Data processing method and apparatus
By building a data transmission channel for preset menu items in the business intelligence system, data interaction and processing between the report analysis system and third-party systems can be realized, solving the problems of high cost and management difficulties in customized development, and improving the system's processing capacity and flexibility.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-08
- Publication Date
- 2026-03-27
AI Technical Summary
Customized development of business intelligence systems is costly, and custom code can interfere with and pollute the system. User-defined code is difficult to manage and lacks flexible and rich data processing solutions.
This paper provides a data processing method that generates a data transmission channel by constructing preset menu items in the display interface of a report analysis system, thereby enabling data interaction and processing between the report analysis system and a specified third-party system, and expanding processing capabilities and flexibility.
System integration is achieved through preset menu items, which enriches data processing scenarios and improves the flexibility of data processing and user experience.
Smart Images

Figure CN115543151B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present specification relate to the technical field of computer technology, and particularly relate to a data processing method. One or more embodiments of the present specification also relate to a data processing apparatus, a computing device, a computer-readable storage medium, and a computer program. BACKGROUND
[0002] With the digital transformation of enterprises, more and more customers choose to use business intelligence (BI) systems to use modern data warehouse technology, online analytical processing technology, data mining and data presentation technology provided by the business intelligence system to realize business value through data analysis. Due to the strong development capability of many large enterprise customers, the call for personalized function expansion of the business intelligence system is also becoming stronger and stronger.
[0003] At present, the business intelligence system provides customized development for users, but the customized development has high cost and difficulty in managing user customized code, and the customized code will interfere with and pollute the host business intelligence system. Therefore, there is an urgent need for a flexible, rich-scenario and high-processing-capacity data processing scheme based on the business intelligence system. SUMMARY
[0004] Therefore, the embodiments of the present specification provide a data processing method. One or more embodiments of the present specification also relate to a data processing apparatus, a computing device, a computer-readable storage medium, and a computer program to solve the technical defects in the prior art.
[0005] According to a first aspect of the embodiments of the present specification, a data processing method is provided, applied to a data processing platform, and the data processing method comprises:
[0006] In response to a user's selection operation on a preset menu item in a display interface of a report analysis system, a data transmission channel between the report analysis system and a specified third-party system is constructed, wherein the preset menu item is generated according to menu configuration information selected by the user, and the specified third-party system is a data management system specified by the user in advance;
[0007] Through the data transmission channel, the data in the report analysis system and the specified third-party system are interactively processed to obtain a cross-system data processing result.
[0008] According to a second aspect of the embodiments of the present specification, a data processing apparatus is provided, applied to a data processing platform, and the data processing apparatus comprises:
[0009] The constructing module is configured to construct a data transmission channel between the report analysis system and the specified third-party system in response to a user's selection operation on a preset menu item in a display interface of the report analysis system, wherein the preset menu item is generated according to menu configuration information selected by the user, and the specified third-party system is a data management system specified by the user in advance;
[0010] The processing module is configured to interactively process data in the report analysis system and the specified third-party system through the data transmission channel, and obtain a cross-system data processing result.
[0011] According to a third aspect of an embodiment of the present specification, a computing device is provided, comprising:
[0012] a memory and a processor;
[0013] The memory is configured to store computer executable instructions, and the processor is configured to execute the computer executable instructions, so as to implement the steps of the above data processing method.
[0014] According to a fourth aspect of an embodiment of the present specification, a computer readable storage medium is provided, which stores computer executable instructions, and the instructions, when executed by a processor, implement the steps of the above data processing method.
[0015] According to a fifth aspect of an embodiment of the present specification, a computer program is provided, wherein when the computer program is executed in a computer, the computer program causes the computer to execute the steps of the above data processing method.
[0016] The data processing method provided by one embodiment of the present specification, in response to a user's selection operation on a preset menu item in a display interface of a report analysis system, constructs a data transmission channel between the report analysis system and a specified third-party system, wherein the preset menu item is generated according to menu configuration information selected by the user, and the specified third-party system is a data management system specified by the user in advance; and the data in the report analysis system and the specified third-party system is interactively processed through the data transmission channel, and a cross-system data processing result is obtained. Through the preset menu item, the report analysis system and the specified third-party system are integrated, the data in the report analysis system and the specified third-party system is interactively processed through the data transmission channel, the processing capability of the report analysis system is expanded, the data processing scene is more abundant, and the flexibility of data processing is improved. BRIEF DESCRIPTION OF DRAWINGS
[0017] Figure 1 is a framework diagram of a data processing system provided by one embodiment of the present specification;
[0018] Figure 2is a framework diagram of another data processing system provided by an embodiment of the present specification;
[0019] Figure 3 is a flow diagram of a data processing method provided by an embodiment of the present specification;
[0020] Figure 4 is a display interface diagram of a report analysis system provided by an embodiment of the present specification;
[0021] Figure 5 is another display interface diagram of a report analysis system provided by an embodiment of the present specification;
[0022] Figure 6a is a page diagram of a menu attribute configuration page in a data processing method provided by an embodiment of the present specification;
[0023] Figure 6b is a menu debugging entry diagram in a data processing method provided by an embodiment of the present specification;
[0024] Figure 6c is a page diagram of a menu debugging page in a data processing method provided by an embodiment of the present specification;
[0025] Figure 7 is a code debugging flow diagram in a data processing method provided by an embodiment of the present specification;
[0026] Figure 8 is a processing flow diagram of a data processing method provided by an embodiment of the present specification;
[0027] Figure 9 is a structural diagram of a data processing device provided by an embodiment of the present specification;
[0028] Figure 10 is a structural block diagram of a computing device provided by an embodiment of the present specification. DETAILED DESCRIPTION
[0029] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present specification. However, it will be apparent to one skilled in the art that the present specification can be practiced without the specific details set forth in the following description. In other instances, well-known methods, procedures, components, and circuits have not been described in detail so as not to unnecessarily obscure aspects of the present specification.
[0030] The terminology used in this disclosure, in one or more embodiments, is for the purpose of describing particular embodiments only and is not intended to be limiting of one or more embodiments of the present disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
[0031] It will be understood that, although the terms first, second, etc. can be used herein to describe various information, these terms are not intended to denote a temporal sequence, but to distinguish between different types of information. For example, without departing from the scope of one or more embodiments, first can be termed second, and similarly, second can be termed first. Depending on the context, the word "if' as used herein can be interpreted to mean "when" or "in response to determining."
[0032] First, the noun terms related to one or more embodiments of the present disclosure are explained.
[0033] BI (Business Intelligence) system: The BI system is a business intelligence system, also known as a data analysis system, a report analysis system, and a data visualization analysis system. The BI system is positioned to analyze and diagnose the overall health of each business side platform, and can also predict and warn potential risks of a project. It is a data analysis and display system that acquires, integrates, maintains, and stores data from multiple data sources, and based on the basic data, realizes flexible calling and visual display.
[0034] Sand box: Sand box is also known as sand table. In network security, sand box refers to a tool used to test the behavior of untrusted files or applications in an isolated environment, and provides an isolated environment for running programs without affecting other programs in the outside world.
[0035] In the present disclosure, a data processing method is provided, and the present disclosure also relates to a data processing device, a computing device, and a computer readable storage medium, which are described in detail one by one in the following embodiments.
[0036] With the digital transformation of enterprises, more and more customers choose to use business intelligence (BI) systems to realize business value through data analysis using modern data warehouse technology, online analytical processing technology, data mining and data presentation technology provided by the business intelligence system. Due to the strong development capability of many large enterprise customers, the call for personalized function expansion of the business intelligence system is also becoming stronger and stronger.
[0037] Currently, the business intelligence system provides customized development for users, such as creating dialog boxes for custom visual objects, adding display warning icons, and the like. However, the customized development is high in cost, is limited to custom visual objects, is difficult to manage user customized code, and the customized code will interfere with and pollute the host business intelligence system. Therefore, there is an urgent need for a flexible, rich-scene and high-processing-capacity data processing scheme based on the business intelligence system.
[0038] To solve the above problems, the embodiments of the present specification provide an open integration technology supporting user autonomous development of menu items in a BI system, which is referred to as "custom menu". The technology realizes an open component to provide the user with the ability to autonomously develop menu items. By embedding a preset menu item of a custom data application in a BI system report chart header, a function bar and the like, the data of the corresponding report of the BI system is transmitted to a customer system for integration through the preset menu item, thereby meeting various customization needs.
[0039] Specifically, the embodiments of the present specification provide a data processing method. In response to a user's point selection operation on a preset menu item in a display interface of a report analysis system, a data transmission channel between the report analysis system and a specified third-party system is constructed, wherein the preset menu item is generated according to menu configuration information selected by the user, and the specified third-party system is a data management system specified by the user in advance. Through the data transmission channel, the data in the report analysis system and the specified third-party system is interactively processed to obtain a cross-system data processing result. The integration of the report analysis system and the specified third-party system is realized through the preset menu item. The data in the report analysis system and the specified third-party system is interactively processed through the data transmission channel, which expands the processing capacity of the report analysis system, makes the data processing scene more rich, and improves the flexibility of data processing.
[0040] Reference Figure 1 , Figure 1 A framework diagram of a data processing system is shown, wherein the data processing system includes a data processing platform and a client.
[0041] The data processing platform is configured to, in response to a user selecting a preset menu item in a display interface of a report analysis system, build a data transmission channel between the report analysis system and a specified third-party system, wherein the preset menu item is generated according to menu configuration information selected by the user, and the specified third-party system is a data management system specified by the user in advance; the data in the report analysis system and the specified third-party system is interactively processed through the data transmission channel to obtain a cross-system data processing result; and the cross-system data processing result is sent to the client.
[0042] The client is configured to receive the cross-system data processing result sent by the data processing platform.
[0043] According to the scheme of the embodiments of the present specification, in response to a user selecting a preset menu item in a display interface of a report analysis system, a data transmission channel is built between the report analysis system and a specified third-party system, wherein the preset menu item is generated according to menu configuration information selected by the user, and the specified third-party system is a data management system specified by the user in advance; the data in the report analysis system and the specified third-party system is interactively processed through the data transmission channel to obtain a cross-system data processing result. The integration of the report analysis system and the specified third-party system is realized through the preset menu item, the data in the report analysis system and the specified third-party system is interactively processed through the data transmission channel, the processing capability of the report analysis system is expanded, the data processing scene is more diversified, and the flexibility of data processing is improved.
[0044] It should be noted that the data processing method provided by the embodiments of the present specification can be applied to e-commerce scenarios, compliance scenarios, and the like, and is selected according to actual conditions, and the embodiments of the present specification do not make any limitation thereto.
[0045] Referring to Figure 2 , Figure 2 A framework diagram of another data processing system provided by an embodiment of the present specification is shown, which can include a data processing platform 100 and a plurality of clients 200. The plurality of clients 200 can establish a communication connection through the data processing platform 100, and in a data processing scene, the data processing platform 100 is used to provide data processing services between the plurality of clients 200, and the plurality of clients 200 can respectively act as a sending end or a receiving end to realize real-time communication through the data processing platform 100.
[0046] The user can interact with the data processing platform 100 through the client 200 to receive data sent by other clients 200 or send data to other clients 200, etc. In a data processing scenario, the user can publish a data stream to the data processing platform 100 through the client 200, the data processing platform 100 processes data according to the data stream, and pushes the data processing result to other clients in communication.
[0047] The client 200 and the data processing platform 100 establish a connection through a network. The network provides a medium for the communication link between the client and the data processing platform. The network can include various connection types, such as wired, wireless communication links, or fiber optic cables, etc. The data transmitted by the client 200 can need to be encoded, transcoded, compressed, etc. before being published to the data processing platform 100.
[0048] The client 200 can be a browser, an APP (Application), or a web application such as an H5 (HyperText Markup Language 5) application, or a light application (also known as a small program, a lightweight application), or a cloud application, etc. The client 200 can be developed based on the software development kit (SDK) provided by the data processing platform for the corresponding service, such as based on the real-time communication (RTC) SDK, etc. The client 200 can be deployed in an electronic device and needs to rely on the device or some APP in the device to run, etc. The electronic device can have a display screen and support information browsing, etc., such as a personal mobile terminal such as a mobile phone, a tablet computer, a personal computer, etc. Various other types of applications can also be configured in the electronic device, such as human-computer dialogue applications, model training applications, text processing applications, web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.
[0049] The data processing platform 100 can include servers that provide various services, such as servers that provide communication services for multiple clients, servers that provide support for models used on clients for background training, servers that process data sent by clients, etc.
[0050] It should be noted that the data processing platform 100 can be implemented as a distributed server cluster consisting of multiple servers, or as a single server. The server can also be a server in a distributed system, or a server integrated with blockchain. The server can also be a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms, or an intelligent cloud computing server or intelligent cloud host with artificial intelligence technology.
[0051] It is worth noting that the data processing methods provided in the embodiments of this specification are generally executed by a data processing platform. However, in other embodiments of this specification, the client may also have similar functions to the data processing platform, thereby executing the data processing methods provided in the embodiments of this specification. In other embodiments, the data processing methods provided in the embodiments of this specification may also be executed jointly by the client and the data processing platform.
[0052] See Figure 3 , Figure 3 This specification illustrates a flowchart of a data processing method according to an embodiment of the present invention. This data processing method is applied to a data processing platform and specifically includes the following steps:
[0053] Step 302: In response to the user's selection of preset menu items in the display interface of the report analysis system, establish a data transmission channel between the report analysis system and the specified third-party system. The preset menu items are generated according to the menu configuration information selected by the user, and the specified third-party system is the data management system pre-specified by the user.
[0054] In one or more embodiments of this specification, in order to achieve integration between the report analysis system and the user's third-party system, preset menu items can be provided on the display interface of the report analysis system. When the user needs to perform cross-system data processing, the user can select the preset menu item. In response to the user's selection of the preset menu item, a data transmission channel is established between the report analysis system and the user-specified third-party system to achieve cross-system data processing.
[0055] Specifically, the report analysis system includes a BI system. This system includes visual objects directly provided by the system and user-defined visual objects. Visual objects can be understood as report data, including data comparison charts, data distribution charts, data sorting charts, data analysis tables, line charts, stacked percentage bar charts, waterfall charts, radar charts, tree diagrams, wave diagrams, Sankey diagrams, maps, indicator dashboards, leaderboards, crosstabs, etc. User-defined visual objects are visualization icon formats defined by the user according to actual needs. The specific selection depends on the actual situation, and this specification does not impose any limitations on this. Users can specify the functions and styles of preset menu items through custom code, package the custom code into a development package, and upload it to the data processing platform, which then further generates the preset menu items.
[0056] It should be noted that the user's selection operation of the preset menu item includes any of the following methods: click, double-click, touch, mouse hover, swipe, long press, voice control, or shake. The preset menu item can be located at the top of the display interface of the report analysis system, or it can be set in the function bar of the report analysis system. The specific selection depends on the actual situation, and this specification does not limit it in any way.
[0057] For example, see Figure 4 , Figure 4 This diagram illustrates a display interface of a report analysis system according to an embodiment of this specification. Taking the display of a pie chart on the report analysis system's display interface as an example, the preset menu items can be located in the upper right corner of the display interface.
[0058] In practical applications, users can create preset menu items at designated locations on the display interface of the report analysis system. These preset menu items can establish data transmission channels between the report analysis system and designated third-party systems. The menu item logic is implemented by user-defined code. Users select menu configuration information to create preset menu items. These preset menu items can retrieve report data from the report analysis system, complete custom logic, and integrate with designated third-party systems to perform interactive operations such as redirection and pop-up window activation.
[0059] Step 304: Through the data transmission channel, the data of the report analysis system and the designated third-party system are interactively processed to obtain cross-system data processing results.
[0060] In one or more embodiments of this specification, in response to a user's selection of a preset menu item in the display interface of the report analysis system, after establishing a data transmission channel between the report analysis system and a designated third-party system, the data in the report analysis system and the designated third-party system can be interactively processed through this data transmission channel to obtain cross-system data processing results.
[0061] According to the scheme of the embodiments of the present specification, in response to a user's point selection operation on a preset menu item in a display interface of a report analysis system, a data transmission channel between the report analysis system and a specified third-party system is constructed, wherein the preset menu item is generated according to menu configuration information selected by the user, and the specified third-party system is a data management system specified by the user in advance; through the data transmission channel, data in the report analysis system and the specified third-party system is interactively processed to obtain a cross-system data processing result. Through the preset menu item, the integration of the report analysis system and the specified third-party system is realized, and through the data transmission channel, the data in the report analysis system and the specified third-party system is interactively processed, which expands the processing capability of the report analysis system, makes the data processing scene more abundant, and improves the flexibility of data processing.
[0062] In actual application, there are various ways to interactively process the data in the report analysis system and the specified third-party system, which are selected according to actual conditions, and the embodiments of the present specification do not make any limitation in this regard.
[0063] In an optional embodiment of the present specification, report data generated by the report analysis system can be sent to the specified third-party system, and the data processing capability of the specified third-party system is used to process the report data, that is, the step of interactively processing the data in the report analysis system and the specified third-party system through the data transmission channel to obtain a cross-system data processing result can include the following steps:
[0064] Through the data transmission channel, the report data generated by the report analysis system is sent to the specified third-party system;
[0065] In the specified third-party system, the report data is processed to obtain a cross-system data processing result.
[0066] Specifically, the specified third-party system is a data management system specified by the user in advance, including but not limited to an index interpretation system, a comment system, etc., which are selected according to actual conditions, and the embodiments of the present specification do not make any limitation in this regard.
[0067] It should be noted that there are various ways to process the report data in the specified third-party system, which are selected according to actual conditions, and the embodiments of the present specification do not make any limitation in this regard.
[0068] In a possible implementation manner of the present specification, the indexes in the report data can be explained. For example, the user is not clear about the specific meaning of some indexes in the report data generated by the report analysis system, and the report data can be sent to a specified index interpretation system through the data transmission channel to realize the explanation of the indexes in the report data and obtain a cross-system index interpretation result.
[0069] In another possible implementation of the present specification, the report data can be commented. For example, after the report analysis system generates the report data, the report data can be sent to a comment system through a data transmission channel, the report data is commented in the comment system, and cross-system report data decision information is obtained.
[0070] By applying the scheme of the embodiments of the present specification, the report data generated by the report analysis system is sent to a specified third-party system through a data transmission channel, the report data is processed in the specified third-party system, and cross-system data processing results are obtained, which expands the data processing capability of the report analysis system, meets the user's customized needs, and improves the user experience.
[0071] It is worth noting that after the cross-system data processing results are obtained, the cross-system data processing results can also be sent to the report analysis system through a data transmission channel.
[0072] In actual application, the original data uploaded by the user can be received, and the original data is sent to the report analysis system for processing to generate report data. The data to be analyzed of the specified third-party system can also be transmitted to the report analysis system through a data transmission channel, and the data to be analyzed is processed in the report analysis system to generate report data corresponding to the data to be analyzed. Further, the report data corresponding to the data to be analyzed can also be sent to the specified third-party system through a data transmission channel.
[0073] In another optional embodiment of the present specification, in response to the user's point selection operation on a preset menu item in the display interface of the report analysis system, a data processing result display window can be displayed on the display interface of the report analysis system, and the cross-system data processing results are displayed through the data processing result display window. That is, after the above step of responding to the user's point selection operation on the preset menu item in the display interface of the report analysis system, the following steps can also be included:
[0074] Display the data processing result display window on the display interface of the report analysis system;
[0075] After the step of interacting with the data in the report analysis system and the specified third-party system through a data transmission channel to obtain cross-system data processing results, the following steps can also be included:
[0076] Display the cross-system data processing results through the data processing result display window.
[0077] Exemplarily, see Figure 5 , Figure 5A display interface schematic diagram of another report analysis system provided by an embodiment of the present specification is shown. Taking a pie chart displayed on the display interface of the report analysis system as an example, the preset menu item can be located at the upper right corner of the display interface. In response to the point selection operation of the user on the preset menu item in the display interface of the report analysis system, a data processing result display window is displayed on the display interface of the report analysis system, and the data processing result display window can display the cross-system data processing result.
[0078] By applying the scheme of the embodiment of the present specification, the data processing result display window is displayed on the display interface of the report analysis system, and the cross-system data processing result is displayed through the data processing result display window, so that the user can transparently and accurately understand the data processing situation, and the user experience is improved.
[0079] In one or more embodiments of the present specification, the preset menu item can realize the integration of the report analysis system and the specified third-party system. The user can select the menu configuration information of the preset menu item according to actual needs, register and debug in the report analysis system to generate the preset menu item, wherein the menu configuration information includes menu attribute information and menu debugging information, that is, before the step of constructing the data transmission channel between the report analysis system and the specified third-party system in response to the point selection operation of the user on the preset menu item in the display interface of the report analysis system, the following steps can also be included:
[0080] In response to the menu creation instruction input by the user, a menu attribute configuration page and a menu debugging page are displayed, wherein the menu creation instruction is used to configure a menu creation environment;
[0081] The menu attribute information selected by the user on the menu attribute configuration page and the menu debugging information selected by the user on the menu debugging page are obtained;
[0082] According to the menu debugging information, the menu creation data corresponding to the menu creation instruction is determined;
[0083] According to the menu attribute information, the menu creation data is processed to generate the preset menu item.
[0084] Referring to Figure 6a , Figure 6aA page diagram of a menu attribute configuration page in a data processing method provided by an embodiment of the present specification is shown. In the embodiment of the present specification, the menu item can also be referred to as a component. In response to a menu creation instruction input by a user, a menu attribute configuration page is displayed, which can also be referred to as a menu registration form. The user can select component type, component icon, component name, component debugging address, component application platform, component applicable scope, code running mode, component display mode, component display order, development package upload, dependent third-party library, and note information in the menu attribute configuration page. Exemplarily, the component type includes chart, chart card menu, and spreadsheet menu. The component icon can be customized by the user, or a chart template can be provided to the user by the menu attribute configuration page for the user to select. Since the component supports rich scenarios, it supports multiple terminals such as mobile terminals and terminals (PC, Personal Computer). The component applicable scope includes dashboard and spreadsheet. The code running mode can be selected by selecting a control to determine whether to enable isolation. The component display mode includes tiling and folding. Since the display interface of the report analysis system can include multiple components, the display order of the components can also be defined. The user can upload the development package file through the “Please select a file” prompt control. Of course, the user can also input the network (CDN, Content Delivery Network) address of the third-party library relied on by the component and add note information. After the user completes the selection of the menu attribute information in the menu attribute configuration page, the user can click the “Confirm” control to go to the menu debugging entry, or click the “Cancel” control to cancel this component creation.
[0085] Referring to Figure 6b , Figure 6b A menu debugging entry diagram in a data processing method provided by an embodiment of the present specification is shown. In response to the operation of the user clicking the “Confirm” control, the menu debugging entry is displayed, which displays the menu attribute information selected by the user, the component name, such as this is a spreadsheet custom menu; the defined icon; the component state, such as published; the modification time, such as 2022 / 7 / 2015:47:24; the display state, such as display; the development package state, such as uploaded; and the note information. In addition, the menu debugging entry also provides modification, debugging, hiding, publishing, and deleting controls for the user to select.
[0086] Referring to Figure 6c , Figure 6cA page diagram of a menu debugging page in a data processing method provided by an embodiment of the present specification is shown. In response to an operation of a user clicking a "debug" control, a menu debugging page is displayed, and in the menu debugging page, a component name is displayed, such as "This is a custom menu of a spreadsheet", and the user can select a workspace, such as "the workspace of XXX", a debugging mode, such as "local debugging", and a debugging range, such as "a spreadsheet". The workspace refers to a storage space of a code that is completed by debugging, and the debugging mode includes local debugging, debugging of a package to be published, and debugging of a published package. After the user completes selection of menu debugging information in the menu debugging page, the user can click a "go to debugging" control to go to debugging, or click a "cancel" control to cancel the current component debugging.
[0087] It should be noted that, after the user completes selection of the menu debugging information and the menu attribute information, since the debugging mode is included in the menu debugging information, the menu creation data corresponding to the menu creation instruction can be determined according to the debugging mode, and the component running mode, such as isolated running or non-isolated running, is included in the menu attribute information, and therefore, the menu creation data can be processed according to the menu attribute information to generate preset menu items.
[0088] By applying the scheme of the embodiment of the present specification, in response to a menu creation instruction input by a user, a menu attribute configuration page and a menu debugging page are displayed, menu attribute information selected by the user in the menu attribute configuration page and menu debugging information selected by the user in the menu debugging page are obtained, menu creation data corresponding to the menu creation instruction is determined according to the menu debugging information, and preset menu items are generated by processing the menu creation data according to the menu attribute information, so that the user can create the preset menu items on a display interface of a report analysis system according to actual needs, and the customized needs of the user are met.
[0089] In an optional embodiment of the present specification, in the process of creating a custom menu item by a user, a code creation instruction can be input, and code creation is completed by using a code creation template provided by a data processing platform, that is, the menu creation instruction includes the code creation instruction, and the step of responding to the menu creation instruction input by the user can include the following steps:
[0090] In response to a code creation instruction input by a user;
[0091] According to the code creation instruction, a code creation template is displayed, so that the user generates local code of a menu according to the code creation template.
[0092] In actual application, there are various ways to display a code creation template according to a code creation instruction, and the specific way is selected according to actual conditions, and the embodiments of the present specification do not make any limitation in this regard.
[0093] In an optional implementation of the present specification, in response to a code creation instruction input by a user, all code creation templates are displayed to the user, so that the user selects a target code creation template from all code creation templates according to actual needs, and local codes of a menu are generated according to the target code creation template.
[0094] In another optional implementation of the present specification, a target template type is carried in a code creation template input by a user, in response to a code creation instruction input by the user, at least one candidate code creation template corresponding to the target template type is searched for from all code creation templates according to the target template type, the candidate code creation template is displayed, so that the user selects a target code creation template from the candidate code creation template according to actual needs, and local codes of a menu are generated according to the target code creation template.
[0095] Exemplarily, the data processing platform provides a report analysis system creation program (create-QBI-app) tool, which provides a preset menu item scaffold for a user to develop, the user inputs a creation instruction, for example, a report analysis system menu item menu-project-name (npm init QBI-app menu-project-name), and an initial menu item can be created, the data processing platform displays an icon card custom menu template (menu-chart-card) and an electronic form custom menu template (menu-excel) for the user to select, so that the user generates local codes of a menu according to a target code creation template.
[0096] The following is a related instruction in an actual processing process of a user:
[0097] custom-menu npm init QBI-app menu-project-name
[0098] Need to install the following packages:
[0099] create-QBI-app
[0100] [Ok to proceed?(y)y
[0101] ?Please choose a template.
[0102] [custom chart]
[0103] Chart
[0104] chart-react
[0105] chart-vue
[0106] [custom menu]
[0107] menu-chart-card
[0108] menu-excel
[0109] Custom menu of dashboard card
[0110] The solution implemented in this specification responds to a user-inputted code creation command and displays a code creation template accordingly, enabling the user to quickly generate local menu code based on the template. This improves the efficiency of generating local menu code and further enhances the user experience.
[0111] This specification provides different code execution modes and different code debugging modes in the embodiments, allowing users to choose according to their needs and meet their customization requirements. That is, the menu attribute information includes the code execution mode, and the menu debugging information includes the code debugging mode. The steps described above for determining the menu creation data corresponding to the menu creation instruction based on the menu debugging information may include the following steps:
[0112] Determine the menu creation data corresponding to the menu creation instruction based on the code debugging mode;
[0113] The steps of processing menu creation data based on menu attribute information to generate preset menu items may include the following:
[0114] Based on the code execution mode, the menu creation data is processed to generate preset menu items.
[0115] In the embodiments of this specification, after obtaining the code debugging mode and code running mode selected by the user, since the code debugging mode includes the source information of the code and the code running mode includes the code running strategy, the menu creation data corresponding to the menu creation instruction can be determined according to the code debugging mode, and the menu creation data can be processed according to the code running mode to generate preset menu items.
[0116] Specifically, code debugging modes include, but are not limited to, local debugging mode, pre-release package debugging mode, and released package debugging mode. Code execution modes include, but are not limited to, non-isolated execution mode and isolated execution mode.
[0117] According to the scheme of the embodiment of the present specification, the menu creation data corresponding to the menu creation instruction is determined according to the code debugging mode, the menu creation data is processed according to the code running mode, the preset menu item is generated, the phased development experience is provided for the user, the generated preset menu item is more in line with the user demand, and the user customization demand is met.
[0118] In the first optional embodiment of the present specification, the code debugging mode includes a local debugging mode, and the menu creation data includes menu local code. According to the code debugging mode, the step of determining the menu creation data corresponding to the menu creation instruction can include the following steps:
[0119] According to the local debugging mode, the menu local code corresponding to the menu creation instruction is read from the local service;
[0120] According to the code running mode, the step of processing the menu creation data to generate the preset menu item can include the following steps:
[0121] According to the code running mode, the menu local code is processed to generate the preset menu item.
[0122] Specifically, in the local debugging mode, the menu creation data is read from the local service, the environment information is used locally, other configurations are configured using the to-be-published package, and the local debugging mode is suitable for local development after the preset menu item is registered. The development package generated by compiling and packaging the menu creation data can be referred to as a component resource.
[0123] It should be noted that when the user writes and debugs the preset menu item locally, the project is started at the host address specified by the preset menu item, and the menu local code provided by the local service in real time is requested through the local host address.
[0124] According to the scheme of the embodiment of the present specification, the menu local code corresponding to the menu creation instruction is read from the local service according to the local debugging mode, the menu local code is processed according to the code running mode, the preset menu item is generated, and the development and debugging in the stage after the preset menu item is registered are realized, and the user customization demand is met.
[0125] In the second optional embodiment of the present specification, the code debugging mode includes a to-be-published package debugging mode, and the menu creation data includes to-be-published code. According to the code debugging mode, the step of determining the menu creation data corresponding to the menu creation instruction can include the following steps:
[0126] According to the to-be-published package debugging mode, the to-be-published code corresponding to the menu creation instruction is read from the to-be-published package;
[0127] According to the code running mode, the step of processing the menu creation data to generate the preset menu item can include the following steps:
[0128] According to the code running mode, the step of processing the menu creation data to generate the preset menu item can include the following steps:
[0129] Specifically, in the to-be-published package debugging mode, the menu creation data is read from the to-be-published package, and other configurations use the to-be-published configuration. The to-be-published package is a development package that has not been published in a draft state uploaded by the user.
[0130] It should be noted that after the user's local development is completed, the development package can be uploaded to the data processing platform. At this time, the local service does not need to be started, and the resource address of the stored to-be-published package can be directly requested. When the preset menu item is in a to-be-published state, the display interface of the report analysis system does not appear the preset menu item.
[0131] According to the to-be-published package debugging mode, the menu creation instruction corresponding to the to-be-published code is read from the to-be-published package according to the code running mode, the to-be-published code is processed to generate the preset menu item, and the development and debugging in the to-be-published stage of the preset menu item are realized, which meets the user's customization needs.
[0132] In the third optional embodiment of the present specification, the code debugging mode includes the published package debugging mode, and the menu creation data includes the published code. According to the code debugging mode, the step of determining the menu creation data corresponding to the menu creation instruction can include the following steps:
[0133] According to the published package debugging mode, the menu creation instruction corresponding to the published code is read from the published package;
[0134] According to the code running mode, the step of processing the menu creation data to generate the preset menu item can include the following steps:
[0135] According to the code running mode, the step of processing the menu creation data to generate the preset menu item can include the following steps:
[0136] According to the code running mode, the step of processing the menu creation data to generate the preset menu item can include the following steps:
[0137] It should be noted that after the published code is processed to generate the preset menu item, the report analysis system updates the related configuration information of the preset menu item, so that the report analysis system appears the preset menu item. The updated is not the menu creation data, but the component state of the preset menu item.
[0138] The solution implemented in this specification reads the published code corresponding to the menu creation instruction from the published package according to the published package debugging mode, processes the published code according to the code execution mode, and generates preset menu items, thereby displaying the preset menu items hidden in the report analysis system and meeting the user's customization needs.
[0139] See Figure 7 , Figure 7 This document illustrates a flowchart of code debugging in a data processing method provided in one embodiment. Upon starting debugging, the user creates a new menu item and begins development. The menu item is under development. After development is complete, the development package is uploaded, placing the menu item in a pending-release state. Once the pending-release development package is released, the menu item becomes a released item. Deleting the released development package ends the code debugging process. After updating the released menu item, information can be simultaneously updated in the pending-release development package to ensure data synchronization. Alternatively, data generated during development and the pending-release development package can be deleted to reduce data storage volume.
[0140] In the embodiments of this specification, the menu attribute information includes code execution mode, which includes isolated execution mode and non-isolated execution mode. Taking isolated execution mode as an example, the above-mentioned step of processing menu creation data according to menu attribute information to generate preset menu items may include the following steps:
[0141] Based on the isolated operation mode, the menu creation data is processed in isolation to generate preset menu items.
[0142] Specifically, the isolation operation mode includes, but is not limited to, sandbox isolation, shadow DOM isolation, etc. The specific mode should be selected according to the actual situation, and the embodiments in this specification do not limit it in any way.
[0143] By applying the solution in the embodiments of this specification, the menu creation data is isolated and processed according to the isolated operation mode to generate preset menu items. This ensures that the menu creation data runs in an isolated environment, avoids interference from the menu creation data to the report analysis system, and guarantees the security of the preset menu item generation process.
[0144] Furthermore, the menu creation data can be categorized and isolated for different types of menu creation data. Taking the isolation operation mode, which includes style isolation mode and resource isolation mode, as an example, the steps described above for isolating the menu creation data according to the isolation operation mode to generate preset menu items can include the following steps:
[0145] Categorize the menu creation data and determine the menu style data and menu resource data;
[0146] The menu style data is isolated and run by using a style isolation mode, and the menu resource data is isolated and run by using a resource isolation mode, to generate preset menu items.
[0147] It should be noted that, since the product after compiling and packaging of the menu creation data includes main resource data main.js, meta information resource data meta.js and main style data main.css, the way of classifying the menu creation data can be to classify the menu creation data according to the extension of the menu creation data, such as.js file for menu resource data and.css file for menu style data; or the menu creation data can be classified by using a pre-trained data classification model, and the specific selection is based on the actual situation, which is not limited in the embodiments of the present disclosure.
[0148] In actual application, the.js file is unsafe for the report analysis system when it is run in the report analysis system as a host, and therefore, an independent environment of a front-end sandbox can be constructed to safely execute untrusted code. The sandbox uses a proxy mode, is compatible with browsers, and prevents possible sandbox escape scenarios. The.js resource is loaded and executed in the sandbox environment, the global environment variables required for preset menu items are injected, a universal module definition (UMD) module is generated, the corresponding menu component meta information is obtained for component registration and rendering. Specifically, the code can be supported to be executed in a specific context, the attribute access is intercepted to avoid polluting global variables, multiple sandbox instances are supported in the case of sharing the same system resource, sandbox escape vulnerabilities are prevented to the greatest extent, and the client browser environment is compatible. Similarly, for the.css file, style isolation is required. The style of the preset menu item customized by the user can only act on the preset menu item area, and the style and behavior of the host system cannot interfere with the preset menu item, while the shadow DOM can hide the hyper text markup language (HTML) structure, style and behavior, and separate from other codes on the page, so that different parts do not conflict, and the code can remain clean.
[0149] Further, the front-end sandbox can be replaced by an inline frame (iframe) mode, and the iframe tag can create an independent browser native level running environment, which is isolated from the main environment by the browser.
[0150] By using the scheme of the embodiments of the present specification, the menu creation data is classified, the menu style data and the menu resource data are determined, the menu style data is operated in isolation by using the style isolation mode, the menu resource data is operated in isolation by using the resource isolation mode, and the preset menu item is generated, so that the menu creation data is operated in isolation from two types of style and resource, and the independent operation of the menu creation data is ensured, and interference to the report analysis system is avoided.
[0151] It is worth noting that in the embodiments of the present specification, the generated preset menu item can be divided into two parts in form:
[0152] The first part is the menu item itself, which meets the user's control over the appearance form and interactive events of the menu item, such as the user developing a jump-in portal of a specified third-party system in the header of the report analysis system and performing custom permission and state control on the jump-in portal.
[0153] The second part is the interactive event of the preset menu item, such as the event related to the pop-up window, and the user can design data application in the pop-up window according to actual needs and interface other systems. For example, the preset menu item is used to interface the index management system, so that when the user uses the report analysis system, the pop-up window is opened in the editing state to edit and maintain the internal dimensions, measures, and calculation fields of the index in the index management system, and the meaning of the maintained fields is previewed. Among them, the dimension is usually a descriptive content of the data. The dimension can be represented by text, time, etc., or by a numerical value, such as "name", "gender", "class", "subject", etc. The measure is usually numerical information, and these numerical values can be calculated, such as sum, average, maximum, minimum, and median. The calculation field is a field that uses functions and operators to construct a formula to redefine the data source field (including dimensions, measures, parameters, etc.).
[0154] Further, in the case that the report analysis system has the OpenAPI (Open Application Programming Interface) capability, the capability of the preset menu item will be enhanced, and the user can request more associated information for data application design according to the preset menu item protocol data. The user only needs to focus on the business logic of the project itself for local code development of the preset menu item, and the report analysis system provides a data processing platform to support functions such as debugging, online, and display of the development package. The preset menu item supports PC, mobile, preview state, and editing state differentiation, supports various types such as spreadsheets, dashboards, and chart tables, and supports various display modes such as expansion and folding.
[0155] Reference Figure 8 , Figure 8A processing flow chart of a data processing method provided by an embodiment of the present specification is shown. In the embodiment of the present specification, a custom menu component can be provided to a user through a report analysis system menu development package (BI-open-menu-sdk) to facilitate the user to develop menu item elements, and a report analysis system creation component (create BI Component) provided by a report analysis system creation development package (BI-open-react-sdk) is used to process the menu elements developed by the user into a preset menu item including a bootstrap hook (bootstrap), a mount hook (mount), an unmount hook (unmount), and an update hook (update) of a life cycle (Lifecycle), so that the code plays a corresponding role at the appropriate stage. After the user completes the development, the code can be packaged to generate a custom menu development package, and the custom menu development package is registered and uploaded to a data processing platform. The data processing platform includes a content delivery network (CDN, Content Delivery Network) resource for storing menu creation data.
[0156] In actual application, a code acquisition request can be sent to the CDN resource to download the code corresponding to the preset menu item, and the code is isolated and debugged using a front-end sandbox and a shadow DOM to generate the preset menu item. A data transmission channel between the report analysis system and the specified third-party system is constructed through the preset menu item to realize data communication and event interaction.
[0157] Specifically, the preset menu item can set special state controls of the menu, such as a disabled state, a mouse hovering state information prompt, a loading state, etc. The preset menu item also provides a click event, and the user jumps to an external link in the click event or modifies attributes or triggers behaviors using a dispatch event of the preset menu item, such as calling a pop-up window, closing the pop-up window, etc. The essence of the debugging mode is to pass different link parameters based on different running states for use by the report analysis system.
[0158] Further, an internationalization scheme can be added to the development package corresponding to the preset menu item to facilitate the user to develop internationalized texts.
[0159] It should be noted that the preset menu item in the scheme can be rendered in the host environment in the form of a reaction element (React.Element), or can be transmitted to the host environment through a configuration item, and the menu element is rendered and implemented by the host environment. Moreover, the preset menu item can be based on a report analysis system development package (BI-open-react-sdk) to support development of a reaction (react) framework, and can also be based on a report analysis system progressive development package (BI-open-vue-sdk) to support development of a progressive (vue) framework, and can also be based on a report analysis system development package (BI-open-sdk) to support development of a native script (Javascript).
[0160] The data processing method is not limited to visual objects, supports rich scenarios, and has higher flexibility for users to use, can improve data processing efficiency, reduce user cost, and meet more scene requirements.
[0161] Corresponding to the above-mentioned data processing method embodiments, the present specification also provides data processing device embodiments, Figure 9 A structural schematic diagram of a data processing device provided by one embodiment of the present specification is shown, which is applied to a data processing platform. As shown in Figure 9 The device comprises:
[0162] The construction module 902 is configured to, in response to a user's point selection operation on a preset menu item in a display interface of a report analysis system, construct a data transmission channel between the report analysis system and a specified third-party system, wherein the preset menu item is generated according to menu configuration information selected by the user, and the specified third-party system is a data management system specified by the user in advance;
[0163] The processing module 904 is configured to, through the data transmission channel, interactively process data in the report analysis system and the specified third-party system, and obtain a cross-system data processing result.
[0164] Optionally, the processing module 904 is further configured to, through the data transmission channel, send report data generated by the report analysis system to the specified third-party system; and process the report data in the specified third-party system to obtain the cross-system data processing result.
[0165] Optionally, the device further comprises a first display module configured to display a data processing result display window on a display interface of the report analysis system; and a second display module configured to display the cross-system data processing result through the data processing result display window.
[0166] Optionally, the menu configuration information comprises menu attribute information and menu debugging information; the apparatus further comprises a generating module configured to, in response to a menu creation instruction input by a user, display a menu attribute configuration page and a menu debugging page, wherein the menu creation instruction is used to configure a menu creation environment; obtain menu attribute information selected by the user on the menu attribute configuration page and menu debugging information selected by the user on the menu debugging page; determine menu creation data corresponding to the menu creation instruction according to the menu debugging information; and process the menu creation data according to the menu attribute information to generate a preset menu item.
[0167] Optionally, the menu creation instruction comprises a code creation instruction; and the generating module is further configured to, in response to the code creation instruction input by the user; display a code creation template to enable the user to generate menu local code according to the code creation template.
[0168] Optionally, the menu attribute information comprises a code running mode, and the menu debugging information comprises a code debugging mode; the generating module is further configured to determine menu creation data corresponding to the menu creation instruction according to the code debugging mode; and process the menu creation data according to the code running mode to generate a preset menu item.
[0169] Optionally, the code debugging mode comprises a local debugging mode, and the menu creation data comprises menu local code; the generating module is further configured to read the menu local code corresponding to the menu creation instruction from a local service according to the local debugging mode; and process the menu local code according to the code running mode to generate a preset menu item.
[0170] Optionally, the code debugging mode comprises a to-be-released package debugging mode, and the menu creation data comprises to-be-released code; the generating module is further configured to read the to-be-released code corresponding to the menu creation instruction from a to-be-released package according to the to-be-released package debugging mode; and process the to-be-released code according to the code running mode to generate a preset menu item.
[0171] Optionally, the code debugging mode comprises a released package debugging mode, and the menu creation data comprises released code; the generating module is further configured to read the released code corresponding to the menu creation instruction from a released package according to the released package debugging mode; and process the released code according to the code running mode to generate a preset menu item.
[0172] Optionally, the menu attribute information comprises a code running mode, and the code running mode comprises an isolated running mode; the generating module is further configured to perform isolated running on the menu creation data according to the isolated running mode to generate a preset menu item.
[0173] Optionally, the isolated running mode comprises a style isolated mode and a resource isolated mode; the generating module is further configured to classify the menu creation data, determine menu style data and menu resource data; run the menu style data in the style isolated mode and run the menu resource data in the resource isolated mode to generate the preset menu item.
[0174] By applying the scheme of the embodiments of the present specification, in response to the point selection operation of the user on the preset menu item in the display interface of the report analysis system, a data transmission channel between the report analysis system and the specified third-party system is constructed, wherein the preset menu item is generated according to the menu configuration information selected by the user, and the specified third-party system is a data management system specified by the user in advance; through the data transmission channel, the data in the report analysis system and the specified third-party system is interactively processed to obtain a cross-system data processing result. Through the preset menu item, the integration of the report analysis system and the specified third-party system is realized, the data in the report analysis system and the specified third-party system is interactively processed through the data transmission channel, the processing capability of the report analysis system is expanded, the data processing scene is more abundant, and the flexibility of data processing is improved.
[0175] The above is a schematic scheme of a data processing device according to an embodiment of the present specification. It should be noted that the technical scheme of the data processing device belongs to the same concept as the technical scheme of the data processing method described above, and the details of the technical scheme of the data processing device that are not described in detail can be referred to the description of the technical scheme of the data processing method.
[0176] Figure 10 A structural block diagram of a computing device provided by an embodiment of the present specification is shown. The components of the computing device 1000 include but are not limited to a memory 1010 and a processor 1020. The processor 1020 is connected to the memory 1010 through a bus 1030, and a database 1050 is used to save data.
[0177] The computing device 1000 also includes an access device 1040 that enables the computing device 1000 to communicate via one or more networks 1060. Examples of such networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or combinations of such networks, such as the Internet. The access device 1040 can include one or more of any type of network interface (for example, a network interface card (NIC)) such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a Global System for Mobile (GSM) interface, a Code Division Multiple Access (CDMA) interface, a Bluetooth interface, a Near Field Communication (NFC) interface, a Universal Serial Bus (USB) interface, a Wi-Fi® interface, a Wi-MAX interface, an Ethernet interface, a token ring interface, a serial bus interface, or the like.
[0178] In one embodiment of the present specification, the above-mentioned components of the computing device 1000 and other components not shown in the Figure 10 may be connected to each other, for example, through a bus. It should be understood that Figure 10 The computing device structure diagram shown is merely for the purpose of example, and is not a limitation on the scope of the present specification. Those skilled in the art can add or replace other components as needed.
[0179] The computing device 1000 can be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (for example, a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, and the like), a mobile phone (for example, a smartphone), a wearable computing device (for example, a smart watch, smart glasses, and the like), or other types of mobile devices, or a stationary computing device such as a desktop computer or a PC. The computing device 1000 can also be a mobile or stationary server.
[0180] The processor 1020 is configured to execute computer-executable instructions, which, when executed by the processor, implement the steps of the above-mentioned data processing method.
[0181] The above is a schematic scheme of the computing device of the embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the data processing method described above belong to the same concept, and the details of the technical scheme of the computing device that are not described in detail can be referred to the description of the technical scheme of the data processing method.
[0182] An embodiment of the present specification further provides a computer readable storage medium storing computer executable instructions, and the computer executable instructions implement the steps of the data processing method when executed by a processor.
[0183] The above is a schematic scheme of the computer readable storage medium of the embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the data processing method described above belong to the same concept, and the details of the technical scheme of the storage medium that are not described in detail can be referred to the description of the technical scheme of the data processing method.
[0184] An embodiment of the present specification further provides a computer program, and the computer program causes a computer to execute the steps of the data processing method when the computer program is executed in the computer.
[0185] The above is a schematic scheme of the computer program of the embodiment. It should be noted that the technical scheme of the computer program and the technical scheme of the data processing method described above belong to the same concept, and the details of the technical scheme of the computer program that are not described in detail can be referred to the description of the technical scheme of the data processing method.
[0186] The specific embodiments of the present specification are described above. Other embodiments are within the scope of the appended claims. In some cases, acts or steps recited in the claims can be performed in an order other than that in which they are recited in the embodiments, and still achieve desirable results. Also, the process depicted in the figures can not necessarily require the particular order shown, or sequential order to achieve the results desired. In certain implementations, multitasking and parallel processing can be advantageous.
[0187] The computer instructions include computer program code, which can be in the form of source code, object code, executable code, or some intermediate form. The computer readable medium can include any entity or apparatus that can carry the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc.
[0188] It should be noted that, for the aforementioned method embodiments, the sequences of the described actions are not necessarily required to implement the present application, and certain actions can be performed in other sequences, or even at the same time, in accordance with the present application. Furthermore, certain actions can not be required to implement the present application. Additionally, the described embodiments are not necessarily the only possible implementation of the present application.
[0189] In the above embodiments, the description of each embodiment focuses on different aspects, and the parts not described in detail in a certain embodiment can be referred to the relevant description of other embodiments.
[0190] The preferred embodiments of the present application disclosed above are only used to clarify the present application. The alternative embodiments do not describe all the details and limit the present application to the specific embodiments described. Obviously, according to the content of the embodiments of the present application, many modifications and changes can be made. The embodiments are selected and described in detail in order to better explain the principles and practical applications of the embodiments of the present application, so that those skilled in the art can well understand and use the present application. The present application is limited by the claims and their full scope and equivalents.
Claims
1. A data processing method applied to a data processing platform, the method comprising: Obtain the menu configuration information of the preset menu items selected by the user according to actual needs, register and debug in the report analysis system, and generate preset menu items. The menu configuration information includes menu attribute information and menu debugging information. In response to the user's selection of preset menu items in the display interface of the report analysis system, a data transmission channel is established between the report analysis system and a designated third-party system. The preset menu items are generated based on the menu configuration information selected by the user, and the designated third-party system is a data management system pre-specified by the user. Through the data transmission channel, data from the report analysis system and the designated third-party system are interactively processed to obtain cross-system data processing results.
2. The method according to claim 1, wherein the step of interactively processing data between the report analysis system and the designated third-party system through the data transmission channel to obtain cross-system data processing results includes: The report data generated by the report analysis system is sent to the designated third-party system through the data transmission channel. The report data is processed in the designated third-party system to obtain cross-system data processing results.
3. The method according to claim 1, further comprising, after the step of responding to the user's selection of a preset menu item in the display interface of the report analysis system: The data processing results are displayed in a window on the display interface of the report analysis system. After the step of interacting and processing data between the report analysis system and the designated third-party system through the data transmission channel to obtain cross-system data processing results, the method further includes: The data processing results across the system are displayed through the data processing result display window.
4. The method according to claim 1, wherein obtaining the menu configuration information of the preset menu item selected by the user according to actual needs, registering and debugging it in the report analysis system, and generating the preset menu item includes: In response to a user-input menu creation command, a menu attribute configuration page and a menu debugging page are displayed, wherein the menu creation command is used to configure the menu creation environment; Obtain the menu attribute information selected by the user on the menu attribute configuration page and the menu debugging information selected on the menu debugging page; Based on the menu debugging information, determine the menu creation data corresponding to the menu creation instruction; Based on the menu attribute information, the menu creation data is processed to generate preset menu items.
5. The method according to claim 4, wherein the menu creation instruction includes a code creation instruction; The step of responding to a menu creation instruction input by the user includes: Responding to user-inputted code creation instructions; Based on the code creation instructions, a code creation template is displayed so that the user can generate local menu code based on the code creation template.
6. The method according to claim 4, wherein the menu attribute information includes a code execution mode, and the menu debugging information includes a code debugging mode; The step of determining the menu creation data corresponding to the menu creation instruction based on the menu debugging information includes: Based on the code debugging mode, determine the menu creation data corresponding to the menu creation instruction; The step of processing the menu creation data according to the menu attribute information to generate preset menu items includes: Based on the code execution mode, the menu creation data is processed to generate preset menu items.
7. The method according to claim 6, wherein the code debugging mode includes a local debugging mode, and the menu creation data includes local menu code; The step of determining the menu creation data corresponding to the menu creation instruction based on the code debugging mode includes: According to the local debugging mode, read the local menu code corresponding to the menu creation instruction from the local service; The step of processing the menu creation data according to the code execution mode to generate preset menu items includes: Based on the code execution mode, the local code of the menu is processed to generate preset menu items.
8. The method according to claim 6, wherein the code debugging mode includes a release package debugging mode, and the menu creation data includes the release code; The step of determining the menu creation data corresponding to the menu creation instruction based on the code debugging mode includes: According to the debugging mode of the package to be released, read the code to be released corresponding to the menu creation instruction from the package to be released; The step of processing the menu creation data according to the code execution mode to generate preset menu items includes: Based on the code execution mode, the code to be released is processed to generate preset menu items.
9. The method according to claim 6, wherein the code debugging mode includes a released package debugging mode, and the menu creation data includes released code; The step of determining the menu creation data corresponding to the menu creation instruction based on the code debugging mode includes: Based on the published package debug mode, read the published code corresponding to the menu creation instruction from the published package; The step of processing the menu creation data according to the code execution mode to generate preset menu items includes: Based on the code execution mode, the published code is processed to generate preset menu items.
10. The method according to any one of claims 4-9, wherein the menu attribute information includes a code execution mode, and the code execution mode includes an isolated execution mode; The step of processing the menu creation data according to the menu attribute information to generate preset menu items includes: According to the isolated operation mode, the menu creation data is isolated and processed to generate preset menu items.
11. The method according to claim 10, wherein the isolated operation mode includes a style isolation mode and a resource isolation mode; The step of isolating and running the menu creation data according to the isolated operation mode to generate preset menu items includes: The menu creation data is categorized to determine menu style data and menu resource data; The menu style data is isolated and processed using the style isolation mode, and the menu resource data is isolated and processed using the resource isolation mode to generate preset menu items.
12. A data processing apparatus, applied to a data processing platform, the apparatus comprising: The generation module is configured to obtain the menu configuration information of the preset menu items selected by the user according to actual needs, register and debug in the report analysis system, and generate the preset menu items. The menu configuration information includes menu attribute information and menu debugging information. The building module is configured to respond to the user's selection of preset menu items in the display interface of the report analysis system, and to build a data transmission channel between the report analysis system and a specified third-party system. The preset menu items are generated according to the menu configuration information selected by the user, and the specified third-party system is a data management system pre-specified by the user. The processing module is configured to interact with data from the report analysis system and the designated third-party system through the data transmission channel to obtain cross-system data processing results.
13. A computing device, comprising: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions, which, when executed by the processor, implement the steps of the data processing method according to any one of claims 1 to 11.
14. A computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the data processing method according to any one of claims 1 to 11.
15. A computer program product, characterized in that, It includes computer instructions that, when executed by a processor, implement the steps of the data processing method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Web-based medical diagnostic system financial operation planning system and method
US20020082862A1