CN108769151B - 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
CN108769151B
CN108769151B CN201810460665.9A CN201810460665A CN108769151B CN 108769151 B CN108769151 B CN 108769151B CN 201810460665 A CN201810460665 A CN 201810460665A CN 108769151 B CN108769151 B CN 108769151B
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.)
Active
Application number
CN201810460665.9A
Other languages
Chinese (zh)
Other versions
CN108769151A (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This application provides a kind of method and device for business processing, this method comprises: the first nas server receive client transmission for after requesting 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 to enable notice client to be switched to the third nas server for carrying out the function of CIFS service interaction on the nas server for being capable of handling CIFS business;If so, sending the switching command for carrying the identification information of 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 technique
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, free information on services block of increasing income is can be used in each server (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 text used in processing CIFS business Part) database).TDB database disperses 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 requesting the service request of CIFS business after, determine the NAS service of file storage information used in processing CIFS business Device specifically carries out Hash to the corresponding key value (key assignments) of need file to be used storage information using specified hash algorithm 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 requests 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 processing 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 transmission, be also easy to be influenced by unstable networks, and cause file storage information damage, further influence CIFS business can By property.
Summary of the invention
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, which comprises receive client transmission for after requesting the service request of CIFS business, determination to be deposited Contain the second nas server for handling the storage information of file 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 be capable of handling CIFS The third nas server of the function of CIFS service interaction is carried out on the nas server of business;If so, being sent out to the client Send the switching command for carrying the identification information of second nas server;Otherwise, Xiang Suoshu third nas server sends notice 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 also includes: receive institute The request that disconnects of the communication connection between the disconnection and first nas server of client transmission is stated, 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 service for handling the storage information of file used in the CIFS business Device, comprising: determine the ID address information for storing the nas server of the file storage information, and be based on the ID address information 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: sending the service request for requesting CIFS business to first network additional storage nas server;Receive the 3rd NAS service 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 the storage information of file used in the CIFS business the second nas server, It and is to enable notice client to be switched to the function of carrying out CIFS service interaction on the nas server for being capable of handling 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 when server to the third nas 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 Give second nas server carry out processing 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, the second nas server of Xiang Suoshu sends building for the communication connection established between the client and second nas server Vertical connection request, and after establishing connection with second nas server, 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 requesting CIFS business After service request, the second nas server for being stored with and handling the storage information of file used in the CIFS business is determined;Clothes Business device judging unit, for judging the first NAS in the case where first nas server is not or not second nas server Whether server is to enable notice client to be switched to progress CIFS service interaction on the nas server for being capable of handling CIFS business Function third nas server;First server transmission unit, for judging the feelings for being in the server judging unit Under condition, Xiang Suoshu client sends the switching command for carrying the identification information of second nas server;Second server is sent Unit, for when the server judging unit judges that no, Xiang Suoshu third nas server to send notice letter 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 include: 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, specifically for determining that the NAS for storing the file storage information is serviced The ID address information of device, and second nas server is determined based on the ID address information.
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 sending to first network additional storage nas server for requesting the business of CIFS business to be asked It asks;Client receiving unit, for receiving the switching command of third nas server transmission, 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 be capable of handling CIFS business Nas server on carry out CIFS service interaction function third nas server when send;Or determining itself not It is second nas server and sends a notification message when not being the third nas server to the third nas server, To indicate what the third nas server was sent;Client switch unit, for being switched to described the 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: the first nas server of Xiang Suoshu is sent described in disconnection Communication connection between client and first nas server disconnects request;And it is serviced with the first NAS After device disconnects, the second nas server of Xiang Suoshu, which is sent, establishes leading between the client and second nas server Believe establishment of connection connection request, and after establishing connection with second nas server, 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 service 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 requesting 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 is by sending switching command to client, so that client is actively cut The mode for continuing CIFS service interaction on the second nas server is shifted to, avoids and needs during CIFS service interaction 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 and implementing the application.The purpose of the application and other advantages are in specification, claims And specifically noted structure is achieved and obtained in attached drawing.
To enable the above objects, features, and advantages of the application to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the application specific embodiment or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is 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, is also possible to obtain other drawings 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 embodiment
To keep the purposes, technical schemes and advantages 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 Under every other embodiment obtained, 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 process illustrates can execute in a computer system such as a set of computer executable instructions, although also, Logical order is shown in flow chart, but in some cases, it can be to be different from shown by sequence execution 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 determining storage after requesting the service request of CIFS business There is the second nas server for handling the storage information of file used in the CIFS business;
Wherein it is determined that being stored with the second nas server packet for handling the storage information of file used in the CIFS business It includes: determining the ID address information for storing the nas server of the file storage information, and institute is determined based on the ID address information State the second nas server.
Step S204 judges first nas server if first nas server is not the second nas server It whether is to enable notice client to be switched to the function of carrying out CIFS service interaction on the nas server for being capable of handling CIFS business Third nas server;If so, S206 is thened follow the steps, it is no to then follow the steps S208;
Step S206, Xiang Suoshu client sends the switching command for carrying the identification information of second nas server;
Step S208, Xiang Suoshu third nas server sends notification information, 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 It 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 It can have notice client and be switched to the function of carrying out CIFS service interaction on the nas server for being capable of handling CIFS business, The function can be applied to the witness function in Samba software, 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 services in NAS (for example, being noticed in a manner of broadcast message) is noticed in device cluster.
Follow-up management nas server finds that third nas server failure (can be taken by management nas server and the 3rd NAS Heartbeat detection discovery between business device) or third nas server operational process in (the 3rd NAS clothes that can not enable that this is functional Business device is actively reported to management server when discovery can not enable the function) when, reselect new a 3rd NAS service Device, and noticed in nas server cluster in time, to guarantee 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.
Below 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, the nas server of Samba software is provided with including 3, 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 Enough handle the function that CIFS service interaction is carried out on the nas server of CIFS business.
As shown in figure 3, client sends the service request for requesting 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 carrying the identification information of 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 disconnecting with nas server 1, connection request is established to the transmission of nas server 2, and establish connection with nas server 2 Afterwards, service request is sent to nas server 2 to handle, is responded by nas server 2 for service request.
As can be seen from the above description, in the present embodiment, if currently carrying out the first of CIFS service interaction 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 interaction, Without requesting 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 is by sending switching command to client, so that client is actively cut The mode for continuing CIFS service interaction on the second nas server is shifted to, avoids and needs during CIFS service interaction 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 requesting CIFS business to the first nas server;
Step S404 receives the switching command that third nas server is sent, wherein the switching command is the first NAS service Device is to be stored with file storage information used in processing CIFS business determining itself not after receiving service request The second nas server and be to enable notice client to be switched on the nas server for being capable of handling 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 when third nas server to third nas server, to indicate what third nas server was sent;
Step S406 is switched on the second nas server based on switching command, 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 disconnecting 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 interaction avoids CIFS service interaction and needs to store file what information was migrated 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 includes that server determination unit 51, server are sentenced Disconnected unit 52, first server transmission unit 53 and second server transmission unit 54, in which:
Server determination unit 51, for receive client transmission for request CIFS business service request it Afterwards, the second nas server for being stored with and handling the storage information of file 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 for being capable of handling 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, Xiang Suoshu Client sends the switching command for carrying the identification information of second nas server;
Second server transmission unit 54, for when the server judging unit judges that no, 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, device further include: 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, specifically for determining that the storage file stores the nas server of information ID address information, and second nas server is determined based on the ID address information.
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 interaction avoids CIFS service interaction and needs to store file what information was migrated 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 mainly includes client transmission unit 61, client reception list Member 62 and client switch unit 63, in which:
Client transmission unit 61, for sending the service request for requesting CIFS business to the first nas server;
Client receiving unit 62, for receiving the switching command of third nas server transmission, wherein the switching life It enables as first nas server after having received the service request, determining to be stored with described in processing File used in CIFS business stores the second nas server of information and is to enable to notify client is switched to be capable of handling It is sent when the third nas server of the function of progress CIFS service interaction on the nas server of CIFS business;Or in determination It sends and leads to the third nas server when itself not being second nas server out and not being the third nas server Message is known, to indicate what the third nas server was sent;
Client switch unit 63, for being switched to second nas server 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 second nas server of Xiang Suoshu sends the communication connection established between the client and 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 is by sending switching command to client, so that client actively switches to the 2nd NAS The mode for continuing CIFS service interaction on server avoids CIFS service interaction 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 The step of above-mentioned executing subject is method in the embodiment of the method for nas server.
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 The step of executing subject is method in the embodiment of the method for client.
In another embodiment, a kind of calculating of non-volatile program code that can be performed with processor is additionally provided The step of machine readable medium, said program code makes the processor execute method in above method embodiment.
The technical effect and preceding method embodiment phase of device provided by the embodiment of the present application, realization principle and generation Together, to briefly describe, Installation practice 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 To be mechanical connection, it is also possible to be electrically connected;It can be directly connected, can also can be indirectly connected through an intermediary 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 describe the application and simplify description, rather than the device or element of indication or suggestion meaning must have a particular orientation, It is constructed and operated in a specific orientation, therefore should not be understood as the limitation to the application.In addition, term " first ", " second ", " third " is used for descriptive purposes only and cannot be understood as indicating or suggesting 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 logical function partition, there may be another division manner in actual implementation, in another example, multiple units or components 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 through some communication interfaces, device or unit it is indirect Coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
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-readable storage 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 the steps 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 or disk etc. are various can be with Store the medium of program code.
Finally, it should be noted that embodiment described above, the only specific embodiment of the application, to illustrate the application Technical solution, rather than its limitations, the protection scope of the application is not limited thereto, although with reference to the foregoing embodiments to this Shen It please be described in detail, those skilled in the art should understand that: anyone skilled in the art Within the technical scope of the present application, it can still modify to technical solution documented by 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 scope 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:
The processing CIFS is stored with for determining after requesting the service request of CIFS business receive client transmission Second nas server of the storage information of file 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 interaction is carried out on the nas server for being capable of handling CIFS business Business device;
If so, sending the switching command for carrying the identification information of second nas server to the client;
Otherwise, Xiang Suoshu third nas server sends notification information, 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. the method according to claim 1, wherein to the third nas server send notification information it Afterwards, the method also 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. being stored with text used in the processing CIFS business the method according to claim 1, wherein determining Second nas server of part storage information, comprising:
It determines the ID address information for storing the nas server of the file storage information, and is determined based on the ID address information Second nas server.
4. a kind of method for processing business, which is characterized in that be applied to client, which comprises
The service request for requesting 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 for being capable of handling CIFS business and carry out It is sent when the third nas server of the function of CIFS service interaction;Or determining itself not and be the 2nd NAS service 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 disconnecting with first nas server, the client and institute are established in the transmission of the second nas server of Xiang Suoshu The connection request of establishing of the communication connection between the second nas server is stated, 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 requesting the service request of CIFS business, really Surely it is stored with the second nas server for handling the storage information of file 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 for being capable of handling 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, Xiang Suoshu client Send the switching command for carrying the identification information of second nas server;
Second server transmission unit, for when the server judging unit judges that no, Xiang Suoshu 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 include:
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 information of the nas server of the file storage information, and determine that the 2nd NAS takes based on the ID address information 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 requesting CIFS business to first network additional storage nas server Request;
Client receiving unit, for receiving the switching command of third nas server transmission, 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 being engaged in stores the second nas server of information and is to enable to notify client is switched to be capable of handling CIFS industry It is sent when the third nas server of the function of progress CIFS service interaction on the nas server of business;Or determining itself Notice is sent to the third nas server when not being second nas server and not being the third nas server to disappear Breath, to indicate what the third nas server was sent;
Client switch unit, for being switched to second nas server 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 disconnecting with first nas server, the client and institute are established in the transmission of the second nas server of Xiang Suoshu The connection request of establishing of the communication connection between the second nas server is stated, 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 CN108769151A (en) 2018-11-06
CN108769151B true 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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (5)

* 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
US6944785B2 (en) * 2001-07-23 2005-09-13 Network Appliance, Inc. High-availability cluster virtual server system
US20040139167A1 (en) * 2002-12-06 2004-07-15 Andiamo Systems Inc., A Delaware Corporation Apparatus and method for a scalable network attach storage system
CN105763604B (en) * 2016-02-04 2019-03-19 四川长虹电器股份有限公司 Lightweight distributed file system and the method for restoring downloading file original name
CN106294842A (en) * 2016-08-19 2017-01-04 浪潮(北京)电子信息产业有限公司 A kind of data interactive method, platform and distributed file system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN108769151A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN110389815A (en) Task processing method, apparatus and system
US10313452B2 (en) Migrating a chat message service provided by a chat server to a new chat server
CN115004673B (en) Message pushing method, device, electronic equipment and computer readable medium
CN107171885B (en) A kind of methods, devices and systems of detection service device operating status
JP5863942B2 (en) Provision of witness service
TW201543243A (en) Capability monitoring in a service oriented architecture
US11409819B2 (en) Method and device for recommending social user
CN111352716B (en) Task request method, device and system based on big data and storage medium
CN109155939A (en) A kind of load migration method, apparatus and system
CN112532408B (en) Method, device and storage medium for extracting fault propagation condition
JP2019525604A (en) Network function NF management method and NF management apparatus
CN109699043B (en) Link establishment method and device
CN111181765A (en) Task processing method and device
CN105100002A (en) Attribute operation method and device
CN112566218A (en) SIM card selection method, device, terminal and storage medium
US9521106B2 (en) Method, system and device for obtaining potential friends information
CN110768911A (en) Efficient flow guiding method, device, equipment, system and storage medium
CN108769151B (en) A kind of method and device for business processing
CN106708881B (en) Interaction method and device based on network file system
CN112416506A (en) Container management method, device and computer storage medium
CN113746909A (en) Network connection method, device, electronic equipment and computer readable storage medium
CN105007143A (en) Call preservation and recovery method and system
CN111641664B (en) Crawler equipment service request method, device and system and storage medium
CN108900575B (en) Long connection hierarchical communication method and system based on mobile terminal
JP2009122898A (en) Community communication network, communication control method, user terminal, terminal control method, and program

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