CN103945002B - High-effective Service management method based on general fit calculation - Google Patents

High-effective Service management method based on general fit calculation Download PDF

Info

Publication number
CN103945002B
CN103945002B CN201410187391.2A CN201410187391A CN103945002B CN 103945002 B CN103945002 B CN 103945002B CN 201410187391 A CN201410187391 A CN 201410187391A CN 103945002 B CN103945002 B CN 103945002B
Authority
CN
China
Prior art keywords
service
information
address
application program
registration
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.)
Active
Application number
CN201410187391.2A
Other languages
Chinese (zh)
Other versions
CN103945002A (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.)
Heze Tianjiao Color Printing Co ltd
Original Assignee
Fortune Network Technology (beijing) 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 Fortune Network Technology (beijing) Co Ltd filed Critical Fortune Network Technology (beijing) Co Ltd
Priority to CN201410187391.2A priority Critical patent/CN103945002B/en
Publication of CN103945002A publication Critical patent/CN103945002A/en
Application granted granted Critical
Publication of CN103945002B publication Critical patent/CN103945002B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The present invention provides a kind of High-effective Service management method based on general fit calculation, including step:S1. service arrangement:When new service enters network for the first time, need first to carry out it deployment so as to turn into available service;S2. service registry:Newly deployed service must be registered after the completion of deployment to service management module, submitted to and serviced the information of itself, including service function description, address of service and service life cycle information etc.;S3. information on services registration, the information on services registration is divided into the registration of service function information, the registration of address of service information and service life cycle information and registers three kinds.S4. service search:Application program sends search request according to the demand of itself to the application requests identification module in service management module.Search request is divided to two kinds, and function lookup is asked and address lookup request;S5. service call;S6. invalid information cleaning.The present invention can improve the efficiency that application program searches effectively service.

Description

High-effective Service management method based on general fit calculation
Technical field
The present invention relates to general fit calculation system, especially a kind of service management based on general fit calculation.
Background technology
At present, the application program in Internet of Things needs to search for and call its service for needing, application program in initial operating stage Service on to network can run into many services life cycles when searching are over or service content has changed Become, but its original information is still retained on network, so that there is many invalid information on services on network, increases standard Traversal lookup is carried out also so that increased the load of network to the service on network while really finding the difficulty of required service, is given Network causes very big operating pressure.
The content of the invention
It is an object of the invention to overcome the deficiencies in the prior art, there is provided a kind of efficient clothes based on general fit calculation Business management method, can be greatly decreased the quantity of invalid information in network, improve the efficiency that application program searches effectively service, drop Low network bandwidth occupancy.The technical solution adopted by the present invention is:
A kind of High-effective Service management method based on general fit calculation, comprises the following steps:
S1. service arrangement:When new service enters network for the first time, need first to carry out it deployment so as to turn into available clothes Business;
S2. service registry:Newly deployed service must be registered after the completion of deployment to service management module, submit service to certainly The information of body, including service function description, address of service and service life cycle information;
S3. information on services registration, the information on services registration is divided into the registration of service function information, the registration of address of service information Three kinds are registered with service life cycle information;Before three kinds of information on services registrations, information on services identification module takes for each Business one sequence number of unique mark of setting;
S3-1. service function information registration:The information extraction submitted to when information on services identification module is according to service registry its In the content on service function, registered in service function logging modle, the function description of register information including the service and The sequence number of the unique mark service;
S3-2. address of service information registration:The information extraction submitted to when information on services identification module is according to service registry its In the content on address of service, registered in the management module of address of service, the address information of register information including the service and The sequence number of the unique mark service;
S3-3. service lifecycle information registration:The information submitted to when information on services identification module is according to service registry is carried The wherein content on service lifecycle is taken, is registered in service lifecycle management module, register information includes the service Life cycle information and the unique mark service sequence number;
S4. service search:Application program is recognized according to the demand of itself to the application requests in service management module Module sends search request;Search request is divided to two kinds, and function lookup is asked and address lookup request;Application requests recognize mould Root tuber, respectively to lookup in service function logging modle and service address management module, is then returned result according to the type of request Back to application program;
S5. service call:After application program finds the service of needs, returned according to application requests identification module Address of service directly invoke service;
S6. invalid information cleaning:Service lifecycle management module is according to the life cycle information registered to life cycle The service being over is cleared up, and cleaning herein refers to service lifecycle management module to address of service management module kimonos Business function logging modle sends the notice for deleting the service registration information, and should in service lifecycle management module itself deletion The register information of service.
Further, in step S4, application program sends search request and specifically includes to application requests identification module:
S4-1. application program submits search request, application requests identification module to according to the function of required service first The request is recognized and to being searched in service function logging modle, if finding corresponding service, the sequence of the service Number application program is returned to, such as do not find corresponding service, then returning result is sky;
If the returning result that S4-2. application program is received is sky, show to there are currently no suitable service, application program is hung Rise, then periodically send request until finding suitable service;If the returning result that application program is received is unique mark The sequence number of certain service, this shows that the service is the service that application program needs, and then application program is known to application requests Other module sends address lookup request, and application requests identification module searches the address of service in the management module of address of service Information, and address is returned into application program.
Advantages of the present invention:The service of each new entrance network by the process registered, will be serviced not after deployment Registered in different components of the information of same type in service management module, be easy to the management and application for being serviced on network Program is to searching.By the design of service management module, the specific aim that application program searches service greatly improved And accuracy, while the service that life cycle terminates also is deleted in the design of service lifecycle management module in time, reduce Invalid information and application program on network search the pressure caused to network.It is final to cause to carry out height for the service on network The management of effect.
Brief description of the drawings
Fig. 1 is structure composition schematic diagram of the invention.
Fig. 2 is service search process detailed maps of the invention.
Specific embodiment
With reference to specific drawings and Examples, the invention will be further described.
High-effective Service management method based on general fit calculation proposed by the invention, be applied to shown in Fig. 1 based on pervasive In the High-effective Service management system of calculating, the system includes ISP, service, service management module and application program five Plant entity.Wherein service management module is by information on services identification module, application requests identification module, service function record mould Block, address of service management module and service life cycle management module composition.Can be met when searching required service for application program The low problem of the search efficiency of many invalid information and traversal formula on to network, the present invention devises Service Management mould Block, service management module is made up of five parts, and wherein service function logging modle remains the function letter serviced on existing network Breath, can allow application program targetedly to be searched, and reduce the load on network;Application program is it is determined that find required function After service, the service identifiers sequence number for returning is searched according to first time carries out second lookup, and it is required service this time to search purpose Address, when required service address return after, application program is directly according to call by location service.And service lifecycle is managed Module service lifecycle information then in real time according to registration is deleted the service failed, it is ensured that service on network and stepped on The information of note is all effective.
A kind of High-effective Service management method based on general fit calculation, comprises the following steps S1~S6:
S1. service arrangement:When new service enters network for the first time, need first to carry out it deployment so as to turn into available clothes Business.New service is provided by ISP.Process 1 in Fig. 1 illustrates service arrangement step, and ISP A is deployed A is serviced, ISP B deploys service a B, ISP C and deploys service C.
S2. service registry:Newly deployed service must be registered after the completion of deployment to service management module, submit service to certainly The information of body, including service function description, address of service and service life cycle information etc.;Process 2 in Fig. 1 illustrates portion Service A, B, C of administration are registered to service management module.
S3. information on services registration, the information on services registration is divided into the registration of service function information, the registration of address of service information Three kinds are registered with service life cycle information.Before three kinds of information on services registrations, information on services identification module takes for each Business one sequence number of unique mark of setting;
S3-1. service function information registration:The information extraction submitted to when information on services identification module is according to service registry its In the content on service function, registered in service function logging modle, the function description of register information including the service and The sequence number of the unique mark service, as shown in Fig. 1 processes 5;
S3-2. address of service information registration:The information extraction submitted to when information on services identification module is according to service registry its In the content on address of service, registered in the management module of address of service, the address information of register information including the service and The sequence number of the unique mark service, as shown in Fig. 1 processes 3;
S3-3. service lifecycle information registration:The information submitted to when information on services identification module is according to service registry is carried The wherein content on service lifecycle is taken, is registered in service lifecycle management module, register information includes the service Life cycle information and the unique mark service sequence number, as shown in Fig. 1 processes 4;
S4. service search:Such as process 6, process 7, process 8, process 9, process 10, process 11, the and of process 12 in Fig. 1 Shown in process 13, application program sends to the application requests identification module in service management module according to the demand of itself and looks into Look for request.Search request is divided to two kinds, and function lookup is asked and address lookup request.Application requests identification module is according to request Type, respectively to service function logging modle and service address management module in search, then return result to apply journey Sequence.
As shown in Fig. 2 application program includes to the particular content that service management module initiates search request:
S4-1. application program X and Y is sent out application requests identification module all in accordance with the function description of itself required service Go out search request, application program identification module sends into service function logging modle according to the request for receiving and searched, and Lookup result is returned into application program X and Y, the result that X is obtained herein is not find the service of required function, and X is periodic Function description according to itself required service continues to send search request to application requests identification module;And the knot that Y is obtained Fruit is then the sequence number for servicing C, the need for showing that the function of servicing C meets Y;
S4-2. application program Y is sent on clothes to application requests identification module again according to the sequence number of the C for obtaining The search request of business C addresses, application program identification module sends according to the request for receiving and is carried out into the management module of address of service Search, and the address for servicing C is returned into application program Y;
S5. service call:As shown in Fig. 1 processes 14, after application program finds the address of service of needs, according to address Call service.
S6. invalid information cleaning:Service lifecycle management module is according to the life cycle information registered to life cycle The service being over is cleared up, such as the process 15 in Fig. 1, shown in process 17, and cleaning refers to service lifecycle pipe herein Reason module sends the notice for deleting the service registration information to address of service management module and service function logging modle, then such as Shown in process 16, process 18, process 19 in Fig. 1, address of service management module, service function logging modle and service Life Cycle Period management module deletes the register information of failure service.
The design of service management module is realized to service and carried out by service management module unification into after network in the present invention Management.Application program is realized to the lookup for servicing indeed through being inquired about service management module.Should so as to improve The efficiency effectively serviced with program looks, can also be greatly decreased invalid letter in network while reducing network bandwidth occupancy The quantity of breath.

Claims (1)

1. a kind of High-effective Service management method based on general fit calculation, it is characterised in that comprise the following steps:
S1. service arrangement:When new service enters network for the first time, need first to carry out it deployment so as to turn into available service;
S2. service registry:Newly deployed service must be registered after the completion of deployment to service management module, submit service itself to Information, including service function description, address of service and service life cycle information;
S3. information on services registration, the information on services registration is divided into the registration of service function information, address of service information registration kimonos Business life cycle information registers three kinds;Before three kinds of information on services registrations, information on services identification module sets for each service A fixed sequence number for unique mark;
S3-1. service function information registration:The information extraction submitted to when information on services identification module is according to service registry is wherein closed In the content of service function, registered in service function logging modle, register information includes that the function of the service is described and unique Identify the sequence number of the service;
S3-2. address of service information registration:The information extraction submitted to when information on services identification module is according to service registry is wherein closed In the content of address of service, registered in the management module of address of service, the address information of register information including the service and unique Identify the sequence number of the service;
S3-3. service lifecycle information registration:The information extraction submitted to when information on services identification module is according to service registry its In the content on service lifecycle, registered in service lifecycle management module, the life of register information including the service Life cycle information and the sequence number of the unique mark service;
S4. service search:Application program is according to the demand of itself to the application requests identification module in service management module Send search request;Search request is divided to two kinds, and function lookup is asked and address lookup request;Application requests identification module root According to the type of request, respectively to lookup in service function logging modle and service address management module, then return result to Application program;
S5. service call:After application program finds the service of needs, according to the clothes that application requests identification module is returned Business address directly invokes service;
S6. invalid information cleaning:Service lifecycle management module according to registration life cycle information to life cycle The service of end is cleared up, and cleaning herein refers to service lifecycle management module to address of service management module and service work( Energy logging modle sends the notice for deleting the service registration information, and itself deletes the service in service lifecycle management module Register information;
In the step S4, application program sends search request and specifically includes to application requests identification module:
S4-1. application program submits search request, the identification of application requests identification module to according to the function of required service first The request and to being searched in service function logging modle, if finding corresponding service, returns the sequence number of the service Back to application program, corresponding service is not such as found, then returning result is sky;
If the returning result that S4-2. application program is received is sky, show to there are currently no suitable service, application program is hung up, Then request is periodically sent until finding suitable service;If the returning result that application program is received be unique mark certain The sequence number of service, this shows that the service is the service that application program needs, and then application program recognizes mould to application requests Block sends address lookup request, and application requests identification module searches address of service letter in the management module of address of service Breath, and address is returned into application program.
CN201410187391.2A 2014-05-05 2014-05-05 High-effective Service management method based on general fit calculation Active CN103945002B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410187391.2A CN103945002B (en) 2014-05-05 2014-05-05 High-effective Service management method based on general fit calculation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410187391.2A CN103945002B (en) 2014-05-05 2014-05-05 High-effective Service management method based on general fit calculation

Publications (2)

Publication Number Publication Date
CN103945002A CN103945002A (en) 2014-07-23
CN103945002B true CN103945002B (en) 2017-05-31

Family

ID=51192482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410187391.2A Active CN103945002B (en) 2014-05-05 2014-05-05 High-effective Service management method based on general fit calculation

Country Status (1)

Country Link
CN (1) CN103945002B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11297686B2 (en) * 2018-02-22 2022-04-05 Zte Corporation Pervasive computing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006510320A (en) * 2002-12-20 2006-03-23 聯想(北京)有限公司 Service calling method between devices in home network
CN102025784A (en) * 2010-12-21 2011-04-20 中兴通讯股份有限公司 Method, device and system for downloading streaming media file
CN102663111A (en) * 2012-04-17 2012-09-12 电信科学技术研究院 Method and equipment for acquiring information
CN103401912A (en) * 2013-07-24 2013-11-20 江苏物联网研究发展中心 Pervasive computing-based service ad hoc networking method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100416449C (en) * 2005-04-29 2008-09-03 国际商业机器公司 Method and device for automatically obtaining running software service concerned with software service provider

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006510320A (en) * 2002-12-20 2006-03-23 聯想(北京)有限公司 Service calling method between devices in home network
CN102025784A (en) * 2010-12-21 2011-04-20 中兴通讯股份有限公司 Method, device and system for downloading streaming media file
CN102663111A (en) * 2012-04-17 2012-09-12 电信科学技术研究院 Method and equipment for acquiring information
CN103401912A (en) * 2013-07-24 2013-11-20 江苏物联网研究发展中心 Pervasive computing-based service ad hoc networking method

Also Published As

Publication number Publication date
CN103945002A (en) 2014-07-23

Similar Documents

Publication Publication Date Title
CN106126383B (en) A kind of log processing method and device
CN103699580A (en) Database synchronization method and database synchronization device
WO2015070788A1 (en) Method and device for identifying regional attribution information of ip address
CN112615743A (en) Topological graph drawing method and device
CN105072196A (en) Distributed data package storage, recall method and system
CN104168140A (en) VTEP abnormal condition processing method and device
CN105095330A (en) Method and system for identifying file format based on compressed package content
CN110291759B (en) Task management method and system
CN103945002B (en) High-effective Service management method based on general fit calculation
CN105610899A (en) Text file parallel uploading method and device
CN112445828A (en) Industrial internet identification resolution recursive query routing method and device and computer readable storage medium
CN103902720A (en) Method and device for acquiring expansion words of keywords
CN103401912B (en) Based on the service ad hoc network method of general fit calculation
CN113626449A (en) Data storage method, data query method and related equipment
CN105357118A (en) Rule based flow classifying method and system
CN108173974A (en) A kind of HC Model inner buffer data based on distributed caching Memcached eliminate method
CN104216980A (en) Classification method for serialized operations of file system
CN106570017A (en) Data caching method and system
CN115686497A (en) Business development data management method, development engine, electronic device, and storage medium
CN105488289B (en) The method of Dynamic Graph structure matching under distributed environment
CN104965909B (en) A kind of request processing method of dynamic web content
CN103514214A (en) Data query method and device
CN103281783B (en) Based on AP resource allocation management and the restoration methods of bitmap
CN101882354B (en) Device and method for dynamically calculating physical quantity of sensor
CN106649468B (en) CDN (content delivery network) content query method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20170407

Address after: Chongqing city 402269 District Luohuang Jiangjin peace Town Primary School

Applicant after: Peng Xiaoxia

Address before: 214135 Jiangsu New District of Wuxi City Linghu Road No. 200 China Sensor Network International Innovation Park building C

Applicant before: JIANGSU R & D CENTER FOR INTERNET OF THINGS

TA01 Transfer of patent application right
CB03 Change of inventor or designer information

Inventor after: Guo Feng

Inventor before: Shi Ce

Inventor before: Chen Shudong

CB03 Change of inventor or designer information
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170502

Address after: 100000, Beijing, Fengtai District, Cheng Li Xiu park, building 13 on the eastern side of the three floor (Lugou Bridge enterprises concentrated office area)

Applicant after: Zhicai Network Technology (Beijing) Co.,Ltd.

Address before: Chongqing city 402269 District Luohuang Jiangjin peace Town Primary School

Applicant before: Peng Xiaoxia

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201215

Address after: Room 501, office building, Langchuan Avenue, Jianping Town, Langxi County, Xuancheng City, Anhui Province

Patentee after: He Yonggang

Address before: 100000 third floor, East Building, No.13 building, dachenglixiuyuan, Fengtai District, Beijing (Lugouqiao enterprise centralized office area)

Patentee before: Zhicai Network Technology (Beijing) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221216

Address after: No. 999, Taihu Road, Heze Development Zone, Heze City, Shandong Province 274000 (in the hospital of Heze Hengshun Auto Parts Co., Ltd.)

Patentee after: Heze Tianjiao Color Printing Co.,Ltd.

Address before: Room 501, office building, Langchuan Avenue, Jianping Town, Langxi County, Xuancheng City, Anhui Province

Patentee before: He Yonggang

TR01 Transfer of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Efficient service management method based on ubiquitous computing

Effective date of registration: 20231122

Granted publication date: 20170531

Pledgee: Heze rural commercial bank Limited by Share Ltd.

Pledgor: Heze Tianjiao Color Printing Co.,Ltd.

Registration number: Y2023980066801

PE01 Entry into force of the registration of the contract for pledge of patent right