CN108563505A - A kind of service chaining method of combination, device, server and storage medium - Google Patents

A kind of service chaining method of combination, device, server and storage medium Download PDF

Info

Publication number
CN108563505A
CN108563505A CN201810299997.3A CN201810299997A CN108563505A CN 108563505 A CN108563505 A CN 108563505A CN 201810299997 A CN201810299997 A CN 201810299997A CN 108563505 A CN108563505 A CN 108563505A
Authority
CN
China
Prior art keywords
component
service chaining
dragged
resource
service
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
CN201810299997.3A
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.)
Shanghai Cloud Information Technology Co Ltd
Original Assignee
Shanghai Cloud Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Cloud Information Technology Co Ltd filed Critical Shanghai Cloud Information Technology Co Ltd
Priority to CN201810299997.3A priority Critical patent/CN108563505A/en
Publication of CN108563505A publication Critical patent/CN108563505A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of service chaining method of combination, device, server and storage mediums.This method includes:Service chaining request to create is obtained, and service chaining layout interface is shown according to the service chaining request to create;When receiving the instruction of the dragging to each resource component, the dragging position of each dragged resource component is obtained successively in service chaining layout interface, and based on the dragging corresponding component identification information of location determination;The preset attribute information of each dragged resource component is determined according to component identification information, and corresponding configuration information is determined based on each preset attribute information;Receive create instruction when, by parsing the configuration information and being created according to corresponding dragging position and show service chaining.The technical difficulty of service chaining layout is reduced using above-mentioned technical proposal, while having saved service chaining programming time, improves service chaining layout efficiency.

Description

A kind of service chaining method of combination, device, server and storage medium
Technical field
The present embodiments relate to field of computer technology more particularly to a kind of service chaining method of combination, device, servers And storage medium.
Background technology
With the rapid development of cloud computing technology, cloud platform service is constantly universal.Along with more professional users and forward position Industry is increasing to the demand of cloud resource, and the portfolio of cloud service is also continuously increased, and ensures that the safety of Business Stream is heavy to closing It wants.Therefore it needs that specified resource is allowed to flow to other equipment resource (for example, it may be attack protection, diseases prevention according to the sequence of setting Malicious business and security bundle etc.), abstract modeling and example generation are carried out to cloud platform resource in a manner of layout, safeguarded, Corresponding service chaining is created, to ensure the service security of cloud platform user.
In the prior art, it is corresponding to create to carry out service chaining layout for the mode of operating personnel's generally use order line input Service chaining.However, needing that operating personnel are increased and taken with the requirement of higher technology by way of order line input The operation threshold of business chain layout, while reducing layout efficiency.
Invention content
A kind of service chaining method of combination of offer of the embodiment of the present invention, device, server and storage medium, with the service of improving Chain layout efficiency, while reducing the technical difficulty of service chaining layout.
In a first aspect, an embodiment of the present invention provides a kind of service chaining method of combination, this method includes:
Service chaining request to create is obtained, and service chaining layout interface is shown according to the service chaining request to create;
When receiving the instruction of the dragging to each resource component, each dragged is obtained successively in service chaining layout interface The dragging position of resource component is dragged, and based on dragging each dragged corresponding component identification information of resource component of location determination;
The preset attribute information of each dragged resource component is determined according to component identification information, and is based on the preset attribute Information determines the configuration information of each dragged resource component;
When receiving establishment instruction, the configuration information of each dragged resource component is parsed, and according to corresponding dragging position Set establishment service chaining;
The service chaining is shown on service chaining layout interface.
Second aspect, the embodiment of the present invention additionally provide a kind of service chaining layout device, which includes:
Request to create acquisition module is shown for obtaining service chaining request to create, and according to the service chaining request to create Service chaining layout interface;
Component determining module, for receive the dragging to each resource component instruction when, in service chaining layout circle The dragging position of each dragged resource component is obtained in face successively, and opposite based on each dragged resource component of location determination is pulled The component identification information answered;
Configuration information determining module, for determining that the preset attribute of each dragged resource component is believed according to component identification information It ceases, and determines the configuration information of each dragged resource component based on the preset attribute information;
Service chaining creation module, for when receiving establishment instruction, parsing the configuration information of each dragged resource component, And service chaining is created according to corresponding dragging position;
Service chaining display module, for showing the service chaining on service chaining layout interface.
The third aspect, the embodiment of the present invention additionally provide a kind of server, including input unit and output device, the service Device further includes:
One or more processors;
Storage device, for storing one or more programs;
One or more of programs are executed by one or more of processors so that one or more of processors Realize the service chaining method of combination that any embodiment of the present invention is provided.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, are stored thereon with computer Program realizes the service chaining method of combination that any embodiment of the present invention is provided when the program is executed by processor.
Service chaining layout interface is shown when the embodiment of the present invention is by getting service chaining request to create;It is receiving to each When the dragging instruction of resource component, the dragging position of each dragged resource component is obtained successively in service chaining layout interface, and Based on the dragging corresponding component identification information of location determination;The default of each dragged resource component is determined according to component identification information Attribute information, and corresponding configuration information is determined based on each preset attribute information;It, should by parsing when receiving establishment instruction Configuration information simultaneously creates according to corresponding dragging position and shows service chaining.It is solved using order line using above-mentioned technical proposal The mode of input carries out the service chaining layout problem more demanding to personnel's technology, reduces the technical difficulty of service chaining layout, Improve service chaining layout efficiency simultaneously.
Description of the drawings
Fig. 1 is a kind of flow diagram of service chaining method of combination in the embodiment of the present invention one;
Fig. 2 is a kind of flow diagram of service build discharge method in the embodiment of the present invention two;
Fig. 3 is a kind of structural schematic diagram of service chaining layout device in the embodiment of the present invention three;
Fig. 4 is a kind of hardware architecture diagram of server in the embodiment of the present invention four.
Specific implementation mode
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limitation of the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart for service chaining method of combination that the embodiment of the present invention one provides, and the present embodiment is applicable to The case where carrying out layout to cloud platform resource, this method can be executed by resource layout device, and the device is by software and/or firmly Part is realized, and is configured on server, which specifically comprises the following steps:
S110, service chaining request to create is obtained, and service chaining layout interface is shown according to the service chaining request to create.
In this step, after server, which receives user, creates the request of service chaining, it will displaying service chaining layout circle Face.
S120, receive the dragging to each resource component instruction when, obtained successively in service chaining layout interface The dragging position of each dragged resource component, and identified based on each dragged corresponding component of resource component of location determination is pulled Information.
In this step, it is provided at least one resource component in service chaining layout interface, wherein resource component can be Each service equipment component made of cloud platform resource is abstract, such as can be cloud host, network interface card, flow to equipment or flow classifier Deng;Resource component can also be that history creates service chaining drawing template establishment or network function template generated in service chaining process Deng.Wherein, service chaining drawing template establishment includes at least cloud host, network interface card, flow classifier and the service equipments component such as flow to equipment; Wherein, network function template includes at least the service equipments components such as cloud host and network interface card.
Wherein, component identification information is for each resource component included in Differentiated Services chain layout interface.
In this step, user can generate dragging instruction by drag operation.When server is received to each resource group When the dragging instruction of part, server can obtain the dragging position of each dragged resource component successively in service chaining layout interface, And the dragging position based on dragged resource component, determine the component identification information of corresponding resource component.
S130, the preset attribute information that each dragged resource component is determined according to component identification information, and based on described pre- If attribute information determines the configuration information of each dragged resource component.
In this step, server determines in service chaining layout interface which is specifically according to determining component identification information Resource component is dragged, and the preset attribute information of the dragged resource component is determined by the component identification information.Server The configuration information of each dragged resource component is determined based on the preset attribute information.
It should be noted that when dragged resource component is cloud host, attribute information can be CPU quantity, memory, magnetic Disk size, image file, available domain and network interface card quantity etc..When dragged resource component is network interface card, attribute information can be Network management information, safe group information, network type information and Network Provider information etc..When dragged resource component is stream When grader, attribute information can be ethernet version, source IP (Internet Protocol, procotol) network segment, destination IP The network segment, source port, destination interface and protocol type etc..When dragged resource component is to flow to equipment, attribute information can be with It is that user's mark data flow flows to information.Wherein, it is specially respectively to be serviced included in service orchestration interface to flow to information The name information of apparatus assembly.It should be noted that it can be one direction configuration information to flow to information, can also be that twocouese is matched Confidence ceases.
Wherein, preset attribute information is to be write from memory by what developer's setting or user were set according to demand in above-mentioned attribute information Recognize value.
S140, receive create instruction when, parse the configuration information of each dragged resource component, and drag according to corresponding It drags position and creates service chaining.
In this step, user's row server creates instruction for indicating that the preparation for creating service chaining is tied completely Beam can carry out subsequent service chain creation operation.After service chaining receives establishment instruction, dragged resource component is parsed Configuration information, and according to the network topology of each resource component in configuration information and the dragging position of each dragged resource component It sets, generates corresponding service chaining.
S150, the service chaining is shown on service chaining layout interface.
Service chaining layout interface is shown when the embodiment of the present invention is by getting service chaining request to create;It is receiving to each When the dragging instruction of resource component, the dragging position of each dragged resource component is obtained successively in service chaining layout interface, and Based on the dragging corresponding component identification information of location determination;The default of each dragged resource component is determined according to component identification information Attribute information, and corresponding configuration information is determined based on each preset attribute information;By parsing the configuration information and according to correspondence Dragging position create and show service chaining.It is serviced in such a way that above-mentioned technical proposal is solved and inputted using order line The chain layout problem more demanding to personnel's technology, reduces the technical difficulty of service chaining layout, while improving service chaining volume Arrange efficiency.
Embodiment two
Fig. 2 is a kind of flow diagram of service chaining method of combination provided by Embodiment 2 of the present invention, and the present embodiment is upper On the basis of stating each embodiment, preferably " it will determine that the preset attribute of each dragged resource component is believed according to component identification information Cease, and determine the configuration information of each dragged resource component based on the preset attribute information " it is refined as " being identified and being believed according to component Breath inquiry database determines preset attribute information corresponding with each dragged resource component;If getting each dragged resource The input attribute information of component determines each dragged money then according to each input attribute information and corresponding preset attribute information The configuration information of source component;If the input attribute information of each dragged resource component has not been obtained, according to each dragged money The preset attribute information of source component determines the configuration information of each dragged resource component ", further to improve each dragged resource The determination step of the configuration information of component.
Further, after " configuration information of each dragged resource component of parsing ", " acquisition waits for that layout takes to additional feature The service equipment status information of business device cluster;If the configuration that the service equipment status information is unsatisfactory for the configuration information needs Ask, then remind the configuration information for the service equipment component that user changes in service chaining layout interface corresponding to error node ", To add the case where server cluster is difficult to meet service chain creation demand.
Correspondingly, step " creating service chaining according to corresponding dragging position ", is optimized for " executing rolling back action, and being based on The modified configuration information received and corresponding dragging position, continue create service chaining ", so as to from service chain creation mistake The node that mistake occurs in journey is modified and continues to create service chaining, avoids the establishment and the category that re-start each resource component Property information configuration.
A kind of service chaining method of combination that the embodiment of the present invention is provided, includes the following steps:
S210, service chaining request to create is obtained, and service chaining layout interface is shown according to the service chaining request to create.
In this step, when user needs to create service chaining, it will send service chaining request to create to server.Work as service After device receives the service chaining request to create, it will service chaining layout interface is shown to user, so that user passes through the service chaining It creates interface and more intuitively carries out service chain creation.
S220, receive the dragging to each resource component instruction when, obtained successively in service chaining layout interface The dragging position of each dragged resource component, and identified based on each dragged corresponding component of resource component of location determination is pulled Information.
Wherein, resource component can be according to the abstract service equipment component formed of cloud platform resource;It can also be herein When service chain creation before, the service chaining template that is generated of service chaining is created using the history of each service equipment component and can also be During history creates, network function template that the partial service chain of formation is generated.Wherein, by specially service equipment group The component type of the resource component of part is determined as the second preset kind (that is, equipment class);By specially service chaining template or net The component type of the resource component of network functional template is determined as the first preset kind (that is, template class).
Wherein, service equipment component may include cloud host, network interface card, flow classifier and flow to equipment etc..Network function Only include two kinds of service equipment components of cloud host and network interface card in template.Service chaining template is including two in such as network function template Also include flow classifier and the service equipments component such as flow to equipment outside kind of service equipment component.It should be noted that each In network function template and each service chaining template, including the attribute information of concrete configuration of service equipment component can be The default value of default can also be the setting value during history creates, not do any restriction to this, it is only necessary to ensure each category Property information can reconfigure the durability that can enhance template.
In this step, user shows boundary by the way that each resource component in service chaining layout interface is dragged to service chaining Face, to create corresponding resource component icon in service chaining display interface.Specifically, when user pulls a certain resource component When, it will generate corresponding dragging instruction for this drag operation.When server receives dragging instruction, pass through parsing The dragging instructs the initial position that can get this drag operation, is compiled in service chaining by initial position and each resource component Set coordinates regional in row interface is compared, to determine that the target corresponding to the dragging object of this drag operation provides Source component, and the component of the target resource component is encoded into the component identification information as the target resource component.Certainly, may be used also To have the information of discrimination by other of target resource component as component identification information, it is not specifically limited herein.
Further, the final position of this drag operation can also be got by parsing dragging instruction, by The final position of service chaining display interface in service chaining layout interface creates resource component corresponding with target resource component Icon.Optionally, the final position of resource component icon can also be set as a certain fixed value when pulling first time, and When pulling next time, by the money of the identified corresponding resource component icon of target resource component and last placement next time The final position of source component icon, which according to the transverse and longitudinal coordinate difference of setting calculate, determines new final position.
It should be noted that in service chaining layout interface when establishing resource component icon, accordingly in the clothes of cloud platform It is engaged in device cluster, also virtual unit can be created by virtualization technology, to provide cloud service for cloud platform user.
Step " determines the preset attribute information of each dragged resource component according to component identification information, and based on described pre- If attribute information determines the configuration information of each dragged resource component " it is further refined as S231~S234.
S231, preset attribute corresponding with each dragged resource component is determined according to component identification information-enquiry database Information.
It should be noted that because resource component includes two different component types --- the first preset kind and second The component type of preset kind (that is, template class and equipment class), corresponding each resource component also can be in component identification information It is embodied.
Specifically, in this step, server determines the group of each dragged resource component according to the component identification information Part type;If the component type is the first preset kind, each service equipment that the service chaining template is included is obtained The service equipment of component identifies, and is identified based on the service equipment of each service equipment, and inquiry obtains corresponding preset attribute information; If the component type is the second preset kind, it is right that the resource component institute is obtained according to the component identification information-enquiry The preset attribute information for the service equipment answered.
S232, judge whether to get the input attribute information of each dragged resource component;If it is, executing S233; If it is not, then executing S234.
In this step, and if user is not detected to each service equipment group included in each dragged resource component Any attribute information of part reconfigures generated input attribute information, subsequently will be according only to institute in each dragged resource component Including the preset attribute information of service equipment component determine corresponding configuration information;When detecting user to each dragged resource The a certain attribute information of any service equipment component, which reconfigures generated input attribute information, included in component is, after It is continuous that the input attribute information and preset attribute information of the service equipment for being included according to each dragged resource component are determined into phase The configuration information answered.
Illustratively, configuration information can be generate a JSON (JavaScript Object Notation, JS pairs As label) configuration file or XML (Extensible Markup Language, extensible markup language) format of format Configuration file includes the required attribute information for this time servicing chain creation in the configuration file.
S233, according to each input attribute information and corresponding preset attribute information, determine each dragged resource component Configuration information.
S234, according to the preset attribute information of each dragged resource component, determine each dragged resource component matches confidence Breath.
Step " when receiving establishment instruction, is parsed into the configuration information of each dragged resource component, and according to corresponding Pull position and create service chaining ", it is split as S240A and S240B, and further " acquisition waits for orchestrating services for addition after S240A The service equipment status information of device cluster;If the configuration that the service equipment status information is unsatisfactory for the configuration information needs It asks, then reminds the configuration information for the service equipment component that user changes in service chaining layout interface corresponding to error node " To add the case where server cluster is difficult to meet service chain creation demand, and S240B is optimized for S240C accordingly.
S240A, receive create instruction when, parse the configuration information of each dragged resource component.
S241, acquisition wait for the service equipment status information of orchestrating services device cluster.
It is substantially that virtualization resource distribution is carried out to each server cluster in cloud platform due to carrying out service chaining layout Service is provided a user in a manner of according to setting, it is therefore desirable to be waited in needing acquisition cloud platform before specifically generating service chaining Whether the service equipment status information in orchestrating services device cluster disclosure satisfy that the establishment demand of current service chain.Wherein, it services Each service equipment component drawings shown in status information of equipment and service chaining display interface of the user in service chaining layout interface The corresponding attribute information of mark is corresponding.
S242, judge whether service equipment status information meets the configuration needs of the configuration information;If it is it executes S240B;If it is not, then executing S243.
Specifically, in this step, by the CPU quantity of the cloud host of acquisition, memory size, disk size and network interface card number The information such as amount are carried out with the CPU quantity of required cloud host, memory size, number of disks and network interface card quantity in configuration information respectively It compares, when any above-mentioned status information in cloud host is unsatisfactory for configuration needs, it will remind user to be currently configured unreasonable, It needs to change corresponding configuration information under the premise of meeting users service needs.
Illustratively, the CPU quantity in the service equipment status information of acquisition is carried out with the CPU quantity in configuration information It compares, if the CPU quantity in service equipment status information is less than the CPU quantity in configuration information, then it represents that wait for orchestrating services The cpu resource of the service equipment of device cluster is difficult to meet the configuration needs of current service chain, and user will be reminded suitably to match The adjustment of confidence breath, otherwise not creates.
Illustratively, by the memory size and configuration information of the free memory resource in the service equipment status information of acquisition In the memory size of demand resource be compared, if the memory in service equipment status information be less than it is interior in configuration information It deposits, then mark waits for that the service equipment of orchestrating services device cluster is difficult to meet the memory configurations demand of current service chain, is used reminding Family suitably carries out the adjustment of configuration information, otherwise not creates.
It should be noted that can also obtain the state letter with the service equipment in orchestrating services device cluster in this step Breath.Such as can be network management information, safe group information, network type information and Network Provider information of network interface card etc.; It can also be ethernet version, network segment information, port information and the protocol type etc. of flow classifier.Above-mentioned status information with The alignments of CPU quantity and memory size are similar, and details are not described herein.
S240B, service chaining is created according to the configuration information of each dragged resource component and corresponding dragging position.Continue Execute S250.
It should be noted that server with specific reference to after parsing configuration information and each dragged resource component in drag Position is dragged, by OVS (Open vSwitch, virtual switch) technology, flow is carried out using the mode of flow table and gets through, make user When the data access service chaining, it can flow to and be run according to the resource of setting.
S243, user is reminded to change matching for the service equipment component in service chaining layout interface corresponding to error node Confidence ceases.
S240C, rolling back action is executed, and based on the modified configuration information and corresponding dragging position received, Continue to create service chaining.Continue to execute S250.
When judging that service equipment status information is difficult to meet the establishment demand of service chaining due to the configuration information of itself, User can be reminded to change the service equipment component icon for corresponding to error node in service chaining display interface, then user can correspond to and repair Change the configuration information of the service equipment component icon.At this point, service chaining foundation step will be rolled back to the node location that mistake occurs, Then using modified configuration information and dragging position, continue to create service chaining, without re-starting dragging for resource component It drags and the configuration of the attribute information of each service equipment component improves service chain creation efficiency to save service chaining creation time.
Certainly, the case where failure, server are created caused by encountering non-configuration information matching problem during creating Also rolling back action can be used, which to determine, leads to create the node to fail, and service chain creation operation is continued to execute after self-healing.
S250, the service chaining is shown on service chaining layout interface.
In this step, specifically the service chaining display interface in service chaining layout interface, display create successfully service Chain.After showing the service chaining, user can also directly generate corresponding service chaining template according to successful service chaining is created, Subsequently directly on the basis of the service chaining template into edlin, to save the creation time of service chaining.
The embodiment of the present invention is perfect respectively to be dragged by refining the operation of the configuration information for determining each dragged resource component Drag the determination process of the configuration information of resource component;The service equipment status information of orchestrating services device cluster is waited for by additional acquisition And by the way that service equipment status information to be compared with configuration information, to determine whether current server cluster meets service Chain creation demand, so as to when being unsatisfactory for establishment demand can time update service chain creation scheme, remedial measure is provided;Pass through The mode of additional rolling back action can re-create without deleting whole service chaining when servicing chain creation failure, improve clothes Business chain creation efficiency, saves service chaining creation time.
Embodiment three
Fig. 3 is a kind of structural schematic diagram for service chaining layout device that the embodiment of the present invention three provides, and the present embodiment can fit The case where for carrying out layout to cloud platform resource, which includes:Request to create acquisition module 310, component determining module 320, configuration information determining module 330, service chaining creation module 340 and service chaining display module 350.
Wherein, request to create acquisition module 310, for obtaining service chaining request to create, and according to the service chain creation Request displaying service chaining layout interface;
Component determining module 320, for receive the dragging to each resource component instruction when, in the service chaining layout The dragging position of each dragged resource component is obtained in interface successively, and based on dragging each dragged resource component phase of location determination Corresponding component identification information;
Configuration information determining module 330, the default category for determining each dragged resource component according to component identification information Property information, and determine based on the preset attribute information configuration information of each dragged resource component;
Service chaining creation module 340, for when receiving establishment instruction, parse each dragged resource component to match confidence Breath, and service chaining is created according to corresponding dragging position;
Service chaining display module 350, for showing the service chaining on service chaining layout interface.
The embodiment of the present invention is by the acquisition service chaining request to create of request to create acquisition module 310 and according to the request to create Show service chaining layout interface;When receiving the instruction of the dragging to each resource component, serviced using component determining module 320 The dragging position of each dragged resource component is obtained in chain layout interface successively, and based on the component mark for pulling location determination field headquarters Know information;Using configuration information determining module 330 according to component indicate giggle you determine each dragged resource component match confidence Breath;Using the parsing configuration information of service chaining creation module 340 and according to corresponding dragging position after receiving establishment instruction Create service chaining;And service chaining is shown on service chaining layout interface using service chaining display module 350.Using above-mentioned technical side Case solves the problems, such as to carry out service chaining layout in such a way that order line inputs more demanding to personnel's technology, reduces service The technical difficulty of chain layout, while improving service chaining layout efficiency.
Further, the configuration information determining module 330, including:
Query unit, it is corresponding with each dragged resource component for being determined according to component identification information-enquiry database Preset attribute information;
Determination unit is used for when getting the input attribute information of each dragged resource component, is believed according to each input attribute Breath and corresponding preset attribute information, determine the configuration information of each dragged resource component;
Determination unit is additionally operable to when the input attribute information of each dragged resource component has not been obtained, according to each dragged The preset attribute information of resource component determines the configuration information of each dragged resource component.
Further, the resource component includes:The service chaining template and/or root that service chaining is generated are created according to history According to the abstract service equipment component formed of cloud platform resource.
Further, the configuration information determining module 330, including:
Component type determination unit, the component class for determining each dragged resource component according to the component identification information Type;
Acquiring unit, for when the component type is the first preset kind, obtaining the service chaining template to be included Each service equipment component service equipment mark, and identified based on the service equipment of each service equipment, inquiry obtains corresponding Preset attribute information;
Acquiring unit is additionally operable to when the component type is the second preset kind, according to the component identification information-enquiry Obtain the preset attribute information of the service equipment corresponding to the resource component.
Further, described device further includes:
State information acquisition module, for obtaining the service equipment status information for waiting for orchestrating services device cluster;
Reminding module, for when the service equipment status information is unsatisfactory for the configuration needs of the configuration information, carrying Awake user changes the configuration information of the service equipment component corresponding to error node in service chaining layout interface;
Correspondingly, the service chaining creation module 340, is used for:
Rolling back action is executed, and based on the modified configuration information and corresponding dragging position received, continues to create Build service chaining.
Above-mentioned service chaining layout device can perform the service chaining method of combination that any embodiment of the present invention is provided, and has and holds The corresponding function module of row service chaining method of combination and advantageous effect.
Example IV
Fig. 4 is a kind of hardware architecture diagram for server that the embodiment of the present invention four provides.As shown in figure 4, the service Device, including input unit 410, output device 420, processor 430 and storage device 440.
Wherein, input unit 410, for obtaining service chaining request to create;It is additionally operable to receive the dragging to each resource component Instruction;
Output device 420, for showing service chaining layout interface;It is additionally operable to show institute on service chaining layout interface State service chaining;
One or more processors 430;
Storage device 440, for storing one or more programs.
In Fig. 4 by taking a processor 430 as an example, the input unit 410 in the server can pass through bus or its other party Formula is connected with output device 420, processor 430 and storage device 440, and processor 430 and storage device 440 are also by total Line or other modes connect, in Fig. 4 for being connected by bus.
In the present embodiment, the processor 430 in server can get service chaining request to create in input unit 410 When, control output device 420 shows service chaining layout interface;It can also be received to each resource component in input unit 410 When pulling instruction, the dragging position of each dragged resource component is obtained successively in service chaining layout interface;It can also be according to group Part identification information determines the preset attribute information of each dragged resource component, and determines each dragged based on the preset attribute information Drag the configuration information of resource component;It can be also used for, when receiving establishment instruction, parsing the configuration of each dragged resource component Information, and service chaining is created according to corresponding dragging position;Output device 420 can also be controlled to show on service chaining layout interface Show the service chaining.
Storage device 440 in the server is used as a kind of computer readable storage medium, can be used for storing one or more A program, described program can be software program, computer executable program and module, such as service chaining in the embodiment of the present invention Corresponding program instruction/the module of method of combination is (for example, attached request to create acquisition module 310 shown in Fig. 3, component determining module 320, configuration information determining module 330, service chaining creation module 340 and service chaining display module 350).Processor 430 passes through Operation is stored in software program, instruction and module in storage device 440, to execute server various function application with And data processing, that is, realize the service chaining method of combination in above method embodiment.
Storage device 440 may include storing program area and storage data field, wherein storing program area can store operation system Application program needed for system, at least one function;Storage data field can store (the preset attribute in such as above-described embodiment such as data Information, configuration information and service chaining etc.).It, can be in addition, storage device 440 may include high-speed random access memory Including nonvolatile memory, for example, at least a disk memory, flush memory device or other non-volatile solid state memories Part.In some instances, storage device 440 can further comprise the memory remotely located relative to processor 430, these are remote Journey memory can pass through network connection to server.The example of above-mentioned network include but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
In addition, the embodiment of the present invention also provides a kind of computer readable storage medium, it is stored thereon with computer program, it should Realize that the present invention implements the service chaining method of combination provided when program is executed by service chaining layout device, this method includes:It obtains Service chaining request to create, and service chaining layout interface is shown according to the service chaining request to create;It is receiving to each resource group When the dragging instruction of part, the dragging position of each dragged resource component, and base are obtained successively in service chaining layout interface In dragging each dragged corresponding component identification information of resource component of location determination;Each dragged is determined according to component identification information It drags the preset attribute information of resource component, and matches confidence based on what the preset attribute information determined each dragged resource component Breath;When receiving establishment instruction, the configuration information of each dragged resource component is parsed, and create according to corresponding dragging position Service chaining;The service chaining is shown on service chaining layout interface.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but the former is more in many cases Good embodiment.Based on this understanding, technical scheme of the present invention substantially in other words contributes to the prior art Part can be expressed in the form of software products, which can be stored in computer readable storage medium In, such as the floppy disk of computer, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set Standby (can be personal computer, server or the network equipment etc.) executes the method described in each embodiment of the present invention.
Note that above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The present invention is not limited to specific embodiments described here, can carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out to the present invention by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also May include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of service chaining method of combination, which is characterized in that including:
Service chaining request to create is obtained, and service chaining layout interface is shown according to the service chaining request to create;
When receiving the instruction of the dragging to each resource component, each dragged money is obtained successively in service chaining layout interface The dragging position of source component, and based on dragging each dragged corresponding component identification information of resource component of location determination;
The preset attribute information of each dragged resource component is determined according to component identification information, and is based on the preset attribute information Determine the configuration information of each dragged resource component;
When receiving establishment instruction, the configuration information of each dragged resource component is parsed, and create according to corresponding dragging position Build service chaining;
The service chaining is shown on service chaining layout interface.
2. according to the method described in claim 1, it is characterized in that, described determine each dragged resource according to component identification information The preset attribute information of component, and determine based on the preset attribute information configuration information of each dragged resource component, including:
Preset attribute information corresponding with each dragged resource component is determined according to component identification information-enquiry database;
It is according to each input attribute information and pre- accordingly if getting the input attribute information of each dragged resource component If attribute information, the configuration information of each dragged resource component is determined;If the input of each dragged resource component has not been obtained Attribute information determines the configuration information of each dragged resource component then according to the preset attribute information of each dragged resource component.
3. according to the method described in claim 1, it is characterized in that, the resource component includes:Service chaining is created according to history The service chaining template that is generated and/or according to the abstract service equipment component formed of cloud platform resource.
4. according to the method described in claim 3, it is characterized in that, described determine each dragged resource according to component identification information The preset attribute information of component, including:
The component type of each dragged resource component is determined according to the component identification information;
If the component type is the first preset kind, each service equipment component that the service chaining template is included is obtained Service equipment mark, and identified based on the service equipment of each service equipment, inquiry obtains corresponding preset attribute information;
If the component type is the second preset kind, the resource component is obtained according to the component identification information-enquiry The preset attribute information of corresponding service equipment.
5. according to claim 1-4 any one of them methods, which is characterized in that in each dragged resource component of parsing After configuration information, further include:
Obtain the service equipment status information for waiting for orchestrating services device cluster;
If the service equipment status information is unsatisfactory for the configuration needs of the configuration information, user is reminded to change the clothes The configuration information for the service equipment component being engaged in chain layout interface corresponding to error node;
Correspondingly, service chaining is created according to corresponding dragging position, including:
Rolling back action is executed, and based on the modified configuration information and corresponding dragging position received, continues to create clothes Business chain.
6. a kind of service chaining layout device, which is characterized in that including:
Request to create acquisition module for obtaining service chaining request to create, and shows according to the service chaining request to create and services Chain layout interface;
Component determining module, for receive the dragging to each resource component instruction when, in service chaining layout interface The dragging position of each dragged resource component is obtained successively, and corresponding based on each dragged resource component of location determination is pulled Component identification information;
Configuration information determining module, the preset attribute information for determining each dragged resource component according to component identification information, And the configuration information of each dragged resource component is determined based on the preset attribute information;
Service chaining creation module, for when receiving establishment instruction, parsing the configuration information of each dragged resource component, and root Service chaining is created according to corresponding dragging position;
Service chaining display module, for showing the service chaining on service chaining layout interface.
7. device according to claim 6, which is characterized in that the configuration information determining module, including:
Query unit, it is corresponding with each dragged resource component default for being determined according to component identification information-enquiry database Attribute information;
Determination unit be used for when getting the input attribute information of each dragged resource component, according to each input attribute information with And corresponding preset attribute information, determine the configuration information of each dragged resource component;
Determination unit is additionally operable to when the input attribute information of each dragged resource component has not been obtained, according to each dragged resource The preset attribute information of component determines the configuration information of each dragged resource component.
8. device according to claim 6, which is characterized in that the resource component includes:Service chaining is created according to history The service chaining template that is generated and/or according to the abstract service equipment component formed of cloud platform resource.
9. a kind of server, including input unit and output device, which is characterized in that further include:
One or more processors;
Storage device, for storing one or more programs;
One or more of programs are executed by one or more of processors so that one or more of processors are realized Service chaining method of combination as described in any one of claim 1-5.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The service chaining method of combination as described in any one of claim 1-5 is realized when execution.
CN201810299997.3A 2018-04-04 2018-04-04 A kind of service chaining method of combination, device, server and storage medium Pending CN108563505A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810299997.3A CN108563505A (en) 2018-04-04 2018-04-04 A kind of service chaining method of combination, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810299997.3A CN108563505A (en) 2018-04-04 2018-04-04 A kind of service chaining method of combination, device, server and storage medium

Publications (1)

Publication Number Publication Date
CN108563505A true CN108563505A (en) 2018-09-21

Family

ID=63534212

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810299997.3A Pending CN108563505A (en) 2018-04-04 2018-04-04 A kind of service chaining method of combination, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN108563505A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110764864A (en) * 2019-10-25 2020-02-07 北京浪潮数据技术有限公司 Terraform-based visual resource arrangement method
CN111274000A (en) * 2020-01-21 2020-06-12 苏州浪潮智能科技有限公司 Service arranging method and device, electronic equipment and storage medium
CN111610911A (en) * 2020-04-23 2020-09-01 深圳震有科技股份有限公司 Web interface-based server software installation method, terminal and storage medium
WO2020248805A1 (en) * 2019-06-12 2020-12-17 中兴通讯股份有限公司 Service chain orchestration method and apparatus, storage medium and electronic apparatus
CN113055209A (en) * 2019-12-27 2021-06-29 北京国双科技有限公司 Arranging method and device for edge calculation
WO2022052563A1 (en) * 2020-09-14 2022-03-17 华为云计算技术有限公司 Service construction method, related device and computer readable storage medium
CN114268659A (en) * 2020-09-14 2022-04-01 华为云计算技术有限公司 Service construction method, related device and computer readable storage medium
CN114285671A (en) * 2021-12-31 2022-04-05 中国电信股份有限公司 Service chain generation method, device, network equipment and medium
WO2024011628A1 (en) * 2022-07-15 2024-01-18 京东方科技集团股份有限公司 Data processing method, apparatus, device and medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1959631A (en) * 2005-11-04 2007-05-09 上海启明软件股份有限公司 Self-contained technology for installing application software based on ITRON
US20090013310A1 (en) * 2007-05-30 2009-01-08 Roam Data Inc System and method for developing rich internet applications for remote computing devices
CN103809951A (en) * 2012-11-12 2014-05-21 方欣科技有限公司 Graphical service arrangement and management device based on FLEX technology
CN104836853A (en) * 2015-04-22 2015-08-12 华为技术有限公司 Method and apparatus for business arrangement
US20150356070A1 (en) * 2014-06-06 2015-12-10 Fuji Xerox Co., Ltd. Information processing device, information processing method, and non-transitory computer-readable medium
CN105187250A (en) * 2015-09-25 2015-12-23 浪潮(北京)电子信息产业有限公司 Method and system for deploying nodes based on component template
CN105278960A (en) * 2015-10-27 2016-01-27 航天恒星科技有限公司 Process automation method and system in remote sensing application
CN105893116A (en) * 2016-04-12 2016-08-24 深圳前海大数点科技有限公司 Visual process management system and method oriented to real-time data flow processing
US20160359689A1 (en) * 2015-06-05 2016-12-08 Oracle International Corporation System and method for intelligently mapping a source element to a target element in an integration cloud service design time
CN106227527A (en) * 2016-07-19 2016-12-14 南京国电南自城乡电网自动化工程有限公司 A kind of human-computer interface automatic based on entity object relatedness generates method
CN107480893A (en) * 2017-08-18 2017-12-15 浪潮软件股份有限公司 A kind of flow method of combination and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1959631A (en) * 2005-11-04 2007-05-09 上海启明软件股份有限公司 Self-contained technology for installing application software based on ITRON
US20090013310A1 (en) * 2007-05-30 2009-01-08 Roam Data Inc System and method for developing rich internet applications for remote computing devices
CN103809951A (en) * 2012-11-12 2014-05-21 方欣科技有限公司 Graphical service arrangement and management device based on FLEX technology
US20150356070A1 (en) * 2014-06-06 2015-12-10 Fuji Xerox Co., Ltd. Information processing device, information processing method, and non-transitory computer-readable medium
CN104836853A (en) * 2015-04-22 2015-08-12 华为技术有限公司 Method and apparatus for business arrangement
US20160359689A1 (en) * 2015-06-05 2016-12-08 Oracle International Corporation System and method for intelligently mapping a source element to a target element in an integration cloud service design time
CN107408009A (en) * 2015-06-05 2017-11-28 甲骨文国际公司 System and method for source element to be intelligently mapped to object element in the integrated service based on cloud
CN105187250A (en) * 2015-09-25 2015-12-23 浪潮(北京)电子信息产业有限公司 Method and system for deploying nodes based on component template
CN105278960A (en) * 2015-10-27 2016-01-27 航天恒星科技有限公司 Process automation method and system in remote sensing application
CN105893116A (en) * 2016-04-12 2016-08-24 深圳前海大数点科技有限公司 Visual process management system and method oriented to real-time data flow processing
CN106227527A (en) * 2016-07-19 2016-12-14 南京国电南自城乡电网自动化工程有限公司 A kind of human-computer interface automatic based on entity object relatedness generates method
CN107480893A (en) * 2017-08-18 2017-12-15 浪潮软件股份有限公司 A kind of flow method of combination and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王星航: "面向异构服务集成的可视化开发工具的设计与实现", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *
赵瑞: "基于软件定义安全架构的安全服务编排系统设计与开发", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020248805A1 (en) * 2019-06-12 2020-12-17 中兴通讯股份有限公司 Service chain orchestration method and apparatus, storage medium and electronic apparatus
CN110764864A (en) * 2019-10-25 2020-02-07 北京浪潮数据技术有限公司 Terraform-based visual resource arrangement method
CN113055209A (en) * 2019-12-27 2021-06-29 北京国双科技有限公司 Arranging method and device for edge calculation
CN113055209B (en) * 2019-12-27 2023-01-17 北京国双科技有限公司 Arranging method and device for edge calculation
CN111274000B (en) * 2020-01-21 2023-01-10 苏州浪潮智能科技有限公司 Service arrangement method and device, electronic equipment and storage medium
CN111274000A (en) * 2020-01-21 2020-06-12 苏州浪潮智能科技有限公司 Service arranging method and device, electronic equipment and storage medium
CN111610911B (en) * 2020-04-23 2022-01-04 深圳震有科技股份有限公司 Web interface-based server software installation method, terminal and storage medium
CN111610911A (en) * 2020-04-23 2020-09-01 深圳震有科技股份有限公司 Web interface-based server software installation method, terminal and storage medium
WO2022052563A1 (en) * 2020-09-14 2022-03-17 华为云计算技术有限公司 Service construction method, related device and computer readable storage medium
CN114268659A (en) * 2020-09-14 2022-04-01 华为云计算技术有限公司 Service construction method, related device and computer readable storage medium
CN114285671A (en) * 2021-12-31 2022-04-05 中国电信股份有限公司 Service chain generation method, device, network equipment and medium
CN114285671B (en) * 2021-12-31 2024-03-19 中国电信股份有限公司 Service chain generation method, device, network equipment and medium
WO2024011628A1 (en) * 2022-07-15 2024-01-18 京东方科技集团股份有限公司 Data processing method, apparatus, device and medium

Similar Documents

Publication Publication Date Title
CN108563505A (en) A kind of service chaining method of combination, device, server and storage medium
JP5964416B2 (en) Improved data paste or improved data paste
CN103208046B (en) Workflow engine architecture method based on interactive dynamic flow diagram and system
WO2016066035A1 (en) Conversation processing method, conversation management system and computer device
CN112953737B (en) Configuration abnormality detection method, server, and storage medium
WO2017049769A1 (en) Method and device for providing target page in mobile application
US20190220177A1 (en) Accessibility lock and accessibility pause
JP5766058B2 (en) Information processing apparatus, information processing apparatus control method, and computer program
US8874772B2 (en) Using a knowledge network for file transfer protocol
US11424936B2 (en) Post-completion action management in online document system
JP2021525914A5 (en)
CN109815346A (en) A kind of method for visualizing and device being associated with map
JP2015219890A (en) Management device, and control method and program for the same
CN112786188A (en) Offline working method and device of auxiliary diagnosis system, terminal equipment and medium
CN111930290A (en) Resource deployment method and device
US8752050B2 (en) Workflow processing system, and method for controlling same
US9378460B2 (en) Method and apparatus for provisioning storage resources using an expert system that displays the provisioning to a user
JP7136719B2 (en) NETWORK REQUIREMENT GENERATION SYSTEM AND NETWORK REQUIREMENT GENERATION METHOD
CN112242909B (en) Method and device for generating management template, electronic equipment and storage medium
CN114531334A (en) Intention processing method and device, electronic equipment and readable storage medium
KR101985491B1 (en) Result generating and monitoring apparatus using visualzation of formula with diagram mode
JP2011180635A (en) File access control device and method, and program
US10572281B1 (en) Bi-directional notification service
CN110930011A (en) Work order management and control system, method, electronic equipment and storage medium
CN107622131A (en) A kind of file collection method, apparatus and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned

Effective date of abandoning: 20220830

AD01 Patent right deemed abandoned