CN103593173A - Integration development system, integration development method and integration development device for application programs - Google Patents

Integration development system, integration development method and integration development device for application programs Download PDF

Info

Publication number
CN103593173A
CN103593173A CN201210421564.3A CN201210421564A CN103593173A CN 103593173 A CN103593173 A CN 103593173A CN 201210421564 A CN201210421564 A CN 201210421564A CN 103593173 A CN103593173 A CN 103593173A
Authority
CN
China
Prior art keywords
data
code
cloud server
developer
client
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
Application number
CN201210421564.3A
Other languages
Chinese (zh)
Other versions
CN103593173B (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201210421564.3A priority Critical patent/CN103593173B/en
Publication of CN103593173A publication Critical patent/CN103593173A/en
Application granted granted Critical
Publication of CN103593173B publication Critical patent/CN103593173B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides an integration development system for application programs. The integration development system comprises a developer client, a cloud server and a user client. The developer client is used for sending a developer document to the user client and the cloud server; the cloud server is used for recognizing a service logic code according to an execution environment to obtain a cloud logic code, processing a digital code and synchronizing the same with the user client; the user client is used for recognizing the service logic code according to the execution environment to obtain a user logic code and receiving the synchronized digital code sent by the cloud server. The invention further provides an integration development method for the application programs, the cloud server and the user client. The codes can be automatically determined to be executed in the cloud client or the user client according to running logic of the codes, so that the cloud server code or the user client code needs not to be distinguished during development by developers, and developer groups with random backgrounds are allowed to independently develop the complete Web application programs.

Description

A kind of integrated development system, method and device of application program
Technical field
The present invention relates to cloud development technique field, internet, particularly a kind of integrated development system, method, cloud server and subscription client of application program.
Background technology
Along with the development of internet cloud, the exploitation of the cloud of application program is more and more universal, and is subject to developer and user's welcome.In the cloud development technique of existing application program, developer need to develop the code logic of server and client both sides simultaneously, and formulates all kinds of interface definitions and data transmission standard and form, has caused following shortcoming:
1, require developer to there is server end and client developing background simultaneously, developer is had relatively high expectations.
2, the various functions that server provided are with URL(Uniform/Universal ResourceLocator, URL(uniform resource locator)) mode is issued as resource, need to formulate a large amount of interface standards, developer is entangled with repeatedly in using URL, list, AJAX, WebService, script embed to wait or the resource of other variety of way invoking server end or to client biography value.
3, because server and client are used two kinds of different language or two kinds of diverse programming models conventionally, cause the both sides code cannot be general, for ensure compatibility, often need to develop respectively for server with for the code of client for identical function and logic, thereby cause a large amount of repeatability exploitations, take developer's great effort, increased cost of development.
Summary of the invention
Object of the present invention is intended at least solve one of above-mentioned technological deficiency.
For this reason, the object of the invention is to propose a kind of integrated development system, method and device of application program, to realize, according to the operation logic of code, automatically determine that code will be executed in cloud server end or client, make developer in when exploitation without distinguishing cloud server end code or client code, allow the developer colony of random background can the complete web application of stand-alone development.
For achieving the above object, the embodiment of first aspect present invention has proposed a kind of integrated development system of application program, comprise developer's client, subscription client and cloud server, wherein, described developer's client, for sending developer's file to described subscription client and cloud server, wherein, described developer's file comprises business logic codes and data code, described business logic codes comprises high in the clouds logical code and user logic code, and described high in the clouds logical code and user logic code have different execution environments; Described cloud server, for according to execution environment, described business logic codes being identified to obtain described high in the clouds logical code, and processes and synchronizes described data code with described subscription client described data code; Described subscription client, for according to execution environment, described business logic codes being identified to obtain described user logic code, and receives the synchronous data code that described cloud server sends.
According to the integrated development system of the application program of the embodiment of the present invention, by using unified development language, make cloud server, code between client can be general, when application program actual motion, system is general by automatically determining that according to the operation logic of code code will be executed in cloud server end or client or two ends, make developer in when exploitation without distinguishing cloud server end code or client code, traditional cloud server that has been floating, the boundary of client, break cloud server end, the strict differentiation of client development roles, allow the developer colony of random background can the complete web application of stand-alone development.
In one embodiment of the invention, the integrated development system of described application program also comprises: intermediate data Subscriber, the data subscription request sending for receiving described developer's client, and according to described data subscription request, from corresponding cloud server, obtain corresponding developer's data and be sent to described subscription client.
In one embodiment of the invention, described cloud server being also for being split as described data code a plurality of sub-data structure and being stored to a plurality of data lists, wherein, and the data that each data list is corresponding dissimilar.
In one embodiment of the invention, described intermediate data Subscriber is also for obtaining corresponding a plurality of sub-data structure from described cloud server, and described a plurality of sub-data structure are spliced into corresponding developer's data.
In another embodiment of the present invention, described cloud server is also monitored for described a plurality of sub-data structure that self is stored, and after at least one in described a plurality of sub-data structure change, by described intermediate data Subscriber, the data after changing are sent to described subscription client.
In another embodiment of the present invention, it is characterized in that, described cloud server is also for carrying out storage enclosure to supplement storage information to described a plurality of sub-data structure.
The embodiment of second aspect present invention has proposed a kind of integrated development approach of application program, comprise the following steps: cloud server receives and preserve developer's file that developer's client sends, and when subscription client request, described developer's file is sent to subscription client, wherein, described developer's file comprises business logic codes and data code, described business logic codes comprises high in the clouds logical code and user logic code, and described high in the clouds logical code and user logic code have different execution environments; Described subscription client and cloud server identify to obtain described user logic code and high in the clouds logical code according to execution environment to described business logic codes respectively, and described cloud server is processed described data code and synchronizes described data code with described subscription client.
According to the integrated development approach of the application program of the embodiment of the present invention, by using unified development language, make cloud server, code between client can be general, when application program actual motion, system is general by automatically determining that according to the operation logic of code code will be executed in cloud server end or client or two ends, make developer in when exploitation without distinguishing cloud server end code or client code, traditional cloud server that has been floating, the boundary of client, break cloud server end, the strict differentiation of client development roles, allow the developer colony of random background can the complete web application of stand-alone development.
In one embodiment of the invention, the integrated development approach of described application program also comprises: intermediate data Subscriber receives the data subscription request that described developer's client sends, and according to described data subscription request, from corresponding cloud server, obtains corresponding developer's data and be sent to described subscription client.
In one embodiment of the invention, the integrated development approach of described application program also comprises: described cloud server is split as described data code a plurality of sub-data structure and is stored to a plurality of data lists, wherein, data corresponding to each data list.
In one embodiment of the invention, the integrated development approach of described application program also comprises: described intermediate data Subscriber obtains corresponding a plurality of sub-data structure from described cloud server, and described a plurality of sub-data structure are spliced into corresponding developer's data.
In one embodiment of the invention, the integrated development approach of described application program also comprises: described cloud server is monitored described a plurality of sub-data structure of self storage, and after at least one in described a plurality of sub-data structure change, by described intermediate data Subscriber, the data after changing are sent to described subscription client.
In one embodiment of the invention, the integrated development approach of described application program also comprises: described cloud server carries out storage enclosure to supplement storage information to described a plurality of sub-data structure.
The embodiment of third aspect present invention has proposed a kind of cloud server, comprise: receiver module, the developer's file sending for receiving developer's client, wherein, described developer's file comprises business logic codes and data code, described business logic codes comprises high in the clouds logical code and user logic code, and described high in the clouds logical code and user logic code have different execution environments; Logical code identification module, for identifying to obtain described high in the clouds logical code according to execution environment to described business logic codes; Data code identification module, for processing described data code and synchronizeing described data code with described subscription client.
According to the cloud server of the embodiment of the present invention, automatically carry out code identification, and the operation such as fractionation of data, monitoring, serializing, transmission, as the important component part of the integrated development system of application program, for developer reduce exploitation code complexity, reducing that cost of development provides may.
In one embodiment of the invention, described data code identification module being also for being split as described data code a plurality of sub-data structure and being stored to a plurality of data lists, wherein, and the data that each data list is corresponding dissimilar.
In one embodiment of the invention, described cloud server also comprises: monitoring module, for described a plurality of sub-data structure that self is stored, monitor, and after at least one in described a plurality of sub-data structure change, by described data code identification module, synchronize with described subscription client.
In one embodiment of the invention, described data code identification module is also for carrying out storage enclosure to supplement storage information to described a plurality of sub-data structure.
The embodiment of fourth aspect present invention has proposed a kind of subscription client, comprise: receiver module, the developer's file sending for receiving developer's client, wherein, described developer's file comprises business logic codes and data code, described business logic codes comprises high in the clouds logical code and user logic code, and described high in the clouds logical code and user logic code have different execution environments; Logical code identification module, for identifying to obtain described user logic code according to execution environment to described business logic codes; Data simultaneous module, synchronizes for carrying out data with cloud server.
According to the subscription client of the embodiment of the present invention, automatically carry out the operations such as code identification, data is synchronous, as the important component part of the integrated development system of application program, for developer reduce exploitation code complexity, reducing that cost of development provides may.
The aspect that the present invention is additional and advantage in the following description part provide, and part will become obviously from the following description, or recognize by practice of the present invention.
Accompanying drawing explanation
Of the present invention and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments and obviously and easily understand, wherein:
Fig. 1 is according to the schematic diagram of the integrated development system of the application program of the embodiment of the present invention;
Fig. 2 is the schematic diagram of the integrated development system of application program according to another embodiment of the present invention;
Fig. 3 is the example of a development sequence being simplified according to the present invention;
Fig. 4 is according to the process flow diagram of the integrated development approach of the application program of the embodiment of the present invention;
Fig. 5 is the schematic diagram of the code implementation in service of application program according to an embodiment of the invention;
Fig. 6 is the process flow diagram of the integrated development approach of application program in accordance with another embodiment of the present invention;
Fig. 7 is the schematic diagram that the subscription client of one embodiment of the invention obtains data;
Fig. 8 is the schematic diagram of cloud server according to an embodiment of the invention; And
Fig. 9 is the schematic diagram of subscription client according to an embodiment of the invention.
Embodiment
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has the element of identical or similar functions from start to finish.Below by the embodiment being described with reference to the drawings, be exemplary, only for explaining the present invention, and can not be interpreted as limitation of the present invention.
In description of the invention, it will be appreciated that, term " longitudinally ", " laterally ", " on ", orientation or the position relationship of the indication such as D score, 'fornt', 'back', " left side ", " right side ", " vertically ", " level ", " top ", " end " " interior ", " outward " be based on orientation shown in the drawings or position relationship, only the present invention for convenience of description and simplified characterization, rather than indicate or imply that the device of indication or element must have specific orientation, with specific orientation, construct and operation, therefore can not be interpreted as limitation of the present invention.
In description of the invention, it should be noted that, unless otherwise prescribed and limit, term " installation ", " being connected ", " connection " should be interpreted broadly, for example, can be mechanical connection or electrical connection, also can be the connection of two element internals, can be to be directly connected, and also can indirectly be connected by intermediary, for the ordinary skill in the art, can understand as the case may be the concrete meaning of described term.
Below with reference to Fig. 1 to Fig. 5, describe according to integrated development system and the method for the application program of the embodiment of the present invention.
The integrated development system of the application program that as shown in Figure 1, first aspect present invention embodiment proposes comprises developer's client 110, cloud server 120 and subscription client 130.
Particularly, developer's client 110 sends developer's file to subscription client 130 and cloud server 120, wherein, developer's file comprises business logic codes and data code, business logic codes comprises high in the clouds logical code and user logic code, and high in the clouds logical code and user logic code have different execution environments.Cloud server 120 identifies to obtain high in the clouds logical code according to execution environment to business logic codes, and to data code process and with subscription client 130 synchrodata codes.Subscription client 130 identifies to obtain user logic code according to execution environment to business logic codes, and receives the synchronous data code that cloud server 120 sends.Wherein, the standard that execution environment is analyzed, identified code as cloud server and subscription client, comprise the API(Application Programming Interface that application program when operation used, application programming interfaces), bibliographic structure information etc.In an embodiment of the present invention, developer's client 110 and subscription client 130 can be PC, mobile terminal or palm PC etc.
As shown in Figure 2, the integrated development system of the application program of one embodiment of the present of invention also comprises: intermediate data Subscriber 140, the data subscription request sending for receiving developer's client 110, and from developer's data corresponding to corresponding cloud server 120 acquisition, be sent to subscription client 130 according to data subscription request.In the embodiment of the present invention, intermediate data Subscriber is as the bridge between developer's client and subscription client, with form interactive user operation information between developer's client and subscription client of data subscription request.The information such as concrete data memory format, memory location are managed by cloud server, so only need comprise business information and user profile in data subscription request, have reduced volume of transmitted data, have saved the network bandwidth.
In the present embodiment, the data in cloud server 120, developer's client 110 and subscription client 130 have identical data description.In server, client, jointly use with a based on structurized data description, accomplish the unification of server end and client, two ends can multiplexing same data structure, and three-dimensional structural data, to make developer when describing business datum, not need to write the code of realizing server end and client data compatibility, the complexity that reduces exploitation code, has reduced cost of development.
In one embodiment of the invention, cloud server 120 is split as data code a plurality of sub-data structure and is stored to a plurality of data lists, wherein, and the data that each data list is corresponding dissimilar.When client-requested data, intermediate data Subscriber 140 obtains corresponding a plurality of sub-data structure from cloud server 120, and a plurality of sub-data structure are spliced into corresponding developer's data, then is sent to client.In actual applications, data code often comprises a plurality of sub-data structure, and data code is split as the process of sub-data structure and follows set standard, is convenient to the structural description of data, and a plurality of business cloud server carries out parallel computation simultaneously.And; different sub-data structure, often can be stored on business cloud servers different in cloud server, after receiving data subscription request; need to from a plurality of business cloud servers, obtain a plurality of sub-data structure, and splice to be converted to the needed data layout of user.
In one embodiment of the invention, cloud server 120 is monitored a plurality of sub-data structure of self storage, and after at least one in a plurality of sub-data structure change, by intermediate data Subscriber 140, the data after changing are sent to subscription client 130.The variation of sub-data structure, and not only because the user of client operation, also may there is variation because the data in other sub-data structure change, now also need the data after changing to be sent to subscription client, to guarantee that the data in subscription client are real-time latest datas.
In one embodiment of the invention, cloud server 120 is also for carrying out storage enclosure to supplement storage information to a plurality of sub-data structure.
Particularly, cloud server supplements storage information such as major key, contingency table, external keys automatically, to realize storage enclosure, and to client, sends the data that encapsulated.To automatically supplementing of storage information, the content that client only need be provided for the data capsule in high in the clouds is subscribed to and can be obtained data, and without the detailed problems such as particular location of being concerned about data storage, and the data of obtaining are given security and are all met data structure and describe by high in the clouds, from developer's angle, do not need to consider the storage details of data, only need to pay close attention to the required data of own service.As shown in Figure 3, in photo data type, only include data, meta, comments tri-seed data structures, system is split as them after subdata automatically, is stored in respectively in file server, meta list server, comments list server.In the data structure of code, because without the code of writing the concrete storage such as data base administration, data compatibility, transmission mode implementation, the length of code and complexity significantly reduce compared with the code of conventional art.
The integrated development system of the application program providing according to the embodiment of the present invention, by using unified development language, make cloud server, code between client can be general, when application program actual motion, system is general by automatically determining that according to the operation logic of code code will be executed in cloud server end or client or two ends, make developer in when exploitation without distinguishing cloud server end code or client code, traditional cloud server that has been floating, the boundary of client, break cloud server end, the strict differentiation of client development roles, allow the developer colony of random background can the complete web application of stand-alone development.And, the unified data structure of cloud server and customer end adopted is described, make Application developer without the particular location of focused data storage, the detailed problems such as compatibility in data transmission, and be only absorbed in the required data structure of description business, reduced the complexity of exploitation code, reduce cost of development, reduced the construction cycle.
As shown in Figure 4, the integrated development approach of the application program that second aspect present invention embodiment proposes, comprises the following steps:
S301: cloud server receives and preserve developer's file, and when subscription client request, described developer's file is sent to subscription client, wherein, developer's file comprises business logic codes and data code, business logic codes comprises high in the clouds logical code and user logic code, and high in the clouds logical code and user logic code have different execution environments.Particularly, developer's file comprises program source code, configuration file, data description file etc.
In one embodiment of the invention, cloud server end and client are used unified development language, and Javascript language for example makes the general possibility that becomes of code of cloud server end and client.The data description that cloud server end and customer end adopted are unified, and use framework that data transmission and serializing mechanism are provided, make developer no longer tangle the definition in data-interface, no longer process complicated exchanges data work.In an embodiment of the present invention, developer's client and user client can be PC, mobile terminal or palm PC etc.
S302: subscription client and cloud server identify to obtain user logic code and high in the clouds logical code according to execution environment to business logic codes respectively, and cloud server is processed data code and with subscription client synchrodata code.
As shown in Figure 5, the invention has the advantages that, use cloud server, unified programming language and the programming model of client, according to the operation logic of code, automatically determine that code will be executed in cloud server end or client or two ends general.In the development approach of one embodiment of the present of invention, the unified Javascript that uses of server and client side is as development language beyond the clouds, the running environment of cloud server and client is except execution environment is different, other content is all unified, such as the program of operational character string, array etc. and tool-class etc., so description of data structure and operate the operation code that this describes the data content of indication, because the main body operating is all data, irrelevant with running environment, so these codes beyond the clouds can be general between server and client side.When application program is moved, only need according to different application scenarioss, call different object program, can realize the program code that does not belong to current environment and can not carried out mistakenly.For example, call an age by personnel's object and add 1 and return to the program of this personnel's object, only need import data object into, on server Yu in client, can carry out beyond the clouds, and do not rely on the specific function that the API of certain one end provides.And only need to carry out the program into the page that object is played up in client for calling one, when this program of client call, client running environment can provide the ability of processing template and guarantee that this program carries out smoothly; And can't carry out this program on cloud server.By this method, realized according to running environment (or operation logic) and automatically code has been operated in to certain one end, make developer without distinguishing cloud server end code or client code, the boundary of traditional cloud server that is floating, client, break the strict differentiation of cloud server end, client development roles, allow the developer colony of random background can the complete web application of stand-alone development.
As shown in Figure 6, in one embodiment of the invention, also comprise intermediate data Subscriber in development system, now, the integrated development approach of the application program of the present embodiment also comprises:
S303: intermediate data Subscriber receives the data subscription request that developer's client sends, and according to data subscription request, from corresponding cloud server, obtain corresponding developer's data and be sent to subscription client.
In the embodiment of the present invention, intermediate data Subscriber is as the bridge between developer's client and subscription client, with form interactive user operation information between developer's client and subscription client of data subscription request.The information such as concrete data memory format, memory location are managed by cloud server, so only need comprise business information and user profile in data subscription request, have reduced volume of transmitted data, have saved the network bandwidth.
In one embodiment of the invention, data code often comprises a plurality of sub-data structure, data code is split as the process of sub-data structure and follows set standard, is convenient to the structural description of data, and a plurality of business cloud server carries out parallel computation simultaneously.And; different sub-data structure, often can be stored on business cloud servers different in cloud server, after receiving data subscription request; need to from a plurality of business cloud servers, obtain a plurality of sub-data structure, and splice to be converted to the needed data layout of user.Now, the integrated development approach of application program is further comprising the steps of:
S304: cloud server is split as data code a plurality of sub-data structure and is stored to a plurality of data lists, wherein, the data that each data list is corresponding dissimilar.
S305: cloud server is monitored a plurality of sub-data structure of self storage, and after at least one in a plurality of sub-data structure change, by intermediate data Subscriber, the data after changing are sent to subscription client.
In actual applications, the variation of sub-data structure, and not only because the user of client operation, also may there is because the data in other sub-data structure change variation, now also need the data after changing to be sent to subscription client, to guarantee that the data in subscription client are real-time latest datas.
S306: intermediate data Subscriber obtains corresponding a plurality of sub-data structure from cloud server, and a plurality of sub-data structure are spliced into corresponding developer's data.
During splicing, the data structure that system is predetermined according to developer, is spliced into developer's data by sub-data structure, for application program.
S307: cloud server carries out storage enclosure to supplement storage information to described a plurality of sub-data structure.
Cloud server supplements storage information such as major key, contingency table, external keys automatically, to realize storage enclosure, and to client, sends the data that encapsulated.To automatically supplementing of storage information, the content that client only need be provided for the data capsule in high in the clouds is subscribed to and can be obtained data, and without the detailed problems such as particular location of being concerned about data storage, and the data of obtaining are given security and are all met data structure and describe by high in the clouds, from developer's angle, do not need to consider the storage details of data, only need to pay close attention to the required data of own service.As shown in Figure 3, in photo data type, only include data, meta, comments tri-seed data structures, system is split as them after subdata automatically, is stored in respectively in file server, meta list server, comments list server.In the data structure of code, because without the code of writing the concrete storage such as data base administration, data compatibility, transmission mode implementation, the length of code and complexity significantly reduce compared with the code of conventional art.
The integrated development approach of the application program in one embodiment of the present of invention also comprises step:
S308: cloud server carries out serializing to a plurality of sub-data structure, described intermediate data Subscriber carried out unserializing before splicing.
Serializing is that in data transmission procedure, client and cloud server end all need an operation of carrying out, serializing refers to that data content is converted to can be for the string format of Internet Transmission or the transfer process of binary format, and unserializing is the process of data content that transferring content is reduced to.When data are transmitted to cloud server end by client, serializing work is completed by client, and unserializing work is completed by cloud server end, cloud server end is during to client transmissions, serializing is operated in cloud server end and completes, unserializing work is completed by client, in traditional performance history, developer need to understand the data transmission format that target cloud server is supported, as list, URL key assignments, or special text formatting is as CSV, XML etc., and understand transmission method (comprise get post websocket etc.) and resource request position, control the form that returns of parameter and request content, and Data Serialization and the unserializing method of data are transmitted in exploitation based on this. after using framework, this a series of operation unification is provided by framework, developer only needs usage data, do not need to be concerned about its transmitting procedure, the length of code and complexity significantly reduce compared with the code of conventional art.
Fig. 7 is the schematic diagram that a development approach according to the application program towards unified structure data of the embodiment of the present invention obtains data, as shown in the figure, sub-data structure is stored in each service server, the tool set that in the middle of the framework of middle first comprises, Subscriber, developer are developed and the general name that makes the runtime environment that client-side program moved.When having user to ask, framework receives each booking reader's data subscription information, after data subscription information is analyzed, using each service server as data distribution server, framework extracts corresponding sub-data structure from each data distribution server, and be assembled into the required user data of application program, and realize the automatic mapping from sub-data structure to data structure, have the following advantages:
1, make developer be unlikely to subscribe to from a plurality of scattered data distribution servers, reduced and obtained to obtain data complexity.
2, make client in when operation, directly from intermediate receptacle, can take complete data available, and do not need again data the operation such as to assemble.Reduced the complexity of service data.
The integrated development approach of the application program providing according to the embodiment of the present invention, by using unified development language, make cloud server, code between client can be general, when application program actual motion, system is general by automatically determining that according to the operation logic of code code will be executed in cloud server end or client or two ends, make developer in when exploitation without distinguishing cloud server end code or client code, traditional cloud server that has been floating, the boundary of client, break cloud server end, the strict differentiation of client development roles, allow the developer colony of random background can the complete web application of stand-alone development.And, the unified data structure of cloud server and customer end adopted is described, make Application developer without the particular location of focused data storage, the detailed problems such as compatibility in data transmission, and be only absorbed in the required data structure of description business, reduced the complexity of exploitation code, reduce cost of development, reduced the construction cycle.
As shown in Figure 8, the cloud server of third aspect present invention embodiment, comprising: receiver module 610, logical code identification module 620 and data code identification module 630.
Particularly, receiver module 610 receives developer's file that developer's client sends, wherein, developer's file comprises business logic codes and data code, business logic codes comprises high in the clouds logical code and user logic code, and high in the clouds logical code and user logic code have different execution environments.Logical code identification module 620 identifies to obtain high in the clouds logical code according to execution environment to business logic codes.630 pairs of data codes of data code identification module process and with subscription client synchrodata code.In the embodiment of the present invention, receiver module 610 receives after code, logical code identification module 620 and data code identification module 630 be automatic cognizance code processing all, thereby make developer when exploitation, no longer need in the traditional code development process of picture, according to running environment beyond the clouds of code and the appendages such as design interface or assembly guarantee the compatibility of code, the length of code and complexity significantly reduce compared with the code of conventional art.
In one embodiment of the invention, data code identification module 630 is also for being split as data code a plurality of sub-data structure and being stored to a plurality of data lists, wherein, and the data that each data list is corresponding dissimilar.In actual applications, data code often comprises a plurality of sub-data structure, and data code is split as the process of sub-data structure and follows set standard, is convenient to the structural description of data, and a plurality of business cloud server carries out parallel computation simultaneously.And; different sub-data structure, often can be stored on business cloud servers different in cloud server, after receiving data subscription request; need to from a plurality of business cloud servers, obtain a plurality of sub-data structure, and splice to be converted to the needed data layout of user.
The cloud server of one embodiment of the present of invention also comprises: monitoring module.Monitoring module is monitored a plurality of sub-data structure of cloud server self storage, and after at least one in a plurality of sub-data structure change, by data code identification module, synchronizes with subscription client.In actual applications, the variation of sub-data structure, and not only because the user of client operation, also may there is because the data in other sub-data structure change variation, therefore need monitoring module to monitor sub-data structure, to guarantee when sub-data structure changes, the data after changing are sent to subscription client, the data that realize in subscription client are real-time latest datas.
The cloud server of one embodiment of the invention also comprises: serializing module.Serializing module is carried out serializing to a plurality of sub-data structure, and a plurality of sub-data structure after serializing are sent to client.Serializing is that in data transmission procedure, client and cloud server end all need an operation of carrying out, serializing refers to that data content is converted to can be for the string format of Internet Transmission or the transfer process of binary format, and unserializing is the process of data content that transferring content is reduced to.When data are transmitted to cloud server end by client, serializing work is completed by client, and unserializing work is completed by cloud server end, cloud server end is during to client transmissions, serializing is operated in cloud server end and completes, unserializing work is completed by client, in traditional performance history, developer need to understand the data transmission format that target cloud server is supported, as list, URL key assignments, or special text formatting is as CSV, XML etc., and understand transmission method (comprise get post websocket etc.) and resource request position, control the form that returns of parameter and request content, and Data Serialization and the unserializing method of data are transmitted in exploitation based on this. after using framework, this a series of operation unification is provided by framework, developer only needs usage data, do not need to be concerned about its transmitting procedure, the length of code and complexity significantly reduce compared with the code of conventional art.
According to the cloud server of the embodiment of the present invention, automatically carry out code identification, and the operation such as fractionation of data, monitoring, serializing, transmission, as the important component part of the integrated development system of application program, for developer reduce exploitation code complexity, reducing that cost of development provides may.
As shown in Figure 9, the subscription client of fourth aspect present invention embodiment, comprising: receiver module 710, logical code identification module 720 and data simultaneous module 730.
Particularly, receiver module 710 receives developer's file that developer's client sends, wherein, developer's file comprises business logic codes and data code, business logic codes comprises high in the clouds logical code and user logic code, and high in the clouds logical code and user logic code have different execution environments.Logical code identification module 720 identifies to obtain user logic code according to execution environment to business logic codes.Data simultaneous module 730 is synchronizeed for carrying out data with cloud server.In the embodiment of the present invention, receiver module 710 receives after code, logical code identification module 720 and data code identification module 730 be automatic cognizance code processing all, thereby make developer when exploitation, no longer need in the traditional code development process of picture, according to running environment beyond the clouds of code and the appendages such as design interface or assembly guarantee the compatibility of code, the length of code and complexity significantly reduce compared with the code of conventional art.
According to the subscription client of the embodiment of the present invention, automatically carry out the operations such as code identification, data is synchronous, as the important component part of the integrated development system of application program, for developer reduce exploitation code complexity, reducing that cost of development provides may.
In process flow diagram or any process of otherwise describing at this or method describe and can be understood to, represent to comprise that one or more is for realizing module, fragment or the part of code of executable instruction of the step of specific logical function or process, and the scope of the preferred embodiment of the present invention comprises that other realization wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by contrary order, carry out function, this should be understood by embodiments of the invention person of ordinary skill in the field.
The logic and/or the step that in process flow diagram, represent or otherwise describe at this, for example, can be considered to for realizing the sequencing list of the executable instruction of logic function, may be embodied in any computer-readable medium, for instruction execution system, device or equipment (as computer based system, comprise that the system of processor or other can and carry out the system of instruction from instruction execution system, device or equipment instruction fetch), use, or use in conjunction with these instruction execution systems, device or equipment.With regard to this instructions, " computer-readable medium " can be anyly can comprise, storage, communication, propagation or transmission procedure be for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment.The example more specifically of computer-readable medium (non-exhaustive list) comprises following: the electrical connection section (electronic installation) with one or more wirings, portable computer diskette box (magnetic device), random-access memory (ram), ROM (read-only memory) (ROM), the erasable ROM (read-only memory) (EPROM or flash memory) of editing, fiber device, and portable optic disk ROM (read-only memory) (CDROM).In addition, computer-readable medium can be even paper or other the suitable medium that can print described program thereon, because can be for example by paper or other media be carried out to optical scanning, then edit, decipher or process in electronics mode and obtain described program with other suitable methods if desired, be then stored in computer memory.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, a plurality of steps or method can realize with being stored in storer and by software or the firmware of suitable instruction execution system execution.For example, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: have for data-signal being realized to the discrete logic of the logic gates of logic function, the special IC with suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
In the description of this instructions, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, the schematic statement of described term is not necessarily referred to identical embodiment or example.And the specific features of description, structure, material or feature can be with suitable mode combinations in any one or more embodiment or example.
Although illustrated and described embodiments of the invention, for the ordinary skill in the art, be appreciated that without departing from the principles and spirit of the present invention and can carry out multiple variation, modification, replacement and modification to these embodiment, scope of the present invention is by claims and be equal to and limit.

Claims (17)

1. an integrated development system for application program, is characterized in that, comprises developer's client, subscription client and cloud server, wherein,
Described developer's client, for sending developer's file to described subscription client and cloud server, wherein, described developer's file comprises business logic codes and data code, described business logic codes comprises high in the clouds logical code and user logic code, and described high in the clouds logical code and user logic code have different execution environments;
Described cloud server, for according to execution environment, described business logic codes being identified to obtain described high in the clouds logical code, and processes and synchronizes described data code with described subscription client described data code; And
Described subscription client, for according to execution environment, described business logic codes being identified to obtain described user logic code, and receives the synchronous data code that described cloud server sends.
2. the integrated development system of application program as claimed in claim 1, is characterized in that, also comprises:
Intermediate data Subscriber, the data subscription request sending for receiving described developer's client, and according to described data subscription request, from corresponding cloud server, obtain corresponding developer's data and be sent to described subscription client.
3. the integrated development system of application program as claimed in claim 1 or 2, it is characterized in that, described cloud server being also for being split as described data code a plurality of sub-data structure and being stored to a plurality of data lists, wherein, and the data that each data list is corresponding dissimilar.
4. the integrated development system of the application program as described in claim 1-3 any one, it is characterized in that, described intermediate data Subscriber is also for obtaining corresponding a plurality of sub-data structure from described cloud server, and described a plurality of sub-data structure are spliced into corresponding developer's data.
5. the integrated development system of the application program as described in claim 1-3 any one, it is characterized in that, described cloud server is also monitored for described a plurality of sub-data structure that self is stored, and after at least one in described a plurality of sub-data structure change, by described intermediate data Subscriber, the data after changing are sent to described subscription client.
6. the integrated development system of the application program as described in claim 1-3 any one, is characterized in that, described cloud server is also for carrying out storage enclosure to supplement storage information to described a plurality of sub-data structure.
7. an integrated development approach for application program, is characterized in that, comprises the following steps:
Cloud server receives and preserves developer's file that developer's client sends, and when subscription client request, described developer's file is sent to subscription client, wherein, described developer's file comprises business logic codes and data code, described business logic codes comprises high in the clouds logical code and user logic code, and described high in the clouds logical code and user logic code have different execution environments; And
Described subscription client and cloud server identify to obtain described user logic code and high in the clouds logical code according to execution environment to described business logic codes respectively, and described cloud server is processed described data code and synchronizes described data code with described subscription client.
8. the integrated development approach of application program as claimed in claim 7, is characterized in that, also comprises:
Intermediate data Subscriber receives the data subscription request that described developer's client sends, and according to described data subscription request, from corresponding cloud server, obtains corresponding developer's data and be sent to described subscription client.
9. the integrated development approach of application program as claimed in claim 7, is characterized in that, also comprises:
Described cloud server is split as described data code a plurality of sub-data structure and is stored to a plurality of data lists, wherein, and the data that each data list is corresponding dissimilar.
10. the integrated development approach of application program as claimed in claim 7, is characterized in that, also comprises:
Described intermediate data Subscriber obtains corresponding a plurality of sub-data structure from described cloud server, and described a plurality of sub-data structure are spliced into corresponding developer's data.
The integrated development approach of 11. application programs as claimed in claim 7, is characterized in that, also comprises:
Described cloud server is monitored described a plurality of sub-data structure of self storage, and after at least one in described a plurality of sub-data structure change, by described intermediate data Subscriber, the data after changing are sent to described subscription client.
The integrated development approach of 12. application programs as claimed in claim 7, is characterized in that, also comprises:
Described cloud server carries out storage enclosure to supplement storage information to described a plurality of sub-data structure.
13. 1 kinds of cloud servers, is characterized in that, comprising:
Receiver module, the developer's file sending for receiving developer's client, wherein, described developer's file comprises business logic codes and data code, described business logic codes comprises high in the clouds logical code and user logic code, and described high in the clouds logical code and user logic code have different execution environments;
Logical code identification module, for identifying to obtain described high in the clouds logical code according to execution environment to described business logic codes; And
Data code identification module, for processing described data code and synchronizeing described data code with described subscription client.
14. cloud servers as claimed in claim 13, it is characterized in that, described data code identification module being also for being split as described data code a plurality of sub-data structure and being stored to a plurality of data lists, wherein, and the data that each data list is corresponding dissimilar.
15. cloud servers as claimed in claim 13, is characterized in that, also comprise:
Monitoring module, monitors for the described a plurality of sub-data structure to self storage, and after at least one in described a plurality of sub-data structure change, by described data code identification module, synchronizes with described subscription client.
16. cloud servers as claimed in claim 13, is characterized in that, described data code identification module is also for carrying out storage enclosure to supplement storage information to described a plurality of sub-data structure.
17. 1 kinds of subscription clients, is characterized in that, comprising:
Receiver module, the developer's file sending for receiving developer's client, wherein, described developer's file comprises business logic codes and data code, described business logic codes comprises high in the clouds logical code and user logic code, and described high in the clouds logical code and user logic code have different execution environments;
Logical code identification module, for identifying to obtain described user logic code according to execution environment to described business logic codes; And
Data simultaneous module, synchronizes for carrying out data with cloud server.
CN201210421564.3A 2012-10-29 2012-10-29 A kind of integrated development system of application program, method and device Active CN103593173B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210421564.3A CN103593173B (en) 2012-10-29 2012-10-29 A kind of integrated development system of application program, method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210421564.3A CN103593173B (en) 2012-10-29 2012-10-29 A kind of integrated development system of application program, method and device

Publications (2)

Publication Number Publication Date
CN103593173A true CN103593173A (en) 2014-02-19
CN103593173B CN103593173B (en) 2017-07-25

Family

ID=50083339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210421564.3A Active CN103593173B (en) 2012-10-29 2012-10-29 A kind of integrated development system of application program, method and device

Country Status (1)

Country Link
CN (1) CN103593173B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580514A (en) * 2015-01-28 2015-04-29 奥林网络科技(宁波)有限公司 Remote software application debugging method and device based on cloud computing
CN104580513A (en) * 2015-01-28 2015-04-29 奥林网络科技(宁波)有限公司 Remote software application research and development method and device based on cloud computing
CN104935660A (en) * 2015-06-17 2015-09-23 北京智友信诚科技有限公司 System, method and device for developing and operating cloud program
CN105335281A (en) * 2014-07-30 2016-02-17 阿里巴巴集团控股有限公司 Method and device for automatic mock of external dependency
CN105426231A (en) * 2014-09-04 2016-03-23 腾讯科技(深圳)有限公司 Multi-processing apparatus and multi-processing method
CN105630470A (en) * 2014-10-31 2016-06-01 阿里巴巴集团控股有限公司 Code co-establishment method and system, source code server and open server
CN105657050A (en) * 2016-03-03 2016-06-08 深圳卡易科技股份有限公司 Low-flow POS machine communication system and communication method
WO2016192174A1 (en) * 2015-06-03 2016-12-08 北京矩道优达网络科技有限公司 Internet-based real-time and multiuser computer program development and debugging system and method
CN107239290A (en) * 2017-06-12 2017-10-10 郑州云海信息技术有限公司 The management method and device of a kind of application service
CN108509329A (en) * 2017-02-24 2018-09-07 腾讯科技(深圳)有限公司 The method and device that the operation executed in client is verified
CN110347396A (en) * 2018-04-03 2019-10-18 阿里巴巴集团控股有限公司 System constituting method, control method, device, control system and calculating equipment
CN110866234A (en) * 2019-09-29 2020-03-06 南京大学 Identity verification system based on multiple biological characteristics
WO2020056585A1 (en) * 2018-09-18 2020-03-26 西门子股份公司 Program file writing and running processing method, device and system
CN111930398A (en) * 2020-07-24 2020-11-13 北京柠檬微趣科技股份有限公司 Application program updating method, device, system, medium and equipment
CN111984305A (en) * 2020-08-21 2020-11-24 腾讯科技(上海)有限公司 Application configuration method and device and computer equipment
CN113037679A (en) * 2019-12-09 2021-06-25 李庆玉 Cloud space management system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6073163A (en) * 1997-06-10 2000-06-06 Oracle Corporation Method and apparatus for enabling web-based execution of an application
CN101583939A (en) * 2007-01-03 2009-11-18 微软公司 Synchronization protocol for loosely coupled devices
CN101799754A (en) * 2009-12-17 2010-08-11 中国电力科学研究院 Method and system for developing web application

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6073163A (en) * 1997-06-10 2000-06-06 Oracle Corporation Method and apparatus for enabling web-based execution of an application
CN101583939A (en) * 2007-01-03 2009-11-18 微软公司 Synchronization protocol for loosely coupled devices
CN101799754A (en) * 2009-12-17 2010-08-11 中国电力科学研究院 Method and system for developing web application

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335281B (en) * 2014-07-30 2018-03-20 阿里巴巴集团控股有限公司 A kind of method and device relied on outside automatic mock
CN105335281A (en) * 2014-07-30 2016-02-17 阿里巴巴集团控股有限公司 Method and device for automatic mock of external dependency
CN105426231A (en) * 2014-09-04 2016-03-23 腾讯科技(深圳)有限公司 Multi-processing apparatus and multi-processing method
CN105630470A (en) * 2014-10-31 2016-06-01 阿里巴巴集团控股有限公司 Code co-establishment method and system, source code server and open server
CN105630470B (en) * 2014-10-31 2018-12-21 阿里巴巴集团控股有限公司 Code is built together method, system, oss server and open server
CN104580513A (en) * 2015-01-28 2015-04-29 奥林网络科技(宁波)有限公司 Remote software application research and development method and device based on cloud computing
CN104580514A (en) * 2015-01-28 2015-04-29 奥林网络科技(宁波)有限公司 Remote software application debugging method and device based on cloud computing
CN104580513B (en) * 2015-01-28 2018-11-02 宁波大掌柜物流服务有限公司 Software application based on cloud computing remotely researches and develops method and device
CN104580514B (en) * 2015-01-28 2018-11-02 宁波大掌柜物流服务有限公司 Software application remote debugging method based on cloud computing and device
WO2016192174A1 (en) * 2015-06-03 2016-12-08 北京矩道优达网络科技有限公司 Internet-based real-time and multiuser computer program development and debugging system and method
CN104935660A (en) * 2015-06-17 2015-09-23 北京智友信诚科技有限公司 System, method and device for developing and operating cloud program
CN104935660B (en) * 2015-06-17 2018-11-06 北京智友信诚科技有限公司 A kind of cloud program development operating system, method and device
CN105657050A (en) * 2016-03-03 2016-06-08 深圳卡易科技股份有限公司 Low-flow POS machine communication system and communication method
CN108509329A (en) * 2017-02-24 2018-09-07 腾讯科技(深圳)有限公司 The method and device that the operation executed in client is verified
CN108509329B (en) * 2017-02-24 2021-05-14 腾讯科技(深圳)有限公司 Method and device for verifying operation executed on client
CN107239290A (en) * 2017-06-12 2017-10-10 郑州云海信息技术有限公司 The management method and device of a kind of application service
CN110347396A (en) * 2018-04-03 2019-10-18 阿里巴巴集团控股有限公司 System constituting method, control method, device, control system and calculating equipment
WO2020056585A1 (en) * 2018-09-18 2020-03-26 西门子股份公司 Program file writing and running processing method, device and system
CN110866234A (en) * 2019-09-29 2020-03-06 南京大学 Identity verification system based on multiple biological characteristics
CN113037679A (en) * 2019-12-09 2021-06-25 李庆玉 Cloud space management system
CN111930398A (en) * 2020-07-24 2020-11-13 北京柠檬微趣科技股份有限公司 Application program updating method, device, system, medium and equipment
CN111984305A (en) * 2020-08-21 2020-11-24 腾讯科技(上海)有限公司 Application configuration method and device and computer equipment
CN111984305B (en) * 2020-08-21 2023-08-08 腾讯科技(上海)有限公司 Application configuration method and device and computer equipment

Also Published As

Publication number Publication date
CN103593173B (en) 2017-07-25

Similar Documents

Publication Publication Date Title
CN103593173A (en) Integration development system, integration development method and integration development device for application programs
CN110532020B (en) Data processing method, device and system for micro-service arrangement
CN107516090B (en) Integrated face recognition method and system
US8407290B2 (en) Dynamic data sharing using a collaboration-enabled web browser
CN103765403A (en) Metadata driven collaboration between applications and web services
CN103268257B (en) The method of the hardware resource of hardware resource access system and access electronic installation thereof
US10284671B2 (en) Dynamic bundling of web components for asynchronous delivery
CN108337236A (en) A kind of gRPC call methods and device based on Protobuf and HTTP/1.1
CN108228256A (en) Code synchronisation method, apparatus, computer-readable medium and terminal
CN113900958A (en) Test case script generation method, system, medium and electronic device
CN105302564B (en) Network OA service control and implementation method
CN110232091A (en) Mthods, systems and devices for synchrodata
CN109408763B (en) Method and system for managing resume of different templates
CN103593172A (en) System, method and device for developing unified structured data oriented applications
CN112925559A (en) Resource packaging method, device, medium and electronic equipment
US20130332813A1 (en) Generic Workspace Awareness Support for Collaborative Web Applications
CN107608672A (en) A kind of UI module managements, UI module management methods and system
CN115242684B (en) Full-link pressure measurement method and device, computer equipment and storage medium
CN116248526A (en) Method and device for deploying container platform and electronic equipment
CN113672225B (en) User interface processing method, device, equipment and storage medium
CN113064987A (en) Data processing method, apparatus, electronic device, medium, and program product
CN114371982A (en) Simulation test method, device, equipment and readable storage medium
CN116028427B (en) Parameter configuration system, method and storage medium
CN109358972A (en) Blog management method, device and the computer system of middleware client
CN111125501A (en) Method and apparatus for processing information

Legal Events

Date Code Title Description
C06 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
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20140219

Assignee: SHANGHAI YOUYANG NEW MEDIA INFORMATION TECHNOLOGY Co.,Ltd.

Assignor: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

Contract record no.: X2019110000005

Denomination of invention: Integration development system, integration development method and integration development device for application programs

Granted publication date: 20170725

License type: Common License

Record date: 20191119