CN101075906A - Method for controlling network telecommunication software function - Google Patents

Method for controlling network telecommunication software function Download PDF

Info

Publication number
CN101075906A
CN101075906A CN 200610083531 CN200610083531A CN101075906A CN 101075906 A CN101075906 A CN 101075906A CN 200610083531 CN200610083531 CN 200610083531 CN 200610083531 A CN200610083531 A CN 200610083531A CN 101075906 A CN101075906 A CN 101075906A
Authority
CN
China
Prior art keywords
configuration file
file table
network communication
communication software
function
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
CN 200610083531
Other languages
Chinese (zh)
Other versions
CN100547971C (en
Inventor
李斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CNB2006100835317A priority Critical patent/CN100547971C/en
Publication of CN101075906A publication Critical patent/CN101075906A/en
Application granted granted Critical
Publication of CN100547971C publication Critical patent/CN100547971C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The method comprises: a) the client side uses the script file to load the configuration file edited with the network communication software in order to provide it for the calling of main program so as to run the network communication software; b) when network communication software is updated, the server side adjusts the configuration file list according to the updated function of the network communication software; c) according to the configuration file adjusted at the server side, the client side updates its own configuration file list, and reloads the configuration file list in order to update the network communication functions.

Description

A kind of method of Control Network bitcom function
Technical field
The present invention relates to a kind of method of Control Network bitcom function.
Background technology
Network communication software, particularly network instant communication (IM) software development was accepted by most netizen to today, had become one of requisite Software tool of users.IM software not only is widely used in also being applied in user's the work in user's the amusement and recreation, thus the user through regular meeting the ease for use to IM software, stability, aspects such as fail safe propose new requirement.In order to adapt to users' user demand, the software developer needs constantly to revise code, and version, releasing software are upgraded in compiling, to satisfy user's user demand.
In the development process of current MSN, general process all is that the product personnel are according to current market demand, determine the appellative function point, write the code of high-level language then by the programmer, development language such as C or C++ for example, realize product personnel and the needed function of user, progressively improve the IM software function, make the user use IM software convenient.After developer's exploitation is finished, carry out detailed test by the tester according to test case, to the file packing and issuing of compiling generation, the user just can download the latest network bitcom from download site so at last.
From above-mentioned technical scheme as can be seen, the issue of regular software and renewal, all be to write through code, the process of compiling, packing and issuing, if therefore after the software issue, when some function of software need be revised, just need the program development personnel to remodify original code.General processing mode is: the program development personnel remodify code according to new service logic, the recompility program generates the module dynamic link library file of new executable file or correspondence etc., subscription client is by automatic refresh routine, download up-to-date executable file or the corresponding module dynamic link library file of part, reinstall the back startup and just can finish whole renewal process.Clearly, the method for such control IM software function has all caused great inconvenience to developer and user, makes the process of upgrading IM software complicated and loaded down with trivial details.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method of Control Network bitcom function, uses the function of the renewal network communication software that this method can be quick and easy.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of method of Control Network bitcom function, this method may further comprise the steps:
The configuration file table that A, client utilize script file to load according to the network communication software function weaving calls the operational network bitcom for main program;
B, when the network communication software update functions, the function after server end upgrades according to network communication software is adjusted the configuration file table;
C, client are upgraded the configuration file table of self according to the adjusted configuration file table of server end, and the configuration file table of reloading is to upgrade the network communication software function.
Wherein, described configuration file table is: the function according to network communication software is divided the not subdivisible first processing unit on function that obtains, and divides the stream unit of the processing events that obtains, the configuration file table of establishment according to the logic flow of network communication software.
Wherein, described configuration file table comprises: one-level configuration file table and secondary configuration file table;
Described one-level configuration file table is: the one-level configuration file table of dividing the not subdivisible first processing unit establishment on function that obtains according to the function of network communication software;
Described secondary configuration file table is: the secondary configuration file table of dividing the stream unit establishment of the processing events that obtains according to the logic flow of network communication software.
In addition, after the step B, further comprise: server end is issued to client with adjusted configuration file table;
The configuration file table of reloading described in the step C is: when network communication software restarts, and the configuration file table after the renewal of reloading.
Wherein, among the step C, described renewal, the configuration file table of reloading are: when the update agent program detects server end and exists than the high configuration file table of client release, upgrade the configuration file table of client self and notify reload configuration file table after upgrading of script file.
Wherein, described steps A comprises:
A1, loading script engine utilize script engine to load the Run Script file;
A2, script file utilize the interface between self and the main program to create the document analysis module object;
A3, utilize document analysis module object load configurations file table;
A4, script file notice main program, network communication software starts and finishes; The operational network bitcom.
Wherein, described script engine is: be carried in the network communication software or be stored in the script engine of client self.
Wherein, described secondary configuration file table is: according to stream unit handled incident, required first processing unit and the secondary configuration file table of flow processing rule establishment.
Wherein, in the steps A, described utilize script file load configurations file table for main program call for: utilize script file to load one-level configuration file table generator processing unit object array and load secondary configuration file table to generate stream unit object array, call for main program.
Wherein, when the function that network communication software upgrades, when only needing modification and/or increasing the stream unit,
Among the step B, described adjustment configuration file table is: adjust secondary configuration file table;
Accordingly, among the step C, the configuration file table of described renewal self is: the secondary configuration file table that upgrades self.
The method of a kind of Control Network bitcom function provided by the present invention is divided first processing unit and stream unit according to the function of network communication software, and the configuration file table; Call the operational network bitcom by Run Script file load configurations file table generator processing unit object array and stream unit object array for main program; Make when upgrading the function of network communication software, only need to adjust the configuration file table of network communication software, can finish the renewal process of network communication software.By using method provided by the present invention, renewal network communication software that can be quick and easy no longer needs the compilation process of update software in the prior art; Can also in the process of operational network bitcom, upgrade the function of network communication software simultaneously, greatly facilitate the use of network communication software.
Description of drawings
Fig. 1 is the flow chart of the inventive method.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in further detail.
The specific embodiment of the present invention is as shown in Figure 1:
Step 101:, divide and obtain first processing unit according to the current function that will develop network communication software.Unit's processing unit is only handled the operating process of atomicity, not subdivisible unit on business function just, and for example client is finished a reciprocal process with server end.
According to first processing unit establishment one-level configuration file table of dividing.The first processing unit that has comprised all divisions in the one-level configuration file table, one-level configuration file table are used for setting up the corresponding relation between all first processing units and the corresponding element data in network communication software start-up course generator processing unit object array.Unit's processing unit object array comprises first processing unit object of all first processing unit correspondences.Here, described metadata is used for representing the sign of corresponding element processing unit object in first processing unit object array.
Logic flow according to network communication software is divided the stream unit that obtains handling single or multiple incidents, according to stream unit establishment secondary configuration file table.Secondary configuration file souvenir carried with good grounds software logic flow process divide the stream unit (FlowUnit) that obtains.Each FlowUnit is made up of the manageable incident of this FlowUnit (events) tabulation, needed first processing unit (Models) and flow processing rule (Rules).For example, the function that the user creates the stream unit of discussion group is: create discussion group, comprise creating in this stream unit and discuss and these two first processing units of increase member.
Function and the one-level configuration file table of establishment and the main program of secondary configuration file table establishment network communication software correspondence required according to software.For realizing purpose of the present invention, also need further to work out the implementation that script file is used for determining network communication software; And in network communication software, carry script engine, be used for loading and carrying out script file.Certainly, script engine can be stored in each client equally.
Server end comprises all first processing units with network communication software, and one-level configuration file table, secondary configuration file table, script engine and main program directly are distributed to each user side without compiling and use.
Here, one-level configuration file table and secondary configuration file table can also be merged into a table, be called the configuration file table.
Step 102: client is loaded the dll file of script engine correspondence, utilizes script engine loading, Run Script file; Behind the Run Script file, script file utilizes the interface between self and the main program to create the document analysis module object; Utilize the document analysis module object to load one-level configuration file table generator processing unit object array and loading secondary configuration file surface low unit object array again, call for main program; After loading is finished, script file by and main program between interface notice main program, network communication software starts and finishes, and waits for user's operational order, and then carries out the follow-up business handling process of main program definition.In program operation process, when the user operates certain button of main program or menu, main program sends out corresponding message, find the stream unit object that defines in the corresponding secondary configuration file table according to this message event, utilize required first processing unit object to handle according to the described rule in stream unit by this stream unit object.
Step 103: when the function of network communication software need be upgraded, only need according to the function after the network communication software renewal, adjust one-level configuration file table and secondary configuration file table, and the notice client is upgraded self one-level configuration file table and secondary configuration file table.
Step 104: upgrade the one-level configuration file table and secondary configuration file table of self when client after, when network communication software restarts next time, network communication software just can be according to above-mentioned implementation, load one-level configuration file table and secondary configuration file table after upgrading, according to the new technological process that defines in new one-level configuration file table and the secondary configuration file table, realize new function.
As can be seen, in the renewal process of the network communication software of present embodiment, do not need to recompilate the renewal process that software just can be finished software, the process of update software is quick, easy.
Certainly, the renewal of network communication software can also be by means of the update agent program of client, after the update agent program detects server end and had one-level configuration file table higher than self client release and secondary configuration file table, then utilize the socket port of agreement to carry out the renewal of one-level configuration file table and secondary configuration file table; After the client downloads renewal finishes, utilize pipeline between process (PIPELINE) to communicate, notice main program one-level configuration file table and secondary configuration file table are revised.After main program receives the pipeline message of Agent, judge News Category, if indication is the modification of one-level configuration file table and secondary configuration file table, one-level configuration file table after then utilizing script file to reload to upgrade and the content in the secondary configuration file table; If News Category is not the modification of indication one-level configuration file table and secondary configuration file table, then carry out corresponding flow process according to the message of correspondence.Just can not need in this way to carry out the compilation operations of upgrading the network communication software function, finish the renewal of client functionality automatically; Simultaneously, also can in the running of program, finish the renewal process of network communication software.
In addition, function when the network communication software renewal, only need to revise and/or increase and flow the unit, and when not relating to first processing unit, then network communication software is when update functions, function after only need upgrading according to network communication software is adjusted secondary configuration file table, and the secondary configuration file table of notifying client to upgrade self, and does not need to adjust one-level configuration file table and notify client to upgrade the one-level configuration file table of self.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (10)

1, a kind of method of Control Network bitcom function is characterized in that, this method may further comprise the steps:
The configuration file table that A, client utilize script file to load according to the network communication software function weaving calls the operational network bitcom for main program;
B, when the network communication software update functions, the function after server end upgrades according to network communication software is adjusted the configuration file table;
C, client are upgraded the configuration file table of self according to the adjusted configuration file table of server end, and the configuration file table of reloading is to upgrade the network communication software function.
2, method according to claim 1, it is characterized in that, described configuration file table is: the function according to network communication software is divided the not subdivisible first processing unit on function that obtains, and divide the stream unit of the processing events that obtains, the configuration file table of establishment according to the logic flow of network communication software.
3, method according to claim 1 is characterized in that, described configuration file table comprises: one-level configuration file table and secondary configuration file table;
Described one-level configuration file table is: the one-level configuration file table of dividing the not subdivisible first processing unit establishment on function that obtains according to the function of network communication software;
Described secondary configuration file table is: the secondary configuration file table of dividing the stream unit establishment of the processing events that obtains according to the logic flow of network communication software.
4, according to claim 1,2 or 3 described methods, it is characterized in that, after the step B, further comprise: server end is issued to client with adjusted configuration file table;
The configuration file table of reloading described in the step C is: when network communication software restarts, and the configuration file table after the renewal of reloading.
5, according to claim 1,2 or 3 described methods, it is characterized in that, among the step C, described renewal, the configuration file table of reloading are: when the update agent program detects server end and exists than the high configuration file table of client release, upgrade the configuration file table of client self and notify reload configuration file table after upgrading of script file.
6, according to claim 1,2 or 3 described methods, it is characterized in that described steps A comprises:
A1, loading script engine utilize script engine to load the Run Script file;
A2, script file utilize the interface between self and the main program to create the document analysis module object;
A3, utilize document analysis module object load configurations file table;
A4, script file notice main program, network communication software starts and finishes; The operational network bitcom.
7, method according to claim 6 is characterized in that, described script engine is: be carried in the network communication software or be stored in the script engine of client self.
8, method according to claim 3 is characterized in that, described secondary configuration file table is: according to stream unit handled incident, required first processing unit and the secondary configuration file table of flow processing rule establishment.
9, according to claim 3 or 8 described methods, it is characterized in that, in the steps A, described utilize script file load configurations file table for main program call for: utilize script file to load one-level configuration file table generator processing unit object array and load secondary configuration file table to generate stream unit object array, call for main program.
10, according to claim 3 or 8 described methods, it is characterized in that, when the function that network communication software upgrades, when only needing modification and/or increasing the stream unit,
Among the step B, described adjustment configuration file table is: adjust secondary configuration file table;
Accordingly, among the step C, the configuration file table of described renewal self is: the secondary configuration file table that upgrades self.
CNB2006100835317A 2006-06-05 2006-06-05 A kind of method of Control Network bitcom function Active CN100547971C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100835317A CN100547971C (en) 2006-06-05 2006-06-05 A kind of method of Control Network bitcom function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100835317A CN100547971C (en) 2006-06-05 2006-06-05 A kind of method of Control Network bitcom function

Publications (2)

Publication Number Publication Date
CN101075906A true CN101075906A (en) 2007-11-21
CN100547971C CN100547971C (en) 2009-10-07

Family

ID=38976736

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100835317A Active CN100547971C (en) 2006-06-05 2006-06-05 A kind of method of Control Network bitcom function

Country Status (1)

Country Link
CN (1) CN100547971C (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011088718A1 (en) * 2010-01-19 2011-07-28 腾讯科技(深圳)有限公司 Method, apparatus and system for updating session window in instant messaging software
CN102707897A (en) * 2012-06-12 2012-10-03 上海量明科技发展有限公司 Method, client and system for triggering contact object through path in instant communication
CN104219243A (en) * 2014-09-12 2014-12-17 广州华多网络科技有限公司 Method and device for managing client function
CN106897076A (en) * 2017-03-24 2017-06-27 长沙趣动文化科技有限公司 Game services are provided and operation method, device
CN109254787A (en) * 2018-07-18 2019-01-22 东软集团股份有限公司 Service logic variation, device, storage medium and electronic equipment
CN114398098A (en) * 2021-12-27 2022-04-26 北京五八信息技术有限公司 Application script execution method and device, electronic equipment and computer readable medium
CN114398098B (en) * 2021-12-27 2024-07-02 北京五八信息技术有限公司 Application script execution method, device, electronic equipment and computer readable medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107636606B (en) * 2017-08-02 2020-12-15 福建联迪商用设备有限公司 Configuration file grading method and terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011088718A1 (en) * 2010-01-19 2011-07-28 腾讯科技(深圳)有限公司 Method, apparatus and system for updating session window in instant messaging software
CN102707897A (en) * 2012-06-12 2012-10-03 上海量明科技发展有限公司 Method, client and system for triggering contact object through path in instant communication
CN102707897B (en) * 2012-06-12 2016-04-27 上海量明科技发展有限公司 In instant messaging, the method for contact object, client and system are triggered in path
CN104219243A (en) * 2014-09-12 2014-12-17 广州华多网络科技有限公司 Method and device for managing client function
CN106897076A (en) * 2017-03-24 2017-06-27 长沙趣动文化科技有限公司 Game services are provided and operation method, device
CN109254787A (en) * 2018-07-18 2019-01-22 东软集团股份有限公司 Service logic variation, device, storage medium and electronic equipment
CN114398098A (en) * 2021-12-27 2022-04-26 北京五八信息技术有限公司 Application script execution method and device, electronic equipment and computer readable medium
CN114398098B (en) * 2021-12-27 2024-07-02 北京五八信息技术有限公司 Application script execution method, device, electronic equipment and computer readable medium

Also Published As

Publication number Publication date
CN100547971C (en) 2009-10-07

Similar Documents

Publication Publication Date Title
CN101110788B (en) Method and system for updating client software
CN102081535B (en) Android-based application program upgrading method and system and application development platform
US7310801B2 (en) Servicing a component-based software product throughout the software product lifecycle
US8898662B2 (en) Method and device for generating software installation packet
US8863114B2 (en) Managing software packages using a version control system
US7242929B2 (en) Method and apparatus for dynamic extension of device management tree data model on a mobile
US7703090B2 (en) Patch un-installation
CN101075906A (en) Method for controlling network telecommunication software function
EP1577766A2 (en) Side-by-side drivers
US20220236976A1 (en) Versioning of pipeline templates for continuous delivery of services on datacenters configured in cloud platforms
AU2008296957A1 (en) Bootstrapper and software download manager
US20030037326A1 (en) Method and system for installing staged programs on a destination computer using a reference system image
CN101770375A (en) Method for realizing automatic update of software as well as system and device therefor
CA2860657C (en) Installation engine and package format for parallelizable, reliable installations
CN104360871A (en) Quick starting method for installation of cell phone games
CN110058860A (en) A kind of automatic delivery method of code, device, equipment and computer storage medium
US11392366B1 (en) Optimized compilation of pipelines for continuous delivery of services on datacenters configured in cloud platforms
CN105763626A (en) SDK initialization method suitable for application client end payment
CN116301951A (en) Micro-service application installation upgrading method and device based on kubernetes
CN111722868A (en) Method for quickly transplanting high-version linux kernel of Shenwei firewall
CN102486736B (en) Method for automatically upgrading program and generating device for upgrading program
US20040078793A1 (en) Time optimized replacement of a software application
CN103220336A (en) Vector clock achieving method and system in file synchronization
CN112925610A (en) Kubernetes-based pipeline automation construction and deployment method and system
CN102156651A (en) Method and device for realizing installation of patches

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant