CN108153745B - Application data calling method and application development system - Google Patents

Application data calling method and application development system Download PDF

Info

Publication number
CN108153745B
CN108153745B CN201611096626.2A CN201611096626A CN108153745B CN 108153745 B CN108153745 B CN 108153745B CN 201611096626 A CN201611096626 A CN 201611096626A CN 108153745 B CN108153745 B CN 108153745B
Authority
CN
China
Prior art keywords
logic
data
application
generalized
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611096626.2A
Other languages
Chinese (zh)
Other versions
CN108153745A (en
Inventor
梁宇轩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201611096626.2A priority Critical patent/CN108153745B/en
Publication of CN108153745A publication Critical patent/CN108153745A/en
Application granted granted Critical
Publication of CN108153745B publication Critical patent/CN108153745B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques

Abstract

The invention discloses an application data calling method and an application development system, which are used for realizing server deployment and generating a server application interface, so that a back-end engineer is not required to process generalized logic in the application development process, thereby saving the consumption of manpower and time and improving the development efficiency. The method provided by the embodiment of the invention comprises the following steps: acquiring application data of at least one application; generating a general database according to a preset server deployment rule and application data, and deploying the general database to a cloud server; acquiring a generalized logic editing instruction and generalized logic data, wherein the generalized logic editing instruction is used for editing generalized logic data, and the generalized logic data is used for representing logic data for processing application data; and generating a server application interface according to the generalized logic editing instruction and the generalized logic, wherein the server application interface is used for calling application data in the cloud server.

Description

Application data calling method and application development system
Technical Field
The invention relates to the technical field of internet, in particular to an application data calling method and an application development system.
Background
With the development of mobile terminals, the increase of Office Automation (OA) systems in enterprises and the weakening of Search Engine Optimization (SEO), the utilization ratio of backend data development in the traditional sense in the new era is reduced, and the utilization ratio of json (javascript Object notification) data transmission mode taking ajax as the core in mobile terminal development and OA in enterprises is higher and higher.
The data transmission mode of the mobile terminal application development basically adopts JSON data transmission with ajax as a core, the type of data and the data transmission mode have great universality, and 90 percent of data modules are similar from the data modules of the web page development and the application development, and the data transmission is not increased, deleted, changed, checked and the like. In conventional development schemes, each program configures a back-end engineer to configure the server and manually write programs for program logic data.
However, when developing mobile end programs such as web pages and applications, a back-end engineer needs to configure server data calls of each program and process program logic, so that labor and time are consumed in the development process, and development efficiency is affected.
Disclosure of Invention
The invention provides an application data calling method and an application development system, which are used for realizing server deployment and generating a server application interface, so that a back-end engineer is not required to process generalized logic in the application development process, thereby saving the consumption of manpower and time and improving the development efficiency.
The first aspect of the present invention provides an application data calling method, including:
acquiring application data of at least one application;
generating a general database according to a preset server deployment rule and the application data, and deploying the general database to a cloud server;
acquiring a generalized logic editing instruction and generalized logic data, wherein the generalized logic editing instruction is used for editing the generalized logic data, and the generalized logic data is used for representing logic data for processing the application data;
and generating a server application interface according to the generalized logic editing instruction and the generalized logic data, wherein the server application interface is used for calling the application data in the cloud server.
A second aspect of the present invention provides an application development system, including:
the acquisition module is used for acquiring application data of at least one application;
the deployment module is used for generating a general database according to a preset server deployment rule and the application data and deploying the general database to a cloud server;
the acquisition module is further used for acquiring a generalized logic editing instruction and generalized logic data, wherein the generalized logic editing instruction is used for editing the generalized logic data, and the generalized logic data is used for representing logic data for processing the application data;
and the interface generation module is used for generating a server application interface according to the generalized logic editing instruction and the generalized logic data, and the server application interface is used for calling the application data in the cloud server.
According to the technical scheme, the application data calling method and the application development system have the following advantages:
the application development system acquires application data of at least one application; generating a general database according to a preset server deployment rule and application data, and deploying the general database to a cloud server; acquiring a generalized logic editing instruction and generalized logic data, wherein the generalized logic editing instruction is used for editing generalized logic data, and the generalized logic data is used for representing logic data for processing application data; and generating a server application interface according to the generalized logic editing instruction and the generalized logic data, wherein the server application interface is used for calling the application data in the cloud server. Compared with the prior art, the universal logic does not need a back-end engineer to configure the server data calling of each universal function and process the universal logic, so that the consumption of manpower and time is saved, and the development efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the embodiments and the drawings used in the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a system framework diagram of a conventional mobile-side application development;
FIG. 2 is a system framework diagram of the mobile-side application development provided by the present invention;
FIG. 3 is a diagram of an embodiment of an application data calling method according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart illustrating the generation of a server application interface according to logical fields in an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of an application development system according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another structure of an application development system according to an embodiment of the present invention;
fig. 7 is a schematic diagram of an entity device of the application development system according to the embodiment of the present invention.
Detailed Description
The invention provides an application data calling method and an application development system, which are used for realizing server deployment and generating a server application interface, so that a back-end engineer is not required to process generalized logic in the application development process, thereby saving the consumption of manpower and time and improving the development efficiency.
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, for a system framework diagram of an existing mobile-end application development, when an application developer develops an application, application data of the application is stored in a cloud server, a front-end device (i.e., a mobile end) can use the application and needs to access the application data of the cloud server, but the application data of the cloud server is not accessible to all the front-end devices, so data call of the server needs to be deployed, and data transmission between the front-end device and the cloud server is logical, a back-end engineer needs to manually write codes to perform server deployment and logical processing, in fig. 1, the back-end engineer replaces the back-end device with the back-end engineer because work performed by the back-end engineer needs to be directed at the application development, the server deployment, and the data transmission between the front-end device and the cloud server.
The present invention is applied to mobile terminal application development, and a system framework diagram of the application development is shown in fig. 2, where the application development system may be a physical device (for example, a personal computer, a server, or a device of a local area network, etc.), or may be a virtual software platform (for example, a single application development software or an online platform, etc.). The cloud server is used for storing application data of the application and allowing the front-end equipment with the authority to call the application data.
The mobile-side application may be software (e.g., QQ, antivirus, WORD, etc.), a website (e.g., hundredths or equivalent, etc.), or a mobile APP, etc. In the current development, generally ajax is a JSON data transmission mode with a core, ajax is a technology for creating a fast dynamic webpage, and a small amount of data exchange is performed between the ajax and a server in a background, so that the ajax can enable the webpage to realize asynchronous updating. This means that a portion of a web page can be updated without reloading the entire web page, which would have the advantage over conventional techniques of having to reload the entire web page if the web page (without ajax) needs to have the content updated, ajax having a significantly reduced data transmission. JSON is a lightweight data exchange format. It is based on a subset of ECMAScript. JSON uses a text format that is completely language independent, but also uses conventions similar to the C language family (including C, C + +, C #, Java, JavaScript, Perl, Python, etc.). These properties make JSON an ideal data exchange language. Easy to read and write, and easy to machine parse and generate. Therefore, the mobile terminal application development basically adopts the JSON data transmission with ajax as the core, so that the data type and the data transmission mode have great universality, for example, the logic of the application data in the database is consistent with the generalization functions of adding, deleting, modifying, checking and the like, and the generalization functions need to manually write codes to realize the logic when a back-end engineer develops an application, so that the back-end engineer spends a great deal of time doing repeated work, wastes manpower and time, and affects the application development efficiency.
In order to solve the above problem, the following describes the application data calling method in detail by an embodiment.
Referring to fig. 3, an embodiment of the present invention provides an application data calling method, including:
301. acquiring application data of at least one application;
in this embodiment, an application developer acquires application data of an application in a process of developing a mobile-side application on an application development platform, and since the number of development applications is not limited, the number of applications is at least one.
302. Generating a general database according to a preset server deployment rule and application data, and deploying the general database to a cloud server;
in this embodiment, if the development of the application is completed and the application needs to be provided online to a user for use, the application data needs to be stored in the cloud server to support the user of the front-end device to transmit the application data through the cloud server, and the application data needs to be stored in the cloud server, a general database needs to be generated in a database form according to a preset server deployment rule and the application data, and the general database is deployed to the cloud server, where the preset server deployment rule is preset by the user.
303. Acquiring a generalized logic editing instruction and generalized logic data;
in this embodiment, according to the actual situation, data transmission is not increased, deleted, modified, checked, and the like, so some functions of the application are universal, and the universal functions of the application are generally addition, deletion, modification, checking, verification, and the like of application data in the cloud server. And generalized logic is actually the logic that processes application data. For example, when a user registers a user name and stores the user name in the database, the field of the user name should be a character string formed by the previous user name plus the current date, which is logic for adding the function of application data. In the process of application development, but most of applications have part of application logic which is the same and is called generalized logic, in order to change the current situation of the existing generalized logic for processing codes by manually writing codes by a back-end engineer, a generalized logic editing instruction is adopted to process the generalized logic, and the back-end engineer is not required to manually write the codes. And acquiring a generalized logic editing instruction and generalized logic data, wherein the generalized logic editing instruction is used for editing the generalized logic data, and the generalized logic data is used for representing logic data for processing the application data.
304. And generating a server application interface according to the generalized logic editing instruction and the generalized logic data.
In this embodiment, after the generalized logic editing instruction and the generalized logic data are obtained, a server application interface is generated according to the generalized logic editing instruction and the generalized logic data, the front-end device may call the application data in the cloud server through the server application interface, and the server application interface includes a user registration interface, an addition interface, a deletion interface, a modification interface, a viewing interface, a verification interface, and the like.
In the embodiment of the invention, an application development system acquires application data of at least one application; generating a general database according to a preset server deployment rule and application data, and deploying the general database to a cloud server; acquiring a generalized logic editing instruction and generalized logic data, wherein the generalized logic editing instruction is used for editing generalized logic data, and the generalized logic data is used for representing logic data for processing application data; and generating a server application interface according to the generalized logic editing instruction and the generalized logic data, wherein the server application interface is used for calling the application data in the cloud server. Compared with the prior art, the universal logic does not need a back-end engineer to configure the server data calling of each universal function and process the universal logic, so that the consumption of manpower and time is saved, and the development efficiency is improved.
In step 304 of the embodiment shown in fig. 3, a server application interface is generated according to the generalized logic editing instruction and the generalized logic data, and data needs to be processed, because the server application interface is in an encapsulated form, which is as follows:
optionally, in some embodiments of the present invention, generating a server application interface according to the generalized logic editing instruction and the generalized logic data includes:
editing the generalized logic data according to the generalized logic editing instruction to obtain a logic field, wherein the field type of the logic field is a character, a file or a picture;
and packaging the logic field to generate a server application interface.
In the embodiment of the present invention, the generalized logic editing instruction is used for editing generalized logic data, the data type of the generalized logic data is a code form, in order to simplify the generalized logic data and improve interactivity, the generalized logic data may be edited according to the generalized logic editing instruction to obtain a logic field, and the field type of the logic field may be a character, a file, or a picture, etc. After the logical field is obtained, the server application interface can be obtained by encapsulating the field, which is described in detail with reference to fig. 4:
401. a logical field;
the field type of the logical field is character, file or picture, etc.
402. Language conversion;
the field types of the logical fields are subjected to language conversion, for example, the field types can be converted into a Hypertext Preprocessor (PHP), JAVA or nodejs and the like, the PHP is a universal open source script language, grammar absorbs the characteristics of C language, Java and Perl, is beneficial to learning, is widely used, and is mainly suitable for the field of Web development. It can execute dynamic web pages faster than CGI or Perl. Compared with other programming languages, the PHP has the advantages that programs are embedded into HTML (application under standard general markup language) documents to be executed, the execution efficiency is much higher than that of CGI (common gateway interface) for completely generating HTML marks, the PHP can also execute compiled codes, and the compiling can achieve encryption and optimized code running so that the codes run faster, so that the PHP is very suitable for application development of a mobile terminal. Java is an object-oriented programming language, not only absorbs various advantages of C + + language, but also abandons concepts such as multiple inheritance, pointers and the like which are difficult to understand in C + +, so that the Java language has two characteristics of strong function, simplicity and easiness in use, and is a good choice in application development of a mobile terminal. Js is a platform established based on Chrome JavaScript operation and is used for conveniently establishing network application with high response speed and easy expansion. Js is lightweight and efficient using an event-driven, non-blocking I/O model, and is well suited for running data-intensive real-time applications on distributed devices, and it is known that converting logical fields to nodejs is also an option. It should be noted that in practical applications or later developments, there may be more applicable languages, and the three are only examples, and the specific conversion is not limited to which language.
403. Packaging;
and packaging the logic field after the language conversion.
404. A server application interface.
And after the encapsulation processing, dividing to obtain server application interfaces, wherein the server application interfaces comprise an addition interface, a deletion interface, a modification interface, a viewing interface, a verification interface and the like.
In the above embodiment, all the logical fields may generate the server application interface, but if the application database of an application is unreadable or unwritable, the server application interface is not allowed to be generated, and the right or the like should be encrypted or set. The method comprises the following specific steps:
optionally, in some embodiments of the present invention, after editing the generalized logic data according to the generalized logic editing instruction to obtain the logic field, the method further includes:
encrypting the logic field according to a preset encryption rule to obtain secret key information;
setting access authority information of the logic field according to a preset configuration rule;
and generating a logic data table according to the logic field, the key information and the access authority information.
In the embodiment of the invention, the preset encryption rule is that specific characters or character strings are added in the logical field according to the irreversible MD5 algorithm for encryption, and a token key is obtained, and the token key is required to be verified when the logical field is required to be accessed to generate the server application interface. The preset configuration rule is to set the access authority of the logical fields, visually configure which logical fields can only be checked by a login user and which fields can be checked only by the token key verification, generate a logical data table according to the logical fields, the key information and the access authority information, as shown in table 1 below,
TABLE 1
Logical field Key information Access rights information
Logical field 1 Aabb 2
Logical field 2 Babb 5
Logical field 3 Cacc 3
The key information of the logic field 1 is 'Aabbb', the access authority information is '2', and the user can access the key information with the level of more than 2; the key information of the logical field 2 is Babb, the access authority information is 5, and the user can access the system with the level of more than 5; the key information of the logical field 3 is "Cacc", the access authority information is "3", it means that the user can access the system with a level of 3 or more,
optionally, in some embodiments of the present invention, acquiring a generalized logic editing instruction and generalized logic data includes:
receiving a generalized logic editing instruction input by a user according to the generalized logic;
determining corresponding generalized logic according to the generalized logic editing instruction;
and acquiring generalized logic data of the conversation logic.
In the embodiment of the invention, the universal logic editing instruction is input by a user and is input according to the universal logic, so that a condition that a developer can delete the universal logic is provided.
Optionally, in some embodiments of the present invention, generating a general database according to a preset server deployment rule and application data, and deploying the general database to a cloud server includes:
determining a generalized application from applications according to a preset server deployment rule;
selecting application data of the generalized application from the application data, and generating a general database, wherein the general database comprises a user authority table, a queryable log file and a connection secret key;
and deploying the universal database to the cloud server according to a preset server deployment rule.
In the embodiment of the invention, the server deployment rule is preset, namely, how the universal database is generated is preset, the server deployment of the universal database is set, the name of the universal database in the cloud server is the application name plus the prefix, the universal database is stored on the cloud server, the log files which can be consulted are automatically configured, and the universal database is encrypted by the initial password to connect the secret key. The front-end equipment cannot access the general database at will, whether an accessor reaches the access authority or not needs to be checked according to the user authority table before access, and after the access authority is reached, the front-end equipment needs to be connected with the general database in the cloud service industry and only can access the queryable log file according to the connection secret key.
It should be noted that the application development system is further used for creating an application, specifically:
filling an application name in an application interactive interface of the application development system by a developer;
the application development system receives application name data;
creating a corresponding database according to the application name data, wherein the database name of the database is the application name plus the prefix;
when the developer inputs all the application data, the application development process is finished, and the creation of the application is finished.
It should be noted that after the application development system generates the server application interface, the front-end device needs to organize the server application interface, specifically:
the front-end equipment organizes the generalized logic through ajax or js without a back-end Application Programming Interface (API);
and directly copying a server application interface from the application development system, and modifying, serially connecting and arranging the server application interface.
The application data calling method of the present invention is introduced in the above embodiments, and the application development system is described in detail through the embodiments below.
Referring to fig. 5, an embodiment of the present invention provides an application development system, including:
an obtaining module 501, configured to obtain application data of at least one application;
see step 301 for details.
The deployment module 502 is configured to generate a general database according to a preset server deployment rule and application data, and deploy the general database to the cloud server;
see step 302 for details.
The obtaining module 501 is further configured to obtain a generalized logic editing instruction and generalized logic data, where the generalized logic editing instruction is used to edit generalized logic data, and the generalized logic data is used to represent logic data for processing application data;
see step 303 for details.
The interface generating module 503 is configured to generate a server application interface according to the generalized logic editing instruction and the generalized logic data, where the server application interface is configured to call application data in the cloud server.
See step 301 for details.
In the embodiment of the present invention, the obtaining module 501 obtains application data of at least one application, the deploying module 502 generates a universal database according to a preset server deployment rule and the application data, and deploys the universal database to a cloud server, the obtaining module 501 obtains a generalized logic editing instruction and generalized logic data, the generalized logic editing instruction is used for editing the generalized logic data, the generalized logic data is used for representing logic data for processing the application data, and the interface generating module 503 generates a server application interface according to the generalized logic editing instruction and the generalized logic data, the server application interface is used for calling the application data in the cloud server. Compared with the prior art, the universal logic does not need a back-end engineer to configure the server data calling of each universal function and process the universal logic, so that the consumption of manpower and time is saved, and the development efficiency is improved.
Alternatively, in some embodiments of the present invention,
the interface generation module 503 is specifically configured to edit the generalized logic data according to the generalized logic editing instruction to obtain a logic field, where the field type of the logic field is a character, a file, or a picture;
the interface generating module 503 is further configured to perform encapsulation processing on the logical field to generate a server application interface.
In the embodiment of the present invention, the generalized logic editing instruction is used to edit generalized logic data, where the data type of the generalized logic data is a code, and in order to simplify the generalized logic data and improve interactivity, the interface generating module 503 may edit the generalized logic data according to the generalized logic editing instruction to obtain a logic field, where the field type of the logic field may be a character, a file, or a picture. After the logical field is obtained, the application interface of the server can be obtained by encapsulating the field.
Optionally, as shown in fig. 6, in some embodiments of the present invention, the application development system further includes:
the data processing module 504 is specifically configured to encrypt the logical field according to a preset encryption rule to obtain key information;
the data processing module 504 is further configured to set access right information of the logical field according to a preset configuration rule;
the data processing module 504 is further configured to generate a logical data table according to the logical field, the key information, and the access right information.
In the embodiment of the present invention, the preset encryption rule is to add a specific character or a character string to a logical field according to the irreversible MD5 algorithm to perform encryption, and obtain key information, and if it is desired to access the logical field to generate a server application interface, it needs to pass key verification. The preset configuration rule is to set the access right of the logical field, and the data processing module 504 generates a logical data table according to the logical field, the key information, and the access right information.
Alternatively, in some embodiments of the present invention,
the obtaining module 501 is further configured to receive a generalized logic editing instruction input by a user according to the generalized logic;
the obtaining module 501 is further configured to determine a corresponding generalized logic according to the generalized logic editing instruction;
the obtaining module 501 is further configured to obtain generalized logic data of the conversation logic.
In the embodiment of the invention, the universal logic editing instruction is input by a user and is input according to the universal logic, so that a condition that a developer can delete the universal logic is provided.
Alternatively, in some embodiments of the present invention,
a deployment module 502, specifically configured to determine a generalized application from applications according to a preset server deployment rule;
the deployment module 502 is further configured to select application data of a generalized application from the application data, and generate a universal database, where the universal database includes a user permission table, a queryable log file, and a connection key;
the deployment module 502 is further configured to deploy the general database to the cloud server according to a preset server deployment rule.
In the embodiment of the present invention, the deployment module 502 determines a universal application from applications according to a preset server deployment rule, selects application data of the universal application from the application data, and generates a universal database, where the universal database includes a user authority table, a queryable log file, and a connection key, and deploys the universal database to a cloud server according to the preset server deployment rule, where the deployment rule is preset, that is, how the universal database is generated is preset, and server deployment of the universal database is set, and a database name of the universal database in the cloud server is an application name plus a prefix, the universal database is located on the cloud server, and automatically configures a searchable log file, and encrypts the connection key of the universal database through an initial password. The front-end equipment cannot access the general database at will, whether an accessor reaches the access authority or not needs to be checked according to the user authority table before access, and after the access authority is reached, the front-end equipment needs to be connected with the general database in the cloud service industry and only can access the queryable log file according to the connection secret key.
In the above, the embodiment of the modular structure of the application development system is introduced, and the entity device of the evaluation device is described below by taking the application development system as a server as an example.
The evaluation means of the potential target object is exemplified by a server, which may have a large difference due to different configurations or performances, as shown in fig. 7, and may include one or more Central Processing Units (CPUs) 722 (e.g., one or more processors) and a memory 732, one or more storage media 730 (e.g., one or more mass storage devices) storing an application program 742 or data 744. Memory 732 and storage medium 730 may be, among other things, transient storage or persistent storage. The program stored in the storage medium 730 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Still further, the CPU722 may be configured to communicate with the storage medium 730, and execute a series of instruction operations in the storage medium 730 on the server.
The evaluation device may also include one or more power supplies 710, one or more wireless network interfaces 750, one or more input-output interfaces 758, and/or one or more operating systems 741, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and so forth.
Referring to fig. 7, an embodiment of the present invention provides an application development system, including:
the wireless network interface 750, the CPU722 and the memory 732 are connected to each other through a bus, the memory 732 stores computer instructions, and the CPU722 executes the computer instructions, thereby implementing the following method:
acquiring application data of at least one application;
generating a general database according to a preset server deployment rule and application data, and deploying the general database to a cloud server;
acquiring a generalized logic editing instruction and generalized logic data, wherein the generalized logic editing instruction is used for editing generalized logic data, and the generalized logic data is used for representing logic data for processing application data;
and generating a server application interface according to the generalized logic editing instruction and the generalized logic, wherein the server application interface is used for calling application data in the cloud server.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. An application data calling method, comprising:
acquiring application data of at least one application;
generating a general database according to a preset server deployment rule and the application data, and deploying the general database to a cloud server, wherein the method comprises the following steps: determining a generalized application from the applications according to the preset server deployment rule; selecting the application data of the generalized application from the application data, and generating a general database, wherein the general database comprises a user authority table, a queryable log file and a connection secret key; deploying the general database to a cloud server according to the preset server deployment rule;
acquiring a generalized logic editing instruction and generalized logic data, wherein the generalized logic editing instruction is used for editing the generalized logic data, and the generalized logic data is used for representing logic data for processing the application data;
and generating a server application interface according to the generalized logic editing instruction and the generalized logic data, wherein the server application interface is used for calling the application data in the cloud server.
2. The application data calling method according to claim 1, wherein the generating a server application interface according to the generalized logic editing instruction and the generalized logic data comprises:
editing the generalized logic data according to the generalized logic editing instruction to obtain a logic field, wherein the field type of the logic field is a character, a file or a picture;
and packaging the logic field to generate a server application interface.
3. The method for calling application data according to claim 2, wherein after editing the generalized logic data according to the generalized logic editing instruction to obtain a logic field, the method further comprises:
encrypting the logic field according to a preset encryption rule to obtain secret key information;
setting access authority information of the logic field according to a preset configuration rule;
and generating a logic data table according to the logic field, the key information and the access authority information.
4. The method for calling application data according to claim 1, wherein the obtaining of the generalized logic editing instruction and the generalized logic data comprises:
receiving a generalized logic editing instruction input by a user according to the generalized logic;
determining corresponding generalized logic according to the generalized logic editing instruction;
and acquiring generalized logic data of the conversation logic.
5. An application development system, comprising:
the acquisition module is used for acquiring application data of at least one application;
the deployment module is used for generating a general database according to a preset server deployment rule and the application data and deploying the general database to a cloud server;
the acquisition module is further used for acquiring a generalized logic editing instruction and generalized logic data, wherein the generalized logic editing instruction is used for editing the generalized logic data, and the generalized logic data is used for representing logic data for processing the application data;
the interface generation module is used for generating a server application interface according to the generalized logic editing instruction and the generalized logic data, and the server application interface is used for calling the application data in the cloud server;
the deployment module is specifically used for determining a generalized application from the applications according to the preset server deployment rule;
the deployment module is further configured to select application data of the generalized application from the application data, and generate a universal database, where the universal database includes a user permission table, a queryable log file, and a connection key;
the deployment module is further configured to deploy the general database to a cloud server according to the preset server deployment rule.
6. The application development system of claim 5,
the interface generation module is specifically configured to edit the generalized logic data according to the generalized logic editing instruction to obtain a logic field, where the field type of the logic field is a character, a file, or a picture;
the interface generating module is further configured to perform encapsulation processing on the logical field to generate a server application interface.
7. The application development system of claim 6, further comprising:
the data processing module is specifically used for encrypting the logic field according to a preset encryption rule to obtain secret key information;
the data processing module is also used for setting the access authority information of the logic field according to a preset configuration rule;
the data processing module is further configured to generate a logical data table according to the logical field, the key information, and the access right information.
8. The application development system of claim 5,
the acquisition module is also used for receiving a generalized logic editing instruction input by a user according to the generalized logic;
the acquisition module is further used for determining corresponding generalized logic according to the generalized logic editing instruction;
the obtaining module is further configured to obtain generalized logic data of the conversation logic.
CN201611096626.2A 2016-12-02 2016-12-02 Application data calling method and application development system Active CN108153745B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611096626.2A CN108153745B (en) 2016-12-02 2016-12-02 Application data calling method and application development system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611096626.2A CN108153745B (en) 2016-12-02 2016-12-02 Application data calling method and application development system

Publications (2)

Publication Number Publication Date
CN108153745A CN108153745A (en) 2018-06-12
CN108153745B true CN108153745B (en) 2021-08-13

Family

ID=62470258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611096626.2A Active CN108153745B (en) 2016-12-02 2016-12-02 Application data calling method and application development system

Country Status (1)

Country Link
CN (1) CN108153745B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110069321A (en) * 2019-03-16 2019-07-30 平安城市建设科技(深圳)有限公司 Business containerization operation method, equipment, storage medium and device
CN110874214B (en) * 2019-11-14 2023-06-16 北京明略软件系统有限公司 Function calling method and device, electronic equipment and storage medium
CN113986384A (en) * 2021-10-28 2022-01-28 数字天堂(北京)网络技术有限公司 Processing device, method, equipment and storage medium based on client and cloud

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1904891A (en) * 2005-07-28 2007-01-31 国际商业机器公司 Method and apparatus for autonomically regulating information transfer when accessing database resources
CN101034349A (en) * 2007-04-06 2007-09-12 西安万年科技实业有限公司 Data base application system development platform based on functional design
CN104252339A (en) * 2013-06-25 2014-12-31 腾讯科技(深圳)有限公司 Method and device for developing interface layers and realizing data interaction of interface layers
CN104850509A (en) * 2015-04-27 2015-08-19 交通银行股份有限公司 Method and system for operating bank business data memory cache
CN105302721A (en) * 2015-10-29 2016-02-03 普元信息技术股份有限公司 System and method for realizing integration testing of centralized analog server in cloud computing platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1904891A (en) * 2005-07-28 2007-01-31 国际商业机器公司 Method and apparatus for autonomically regulating information transfer when accessing database resources
CN101034349A (en) * 2007-04-06 2007-09-12 西安万年科技实业有限公司 Data base application system development platform based on functional design
CN104252339A (en) * 2013-06-25 2014-12-31 腾讯科技(深圳)有限公司 Method and device for developing interface layers and realizing data interaction of interface layers
CN104850509A (en) * 2015-04-27 2015-08-19 交通银行股份有限公司 Method and system for operating bank business data memory cache
CN105302721A (en) * 2015-10-29 2016-02-03 普元信息技术股份有限公司 System and method for realizing integration testing of centralized analog server in cloud computing platform

Also Published As

Publication number Publication date
CN108153745A (en) 2018-06-12

Similar Documents

Publication Publication Date Title
JP6494609B2 (en) Method and apparatus for generating a customized software development kit (SDK)
CN110704518B (en) Business data processing method and device based on Flink engine
CN101902756B (en) M2M (Machine To Machine) business platform and working method thereof
CN106293664A (en) Code generating method and device
CN104346146B (en) A kind of method of cross-platform transformation applications code and device
CA3040568A1 (en) System and method for generating websites from predefined templates
CN104794048A (en) Automatic UI testing method and system
CN110858172A (en) Automatic test code generation method and device
CN108153745B (en) Application data calling method and application development system
CN104750472A (en) Resource bundle management method and device of terminal application
CN110597730A (en) Scene method based automatic test case generation method and system
US10599755B2 (en) System and method for automatically inserting correct escaping functions for field references in a multi-tenant computing environment
CN111625464A (en) Interface test method and device, storage medium and processor
CN113778897B (en) Automatic test method, device and equipment for interface and storage medium
CN112036125B (en) Document management method and device and computer equipment
CN106326691A (en) Encryption and decryption function realization method and device, and server
US10691764B2 (en) Search engine optimization techniques
CN112084446A (en) Webpage editing method, editor, electronic equipment and readable storage medium
US9398041B2 (en) Identifying stored vulnerabilities in a web service
CN113031944B (en) Business opening device and method based on template
CN106293658A (en) A kind of interface assembly generates method and equipment thereof
CN110855562A (en) Internet of things data distribution management method and system, storage medium and management terminal
CN112346774A (en) Method and device for generating application installation package
CN114449063A (en) Message processing method, device and equipment
CN114661826A (en) Data processing method, device and equipment based on block chain

Legal Events

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