CN105847231A - Service publishing method, device and system - Google Patents

Service publishing method, device and system Download PDF

Info

Publication number
CN105847231A
CN105847231A CN201610100023.9A CN201610100023A CN105847231A CN 105847231 A CN105847231 A CN 105847231A CN 201610100023 A CN201610100023 A CN 201610100023A CN 105847231 A CN105847231 A CN 105847231A
Authority
CN
China
Prior art keywords
service
logic
propositions
preset interface
issue
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.)
Pending
Application number
CN201610100023.9A
Other languages
Chinese (zh)
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.)
LeTV Sports Culture Develop Beijing Co Ltd
Original Assignee
LeTV Sports Culture Develop 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 LeTV Sports Culture Develop Beijing Co Ltd filed Critical LeTV Sports Culture Develop Beijing Co Ltd
Priority to CN201610100023.9A priority Critical patent/CN105847231A/en
Publication of CN105847231A publication Critical patent/CN105847231A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a service publishing method, device and system, and relates to the technical field of information. According to the method, the device and the system, the service publishing efficiency can be improved. The method comprises following steps of receiving a service publishing request sent by a client; determining a preset interface rule matching with the service publishing request; determining a preset logic processing template corresponding to the preset interface rule; and executing the preset logic processing template, thus publishing the corresponding service. The method, the device and the system are applicable to publishment of the service.

Description

Service issuing method, Apparatus and system
Technical field
The present invention relates to areas of information technology, particularly relate to a kind of service issuing method, Apparatus and system.
Background technology
Along with the development of information technology, computer software technology is more and more ripe, for client With the software architecture of interactive class is more and more abundanter between server, such as, RESTful framework, just It it is one of current most popular a kind of internet works software framework.It has clear in structure, conformance with standard, Should be readily appreciated that, extend the features such as convenient, obtain the employing of more and more website.Software architecture is user Access interface is provided, sends service request by access interface to server, in order to meet each of user Kind of demand, such as, inquire about according to demand relevant business, change service business, the new business that increases, Delete current operation etc..But, these are required for the issuing service again of more fresh code.
At present when needs issue software architecture services accordingly, existing mode is firstly the need of manually Write the program code of service, then the program code write is published on server, and restarts Whole on server service and then allow this service come into force.But, utilize aforesaid way issuing service Process very complicated, when the quantity of service needing issue is more, can cause the efficiency that service is issued relatively Low, and then have impact on the treatment effeciency of service.
Summary of the invention
Embodiments provide a kind of service issuing method, Apparatus and system, in order to solve existing skill Art can cause the problem that service efficiency for issuing is relatively low.
The problem existed for prior art, embodiments provides a kind of service issuing method, bag Include:
Receive the service issue request that client sends;
Determine the preset interface rules mated with the described service request of issuing;
Determine the logic of propositions processing template corresponding with described preset interface rules;
Perform described logic of propositions processing template, in order to issue corresponding service.
Embodiments provide another kind of service issuing method, including:
Receive the issue instruction of service;
Issuing instruction according to described, request is issued in the service sending described service to server, so that institute State server and determine the preset interface rules mated with the described service request of issuing, and determine preset with described The logic of propositions processing template that interface rules is corresponding, and perform described logic of propositions processing template, in order to Issue corresponding service.
Embodiments provide a kind of server, including:
Receiving unit, request is issued in the service sent for receiving client;
Determine unit, for determining the preset interface rule that the request of issuing received with described reception unit is mated Then;
Described determine unit, be additionally operable to determine that the logic of propositions corresponding with described preset interface rules processes mould Plate;
Performance element, for performing the described logic of propositions processing template determining that unit determines, in order to issues Corresponding service.
Embodiments provide a kind of client, including:
Receive unit, for receiving the issue instruction of service;
Transmitting element, for the issue instruction received according to described reception unit, sends described to server Request is issued in the service of service, so that described server determines pre-with what the described service request of issuing was mated Put interface rules, and determine the logic of propositions processing template corresponding with described preset interface rules, and hold The described logic of propositions processing template of row, in order to issue corresponding service.
Embodiments provide a kind of service delivery system, including: server and client side;
Described client, for receiving the issue instruction of service;Instruction is issued, to described clothes according to described Business device sends the service of described service and issues request;
Described server, request is issued in the service sent for receiving described client;Determine and described clothes The preset interface rules of request coupling is issued in business;Determine the logic of propositions corresponding with described preset interface rules Processing template;Perform described logic of propositions processing template, in order to issue corresponding service.
A kind of service issuing method of embodiment of the present invention offer, Apparatus and system, be determined by and service Issue the preset interface rules that request is corresponding, and determine that the logic of propositions corresponding with preset interface rules processes Template, eventually through performing the corresponding service of logic of propositions processing template issue, compared with prior art, User is without the program code of compiling service, it is not necessary to the whole services restarted on server achieve that clothes The issue of business, simplifies the complexity of issuing service, can improve the efficiency that service is issued, and then permissible Improve the treatment effeciency of service.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that under, Accompanying drawing during face describes is some embodiments of the present invention, for those of ordinary skill in the art, On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
A kind of service issuing method schematic flow sheet that Fig. 1 provides for the embodiment of the present invention;
The another kind of service issuing method schematic flow sheet that Fig. 2 provides for the embodiment of the present invention;
Another service issuing method schematic flow sheet that Fig. 3 provides for the embodiment of the present invention;
Another service issuing method schematic flow sheet that Fig. 4 provides for the embodiment of the present invention;
A kind of server architecture schematic diagram that Fig. 5 provides for the embodiment of the present invention;
The another kind of server architecture schematic diagram that Fig. 6 provides for the embodiment of the present invention;
A kind of client terminal structure schematic diagram that Fig. 7 provides for the embodiment of the present invention;
The another kind of client terminal structure schematic diagram that Fig. 8 provides for the embodiment of the present invention;
A kind of service delivery system structural representation that Fig. 9 provides for the embodiment of the present invention;
The entity structure schematic diagram of a kind of server that Figure 10 provides for the embodiment of the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise The every other embodiment obtained, broadly falls into the scope of protection of the invention.
Embodiments provide a kind of service issuing method, can apply to server, such as Fig. 1 institute Showing, described method includes:
101, the service issue request that client sends is received.
Wherein, described service issue request is used for asking issuing service.
102, the preset interface rules mated with the service request of issuing is determined.
Wherein, described preset interface rules can be write in advance by technical staff and be stored in this locality, in advance The form putting interface rules specifically can carry out writing configuration according to the actual requirements.Such as, preset interface rule Then it is configurable to the interface rules for comparison URL route matching, is specifically configurable to "/match/{id} ", wherein, { id} represents variable.Can process and carry "/match/{id} " this shape Request is issued in the service of formula URL, specifically, when running into such as www.123.com/match/1111111.html URL time, route matching principle can be passed through, determine its rule of preset interface with "/match/{id} " Then mate.
103, the logic of propositions processing template corresponding with preset interface rules is determined.
Wherein, described logic of propositions processing template can be write in advance by technical staff and with preset interface Rule is collectively stored in this locality, and the form of logic of propositions processing template can be write according to the actual requirements Configuration.Such as, being "/match/{id} " for preset interface rules, the logic of propositions of its correspondence processes Template is configurable to matchinfo.vm.
It should be noted that for the embodiment of the present invention, each preset interface rules can corresponding one pre- If logic processing template, and each logic of propositions processing template can be issued in a corresponding service, performs not Same logic of propositions processing template can realize issuing different services.
104, logic of propositions processing template is performed.
Further, in order to issue corresponding service.
A kind of service issuing method that the embodiment of the present invention provides, is determined by corresponding with servicing issue request Preset interface rules, and determine the logic of propositions processing template corresponding with preset interface rules, finally lead to Crossing execution logic of propositions processing template and issue corresponding service, compared with prior art, user is without compiling The program code of service, it is not necessary to the whole services on server of restarting achieve that the issue of service, letter Change the complexity of issuing service, the efficiency that service is issued can have been improved, and then the place of service can be improved Reason efficiency.
Embodiments provide another kind of service issuing method, can apply to server, such as Fig. 2 Shown in, described method includes:
201, the service issue request that client sends is received.
Wherein, described issue carries the URL that the service needing to issue is corresponding in request.
For the embodiment of the present invention, before described step 201, also include: obtain from initialized data base Different preset interface rules and logic of propositions processing template corresponding to each preset interface rules are also buffered in Local.Wherein, described initialized data base can configure according to the actual requirements.Specifically, Ke Yi Initialize local data during startup of server, and access initialized data base, obtain in initialized data base whole Available preset interface rules and logic of propositions processing template corresponding to each preset interface rules also cache In this locality.
Further, when receiving update notification message, obtain from described initialized data base after updating Preset interface rules and the logic of propositions processing template of correspondence and update this locality caching.
Specifically, business side can be on Service Management backstage, and according to different services, differently configured is pre- Put interface rules and the most corresponding logic of propositions processing template, then deposited by Service Management backstage Enter in initialized data base.When business side needs the process logic of amendment service, i.e. initialized data base needs phase Closing when updating, it is not necessary to manual amendment's code, compile packing program, then release process is on server And all services of restarting make the loaded down with trivial details renewal processes such as this amendment comes into force, it is only necessary on Service Management backstage Update corresponding preset interface rules and corresponding logic of propositions processing template, click on and issue, Service Management Amendment can be updated to initialized data base by backstage, it is possible to update notification message is sent to message informing collection Group MQ.
And for the executive agent server of the embodiment of the present invention, had subscribed to message informing cluster MQ. After message informing cluster MQ receives the update notification message that Service Management backstage sends, it is notified that clothes There is renewal in the business preset interface rules of device and corresponding logic of propositions processing template, server receives renewal After notification message, can again access initialized data base, obtain the content after updating and update the caching of this locality. It should be noted that by the way of above-mentioned renewal services, management service that can be flexible is issued, Realization is not recompilated program, is not redeployed, do not restarts the service updating each business of service, can To be greatly improved the efficiency that service updates.
202, the preset interface rules of the URL coupling corresponding with service is determined.
For the embodiment of the present invention, described step 202 specifically includes: by default AntPathMatcher Route matching function, carries out path by described URL respectively with each preset interface rules being buffered in this locality Coupling;According to matching result, determine the preset interface rules mated with described URL.Wherein, described pre- If AntPathMatcher route matching function is the route matching principle provided according to Spring The function that AntPathMatcher writes.It should be noted that the path in described route matching principle Joining more than the web.xml of standard, the strategy of acquiescence achieves Org.springframework.util.AntPathMatcher, path mode is the use of the sample of Apache Ant Formula path.
Such as, service is issued and is carried the URL that the service needing to issue is corresponding in request, is specially Www.abc.com/123/101010.html, by default AntPathMatcher route matching function, will This URL and each preset interface rules being buffered in this locality carry out route matching respectively;According to coupling knot Really, it may be determined that matched preset interface rules is "/123/{id} ", and wherein, { id} represents variable.
203, the logic of propositions processing template corresponding with preset interface rules is determined.
204, logic of propositions processing template is performed.
Further, in order to issue corresponding service.
205, send, to client, the execution result that logic of propositions processing template is corresponding.
Further, in order to corresponding service is the most successfully issued in prompting.It should be noted that pass through Execution corresponding to logic of propositions processing template is sent as a result, it is possible to make user understand service and issue to client Implementation status, in order to follow-up manage accordingly.
Concrete application scenarios for the embodiment of the present invention can be as follows, but is not limited to this, including:
Such as, the URL that service carries the service needing to issue corresponding in issuing request is Www.letv.com/match/1234567.html, server can by this URL be buffered in this locality pre- Put interface rules to compare, the route matching principle that comparison strategy use Spring provides AntPathMatcher, it may be determined that matched preset interface rules is "/match/{id} ", with this Logic of propositions processing template corresponding to preset interface rules is matchinfo.vm, and server performs Logic content in matchinfo.vm, finally returns to client by execution result.
The embodiment of the present invention provide another kind of service issuing method, be determined by with service issue request right The preset interface rules answered, and determine the logic of propositions processing template corresponding with preset interface rules, finally Issuing corresponding service by performing logic of propositions processing template, compared with prior art, user is without compiling Translate the program code of service, it is not necessary to the whole services on server of restarting achieve that the issue of service, Simplify the complexity of issuing service, the efficiency that service is issued can be improved, and then service can be improved Treatment effeciency.
Embodiments provide another service issuing method, can apply to client, such as Fig. 3 Shown in, described method includes:
301, the issue instruction of service is received.
302, according to issuing instruction, send service to server and issue request.
Further, so that described server determines the preset interface mated with the described service request of issuing Rule, and determine the logic of propositions processing template corresponding with described preset interface rules, and perform described Logic of propositions processing template, in order to issue corresponding service.Wherein, described preset interface rules and pre- If the concept explanation of logic processing template is referred in step 102 and 103 describe accordingly, at this no longer Repeat.
The embodiment of the present invention provide another service issuing method, be determined by with service issue request right The preset interface rules answered, and determine the logic of propositions processing template corresponding with preset interface rules, finally Issuing corresponding service by performing logic of propositions processing template, compared with prior art, user is without compiling Translate the program code of service, it is not necessary to the whole services on server of restarting achieve that the issue of service, Simplify the complexity of issuing service, the efficiency that service is issued can be improved, and then service can be improved Treatment effeciency.
Embodiments provide another service issuing method, can apply to client, such as Fig. 4 Shown in, described method includes:
401, the issue instruction of service is received.
Wherein, described issue carries the URL that the service needing to issue is corresponding in instruction.
402, according to issuing instruction, send service to server and issue request.
Further, so that described server determines the preset interface mated with the described service request of issuing Rule, and determine the logic of propositions processing template corresponding with described preset interface rules, and perform described Logic of propositions processing template, in order to issue corresponding service.
For the embodiment of the present invention, described step 402 specifically may include that issues instruction according to described, Generation carries the service issue request Concurrency of described URL and gives server.Further, so that institute State server and determine the preset interface rules mated with described URL.It should be noted that described server The process that realizes of side is referred to step 201 to the corresponding description in step 204, does not repeats them here.
403, the execution result that the logic of propositions processing template of server transmission is corresponding is received.
Further, in order to corresponding service is the most successfully issued in prompting.User can be made to understand service The implementation status issued, in order to follow-up manage accordingly.
The embodiment of the present invention provide another service issuing method, be determined by with service issue request right The preset interface rules answered, and determine the logic of propositions processing template corresponding with preset interface rules, finally Issuing corresponding service by performing logic of propositions processing template, compared with prior art, user is without compiling Translate the program code of service, it is not necessary to the whole services on server of restarting achieve that the issue of service, Simplify the complexity of issuing service, the efficiency that service is issued can be improved, and then service can be improved Treatment effeciency.
Further, as implementing of method described in Fig. 1, embodiments provide a kind of clothes Business device, as it is shown in figure 5, described server includes: receive unit 51, determine unit 52, performance element 53。
Described reception unit 51, may be used for receiving the service issue request that client sends.Described reception Unit 51 curstomer-oriented end.
Described determining unit 52, the service being determined for receiving with described reception unit 51 is issued please Seek the preset interface rules of coupling.
Described determine unit 52, it is also possible to for determining the logic of propositions corresponding with described preset interface rules Processing template.Described determine in server, unit 52 determines that preset interface rules and the default of correspondence are patrolled Collect the main functional modules of processing template.
Described performance element 53, may be used for performing the described logic of propositions determining that unit 52 determines and processes Template.Described performance element 53 is the main functional modules of issuing service in server.
Further, in order to issue corresponding service.
It should be noted that its of each functional unit involved by a kind of server of embodiment of the present invention offer He describes accordingly, the corresponding description being referred in Fig. 1, does not repeats them here.In the embodiment of the present invention Hardware processor (hardware processor) can be passed through and realize related function module.
A kind of server that the embodiment of the present invention provides, is determined by with to service the request of issue corresponding preset Interface rules, and determine the logic of propositions processing template corresponding with preset interface rules, eventually through execution Logic of propositions processing template issues corresponding service, and compared with prior art, user is without compiling service Program code, it is not necessary to the whole services on server of restarting achieve that the issue of service, simplifies and sends out The complexity of cloth service, can improve the efficiency that service is issued, and then can improve the treatment effeciency of service.
Further, as implementing of method described in Fig. 2, embodiments provide a kind of clothes Business device, as shown in Figure 6, described server includes: receives unit 61, determine unit 62, performance element 63。
Described reception unit 61, may be used for receiving the issue request of the service that client sends.Described connect Receive unit 61 curstomer-oriented end.
Described determine unit 62, be determined for the issue request received with described reception unit 61 The preset interface rules joined.
Described determine unit 62, it is also possible to for determining the logic of propositions corresponding with described preset interface rules Processing template.Described determine in server, unit 62 determines that preset interface rules and the default of correspondence are patrolled Collect the main functional modules of processing template.
Described performance element 63, may be used for performing the described logic of propositions determining that unit 62 determines and processes Template.Described performance element 63 is the main functional modules of issuing service in server.
Further, in order to issue corresponding service.
Alternatively, described issue carries the URL that the service needing to issue is corresponding in request.
Described determine unit 62, be specifically determined for the preset interface rules mated with described URL.
Specifically, described determine that unit 62 includes: matching module 621, determine module 622.
Described matching module 621, may be used for by default AntPathMatcher route matching function, Described URL is carried out route matching respectively with each preset interface rules being buffered in this locality.
Described determine module 622, may be used for according to matching result, determine pre-with what described URL mated Put interface rules.
Further, described server also includes: acquiring unit 64, buffer unit 65.
Described acquiring unit 64, may be used for obtaining from initialized data base different preset interface rules and The logic of propositions processing template that each preset interface rules is corresponding.
Described buffer unit 65, may be used for the preset interface of difference got by described acquiring unit 64 Logic of propositions processing template corresponding to regular and each preset interface rules is buffered in this locality.
Further, described server also includes: updating block 66.
Described acquiring unit 64, it is also possible to for when receiving update notification message, from described preset number According to storehouse obtains the preset interface rules after updating and the logic of propositions processing template of correspondence.
Described updating block 66, may be used for according to described acquiring unit 64 obtain renewal after preset The logic of propositions processing template of interface rules and correspondence, updates local caching.
Further, described server also includes: transmitting element 67.
Described transmitting element 67, may be used for sending described logic of propositions processing template pair to described client The execution result answered.
Further, in order to corresponding service is the most successfully issued in prompting.
It should be noted that each functional unit involved by the another kind of server of embodiment of the present invention offer Other describe accordingly, the corresponding description being referred in Fig. 2, do not repeat them here.The embodiment of the present invention In can realize related function module by hardware processor.
The another kind of server that the embodiment of the present invention provides, is determined by with to service the request of issue corresponding pre- Put interface rules, and determine the logic of propositions processing template corresponding with preset interface rules, eventually through holding Row logic of propositions processing template issues corresponding service, and compared with prior art, user is without compiling service Program code, it is not necessary to the whole services on server of restarting achieve that the issue of service, simplify The complexity of issuing service, can improve the efficiency that service is issued, and then can improve the process effect of service Rate.
Further, as implementing of method described in Fig. 3, embodiments provide a kind of visitor Family end, as it is shown in fig. 7, described client includes: receive unit 71, transmitting element 72.
Described reception unit 71, may be used for the issue instruction of the service that receives.Described reception unit 71 is This client receives service and issues the main functional modules of instruction.
Described transmitting element 72, may be used for the issue instruction received according to described reception unit 71, to Server sends the service of described service and issues request.The described service-oriented device of transmitting element 72.
Further, so that described server determines the preset interface mated with the described service request of issuing Rule, and determine the logic of propositions processing template corresponding with described preset interface rules, and perform described Logic of propositions processing template, in order to issue corresponding service.
It should be noted that its of each functional unit involved by a kind of client of embodiment of the present invention offer He describes accordingly, the corresponding description being referred in Fig. 3, does not repeats them here.
A kind of client that the embodiment of the present invention provides, is determined by with to service the request of issue corresponding preset Interface rules, and determine the logic of propositions processing template corresponding with preset interface rules, eventually through execution Logic of propositions processing template issues corresponding service, and compared with prior art, user is without compiling service Program code, it is not necessary to the whole services on server of restarting achieve that the issue of service, simplifies and sends out The complexity of cloth service, can improve the efficiency that service is issued, and then can improve the treatment effeciency of service.
Further, as implementing of method described in Fig. 4, another kind is embodiments provided Client, as shown in Figure 8, described client includes: receive unit 81, transmitting element 82.
Described reception unit 81, may be used for the issue instruction of the service that receives.Described reception unit 81 is This client receives service and issues the main functional modules of instruction.
Described transmitting element 82, may be used for the issue instruction received according to described reception unit 81, to Server sends the service of described service and issues request.The described service-oriented device of transmitting element 82.
Further, so that described server determines the preset interface mated with the described service request of issuing Rule, and determine the logic of propositions processing template corresponding with described preset interface rules, and perform described Logic of propositions processing template, in order to issue corresponding service.
Alternatively, described issue carries the URL that the service needing to issue is corresponding in request.
Specifically, described transmitting element 82 includes: generation module 821, sending module 822.
Described generation module 821, may be used for issuing instruction according to described, generates and carry described URL Service issue request.
Described sending module 822, may be used for sending described service to server and issues request.
Further, so that described server determines the preset interface rules mated with described URL.
Described reception unit 81, it is also possible to the described logic of propositions sent for receiving described server processes The execution result that template is corresponding.
Further, in order to corresponding service is the most successfully issued in prompting.
It should be noted that each functional unit involved by the another kind of client of embodiment of the present invention offer Other describe accordingly, the corresponding description being referred in Fig. 4, do not repeat them here.
The another kind of client that the embodiment of the present invention provides, is determined by with to service the request of issue corresponding pre- Put interface rules, and determine the logic of propositions processing template corresponding with preset interface rules, eventually through holding Row logic of propositions processing template issues corresponding service, and compared with prior art, user is without compiling service Program code, it is not necessary to the whole services on server of restarting achieve that the issue of service, simplify The complexity of issuing service, can improve the efficiency that service is issued, and then can improve the process effect of service Rate.
Further, embodiments provide a kind of service delivery system, including: server 91 He Client 92.
Described client 92, instruction is issued in the service that may be used for receiving service;Instruction is issued according to described, Send described service to described server 91 and issue request.
Described server 91, may be used for receiving the service issue request that described client 92 sends;Really The preset interface rules that the fixed and described service request of issuing is mated;Determine corresponding with described preset interface rules Logic of propositions processing template;Perform described logic of propositions processing template, in order to issue corresponding service.
Exemplary, as shown in Figure 10, Figure 10 shows a kind of server that the embodiment of the present invention provides Entity structure schematic diagram, this server may include that processor (processor) 101, communication interface (Communications Interface) 102, memorizer (memory) 103 and bus 104, wherein, process Device 101, communication interface 102, memorizer 103 complete mutual communication by bus 104.Communication connects Mouth 102 may be used for the information transmission between server and client.Processor 101 can call storage Logical order in device 103, to perform following method: receive the service issue request that client sends; Determine the preset interface rules mated with the described service request of issuing;Determine and described preset interface rules pair The logic of propositions processing template answered;Perform described logic of propositions processing template, in order to issue corresponding service. Additionally, the logical order in above-mentioned memorizer 103 can be realized also by the form of SFU software functional unit During as independent production marketing or use, can be stored in a computer read/write memory medium. Based on such understanding, the portion that prior art is contributed by technical scheme the most in other words Dividing or the part of this technical scheme can embody with the form of software product, this computer software produces Product are stored in a storage medium, including some instructions with so that a computer equipment (can be Personal computer, server, or the network equipment etc.) perform method described in each embodiment of the present invention All or part of step.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic The various medium that can store program code such as dish or CD.
A kind of service delivery system that the embodiment of the present invention provides, is determined by corresponding with servicing issue request Preset interface rules, and determine the logic of propositions processing template corresponding with preset interface rules, finally lead to Crossing execution logic of propositions processing template and issue corresponding service, compared with prior art, user is without compiling The program code of service, it is not necessary to the whole services on server of restarting achieve that the issue of service, letter Change the complexity of issuing service, the efficiency that service is issued can have been improved, and then the place of service can be improved Reason efficiency.
Device embodiment described above is only schematically, wherein said illustrates as separating component Unit can be or may not be physically separate, the parts shown as unit can be or Person may not be physical location, i.e. may be located at a place, or can also be distributed to multiple network On unit.Some or all of module therein can be selected according to the actual needs to realize the present embodiment The purpose of scheme.Those of ordinary skill in the art are not in the case of paying performing creative labour, the most permissible Understand and implement.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive each reality The mode of executing can add the mode of required general hardware platform by software and realize, naturally it is also possible to by firmly Part.Based on such understanding, the portion that prior art is contributed by technique scheme the most in other words Dividing and can embody with the form of software product, this computer software product can be stored in computer can Read in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that one Computer equipment (can be personal computer, server, or the network equipment etc.) performs each to be implemented The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, rather than to it Limit;Although the present invention being described in detail with reference to previous embodiment, the ordinary skill of this area Personnel it is understood that the technical scheme described in foregoing embodiments still can be modified by it, or Person carries out equivalent to wherein portion of techniques feature;And these amendments or replacement, do not make corresponding skill The essence of art scheme departs from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (19)

1. a service issuing method, it is characterised in that including:
Receive the service issue request that client sends;
Determine the preset interface rules mated with the described service request of issuing;
Determine the logic of propositions processing template corresponding with described preset interface rules;
Perform described logic of propositions processing template, in order to issue corresponding service.
Service issuing method the most according to claim 1, it is characterised in that described service is issued please Carry the URL that the service needing to issue is corresponding in asking, described determine mate with the described service request of issuing Preset interface rules include:
Determine the preset interface rules mated with described URL.
Service issuing method the most according to claim 2, it is characterised in that described determine with described The preset interface rules of URL coupling includes:
By default AntPathMatcher route matching function, by described URL be buffered in the every of this locality Individual preset interface rules carries out route matching respectively;
According to matching result, determine the preset interface rules mated with described URL.
Service issuing method the most according to claim 3, it is characterised in that described reception client Before request is issued in the service sent, described method also includes:
Different preset interface rules and corresponding pre-of each preset interface rules is obtained from initialized data base If logic processing template is also buffered in this locality.
Service issuing method the most according to claim 4, it is characterised in that described method also includes:
When receiving update notification message, from described initialized data base, obtain the preset interface after updating Regular and corresponding logic of propositions processing template also updates local caching.
Service issuing method the most according to claim 1, it is characterised in that described execution is described pre- If after logic processing template, described method also includes:
The execution result that described logic of propositions processing template is corresponding is sent, in order to prompting is to described client No successfully issue services accordingly.
7. a service issuing method, it is characterised in that including:
Receive the issue instruction of service;
Issuing instruction according to described, request is issued in the service sending described service to server, so that institute State server and determine the preset interface rules mated with the described service request of issuing, and determine preset with described The logic of propositions processing template that interface rules is corresponding, and perform described logic of propositions processing template, in order to Issue corresponding service.
Service issuing method the most according to claim 7, it is characterised in that in described issue instruction Carry the URL that the service needing to issue is corresponding, described according to described issue instruction, send to server The service of described service is issued request and is included:
Issuing instruction according to described, generation carries the service issue request Concurrency of described URL and gives service Device, so that described server determines the preset interface rules mated with described URL.
Service issuing method the most according to claim 7, it is characterised in that described method also includes:
Receive the execution result that the described logic of propositions processing template of described server transmission is corresponding, in order to carry Show and the most successfully issue corresponding service.
10. a server, it is characterised in that including:
Receiving unit, request is issued in the service sent for receiving client;
Determine unit, for determining that what the service request of issuing received with described reception unit mated preset connects Mouth rule;
Described determine unit, be additionally operable to determine that the logic of propositions corresponding with described preset interface rules processes mould Plate;
Performance element, for performing the described logic of propositions processing template determining that unit determines, in order to issues Corresponding service.
11. servers according to claim 10, it is characterised in that carry in described issue request There is a need to the URL of the service correspondence issued,
Described determine unit, specifically for determining the preset interface rules mated with described URL.
12. servers according to claim 11, it is characterised in that described determine that unit includes:
Matching module, for by default AntPathMatcher route matching function, by described URL Route matching is carried out respectively with each preset interface rules being buffered in this locality;
Determine module, for according to matching result, determine the preset interface rules mated with described URL.
13. servers according to claim 12, it is characterised in that described server also includes:
Acquiring unit, for obtaining different preset interface rules and each preset connecing from initialized data base The logic of propositions processing template that mouth rule is corresponding;
Buffer unit, for the preset interface rules of difference that got by described acquiring unit and each pre- The logic of propositions processing template putting interface rules corresponding is buffered in this locality.
14. servers according to claim 13, it is characterised in that described server also includes: Updating block;
Described acquiring unit, is additionally operable to when receiving update notification message, from described initialized data base Obtain the preset interface rules after updating and the logic of propositions processing template of correspondence;
Described updating block, the preset interface rules after the renewal obtained according to described acquiring unit with And the logic of propositions processing template of correspondence, update local caching.
15. servers according to claim 10, it is characterised in that described server also includes:
Transmitting element, for described client send described logic of propositions processing template corresponding perform knot Really, in order to corresponding service is the most successfully issued in prompting.
16. 1 kinds of clients, it is characterised in that including:
Receive unit, for receiving the issue instruction of service;
Transmitting element, for the issue instruction received according to described reception unit, sends described to server Request is issued in the service of service, so that described server determines pre-with what the described service request of issuing was mated Put interface rules, and determine the logic of propositions processing template corresponding with described preset interface rules, and hold The described logic of propositions processing template of row, in order to issue corresponding service.
17. clients according to claim 16, it is characterised in that carry in described issue request There is a need to the URL of the service correspondence issued, described transmitting element includes:
Generation module, for issuing instruction according to described, generation carries the service issue of described URL please Ask;
Sending module, issues request, so that described server is true for sending described service to server The fixed preset interface rules mated with described URL.
18. clients according to claim 16, it is characterised in that
Described reception unit, is additionally operable to receive the described logic of propositions processing template pair that described server sends The execution result answered, in order to corresponding service is the most successfully issued in prompting.
19. 1 kinds of service delivery systems, it is characterised in that including: any one of claim 10-15 institute Client described in the server stated and any one of claim 16-18.
CN201610100023.9A 2016-02-23 2016-02-23 Service publishing method, device and system Pending CN105847231A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610100023.9A CN105847231A (en) 2016-02-23 2016-02-23 Service publishing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610100023.9A CN105847231A (en) 2016-02-23 2016-02-23 Service publishing method, device and system

Publications (1)

Publication Number Publication Date
CN105847231A true CN105847231A (en) 2016-08-10

Family

ID=56588213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610100023.9A Pending CN105847231A (en) 2016-02-23 2016-02-23 Service publishing method, device and system

Country Status (1)

Country Link
CN (1) CN105847231A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106408793A (en) * 2016-10-11 2017-02-15 深圳市紫金支点技术股份有限公司 Service-component sharing method and system applicable to ATM (Automatic Teller Machine) services
CN106559493A (en) * 2016-11-29 2017-04-05 深圳中兴网信科技有限公司 Service issuing method and service delivery system
CN107578338A (en) * 2017-07-26 2018-01-12 阿里巴巴集团控股有限公司 A kind of service publishing method, device and equipment
CN109032569A (en) * 2018-08-02 2018-12-18 山东浪潮通软信息科技有限公司 A kind of RESTful service method for automatically releasing based on attribute tags
CN112804373A (en) * 2020-12-30 2021-05-14 微医云(杭州)控股有限公司 Interface domain name determining method and device, electronic equipment and storage medium
CN113704665A (en) * 2021-08-30 2021-11-26 康键信息技术(深圳)有限公司 Dynamic service publishing method, device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662463A (en) * 2008-08-28 2010-03-03 国际商业机器公司 Device and method for customizing service flow for user
CN102263827A (en) * 2011-08-24 2011-11-30 深圳市融创天下科技股份有限公司 Information issuing device and method
CN104144210A (en) * 2014-07-09 2014-11-12 中电科华云信息技术有限公司 Method and system for automatically building data service
CN104899013A (en) * 2014-03-05 2015-09-09 深圳中兴网信科技有限公司 Calling method and calling device of customized service assembly
CN105138342A (en) * 2015-09-30 2015-12-09 北京奇虎科技有限公司 Service development method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662463A (en) * 2008-08-28 2010-03-03 国际商业机器公司 Device and method for customizing service flow for user
CN102263827A (en) * 2011-08-24 2011-11-30 深圳市融创天下科技股份有限公司 Information issuing device and method
CN104899013A (en) * 2014-03-05 2015-09-09 深圳中兴网信科技有限公司 Calling method and calling device of customized service assembly
CN104144210A (en) * 2014-07-09 2014-11-12 中电科华云信息技术有限公司 Method and system for automatically building data service
CN105138342A (en) * 2015-09-30 2015-12-09 北京奇虎科技有限公司 Service development method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106408793A (en) * 2016-10-11 2017-02-15 深圳市紫金支点技术股份有限公司 Service-component sharing method and system applicable to ATM (Automatic Teller Machine) services
CN106559493A (en) * 2016-11-29 2017-04-05 深圳中兴网信科技有限公司 Service issuing method and service delivery system
CN107578338A (en) * 2017-07-26 2018-01-12 阿里巴巴集团控股有限公司 A kind of service publishing method, device and equipment
CN107578338B (en) * 2017-07-26 2021-06-04 创新先进技术有限公司 Service publishing method, device and equipment
CN109032569A (en) * 2018-08-02 2018-12-18 山东浪潮通软信息科技有限公司 A kind of RESTful service method for automatically releasing based on attribute tags
CN112804373A (en) * 2020-12-30 2021-05-14 微医云(杭州)控股有限公司 Interface domain name determining method and device, electronic equipment and storage medium
CN113704665A (en) * 2021-08-30 2021-11-26 康键信息技术(深圳)有限公司 Dynamic service publishing method, device, electronic equipment and storage medium
CN113704665B (en) * 2021-08-30 2023-10-13 康键信息技术(深圳)有限公司 Dynamic service release method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11237812B2 (en) Deploying an application in a cloud computing environment
CN105847231A (en) Service publishing method, device and system
US9654928B2 (en) Tracking information technology (IT) assets
CN104714822B (en) For the method and system for the real-time update for performing operating system
US9940210B2 (en) Healing cloud services during upgrades
CN104067257B (en) Automate event management system, management event method and event management system
US10282208B2 (en) Cognitive thread management in a multi-threading application server environment
US10341181B2 (en) Method and apparatus to allow dynamic changes of a replica network configuration in distributed systems
CN107729176A (en) The disaster recovery method and disaster tolerance system of a kind of profile management systems
US10031764B2 (en) Managing executable files
CN109828830B (en) Method and apparatus for managing containers
CN114489954A (en) Tenant creation method based on virtualization platform, tenant access method and equipment
CN114490062A (en) Local disk scheduling method and device, electronic equipment and storage medium
CN109218338B (en) Information processing system, method and device
US10165088B2 (en) Providing unit of work continuity in the event initiating client fails over
US20230014233A1 (en) Serverless Application Function Execution
CN115361382A (en) Data processing method, device, equipment and storage medium based on data group
CN112988738B (en) Data slicing method and device for block chain
CN113377385A (en) Client automatic deployment method and device
CN109101253B (en) Management method and device for host in cloud computing system
US9762708B2 (en) Management of outbound transactions to an enterprise information system
US11526490B1 (en) Database log performance
US11086549B2 (en) Just-in-time data migration in a live system
US11953972B2 (en) Selective privileged container augmentation
CN110968334B (en) Application resource updating method, resource package manufacturing method, device, medium and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160810