Data interface generation method, device, storage medium and mobile terminal

By generating target data interfaces, the problem of developers needing to frequently develop APIs when integrating multiple resource data sources is solved, and a method of flexible acquisition of resource data is realized, which improves development efficiency.

CN113032473BActive Publication Date: 2025-04-25BEIJING DA MI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110336030.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-29
Publication Date
2025-04-25
Estimated Expiration
2041-03-29

AI Technical Summary

Technical Problem

When developing application programming interfaces (APIs), developers need to integrate resource data from multiple sources, resulting in secondary development of APIs from different sources, increasing development costs and reducing development efficiency.

Method used

By obtaining model information, determining the target model, and determining the target parameter information based on the target model, a target data interface is generated. This method allows developers to directly select target model and target parameter information in the interactive interface, and flexibly obtain resource data without redeveloping the API.

Benefits of technology

This method reduces the workload of developers and improves development efficiency, allowing developers to quickly obtain the resource data they need without the need for complex API secondary development.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113032473B_ABST
    Figure CN113032473B_ABST
Patent Text Reader

Abstract

The present application discloses a data interface generation method, device, storage medium and mobile terminal. The method includes obtaining model information, and determining a target model according to the model information; determining target parameter information based on the target model, the target parameter information corresponding to the target resource data contained in the target model; and generating a target data interface according to the target model and the target parameter information. Developers can directly select the target model and the corresponding target parameter information in the interactive interface corresponding to the data interface, which is convenient for developers to flexibly obtain resource data corresponding to the data interface, and there is no need to redevelop the data interface, which reduces the workload of developers and improves development efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of resource integration, and in particular to a data interface generation method, device, storage medium and mobile terminal. Background Art

[0002] Application Programming Interface (API) is a set of predefined functions that aims to provide application and developers with the ability to access a set of routines based on certain software or hardware without having to access the source code or understand the details of the internal working mechanism. With the enrichment of Web-side application products, developers need to highly abstract data for different application products and different application scenarios, design API interfaces, and develop API interfaces that match the application scenarios for use by the business side.

[0003] In actual applications, developers need to integrate resource data from multiple sources. For resource data from different sources, they need to conduct secondary development of the application programming interface. The requirements for application programming interfaces are also different, which can easily lead to problems such as high development costs and low development efficiency. Summary of the invention

[0004] The embodiments of the present application provide a data interface generation method, device, storage medium and mobile terminal, which can support developers to flexibly obtain resource data without developing new application programming interfaces, thereby improving efficiency.

[0005] In a first aspect, an embodiment of the present application provides a method for generating a data interface, including:

[0006] Acquire model information, and determine the target model according to the model information;

[0007] Determine target parameter information based on the target model, where the target parameter information corresponds to target resource data included in the target model;

[0008] Generate a target data interface based on the target model and target parameter information.

[0009] In an optional solution of the first aspect, before obtaining the model information and determining the target model according to the model information, the method further includes:

[0010] Acquire multiple model samples and resource data samples corresponding to each model sample;

[0011] Establishing a mapping relationship between each model sample and each resource data sample corresponding to the model sample, and saving the mapping relationship to the model database;

[0012] Obtain model information and determine the target model based on the model information, specifically:

[0013] The model information is obtained, and a target model is determined in a model database according to the model information.

[0014] In yet another optional solution of the first aspect, acquiring model information, and determining a target model in a model database according to the model information, specifically includes:

[0015] Obtain model type information and interface path information, and determine the target model in the model database according to the model type information;

[0016] The interface path information is matched to the target data interface corresponding to the target model.

[0017] In yet another optional solution of the first aspect, the target parameter information includes at least one of fixed filtering parameter information, dynamic filtering parameter information and return parameter information.

[0018] In yet another optional solution of the first aspect, the target parameter information is determined based on the target model, specifically:

[0019] Obtaining fixed parameter type information and first filtering information based on the target model, and determining fixed filtering parameter information according to the fixed parameter type information and the first filtering information;

[0020] The fixed parameter type information is used to characterize the name of the first target parameter; the first target parameter corresponds to the fixed resource data in the target resource data; and the first filtering information is used to characterize the filtering method and attribute value of the first target parameter.

[0021] In yet another optional solution of the first aspect, the target parameter information is determined based on the target model, specifically:

[0022] Acquire dynamic parameter type information and second filtering information based on the target model, and determine dynamic filtering parameter information according to the dynamic parameter type information and the second filtering information;

[0023] The dynamic parameter type information is used to characterize the name of the second target parameter; the second target parameter corresponds to the dynamic resource data in the target resource data; and the second filtering information is used to characterize the filtering method of the second target parameter.

[0024] In yet another optional solution of the first aspect, the target parameter information is determined based on the target model, specifically:

[0025] Model attribute information determined for the fixed filtering parameter information and / or the dynamic filtering parameter information is acquired, and parameter information obtained after filtering the fixed filtering parameter information and / or the dynamic filtering parameter information based on the model attribute information is determined as the return parameter information.

[0026] In yet another optional solution of the first aspect, after generating the target data interface according to the target model and the target parameter information, the method further includes:

[0027] After receiving the generation instruction from the user, the interface address corresponding to the target data interface and the target resource data are displayed to the user based on the generation instruction; wherein the interface address is determined based on the interface path information.

[0028] In yet another optional solution of the first aspect, after acquiring the model information and determining the target model according to the model information, the method further includes:

[0029] Detect whether there is a historical data interface corresponding to the target model;

[0030] In the case where a historical data interface is detected, target parameter information is determined according to historical parameter information corresponding to the historical data interface;

[0031] Generate a target data interface based on the target model and target parameter information.

[0032] In a second aspect, an embodiment of the present application provides a data interface generating device, including:

[0033] A first acquisition module is used to acquire model information and determine a target model according to the model information;

[0034] A second acquisition module is used to determine target parameter information based on the target model, where the target parameter information corresponds to target resource data included in the target model;

[0035] The first processing module is used to generate a target data interface according to the target model and target parameter information.

[0036] In an optional solution of the second aspect, before the first acquisition module, the device further includes:

[0037] A third acquisition module is used to acquire multiple model samples and resource data samples corresponding to each model sample;

[0038] An establishment module is used to establish a mapping relationship between each model sample and each resource data sample corresponding to the model sample, and save the mapping relationship to the model database;

[0039] The first acquisition module is specifically used to acquire model information and determine the target model in the model database according to the model information.

[0040] In another optional solution of the second aspect, the first acquisition module specifically includes:

[0041] A first processing unit is used to obtain model type information and interface path information, and determine a target model in a model database according to the model type information;

[0042] The second processing unit is used to correspond the interface path information to the target data interface corresponding to the target model.

[0043] In yet another optional solution of the second aspect, the target parameter information includes at least one of fixed filtering parameter information, dynamic filtering parameter information and return parameter information.

[0044] In another optional solution of the second aspect, the second acquisition module is specifically used to acquire the fixed parameter type information and the first filtering information based on the target model, and determine the fixed filtering parameter information according to the fixed parameter type information and the first filtering information;

[0045] The fixed parameter type information is used to characterize the name of the first target parameter; the first target parameter corresponds to the fixed resource data in the target resource data; and the first filtering information is used to characterize the filtering method and attribute value of the first target parameter.

[0046] In another optional solution of the second aspect, the second acquisition module is specifically used to acquire dynamic parameter type information and second filtering information based on the target model, and determine the dynamic filtering parameter information according to the dynamic parameter type information and the second filtering information;

[0047] The dynamic parameter type information is used to characterize the name of the second target parameter; the second target parameter corresponds to the dynamic resource data in the target resource data; and the second filtering information is used to characterize the filtering method of the second target parameter.

[0048] In another optional scheme of the second aspect, the second acquisition module is specifically used to obtain model attribute information determined for fixed filtering parameter information and / or dynamic filtering parameter information, and determine the parameter information after filtering the fixed filtering parameter information and / or dynamic filtering parameter information based on the model attribute information as the return parameter information.

[0049] In another optional solution of the second aspect, after the first processing module, the device further includes:

[0050] The display module is used to display the interface address and target resource data corresponding to the target data interface to the user based on the generation instruction after receiving the user's generation instruction; wherein the interface address is determined based on the interface path information.

[0051] In yet another optional solution of the second aspect, after the first acquisition module, the apparatus further includes:

[0052] A detection module, used to detect whether there is a historical data interface corresponding to the target model;

[0053] A determination module, configured to determine target parameter information according to historical parameter information corresponding to the historical data interface when a historical data interface is detected;

[0054] The second processing module is used to generate a target data interface according to the target model and target parameter information.

[0055] In the third aspect, an embodiment of the present application provides a mobile terminal, including a processor and a memory; the processor is connected to the memory; the memory is used to store executable program code; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the data interface generation method provided by the first aspect of the embodiment of the present application or any one of the implementation methods of the first aspect.

[0056] In a fourth aspect, an embodiment of the present application further provides a computer storage medium, which stores a computer program. The computer program includes program instructions. When the program instructions are executed by a processor, the data interface generation method provided by the first aspect of the embodiment of the present application or any one of the implementation methods of the first aspect can be implemented.

[0057] In the embodiment of the present application, model information can be obtained, and the target model can be determined according to the model information; target parameter information can be determined based on the target model, and the target parameter information corresponds to the target resource data contained in the target model; and a target data interface can be generated according to the target model and the target parameter information. Developers can directly select the target model and the corresponding target parameter information in the interactive interface corresponding to the data interface, which is convenient for developers to flexibly obtain resource data corresponding to the data interface, and there is no need to redevelop the data interface, which reduces the workload of developers and improves development efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0059] Figure 1 A schematic diagram of a data interface generation system architecture provided in an embodiment of the present application;

[0060] Figure 2 A schematic diagram of a verification interface for a data interface generation system provided in an embodiment of the present application;

[0061] Figure 3 A flow chart of a data interface generation method provided in an embodiment of the present application;

[0062] Figure 4 A flowchart of another data interface generation method provided in an embodiment of the present application;

[0063] Figure 5 A schematic diagram of an interface for obtaining model information provided in an embodiment of the present application;

[0064] Figure 6 A schematic diagram of an interface for determining parameter information provided in an embodiment of the present application;

[0065] Figure 7 A schematic diagram of another interface for determining parameter information provided in an embodiment of the present application;

[0066] Figure 8 A schematic diagram of another interface for determining parameter information provided in an embodiment of the present application;

[0067] Fig. 9 A flowchart of another data interface generation method provided in an embodiment of the present application;

[0068] Fig.10 A schematic diagram of the structure of a data interface generating device provided in an embodiment of the present application;

[0069] Fig.11 A schematic diagram of the structure of a mobile terminal provided in an embodiment of the present application. DETAILED DESCRIPTION

[0070] The technical solutions 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.

[0071] The terms "first", "second", "third", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0072] See also Figure 1 , Figure 1 A schematic diagram of a data interface generation system architecture provided in an embodiment of the present application is shown.

[0073] like Figure 1 As shown, the data interface generation system includes a first mobile terminal 10 and a second mobile terminal 20, wherein:

[0074] The first mobile terminal 10 can be used by developers to compile codes and develop applications. In the process of compiling codes, developers need to write codes of corresponding functions according to requirements. In addition to basic code compilation, the most common method is to write a data interface that can execute the call function so that the corresponding data resources can be directly obtained through the data interface during the code running process. Not only does it not require developers to recompile the code independently, but it can also improve development efficiency. Among them, the data interface input into the code of the first mobile terminal 10 can be generated by selecting target resource data that meets the development requirements from a database including multiple resource data, and based on the target resource data.

[0075] It should be noted that before obtaining the data interface, developers can determine the relevant resource data based on the business requirements that need to be called, which can be but not limited to the type, source, resource relationship, etc. of the resource data. By sorting out business requirements, developers can quickly and accurately obtain the data interface that corresponds to the business requirements.

[0076] It can be understood that the first mobile terminal 10 involved in the embodiments of the present application can be a desktop, laptop, notebook computer, ultra-mobile personal computer (UMPC), handheld computer, netbook, personal digital assistant (PDA), virtual reality device, etc.

[0077] The second mobile terminal 20 may be one or more mobile terminals, and the multiple mobile terminals may specifically be the second mobile terminal 20a, the second mobile terminal 20b, the second mobile terminal 20c, etc. The second mobile terminal 20 may be used to display a human-computer interaction interface storing multiple resource data to the developer, and the developer may select information corresponding to the target resource data in the human-computer interaction interface displayed by the second mobile terminal 20 to generate a data interface that can realize the resource data call. Specifically, taking the second mobile terminal 20 as a desktop computer as an example, the developer may select any application with networking function in the desktop computer, which may be but not limited to a browser, and enter a URL storing multiple resource data in the URL input box of the browser. Further, after jumping to the input URL interaction interface, the developer may select resource data information that meets the business needs in the interaction interface, and generate a corresponding data interface based on the resource data information for the developer to use. Among them, a client for selecting resource data that meets the business needs may also be installed in the second mobile terminal 20, and the client stores multiple resource data, and can call the resource data that meets the business needs from the corresponding server.

[0078] It should be noted that before entering the interactive interface corresponding to the input URL through the browser, the browser may first jump to the verification interface for verifying the user's identity to ensure the security and privacy of resource data. Figure 2 A schematic diagram of a verification interface for a data interface generation system is shown in FIG. Figure 2 As shown, the verification interface 200 may include a verification information prompt box 201, a user name input box 202, a password input box 203, a confirmation control 204, and a cancel control 205. The developer can control the mouse to select the user name input box 202, enter the user name that is authorized to call resource data, and enter the password corresponding to the user name in the password input box 203. If the user name and password are entered correctly, the user identity verification is completed by selecting the confirmation control 204. Among them, if the password entered by the developer is incorrect or the password is forgotten and cannot be verified, the developer can contact the customer service staff to obtain the password or perform the password reset operation on other terminals.

[0079] It can be understood that the second mobile terminal 20 involved in the embodiments of the present application can be a mobile phone, a tablet computer, a desktop, a laptop, a notebook computer, an ultra-mobile personal computer (UMPC), a handheld computer, a netbook, a personal digital assistant (PDA), a routing device, a virtual reality device, etc.

[0080] See also Figure 3 , Figure 3 A flow chart of a data interface generation method provided in an embodiment of the present application is shown.

[0081] like Figure 3 As shown, the data interface generation method includes the following steps:

[0082] Step 301: Obtain model information, and determine a target model according to the model information.

[0083] Specifically, the mobile terminal can obtain model information related to the business needs according to the business needs, and can determine the target model corresponding to the business needs according to the model information, that is, the target model includes the target resource data corresponding to the business needs. Possibly, the mobile terminal can store multiple known models including resource data, wherein the resource data corresponding to the business needs are included in several stored models, and the several models can be stored in the memory of the mobile terminal or in the server corresponding to the mobile terminal. Taking the mobile terminal as a desktop computer as an example, the developer can enter the model information that meets the business needs in the display interface of the browser to determine the target model containing the resource data corresponding to the business needs.

[0084] Possibly, the mobile terminal may also be installed with a client for obtaining model information, and an interactive interface for obtaining model information may be entered through the client, wherein the client may store multiple known models including resource data, wherein the stored models include resource data corresponding to business needs, and the several models may be stored in a corresponding server.

[0085] It should be noted that the acquired model information may include information for distinguishing different types of models, which may include but is not limited to the name of the model, model grouping, etc.

[0086] Step 302: Determine target parameter information based on the target model.

[0087] Specifically, when the mobile terminal determines the target model, it can select target parameter information from multiple parameter information included in the target model to filter the resource data in the target model. The target parameter information can correspond to the target resource data corresponding to the business needs contained in the target model. Specifically, when the mobile terminal determines the target model, it can use the type of parameter information included in the target model as the selection interval of the target parameter information, that is, the target parameter information is selected from all parameter information corresponding to the target model.

[0088] Step 303: Generate a target data interface according to the target model and target parameter information.

[0089] Specifically, when determining the target model and target parameter information, the mobile terminal can generate a target data interface according to the target resource data corresponding to the target parameter information in the target model, so that the developer can directly call the target resource data through the target data interface during the operation process with the target data interface input.

[0090] In an embodiment of the present application, a developer can select a target model and corresponding target parameter information in an interactive interface corresponding to a data interface, so that the developer can flexibly obtain resource data corresponding to the data interface without having to redevelop the data interface, thereby reducing the developer's workload and improving development efficiency.

[0091] Possibly, before obtaining the model information in step 301, the developers may also collect and organize the business requirements generated during the code compilation process, determine the type, source, related resources and other information of the resource data that needs to be called, so as to establish the target resource data corresponding to the business requirements, facilitate rapid search for the model or model information containing the target resource data, and further obtain an accurate data interface.

[0092] See also Figure 4 , Figure 4 A flow chart of another data interface generation method provided in an embodiment of the present application is shown.

[0093] like Figure 4 As shown, the data interface generation method includes the following steps:

[0094] Step 401: Acquire multiple model samples and resource data samples corresponding to each model sample.

[0095] Specifically, before the mobile terminal obtains the model information corresponding to the target resource based on the business needs of the developer, it can obtain multiple resource data and corresponding model samples that meet different business needs. Any acquired model sample includes resource data that can meet at least one type of business need, so that the developer can combine the resource data stored in the mobile terminal to determine whether a data interface can be generated and the corresponding resource data can be called through the mobile terminal when there is a business need.

[0096] Step 402: Establish a mapping relationship between each model sample and each resource data sample corresponding to the model sample, and save the mapping relationship to the model database.

[0097] Specifically, after the mobile terminal obtains multiple resource data and corresponding model samples that meet different business needs, it can establish a mapping relationship between the resource data and the corresponding model samples, that is, the resource data included in the model sample corresponds to the model sample, and is not limited to one type of resource data corresponding to multiple model samples or one model sample corresponding to multiple types of resource data. For example, there are existing resource data categories A and B, model samples a and b, where model sample a includes resource data A and resource data B, and model sample b includes resource data B. Based on this, a mapping relationship can be established between model sample a and resource data A, a mapping relationship between model sample a and resource data B, and a mapping relationship between model sample b and resource data B. Among them, it is preferred to establish a mapping relationship between a type of resource data and a corresponding model sample, so as to facilitate rapid search and call of resource data.

[0098] Furthermore, after establishing the mapping relationship between resource data and model samples, a model database can be established based on the mapping relationship, and all mapping relationships between resource data and model samples can be saved in the model database, so that the mobile terminal can determine the target model based on the model database after obtaining the model information.

[0099] It should be noted that the model samples obtained in the embodiments of the present application may not be limited to the resource data included in the model, the name of the model, the grouping information of the model, etc. For example, taking the model as a host model, the model samples obtained by the mobile terminal may include all parameter information included in the host model, the host model (name information) and basic resources (grouping category).

[0100] It can also be understood that, it is possible that the model database established by the mobile terminal based on the mapping relationship can be saved to a certain location in the memory of the mobile terminal according to the default saving path, and the default path can be directly searched during the reading process. It is possible that the mobile terminal can save the model database to the background server corresponding to the mobile terminal, and first search the model in the model database of the background server by sending the call data information and return the corresponding model information to the mobile terminal.

[0101] Step 403: Obtain model information, and determine the target model in the model database according to the model information.

[0102] Specifically, step 403 is consistent with step 301 and will not be described again here.

[0103] Step 404: Determine target parameter information based on the target model.

[0104] Specifically, step 404 is consistent with step 302 and will not be described again here.

[0105] Step 405: Generate a target data interface according to the target model and target parameter information.

[0106] Specifically, step 405 is consistent with step 303 and will not be described again here.

[0107] As an embodiment of the present application, obtaining model information and determining a target model in a model database according to the model information specifically includes:

[0108] Obtain model type information and interface path information, and determine the target model in the model database according to the model type information;

[0109] The interface path information is matched to the target data interface corresponding to the target model.

[0110] Specifically, the mobile terminal can obtain model information including resource data that meets business needs and related interface path information, determine the target model including target resource data based on the acquired model information, and combine the acquired interface path information with the target data interface based on the target resource data, so that developers can quickly identify the target resources corresponding to the data interface based on the generated data interface, thereby improving development efficiency.

[0111] Specifically, taking the mobile terminal as a desktop computer as an example, the interactive interface for generating the data interface can be entered by inputting a URL in a browser. Figure 5 A schematic diagram of an interface for obtaining model information provided by an embodiment of the present application is shown, and the schematic diagram of the interface shows a data interface model information prompt box 500 presented in a web page, a name input box 501 set on the data interface model information prompt box 500, an interface path input box 502, a target model selection box 503, a group selection box 504, a state input box 505, and a description input box 506. The name input box 501 can be used by developers to input the model name corresponding to the resource data and the model according to the resource data and the model corresponding to the sorted business needs, which can be but not limited to the original name, synonymous name or near-synonymous name of the model. It should be noted that in the case of inputting a synonymous name or a near-synonymous name, the mobile terminal can match the input synonymous name or near-synonymous name according to natural language processing to obtain a model sample with the name closest to the stored model sample.

[0112] The interface path input box 502 can be used for developers to input a path identifier related to the target resource data content according to the target resource data. The path identifier, as the unique identifier of the target resource data, cannot be modified or reused at will after input, so as to be displayed in the address information of the generated target data interface for developers to quickly identify and confirm. For example, if the developer inputs the A identifier in the interface path input box 502, the generated target data interface address can be represented by Http: / / xxxA.com, and the developer can determine that the target data interface can be used to call the target resource data related to the A identifier according to the A identifier in the target data interface address.

[0113] The target model selection box 503 can automatically identify the model name input by the developer in the interactive interface of the mobile terminal, and can automatically generate the corresponding target model according to the model name input in the name input box 501. If the automatically generated target model is not the model actually required by the developer, for example, there is a deviation in the model name obtained by the synonymous name or near-synonymous name input by the mobile terminal through natural language processing, the developer can select the target model corresponding to the resource data that meets the business requirements in the current target model selection box 503.

[0114] Similarly, the group selection box 504 can also be automatically identified in the interactive interface of the mobile terminal according to the model name input by the developer, that is, the corresponding group information is automatically generated according to the model name input in the name input box 501, or the group information is generated according to the target model automatically generated in the target model selection box 503. For example, when the target model is determined to be a host model, the group information can be automatically generated according to the host model as the basic resource. Among them, the developer can also select the group information corresponding to the determined target model in the current group selection box 504.

[0115] The status input box 505 can be used to select the operating status of the target model according to the developer's wishes when the target model is determined. For example, when the developer does not need to call the currently determined target model temporarily, the movable control of the status input box 505 can be moved to the left to indicate that the current target model is in a disabled state; when the currently determined target model needs to be called immediately, the movable control of the status input box 505 can be moved to the right to indicate that the current target model is in an enabled state.

[0116] It is understandable that the embodiments of the present application may not be limited to the selection method of the state input box 505 and the setting of the operating state proposed above.

[0117] The description input box 506 can be used to describe the resource data included in the determined target model, or other statements used to indicate the type of resource data.

[0118] Taking the name "Get docker type machine interface" entered in the name input box 501 as an example, the mobile terminal can recognize that the input content belongs to the host type content, and then automatically generate the "host model" in the target model selection box 503, and generate the "basic resources" accordingly in the group selection box 504. Furthermore, the developer can also enter "docker-host" in the interface path input box 502 so that the final generated target data interface address includes "docker-host" and can be quickly identified with the developer. Furthermore, the developer can also select the enabled state in the status input box 505 to indicate that the currently selected host model can be called, and can enter the expression "Get docker type machine interface" in the description input box 506.

[0119] As another embodiment of the present application, the target parameter information includes at least one of fixed filtering parameter information, dynamic filtering parameter information and return parameter information.

[0120] Specifically, after the mobile terminal determines the target model according to the input model information, it can further filter the multiple resource data included in the target model to obtain more accurate target resource data. The filtering method can be to select corresponding parameter information according to the target model, and the type of the parameter information is not limited to at least one of fixed filtering parameter information, dynamic filtering parameter information and return parameter information.

[0121] As another embodiment of the present application, target parameter information is determined based on the target model, specifically:

[0122] Obtaining fixed parameter type information and first filtering information based on the target model, and determining fixed filtering parameter information according to the fixed parameter type information and the first filtering information;

[0123] The fixed parameter type information is used to characterize the name of the first target parameter; the first target parameter corresponds to the fixed resource data in the target resource data; and the first filtering information is used to characterize the filtering method and attribute value of the first target parameter.

[0124] Specifically, when the target model is determined, the mobile terminal can select the first target parameter from the parameter types corresponding to all resource data included in the target model, and use the resource data corresponding to the first target parameter as the fixed resource data in the target resource data. The fixed resource data can be understood as the fixed resource data for the number of resources called according to the input target data interface during the code running process of the developer, that is, the code can only run the program according to the fixed resource data, and the content in the fixed resource data cannot be changed.

[0125] Taking the mobile terminal as a desktop computer as an example, the interactive interface for generating the data interface can be entered by inputting the URL in the browser. Figure 6 , Figure 6 FIG. 1 shows a schematic diagram of an interface for determining parameter information provided by an embodiment of the present application. Figure 6 As shown, the interface diagram for determining parameters shows a parameter setting prompt box 601 presented in a web page, a maximum number of returned items per page input box 602 set on the parameter setting prompt box 601, a parameter information input box 603, and a newly added control 604. Among them, the maximum number of returned items per page input box 602 can be input by the developer according to the operation requirements. The specific value can be 50, 100, 150... etc., preferably, 100 can be entered in the maximum number of returned items per page input box 602.

[0126] The parameter information input box 603 can be a parameter type, operator and parameter value corresponding to the fixed resource data input in the target resource data corresponding to the business needs of the developer. Among them, the parameter type can be selected from all parameter types included in the target model, and the selection basis can be determined according to the parameter type corresponding to the fixed resource data input in the target resource data. In the case of determining the parameter type, the attribute corresponding to the parameter type can be automatically generated in the model attribute according to the parameter type. It can be understood that the model attribute can also be selected according to the developer's independent judgment, for example, there are multiple model attributes corresponding to the same parameter type. Further, the operator can be selected independently according to the developer's way of screening the parameter type, and its type can be but not limited to exact inclusion (equals), fuzzy search (contain) and exclusion (not contain). The parameter value can be a numerical value further determined by the developer according to the selected parameter type to obtain accurate resource data.

[0127] It should be noted that the parameter types, corresponding operators and parameter values ​​entered in the parameter information input box 603 can be modified or deleted, so that developers can quickly obtain resource data that meets business needs. Secondly, multiple parameter types can be entered in the parameter information input box 603 to simultaneously meet different business needs of developers. Specifically, developers can select a new control 604 to enter different parameter types, corresponding operators and parameter values ​​in the corresponding positions of the parameter information input box 603.

[0128] Taking the input of "ip" under the parameter column in the parameter information input box 603 as an example, "inner-ip" is generated under the model attribute column. Further, the developer can select "equals" under the operator column and input "168.20.34.22" under the parameter value column to enable the developer to select fixed resource data containing the IP address "168.20.34.22" in the target model. Among them, the developer can also enter 100 in the maximum number of returns per page input box 602 so that the amount of data returned by the resource data in the paging interface is 100.

[0129] As another embodiment of the present application, target parameter information is determined based on the target model, specifically:

[0130] Acquire dynamic parameter type information and second filtering information based on the target model, and determine dynamic filtering parameter information according to the dynamic parameter type information and the second filtering information;

[0131] The dynamic parameter type information is used to characterize the name of the second target parameter; the second target parameter corresponds to the dynamic resource data in the target resource data; and the second filtering information is used to characterize the filtering method of the second target parameter.

[0132] Specifically, when the target model is determined, the mobile terminal can also select a second target parameter from the parameter types corresponding to all resource data included in the target model, and use the resource data corresponding to the second target parameter as dynamic resource data in the target resource data. The dynamic resource data can be understood as the number of resources called according to the input target data interface during the developer's code execution process. The dynamic resource data can be filtered during the developer's code compilation process to obtain further filtered data, and the developer can adjust the filtering method of the dynamic resource data at any time during the code execution process to increase the developer's selectivity and further improve development efficiency.

[0133] Taking the mobile terminal as a desktop computer as an example, the interactive interface for generating the data interface can be entered by inputting the URL in the browser. Figure 7 , Figure 7 FIG. 2 shows another interface schematic diagram of determining parameter information provided by an embodiment of the present application. Figure 7 As shown, the interface diagram for determining parameters shows a parameter setting prompt box 701 presented in a web page, a maximum number of returned items per page input box 702 set on the parameter setting prompt box 701, a parameter information input box 703, and a newly added control 704. Among them, the maximum number of returned items per page input box 702 can be input by the developer according to the operation requirements. The specific value can be 50, 100, 150... etc., preferably, 100 can be entered in the maximum number of returned items per page input box 602.

[0134] The parameter information input box 703 can be a parameter type and an operator corresponding to the dynamic resource data input in the target resource data corresponding to the business needs of the developer, so that the developer can set the parameter value in the dynamic resource data according to the needs in the process of calling the target resource data to obtain the resource data for further screening. Among them, the parameter type can be selected from all parameter types included in the target model, and the selection basis can be determined according to the parameter type corresponding to the dynamic resource data input in the target resource data. In the case of determining the parameter type, the attribute corresponding to the parameter type can be automatically generated in the model attribute according to the parameter type. It can be understood that the model attribute can also be selected according to the autonomous judgment of the developer, for example, there are multiple model attributes corresponding to the same parameter type. Further, the operator can be selected autonomously according to the way the developer wants to screen the parameter type, and its type can be but not limited to exact inclusion (equals), fuzzy search (contain) and exclusion (not contain).

[0135] For example, if "ip" is input under the parameter column in the parameter information input box 703, "inner-ip" is generated under the model attribute column. Furthermore, the developer can select "equals" under the operator column to enable the developer to select dynamic resource data containing IP in the target model, so that the developer can select the resource data corresponding to the specific value of the IP address from the dynamic resource data containing IP when the code is running. Among them, the developer can also enter 100 in the maximum number of returns per page input box 602, so that the amount of data returned by the resource data in the paging interface is 100.

[0136] It is understandable that the target resource data may include both the fixed resource data and the dynamic resource data mentioned above; or, include the fixed resource data mentioned above; or, include the dynamic resource data mentioned above.

[0137] As another embodiment of the present application, target parameter information is determined based on the target model, specifically:

[0138] Model attribute information determined for the fixed filtering parameter information and / or the dynamic filtering parameter information is acquired, and parameter information obtained after filtering the fixed filtering parameter information and / or the dynamic filtering parameter information based on the model attribute information is determined as the return parameter information.

[0139] Specifically, the mobile terminal selects the corresponding parameter information in the target model to complete the call of the resource data corresponding to the relevant parameter information in the target model from the stored model database, and also needs to return the resource data to the required location (for example, in the code mentioned in this application). Specifically, the developer can independently select the model attribute information so that only the selected attribute information is displayed in the returned resource data.

[0140] Taking the mobile terminal as a desktop computer as an example, the interactive interface for generating the data interface can be entered by inputting the URL in the browser. Figure 8 , Figure 8 FIG. 2 shows another interface schematic diagram of determining parameter information provided by an embodiment of the present application. Figure 8 As shown, the interface diagram for determining parameters shows a return value selection box 801 presented in a web page, a main model attribute selection box 802 set on the return value selection box 801, and a sub-model attribute selection box 803. Among them, the main model attribute selection box 802 may include several attribute selection boxes, which may be but not limited to all attributes included in all models in the model database. Developers can select the target attribute box from several attribute selection boxes according to business needs. Among them, preferably, after the above-mentioned determination of parameter information, the main model attribute selection box 802 can also automatically select the corresponding main model attribute box based on the determined parameter type and target model to bring convenience to developers. The sub-model attribute selection box 803 is that if the selected main model attribute box includes a branch attribute selection box, the developer can further filter the branch attribute selection box.

[0141] As another embodiment of the present application, after generating the target data interface according to the target model and the target parameter information, the method further includes:

[0142] After receiving the generation instruction from the user, the interface address corresponding to the target data interface and the target resource data are displayed to the user based on the generation instruction; wherein the interface address is determined based on the interface path information.

[0143] Specifically, after obtaining the target model and target parameter information, the mobile terminal will not directly generate the target data interface, but needs to receive the user's generation instruction, such as but not limited to selecting the "Generate" control or the "Confirm" control or other controls used to execute the instruction to generate the target data interface at the bottom of the display interface of the mobile terminal. Furthermore, after the developer selects the control used to execute the instruction to generate the target data interface on the display interface of the mobile terminal, the current interface of the mobile terminal will jump to the interface displaying the target data interface address and the target resource data determined according to the target model and target parameter information, so as to facilitate the developer to check whether the target resource data corresponds to the data required by the business. Among them, the address corresponding to the target data interface may include the interface path selected by the developer when entering the model information to represent the target resource data.

[0144] See also Fig. 9 , Fig. 9 A flow chart of another data interface generation method provided in an embodiment of the present application is shown.

[0145] like Fig. 9 As shown, the data interface generation method specifically includes the following steps:

[0146] Step 901: Obtain model information, and determine the target model according to the model information.

[0147] Specifically, step 901 is consistent with step 403 and step 301 and will not be repeated here.

[0148] Step 902: Detect whether there is a historical data interface corresponding to the target model.

[0149] Specifically, the mobile terminal can search for a data interface whose selected model is consistent with the target model in the generated historical data interface according to the determined target model. Among them, the mobile terminal can store the data interface generated each time according to the model and parameter information, and in order to facilitate the rapid search for the corresponding model in each data interface, each data interface can be annotated with the annotation information including the name of the corresponding model when storing each data interface, for example, the stored file name is "xx model-data interface". Preferably, in order to prevent the mobile terminal from occupying too much memory, the data interface generated each time according to the model and parameter information can also be stored in the cloud server corresponding to the mobile terminal, and the embodiments of the present application are not limited to this.

[0150] Step 903: When a historical data interface is detected, target parameter information is determined according to historical parameter information corresponding to the historical data interface.

[0151] Specifically, when the mobile terminal detects the existence of a historical data interface, it can retrieve the model information and parameter information interaction interface corresponding to the historical data interface. The acquired model information and parameter information are stored in the interaction interface corresponding to the generated historical data interface. Developers can add or modify information in the interaction interface to improve the efficiency of generating new data interfaces and bring more convenient operations to developers. It is understandable that developers can also choose to create a new generation interface according to their own needs, and the embodiments of the present application are not limited to this.

[0152] Step 904: Generate a target data interface according to the target model and target parameter information.

[0153] Specifically, step 904 is consistent with step 405 and step 303, and will not be repeated here.

[0154] See also Fig.10 , Fig.10 A schematic structural diagram of a data interface generating device provided in an embodiment of the present application is shown.

[0155] like Fig.10As shown, the data interface generating device may at least include a first acquisition module 1001, a second acquisition module 1002 and a first processing module 703, wherein:

[0156] The first acquisition module 1001 is used to acquire model information and determine a target model according to the model information;

[0157] A second acquisition module 1002 is used to determine target parameter information based on the target model, where the target parameter information corresponds to target resource data included in the target model;

[0158] The first processing module 1003 is used to generate a target data interface according to the target model and target parameter information.

[0159] In some possible embodiments, before the first obtaining module 1001, the device further includes:

[0160] A third acquisition module is used to acquire multiple model samples and resource data samples corresponding to each model sample;

[0161] An establishment module is used to establish a mapping relationship between each model sample and each resource data sample corresponding to the model sample, and save the mapping relationship to the model database;

[0162] The first acquisition module is specifically used to acquire model information and determine the target model in the model database according to the model information.

[0163] In some possible embodiments, the first acquisition module 1001 specifically includes:

[0164] A first processing unit is used to obtain model type information and interface path information, and determine a target model in a model database according to the model type information;

[0165] The second processing unit is used to correspond the interface path information to the target data interface corresponding to the target model.

[0166] In some possible embodiments, the target parameter information includes at least one of fixed filtering parameter information, dynamic filtering parameter information and return parameter information.

[0167] In some possible embodiments, the second acquisition module 1002 is specifically used to acquire fixed parameter type information and first filtering information based on the target model, and determine the fixed filtering parameter information according to the fixed parameter type information and the first filtering information;

[0168] The fixed parameter type information is used to characterize the name of the first target parameter; the first target parameter corresponds to the fixed resource data in the target resource data; and the first filtering information is used to characterize the filtering method and attribute value of the first target parameter.

[0169] In some possible embodiments, the second acquisition module 1002 is specifically used to acquire dynamic parameter type information and second filtering information based on the target model, and determine dynamic filtering parameter information according to the dynamic parameter type information and the second filtering information;

[0170] The dynamic parameter type information is used to characterize the name of the second target parameter; the second target parameter corresponds to the dynamic resource data in the target resource data; and the second filtering information is used to characterize the filtering method of the second target parameter.

[0171] In some possible embodiments, the second acquisition module 1002 is specifically used to obtain model attribute information determined for fixed filtering parameter information and / or dynamic filtering parameter information, and determine the parameter information after filtering the fixed filtering parameter information and / or dynamic filtering parameter information based on the model attribute information as the return parameter information.

[0172] In some possible embodiments, after the first processing module 1001, the apparatus further includes:

[0173] The display module is used to display the interface address and target resource data corresponding to the target data interface to the user based on the generation instruction after receiving the user's generation instruction; wherein the interface address is determined based on the interface path information.

[0174] In some possible embodiments, after the first obtaining module 1001, the device further includes:

[0175] A detection module, used to detect whether there is a historical data interface corresponding to the target model;

[0176] A determination module, configured to determine target parameter information according to historical parameter information corresponding to the historical data interface when a historical data interface is detected;

[0177] The second processing module is used to generate a target data interface according to the target model and target parameter information.

[0178] In the embodiment of the present application, model information can be obtained, and the target model can be determined according to the model information; target parameter information can be determined based on the target model, and the target parameter information corresponds to the target resource data contained in the target model; and a target data interface can be generated according to the target model and the target parameter information. Developers can directly select the target model and the corresponding target parameter information in the interactive interface corresponding to the data interface, which is convenient for developers to flexibly obtain resource data corresponding to the data interface, and there is no need to redevelop the data interface, which reduces the workload of developers and improves development efficiency.

[0179] See also Fig.11 , Fig.11A schematic structural diagram of a mobile terminal provided in an embodiment of the present application is shown.

[0180] like Fig.11 As shown, the mobile terminal 1100 may include: at least one processor 1101 , at least one network interface 1104 , a user interface 1103 , a memory 1105 , a display screen 1106 and at least one communication bus 1102 .

[0181] The communication bus 1102 may be used to realize the connection and communication among the above-mentioned components.

[0182] The user interface 1103 may include buttons, and the optional user interface may also include a standard wired interface or a wireless interface.

[0183] The network interface 1104 may optionally be a Bluetooth module, an NFC module, a Wi-Fi module, etc.

[0184] Among them, the processor 1101 may include one or more processing cores. The processor 1101 uses various interfaces and lines to connect the various parts of the entire electronic device 1100, and executes various functions and processes data of the routing device 1100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1105, and calling data stored in the memory 1105. Optionally, the processor 1101 can be implemented in at least one hardware form of DSP, FPGA, and PLA. The processor 1101 can integrate one or a combination of CPU, GPU, modem, etc. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 1101, and it can be implemented separately through a chip.

[0185] Among them, the memory 1105 may include RAM and may also include ROM. Optionally, the memory 1105 includes a non-transitory computer-readable medium. The memory 1105 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 1105 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 1105 may optionally be at least one storage device located away from the aforementioned processor 1101. As Fig.11As shown, the memory 1105 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a data interface generation application.

[0186] Specifically, the processor 1101 may be used to call the data interface generation application stored in the memory 1105, and specifically perform the following operations:

[0187] Acquire model information, and determine the target model according to the model information;

[0188] Determine target parameter information based on the target model, where the target parameter information corresponds to target resource data included in the target model;

[0189] Generate a target data interface based on the target model and target parameter information.

[0190] In some possible embodiments, before obtaining the model information and determining the target model according to the model information, the processor 1101 is further configured to execute:

[0191] Acquire multiple model samples and resource data samples corresponding to each model sample;

[0192] Establishing a mapping relationship between each model sample and each resource data sample corresponding to the model sample, and saving the mapping relationship to the model database;

[0193] Obtain model information and determine the target model based on the model information, specifically:

[0194] The model information is obtained, and a target model is determined in a model database according to the model information.

[0195] In some possible embodiments, the model information is obtained, and the target model is determined in the model database according to the model information, and the processor 1101 is specifically configured to execute:

[0196] Obtain model type information and interface path information, and determine the target model in the model database according to the model type information;

[0197] The interface path information is matched to the target data interface corresponding to the target model.

[0198] In some possible embodiments, the target parameter information includes at least one of fixed filtering parameter information, dynamic filtering parameter information and return parameter information.

[0199] In some possible embodiments, the target parameter information is determined based on the target model, and the processor 1101 is specifically configured to execute:

[0200] Obtaining fixed parameter type information and first filtering information based on the target model, and determining fixed filtering parameter information according to the fixed parameter type information and the first filtering information;

[0201] The fixed parameter type information is used to characterize the name of the first target parameter; the first target parameter corresponds to the fixed resource data in the target resource data; and the first filtering information is used to characterize the filtering method and attribute value of the first target parameter.

[0202] In some possible embodiments, the target parameter information is determined based on the target model, and the processor 1101 is specifically configured to execute:

[0203] Acquire dynamic parameter type information and second filtering information based on the target model, and determine dynamic filtering parameter information according to the dynamic parameter type information and the second filtering information;

[0204] The dynamic parameter type information is used to characterize the name of the second target parameter; the second target parameter corresponds to the dynamic resource data in the target resource data; and the second filtering information is used to characterize the filtering method of the second target parameter.

[0205] In some possible embodiments, the target parameter information is determined based on the target model, and the processor 1101 is specifically configured to execute:

[0206] Model attribute information determined for the fixed filtering parameter information and / or the dynamic filtering parameter information is acquired, and parameter information obtained after filtering the fixed filtering parameter information and / or the dynamic filtering parameter information based on the model attribute information is determined as the return parameter information.

[0207] In some possible embodiments, after generating the target data interface according to the target model and the target parameter information, the processor 1101 is further configured to execute:

[0208] After receiving the generation instruction from the user, the interface address corresponding to the target data interface and the target resource data are displayed to the user based on the generation instruction; wherein the interface address is determined based on the interface path information.

[0209] In some possible embodiments, after generating the target data interface according to the target model and the target parameter information, the processor 1101 is further configured to execute:

[0210] Detect whether there is a historical data interface corresponding to the target model;

[0211] In the case where a historical data interface is detected, target parameter information is determined according to historical parameter information corresponding to the historical data interface;

[0212] Generate a target data interface based on the target model and target parameter information.

[0213] The embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a computer or a processor, the computer or the processor executes the above-mentioned Figure 3 or Figure 4 or Fig. 9 One or more steps in the illustrated embodiment. If the above-mentioned components of the mobile terminal are implemented in the form of software functional units and sold or used as independent products, they can be stored in the computer-readable storage medium.

[0214] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted by the computer-readable storage medium. The computer instructions can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital versatile disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0215] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes. In the absence of conflict, the technical features in this embodiment and the implementation scheme can be combined arbitrarily.

[0216] The embodiments described above are merely preferred embodiments of the present application and are not intended to limit the scope of the present application. Without departing from the design spirit of the present application, various modifications and improvements made to the technical solutions of the present application by ordinary technicians in this field should fall within the protection scope determined by the claims of the present application.

Claims

1. A data interface generation method, characterized in that: include: Acquiring model information, and determining a target model according to the model information; Determine target parameter information based on the target model, wherein the target parameter information corresponds to target resource data included in the target model; Generate a target data interface according to the target model and the target parameter information; The target parameter information includes: at least one of dynamic filtering parameter information, fixed filtering parameter information and return parameter information; The determining of target parameter information based on the target model is specifically: Acquire fixed parameter type information and first filtering information based on the target model, and determine the fixed filtering parameter information according to the fixed parameter type information and the first filtering information; The fixed parameter type information is used to represent the name of the first target parameter; the first target parameter corresponds to the fixed resource data in the target resource data; the first filtering information is used to represent the filtering method and attribute value of the first target parameter; the content in the fixed resource data cannot be changed; and / or, Acquire dynamic parameter type information and second filtering information based on the target model, and determine the dynamic filtering parameter information according to the dynamic parameter type information and the second filtering information; Among them, the dynamic parameter type information is used to characterize the name of the second target parameter; the second target parameter corresponds to the dynamic resource data in the target resource data; the second target parameter is selected from the parameter types corresponding to the target resource data contained in the target model; the second filtering information is used to characterize the filtering method of the second target parameter; the content in the dynamic resource data is adjustable.

2. The method according to claim 1, characterized in that Before acquiring the model information and determining the target model according to the model information, the method further includes: Acquire a plurality of model samples and resource data samples corresponding to the model samples; Establishing a mapping relationship between each of the model samples and each of the resource data samples corresponding to the model sample, and saving the mapping relationship in a model database; The acquiring of model information and determining the target model according to the model information specifically includes: Model information is acquired, and the target model is determined in the model database according to the model information.

3. The method according to claim 2, characterized in that The acquiring model information and determining the target model in the model database according to the model information specifically includes: Acquire model type information and interface path information, and determine the target model in the model database according to the model type information; The interface path information is matched with the target data interface corresponding to the target model.

4. The method according to claim 1, characterized in that: The determining of target parameter information based on the target model is specifically: Model attribute information determined for the fixed filtering parameter information and / or the dynamic filtering parameter information is acquired, and parameter information after filtering the fixed filtering parameter information and / or the dynamic filtering parameter information based on the model attribute information is determined as return parameter information.

5. The method according to claim 3, characterized in that: After generating the target data interface according to the target model and the target parameter information, the method further includes: After receiving the generation instruction from the user, the interface address corresponding to the target data interface and the target resource data are displayed to the user based on the generation instruction; wherein the interface address is determined based on the interface path information.

6. The method according to claim 1, characterized in that After acquiring the model information and determining the target model according to the model information, the method further includes: Detecting whether there is a historical data interface corresponding to the target model; In the case where the historical data interface is detected, determining target parameter information according to the historical parameter information corresponding to the historical data interface; A target data interface is generated according to the target model and the target parameter information.

7. A data interface generating device, characterized in that: include: A first acquisition module is used to acquire model information and determine a target model according to the model information; A second acquisition module, configured to determine target parameter information based on the target model, wherein the target parameter information corresponds to target resource data included in the target model; A first processing module, used for generating a target data interface according to the target model and the target parameter information; The target parameter information includes: at least one of dynamic filtering parameter information, fixed filtering parameter information and return parameter information; the second acquisition module is specifically used for: Obtaining fixed parameter type information and first filtering information based on the target model, and determining the fixed filtering parameter information according to the fixed parameter type information and the first filtering information; wherein the fixed parameter type information is used to characterize the name of the first target parameter; the first target parameter corresponds to the fixed resource data in the target resource data; the first filtering information is used to characterize the filtering method and attribute value of the first target parameter; the content in the fixed resource data cannot be changed; and / or, Dynamic parameter type information and second filtering information are obtained based on the target model, and the dynamic filtering parameter information is determined according to the dynamic parameter type information and the second filtering information; wherein the dynamic parameter type information is used to characterize the name of the second target parameter; the second target parameter corresponds to the dynamic resource data in the target resource data; the second target parameter is selected from the parameter types corresponding to the target resource data contained in the target model; the second filtering information is used to characterize the filtering method of the second target parameter; the content in the dynamic resource data is adjustable.

8. A mobile terminal, characterized in that: including a processor and a memory; The processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Equipment data access method and device, computer equipment and storage medium

    CN110515522A