Custom interaction scene exporting method and device and storage medium
Through the factory mode and configuration items, the custom interaction scene export method solves the problems of low module configuration and report generation efficiency and poor user experience in the existing technology, realizes the rapid construction and deployment of functional modules, dynamically adjusts the page display, and improves User interaction experience.
Patent Information
- Application Number
- CN202410880112.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-10-15
AI Technical Summary
The existing technology requires code modification during module configuration and report generation, resulting in high labor costs, low efficiency, and poor user experience, and cannot meet the needs of users to export customized partial content.
Using factory mode and configuration items, determine the data export components according to the application scenarios of fund product information, create a new data export structure, including export interface, data interface and configuration items, receive user configuration item parameters, export configuration item parameters in preset format, and use preset formats to export configuration item parameters. Set the function plug-in to generate a report file and download it on the cloud server.
Quickly build and deploy different functional modules and dynamically adjust page display content, which significantly improves the user's interactive experience when exporting data, reduces response time, and improves user experience.
Smart Images

Figure CN118779372A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data interaction, and in particular to a method, device and storage medium for exporting a custom interaction scene. Background Art
[0002] In the existing technology, for the problems of module configuration and report generation, the traditional method usually requires adjusting the module content by modifying the code. This method not only consumes a lot of labor costs, but is also inefficient in actual operation. In addition, due to excessive reliance on front-end technology, traditional methods often call external components to generate reports by the front end. This process may require users to wait for several minutes, resulting in long response time and poor user experience. In addition, the interactivity of this method is insufficient. It can only meet the general needs of users to export the current page content as a report, but fails to fully consider the scenario where users customize part of the current page content and export the report, which makes users feel inconvenienced during use.
[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of this application is to provide a method, device and storage medium for exporting a custom interactive scene, aiming to solve the technical problem of low interactivity of existing custom function module export reports.
[0005] To achieve the above purpose, the present application proposes a method for exporting a custom interaction scene, the method comprising:
[0006] Determine the corresponding data export component according to the application scenario of fund product information;
[0007] Select the data export component from the preset data platform to create a new data export structure, where the data export structure includes an export interface, a data interface, and configuration items;
[0008] The configuration item parameters output by the user based on the data export structure are received, and the configuration item parameters are exported in a preset format.
[0009] In one embodiment, the step of receiving the configuration item parameters output by the user based on the data export structure and exporting the configuration item parameters in a preset format includes:
[0010] Calling a preset export interface to generate an input parameter input interface for the data export structure;
[0011] The configuration item parameters input by the user are received through the input parameter input interface.
[0012] In one embodiment, the step of receiving the configuration item parameters output by the user based on the data export structure and exporting the configuration item parameters in a preset format includes:
[0013] Calling a preset function plug-in to generate a report file in a preset format from the configuration item parameters according to the data rule of the preset function plug-in;
[0014] The report file is uploaded to the cloud server so as to call the file download interface to download the report file.
[0015] In one embodiment, the step of calling a preset function plug-in and generating a report file in a preset format from the configuration item parameters according to the data rule of the preset function plug-in includes:
[0016] Cleaning the configuration item parameters according to the data rule;
[0017] The report file is generated after the cleaned configuration item parameters are converted into a preset format.
[0018] In one embodiment, the step of receiving the configuration item parameters output by the user based on the data export structure and exporting the configuration item parameters in a preset format includes:
[0019] Determining the data volume of the configuration item parameter;
[0020] When it is determined that the data volume is greater than a preset threshold, an export task of the configuration item is configured in the cloud and the step of exporting the configuration item parameters in a preset format is performed.
[0021] In one embodiment, the method for exporting a custom interaction scene further includes:
[0022] Get the data export component of the current application;
[0023] Deploy the data export component to a preset data platform.
[0024] In one embodiment, the step of deploying the data export component to a preset data platform includes:
[0025] Parsing the component structure of each of the data export components, and converting the component structure into a default data structure of the preset data platform;
[0026] The data export component converted into the default data structure is deployed to the preset data platform.
[0027] In one embodiment, the step of parsing the component structure of each of the data export components and converting the component structure into a default data structure of the preset data platform includes:
[0028] Inputting the data export component into a preset structure conversion model;
[0029] The data export component is converted into a default data structure of the preset data platform using the preset structure conversion model.
[0030] In addition, to achieve the above-mentioned purpose, the present application also proposes a custom interaction scene exporting device, the device comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being configured to implement the steps of the custom interaction scene exporting method as described above.
[0031] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the custom interaction scene export method described above are implemented.
[0032] One or more technical solutions proposed in this application have at least the following technical effects:
[0033] In the technical solution of this application, the corresponding data export component is determined according to the application scenario of the fund product information; the data export component is selected from the preset data platform to create a new data export structure, and the data export structure includes an export interface, a data interface and configuration items; the configuration item parameters output by the user based on the data export structure are received, and the configuration item parameters are exported in a preset format. This application adopts the factory mode and configuration items, which can quickly build and deploy different functional modules, and uses configuration items to control the page display content, which can be dynamically adjusted according to the module selected by the user and the change conditions, greatly enhancing the user's interactive experience when exporting data. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0035] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0036] Figure 1 A flowchart of the first embodiment of the method for exporting a customized interactive scene in this application is provided;
[0037] Figure 2 A flowchart diagram of the second embodiment of the method for exporting a customized interactive scene in this application;
[0038] Figure 3 This is a schematic diagram of the device structure of the hardware operating environment involved in the customized interactive scene export method in the embodiment of the present application.
[0039] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0040] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0041] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0042] The main solution of the embodiment of the present application is: determine the corresponding data export component according to the application scenario of the fund product information; select the data export component from the preset data platform to create a new data export structure, and the data export structure includes an export interface, a data interface and configuration items; receive the configuration item parameters output by the user based on the data export structure, and export the configuration item parameters in a preset format.
[0043] In the existing technology, for the problems of module configuration and report generation, the traditional method usually requires the adjustment of module content by modifying the code. This method not only consumes a lot of labor costs, but also has low efficiency in actual operation.
[0044] This application provides a solution that uses factory mode and configuration items to quickly build and deploy different functional modules, and uses configuration items to control the page display content. It can be dynamically adjusted according to the modules selected by the user and the change conditions, greatly enhancing the user's interactive experience when exporting data.
[0045] Based on this, the present application embodiment provides a method for exporting a custom interaction scene. Figure 1 , Figure 1 This is a flow chart of the first embodiment of the method for exporting a customized interactive scene in this application.
[0046] In this embodiment, the method for exporting a custom interaction scene includes steps S10 to S30:
[0047] Step S10, determining a corresponding data export component according to the application scenario of the fund product information;
[0048] Step S20, selecting the data export component from the preset data platform to create a new data export structure, wherein the data export structure includes an export interface, a data interface, and configuration items;
[0049] Step S30: receiving configuration item parameters output by the user based on the data export structure, and exporting the configuration item parameters in a preset format.
[0050] In this embodiment, when the user has relevant needs based on the current fund product information, the application scenario of the fund product information is determined based on the user needs shown. The application scenario is the product information demand required by the user based on the fund product information. The application scenarios of the fund product information can be mainly divided into two categories: external customer service and internal automatic office. The specific setting information of the application scenario is as follows:
[0051] 1. External Customer Service
[0052] Providing the latest fund investment information: Fund companies can send the latest fund investment information to registered users through various channels, such as mobile phone text messages, e-mails, official websites, etc., to help investors understand market trends and fund performance.
[0053] Provide the latest fund information and growth rate: Fund companies regularly release the latest fund information, including fund net value, yield, holdings, etc., as well as corresponding growth information, so that investors can keep abreast of the fund's operations and investment results.
[0054] Meeting information query and subscription needs: Registered users can query and subscribe to fund information they are interested in from fund companies through mobile phones, computers and other devices to meet personalized investment needs.
[0055] 2. Internal automatic office
[0056] Automatic triggering business needs: Fund companies can carry out automatic triggering SMS business to ensure that specific SMS content automatically executes downlink notifications at a specific time or under specific conditions. For example, when the fund net value reaches a preset threshold, a reminder SMS is automatically sent to investors.
[0057] Improved customer service quality: By introducing advanced information technology, such as artificial intelligence customer service, fund companies can improve customer service quality, answer investors' questions more efficiently, and improve investor satisfaction.
[0058] Specifically, the application scenarios of fund product information can also be combined with current technological development trends to develop relevant application scenarios for the purpose of improving customer service, and the development and use of the application scenarios can be realized based on the screening of corresponding fund product information.
[0059] In the above, after determining the application scenario of the fund product information, the data export component to be used is determined based on the application scenario. The data export component is a functional component applied when exporting the fund product information. The data export component is selected from a preset data platform to create a data export structure used in the application scenario. The preset data platform is a unified data platform that pre-stores multiple data export components. In addition, in the preset data platform, a new data export structure application can be created through the selected data export component.
[0060] When a new data export structure is created according to the selected data export component, it is essentially a process of combining the export interface, data interface and configuration items. The export interface is a page for user-selectable export items, the data interface is a data interface set based on business requirements, and the configuration items are a configuration process based on the function module configuration and the configuration item parameters in the function module. In addition, the export interface, data interface and configuration items are all designed based on the functions set by the relevant data export components possessed by the preset data platform.
[0061] Based on the design of the data export interface, there are four types:
[0062] The first interface is used to obtain the detailed content of a single module, receiving the module code, time interval and other conditions as input parameters to obtain the detailed data of this module;
[0063] The second interface is used to obtain all modules corresponding to the product, receive the product code as input, and return all display modules corresponding to the product based on the product type and module configuration items. Different types of products and configuration items will result in different modules displayed for different types of products;
[0064] The third interface is used to generate a PDF report by passing in the address of the export page. After successful generation, the PDF file is uploaded to the cloud server ECS and the unique identification file ID is returned;
[0065] The fourth interface is used to download the successfully generated PDF report file from the cloud server ECS using the returned file ID.
[0066] The configuration item design based on the newly created data export structure is characterized as an editing operation of the configuration item. The configuration item includes a two-step configuration process, first configuring one or more functional module structures, and then configuring the specific configuration item content of each functional module based on the configured one or more functional modules. The configuration process is specifically characterized by the following steps:
[0067] Step 1: Add the content to be displayed in the function module to the configuration items of the function module.
[0068] According to the above module content configuration item structure, the newly added configuration items here are used to display the main content of each module on the page. In step 2, a module basic information configuration item can be associated with multiple module content configuration items, that is, a module can be composed of multiple module contents.
[0069] The module content is divided into three types according to reportType: data, word, and mix. Data is used to indicate that the content of the configuration item is pure chart data such as tables, forms, pie charts, and radar charts, and does not require text display. Word indicates that the content of the configuration item is pure text content. Mix is a mixture of the previous two types, indicating that both text and charts are required.
[0070] reportTemplateContent is used to display the content, and needs to be used in conjunction with reportType. The data type item is empty, and the word and mix items have values. Usually it is text + placeholder + simple style label. Placeholders are usually used to replace some variable data, such as yield, maximum drawdown, basic product information, etc., which are different for each product and are not fixed. Here, different style labels and different placeholders can be added according to the actual business scenario to form the text content that best suits the business scenario.
[0071] Step 2: Add the module you want to display in the configuration item of the module basic information, and associate it with the module content in step 1.
[0072] The configuration items of the module's basic information are mainly reflected in the title of each module on the interface, and whether each module is displayed or not.
[0073] Each field in the configuration item of the module basic information is important. reportModuleCode is the unique identifier for each module. The value configured here must be consistent with the value registered in the template factory in the subsequent step 3, otherwise it will not match. The value configured here for reportModuleName affects the title of the module in the front-end interface.
[0074] suitProductType is used to identify whether the category of the current product matches the module. The value configured here is the number corresponding to the product category. The priority here is higher than the value of suitProductType in the configuration item in step 1. If the configuration item here does not match the category of the current product, then even if the suitProductType in the module content configuration item matches, the content of the module will not be displayed on the interface.
[0075] Status indicates whether the module is enabled. If it is true, it is enabled, otherwise it is not enabled. This configuration has the highest priority. If it is false, even if other configuration items are configured, they will not take effect. Order indicates the configuration order of the module among all modules, starting from 1 and sorted from small to large.
[0076] The value configured in linkTemplate here will be converted into a List separated by "," to match the value of reportTemplateCode in the configuration item in step 1. The matched values will be sorted from small to large according to the order field. In this way, the association between the two configuration items of module and module content is established.
[0077] Step 3: Implement the corresponding module according to the factory mode
[0078] Because the data source actually called by each module may be inconsistent and each module may have personalized requirements. Therefore, combined with the factory pattern, the common methods of all modules are abstracted to establish a basic template. The remaining templates inherit the basic template as sub-templates, and implement some personalized operations in each sub-template. At the same time, a template factory is established, which is used to register and obtain each sub-template. A global Map is added to the factory to save each module. Each template is registered with a unique code, and each call is also matched to the corresponding template through this code.
[0079] The basic template implements reading configuration items, passing the template code through the front end, and using the template factory to obtain the matching template. Then the contents of the module content configuration items are assembled. In each sub-template, the data source is obtained, and the placeholder is replaced with the data to be displayed. Finally, multiple personalized templates are formed.
[0080] Step 4: Return module data through the interface
[0081] When the front end calls the interface for obtaining all modules based on the product code, the modules that meet the product category are returned to the front end through this interface according to the mapping relationship between the modules and product categories configured in the above steps.
[0082] For each module obtained, use the code of each module to call the interface for obtaining the details of a single module, obtain the detailed content of a single module, integrate the obtained module content together, and generate a new page URL. This page URL will also be used as an input parameter for subsequent calls to the interface for generating PDF reports on the backend.
[0083] In this embodiment, the function module structure and the specific configuration items of each function module can be configured based on the parameters recorded in the function module structure table and the function module configuration item table as shown below:
[0084]
[0085] Table 1, Functional module structure table
[0086]
[0087] Table 2 Functional module configuration items
[0088] After the data export structure is created, the configuration item parameters input by the user are received through the page URL generated by integrating the module contents of the functional modules, that is, the step of receiving the configuration item parameters output by the user based on the data export structure and exporting the configuration item parameters in a preset format includes:
[0089] Calling a preset export interface to generate an input parameter input interface for the data export structure;
[0090] The configuration item parameters input by the user are received through the input parameter input interface.
[0091] According to the created data export structure, the preset export interface is called based on the designed configuration items to generate the input parameter passing interface of the data export interface. The input parameter passing interface is to pass the parameters (input parameters) into the interface (usually refers to the endpoint of the method or function AP) in programming. The input parameter passing interface allows the behavior of the interface to be customized according to the needs of the caller, and different programming languages have different parameter passing interface code representations.
[0092] In this way, according to the input parameter input interface, the user can call the backend to perform the input parameter action based on the page URL published by the input parameter input interface, and the input parameter action is the action of the user inputting the configuration item parameters based on the configuration item of the data export interface. The user can access the page URL to enter the configuration item page, and fill in or select the corresponding configuration item parameters according to the configuration item content displayed on the configuration item page.
[0093] Furthermore, the step of generating a report file application based on the configuration item parameters input by the user, that is, the step of receiving the configuration item parameters output by the user based on the data export structure and exporting the configuration item parameters in a preset format, includes:
[0094] Calling a preset function plug-in to generate a report file in a preset format from the configuration item parameters according to the data rule of the preset function plug-in;
[0095] The report file is uploaded to the cloud server so as to call the file download interface to download the report file.
[0096] After the user accesses the configuration item page through the page URL published by the input parameter interface, he enters the configuration item parameters and saves them, so that the background can receive the configuration item parameters reported by the user, call the jvppeteer plug-in to introduce the corresponding dependency according to the received configuration item parameters, and call the method BrowserFetcher.downloadIfNotExist(null) in the plug-in to download the generated report file.
[0097] After the configuration item parameters are used to generate a report file in a preset format, the report file is uploaded to the cloud server so that the user can download the report file through the file download interface. Among them, after the report file is uploaded to the cloud server, it is downloaded according to the configured PDF file format parameters and the export page URL passed in by the interface. Jump to the corresponding page, and generate the corresponding PDF file according to the configured file format parameters for the content displayed on the page after the jump. The row height and column width of the generated PDF file can be configured here. That is, it can be set to a fixed pixel value, or it can be adjusted to an adaptive mode. The adaptive mode is generally recommended, so that the page can be completely converted into a PDF file. At the same time, if the exported PDF file is very long, it can be set to be a whole PDF or a paginated PDF. It can also be set to wait until the jump page is loaded before converting it into a PDF file.
[0098] The successfully generated PDF will be uploaded to the cloud server ECS, and a unique identification file id will be generated and asynchronously returned to the front end. The asynchronous return here is to solve the problem of long response time, and the whole process is very fast. If the upload fails or an exception occurs during the generation process, it will prompt "Generation failed, please regenerate".
[0099] The reason for choosing to upload to the cloud server here is to prevent failure in exporting the generated report due to network fluctuations or other reasons during the generation process, and to increase the success rate of generating the report.
[0100] The front end obtains the unique identification id, calls the file download interface with the file id, and obtains the successfully generated PDF file. If the wrong file id is used here, an error message "the corresponding file does not exist" will be displayed, and the correct file cannot be obtained.
[0101] In addition, the step of calling the preset function plug-in and generating a report file in a preset format from the configuration item parameters according to the data rule of the preset function plug-in includes:
[0102] Cleaning the configuration item parameters according to the data rule;
[0103] The report file is generated after the cleaned configuration item parameters are converted into a preset format.
[0104] According to the configuration item parameters reported by the user, the configuration item parameters are cleaned up according to the preset data rules. The configuration item parameter cleaning process includes deleting invalid configuration item parameters, clearing duplicate items and other abnormal configuration item parameter processing. The processed configuration item parameters are converted in a preset format to generate a report file based on the configuration item parameters. The preset format is essentially a format used to characterize the actual content of the configuration item parameters. This is because when the configuration item is represented as a code method name, the configuration item parameters are expressed in the form of strings, Boolean values and numerical values. The configuration item parameters expressed in the shown form cannot truly characterize the meaning of the configuration item when it is separated from the configuration item page. Therefore, the configuration item parameters need to be formatted in a preset format, so that the configuration item parameters after the format change are generated into the report file.
[0105] In addition, the step of receiving the configuration item parameters output by the user based on the data export structure and exporting the configuration item parameters in a preset format includes:
[0106] Determining the data volume of the configuration item parameter;
[0107] When it is determined that the data volume is greater than a preset threshold, configuring the export task of the configuration item in the cloud and executing the step of exporting the configuration item parameters in a preset format
[0108] When exporting a report file based on configuration item parameters, determine whether the export of the report file will affect the use of local network resources based on the data volume of the configuration item parameters. That is, determine whether the report file will take too long to export due to the excessive data volume of the configuration item parameters. Based on this, calculate the data volume of the configuration item parameters, and when it is determined that the data volume is greater than a preset threshold, report the export task of the configuration item parameters to the cloud, so that the export operation of the configuration item parameters is executed in the cloud.
[0109] In this embodiment, the corresponding data export component is determined according to the application scenario of the fund product information; the data export component is selected from the preset data platform to create a new data export structure, and the data export structure includes an export interface, a data interface and configuration items; the configuration item parameters output by the user based on the data export structure are received, and the configuration item parameters are exported in a preset format. This application adopts the factory mode and configuration items, which can quickly build and deploy different functional modules, and uses configuration items to control the page display content, which can be dynamically adjusted according to the module selected by the user and the change conditions, greatly enhancing the user's interactive experience when exporting data.
[0110] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 2 The method for exporting a customized interaction scene further includes steps S40 to S50:
[0111] Step S40, obtaining the data export component of the current application;
[0112] Step S50: deploy the data export component to a preset data platform.
[0113] In this embodiment, according to the application scenario requirements of the current fund product information, a preset data platform is created to register relevant data export components, so as to export fund product data that meets the application scenario.
[0114] Determine the fund product information possessed by each data platform, and determine the data export component that conforms to the data form according to the data form represented by each fund product information. The data export component is essentially characterized as a data component that can form an export interface, interface and configuration item structure, and can realize key tasks such as data storage, processing, analysis and transmission. This data component includes but is not limited to storage components, processing components, transmission components, other auxiliary components and data warehouse and analysis components used in existing data structures, as shown below:
[0115] 1. Storage components: Hadoop Distributed File System (HDFS): HDFS is one of the core components of Hadoop and is used to store large data sets. It divides data into blocks and distributes them across multiple nodes, providing high fault tolerance and scalability. Other databases and storage systems: such as MySQL, MongoDB, Redis, PostgreSQL, etc. These systems are used to store and retrieve data to meet different data storage needs.
[0116] 2. Processing components: MapReduce: MapReduce is a programming model in Hadoop for processing and analyzing large-scale data sets. It decomposes tasks into two stages, Map and Reduce, to achieve parallel processing and support batch processing of large-scale data. Apache Spark: Spark is a big data processing framework based on in-memory computing, providing fast and efficient data processing capabilities. It includes multiple modules, such as Spark Core, Spark SQL, Spark Streaming, and SparkMLlib, which are used for task scheduling, memory management, structured data processing, real-time data processing, and machine learning, respectively. Flink: Flink is a big data component for real-time computing and data processing, with high fault tolerance and low latency. It is suitable for business scenarios that have high requirements for data timeliness, such as order payment status.
[0117] 3. Transmission components: networks and protocols used to transmit big data, ensuring that data can be transmitted efficiently and securely from the source to the target.
[0118] 4. Other auxiliary components: Load balancing: such as Nginx, OpenResty, LVS, F5, HAproxy, etc., used to distribute network traffic and improve system availability and performance. HTTP service: such as Nginx, Apache, etc., provide Web services and process HTTP requests and responses. Web container: such as Tomcat, Jetty, etc., used to run Web applications. Cache: such as Redis, MemCached, EhCache, etc., used to increase data access speed and reduce database pressure. Search engine: such as ElasticSearch, Solr, etc., used to process fast search and analysis of large amounts of data.
[0119] 5. Data warehouse and analysis components: Apache Hive: A data warehouse tool based on Hadoop that provides a SQL-like query language (HiveQL) that enables users to perform data warehouse tasks on a Hadoop cluster.
[0120] Since each of the data export components is represented by a data structure in a different form, when the data export components are deployed to the preset data platform to create a new data export structure, considering the application of each data export component, the data export components need to be converted into a unified data structure, that is, the step of deploying the data export components to the preset data platform includes:
[0121] Parsing the component structure of each of the data export components, and converting the component structure into a default data structure of the preset data platform;
[0122] Deploy the data export component converted to the default data structure to the preset data platform
[0123] According to the application environment of each data export component represented as a different data format, the component structure of each data export component is parsed so as to convert the data export component into a default data structure of the preset data platform. The default data structure is a data structure set by the preset data platform so as to unify the format of the data export components of the preset data platform and avoid usage errors caused by different data formats.
[0124] Therefore, the step of parsing the component structure of each of the data export components and converting the component structure into the default data structure of the preset data platform includes:
[0125] Inputting the data export component into a preset structure conversion model;
[0126] The data export component is converted into a default data structure of the preset data platform using the preset structure conversion model.
[0127] Considering the data format conversion of each data export component, the data export component is input into a preset structure conversion model, so that the data export component is converted into a default data structure through the data structure of the preset structure conversion model. The preset structure conversion model is a pre-created format conversion model, which is mainly used to handle the conversion requirements of data formats between different systems or platforms to ensure data consistency and interoperability. The data format conversion depends on the relationship between the two models. Specifically, the success of the format conversion depends on the following conditions:
[0128] Ability to parse source data formats: The conversion tool must be able to correctly parse the structure and content of the source data format.
[0129] Ability to generate target data format: The conversion tool must be able to generate data that meets the requirements of the target data format.
[0130] Data content matching: The content between the source data and the target data must have a certain matching degree to ensure that the converted data can retain the core information of the original data.
[0131] The format conversion includes 3D model format conversion: In the fields of 3D modeling, animation production, rendering, etc., the conversion requirements between common 3D model formats (such as STL, OBJ, FBX, etc.) are very common. These conversions help to share and edit 3D models between different software; CAD data conversion: In the field of engineering design and manufacturing, data exchange and sharing between different CAD software is an important requirement. Using tools such as HOOPS Exchange, you can import and export data in different CAD formats (such as DWG, Revit, etc.); Database format conversion: In the process of database migration or data integration, data format conversion between different database systems is an essential step.
[0132] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the method for exporting custom interactive scenes in the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0133] The present application provides a custom interaction scene exporting device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the custom interaction scene exporting method in the above-mentioned embodiment one.
[0134] Reference below Figure 3 , which shows a schematic diagram of the structure of a custom interaction scene export device suitable for implementing the embodiment of the present application. The custom interaction scene export device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3 The custom interaction scene export device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0135] like Figure 3As shown, the custom interactive scene export device may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the custom interactive scene export device are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the custom interaction scene export device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a custom interaction scene export device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided instead.
[0136] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0137] The custom interaction scene export device provided by the present application adopts the custom interaction scene export method in the above embodiment, which can solve the technical problem that the existing technology cannot meet the needs of abnormal transaction monitoring in the securities market. Compared with the existing technology, the beneficial effects of the custom interaction scene export device provided by the present application are the same as the beneficial effects of the custom interaction scene export method provided by the above embodiment, and the other technical features in the custom interaction scene export device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0138] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0139] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0140] The present application provides a storage medium, which is a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the custom interaction scene export method in the above-mentioned embodiment.
[0141] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0142] The computer-readable storage medium may be included in the custom interaction scene exporting device; or may exist independently without being assembled into the custom interaction scene exporting device.
[0143] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the customized interaction scene exporting device, the customized interaction scene exporting device implements the technical content of the customized interaction scene exporting method embodiment shown above.
[0144] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0145] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0146] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0147] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned custom interaction scene export method, and can solve the technical problem that the prior art cannot meet the needs of abnormal transaction monitoring in the securities market. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the custom interaction scene export method provided by the above-mentioned embodiment, and will not be repeated here.
Claims
1. A method for exporting a custom interaction scene, characterized in that: The method includes: Determine the corresponding data export component according to the application scenario of fund product information; Select the data export component from the preset data platform to create a new data export structure, where the data export structure includes an export interface, a data interface, and configuration items; The configuration item parameters output by the user based on the data export structure are received, and the configuration item parameters are exported in a preset format.
2. The method for exporting a custom interaction scene according to claim 1, characterized in that: The step of receiving the configuration item parameters output by the user based on the data export structure and exporting the configuration item parameters in a preset format comprises: Calling a preset export interface to generate an input parameter input interface for the data export structure; The configuration item parameters input by the user are received through the input parameter input interface.
3. The method for exporting a custom interaction scene according to claim 2, characterized in that: The step of receiving the configuration item parameters output by the user based on the data export structure and exporting the configuration item parameters in a preset format includes: Calling a preset function plug-in to generate a report file in a preset format from the configuration item parameters according to the data rule of the preset function plug-in; The report file is uploaded to the cloud server so as to call the file download interface to download the report file.
4. The method for exporting a custom interaction scene according to claim 3, characterized in that: The step of calling the preset function plug-in and generating a report file in a preset format from the configuration item parameters according to the data rule of the preset function plug-in includes: Cleaning the configuration item parameters according to the data rule; The report file is generated after the cleaned configuration item parameters are converted into a preset format.
5. The method for exporting a custom interaction scene according to claim 1, characterized in that: The step of receiving the configuration item parameters output by the user based on the data export structure and exporting the configuration item parameters in a preset format includes: Determining the data volume of the configuration item parameter; When it is determined that the data volume is greater than a preset threshold, an export task of the configuration item is configured in the cloud and the step of exporting the configuration item parameters in a preset format is performed.
6. The method for exporting a customized interactive scene according to any one of claims 1 to 5, characterized in that: The custom interaction scene export method further includes: Get the data export component of the current application; Deploy the data export component to a preset data platform.
7. The method for exporting a custom interaction scene according to claim 6, characterized in that: The step of deploying the data export component to a preset data platform includes: Parsing the component structure of each of the data export components, and converting the component structure into a default data structure of the preset data platform; The data export component converted into the default data structure is deployed to the preset data platform.
8. The method for exporting a custom interaction scene according to claim 7, characterized in that: The step of parsing the component structure of each of the data export components and converting the component structure into a default data structure of the preset data platform includes: Inputting the data export component into a preset structure conversion model; The data export component is converted into a default data structure of the preset data platform using the preset structure conversion model.
9. A custom interactive scene export device, characterized in that: Said include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the method for exporting a custom interaction scene as described in any one of claims 1 to 8.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the custom interaction scene exporting method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Data export method and device, computer equipment and storage medium
CN111597240A
Fund transaction processing result exporting method and device
CN113034291A
List exporting method and device, computer equipment and storage medium
CN117271635A
Cited By
Data exporting method, system and equipment and storage medium
CN119065562A
