CN108153745A - A kind of application data calling method and application development system - Google Patents
A kind of application data calling method and application development system Download PDFInfo
- Publication number
- CN108153745A CN108153745A CN201611096626.2A CN201611096626A CN108153745A CN 108153745 A CN108153745 A CN 108153745A CN 201611096626 A CN201611096626 A CN 201611096626A CN 108153745 A CN108153745 A CN 108153745A
- Authority
- CN
- China
- Prior art keywords
- generalization
- logical
- data
- application
- 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.)
- Granted
Links
- 238000011161 development Methods 0.000 title claims abstract description 63
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000012545 processing Methods 0.000 claims abstract description 24
- 230000008569 process Effects 0.000 abstract description 15
- 230000005540 biological transmission Effects 0.000 description 10
- 238000003860 storage Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000002085 persistent effect Effects 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000005538 encapsulation Methods 0.000 description 2
- 230000002427 irreversible effect Effects 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 230000008439 repair process Effects 0.000 description 2
- VYZAMTAEIAYCRO-UHFFFAOYSA-N Chromium Chemical compound [Cr] VYZAMTAEIAYCRO-UHFFFAOYSA-N 0.000 description 1
- 230000002155 anti-virotic effect Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013497 data interchange Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 239000000178 monomer Substances 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000013515 script Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of application data calling method and application development systems, it is used to implement server disposition and generation server application interface so that in application development process, generalization logic is handled without rear end engineer, so as to save the consuming of manpower and time, development efficiency is improved.Present invention method includes:Obtain the application data of at least one application;Rule is disposed according to preset service device and application data generate Universal Database, and Universal Database is deployed to cloud server;Generalization logical edit instruction and generalization logical data are obtained, generalization logical edit instruction is for editing generalization logical data, and generalization logical data is for expression processing using the logical data of data;According to generalization logical edit instruction and generalization logic generation server application interface, server application interface is used to call the application data in cloud server.
Description
Technical field
The present invention relates to Internet technical field more particularly to a kind of application data calling method and application development systems.
Background technology
With the development of mobile terminal, the increase of enterprises office automation (Office Automation, OA) system and
The reduction of search engine optimization (Search Engine Optimization, SEO), traditional Back end data exploitation exist
The utilization accounting of new era decreases, and using ajax as JSON (JavaScript Object Notation) data of core
Transmission mode is higher and higher in mobile terminal exploitation and the utilization rate of enterprises OA etc..
The data-transmission mode of mobile terminal application and development is substantially using ajax as the JSON data transmissions of core, the type of data
There is very big versatility with the mode of data transmission, and for webpage development and the data module of application and development, 90% number
All it is similar according to module, data transmission increases nothing but, deletes, changes and looks into etc..In conventional development plan, often cover program and all can
Configuration rear end engineer is configured server and carries out manual writing program to programmed logic data.
But when developing webpage and application when mobile terminals program, rear end engineer needs the service to each program
Device data call is configured and programmed logic is handled so that and the consuming of manpower and time are larger in development process,
Affect development efficiency.
Invention content
The present invention provides a kind of application data calling method and application development systems, are used to implement server disposition and life
Into server application interface so that in application development process, generalization logic is handled without rear end engineer, so as to save people
Power and the consuming of time, improve development efficiency.
First aspect present invention offer is a kind of to apply data calling method, including:
Obtain the application data of at least one application;
According to preset service device deployment rule and the application data generation Universal Database, and by the Universal Database
It is deployed to cloud server;
Generalization logical edit instruction and generalization logical data are obtained, the generalization logical edit instructs to edit
The generalization logical data, the generalization logical data handle the logical data using data for expression;
Server application interface is generated according to generalization logical edit instruction and the generalization logical data, it is described
Server application interface is used to call described using data in the cloud server.
Second aspect of the present invention provides a kind of application development system, including:
Acquisition module, for obtaining the application data of at least one application;
Deployment module, for generating Universal Database, and will according to preset service device deployment rule and the application data
The Universal Database is deployed to cloud server;
Acquisition module is additionally operable to obtain generalization logical edit instruction and generalization logical data, the generalization logic
For edit instruction for editing the generalization logical data, the generalization logical data applies data for representing that processing is described
Logical data;
Interface generation module, for according to generalization logical edit instruction and generalization logical data generation clothes
Business device application interface, the server application interface are used to call described using data in the cloud server.
As can be seen from the above technical solutions, the application data calling method of the embodiment of the present invention and application development system have
It has the advantage that:
Application development system obtains the application data of at least one application;Rule is disposed and using number according to preset service device
According to generation Universal Database, and Universal Database is deployed to cloud server;Obtain generalization logical edit instruction and general
Change logical data, generalization logical edit instruction is for editing generalization logical data, and generalization logical data is at expression
The logical data of data ought to be used;It is connect according to generalization logical edit instruction and generalization logical data generation server application
Mouthful, server application interface is used to call the application data in cloud server.Since application database is according to preset service
Device deployment rule is deployed to cloud server, and generalization logical process is to instruct to realize by generalization logical edit,
Headend equipment is by the server application interface of generation with regard to that can be called using data, and compared with prior art, generalization is patrolled
Rear end engineer volume is not needed to the server data calling of each generalization function is configured and to generalization logic
It is handled, therefore, saves the consuming of manpower and time, improve development efficiency.
Description of the drawings
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to institute in embodiment and description of the prior art
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the present invention
Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the system framework figure of existing mobile terminal application and development;
Fig. 2 is the system framework figure of mobile terminal application and development provided by the invention;
Fig. 3 is one embodiment schematic diagram that data calling method is applied in the embodiment of the present invention;
Fig. 4 is the flow diagram for generating server application interface in the embodiment of the present invention according to logical field;
Fig. 5 is a structure diagram of application development system in the embodiment of the present invention;
Fig. 6 is another structure diagram of application development system in the embodiment of the present invention;
Fig. 7 is an entity apparatus reality structure diagram of application development system in the embodiment of the present invention.
Specific embodiment
The present invention provides a kind of application data calling method and application development systems, are used to implement server disposition and life
Into server application interface so that in application development process, generalization logic is handled without rear end engineer, so as to save people
Power and the consuming of time, improve development efficiency.
In order to which those skilled in the art is made to more fully understand the present invention program, below in conjunction in the embodiment of the present invention
The technical solution in the embodiment of the present invention is clearly and completely described in attached drawing, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
Member's all other embodiments obtained without making creative work should all belong to the model that the present invention protects
It encloses.
As shown in Figure 1, the system framework figure for existing mobile terminal application and development, application developer develop application
When, by the application data store of the application to cloud server, headend equipment (i.e. mobile terminal) can use to be needed during the application
The application data of cloud server are accessed, but the not every headend equipment of application data of cloud server can visit
It asks, then just need the data call of deployment services device, and headend equipment and cloud server carry out data transmission all being tool
There is logic, rear end engineer needs writing code progress server disposition and logical process manually, in Fig. 1, rear end engineering
Teacher is replaced with rear end equipment, because the work that rear end engineer is carried out is needed for application and development, server disposition
With headend equipment and cloud server data transmission.
The present invention is applied in the application and development of mobile terminal, and the system framework figure of application and development is as shown in Fig. 2, wherein application is opened
Hair system can be the equipment (such as equipment of personal computer, server or LAN etc.) of entity or virtual
Software platform (such as monomer applications develop software or in line platform etc.).The application data that cloud server is applied for storage,
And allow to have the headend equipment of permission to call using data.
Mobile terminal application can be software (such as QQ, antivirus software or WORD etc.), website (such as Baidu or when etc.)
Or cell phone application, etc..In current exploitation, general ajax is the JSON data-transmission modes of core, and ajax is a kind of use
It in the technology for creating quick dynamic web page, is exchanged by carrying out low volume data with server on backstage, ajax can make webpage real
Existing asynchronous refresh.This means that certain part of webpage can be updated in the case where not reloading entire webpage, with
Traditional technology is compared, and webpage (not using ajax) is if necessary to more new content, it is necessary to which the entire Webpage of heavy duty, ajax have
It is apparent to reduce data transmission advantage.JSON is a kind of data interchange format of lightweight.Its one based on ECMAScript
Subset.JSON using being totally independent of the text formatting of language, but also use similar to C language family custom (including
C, C++, C#, Java, JavaScript, Perl and Python etc.).These characteristics make JSON become ideal data exchange language
Speech.It is easy to read and writes, while is also easy to machine parsing and generation.Therefore, because mobile terminal application and development all uses substantially
Ajax is the JSON data transmissions of core, then the type of data and the mode of data transmission have very big versatility, for example, right
Application data in database are increased, are deleted, changed and are looked into etc. for generalizations function, and logic is all consistent, and rear end work
As soon as in every exploitation in application, these generalization functions are required for carrying out writing code manually to realize logic, this makes Cheng Shi
It obtains rear end engineer and spends a large amount of time the thing for doing repetition, waste manpower and time, to being impacted using development efficiency.
To solve the above-mentioned problems, it is described in detail below by embodiment application data call method.
Referring to Fig. 3, offer of the embodiment of the present invention is a kind of to apply data calling method, including:
301st, the application data of at least one application are obtained;
In the present embodiment, application developer is carried out on application development platform in the application development process of mobile terminal, is obtained
To the application data of application, due to being not limiting as the quantity of development and application, the quantity of application is at least one.
302nd, rule is disposed according to preset service device and application data generates Universal Database, and Universal Database is disposed
To cloud server;
In the present embodiment, if application exploitation completed, needing to reach the standard grade is supplied to user to use, then just need by
Cloud server is stored in using data, the user of headend equipment to be supported to carry out by cloud server the biography using data
It is defeated, and cloud server will be stored in using data, it needs in the form of database, according to preset service device deployment rule and answers
Universal Database is generated with data, Universal Database is deployed to cloud server, preset service device deployment rule is that user is pre-
First set.
303rd, generalization logical edit instruction and generalization logical data are obtained;
In the present embodiment, according to actual conditions, data transmission increases nothing but, deletes, changes and looks into etc., therefore some work(applied
Can be versatility, the generalization function of application be typically all to using data in cloud server increase, delete, repair
Change, check and verify etc..And generalization logic is actually the logic handled using data.For example, user's registration user
Name, when user name is stored in database, the field of user name should be that the user name on foreground is combined into plus current date
Character string, here it is the logics of this function of the increase of application data.It, should but most of during application and development
With all some be identical, referred to as generalization logic using logic, in order to change the existing manual book of rear end engineer
The present situation of code process generalization logic is write, instructs to handle generalization logic using generalization logical edit, does not need to rear end
Engineer writes code manually.It obtains generalization logical edit instruction and generalization logical data, generalization logical edit refers to
It enables for editing generalization logical data, generalization logical data is for expression processing using the logical data of data.
304th, server application interface is generated according to generalization logical edit instruction and generalization logical data.
In the present embodiment, after getting generalization logical edit instruction and generalization logical data, patrolled according to generalization
Edit instruction and generalization logical data generation server application interface are collected, headend equipment can be adjusted by server application interface
With the application data in cloud server, server application interface includes user's registration interface, increases interface, delete interface, repair
Reconfiguration mouth checks interface and verification interface etc., it should be noted that in practical applications, it is also possible to which there are other interfaces to deposit
, more than only citing illustrate, do not limit specifically.
In the embodiment of the present invention, application development system obtains the application data of at least one application;According to preset service device
Deployment rule and application data generate Universal Database, and Universal Database is deployed to cloud server;Generalization is obtained to patrol
Edit instruction and generalization logical data are collected, generalization logical edit is instructed for editing generalization logical data, and generalization is patrolled
Data are collected for representing logical data of the processing using data;It is given birth to according to generalization logical edit instruction and generalization logical data
Into server application interface, server application interface is used to call the application data in cloud server.Due to application database
It is that cloud server is deployed to, and generalization logical process is by generalization logic according to preset service device deployment rule
Edit instruction realize, headend equipment by the server application interface of generation with regard to that can be called using data, with the prior art
Compare, generalization logic do not need to rear end engineer the server data of each generalization function calling is configured and
Generalization logic is handled, therefore, the consuming of manpower and time is saved, improves development efficiency.
According to generalization logical edit instruction and generalization logical data in the step 304 of above-mentioned embodiment shown in Fig. 3
Generate server application interface, it is also necessary to data be handled, because server application interface is packing forms, specifically such as
Under:
Optionally, it in some embodiments of the present invention, is given birth to according to generalization logical edit instruction and generalization logical data
Into server application interface, including:
Editor's generalization logical data is instructed according to generalization logical edit, obtains logical field, the field of logical field
Type is character, file or picture;
Processing is packaged to logical field, generates server application interface.
In the embodiment of the present invention, generalization logical edit instruction is for editing generalization logical data, and generalization is patrolled
The data type for collecting data is the form of code, for simplified universal logical data, and improves interactivity, then according to logical
Generalization logical data can be edited with logical edit instruction is changed, obtains logical field, the field type of logical field can be
Character, file or picture etc..After obtaining logical field, processing is packaged to field and is connect with regard to server application can be obtained
Mouthful, it is specifically described with reference to Fig. 4:
401st, logical field;
The field type of logical field is character, file or picture etc..
402nd, language conversion;
Language conversion is carried out, such as can be converted to HyperText Preprocessor to the field type of logical field
(Hypertext Preprocessor, PHP), JAVA or nodejs etc., PHP are a kind of general scripts of increasing income, language
Method absorbs the characteristics of C language, Java and Perl, conducive to study, using extensive, is primarily adapted for use in Web development fields.It can be with
Dynamic web page is more quickly performed than CGI or Perl.With the dynamic page that PHP makes compared with other programming languages, PHP
It is that program is embedded into HTML (application under standard generalized markup language) document to go to perform, execution efficiency is more raw than completely
CGI into HTML markup is many higher, and compiled code can also be performed in PHP, and compiling can reach encryption and Optimized code fortune
Row makes code operation faster, and therefore, PHP is highly suitable for mobile terminal application and development.Java is an object-oriented programming language
Speech not only absorbs the various advantages of C Plus Plus, has also abandoned the concepts such as elusive more succession, pointers in C++, therefore
Java language has powerful and easy to use two features, is also selection well in the application and development of mobile terminal.
Node.js is a platform established when being run based on Chrome JavaScript, for easily build fast response time,
It is easy to the network application of extension.Node.js use event-driven, Non-Blocking I/O models and be able to light weight and efficiently, be very suitable for
The real-time application of operation data intensity on distributed apparatus, it is known that it is also a kind of choosing that logical field is converted into nodejs
It selects.It should be noted that in practical application or later development, it may also have more applicable language and occur, it is above-mentioned
Three kinds are merely illustrative, and are specifically converted into which kind of language does not limit.
403rd, encapsulation process;
Logical field after language conversion is packaged processing.
404th, server application interface.
It is divided after encapsulation process and obtains server application interface, server application interface connects including increasing interface, deleting
Mouth changes interface, checks interface and verifies interface etc..
In the above-described embodiments, all logical fields can generate server application interface, but if some should
Application database is unreadable can not to be also written using data, then server application interface is not allow generation, that
It just should encrypt or set permission etc..It is specific as follows:
Optionally, in some embodiments of the present invention, editor's generalization logical data is instructed according to generalization logical edit,
After obtaining logical field, further include:
Logical field is encrypted according to preset encryption rule, obtains key information;
According to the access authority information of preset configuration rule setting logical field;
Logical data table is generated according to logical field, key information and access authority information.
In the embodiment of the present invention, preset encryption rule is that specific word is added in logical field according to irreversible MD5 algorithms
Symbol or character string are encrypted, and obtain token secret keys, it is desirable to access the logical field and connect so as to generate server application
Mouthful, it is necessary to it is verified by token secret keys.Preset configuration rule is to set the access rights of logical field, and where is visual configuration
A little logical fields can only login user check which field, which only needs token secret keys to be verified, to check, according to logic word
Section, key information and access authority information generation logical data table, it is as shown in table 1 below,
Table 1
Logical field | Key information | Access authority information |
Logical field 1 | Aabb | 2 |
Logical field 2 | Babb | 5 |
Logical field 3 | Cacc | 3 |
The key information of logical field 1 is " Aabb ", and access authority information is " 2 ", represents that the grade of user can for more than 2
To access;The key information of logical field 2 is " Babb ", and access authority information is " 5 ", represents that the grade of user can for more than 5
To access;The key information of logical field 3 is " Cacc ", and access authority information is " 3 ", represents that the grade of user can for more than 3
To access,
Optionally, in some embodiments of the present invention, generalization logical edit instruction and generalization logical data, packet are obtained
It includes:
User is received to be instructed according to the generalization logical edit that generalization logic inputs;
It is instructed according to generalization logical edit and determines corresponding generalization logic;
Obtain the generalization logical data of callization logic.
In the embodiment of the present invention, generalization logical edit instruction is by input by user, and is according to generalization logic
Input, thus give developer that can delete the condition for selecting generalization logic.
Optionally, in some embodiments of the present invention, rule is disposed according to preset service device and application data generation is general
Database, and Universal Database is deployed to cloud server, including:
Generalization application is determined from application according to preset service device deployment rule;
The application data of generalization application are selected from application data, and generate Universal Database, Universal Database packet
Include user right table, can query log files and connection secret key;
Universal Database is deployed to by cloud server according to preset service device deployment rule.
In the embodiment of the present invention, server disposition rule is pre-set, that is, pre-setting Universal Database is
How to generate, and set the server disposition of Universal Database, and the Universal Database number in server beyond the clouds
It is known as Apply Names plus prefix according to library name, Universal Database is present on cloud server, and automatically configures what can be consulted
Journal file encrypts Universal Database by initial password and connects secret key.So that headend equipment is from random accessing universal
Library needs first to check whether visitor reaches access rights according to user right table before access, after reaching access rights, also
It needs to be connect with the Universal Database of cloud service industry persistent erection, and can only access can query log files according to connection secret key.
It should be noted that application development system is additionally operable to create application, specially:
Developer inserts Apply Names in application development system using interactive interface;
Application development system receives Apply Names data;
According to the corresponding database of Apply Names data creation, before the entitled Apply Names of the wide area information server add
Sew;
After developer inputs all application data, that is, represent that application development process terminates, the establishment of application
It completes.
It should be noted that after application development system generates server application interface, headend equipment also needs to pair
Server application interface is arranged, specifically:
Headend equipment is by ajax or without backend applications programming interface (Application Programming
Interface, API) js tissue is carried out to generalization logic;
Server application interface directly is copied from application development system, series connection of modifying to server application interface is whole
Reason.
The present invention is described in above-described embodiment applies data calling method, below by embodiment to application and development system
System is described in detail.
Referring to Fig. 5, the embodiment of the present invention provides a kind of application development system, including:
Acquisition module 501, for obtaining the application data of at least one application;
Details please refer to step 301.
Deployment module 502, for disposing rule and application data generation Universal Database according to preset service device, and will be logical
Cloud server is deployed to database;
Details please refer to step 302.
Acquisition module 501 is additionally operable to obtain generalization logical edit instruction and generalization logical data, and generalization logic is compiled
Instruction is collected for editing generalization logical data, generalization logical data applies the logical data of data for expression processing;
Details please refer to step 303.
Interface generation module 503, for generating server according to generalization logical edit instruction and generalization logical data
Application interface, server application interface are used to call the application data in cloud server.
Details please refer to step 301.
In the embodiment of the present invention, acquisition module 501 obtains the application data of at least one application, 502 basis of deployment module
Preset service device deployment rule and application data generate Universal Database, and Universal Database is deployed to cloud server, obtain
Modulus block 501 obtains generalization logical edit instruction and generalization logical data, and generalization logical edit instruction is logical for editing
With logical data is changed, generalization logical data is for expression processing using the logical data of data, 503 basis of interface generation module
Generalization logical edit instruction and generalization logical data generation server application interface, server application interface are used to call cloud
Hold the application data in server.Since application database is to dispose rule according to preset service device to be deployed to cloud server
, and generalization logical process is to instruct to realize by generalization logical edit, headend equipment should by the server of generation
With interface with regard to that can be called using data, compared with prior art, generalization logic does not need to rear end engineer to each
Generalization function server data calling be configured and generalization logic handled, therefore, save manpower and
The consuming of time, improves development efficiency.
Optionally, in some embodiments of the present invention,
Interface generation module 503 specifically for instructing editor's generalization logical data according to generalization logical edit, obtains
Logical field, the field type of logical field is character, file or picture;
Interface generation module 503 is additionally operable to be packaged logical field processing, generates server application interface.
In the embodiment of the present invention, generalization logical edit instruction is for editing generalization logical data, and generalization is patrolled
The data type for collecting data is code, for simplified universal logical data, and improves interactivity, then interface generation module
503 can edit generalization logical data according to generalization logical edit instruction, obtain logical field, the field class of logical field
Type can be character, file or picture etc..After obtaining logical field, processing is packaged to field with regard to server can be obtained
Application interface.
Optionally, as shown in fig. 6, in some embodiments of the present invention, application development system further includes:
Data processing module 504 specifically for logical field is encrypted according to preset encryption rule, obtains secret key letter
Breath;
Data processing module 504 is additionally operable to the access authority information according to preset configuration rule setting logical field;
Data processing module 504 is additionally operable to generate logical data according to logical field, key information and access authority information
Table.
In the embodiment of the present invention, preset encryption rule is that specific word is added in logical field according to irreversible MD5 algorithms
Symbol or character string are encrypted, and obtain key information, it is desirable to access the logical field and connect so as to generate server application
Mouthful, it is necessary to it is verified by secret key.Preset configuration rule is to set the access rights of logical field, data processing module 504
Logical data table is generated according to logical field, key information and access authority information.
Optionally, in some embodiments of the present invention,
Acquisition module 501 is additionally operable to receive the generalization logical edit instruction that user inputs according to generalization logic;
Acquisition module 501 is additionally operable to instruct determining corresponding generalization logic according to generalization logical edit;
Acquisition module 501 is additionally operable to obtain the generalization logical data of callization logic.
In the embodiment of the present invention, generalization logical edit instruction is by input by user, and is according to generalization logic
Input, thus give developer that can delete the condition for selecting generalization logic.
Optionally, in some embodiments of the present invention,
Deployment module 502, specifically for determining generalization application from application according to preset service device deployment rule;
Deployment module 502 is additionally operable to select the application data of generalization application, and generate general number from application data
According to library, Universal Database includes user right table, can query log files and connection secret key;
Deployment module 502 is additionally operable to that Universal Database is deployed to cloud server according to preset service device deployment rule.
In the embodiment of the present invention, deployment module 502 determines that generalization should according to preset service device deployment rule from application
With from using the application data of generalization application are selected in data, and generate Universal Database, Universal Database includes user
Authority list, can query log files and connection secret key, Universal Database is deployed to by high in the clouds according to preset service device deployment rule
Server server deployment rule is pre-set, that is, pre-sets how Universal Database generates, and set
The server disposition of Universal Database is put, and database name of the Universal Database beyond the clouds in server is known as Apply Names
In addition prefix, Universal Database is present on cloud server, and automatically configures the journal file that can be consulted, by initial close
Code encryption Universal Database connects secret key.So that headend equipment from random accessing universal database, needs elder generation before access
Check whether visitor reaches access rights according to user right table, after reaching access rights, it is also necessary to according to connection secret key with
The Universal Database connection of cloud service industry persistent erection, and can only access can query log files.
The embodiment of the modular construction of application development system is described above, below using application development system as server
For, the entity apparatus of apparatus for evaluating is illustrated.
The apparatus for evaluating of potential target object is by taking server as an example, as shown in fig. 7, the apparatus for evaluating can be because of configuration or performance
It is different and generate bigger difference, one or more central processing units (central processing can be included
Units, CPU) 722 (for example, one or more processors) and memory 732, one or more storages are using journey
The storage medium 730 of sequence 742 or data 744 (such as one or more mass memory units).Wherein, 732 He of memory
Storage medium 730 can be of short duration storage or persistent storage.Can be included by being stored in the program of storage medium 730 by one or one
With upper module (diagram does not mark), each module can include operating the series of instructions in server.Further,
CPU722 could be provided as communicating with storage medium 730, perform the series of instructions behaviour in storage medium 730 on the server
Make.
Apparatus for evaluating can also include one or more power supplys 710, one or more radio network interfaces
750, one or more input/output interfaces 758 and/or, one or more operating systems 741, such as Windows
ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
Referring to Fig. 7, the embodiment of the present invention provides a kind of application development system, including:
Radio network interface 750, CPU722 and memory 732, radio network interface 750, CPU722 and memory 703 it
Between interconnected by bus, be stored with computer instruction in memory 732, CPU722 by computer instructions, so as to
Realize following methods:
Obtain the application data of at least one application;
Rule is disposed according to preset service device and application data generate Universal Database, and Universal Database is deployed to cloud
Hold server;
Generalization logical edit instruction and generalization logical data are obtained, generalization logical edit instruction is general for editing
Change logical data, generalization logical data is for expression processing using the logical data of data;
According to generalization logical edit instruction and generalization logic generation server application interface, server application interface is used
In calling the application data in cloud server.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of equipment and unit can refer to the corresponding process in preceding method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, apparatus embodiments described above are only schematical, for example, the unit
It divides, only a kind of division of logic function can have other dividing mode, such as multiple units or component in actual implementation
It may be combined or can be integrated into another system or some features can be ignored or does not perform.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, equipment or unit
It closes or communicates to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
That each unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent product sale or uses
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is substantially
The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products
It embodies, which is stored in a storage medium, is used including some instructions so that a computer
Equipment (can be personal computer, server or the network equipment etc.) performs the complete of each embodiment the method for the present invention
Portion or part steps.And aforementioned storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before
Embodiment is stated the present invention is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to preceding
The technical solution recorded in each embodiment is stated to modify or carry out equivalent replacement to which part technical characteristic;And these
Modification is replaced, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of apply data calling method, which is characterized in that including:
Obtain the application data of at least one application;
According to preset service device deployment rule and the application data generation Universal Database, and the Universal Database is disposed
To cloud server;
Generalization logical edit instruction and generalization logical data are obtained, the generalization logical edit instruction is described for editing
Generalization logical data, the generalization logical data handle the logical data using data for expression;
Server application interface is generated according to generalization logical edit instruction and the generalization logic, the server should
It is used to call with interface described using data in the cloud server.
2. according to claim 1 apply data calling method, which is characterized in that described to be compiled according to the generalization logic
It collects instruction and the generalization logical data generates server application interface, including:
The generalization logical data is edited according to generalization logical edit instruction, obtains logical field, the logic word
The field type of section is character, file or picture;
Processing is packaged to the logical field, generates server application interface.
3. according to claim 2 apply data calling method, which is characterized in that described to be compiled according to the generalization logic
It collects instruction and edits the generalization logical data, after obtaining logical field, further include:
The logical field is encrypted according to preset encryption rule, obtains key information;
According to the access authority information of logical field described in preset configuration rule setting;
Logical data table is generated according to the logical field, the key information and the access authority information.
4. according to claim 1 apply data calling method, which is characterized in that the acquisition generalization logical edit refers to
Order and generalization logical data, including:
User is received to be instructed according to the generalization logical edit that generalization logic inputs;
It is instructed according to the generalization logical edit and determines corresponding generalization logic;
Obtain the generalization logical data of the callization logic.
5. according to any one of claim 1 to 4 apply data calling method, which is characterized in that described according to preset
Server disposition rule and the application data generation Universal Database, and the Universal Database is deployed to cloud service
Device, including:
Generalization application is determined from the application according to preset service device deployment rule;
From the application data applied using the generalization is selected in data, and Universal Database is generated, it is described general
Database include user right table, can query log files and connection secret key;
The Universal Database is deployed to by cloud server according to preset service device deployment rule.
6. a kind of application development system, which is characterized in that including:
Acquisition module, for obtaining the application data of at least one application;
Deployment module, for disposing rule and the application data generation Universal Database according to preset service device, and by described in
Universal Database is deployed to cloud server;
Acquisition module is additionally operable to obtain generalization logical edit instruction and generalization logical data, the generalization logical edit
For editing the generalization logical data, the generalization logical data handles the patrolling using data for expression for instruction
Collect data;
Interface generation module, for generating server according to generalization logical edit instruction and the generalization logical data
Application interface, the server application interface are used to call described using data in the cloud server.
7. application development system according to claim 6, which is characterized in that
The interface generation module, specifically for editing the generalization logical number according to generalization logical edit instruction
According to obtaining logical field, the field type of the logical field is character, file or picture;
The interface generation module is additionally operable to be packaged the logical field processing, generates server application interface.
8. application development system according to claim 7, which is characterized in that the application development system further includes:
Data processing module specifically for the logical field is encrypted according to preset encryption rule, obtains key information;
The data processing module is additionally operable to the access authority information of the logical field according to preset configuration rule setting;
The data processing module is additionally operable to be given birth to according to the logical field, the key information and the access authority information
Into logical data table.
9. application development system according to claim 6, which is characterized in that
The acquisition module is additionally operable to receive the generalization logical edit instruction that user inputs according to generalization logic;
The acquisition module is additionally operable to instruct determining corresponding generalization logic according to the generalization logical edit;
The acquisition module is additionally operable to obtain the generalization logical data of the callization logic.
10. the application development system according to any one of claim 6 to 9, which is characterized in that
The deployment module, specifically for determining that generalization should from the application according to preset service device deployment rule
With;
The deployment module is additionally operable to from the application data applied using the generalization is selected in data, and generates
Universal Database, the Universal Database include user right table, can query log files and connection secret key;
The deployment module is additionally operable to that the Universal Database is deployed to high in the clouds clothes according to preset service device deployment rule
Business device.
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 true CN108153745A (en) | 2018-06-12 |
CN108153745B 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) |
Cited By (3)
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 |
CN110874214A (en) * | 2019-11-14 | 2020-03-10 | 北京明略软件系统有限公司 | 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)
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 |
-
2016
- 2016-12-02 CN CN201611096626.2A patent/CN108153745B/en active Active
Patent Citations (5)
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 |
Cited By (3)
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 |
CN110874214A (en) * | 2019-11-14 | 2020-03-10 | 北京明略软件系统有限公司 | 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 |
Also Published As
Publication number | Publication date |
---|---|
CN108153745B (en) | 2021-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109101373B (en) | General test platform based on subscription/release mode | |
US10970322B2 (en) | Training an artificial intelligence to generate an answer to a query based on an answer table pattern | |
CN105808428B (en) | A method of unified performance test is carried out to distributed file system | |
US20230177363A1 (en) | Generation of query templates for knowledge-graph based question answering system | |
US11557219B2 (en) | Generating and rating user assessments | |
CN104252521A (en) | Web content management using predetermined project templates | |
CN103988199A (en) | Removal of data remanence in deduplicated storage clouds | |
CN107220172A (en) | Automatic user interface is carried out by model-driven methodologies(UI)The method and system of test | |
CN108786112A (en) | A kind of application scenarios configuration method, device and storage medium | |
CN112036125B (en) | Document management method and device and computer equipment | |
CN108153745A (en) | A kind of application data calling method and application development system | |
CN104537012B (en) | Data processing method and device | |
US20190163671A1 (en) | Determining collaboration recommendations from file path information | |
US10691764B2 (en) | Search engine optimization techniques | |
CN109460784A (en) | Access behavioural characteristic method for establishing model, equipment, storage medium and device | |
CN113535749A (en) | Query statement generation method and device | |
US20240155024A1 (en) | Auto-documentation for application program interfaces based on network requests and responses | |
CN106815232A (en) | Catalog management method, apparatus and system | |
CN107241312A (en) | A kind of right management method and device | |
CN107038066A (en) | A kind of Activity Calculation system based on Web | |
Cheung et al. | Provenance explorer–customized provenance views using semantic inferencing | |
Kodavali et al. | Adaptation of Blockchain using Ethereum and IPFS for Fog based E-Healthcare activity recognition system | |
CN112333171A (en) | Service data processing method and device and computer equipment | |
CN104428811A (en) | General-purpose simulation system using social network interface | |
CN115840765A (en) | Data processing method and device based on rule engine |
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 | ||
TG01 | Patent term adjustment |