Data processing method and device for third-party interface

Through the data processing method for third-party interfaces, simulated data is generated and returned, which solves the problems of low development efficiency and inconvenient docking when maintaining smart cities, and realizes efficient data processing and docking, reducing professional literacy requirements.

CN119690699APending Publication Date: 2025-03-25GUANGZHOU FRONTOP DIGITAL ORIGINALITY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411682473.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-22
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

When maintaining smart cities, the existing BI system has low development efficiency and cannot achieve efficient docking. It also requires high professional qualities of maintenance personnel.

Method used

Provide a data processing method for third-party interfaces. By obtaining the API address and API docking documents of the third party, combining the preconfigured json object data format, json collection data format and unstructured data format, the target API interface data is generated, and the simulated data is returned to the API address and displayed on the digital large screen.

Benefits of technology

The requirements for the professional quality of maintenance personnel are reduced, and non-programmers can also perform data processing, improve the development efficiency of BI system maintenance smart cities, and achieve fast and efficient data processing and docking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119690699A_ABST
    Figure CN119690699A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data docking, and discloses a third-party interface-oriented data processing method and device, and the method comprises the steps: obtaining an API address requested to be configured and a corresponding API docking document when a data request instruction of a third party is received; generating target API interface data based on the API docking document in combination with a pre-configured json object data format, a json set data format and an unstructured data format; returning analog data to the API address according to the API interface data; and displaying the analog data on a digital large screen pre-matched with the API address. The method has the effects of improving the development efficiency of maintaining the smart city by the BI system and realizing rapid and efficient data docking.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data connection, and in particular to a data processing method and device for a third-party interface. Background Art

[0002] At present, with the rapid development of the Internet, various BI (Business Intelligence) systems emerge in an endless stream, playing an irreplaceable role in the construction of smart cities.

[0003] The existing BI system mainly connects to the smart city by programmers writing codes, processing data formats, forwarding interfaces, and then compiling, packaging and running programs. The development efficiency of code development interfaces and charts is low and cannot adapt to the iteration speed of smart cities. At the same time, it also requires high professional quality of maintenance personnel.

[0004] With respect to the above-mentioned related technologies, the inventors found that the existing BI system for maintaining smart cities has the problem of low development efficiency and inability to achieve efficient docking. Summary of the invention

[0005] In order to improve the development efficiency of BI systems in maintaining smart cities and achieve efficient docking, this application provides a data processing method and device for third-party interfaces.

[0006] In a first aspect, the present application provides a data processing method for a third-party interface.

[0007] This application is achieved through the following technical solutions:

[0008] A data processing method for a third-party interface comprises the following steps:

[0009] When receiving a data request instruction from a third party, obtain the API address configured in the request and the corresponding API connection document;

[0010] Based on the API docking document, combined with the preconfigured json object data format, json collection data format and unstructured data format, generate target API interface data;

[0011] According to the API interface data, return simulation data to the API address;

[0012] The simulation data is displayed on a digital large screen pre-matched with the API address.

[0013] In a preferred example, the present application can be further configured as follows: based on the API docking document, combined with the preconfigured json object data format, json collection data format and unstructured data format, the step of generating the target API interface data includes:

[0014] Use GroovyClassLoader technology and ScriptEngineManager technology to dynamically hot load and cache local data;

[0015] Obtaining data item type from the API connection document;

[0016] Based on the local data, in combination with the json object data format, the json collection data format and the unstructured data format, the data matching the data item type is filtered to obtain the target API interface data.

[0017] In a preferred example, the present application can be further configured as follows: it also includes the following steps:

[0018] When receiving a query request instruction from a third party, in response to the query request instruction, prompting to download and fill in a template file;

[0019] Detect whether to import the template file;

[0020] When the template file is detected, the preset global static resource is used to call the funswitch interface and the corresponding request method to obtain query data, and the original template file is updated according to the template file;

[0021] Return query data to the third party.

[0022] In a preferred example, the present application may be further configured as follows: when receiving a query request instruction from a third party, the following steps are also included:

[0023] Pre-fetch username and password for token generation;

[0024] returning said token to a third party;

[0025] When receiving a query request instruction from a third party, parsing whether the header of the query request instruction carries the token;

[0026] If the token is carried, the query request instruction is received and the legitimacy and timeliness of the token are verified;

[0027] When the verification is passed, respond to the query request instruction.

[0028] In a preferred example, the present application can be further configured as follows: after the steps of verifying the legitimacy and timeliness of the token, it also includes:

[0029] When the token expires, a new token is generated by matching the corresponding user name and the corresponding password;

[0030] The new token is returned to the third party.

[0031] In a preferred example, the present application can be further configured as follows: it also includes the following steps:

[0032] Preset the callback interface type of the alarm message and configure the access path;

[0033] Matching a corresponding API address for the warning message, and returning the access path to the third party;

[0034] When an alarm request instruction from a third party is received, the alarm message is pushed to the API address based on the access path, and the alarm message is controlled to be displayed on the digital large screen pre-matched with the API address.

[0035] In a second aspect, the present application provides a data processing device for a third-party interface.

[0036] This application is achieved through the following technical solutions:

[0037] A data processing device for a third-party interface, comprising:

[0038] The data configuration module is used to obtain the API address of the requested configuration and the corresponding API connection document when receiving a data request instruction from a third party;

[0039] A data processing module generates target API interface data based on the API docking document and in combination with preconfigured json object data format, json collection data format and unstructured data format;

[0040] A data result module, used to return simulation data to the API address according to the API interface data;

[0041] A data visualization module is used to display the simulation data on a digital large screen pre-matched with the API address.

[0042] In a preferred example, the present application can be further configured as follows: further comprising:

[0043] A query guiding module, for prompting to download and fill in a template file in response to a query request instruction received from a third party;

[0044] A query detection module, used to detect whether the template file is imported;

[0045] A query processing module, which is used to, when the template file is detected, use a preset global static resource to call a funswitch interface and a corresponding request method to obtain query data, and update the original template file according to the template file;

[0046] The query result module is used to return the query data to the third party.

[0047] In a preferred example, the present application can be further configured as follows: further comprising:

[0048] The alarm configuration module is used to preset the callback interface type of the alarm message and configure the access path;

[0049] An alarm matching module, used to match the corresponding API address for the alarm message and return the access path to the third party;

[0050] The alarm push module is used to push the alarm message to the API address based on the access path when receiving an alarm request instruction from a third party, and control the alarm message to be displayed on the digital large screen pre-matched with the API address.

[0051] In a third aspect, the present application provides a computer device.

[0052] This application is achieved through the following technical solutions:

[0053] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any one of the above-mentioned data processing methods for a third-party interface when executing the computer program.

[0054] In summary, compared with the prior art, the technical solution provided by this application has at least the following beneficial effects:

[0055] When receiving a data request instruction from a third party, obtain the API address configured in the request and the corresponding API docking document to determine the client address and required data; based on the API docking document, combined with the pre-configured json object data format, json collection data format and unstructured data format, generate the target API interface data to process the required data in the configured data format and generate the target API interface data, thereby reducing the professional quality requirements for maintenance personnel and allowing non-programmers to perform data processing; based on the API interface data, return simulated data to the API address and display it on a digital large screen; when the third-party service has not yet been deployed, simulate the data in the API docking document for preview by the third party, without the need for compilation and packaging, making docking more efficient and more convenient, thereby improving the development efficiency of the BI system in maintaining smart cities and achieving the purpose of fast and efficient data processing and docking with third parties. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 A flowchart of a data processing method for a third-party interface provided as an exemplary embodiment of the present application.

[0057] Figure 2 An example diagram of data request processing of a data processing method for a third-party interface provided as an exemplary embodiment of the present application.

[0058] Figure 3 Another flowchart of a data processing method for a third-party interface provided as an exemplary embodiment of the present application.

[0059] Figure 4 A data processing functional framework diagram of a funswitch interface of a data processing method for a third-party interface provided as an exemplary embodiment of the present application.

[0060] Figure 5 Another flowchart of a data processing method for a third-party interface provided as an exemplary embodiment of the present application.

[0061] Figure 6 A structural block diagram of a data processing device oriented to a third-party interface provided for another exemplary embodiment of the present application. DETAILED DESCRIPTION

[0062] This specific embodiment is merely an explanation of the present application and is not a limitation of the present application. After reading this specification, those skilled in the art may make modifications to the present embodiment without any creative contribution as needed, but such modifications are protected by the patent law as long as they are within the scope of the claims of the present application.

[0063] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0064] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally means that the associated objects before and after are in an "or" relationship.

[0065] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.

[0066] Reference Figure 1 , an embodiment of the present application provides a data processing method for a third-party interface, and the main steps of the method are described as follows.

[0067] S11: When receiving a data request instruction from a third party, obtain the API address of the request configuration and the corresponding API connection document;

[0068] S12: Based on the API docking document, combined with the pre-configured json object data format, json collection data format and unstructured data format, generate target API interface data;

[0069] S13: according to the API interface data, returning simulation data to the API address;

[0070] S14: Displaying the simulation data on a digital large screen pre-matched with the API address.

[0071] Specifically, the third party provides an API docking document and issues a data request instruction. The visual data processing background of this application obtains the API address of the third party that requests the configuration and the corresponding API docking document, combines the pre-configured json object data format, json collection data format and unstructured data format, and generates the target API interface data when the third party's service has not yet been deployed, and simulates the data in the API docking document for the third party to preview without compiling and packaging.

[0072] The returned data can be JSON object data, JSON collection data and unstructured data, which has a wide range of applications.

[0073] A json object is a data structure represented in the form of key-value pairs (key:value). Each key is a string, and the value can be a string, a number, a Boolean value, an array, another object, or null. A json object can represent an entity or record, such as the details of a user, product, or order, to facilitate data interaction between the front-end and back-end.

[0074] A json collection is an array in which each element is a json object, which is used to represent a collection of multiple entities or records, such as a group of users, a product list, or an order queue, and can implement fast batch operations.

[0075] JSON objects and JSON collections can be directly stored in NoSQL databases (such as MongoDB, CouchDB), or stored in the system through files, and then use existing JSON libraries, such as JavaScript's JSON.parse() and JSON.stringify(), Python's json module, etc., to extract, modify and combine target data through traversal, filtering, mapping and other operations.

[0076] Unstructured data, such as text data, images, videos, log files, social media content, etc., has no fixed pattern or structure.

[0077] Unstructured data can be stored in big data storage systems such as HDFS, S3, or document management systems, and then use natural language processing (NLP), image recognition, big data analysis and other technologies, such as using regular expressions to process text data, or using the image processing library OpenCV to process images, and extract target information through pattern recognition, classification, clustering and other operations, and apply it to scenarios such as data mining, sentiment analysis, content recommendation, image and video recognition.

[0078] In one embodiment, based on the API docking document, combined with the preconfigured json object data format, json collection data format and unstructured data format, the step of generating target API interface data includes:

[0079] Use GroovyClassLoader technology and ScriptEngineManager technology to dynamically hot load and cache local data;

[0080] Obtaining data item type from the API connection document;

[0081] Based on the local data, in combination with the json object data format, the json collection data format and the unstructured data format, the data matching the data item type is filtered to obtain the target API interface data.

[0082] Through GroovyClassLoader technology, Groovy scripts are loaded and compiled on the Java background to achieve online coding. Through ScriptEngineManager technology, script engines of multiple scripting languages ​​are managed on the Java background, and the front-end code is transferred to the back-end for dynamic hot loading and caching of local data, and then filtered and returned to the interface layer.

[0083] like Figure 2Among them, method management is a data processing method for third-party interfaces in this application, indicator management is mainly responsible for connecting to third-party business interfaces, filtering and processing data returned by third parties, instant messaging WebSocket, message center MQ, database execution language SQL, and global static resources represent different data sources.

[0084] Reference Figure 3 In one embodiment, a data processing method for a third-party interface further includes the following steps:

[0085] S21: when receiving a query request instruction from a third party, in response to the query request instruction, prompting to download and fill in a template file;

[0086] S22: Detect whether the template file is imported;

[0087] S23: when the template file is detected, the preset global static resource is used to call the funswitch interface and the corresponding request method to obtain query data, and the original template file is updated according to the template file;

[0088] S24: Return the query data to the third party.

[0089] Specifically, data docking is performed using the global static resource method of the background, and a template file, such as an Excel file, is uploaded to the funswitch interface of the background through a third party. When the template file is detected, the required data is obtained in combination with the corresponding data request method.

[0090] Global static resources do not change with specific pages or components in the application, including images, style sheets (CSS), JavaScript files, fonts, and icons. Global static resources are stored in a specific directory and use a version number or hash value as part of the resource file name to ensure that users always load the latest version of the resource.

[0091] When referencing global static resources, by calling the funswitch interface, real-time performance is stronger, there is no need to redeploy the application, set the HTTP request method or WebSocket request method to obtain query data, and use the relative path or absolute path to index the target data. It also supports data docking when the third party does not have a programmer or the third party's development capabilities are insufficient. The docking efficiency is higher and the reusability and loading efficiency of resources are improved.

[0092] Reference Figure 4 In this embodiment, the data processing function of the funswitch interface is shown in the figure, and the configuration parameters are selected by type through the front-end page.

[0093] When operating, the third party needs to first click the download template button in the background to download the template file, and modify the data based on the template file. When deleting, the name item and value item must be retained.

[0094] After the modification is completed, the template file is imported. At this time, a full deletion operation will be performed, that is, all the template files of the previous version will be deleted. When the download is triggered later, the latest modified template file will appear to reduce the system's resource usage.

[0095] Reference Figure 5 In one embodiment, a data processing method for a third-party interface further includes the following steps:

[0096] S31: preset the callback interface type of the alarm message and configure the access path;

[0097] S32: matching the corresponding API address for the warning message, and returning the access path to the third party;

[0098] S33: When an alarm request instruction is received from a third party, the alarm message is pushed to the API address based on the access path, and the alarm message is controlled to be displayed on the digital large screen pre-matched with the API address.

[0099] When the background receives an alarm request instruction from a third party, it pre-selects the callback interface type, fills in the configuration access path, configures the corresponding front-end API address, and directly pushes the alarm message to the matching API address in websocket mode, and displays the alarm information on the digital large screen to realize the front-end alarm function. There is no need for online coding, packaging, and packaging. It supports mq configuration and pushes the received mq message directly to the corresponding websocket path, which also reduces the requirements for professionals and does not require local storage of alarm messages.

[0100] In one embodiment, when a query request instruction from a third party is received, the following steps are also included:

[0101] Pre-fetch username and password for token generation;

[0102] returning said token to a third party;

[0103] When receiving a query request instruction from a third party, parsing whether the header of the query request instruction carries the token;

[0104] If the token is carried, the query request instruction is received and the legitimacy and timeliness of the token are verified;

[0105] When the verification is passed, respond to the query request instruction.

[0106] Specifically, the background adds an automatic verification token mechanism when requesting data queries. By configuring the token required before interaction, before initiating a query request instruction, first request the login interface to obtain the required token (verification parameter).

[0107] The backend generates a preset token through the username and password and returns it to the third party. The token is a string of characters that includes information such as user identity, permissions, and validity period, making it easy to transmit and verify.

[0108] The third party stores the received token in the browser's localStorage, sessionStorage or cookie. In subsequent query requests, the third party will carry the token in the request header.

[0109] When receiving a query request instruction from a third party, the backend parses the query request instruction to see if there is a preset token. The token is located in the header of the query request instruction, such as the Authorization header.

[0110] If there is a preset token, the background receives the query request instruction and verifies the legitimacy and timeliness of the token.

[0111] When the verification is successful, the background responds to the query request instruction and returns the query data to the third party; when the verification fails, the background returns the corresponding error message, such as 401Unauthorized.

[0112] In this embodiment, the structure of the token may be a JWT (JSON Web Token) structure, including a header, a payload, and a signature, each of which is separated by a . HMAC or RSA algorithm may be used for signing to prevent tampering and enhance privacy.

[0113] In one embodiment, after the steps of verifying the legitimacy and timeliness of the token, the process further includes:

[0114] When the token expires, a new token is generated by matching the corresponding user name and the corresponding password;

[0115] The new token is returned to the third party.

[0116] When the validity of the token does not meet the preset time conditions, the refresh token mechanism is used to generate a new token and return it to the third party without the user having to log in again, which is more convenient to use.

[0117] In one embodiment, the third party may be a smart city system, a data middle platform, etc.

[0118] To sum up, a data processing method for a third-party interface obtains the API address configured in the request and the corresponding API docking document when receiving a data request instruction from a third party to determine the client address and demand data; based on the API docking document, combined with the pre-configured json object data format, json collection data format and unstructured data format, the target API interface data is generated to process the demand data according to the configured data format to generate the target API interface data, thereby reducing the professional quality requirements for maintenance personnel, and non-programmers can also perform data processing; based on the API interface data, the simulated data is returned to the API address and displayed on a digital large screen; it is used to simulate the data in the API docking document for preview by the third party when the third-party service has not yet been deployed, without the need for compilation and packaging, with higher docking efficiency and more convenient docking, thereby improving the development efficiency of the BI system in maintaining smart cities and achieving the purpose of fast and efficient data processing and docking with third parties.

[0119] A data processing method for third-party interfaces can realize functions such as data simulation, real-time dynamic data processing, data collection and sharing, etc. It integrates data processing and data simulation, supports callback interface functions, supports the use of interfaces provided by third parties to obtain online data and convert them into simulated data of the same data format, supports writing Groovy and JavaScript code on the front-end page and accessing the interface layer, supports interface debugging, simulated parameter passing, etc., without on-site compilation, packaging, etc., reduces unnecessary docking and development processes, and also reduces the professional quality requirements for professionals.

[0120] A data processing method for third-party interfaces supports programmer mode and non-programmer mode. In programmer mode, the method management can be used to compile and update methods on the page to implement new functions; in non-programmer mode, the configuration page can be used to configure through visual operations, generate corresponding interfaces, and automatically process data. The whole configuration is visualized and no on-site code development is required. This reduces a lot of workload for the maintenance of smart cities, greatly reduces the time for code development, release, and debugging, and also avoids tedious code development work.

[0121] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0122] Reference Figure 6 The present application also provides a data processing device for a third-party interface, which corresponds one-to-one to a data processing method for a third-party interface in the above embodiment. The data processing device for a third-party interface includes:

[0123] The data configuration module is used to obtain the API address of the requested configuration and the corresponding API connection document when receiving a data request instruction from a third party;

[0124] A data processing module generates target API interface data based on the API docking document and in combination with preconfigured json object data format, json collection data format and unstructured data format;

[0125] A data result module, used to return simulation data to the API address according to the API interface data;

[0126] A data visualization module is used to display the simulation data on a digital large screen pre-matched with the API address.

[0127] A data processing device for a third-party interface further includes:

[0128] A query guiding module, for prompting to download and fill in a template file in response to a query request instruction received from a third party;

[0129] A query detection module, used to detect whether the template file is imported;

[0130] A query processing module, which is used to, when the template file is detected, use a preset global static resource to call a funswitch interface and a corresponding request method to obtain query data, and update the original template file according to the template file;

[0131] The query result module is used to return the query data to the third party.

[0132] A data processing device for a third-party interface further includes:

[0133] A token generation module, used to pre-acquire a username and password for token generation, and return the token to a third party;

[0134] A token detection module, configured to analyze whether the header of a query request instruction carries the token when receiving a query request instruction from a third party;

[0135] A token verification module, for receiving the query request instruction if the token is carried, and verifying the legitimacy and timeliness of the token; and responding to the query request instruction when the verification is passed;

[0136] The token update module is used to match the corresponding user name and the corresponding password to generate a new token when the token expires, and return the new token to the third party.

[0137] A data processing device for a third-party interface further includes:

[0138] The alarm configuration module is used to preset the callback interface type of the alarm message and configure the access path;

[0139] An alarm matching module, used to match the corresponding API address for the alarm message and return the access path to the third party;

[0140] The alarm push module is used to push the alarm message to the API address based on the access path when receiving an alarm request instruction from a third party, and control the alarm message to be displayed on the digital large screen pre-matched with the API address.

[0141] For the specific definition of a data processing device for a third-party interface, please refer to the definition of a data processing method for a third-party interface in the above text, which will not be repeated here.

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

[0143] In one embodiment, a computer device is provided, which may be a server. The computer device includes a processor, a memory, a network interface, and a database connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, any of the above-mentioned data processing methods for a third-party interface is implemented.

[0144] In one embodiment, a computer-readable storage medium is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, any one of the above-mentioned data processing methods for a third-party interface is implemented.

[0145] In one embodiment, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the computer program implements any one of the above-mentioned data processing methods for a third-party interface.

[0146] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. When the computer program is executed, it may include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0147] Those skilled in the art will clearly understand that for the sake of convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the system can be divided into different functional units or modules to complete all or part of the functions described above.

Claims

1. A data processing method for a third-party interface, characterized in that: The following steps are included: When receiving a data request instruction from a third party, obtain the API address configured in the request and the corresponding API connection document; Based on the API docking document, combined with the preconfigured json object data format, json collection data format and unstructured data format, generate target API interface data; According to the API interface data, return simulation data to the API address; The simulation data is displayed on a digital large screen pre-matched with the API address.

2. The data processing method for a third-party interface according to claim 1, characterized in that: Based on the API docking document, combined with the preconfigured json object data format, json collection data format and unstructured data format, the step of generating target API interface data includes: Use GroovyClassLoader technology and ScriptEngineManager technology to dynamically hot load and cache local data; Obtaining data item type from the API connection document; Based on the local data, in combination with the json object data format, the json collection data format and the unstructured data format, the data matching the data item type is filtered to obtain the target API interface data.

3. The data processing method for third-party interface according to claim 1, characterized in that: The following steps are also included: When receiving a query request instruction from a third party, in response to the query request instruction, prompting to download and fill in a template file; Detect whether to import the template file; When the template file is detected, the preset global static resource is used to call the funswitch interface and the corresponding request method to obtain query data, and the original template file is updated according to the template file; Return query data to the third party.

4. The data processing method for a third-party interface according to claim 3, characterized in that: When receiving a query request from a third party, The following steps are included: Pre-fetch username and password for token generation; returning said token to the third party; When receiving a query request instruction from a third party, parsing whether the header of the query request instruction carries the token; If the token is carried, the query request instruction is received and the legitimacy and timeliness of the token are verified; When the verification is passed, respond to the query request instruction.

5. The data processing method for a third-party interface according to claim 4, characterized in that: After the steps of verifying the legitimacy and timeliness of the token, it also includes: When the token expires, a new token is generated by matching the corresponding user name and the corresponding password; The new token is returned to the third party.

6. The data processing method for a third-party interface according to any one of claims 1 to 5, characterized in that: The following steps are also included: Preset the callback interface type of the alarm message and configure the access path; Matching a corresponding API address for the warning message, and returning the access path to the third party; When an alarm request instruction from a third party is received, the alarm message is pushed to the API address based on the access path, and the alarm message is controlled to be displayed on the digital large screen pre-matched with the API address.

7. A data processing device for a third-party interface, characterized in that: include, The data configuration module is used to obtain the API address of the requested configuration and the corresponding API connection document when receiving a data request instruction from a third party; A data processing module generates target API interface data based on the API docking document and in combination with preconfigured json object data format, json collection data format and unstructured data format; A data result module, used to return simulation data to the API address according to the API interface data; A data visualization module is used to display the simulation data on a digital large screen pre-matched with the API address.

8. The data processing device for third-party interface according to claim 7, characterized in that: Also includes, A query guiding module, for prompting to download and fill in a template file in response to a query request instruction received from a third party; A query detection module, used to detect whether the template file is imported; A query processing module, which is used to, when the template file is detected, use a preset global static resource to call a funswitch interface and a corresponding request method to obtain query data, and update the original template file according to the template file; The query result module is used to return the query data to the third party.

9. The data processing device for third-party interface according to claim 7, characterized in that: Also includes, The alarm configuration module is used to preset the callback interface type of the alarm message and configure the access path; An alarm matching module, used to match the corresponding API address for the alarm message and return the access path to the third party; The alarm push module is used to push the alarm message to the API address based on the access path when receiving an alarm request instruction from a third party, and control the alarm message to be displayed on the digital large screen pre-matched with the API address.

10. A computer device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the method according to any one of claims 1 to 6.