CN108769151A - A kind of method and device for business processing - Google Patents

A kind of method and device for business processing Download PDF

Info

Publication number
CN108769151A
CN108769151A CN201810460665.9A CN201810460665A CN108769151A CN 108769151 A CN108769151 A CN 108769151A CN 201810460665 A CN201810460665 A CN 201810460665A CN 108769151 A CN108769151 A CN 108769151A
Authority
CN
China
Prior art keywords
nas server
server
nas
client
business
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810460665.9A
Other languages
Chinese (zh)
Other versions
CN108769151B (en
Inventor
甘经纬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201810460665.9A priority Critical patent/CN108769151B/en
Publication of CN108769151A publication Critical patent/CN108769151A/en
Application granted granted Critical
Publication of CN108769151B publication Critical patent/CN108769151B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • 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/56Provisioning of proxy services
    • H04L67/563Data redirection of data network streams
    • 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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Abstract

This application provides a kind of method and device for business processing, this method includes:First nas server receive client transmission for after asking the service request of CIFS business, determining the second nas server for being stored with file storage information used in processing CIFS business;If the first nas server is not the second nas server, judge whether the first nas server is the third nas server for enabling notice client and being switched to the function of carrying out CIFS service interactions on the nas server that can handle CIFS business;If so, sending the switching command for the identification information for carrying the second nas server to client;Otherwise notification information is sent to third nas server, so that third nas server sends switching command to client.The application improves the reliability of CIFS business.

Description

A kind of method and device for business processing
Technical field
This application involves fields of communication technology, more particularly, to a kind of method and device for business processing.
Background technology
Network attached storage (Network Attached Storage, abbreviation NAS) server is that a kind of exclusive data is deposited Store up server.Nas server possesses the file system of oneself, and by Network File System (Network File System, Abbreviation NFS) or universal network file system (Common Internet File System, abbreviation CIFS) file is externally provided Access service.
In distributed nas server cluster, each server can use the information on services block for increasing income free (Server Messages Block, abbreviation Samba) software handles CIFS business.Also, it can be shared between nas server TDB (Trivial DataBase, for storing file storage information (alternatively referred to as TDB texts used in processing CIFS business Part) database).TDB databases disperse to be stored on each nas server of nas server cluster in a distributed fashion. In the prior art, as shown in Figure 1, when the first nas server in distributed nas server cluster receives client transmission For asking the service request of CIFS business after, determine the NAS services of file storage information used in processing CIFS business Device, specifically using specified hash algorithm to needing the corresponding key values (key assignments) of file storage information to be used to carry out Hash Operation obtains the ID of nas server.If what the ID was represented is the first nas server, directly deposited from the local associated documents that obtain Information is stored up, service request is handled;If the ID represent be the second nas server, can by the first nas server with Ethernet between second nas server asks the second nas server to do file storage information transfer accordingly to local File after the completion of processing, then is stored information and is transmitted back to the second nas server by processing;And handling result is returned to client, To complete once to output and input (that is, IO).
But above-mentioned this processing mode, for IO each time, if having passed through Ethernet in processing path, It is likely to influence the reliability of CIFS business because of unstable networks.In addition, the transmission of a file storage information, needs multiple net Network transmit, be also easy to be influenced by unstable networks, and cause file storage information damage, further influence CIFS business can By property.
Invention content
In view of this, the application's is designed to provide a kind of method and device for business processing, to improve CIFS business Reliability.
In a first aspect, the embodiment of the present application provides a kind of method for processing business, it is applied to first network additional storage NAS Server, the method includes:Receive client transmission for after asking the service request of CIFS business, determination to be deposited Contain the second nas server for handling file storage information used in the CIFS business;If first nas server It is not the second nas server, judges whether first nas server is to enable to notify client is switched to can handle CIFS The third nas server of the function of CIFS service interactions is carried out on the nas server of business;If so, being sent out to the client Send the switching command for the identification information for carrying second nas server;Otherwise, it sends and notifies to the third nas server Information, so that the third nas server sends the switching command to the client;Wherein, the switching command is used for It indicates that the client is switched on second nas server, and the service request is sent to the 2nd NAS and is serviced Device is handled.
Further, after sending notification information to the third nas server, the method further includes:Receive institute That states the communication connection between the disconnection and first nas server of client transmission disconnects request, and based on described Disconnect the communication connection between the request disconnection client and first nas server.
Further, it is determined that being stored with the 2nd NAS services for handling file storage information used in the CIFS business Device, including:It determines the ID address informations for the nas server for storing the file storage information, and is based on the ID address informations Determine second nas server.
Second aspect, the embodiment of the present application provide another method for processing business, are applied to client, the method packet It includes:The service request for asking CIFS business is sent to first network additional storage nas server;Receive the 3rd NAS services Device send switching command, wherein the switching command be first nas server receive the service request it Afterwards, determine itself not and be to be stored with handle file used in the CIFS business store information the second nas server, And it is to enable notice client to be switched to the function of carrying out CIFS service interactions on the nas server that can handle CIFS business It is sent when third nas server;Or to determine itself not be second nas server and is not the 3rd NAS It sends a notification message to the third nas server when server, to indicate what the third nas server was sent;Based on institute Switching command is stated to be switched on second nas server, and by the service request be sent to second nas server into Row processing.
Further, it is switched on second nas server based on the switching command, and the service request is sent out It gives second nas server and handle and include:Sent to first nas server disconnect the client with it is described Communication connection between first nas server disconnects request;And it is disconnected with first nas server Afterwards, building for the communication connection established between the client and second nas server is sent to second nas server Vertical connection request, and with after second nas server foundation connection, the service request is sent to the 2nd NAS and is taken Business device is handled.
The third aspect, the embodiment of the present application provide a kind of business processing device, are set to first network additional storage NAS Server, described device include:Server determination unit, for receive client transmission for asking CIFS business After service request, the second nas server for being stored with and handling file storage information used in the CIFS business is determined;Clothes Business device judging unit, in the case where first nas server is not or not second nas server, judging the first NAS Whether server is to enable notice client to be switched to progress CIFS service interactions on the nas server that can handle CIFS business Function third nas server;First server transmission unit, for judging the feelings for being in the server judging unit Under condition, the switching command for the identification information for carrying second nas server is sent to the client;Second server is sent Unit sends notice letter for judging that no in the server judging unit to the third nas server Breath, so that the third nas server sends the switching command to the client;Wherein, the switching command is for referring to Show that the client is switched on second nas server, and the service request is sent to second nas server It is handled.
Further, described device further includes:Server receiving unit, for being sent to the third nas server After notification information, the disconnection of the communication connection between the client disconnection sent and first nas server is received Connection request, and based on the communication link disconnected between the request disconnection client and first nas server It connects.
Further, the server determination unit is specifically used for determining the NAS services for storing the file storage information The ID address informations of device, and second nas server is determined based on the ID address informations.
Fourth aspect, the embodiment of the present application provide another business processing device, are set to client, described device packet It includes:Client transmission unit, for being sent to first network additional storage nas server for asking the business of CIFS business to be asked It asks;Client receiving unit, the switching command for receiving the transmission of third nas server, wherein the switching command is described First nas server is to be stored with the processing CIFS business determining itself not after having received the service request Used file stores the second nas server of information and is to enable to notify client is switched to can handle CIFS business Nas server on carry out CIFS service interactions function third nas server when send;Or determining itself not It is second nas server and sends a notification message to the third nas server when not being the third nas server, To indicate what the third nas server was sent;Client switch unit is switched to described for being based on the switching command On two nas servers, and the service request is sent to second nas server and is handled.
Further, the client switch unit, is specifically used for:It is sent to first nas server described in disconnecting Communication connection between client and first nas server disconnects request;And it is serviced with the first NAS After device disconnects, is sent to second nas server and establish leading between the client and second nas server Believe establishment of connection connection request, and with after second nas server foundation connection, the service request is sent to described Second nas server is handled.
In the present embodiment, the first nas server get client transmission service request after, if first It is the 2nd NAS services for being stored with file storage information used in processing CIFS business that itself is determined on nas server not Device, then can directly or indirectly notify client actively switches on the second nas server to continue the friendship of CIFS business Mutually, without asking the second nas server will by the Ethernet between the first nas server and the second nas server again File stores information transfer and does corresponding processing to local.
Relative to existing processing mode, the application to client by sending switching command, so that client is actively cut The mode for continuing CIFS service interactions on the second nas server is shifted to, avoids and needs during CIFS service interactions pair The case where file storage information is migrated, to improve the reliability of CIFS business.
Other feature and advantage of the application will illustrate in the following description, also, partly become from specification It obtains it is clear that being understood by implementing the application.The purpose of the application and other advantages are in specification, claims And specifically noted structure is realized and is obtained in attached drawing.
To enable the above objects, features, and advantages of the application to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate Appended attached drawing, is described in detail below.
Description of the drawings
It, below will be to specific in order to illustrate more clearly of the application specific implementation mode or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, in being described below Attached drawing is some embodiments of the application, for those of ordinary skill in the art, before not making the creative labor It puts, other drawings may also be obtained based on these drawings.
Fig. 1 is a kind of structural schematic diagram of distributed nas server cluster of the prior art;
Fig. 2 is the flow chart according to a kind of method for processing business of the embodiment of the present application;
Fig. 3 is the structural schematic diagram according to the distributed nas server cluster of another kind of the embodiment of the present application;
Fig. 4 is the flow chart according to another method for processing business of the embodiment of the present application;
Fig. 5 is the schematic diagram according to a kind of business processing device of the embodiment of the present application;
Fig. 6 is the schematic diagram according to another business processing device of the embodiment of the present application.
Specific implementation mode
To keep the purpose, technical scheme and advantage of the embodiment of the present application clearer, below in conjunction with attached drawing to the application Technical solution be clearly and completely described, it is clear that described embodiment is some embodiments of the present application, rather than Whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making creative work premise Lower obtained every other embodiment, shall fall in the protection scope of this application.
According to the embodiment of the present application, a kind of embodiment of method for processing business is provided, it should be noted that in attached drawing The step of flow illustrates can execute in the computer system of such as a group of computer-executable instructions, although also, Logical order is shown in flow chart, but in some cases, it can be to execute shown different from sequence herein or retouch The step of stating.
Fig. 2 is according to a kind of flow chart of method for processing business of the embodiment of the present application, as shown in Fig. 2, this method can be with It applies on the first nas server, this method comprises the following steps:
Step S202, receive client transmission for after asking the service request of CIFS business, determining storage There is the second nas server for handling file storage information used in the CIFS business;
Wherein it is determined that being stored with the second nas server packet for handling file storage information used in the CIFS business It includes:It determines the ID address informations for the nas server for storing the file storage information, and institute is determined based on the ID address informations State the second nas server.
Step S204 judges first nas server if first nas server is not the second nas server Whether it is to enable notice client to be switched to the function of carrying out CIFS service interactions on the nas server that can handle CIFS business Third nas server;If so, S206 is thened follow the steps, it is no to then follow the steps S208;
Step S206 sends the switching command for the identification information for carrying second nas server to the client;
Step S208 sends notification information to the third nas server, so that the third nas server is to described Client sends the switching command;Wherein, the switching command is used to indicate the client and is switched to the 2nd NAS clothes It is engaged on device, and the service request is sent to second nas server and is handled.
It should be noted that in the present embodiment, if the first nas server determines it itself is the second nas server (that is, the first nas server and the second nas server are same nas server), then it is identical as existing processing mode, by the One nas server is responded for service request.
In addition, in the case where it is the second nas server that the first nas server, which determines itself not, the second nas server Can be same nas server, the nas server that can also be different with third nas server.
It should also be noted that, in the present embodiment, all or part of nas server in nas server cluster is equal Can have the function of that client is notified to be switched to progress CIFS service interactions on the nas server that can handle CIFS business, The function can be the witness functions being applied in Samba softwares, but enable an only nas server for the function.It opens Where capable of actively allowing client select file to store information with the nas server (that is, third nas server) of the function Nas server (that is, second nas server) carries out business transmission, without the first nas server and the second nas server it Between transmission file store information, from the influence of the Ethernet between the first nas server and the second nas server, improve The reliability of CIFS business.
Which platform nas server the function is enabled as, can be accomplished by the following way:
Administrator can specify a nas server in nas server cluster as management nas server, by managing Nas server is responsible for selecting third nas server from other nas servers in nas server cluster, and is serviced in NAS It is noticed in device cluster (for example, being noticed in a manner of broadcast message).
Follow-up management nas server finds that third nas server failure (can take by managing nas server and the 3rd NAS Heartbeat detection between business device is found) or third nas server operational process in can not enable that this is functional (the 3rd NAS takes Business device is actively reported to management server when finding that the function can not be enabled) when, reselect new a 3rd NAS service Device, and noticed in nas server cluster in time, to ensure the normal operation of CIFS business.
It is, of course, also possible to realize the selection scheme of third nas server by other means, this will not be detailed here.
Further, in the present embodiment, the first nas server can receive disconnection and the first NAS of client transmission Communication connection between server disconnects request (this request is that client is sent after receiving switching command), It is then based on and disconnects request and disconnect communication connection between client and the first nas server, in order to client and the Two nas servers establish connection.
With reference to the structural schematic diagram of distributed nas server cluster shown in Fig. 3, the above method is carried out specifically It is bright.
In distributed nas server cluster shown in Fig. 3, including 3 nas servers for being provided with Samba softwares, point It is not nas server 1, nas server 2 and nas server 3.Assuming that nas server 3, which enables notice client, is switched to energy The function of CIFS service interactions is enough carried out on the nas server of processing CIFS business.
As shown in figure 3, client sends the service request for asking CIFS business to nas server 1.Nas server 1 After receiving the service request, the nas server for being stored with file storage information used in processing CIFS business is determined.It is false If the nas server determined is nas server 2, nas server 1 further judges whether itself is nas server 3.It is very aobvious So, judging result is not to be, at this point, nas server 1 can send notification information to nas server 3, so that nas server 3 The switching command for the identification information for carrying nas server 2 is sent to client.
After subsequent client receives switching command, it can be sent to nas server 1 and disconnect request, and After successfully being disconnected with nas server 1, connection request is established to the transmission of nas server 2, and establish and connect with nas server 2 Afterwards, service request is sent to nas server 2 to handle, is responded for service request by nas server 2.
By foregoing description it is found that in the present embodiment, if currently carrying out the first of CIFS service interactions with client It is the second nas server for being stored with file storage information used in processing CIFS business that nas server, which determines itself not, It so can directly or indirectly notify client actively switches on the second nas server to continue CIFS service interactions, Without asking the second nas server by file by the Ethernet between the first nas server and the second nas server again Storage information transfer does corresponding processing to local.
Relative to existing processing mode, the application to client by sending switching command, so that client is actively cut The mode for continuing CIFS service interactions on the second nas server is shifted to, avoids and needs during CIFS service interactions pair The case where file storage information is migrated, to improve the reliability of CIFS business.
In another embodiment, another method for processing business is additionally provided, Fig. 4 is according to the another of the embodiment of the present application A kind of flow chart of method for processing business, as shown in figure 4, this method can be in applications client, this method comprises the following steps:
Step S402 sends the service request for asking CIFS business to the first nas server;
Step S404 receives the switching command that third nas server is sent, wherein the switching command services for the first NAS Device is to be stored with file used in processing CIFS business to store information determining itself not after receiving service request The second nas server and be to enable notice client to be switched on the nas server that can handle CIFS business and carry out CIFS It is sent when the third nas server of the function of service interaction;Or to determine itself not be the second nas server and is not It sends a notification message to third nas server when third nas server, to indicate what third nas server was sent;
Step S406 is switched to based on switching command on the second nas server, and service request is sent to the 2nd NAS Server is handled.
Further, client can send to the first nas server after receiving switching command and disconnect client Communication connection between the first nas server disconnects request, and after being disconnected with the first nas server, to What the second nas server sent the communication connection established between client and the second nas server establishes connection request, and with the After two nas servers establish connection, service request is sent to the second nas server and is handled.
The application by client send switching command so that client actively switch on the second nas server after The continuous mode for carrying out CIFS service interactions avoids CIFS service interactions and needs to store what information was migrated to file in the process Situation, to improve the reliability of CIFS business.
In another embodiment, the embodiment of the present application also provides a kind of business processing device (as shown in Figure 5), the industry Processing unit of being engaged in is applied to the first nas server, which mainly sentences including server determination unit 51, server Disconnected unit 52, first server transmission unit 53 and second server transmission unit 54, wherein:
Server determination unit 51, for receive client transmission for ask CIFS business service request it Afterwards, the second nas server for being stored with and handling file storage information used in the CIFS business is determined;
Server judging unit 52 judges described for not being the second nas server in first nas server Whether one nas server is to enable notice client to be switched to progress CIFS industry on the nas server that can handle CIFS business The third nas server for interactive function of being engaged in;
First server transmission unit 53, in the case where the server judging unit is judged to be, to described Client sends the switching command for the identification information for carrying second nas server;
Second server transmission unit 54, for judging that no in the server judging unit, to institute It states third nas server and sends notification information, so that the third nas server sends the switching life to the client It enables;
Wherein, the switching command is used to indicate the client and is switched on second nas server, and will be described Service request is sent to second nas server and is handled.
Further, which further includes:Server receiving unit (is not shown) in Fig. 5, for the 3rd NAS After server sends notification information, the communication between the client disconnection sent and first nas server is received Connection disconnects request, and based on it is described disconnect request disconnect the client and first nas server it Between communication connection.
Optionally, server determination unit 51 is specifically used for determining the nas server for storing the file storage information ID address informations, and second nas server is determined based on the ID address informations.
The application by client send switching command so that client actively switch on the second nas server after The continuous mode for carrying out CIFS service interactions avoids CIFS service interactions and needs to store what information was migrated to file in the process Situation, to improve the reliability of CIFS business.
In another embodiment, the embodiment of the present application also provides another business processing device (as shown in Figure 6), should Business processing device is applied to client, which includes mainly client transmission unit 61, client reception list Member 62 and client switch unit 63, wherein:
Client transmission unit 61, for sending the service request for asking CIFS business to the first nas server;
Client receiving unit 62, the switching command for receiving the transmission of third nas server, wherein the switching life It enables as first nas server after having received the service request, determining itself is not stored with described in processing File used in CIFS business stores the second nas server of information and is to enable notice client to be switched to and can handle It is sent when the third nas server for carrying out the function of CIFS service interactions on the nas server of CIFS business;Or in determination It is logical to the third nas server transmission when being second nas server and not being the third nas server to go out itself not Message is known, to indicate what the third nas server was sent;
Client switch unit 63 is switched to second nas server for being based on the switching command, and by institute It states service request and is sent to second nas server and handled.
Optionally, client switch unit 63 is specifically used for sending the disconnection client to first nas server Communication connection between first nas server disconnects request;And it is disconnected with first nas server After connection, the communication connection established between the client and second nas server is sent to second nas server Establish connection request, and after establishing connection with second nas server, the service request is sent to described second Nas server is handled.The application to client by sending switching command, so that client actively switches to the 2nd NAS The mode for continuing CIFS service interactions on server avoids CIFS service interactions and needs to store information to file in the process The case where being migrated, to improve the reliability of CIFS business.
In another embodiment, it additionally provides a kind of nas server, including memory, processor and is stored in described On memory and the computer program that can run on the processor, the processor are realized when executing the computer program Above-mentioned executive agent be nas server embodiment of the method in method the step of.
In another embodiment, it additionally provides a kind of client, including memory, processor and is stored in the storage On device and the computer program that can run on the processor, the processor are realized above-mentioned when executing the computer program Executive agent be client embodiment of the method in method the step of.
In another embodiment, a kind of calculating for the non-volatile program code that can perform with processor is additionally provided The step of machine readable medium, said program code makes the processor execute method in above method embodiment.
The technique effect and preceding method embodiment phase of the device that the embodiment of the present application is provided, realization principle and generation Together, to briefly describe, device embodiment part does not refer to place, can refer to corresponding contents in preceding method embodiment.
In addition, in the description of the embodiment of the present application unless specifically defined or limited otherwise, term " installation ", " phase Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can Can also be electrical connection to be mechanical connection;It can be directly connected, can also indirectly connected through an intermediary, Ke Yishi Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition Concrete meaning in application.
In the description of the present application, it should be noted that term "center", "upper", "lower", "left", "right", "vertical", The orientation or positional relationship of the instructions such as "horizontal", "inner", "outside" be based on the orientation or positional relationship shown in the drawings, merely to Convenient for describing the application and simplify to describe, do not indicate or imply the indicated device or element must have a particular orientation, With specific azimuth configuration and operation, therefore it should not be understood as the limitation to the application.In addition, term " first ", " second ", " third " is used for description purposes only, and is not understood to indicate or imply relative importance.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.The apparatus embodiments described above are merely exemplary, for example, the division of the unit, Only a kind of division of logic function, formula that in actual implementation, there may be another division manner, in another example, multiple units or component can To combine or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or beg for The mutual coupling, direct-coupling or communication connection of opinion can be by some communication interfaces, device or unit it is indirect Coupling or communication connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in the executable non-volatile computer read/write memory medium of a processor.Based on this understanding, the application Technical solution substantially the part of the part that contributes to existing technology or the technical solution can be with software in other words The form of product embodies, which is stored in a storage medium, including some instructions use so that One computer equipment (can be personal computer, server or the network equipment etc.) executes each embodiment institute of the application State all or part of step of method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read- Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with Store the medium of program code.
Finally it should be noted that:Embodiment described above, the only specific implementation mode of the application, to illustrate the application Technical solution, rather than its limitations, the protection domain of the application is not limited thereto, although with reference to the foregoing embodiments to this Shen It please be described in detail, it will be understood by those of ordinary skill in the art that:Any one skilled in the art In the technical scope that the application discloses, it can still modify to the technical solution recorded in previous embodiment or can be light It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of the embodiment of the present application technical solution, should all cover the protection in the application Within the scope of.Therefore, the protection domain of the application shall be subject to the protection scope of the claim.

Claims (10)

1. a kind of method for processing business, which is characterized in that be applied to first network additional storage nas server, the method packet It includes:
Receive client transmission the processing CIFS is stored with for after asking the service request of CIFS business, determining Second nas server of file storage information used in business;
If first nas server is not the second nas server, judge whether first nas server is to enable to lead to Know that client is switched to the 3rd NAS clothes for the function that CIFS service interactions are carried out on the nas server that can handle CIFS business Business device;
If so, sending the switching command for the identification information for carrying second nas server to the client;
Otherwise, notification information is sent to the third nas server, so that the third nas server is sent out to the client Send the switching command;
Wherein, the switching command is used to indicate the client and is switched on second nas server, and by the business Request is sent to second nas server and is handled.
2. according to the method described in claim 1, it is characterized in that, to the third nas server send notification information it Afterwards, the method further includes:
Receive the communication connection between the client disconnection sent and first nas server disconnects request, And based on the communication connection disconnected between the request disconnection client and first nas server.
3. according to the method described in claim 1, being stored with text used in the processing CIFS business it is characterized in that, determining Part stores the second nas server of information, including:
It determines the ID address informations for the nas server for storing the file storage information, and is determined based on the ID address informations Second nas server.
4. a kind of method for processing business, which is characterized in that it is applied to client, the method includes:
The service request for asking CIFS business is sent to first network additional storage nas server;
Receive the switching command that third nas server is sent, wherein the switching command is that first nas server is connecing It is to be stored with file storage letter used in the processing CIFS business determining itself not after receiving the service request Second nas server of breath and be to enable notice client to be switched on the nas server that can handle CIFS business and carry out It is sent when the third nas server of the function of CIFS service interactions;Or determining itself not and be the 2nd NAS services Device and while not being the third nas server sends a notification message to the third nas server, to indicate the 3rd NAS What server was sent;
It is switched on second nas server based on the switching command, and the service request is sent to described second Nas server is handled.
5. according to the method described in claim 4, it is characterized in that, being switched to the 2nd NAS clothes based on the switching command It is engaged on device, and the service request is sent to second nas server and handle and includes:
It is sent to first nas server and disconnects the communication connection between the client and first nas server Disconnect request;And
After being disconnected with first nas server, the client and institute are established to second nas server transmission State the connection request of establishing of the communication connection between the second nas server, and after establishing connection with second nas server, The service request is sent to second nas server to handle.
6. a kind of business processing device, which is characterized in that be set to first network additional storage nas server, described device packet It includes:
Server determination unit, for receive client transmission for after asking the service request of CIFS business, really Surely it is stored with the second nas server for handling file storage information used in the CIFS business;
Server judging unit, in the case where first nas server is not or not second nas server, described in judgement Whether the first nas server is to enable to notify client is switched on the nas server that can handle CIFS business to carry out CIFS The third nas server of the function of service interaction;
First server transmission unit, in the case where the server judging unit is judged to be, to the client Send the switching command for the identification information for carrying second nas server;
Second server transmission unit, for judging that no in the server judging unit, to the third Nas server sends notification information, so that the third nas server sends the switching command to the client;
Wherein, the switching command is used to indicate the client and is switched on second nas server, and by the business Request is sent to second nas server and is handled.
7. device according to claim 6, which is characterized in that described device further includes:
Server receiving unit, for after sending notification information to the third nas server, receiving the client hair That send disconnects the request that disconnects of the communication connection between first nas server, and is asked based on described disconnect Ask the communication connection disconnected between the client and first nas server.
8. device according to claim 6, which is characterized in that the server determination unit is specifically used for determining storage The ID address informations of the nas server of the file storage information, and determine that the 2nd NAS takes based on the ID address informations Business device.
9. a kind of business processing device, which is characterized in that be set to client, described device includes:
Client transmission unit, for sending the business for asking CIFS business to first network additional storage nas server Request;
Client receiving unit, the switching command for receiving the transmission of third nas server, wherein the switching command is institute It states the first nas server after having received the service request, is to be stored with the processing CIFS industry determining itself not File used in business stores the second nas server of information and is to enable to notify client is switched to can handle CIFS industry It is sent when the third nas server for carrying out the function of CIFS service interactions on the nas server of business;Or determining itself Notice is sent when not being second nas server and not being the third nas server to the third nas server to disappear Breath, to indicate what the third nas server was sent;
Client switch unit is switched to second nas server for being based on the switching command, and by the business Request is sent to second nas server and is handled.
10. device according to claim 9, which is characterized in that the client switch unit is specifically used for:
It is sent to first nas server and disconnects the communication connection between the client and first nas server Disconnect request;And
After being disconnected with first nas server, the client and institute are established to second nas server transmission State the connection request of establishing of the communication connection between the second nas server, and after establishing connection with second nas server, The service request is sent to second nas server to handle.
CN201810460665.9A 2018-05-15 2018-05-15 A kind of method and device for business processing Active CN108769151B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810460665.9A CN108769151B (en) 2018-05-15 2018-05-15 A kind of method and device for business processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810460665.9A CN108769151B (en) 2018-05-15 2018-05-15 A kind of method and device for business processing

Publications (2)

Publication Number Publication Date
CN108769151A true CN108769151A (en) 2018-11-06
CN108769151B CN108769151B (en) 2019-11-12

Family

ID=64006770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810460665.9A Active CN108769151B (en) 2018-05-15 2018-05-15 A kind of method and device for business processing

Country Status (1)

Country Link
CN (1) CN108769151B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020161982A1 (en) * 2001-04-30 2002-10-31 Erik Riedel System and method for implementing a storage area network system protocol
CN1554055A (en) * 2001-07-23 2004-12-08 �Ƚ�΢װ�ù�˾ High-availability cluster virtual server system
CN1723434A (en) * 2002-12-06 2006-01-18 思科技术公司 Apparatus and method for a scalable network attach storage system
CN105763604A (en) * 2016-02-04 2016-07-13 四川长虹电器股份有限公司 Lightweight distributed file system and method for recovering original name of downloaded file
CN106294842A (en) * 2016-08-19 2017-01-04 浪潮(北京)电子信息产业有限公司 A kind of data interactive method, platform and distributed file system
CN107734026A (en) * 2017-10-11 2018-02-23 郑州云海信息技术有限公司 A kind of design method, device and the equipment of network attached storage cluster
CN107967176A (en) * 2017-11-22 2018-04-27 郑州云海信息技术有限公司 A kind of Samba multi-threaded architectures abnormality eliminating method and relevant apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020161982A1 (en) * 2001-04-30 2002-10-31 Erik Riedel System and method for implementing a storage area network system protocol
CN1554055A (en) * 2001-07-23 2004-12-08 �Ƚ�΢װ�ù�˾ High-availability cluster virtual server system
CN1723434A (en) * 2002-12-06 2006-01-18 思科技术公司 Apparatus and method for a scalable network attach storage system
CN105763604A (en) * 2016-02-04 2016-07-13 四川长虹电器股份有限公司 Lightweight distributed file system and method for recovering original name of downloaded file
CN106294842A (en) * 2016-08-19 2017-01-04 浪潮(北京)电子信息产业有限公司 A kind of data interactive method, platform and distributed file system
CN107734026A (en) * 2017-10-11 2018-02-23 郑州云海信息技术有限公司 A kind of design method, device and the equipment of network attached storage cluster
CN107967176A (en) * 2017-11-22 2018-04-27 郑州云海信息技术有限公司 A kind of Samba multi-threaded architectures abnormality eliminating method and relevant apparatus

Also Published As

Publication number Publication date
CN108769151B (en) 2019-11-12

Similar Documents

Publication Publication Date Title
US10313452B2 (en) Migrating a chat message service provided by a chat server to a new chat server
CN108470298B (en) Method, device and system for transferring resource numerical value
TW201543243A (en) Capability monitoring in a service oriented architecture
US11409819B2 (en) Method and device for recommending social user
CN101296176B (en) Data processing method and apparatus based on cluster
CN108063813B (en) Method and system for parallelizing password service network in cluster environment
US20180146066A1 (en) Method and server for generating contact relationship data in network communication system
CN110267314B (en) Method and device for switching network slices
CN115004673B (en) Message pushing method, device, electronic equipment and computer readable medium
CN111352716B (en) Task request method, device and system based on big data and storage medium
CN112630557A (en) Equipment state detection method, device, equipment and medium
CN105100002A (en) Attribute operation method and device
CN104426968A (en) Data management method and device
US20150098417A1 (en) Creating, joining, finding, discovering, restoring and relocating process-based channels
CN111092934A (en) Method for updating client routing and storage medium
CN106571968A (en) Business switching method and system
CN115951923B (en) Subscription event management method, display system, device and storage medium
CN111901412A (en) Data processing method and computer readable storage medium
US20190387054A1 (en) Method, electronic device and computer program product for searching for node
CN108769151A (en) A kind of method and device for business processing
CN111385324A (en) Data communication method, device, equipment and storage medium
CN113746909A (en) Network connection method, device, electronic equipment and computer readable storage medium
CN111464574B (en) Calling, loading, registering and managing method and route, server, node and medium
CN114449040A (en) Configuration issuing method and device based on cloud platform
CN108900575B (en) Long connection hierarchical communication method and system based on mobile terminal

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
GR01 Patent grant
GR01 Patent grant