CN108037933A - The collocation method and system of urban service in a kind of building service application program - Google Patents

The collocation method and system of urban service in a kind of building service application program Download PDF

Info

Publication number
CN108037933A
CN108037933A CN201711071289.6A CN201711071289A CN108037933A CN 108037933 A CN108037933 A CN 108037933A CN 201711071289 A CN201711071289 A CN 201711071289A CN 108037933 A CN108037933 A CN 108037933A
Authority
CN
China
Prior art keywords
code
service
configuration
target cities
public
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
CN201711071289.6A
Other languages
Chinese (zh)
Other versions
CN108037933B (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.)
Lianjia Beijing Technology Co Ltd
Original Assignee
Lianjia Beijing 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 Lianjia Beijing Technology Co Ltd filed Critical Lianjia Beijing Technology Co Ltd
Priority to CN201711071289.6A priority Critical patent/CN108037933B/en
Publication of CN108037933A publication Critical patent/CN108037933A/en
Application granted granted Critical
Publication of CN108037933B publication Critical patent/CN108037933B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention provides the collocation method and system of urban service in a kind of building service application program, the described method includes:First code in the corresponding service configuration set in target cities in application program is detached, and is stored in the public code storehouse of the corresponding target cities;According to the second code in the correspondence received the public code storehouse, the first code in the public code storehouse is updated to the second code;Second code in the public code storehouse is updated into the corresponding service configuration set in the target cities, so that the first code that each service configuration includes in the corresponding service configuration set in the target cities is replaced with the second code;Wherein, the corresponding service configuration collection in the target cities is combined into the set for the urban service configuration that target cities include in the application program.Method provided by the invention, improves the service configuration efficiency of the relevant application program of building service, reduces the workload of developer.

Description

The collocation method and system of urban service in a kind of building service application program
Technical field
The present invention relates to field of computer technology, more particularly, to urban service in a kind of building service application program Collocation method and system.
Background technology
Now with the fast development of mobile Internet so that smart mobile phone has obtained quick popularization.At the same time, respectively Kind cell phone software also gets their way into people's lives like the mushrooms after rain, and especially many generic application software are even more to exist Technology and Product Experience aspect, have an effect secretly.Such as the Great Campaign with One Hundred Regiments of early stage group buying websites, for another example the first two years call a taxi it is soft Part subsidizes Great War, also has nearest shared bicycle Great War.The development of these mobile applications is all illustrated in application development process In, development of the agile development to Internet firm plays the role of vital.
In the prior art, in the exploitation of mobile application, when facing some needs promptly modification configuration file Wait, mostly using code revision and then be reconfigured at the flow reached the standard grade.In the prior art, when needing to configure mobile application Reach the standard grade, cause, it is necessary to be rewritten to reconfigure again to each service configuration in mobile application again when renewal Mobile application updates inefficiency.
The content of the invention
For overcome in the prior art, in building service application program carry out config update when, it is necessary to multiple hand Dynamic modification code, the problem of being reconfigured at reaching the standard grade, cause allocative efficiency low, influence application program update speed, there is provided Yi Zhongfang Produce the collocation method and system of urban service in attendant application.
According to an aspect of the present invention, there is provided the collocation method of urban service in a kind of building service application program, bag Include:
S1, detaches the first code in the corresponding service configuration set in target cities in application program, and stores In the public code storehouse of the correspondence target cities;
S2, according to the second code in the correspondence received the public code storehouse, by first in the public code storehouse Code update is the second code;
S3, by the second code renewal in the public code storehouse to the corresponding service configuration in the target cities In set, so that the first code that each service configuration includes in the corresponding service configuration set in the target cities is replaced Into the second code;
Wherein, the corresponding service configuration collection in the target cities is combined into the city that target cities include in the application program The set of city's service configuration.
Wherein, further included before the step S1, by all service configuration for including first code in the target cities Service configuration set is built, structure is used for the public code storehouse for storing the first code.
Wherein, further included before the step S2:Grammer effect is carried out to the second code, it is described when judging to know Second code does not include grammar issue, then performs step S2.
Wherein, when judgement knows that the second code includes grammar issue, then termination configures urban service.
Wherein, further included after the step S2, record the more new record of code in the public code storehouse.
According to another aspect of the present invention, there is provided the configuration system of urban service in a kind of building service application program, bag Include:
Module is detached, for being carried out to the first code in the corresponding service configuration set in target cities in application program Detach, and be stored in the public code storehouse of the corresponding target cities;
Update module, for the second code according to the correspondence public code storehouse received, by the public code First code in storehouse is updated to the second code;
Configuration module, for updating the second code in the public code storehouse to the corresponding institute in the target cities State in service configuration set, so that each service configuration includes in the corresponding service configuration set in the target cities described One code is replaced with the second code;
Wherein, the corresponding service configuration collection in the target cities is combined into the city that target cities include in the application program The set of city's service configuration.
Wherein, the system also includes code library to build module, for including the first generation by all in the target cities The service configuration structure service configuration set of code, structure are used for the public code storehouse for storing the first code.
Wherein, the system also includes code effect module, for carrying out grammer effect to the second code, when sentencing It is disconnected to know that the second code does not include grammar issue, then run the configuration module.
Wherein, the code effect module is additionally operable to, when judging to know that the second code includes grammar issue, then eventually Only configure urban service.
Wherein, the system also includes logging modle, for recording the more new record of code in the public code storehouse.
Method provided by the invention, by code identical in urban service configuration inside building service application program Extracted and updated, realize the entirety to program code identical in each service configuration in building service application program Configuration, improves the service configuration efficiency of the relevant application program of building service, realizes and service configuration is changed on actual time line, Reduce the workload of developer.
Brief description of the drawings
Fig. 1 is the collocation method of urban service in a kind of building service application program that one embodiment of the invention provides Flow chart;
Fig. 2 is the configuration system of urban service in a kind of building service application program that further embodiment of this invention provides Structure chart.
Embodiment
With reference to the accompanying drawings and examples, the embodiment of the present invention is described in further detail.Implement below Example is used to illustrate the present invention, but is not limited to the scope of the present invention.
With reference to figure 1, urban service matches somebody with somebody in a kind of building service application program that Fig. 1 provides for one embodiment of the invention The flow chart of method is put, the described method includes:
S1, detaches the first code in the corresponding service configuration set in target cities in application program, and stores In the public code storehouse of the correspondence target cities.Wherein, the corresponding service configuration collection in the target cities is combined into described answer The set that the urban service included with target cities in program configures.
Specifically, service configuration refers to, in the relevant application program of building service, for the house property of each city offer Service type carries out relevant service configuration, to meet the different house property business activity demand in each city.Due to service configuration Relevant code belongs to a set of common code, can be called by multiple service configuration, and if this partial code copied to respectively From service configuration in, will result in redundancy.Therefore, relevant common code in multiple service configuration is taken out here From, and be stored in the common code pre-established a storehouse, can be by defined in JAVA to detaching for the public code BaseController realizes to realize, or by LINQ TO SQL, can also control system by the distributed version increased income Git unite to realize, by the way that the relevant public code of each service configuration is detached, and stores and is the target cities phase In the common code storehouse answered, so that the project for including same code in each service configuration be integrated.
S2, according to the second code in the correspondence received the public code storehouse, by first in the public code storehouse Code update is the second code.
Specifically, when having new policy or new service configuration needs renewal, corresponding code can be carried out more Newly, at this time only need to be updated the code in the corresponding public code storehouse in the target cities, to realize new service Configuration, therefore here by the code update stored after being extracted by code in former public code storehouse can to realize new clothes The code of business configuration.
S3, by the second code renewal in the public code storehouse to the corresponding service configuration in the target cities In set, so that the first code that each service configuration includes in the corresponding service configuration set in the target cities is replaced Into the second code.
Specifically, all urban service configurations for depending on first code in the public code storehouse of renewal, so that New service strategy can be updated in the service configuration of each urban service, and it is right in the application program to building service to complete The configuration of the urban service of target cities, the modification to the urban service in application program, which realizes, submits a code, you can Replace overall code so that all Service Configuration Synchronization renewals.
By the method, the service configuration efficiency for improving the relevant application program of building service is realized, on actual time line Change the purpose of service configuration so that the new policy of building service can at the first time be assigned, reduce the work of developer Measure.
Further included on the basis of above-described embodiment, before the step S1, the is included by all in the target cities The service configuration structure service configuration set of one code, structure are used for the public code storehouse for storing the first code.
Specifically, before holistic approach starts, structure service configuration set is first had to, will be included in target cities The urban service configuration of same code is combined, and in a service configuration set, all service configuration can all include together The urban service of sample realizes code, builds the corresponding common code storehouse in the target cities afterwards, for storing from urban service The code extracted in configuration.
On the basis of the various embodiments described above, further included before the step S2:Grammer effect is carried out to the second code Test, when judging to know that the second code does not include grammar issue, then perform step S2;When the second code is known in judgement Comprising grammar issue, then configuration urban service is terminated.
Specifically, when renewal is needed, the corresponding common code storehouse in the target cities can receive renewal generation Code, before being updated, can dock received code and carry out grammer effect, when the grammer of effect the results show more fresh code There is no mistake, then into code update step, replaced and be originally stored in the public code storehouse with the code newly received Public code.On the other hand, when grammer effect the results show more fresh code is there are when syntax error, then this is stopped The action of configuration of urban service.
By the method, the stability of the configuration to urban service is improved, reduces the probability that mistake occurs in configuration, Improve the stability of the configuration of urban service.
On the basis of the various embodiments described above, further included after the step S2, record code in the public code storehouse More new record.
Specifically, in the action for performing service configuration, operation and product personnel can be come by filling in deployment explanation A series of information, the subsequent information such as the action of minute book time code update, reason, time are recorded, when needing to check institute When stating the more new historical in public code storehouse, deployment can be called to illustrate, to consult more new record.
By the method, service action of configuration every time can be recorded, it is every easy to the application program to building service Secondary renewal is tracked inquiry.
With reference to figure 2, Fig. 2 is urban service in a kind of building service application program that further embodiment of this invention provides The structure chart of configuration system, the system comprises:Detach module 21, update module 22 and configuration module 23
Wherein, module 21 is detached to be used for the first generation in the corresponding service configuration set in target cities in application program Code is detached, and is stored in the public code storehouse of the corresponding target cities.Wherein, the corresponding clothes in the target cities Business configuration set is the set for the urban service configuration that target cities include in the application program.
Specifically, since the relevant code of service configuration belongs to a set of common code, can be by multiple service configuration tune With, and if this partial code is copied in respective service configuration, it will result in redundancy.Therefore, here by multiple services Relevant code is detached in configuration, and is stored in the common code pre-established a storehouse, by by each service configuration Relevant public code is detached, and is stored in the corresponding common code storehouse in the target cities, so that will be each The project comprising same code is integrated in service configuration.
Wherein, update module 22 is used for the second code according to the correspondence public code storehouse received, by the public affairs The second code is updated to the first code in code library.
Specifically, when having new policy or new service configuration needs renewal, corresponding code can be carried out more Newly, at this time only need to be updated the code in the corresponding public code storehouse in the target cities, to realize new service Configuration, therefore here by the code update stored after being extracted by code in former public code storehouse can to realize new clothes The code of business configuration.
Wherein, configuration module 23 is used for the second code renewal in the public code storehouse to the target cities pair In the service configuration set answered, so that each service configuration includes in the corresponding service configuration set in the target cities The first code is replaced with the second code.
Specifically, all urban service configurations for depending on first code in the public code storehouse of renewal, so that New service strategy can be updated in the service configuration of each urban service, and it is right in the application program to building service to complete The configuration of the urban service of target cities, the modification to the urban service in application program, which realizes, submits a code, you can Replace overall code so that all Service Configuration Synchronization renewals.
By this system, the service configuration efficiency for lifting the relevant application program of building service is realized, is repaiied on actual time line Change the purpose of service configuration so that the new policy of building service can at the first time be assigned, reduce the work of developer Amount.
On the basis of above-described embodiment, the system also includes code library to build module, for by the target cities In it is all comprising first code service configuration structure service configuration set, structure be used for store the public of the first code Code library.
Specifically, before holistic approach starts, structure service configuration set is first had to, by target cities, is included The urban service configuration of same code is combined, and in a service configuration set, all service configuration can all include together The urban service of sample realizes code, builds the corresponding common code storehouse in the target cities afterwards, for storing from urban service The code extracted in configuration.
On the basis of above-described embodiment, the system also includes code effect module, for the second code into Row grammer effect, when judging to know that the second code does not include grammar issue, then runs the configuration module;When judgement obtains Know that the second code includes grammar issue, then terminate configuration urban service.
Specifically, when renewal is needed, the corresponding common code storehouse in the target cities can receive renewal generation Code, before being updated, can dock received code and carry out grammer effect, when the grammer of effect the results show more fresh code There is no mistake, then running configuration module, perform the code update in public code storehouse, original is replaced with the code newly received The public code being first stored in the public code storehouse.On the other hand, when grammer effect the results show more fresh code exists When syntax error, then stop the action of configuration of this urban service.
By this system, the stability of the configuration to urban service is improved, reduces the probability that mistake occurs in configuration, Improve the stability of the configuration of urban service.
On the basis of the various embodiments described above, the system also includes logging modle, for recording the public code storehouse The more new record of middle code.
Specifically, in the action for performing service configuration, operation and product personnel can be come by filling in deployment explanation A series of information, the subsequent information such as the action of minute book time code update, reason, time are recorded, when needing to check institute When stating the more new historical in public code storehouse, deployment can be called to illustrate, to consult more new record.
By this system, service action of configuration every time can be recorded, it is every easy to the application program to building service Secondary renewal is tracked inquiry.
Finally, the present processes are only preferable embodiment, are not intended to limit the scope of the present invention.It is all Within the spirit and principles in the present invention, any modification, equivalent replacement, improvement and so on, should be included in the guarantor of the present invention Within the scope of shield.

Claims (10)

  1. A kind of 1. collocation method of urban service in building service application program, it is characterised in that including:
    S1, detaches the first code in the corresponding service configuration set in target cities in application program, and is stored in pair In the public code storehouse for answering the target cities;
    S2, according to the second code in the correspondence received the public code storehouse, by the first code in the public code storehouse It is updated to the second code;
    S3, by the second code renewal in the public code storehouse to the corresponding service configuration set in the target cities In so that the first code that each service configuration includes in the corresponding service configuration set in the target cities be replaced with it is described Second code;
    Wherein, the corresponding service configuration collection in the target cities is combined into the urban service that target cities include in the application program The set of configuration.
  2. 2. according to the method described in claim 1, it is characterized in that, further included before the step S1, by the target cities In all service configuration structure service configuration set comprising first code, structure is used to store public generation of the first code Code storehouse.
  3. 3. according to the method described in claim 1, it is characterized in that, further included before the step S2:To the second code Grammer effect is carried out, when judging to know that the second code does not include grammar issue, then performs step S2.
  4. 4. according to the method described in claim 3, it is characterized in that, when judgement knows that the second code includes grammar issue, Then terminate configuration urban service.
  5. 5. according to the method described in claim 1, it is characterized in that, the step S2 after further include, record the public generation The more new record of code in code storehouse.
  6. A kind of 6. configuration system of urban service in building service application program, it is characterised in that including:
    Module is detached, for being detached to the first code in the corresponding service configuration set in target cities in application program, And it is stored in the public code storehouse of the corresponding target cities;
    Update module, for the second code according to the correspondence public code storehouse received, by the public code storehouse First code be updated to the second code;
    Configuration module, for updating the second code in the public code storehouse to the corresponding service in the target cities In configuration set, so that the first code that each service configuration includes in the corresponding service configuration set in the target cities is more Change the second code into;
    Wherein, the corresponding service configuration collection in the target cities is combined into the urban service that target cities include in the application program The set of configuration.
  7. 7. system according to claim 6, it is characterised in that the system also includes code library to build module, for inciting somebody to action All service configuration structure service configuration set comprising first code, structure are used to store described first in the target cities The public code storehouse of code.
  8. 8. system according to claim 6, it is characterised in that the system also includes code effect module, for institute State second code and carry out grammer effect, when judging to know that the second code does not include grammar issue, then run the configuration mould Block.
  9. 9. system according to claim 8, it is characterised in that the code effect module is additionally operable to, when institute is known in judgement State second code and include grammar issue, then terminate configuration urban service.
  10. 10. system according to claim 6, it is characterised in that described for recording the system also includes logging modle The more new record of code in public code storehouse.
CN201711071289.6A 2017-11-03 2017-11-03 Method and system for configuring urban service in real estate service application program Active CN108037933B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711071289.6A CN108037933B (en) 2017-11-03 2017-11-03 Method and system for configuring urban service in real estate service application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711071289.6A CN108037933B (en) 2017-11-03 2017-11-03 Method and system for configuring urban service in real estate service application program

Publications (2)

Publication Number Publication Date
CN108037933A true CN108037933A (en) 2018-05-15
CN108037933B CN108037933B (en) 2020-07-21

Family

ID=62093772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711071289.6A Active CN108037933B (en) 2017-11-03 2017-11-03 Method and system for configuring urban service in real estate service application program

Country Status (1)

Country Link
CN (1) CN108037933B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108376080A (en) * 2018-05-28 2018-08-07 郑州悉知信息科技股份有限公司 A kind of method for updating program and device
CN109816526A (en) * 2018-12-29 2019-05-28 贝壳技术有限公司 A kind of house prosperity transaction system and its configuration method
CN109857397A (en) * 2019-01-18 2019-06-07 泰康保险集团股份有限公司 The method, apparatus and storage medium of project build
CN111651181A (en) * 2020-06-17 2020-09-11 深圳市钱海网络技术有限公司 Automatic refreshing method and device for system configuration parameters

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0866403A1 (en) * 1997-03-17 1998-09-23 International Business Machines Corporation Dynamic extension of static device drivers
CN101770375A (en) * 2008-12-26 2010-07-07 新奥特(北京)视频技术有限公司 Method for realizing automatic update of software as well as system and device therefor
CN106598647A (en) * 2016-11-09 2017-04-26 许继集团有限公司 Intelligent apparatus development platform
CN106648810A (en) * 2017-01-24 2017-05-10 东软集团股份有限公司 Application program resource obtaining method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0866403A1 (en) * 1997-03-17 1998-09-23 International Business Machines Corporation Dynamic extension of static device drivers
CN101770375A (en) * 2008-12-26 2010-07-07 新奥特(北京)视频技术有限公司 Method for realizing automatic update of software as well as system and device therefor
CN106598647A (en) * 2016-11-09 2017-04-26 许继集团有限公司 Intelligent apparatus development platform
CN106648810A (en) * 2017-01-24 2017-05-10 东软集团股份有限公司 Application program resource obtaining method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108376080A (en) * 2018-05-28 2018-08-07 郑州悉知信息科技股份有限公司 A kind of method for updating program and device
CN109816526A (en) * 2018-12-29 2019-05-28 贝壳技术有限公司 A kind of house prosperity transaction system and its configuration method
CN109857397A (en) * 2019-01-18 2019-06-07 泰康保险集团股份有限公司 The method, apparatus and storage medium of project build
CN111651181A (en) * 2020-06-17 2020-09-11 深圳市钱海网络技术有限公司 Automatic refreshing method and device for system configuration parameters
CN111651181B (en) * 2020-06-17 2024-03-12 深圳市钱海网络技术有限公司 Automatic refreshing method and device for system configuration parameters

Also Published As

Publication number Publication date
CN108037933B (en) 2020-07-21

Similar Documents

Publication Publication Date Title
CN108037933A (en) The collocation method and system of urban service in a kind of building service application program
CN104199666B (en) A kind of application program Dynamic Configuration and device
CN106533804A (en) Network operation support system
CN102118281B (en) Method, device and network equipment for automatic testing
CN104657396A (en) Data migration method and device
CN105487907A (en) Difference package manufacturing method and device
CN104899257B (en) Data-updating method and device in Distributed Data Warehouse
CN105897457A (en) Service upgrade method and system of server group
CN108287668A (en) Processing method and processing device, computer installation and the readable storage medium storing program for executing of device data
CN104317921A (en) Cross-database data synchronizing system and method
CN104166704A (en) Method and device for shielding heterogeneous data sources
CN104679532A (en) Method and device for loading kernel module
CN109116828B (en) Method and device for configuring model codes in controller
CN110389766A (en) HBase container cluster dispositions method, system, equipment and computer readable storage medium
CN106909429A (en) A kind of synchronous upgrade method and device
CN106020847A (en) Method and device for configuring SQL for persistent layer development framework
CN109376142A (en) Data migration method and terminal device
US10776313B2 (en) Converting source objects to target objects
CN106777368A (en) Data base query language adaptation method and device, distributed data-storage system
CN104765596A (en) Request handling method and device
CN103729742B (en) A kind of Data Resources Management System based on SOA framework and executing model drive structure
CN105933767A (en) Middleware device, middleware realization method and television set
CN104748757A (en) Data updating method and device for navigation electronic map
CN105930178A (en) Configurable parameter dynamic loading method and system
CN107678741A (en) Implementation method, device, readable storage medium storing program for executing and the equipment of List View

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100085 Floor 102-1, Building No. 35, West Second Banner Road, Haidian District, Beijing

Applicant after: Seashell Housing (Beijing) Technology Co., Ltd.

Address before: 100085 Floor 102-1, Building No. 35, West Second Banner Road, Haidian District, Beijing

Applicant before: Chain home network (Beijing) Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant