CN101895851A - Plug-in wireless value-added service platform and management method thereof - Google Patents
Plug-in wireless value-added service platform and management method thereof Download PDFInfo
- Publication number
- CN101895851A CN101895851A CN 201010215529 CN201010215529A CN101895851A CN 101895851 A CN101895851 A CN 101895851A CN 201010215529 CN201010215529 CN 201010215529 CN 201010215529 A CN201010215529 A CN 201010215529A CN 101895851 A CN101895851 A CN 101895851A
- Authority
- CN
- China
- Prior art keywords
- plug
- unit
- professional
- catalogue
- business
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Stored Programmes (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the invention discloses a plug-in wireless value-added service platform which comprises a service plug-in storage unit, a plug-in registration cache, a plug-in detection unit, a first trigger unit and a plug-in loading unit, wherein the service plug-in storage unit is used for storing at least one plug-in directory; the plug-in registration cache is used for storing plug-in registration information; the plug-in detection unit is used for traversing the service plug-in storage unit and the plug-in registration cache; the first trigger unit is used for triggering the plug-in loading unit to load plug-ins when the plug-in detection unit detects that a plug-in identification in the service plug-in storage unit does not exist in the plug-in registration cache; and the plug-in loading unit is used for generating service plug-in examples and initializing the service plug-ins according to the service plug-in examples. The embodiment of the invention further discloses a plug-in management method of the wireless value-added service platform. By adopting the invention, mutual interference among the service plug-ins can be avoided and a system does not need to be restarted while the plug-ins are loaded or replaced.
Description
Technical field
The present invention relates to the WVAS field, relate in particular to a kind of plug-in wireless value-added service platform and management method thereof.
Background technology
In the WVAS field, there is two types business platform the most common, a kind of is that business platform, the another kind that aims at a certain business service is general business platform, can carry different types of business on this platform.
The dedicated service platform is applicable to the brand business, and just single traffic carrying capacity is big, the business that performance requirement is high, and for example as Fetion, the dedicated service platform of mobile phone newspaper.Owing to be a kind of business service only, be this business setting so the daily record of business platform, configuration file, database connect special.There is following technological deficiency in the dedicated service platform:
1) business platform is difficult to insert other business according to concrete professional degree of depth customization;
2) overlapping development is serious, and different business all need be built a cover business platform according to the demand of oneself.Under the development efficiency, can not make full use of business platform resource (CPU, internal memory, hard disk, bandwidth etc.).
Universal Service Platform is applicable to the long-tail business, can make full use of the resource of business platform.The common design philosophy of this type of business platform is to extract public ability (database access, daily record output, configuration file etc.) to be put in the business platform; Service Component and business platform are whole to be disposed; Service Component can rely on business platform usually unified global configuration file is provided; overall situation daily record output; global data base connection etc., Service Component rely on polymerization the business platform of public ability could realize service logic.Therefore there is following technological deficiency in Universal Service Platform:
1) deployment of Service Component will be revised the modification of global configuration file, and this tends to cause the whole service platform to restart, and all Service Component are all influenced;
2) Service Component must use the database connection that business platform provides, thereby the Service Component that limits on the same business platform must public same database number of the account.If the database performance bottleneck appears in one of them Service Component, will cause whole platform paralysis;
3) daily record of a plurality of Service Component usually can output in the identical journal file, the daily record of checking some concrete Service Component that can't be very clear;
4) exploitation of Service Component often lacks constraint, causes the coupling between Service Component and the business platform too tight, also may exist intercoupling between the Service Component, interdepends, and causes the whole service plateform system to be difficult to safeguard.
Summary of the invention
Embodiment of the invention technical problem to be solved is, a kind of wireless value-added service platform and management method of plug-in type is provided, and comprehensively the advantage of dedicated service platform and Universal Service Platform can be avoided above-mentioned separately shortcoming again simultaneously.
In order to solve the problems of the technologies described above, the embodiment of the invention provides a kind of wireless value-added service platform of plug-in type, and described business platform comprises:
Professional plug-in unit storage unit, be used to deposit at least one plug-in unit catalogue, the unique corresponding professional plug-in unit of each plug-in unit catalogue, separate between each plug-in unit catalogue, at least the plug-in description file, plug-in unit execute file and the plug-in unit journal file that comprise this business plug-in unit under the described plug-in unit catalogue, described plug-in description file content comprise the plug-in unit sign and the Operational Visit interface realization class of professional plug-in unit;
The plug-in registration buffer memory, be used to preserve plug-in registration information, the professional plug-in unit that has loaded in every unique corresponding business platform of plug-in registration information, separate between each plug-in registration information, described plug-in registration information comprises the plug-in unit sign and the professional plug-in unit example of this business plug-in unit;
The plug-in unit detecting unit is used for traveling through the plug-in description file of described professional plug-in unit storage unit and the plug-in registration information in the described plug-in registration buffer memory;
First trigger element, the plug-in unit that the plug-in description file that is used for detecting professional plug-in unit storage unit when described plug-in unit detecting unit comprises is identified in the plug-in registration buffer memory not to be had, then this plug-in unit sign is sent to the plug-in unit loading unit, trigger the plug-in unit loading unit this plug-in unit is loaded;
Described plug-in unit loading unit is used for being identified at professional plug-in unit storage unit according to the plug-in unit that first trigger element is sent and searches corresponding plug-in unit catalogue, realize that according to plug-in unit execute file of depositing under the plug-in unit catalogue that finds and the Operational Visit interface in the plug-in description file class generates professional plug-in unit example, according to described professional plug-in unit example professional plug-in unit is carried out initialization, describedly professional plug-in unit is carried out initialization comprise the plug-in unit journal file under the plug-in unit catalogue is carried out initialization, and the professional plug-in unit example after sign of the plug-in unit in the plug-in description file and the initialization is kept in the plug-in registration buffer memory.
Correspondingly, the embodiment of the invention provides a kind of plug-in management method of wireless value-added service platform, it is characterized in that, described method comprises:
Travel through in the professional plug-in unit storage unit plug-in description file under the plug-in unit catalogue and the plug-in registration information in the plug-in registration buffer memory, deposited at least one plug-in unit catalogue in the described professional plug-in unit storage unit, separate between each plug-in unit catalogue, the unique corresponding professional plug-in unit of each plug-in unit catalogue, the plug-in description file that comprises this business plug-in unit under the described plug-in unit catalogue, plug-in unit execute file and plug-in unit journal file, the content of described plug-in description file comprises the plug-in unit sign and the Operational Visit interface realization class of this business plug-in unit, the described plug-in registration information that leaves in the described plug-in registration buffer memory is unique corresponding with professional plug-in unit, separate between a plurality of plug-in registration information, the described plug-in registration information content comprises the plug-in unit sign and the professional plug-in unit example of professional plug-in unit;
Be identified in the plug-in registration buffer memory and do not have if detect plug-in unit that the plug-in description file in the professional plug-in unit storage unit comprises, trigger that then this plug-in unit sign corresponding service plug-in unit is loaded, described plug-in unit sign corresponding service plug-in unit is loaded comprises:
Be identified at professional plug-in unit storage unit according to described plug-in unit and find corresponding plug-in unit catalogue, realize that according to plug-in unit execute file of depositing under the described plug-in unit catalogue that finds and the Operational Visit interface in the plug-in description file class generates professional plug-in unit example, according to described professional plug-in unit example professional plug-in unit is carried out initialization, describedly professional plug-in unit is carried out initialization comprise the plug-in unit journal file under the plug-in unit catalogue is carried out initialization, and sign of the plug-in unit in the plug-in description file and professional plug-in unit example are kept in the plug-in registration buffer memory.
Implement the embodiment of the invention, have following beneficial effect: business platform is by plug-in unit catalogue in the professional plug-in unit storage unit of traversal and the plug-in registration information in the plug-in registration buffer memory, the discovery certainly that has realized professional plug-in unit loads, owing under plug-in unit catalogue independently, deposit the plug-in unit journal file of professional plug-in unit, avoided the phase mutual interference between the professional plug-in unit, avoided restarting system when plug-in unit loading or renewal, simplify the design of platform simultaneously, only need provide external webmaster to connect and internal plug-in management function.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is that the structure of a kind of plug-in wireless value-added service platform in the embodiment of the invention is formed schematic diagram;
Fig. 2 is that the structure of the plug-in wireless value-added service platform in another embodiment of the present invention is formed schematic diagram;
Fig. 3 is the schematic flow sheet of a kind of plug-in management method of wireless value-added service platform in the embodiment of the invention;
Fig. 4 is the schematic flow sheet of a kind of plug-in management method of wireless value-added service platform in another embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Fig. 1 is that the structure of a kind of plug-in wireless value-added service platform in the embodiment of the invention is formed schematic diagram, this plug-in wireless value-added service platform comprises professional plug-in unit storage unit 10, plug-in registration buffer unit 20, plug-in unit detecting unit 30, first trigger element 40 and plug-in unit loading unit 50 at least as shown in the figure, wherein:
Described professional plug-in unit storage unit 10 is used to deposit at least one plug-in unit catalogue, the unique corresponding professional plug-in unit of each plug-in unit catalogue, separate between each plug-in unit catalogue, at least the plug-in description file, plug-in unit execute file and the plug-in unit journal file that comprise this business plug-in unit under the described plug-in unit catalogue, described plug-in description file content comprise the plug-in unit sign and the Operational Visit interface realization class of professional plug-in unit.Described professional plug-in unit storage unit 10 can be the non-volatile memory mediums such as hard disk of business platform, in described professional plug-in unit storage unit, add or delete the plug-in unit catalogue by the attendant, be independent of each other between the described plug-in unit catalogue, can also comprise the plug-in card configuration file and the database connection profile of this business plug-in unit under the described plug-in unit catalogue.Described plug-in description file can also comprise the update time of this business plug-in unit, and required Profile Path, journal file path, the database of plug-in component operation connects configuration information etc.Described plug-in unit log file contents comprises daily record rule file and the output file that plug-in unit is required, described plug-in card configuration file content comprises the configuration item that plug-in unit is required, and described database connection profile content comprises the database linkage information of the required visit of configuration plug-in.
Described plug-in registration buffer memory 20 is used to preserve at least one plug-in registration information, the professional plug-in unit that has loaded in every unique corresponding business platform of plug-in registration information, separate between each plug-in registration information, described plug-in registration information comprises the plug-in unit sign and the professional plug-in unit example of this business plug-in unit, further can also comprise the update time of the professional plug-in unit that this has loaded.Described professional plug-in unit example can comprise three methods, and init initial method, process process handling method and destroy discharging method provide business platform to call as required.Described plug-in registration buffer memory can the memory body of storage at random of business platform (RandomAccess Memory, RAM) in.
Described plug-in unit detecting unit 30 is used for traveling through the plug-in description file of described professional plug-in unit storage unit 10 and the plug-in registration information in the described plug-in registration buffer memory 20.Described plug-in unit detecting unit 30 can be for regularly traveling through described professional plug-in unit storage unit 10 and described plug-in registration buffer memory 20, fixed time interval can also can be determined length at interval according to the plug-in registration information bar number in the plug-in registration buffer memory 20 for example every 30 seconds or every one minute.The traversal object can only be in the plug-in description file and the plug-in unit in the plug-in registration information identifies, and also can comprise in the plug-in description file and update time of professional plug-in unit in the plug-in registration information.
The plug-in unit that the plug-in description file that described first trigger element 40 is used for detecting professional plug-in unit storage unit 10 when described plug-in unit detecting unit 30 comprises is identified in the plug-in registration buffer memory 20 not to be had, then this plug-in unit sign is sent to plug-in unit loading unit 50, trigger 50 pairs of these plug-in units of plug-in unit loading unit and load;
Described plug-in unit loading unit 50 is used for being identified at professional plug-in unit storage unit 10 according to the plug-in unit that first trigger element 40 is sent and searches corresponding plug-in unit catalogue, realize that according to plug-in unit execute file of depositing under the plug-in unit catalogue that finds and the Operational Visit interface in the plug-in description file class generates professional plug-in unit example, according to described professional plug-in unit example professional plug-in unit is carried out initialization, describedly professional plug-in unit is carried out initialization comprise the plug-in unit journal file under the plug-in unit catalogue is carried out initialization, and the professional plug-in unit example after sign of the plug-in unit in the plug-in description file and the initialization is kept in the plug-in registration buffer memory 20.Particularly, described according to described professional plug-in unit example to professional plug-in unit carry out initialization can for described plug-in unit loading unit after generating described professional plug-in unit example, this plug-in unit of init initial method that calls in the professional plug-in unit example carries out initialization, comprise the plug-in unit journal file under the plug-in unit catalogue is carried out initialization, can also comprise plug-in card configuration file under this plug-in unit catalogue and database connection profile are carried out initialization.If also comprise update time in the described plug-in description file, also be kept at described update time in the lump during loading in the plug-in registration information in the plug-in registration buffer memory 20.
Fig. 2 is that the structure of the plug-in wireless value-added service platform in another embodiment of the present invention is formed schematic diagram, this business platform comprises outside professional plug-in unit storage unit 10 shown in Figure 1, plug-in registration buffer unit 20, plug-in unit detecting unit 30, first trigger element 40 and the plug-in unit loading unit 50, further comprise second trigger element 60 and plug-in unit unloading unit 70, wherein:
Professional plug-in unit storage unit 10, plug-in registration buffer unit 20, plug-in unit detecting unit 30, first trigger element 40 and plug-in unit loading unit 50 are described with preamble, repeat no more in this.
Described second trigger element 60, be used for being identified in the professional plug-in unit storage unit 10 and not having when described plug-in unit detecting unit 30 detects plug-in unit that the plug-in registration information of plug-in registration buffer memory 20 comprises, then this plug-in unit sign is sent to plug-in unit unloading unit 70, trigger 70 pairs of these plug-in units of plug-in unit unloading unit and unload;
Described plug-in unit unloading unit 70 is used for being identified at plug-in registration buffer memory 20 according to the plug-in unit that second trigger element 60 is sent and searches corresponding plug-in registration information, according to described professional plug-in unit example this business plug-in unit is unloaded, describedly this business plug-in unit is unloaded the journal file that comprises in the plug-in unit catalogue of closing this business plug-in unit correspondence according to described professional plug-in unit example, and should the plug-in registration information deletion of business plug-in unit in plug-in registration buffer memory 20.Particularly, describedly this business plug-in unit is unloaded and can plug-in unit be unloaded for the destroy discharging method that described plug-in unit unloading unit calls in the described professional plug-in unit example according to described professional plug-in unit example, comprise the journal file of closing this business plug-in unit, can also comprise the plug-in card configuration file and the database connection profile of closing this plug-in unit, with the memory source that distributes of promising this plug-in unit discharge.
Further, this business platform can also comprise the 3rd trigger element 80, be used for being identified at the update time that professional plug-in unit storage unit is later than this plug-in unit sign correspondence in the plug-in registration buffer memory 20 10 corresponding update times when described plug-in unit detecting unit 30 detects a plug-in unit, then earlier this plug-in unit sign is sent to plug-in unit unloading unit 70, triggering 70 pairs of these plug-in units of described plug-in unit unloading unit unloads, again this plug-in unit sign is sent to plug-in unit loading unit 50, trigger 50 pairs of these plug-in units of described plug-in unit loading unit and load.
Further, the business platform among above-mentioned two embodiment can also comprise gateway interface unit, instruction repository and plug-in unit addressed location, wherein:
Described gateway interface unit externally connects Short Message Service Gateway, is used to receive described Short Message Service Gateway and submits the short message content of coming to;
Described instruction repository is used to deposit the mapping relations between short message content and the plug-in unit sign, and many short message contents can corresponding same plug-in unit sign;
Described plug-in unit addressed location is used for the short message content that receives according to described gateway interface unit and finds corresponding plug-in unit sign at the instruction repository, and is identified at according to this plug-in unit and calls corresponding service plug-in unit example in the plug-in registration buffer memory and carry out business logic processing.
Fig. 3 is the schematic flow sheet of a kind of plug-in management method of wireless value-added service platform in the embodiment of the invention, and this method flow comprises as shown in the figure:
Step S301, regularly travel through in the professional plug-in unit storage unit plug-in description file under the plug-in unit catalogue and the plug-in registration information in the plug-in registration buffer memory, deposited at least one plug-in unit catalogue in the described professional plug-in unit storage unit, separate between each plug-in unit catalogue, the unique corresponding professional plug-in unit of each plug-in unit catalogue, the plug-in description file that comprises this business plug-in unit under the described plug-in unit catalogue, plug-in unit execute file and plug-in unit journal file, the content of described plug-in description file comprises the plug-in unit sign and the Operational Visit interface realization class of this business plug-in unit, the described plug-in registration information that leaves in the described plug-in registration buffer memory is unique corresponding with professional plug-in unit, separate between a plurality of plug-in registration information, the described plug-in registration information content comprises the plug-in unit sign and the professional plug-in unit example of professional plug-in unit.Further, can regularly travel through described professional plug-in unit storage unit and described plug-in registration buffer memory, fixed time interval can also can be determined length at interval according to the plug-in registration information bar number in the plug-in registration buffer memory 20 for example every 30 seconds or every one minute.
Step S302 judges whether to detect plug-in unit that the plug-in description file in the professional plug-in unit storage unit comprises and is identified in the plug-in registration buffer memory and does not have, if execution in step S303 then, execution in step S301 when treating then if not that regularly arrive next time.
Step S303 triggers that this plug-in unit sign corresponding service plug-in unit is loaded.Particularly, described plug-in unit sign corresponding service plug-in unit is loaded comprises:
Be identified at professional plug-in unit storage unit according to described plug-in unit and find corresponding plug-in unit catalogue, realize that according to plug-in unit execute file of depositing under the described plug-in unit catalogue that finds and the Operational Visit interface in the plug-in description file class generates professional plug-in unit example, according to described professional plug-in unit example professional plug-in unit is carried out initialization, describedly professional plug-in unit is carried out initialization comprise the plug-in unit journal file under the plug-in unit catalogue is carried out initialization, and sign of the plug-in unit in the plug-in description file and professional plug-in unit example are kept in the plug-in registration buffer memory.Further, can carry out initialization to professional plug-in unit for the init initial method that calls in the described professional plug-in unit example.
Fig. 4 is the schematic flow sheet of a kind of plug-in management method of wireless value-added service platform in another embodiment of the present invention, and this method comprises as shown in the figure:
Step S401, travel through in the professional plug-in unit storage unit plug-in description file under the plug-in unit catalogue and the plug-in registration information in the plug-in registration buffer memory, deposited at least one plug-in unit catalogue in the described professional plug-in unit storage unit, separate between each plug-in unit catalogue, the unique corresponding professional plug-in unit of each plug-in unit catalogue, the plug-in description file that comprises this business plug-in unit under the described plug-in unit catalogue, plug-in unit execute file and plug-in unit journal file, the content of described plug-in description file comprises the plug-in unit sign of this business plug-in unit, update time and Operational Visit interface are realized class, the described plug-in registration information that leaves in the described plug-in registration buffer memory is unique corresponding with professional plug-in unit, separate between a plurality of plug-in registration information, the described plug-in registration information content comprises the plug-in unit sign of professional plug-in unit, update time and professional plug-in unit example.Further, can regularly travel through described professional plug-in unit storage unit and described plug-in registration buffer memory, fixed time interval can also can be determined length at interval according to the plug-in registration information bar number in the plug-in registration buffer memory 20 for example every 30 seconds or every one minute.The plug-in card configuration file and the database connection profile that further can comprise this business plug-in unit under the described plug-in unit catalogue.
Step S402 judges whether to detect plug-in unit that the plug-in description file in the professional plug-in unit storage unit comprises and is identified in the plug-in registration buffer memory and does not have, if execution in step S403 then, otherwise execution in step S404.
Step S403 triggers that this plug-in unit sign corresponding service plug-in unit is loaded.Particularly, described GIA plug-in unit sign corresponding service plug-in unit is loaded comprises:
Be identified at professional plug-in unit storage unit according to described plug-in unit and find corresponding plug-in unit catalogue, realize that according to plug-in unit execute file of depositing under the described plug-in unit catalogue that finds and the Operational Visit interface in the plug-in description file class generates professional plug-in unit example, according to described professional plug-in unit example professional plug-in unit is carried out initialization, describedly professional plug-in unit is carried out initialization comprise the plug-in unit journal file under the plug-in unit catalogue is carried out initialization, and the plug-in unit sign in the plug-in description file, update time and professional plug-in unit example are kept in the plug-in registration buffer memory.Further, the professional plug-in unit of initialization can carry out initialization for the init initial method that calls in the described professional plug-in unit example, comprise the plug-in unit journal file is carried out initialization, can also comprise that plug-in card configuration file and the database connection profile to this business plug-in unit carries out initialization etc.
Step S404 judges whether to detect plug-in unit that the plug-in registration information in the plug-in registration buffer memory comprises and is identified in the professional plug-in unit storage unit and does not have, if execution in step S405 then, otherwise execution in step S406.
Step S405 triggers that this plug-in unit sign corresponding service plug-in unit is unloaded.Particularly, described this plug-in unit sign corresponding service plug-in unit is unloaded comprises:
Be identified at the plug-in registration information of searching correspondence in the plug-in registration buffer memory according to described plug-in unit, according to the professional plug-in unit example in the plug-in registration information that finds this business plug-in unit is unloaded, described this business plug-in unit is unloaded the journal file that comprises in the plug-in unit catalogue of closing this business plug-in unit correspondence, and should the plug-in registration information deletion of business plug-in unit in the plug-in registration buffer memory.Particularly, the destroy discharging method that can call in the described professional plug-in unit example unloads this plug-in unit.
Step S406, judging whether to detect a plug-in unit is identified at and is later than this plug-in unit update time corresponding in the professional plug-in unit storage unit and is identified at update time corresponding in the plug-in registration buffer memory, if then execution in step S407 and step S408, otherwise execution in step S401 when treating that regularly arrive next time.
Step S407 is identical with S403 respectively at the step S405 among this embodiment with step S408, repeats no more in this.
The embodiment of the invention provides a kind of general plug-in wireless value-added service platform of simplification, by traveling through plug-in unit catalogue in the professional plug-in unit storage unit and the plug-in registration information in the plug-in registration buffer memory, the discovery certainly that has realized professional plug-in unit loads, owing under plug-in unit catalogue independently, deposit the plug-in unit journal file of professional plug-in unit, plug-in card configuration file and database connection profile, avoided the phase mutual interference between the professional plug-in unit, need not restart system when plug-in unit loading or renewal, avoided some professional plug-in units all affected phenomenon of business that the database performance problem causes the whole service platform to occur simultaneously, simplify the design of platform simultaneously, only need provide external webmaster to connect and internal plug-in management function.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
Above disclosed is a kind of preferred embodiment of the present invention only, can not limit the present invention's interest field certainly with this, and therefore the equivalent variations of doing according to claim of the present invention still belongs to the scope that the present invention is contained.
Claims (9)
1. a plug-in wireless value-added service platform is characterized in that, described business platform comprises:
Professional plug-in unit storage unit, be used to deposit at least one plug-in unit catalogue, the unique corresponding professional plug-in unit of each plug-in unit catalogue, separate between each plug-in unit catalogue, at least the plug-in description file, plug-in unit execute file and the plug-in unit journal file that comprise this business plug-in unit under the described plug-in unit catalogue, described plug-in description file content comprise the plug-in unit sign and the Operational Visit interface realization class of professional plug-in unit;
The plug-in registration buffer memory, be used to preserve plug-in registration information, the professional plug-in unit that has loaded in every unique corresponding business platform of plug-in registration information, separate between each plug-in registration information, described plug-in registration information comprises the plug-in unit sign and the professional plug-in unit example of this business plug-in unit;
The plug-in unit detecting unit is used for traveling through the plug-in description file of described professional plug-in unit storage unit and the plug-in registration information in the described plug-in registration buffer memory;
First trigger element, the plug-in unit that the plug-in description file that is used for detecting professional plug-in unit storage unit when described plug-in unit detecting unit comprises is identified in the plug-in registration buffer memory not to be had, then this plug-in unit sign is sent to the plug-in unit loading unit, trigger the plug-in unit loading unit this plug-in unit is loaded;
Described plug-in unit loading unit is used for being identified at professional plug-in unit storage unit according to the plug-in unit that first trigger element is sent and searches corresponding plug-in unit catalogue, realize that according to plug-in unit execute file of depositing under the plug-in unit catalogue that finds and the Operational Visit interface in the plug-in description file class generates professional plug-in unit example, according to described professional plug-in unit example professional plug-in unit is carried out initialization, describedly professional plug-in unit is carried out initialization comprise the plug-in unit journal file under the plug-in unit catalogue is carried out initialization, and the professional plug-in unit example after sign of the plug-in unit in the plug-in description file and the initialization is kept in the plug-in registration buffer memory.
2. wireless value-added service platform as claimed in claim 1 is characterized in that, described business platform also comprises:
Second trigger element, be used for being identified in the professional plug-in unit storage unit and not having when described plug-in unit detecting unit detects plug-in unit that the plug-in registration information of plug-in registration buffer memory comprises, then this plug-in unit sign is sent to the plug-in unit unloading unit, trigger the plug-in unit unloading unit this plug-in unit is unloaded;
Described plug-in unit unloading unit is used for being identified at the plug-in registration buffer memory according to the plug-in unit that second trigger element is sent and searches corresponding plug-in registration information, according to described professional plug-in unit example this business plug-in unit is unloaded, describedly this business plug-in unit is unloaded the journal file that comprises in the plug-in unit catalogue of closing this business plug-in unit correspondence according to described professional plug-in unit example, and should the plug-in registration information deletion of business plug-in unit in the plug-in registration buffer memory.
3. wireless value-added service platform as claimed in claim 2 is characterized in that the content of described plug-in description file also comprises the update time of this business plug-in unit, and the described plug-in registration information content also comprises the update time of professional plug-in unit; Described wireless value-added service platform also comprises:
The 3rd trigger element, be used for being identified at the update time that professional plug-in unit storage unit is later than this plug-in unit sign correspondence in the plug-in registration buffer memory corresponding update time when described plug-in unit detecting unit detects a plug-in unit, then earlier this plug-in unit sign is sent to the plug-in unit unloading unit, triggering described plug-in unit unloading unit unloads this plug-in unit, again this plug-in unit sign is sent to the plug-in unit loading unit, trigger described plug-in unit loading unit this plug-in unit is loaded.
4. as each described wireless value-added service platform among the claim 1-3, it is characterized in that, also comprise the plug-in card configuration file and the database connection profile of professional plug-in unit under the plug-in unit catalogue of described professional plug-in unit storage unit;
Described plug-in unit loading unit carries out initialization to professional plug-in unit and also comprises described plug-in card configuration file under the plug-in unit catalogue of described professional plug-in unit correspondence and described database connection profile are carried out initialization.
5. as each described wireless value-added service platform among the claim 1-3, it is characterized in that described business platform also comprises:
The gateway interface unit externally connects Short Message Service Gateway, is used to receive described Short Message Service Gateway and submits the short message content of coming to;
The instruction repository is used to deposit the mapping relations between short message content and the plug-in unit sign, and many short message contents can corresponding same plug-in unit sign;
The plug-in unit addressed location, be used for the short message content that receives according to described gateway interface unit and find corresponding plug-in unit sign, and be identified at according to this plug-in unit and call corresponding service plug-in unit example in the plug-in registration buffer memory and carry out business logic processing at the instruction repository.
6. the plug-in management method of a wireless value-added service platform is characterized in that, described method comprises:
Regularly travel through in the professional plug-in unit storage unit plug-in description file under the plug-in unit catalogue and the plug-in registration information in the plug-in registration buffer memory, deposited at least one plug-in unit catalogue in the described professional plug-in unit storage unit, separate between each plug-in unit catalogue, the unique corresponding professional plug-in unit of each plug-in unit catalogue, the plug-in description file that comprises this business plug-in unit under the described plug-in unit catalogue, plug-in unit execute file and plug-in unit journal file, the content of described plug-in description file comprises the plug-in unit sign and the Operational Visit interface realization class of this business plug-in unit, the described plug-in registration information that leaves in the described plug-in registration buffer memory is unique corresponding with professional plug-in unit, separate between a plurality of plug-in registration information, the described plug-in registration information content comprises the plug-in unit sign and the professional plug-in unit example of professional plug-in unit;
Be identified in the plug-in registration buffer memory and do not have if detect plug-in unit that the plug-in description file in the professional plug-in unit storage unit comprises, trigger that then this plug-in unit sign corresponding service plug-in unit is loaded, described plug-in unit sign corresponding service plug-in unit is loaded comprises:
Be identified at professional plug-in unit storage unit according to described plug-in unit and find corresponding plug-in unit catalogue, realize that according to plug-in unit execute file of depositing under the described plug-in unit catalogue that finds and the Operational Visit interface in the plug-in description file class generates professional plug-in unit example, according to described professional plug-in unit example professional plug-in unit is carried out initialization, describedly professional plug-in unit is carried out initialization comprise the plug-in unit journal file under the plug-in unit catalogue is carried out initialization, and sign of the plug-in unit in the plug-in description file and professional plug-in unit example are kept in the plug-in registration buffer memory.
7. the plug-in management method of wireless value-added service platform as claimed in claim 6 is characterized in that, described method comprises:
When plug-in description file in the professional plug-in unit storage unit of described traversal under the plug-in unit catalogue and the plug-in registration information in the plug-in registration buffer memory, if being identified in the professional plug-in unit storage unit, the plug-in unit that the plug-in registration information in the plug-in registration buffer memory that detects comprises do not have, trigger that then this plug-in unit sign corresponding service plug-in unit is unloaded, described plug-in unit sign corresponding service plug-in unit is unloaded comprises:
Be identified at the plug-in registration information of searching correspondence in the plug-in registration buffer memory according to described plug-in unit, according to the professional plug-in unit example in the plug-in registration information that finds this business plug-in unit is unloaded, described this business plug-in unit is unloaded the journal file that comprises in the plug-in unit catalogue of closing this business plug-in unit correspondence, and should the plug-in registration information deletion of business plug-in unit in the plug-in registration buffer memory.
8. the plug-in management method of wireless value-added service platform as claimed in claim 7 is characterized in that, the content of described plug-in description file also comprises the update time of this business plug-in unit, and the described plug-in registration information content also comprises the update time of professional plug-in unit;
When described timing travels through in the professional plug-in unit storage unit plug-in description file under the plug-in unit catalogue and the plug-in registration information in the plug-in registration buffer memory, if detecting a plug-in unit is identified in the professional plug-in unit storage unit and is later than this plug-in unit corresponding update time and is identified at update time corresponding in the plug-in registration buffer memory, trigger that then the corresponding professional plug-in unit that has loaded of this plug-in unit sign is unloaded, again this business plug-in unit is loaded again.
9. as the plug-in management method of each described wireless value-added service platform among the claim 6-8, it is characterized in that, also comprise the plug-in card configuration file and the database connection profile of professional plug-in unit under the plug-in unit catalogue of described professional plug-in unit storage unit;
Describedly professional plug-in unit is carried out initialization also comprise described plug-in card configuration file under the plug-in unit catalogue of described professional plug-in unit correspondence and described database connection profile are carried out initialization.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010215529 CN101895851B (en) | 2010-06-30 | 2010-06-30 | Plug-in wireless value-added service platform and management method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010215529 CN101895851B (en) | 2010-06-30 | 2010-06-30 | Plug-in wireless value-added service platform and management method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101895851A true CN101895851A (en) | 2010-11-24 |
CN101895851B CN101895851B (en) | 2012-12-26 |
Family
ID=43104885
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010215529 Expired - Fee Related CN101895851B (en) | 2010-06-30 | 2010-06-30 | Plug-in wireless value-added service platform and management method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101895851B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103297381A (en) * | 2012-02-22 | 2013-09-11 | 阿里巴巴集团控股有限公司 | Service access method based on plugin and system thereof |
CN104240148A (en) * | 2014-08-28 | 2014-12-24 | 国家电网公司 | Power grid visualization method based on plugins |
CN104461713A (en) * | 2014-12-19 | 2015-03-25 | 北京奇虎科技有限公司 | Method and device for cleaning extension programs of application programs |
CN105224375A (en) * | 2015-11-12 | 2016-01-06 | 用友网络科技股份有限公司 | The supervisory system of management system plug-in unit and method |
CN108170488A (en) * | 2016-12-07 | 2018-06-15 | 杭州海康威视数字技术股份有限公司 | A kind of method and device for upgrading plug-in unit |
CN110704122A (en) * | 2018-07-10 | 2020-01-17 | 中国移动通信集团浙江有限公司 | Plug-in loading method and device |
CN110908726A (en) * | 2018-09-14 | 2020-03-24 | 广州神马移动信息科技有限公司 | Data management method, device, equipment and computer readable storage medium |
CN112685102A (en) * | 2021-01-04 | 2021-04-20 | 浙江诺诺网络科技有限公司 | Gateway plug-in hot loading method, device, equipment and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006102474A2 (en) * | 2005-03-21 | 2006-09-28 | Dexterra, Inc. | Adapter architecture for mobile data system |
CN1859356A (en) * | 2006-02-23 | 2006-11-08 | 华为技术有限公司 | Service processing device and service processing method |
EP2059002A1 (en) * | 2007-11-09 | 2009-05-13 | Huawei Technologies Co., Ltd. | Method and system for service processing, and SIP application server gateway module |
CN101464805A (en) * | 2008-12-24 | 2009-06-24 | 中兴通讯股份有限公司 | Plug-in management method and system thereof |
CN101539855A (en) * | 2008-12-25 | 2009-09-23 | 厦门亿力吉奥信息科技有限公司 | Service basic software platform |
-
2010
- 2010-06-30 CN CN 201010215529 patent/CN101895851B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006102474A2 (en) * | 2005-03-21 | 2006-09-28 | Dexterra, Inc. | Adapter architecture for mobile data system |
CN1859356A (en) * | 2006-02-23 | 2006-11-08 | 华为技术有限公司 | Service processing device and service processing method |
EP2059002A1 (en) * | 2007-11-09 | 2009-05-13 | Huawei Technologies Co., Ltd. | Method and system for service processing, and SIP application server gateway module |
CN101464805A (en) * | 2008-12-24 | 2009-06-24 | 中兴通讯股份有限公司 | Plug-in management method and system thereof |
CN101539855A (en) * | 2008-12-25 | 2009-09-23 | 厦门亿力吉奥信息科技有限公司 | Service basic software platform |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103297381A (en) * | 2012-02-22 | 2013-09-11 | 阿里巴巴集团控股有限公司 | Service access method based on plugin and system thereof |
CN103297381B (en) * | 2012-02-22 | 2017-01-18 | 阿里巴巴集团控股有限公司 | Service access method based on plugin and system thereof |
CN104240148A (en) * | 2014-08-28 | 2014-12-24 | 国家电网公司 | Power grid visualization method based on plugins |
CN104461713A (en) * | 2014-12-19 | 2015-03-25 | 北京奇虎科技有限公司 | Method and device for cleaning extension programs of application programs |
CN105224375A (en) * | 2015-11-12 | 2016-01-06 | 用友网络科技股份有限公司 | The supervisory system of management system plug-in unit and method |
CN108170488A (en) * | 2016-12-07 | 2018-06-15 | 杭州海康威视数字技术股份有限公司 | A kind of method and device for upgrading plug-in unit |
CN110704122A (en) * | 2018-07-10 | 2020-01-17 | 中国移动通信集团浙江有限公司 | Plug-in loading method and device |
CN110908726A (en) * | 2018-09-14 | 2020-03-24 | 广州神马移动信息科技有限公司 | Data management method, device, equipment and computer readable storage medium |
CN112685102A (en) * | 2021-01-04 | 2021-04-20 | 浙江诺诺网络科技有限公司 | Gateway plug-in hot loading method, device, equipment and medium |
CN112685102B (en) * | 2021-01-04 | 2022-06-03 | 浙江诺诺网络科技有限公司 | Gateway plug-in hot loading method, device, equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN101895851B (en) | 2012-12-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101895851B (en) | Plug-in wireless value-added service platform and management method thereof | |
CN109144414B (en) | Multi-level storage method and device for block chain data | |
CN101090401B (en) | Data buffer store method and system at duster environment | |
EP2288975B1 (en) | Method for optimizing cleaning of maps in flashcopy cascades containing incremental maps | |
CN102043686B (en) | Disaster tolerance method, backup server and system of memory database | |
CN104202440B (en) | A kind of method of marking terminal, server and system | |
CN109669709A (en) | A kind of data migration method and data mover system of the upgrading of block chain | |
CN107133234A (en) | The method of data cached renewal, apparatus and system | |
CN103152390B (en) | The node configuration method of distributed memory system, device, node and system | |
CN101233493A (en) | Conflict solving device | |
CN107391033B (en) | Data migration method and device, computing equipment and computer storage medium | |
CN102546823A (en) | File storage management system of cloud storage system | |
CN102402622A (en) | Memory page managing and scheduling method for embedded memory database | |
CN100378663C (en) | Method, system and module for dynamic downloading of applied programe to user identification | |
CN108595346B (en) | Feature library file management method and device | |
CN114020444B (en) | Calling system and method for resource service application in enterprise digital middle station | |
US11372724B2 (en) | Method and system for handling blockchain network based file storage system | |
CN113495883A (en) | Data storage method and device for database | |
US20190171635A1 (en) | System and Method for Creating Storage Containers in a Data Storage System | |
CN102737171A (en) | Method and device for storing virus file and storage equipment | |
CN105657014A (en) | Load balancing method, system and system | |
CN115422218A (en) | Device and method compatible with Ethernet EVM through virtual fragmentation mode | |
CN109062713A (en) | A kind of calling efficiency method and device improving same command line interface | |
CN110704249A (en) | Method, device and system for ensuring application consistency | |
CN112258166A (en) | Transaction request processing method and device |
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20121226 Termination date: 20130630 |