CN107330064A - A kind of method and system that small documents are created based on CIFS agreements - Google Patents

A kind of method and system that small documents are created based on CIFS agreements Download PDF

Info

Publication number
CN107330064A
CN107330064A CN201710517712.4A CN201710517712A CN107330064A CN 107330064 A CN107330064 A CN 107330064A CN 201710517712 A CN201710517712 A CN 201710517712A CN 107330064 A CN107330064 A CN 107330064A
Authority
CN
China
Prior art keywords
establishment file
sub
main thread
line journey
open
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710517712.4A
Other languages
Chinese (zh)
Inventor
毕敬强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710517712.4A priority Critical patent/CN107330064A/en
Publication of CN107330064A publication Critical patent/CN107330064A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5018Thread allocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This application discloses a kind of method that small documents are created based on CIFS agreements, the establishment file for sending establishment file request concentration one by one of interruption is asked to main thread;Open events corresponding with establishment file request are sent to the idle sub-line journey of sub-line journey concentration using main thread, so that sub-line journey concentrates the sub-line journey for receiving open events to complete the processing to open events, wherein, idle sub-line journey is the sub-line journey for not handling open events.The application client sends establishment file and asked to main thread, corresponding open events are sent to the idle sub-line journey of sub-line journey concentration by main thread, different establishment files are handled respectively by multiple idle sub-line journeys asks corresponding open events, even if therefore sub-line journey processing is slow, main thread is not interfered with to continue to client and send establishment file to ask to be formed parallel asynchronous processing yet, because open calls time delay is longer to cause the problem of other follow-up requests are blocked, so as to improve based on the efficiency that small documents are created under CIFS agreements when solving establishment file.

Description

A kind of method and system that small documents are created based on CIFS agreements
Technical field
The present invention relates to distributed cloud storage field, it is more particularly to a kind of based on CIFS agreements create small documents method and System.
Background technology
In distributed cloud storage field, cloud storage system service end is typically used for being managed collectively file with metadata software The metadata information of system.With increasing for number of files and client, service end needs to manage state, lock of many files etc. Information, this can cause open during client establishment file to call return slow, and time delay fluctuation is very big.In order to solve this problem, mesh It is preceding to have there is very big mode to solve the problem of management of mass file, such as establishment Metadata Service end cluster etc., but by More complicated in distributed file system software, hardware, network, the situation that open calls time delay high is difficult to avoid.
In the prior art, software (for example, samba softwares) based on CIFS agreements is by calling lib storehouses and rear end Distributed file system communicates, and externally provides CIFS agreements, and client (for example, windows clients) passes through CIFS agreements File system derived from carry.Because such software based on CIFS agreements is single thread framework, if the open of rear end connects Mouth time delay fluctuation is very big, then can cause client establishment file very slow or interim card.
Therefore, because open calls time delay is longer to cause what other follow-up requests blocked to ask when how to solve establishment file Topic, improving the performance for creating small documents based on CIFS agreements becomes the problem of being currently needed for solving.
The content of the invention
In view of this, it is an object of the invention to provide a kind of method and system that small documents are created based on CIFS agreements, To solve during establishment file because open calls time delay is longer to cause the problem of other follow-up requests are blocked, improve and be based on CIFS Agreement creates the efficiency of small documents.Its concrete scheme is as follows:
A kind of method that small documents are created based on CIFS agreements, including:
The establishment file for sending establishment file request concentration one by one of interruption is asked to main thread;
Open events corresponding with establishment file request are sent to free time of sub-line journey concentration using the main thread Thread, so that the sub-line journey concentrates the sub-line journey for receiving open events to complete the processing to open events, wherein, idle sub-line Journey is the sub-line journey for not handling open events.
Optionally, the establishment file for sending establishment file request concentration one by one of the interruption is asked to the mistake of main thread Journey, including:
The open sent using the main thread handles judged result, and the establishment file that sends one by one of interruption asks what is concentrated Establishment file is asked to main thread, wherein, the open processing judged result is that the main thread judges whether in preset time Inside receive the judged result of the open results of sub-line journey transmission.
Optionally, the open processing judged results sent using the main thread, the transmission one by one of interruption creates text The establishment file that part request is concentrated is asked to the process of main thread, including:
The open processing sent using the main thread judges overtime result, generation establishment file request failure record, profit Failure record, the establishment file sent one by one in the establishment file request failure record of interruption are asked with the establishment file Ask to the main thread.
Optionally, described to ask failure record using the establishment file, the establishment file of transmission one by one of interruption please The establishment file in failure record is asked to ask to the process of the main thread, including:
Failure record is asked using the establishment file, asks the request to create concentrated to be transmitted across in the establishment file After the main thread, the establishment file sent one by one in establishment file request failure record of interruption is asked to the main thread.
Optionally, described to ask failure record using the establishment file, the establishment file of transmission one by one of interruption please The establishment file in failure record is asked to ask to the process of the main thread, including:
Failure record is asked using the establishment file, the establishment of the main thread is not transmitted across in every transmission predetermined threshold value After file request, the establishment file sent in an establishment file request failure record is asked to the main thread.
Optionally, it is described that open events corresponding with establishment file request are sent to sub-line journey collection using the main thread In idle sub-line journey before, in addition to:
Judge whether open events corresponding with establishment file request are sent to sub-line journey concentration using the main thread Idle sub-line journey;
If it has, the idle sub-line journey for not recycling then the main thread to be concentrated to the sub-line journey sends open things Part.
A kind of system that small documents are created based on CIFS agreements, including:
Request to create sending module, the establishment file for sending establishment file request concentration one by one for interruption is asked to master Thread;
Open event sending modules, for being sent open events corresponding with establishment file request using the main thread The idle sub-line journey concentrated to sub-line journey, so that the sub-line journey concentrates the sub-line journey for receiving open events to complete to open events Processing, wherein, idle sub-line journey is not handle the sub-line journeys of open events.
Optionally, the request to create sending module, is handled specifically for the open sent using the main thread and judged As a result, the establishment file for sending establishment file request concentration one by one of interruption is asked to main thread, wherein, the open processing is sentenced Disconnected result is that the main thread judges whether to receive the judgement knot of the open results of sub-line journey transmission in preset time Really.
Optionally, the request to create sending module, including:
Failure request transmitting element, the open processing for being sent using the main thread judges overtime result, generation wound File request failure record is built, failure record is asked using the establishment file, the establishment file of transmission one by one of interruption please The establishment file in failure record is asked to ask to the main thread.
Optionally, in addition to:
Repeat to send judge module, for judging that open events corresponding with establishment file request are using the main thread The no idle sub-line journey for being sent to sub-line journey concentration;
Event, which is sent, terminates module, repeats to send judge module judgement and the corresponding open of establishment file request for described Event has been sent to the idle sub-line journey of sub-line journey concentration, the then free time for not recycling the main thread to be concentrated to the sub-line journey Sub-line journey sends open events.
In the present invention, the method that small documents are created based on CIFS agreements, the establishment file of the transmission one by one request of interruption is concentrated Establishment file ask to main thread;Open events corresponding with establishment file request are sent to sub-line journey collection using main thread In idle sub-line journey so that sub-line journey concentrates the sub-line journey for receiving open events to complete processing to open events, wherein, it is empty Not busy sub-line journey is the sub-line journey for not handling open events.
Client of the present invention is asked to main thread in the establishment file for sending establishment file request concentration one by one of interruption, Open events corresponding with establishment file request are sent to the idle sub-line journey of sub-line journey concentration by main thread, and main thread is in itself The processing of open events is no longer carried out, the multiple idle sub-line journeys concentrated by sub-line journey handle different establishment file request phases respectively The open events answered, even if therefore an open event handled in a sub-line journey slowly, do not interfere with yet main thread continuation Receive client and send the progress that establishment file request handles other open events with remaining sub-line journey parallel asynchronous, solve to create Because open calls time delay is longer to cause the problem of other follow-up requests are blocked, so as to improve based on CIFS agreements during file The lower efficiency for creating small documents.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of method flow schematic diagram that small documents are created based on CIFS agreements disclosed in the embodiment of the present invention;
Fig. 2 is another method flow schematic diagram that small documents are created based on CIFS agreements disclosed in the embodiment of the present invention;
Fig. 3 is a kind of system structure diagram that small documents are created based on CIFS agreements disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
The embodiment of the invention discloses a kind of method that small documents are created based on CIFS agreements, shown in Figure 1, this method Including:
Step S11:The establishment file for sending establishment file request concentration one by one of interruption is asked to main thread;
Specifically, whenever main thread has been handled after the request of establishment file, in client based on the soft of CIFS agreements Part can just send establishment file again and ask to main thread, and form interruption sends the establishment text that establishment file request is concentrated one by one Part is asked to main thread.
Step S12:Open events corresponding with establishment file request are sent to the sky of sub-line journey concentration using main thread Not busy sub-line journey, so that sub-line journey concentrates the sub-line journey for receiving open events to complete the processing to open events, wherein, idle sub-line Journey is the sub-line journey for not handling open events.
Specifically, main thread is asked it after the establishment file request of client transmission is received using establishment file In open events be sent to the idle sub-line journey of sub-line journey concentration, handle different establishment files by multiple sub-line journey parallel asynchronous Corresponding open events are asked, open events can be just received when only sub-line journey is in idle condition, once sub-line journey is received The open events of main thread transmission are simultaneously handled, and are just no longer on idle condition, main thread again will not also send out open events Give the idle sub-line journey for being not at idle condition, i.e. a sub-line journey will not be received before an open event has been handled With handle another open event, but complete current open events of group thread process, sub-line journey is changing to idle sub-line journey, just The open events of main thread transmission can be continued to.
Even if it should be noted that main thread terminates the request of corresponding with open events establishment file, sub-line journey also will be after The continuous corresponding open events of processing, until processing is completed.
It can be seen that, client of the embodiment of the present invention sends the establishment file request that establishment file request is concentrated one by one interruption To main thread, open events corresponding with establishment file request are sent to the idle sub-line journey of sub-line journey concentration by main thread, And main thread no longer carries out the processing of open events in itself, the multiple idle sub-line journeys concentrated by sub-line journey handle not Tontru respectively Build the corresponding open events of file request, even if therefore an open event handled in a sub-line journey slowly, also will not shadow Sound main thread continues to client transmission establishment file request and remaining sub-line journey parallel asynchronous handles other open events Progress, because open calls time delay is longer to cause the problem of other follow-up requests are blocked, so as to improve when solving establishment file Based on the efficiency that small documents are created under CIFS agreements.
It is real relative to upper one the embodiment of the invention discloses a kind of specific method that small documents are created based on CIFS agreements Example is applied, the present embodiment has made further instruction and optimization to technical scheme.It is shown in Figure 2, specifically:
Step S21:The open sent using main thread handles judged result, the establishment file of the transmission one by one request collection of interruption In establishment file ask to main thread, wherein, open processing judged results are that main thread judges whether inscribed in preset time Receive the judged result of the open results of sub-line journey transmission.
Specifically, the efficiency to ensure establishment small documents, therefore, main thread presets preset time, according to sub-line journey Whether open result is sent in preset time, and open processing is judged knot by generation open processing judged results, main thread Fruit is sent to client, and client is then interrupted corresponding with open processing judged result after open processing judged results are received Establishment file is asked, so as to discharge the thread between client and main thread, client retransmits next establishment file request The establishment file of concentration is asked to main thread, so that main thread is operated accordingly to request, so as to form client utilization The establishment file for sending establishment file request concentration one by one of open processing judged result interruptions is asked to main thread.
Wherein, when main thread does not receive the open results of sub-line journey transmission in preset time, then sub-line is judged Journey handles open event timeouts, and generation open processing judges overtime result, sent to client, client receives open processing Judge overtime result, then cut-out establishment file request corresponding with the overtime result of open processing judgements and the thread of main thread, and The establishment file for sending establishment file request concentration one by one of the interruption of continuation is asked to main thread.
Wherein, when main thread receives the open results of sub-line journey transmission in preset time, then sub-line journey is judged The success of open events is handled, after the open results that main thread receives sub-line journey transmission, generation open processing judges into Work(result, sends to client, and client receives open processing and judges successful result, then cut-out judges successfully with open processing As a result corresponding establishment file request and the thread of main thread, and the establishment file that sends one by one of the interruption continued asks what is concentrated Establishment file is asked to main thread.
For example, preset time is 10ms, such as main thread does not receive the open results of sub-line journey transmission in 10ms, Then generation open processing judges overtime result, and such as main thread receives the open results of sub-line journey transmission in 10ms, then After the open results that main thread receives sub-line journey transmission, generation open processing judges successful result.
It is understood that open processing judged result is sent to client after preset time arrival the latest, most it is fast then It is to be sent after main thread receives the open results of sub-line journey transmission to client, i.e. open processing judges time-out knot The transmission time of fruit is determined that open processing judges that the transmission time of successful result receives sub-line journey by main thread by preset time The time of the open results of transmission determines.
Further, overtime result is judged when client receives open processing, client still needs to send not to main thread The establishment file request of completion, its detailed process can include step S211;Wherein,
Step S211:The open processing sent using main thread judges overtime result, and generation establishment file request is unsuccessfully remembered Record, asks failure record, the establishment file sent one by one in establishment file request failure record of interruption please using establishment file Ask to main thread.
Specifically, client can ask failure record using establishment file, ask the establishment concentrated please in establishment file Ask and be transmitted across after main thread, the establishment file sent one by one in establishment file request failure record of interruption is asked to main line Journey;It is also possible that client often send predetermined threshold value be not transmitted across the establishment file of main thread request after, send one create text Establishment file in part request failure record is asked to main thread.
For example, establishment file request, which is concentrated, includes 10 establishment file requests, wherein, there are 3 establishment file request failures, Record asks failure record in establishment file, is the request of the 3rd establishment file, the request of the 4th establishment file and the 8th establishment text respectively Part is asked, and client can ask failure record using establishment file, asks 10 establishment files concentrated please in establishment file Ask and be transmitted across after main thread, the establishment file request sent one by one in establishment file request failure record of interruption;Can be with Predetermined threshold value is 3, and client often sends 3 and is not transmitted across after the request of the establishment file of main thread, and sending an establishment file please The establishment file in failure record is asked to ask to main thread, e.g., when client is sent to the request of the 3rd establishment file, client The establishment file request in an establishment file request failure record can be sent, after the 3rd establishment file request processing, the The request of three establishment files is changed into the establishment file request in establishment file request failure record, then client is sent for the 4th time again 3rd establishment file is asked to main thread, the 5th transmission the 4th establishment file request of client, is now calculated threshold value, is designated as 1, It is not transmitted across after the request of the establishment file of main thread until client sends 3, sends an establishment file request failure record In establishment file ask to main thread, client sends the request of the 4th establishment file after the request of the 6th establishment file is sent To main thread, client sends the 8th establishment file and asked to main thread after the request of the 9th establishment file is sent.
Step S22:Judge whether open events corresponding with establishment file request are sent to sub-line journey collection using main thread In idle sub-line journey.
Specifically, because client is after the overtime result of open processing judgements is received, can repeatedly send establishment file please The establishment file request unsuccessfully crossed is asked, therefore, main thread judges whether open events corresponding with establishment file request are sent to The idle sub-line journey that sub-line journey is concentrated, to avoid repeating sending open events to sub-line journey, takes thread resources.
Step S23:If it has, the idle sub-line journey for not recycling then main thread to be concentrated to sub-line journey sends open things Part.
Step S24:If do not sent, open events corresponding with establishment file request are sent to son using main thread The idle sub-line journey that thread is concentrated, so that sub-line journey concentrates the sub-line journey for receiving open events to complete the processing to open events, Wherein, idle sub-line journey is the sub-line journey for not handling open events.
Accordingly, the embodiment of the invention also discloses a kind of system that small documents are created based on CIFS agreements, referring to Fig. 3 institutes Show, the system includes:
Request to create sending module 11, for interruption one by one send establishment file request concentrate establishment file ask to Main thread;
Open events sending module 12, for being sent to open events corresponding with establishment file request using main thread The idle sub-line journey that sub-line journey is concentrated, so that sub-line journey concentrates the sub-line journey for receiving open events to complete the place to open events Reason, wherein, idle sub-line journey is the sub-line journey for not handling open events.
It can be seen that, client of the embodiment of the present invention sends the establishment file request that establishment file request is concentrated one by one interruption To main thread, open events corresponding with establishment file request are sent to the idle sub-line journey of sub-line journey concentration by main thread, And main thread no longer carries out the processing of open events in itself, the multiple idle sub-line journeys concentrated by sub-line journey handle not Tontru respectively Build the corresponding open events of file request, even if therefore an open event handled in a sub-line journey slowly, also will not shadow Sound main thread continues to client transmission establishment file request and remaining sub-line journey parallel asynchronous handles other open events Progress, because open calls time delay is longer to cause the problem of other follow-up requests are blocked, so as to improve when solving establishment file Based on the efficiency that small documents are created under CIFS agreements.
In the embodiment of the present invention, above-mentioned request to create sending module 11 can be specifically for utilizing main thread transmission Open handles judged result, and the establishment file for sending establishment file request concentration one by one of interruption is asked to main thread, wherein, Open processing judged results are that main thread judges whether to receive the open results of sub-line journey transmission in preset time Judged result.
Further, above-mentioned request to create sending module 11, can include failure request transmitting element;Wherein,
Failure request transmitting element, the open processing for being sent using main thread judges overtime result, and generation creates text Part asks failure record, is asked using establishment file in failure record, the establishment file of the transmission one by one request failure record of interruption Establishment file ask to main thread.
Further, above-mentioned failure request transmitting element, can ask failure record specifically for utilization establishment file, The request to create that establishment file request is concentrated is transmitted across after main thread, the establishment file of the transmission one by one request failure record of interruption In establishment file ask to main thread;
Or, failure record is asked using establishment file, the establishment file of main thread is not transmitted across in every transmission predetermined threshold value After request, the establishment file sent in an establishment file request failure record is asked to main thread.
In the embodiment of the present invention, the system that small documents are created based on CIFS agreements can also include repeating to send judging mould Block and event, which are sent, terminates module;Wherein,
Repeat to send judge module, for judging whether open events corresponding with establishment file request are sent out using main thread It is sent to the idle sub-line journey of sub-line journey concentration;
Event, which is sent, terminates module, for repeating to send judge module judgement open events corresponding with establishment file request The idle sub-line journey of sub-line journey concentration is had been sent to, then the idle sub-line journey for not recycling main thread to be concentrated to sub-line journey is sent Open events.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between there is any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that A little key elements, but also other key elements including being not expressly set out, or also include be this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged Except also there is other identical element in the process including the key element, method, article or equipment.
A kind of method and system for creating small documents based on CIFS agreements provided by the present invention have been carried out in detail above Introduce, specific case used herein is set forth to the principle and embodiment of the present invention, the explanation of above example It is only intended to the method and its core concept for helping to understand the present invention;Simultaneously for those of ordinary skill in the art, according to this The thought of invention, be will change in specific embodiments and applications, in summary, and this specification content should not It is interpreted as limitation of the present invention.

Claims (10)

1. a kind of method that small documents are created based on CIFS agreements, it is characterised in that including:
The establishment file for sending establishment file request concentration one by one of interruption is asked to main thread;
Open events corresponding with establishment file request are sent to the idle sub-line journey of sub-line journey concentration using the main thread, So that the sub-line journey concentrates the sub-line journey for receiving open events to complete the processing to open events, wherein, idle sub-line journey is The sub-line journey of open events is not being handled.
2. it is according to claim 1 based on CIFS agreements create small documents method, it is characterised in that the interruption by The individual establishment file for sending establishment file request concentration is asked to the process of main thread, including:
The open sent using the main thread handles judged result, the establishment for sending establishment file request concentration one by one of interruption File request to main thread, wherein, open processing judged result is that the main thread judges whether inscribed in preset time Receive the judged result of the open results of sub-line journey transmission.
3. the method according to claim 2 that small documents are created based on CIFS agreements, it is characterised in that described using described The open processing judged results that main thread is sent, the establishment file for sending establishment file request concentration one by one of interruption is asked to master The process of thread, including:
The open processing sent using the main thread judges overtime result, and generation establishment file request failure record utilizes institute State establishment file request failure record, the establishment file request sent one by one in the establishment file request failure record of interruption To the main thread.
4. the method according to claim 3 that small documents are created based on CIFS agreements, it is characterised in that described using described Establishment file asks failure record, the establishment file sent one by one in establishment file request failure record of interruption ask to The process of the main thread, including:
Failure record is asked using the establishment file, asks the request to create concentrated to be transmitted across in the establishment file described After main thread, the establishment file sent one by one in establishment file request failure record of interruption is asked to the main thread.
5. the method according to claim 3 that small documents are created based on CIFS agreements, it is characterised in that described using described Establishment file asks failure record, the establishment file sent one by one in establishment file request failure record of interruption ask to The process of the main thread, including:
Failure record is asked using the establishment file, the establishment file of the main thread is not transmitted across in every transmission predetermined threshold value After request, the establishment file sent in an establishment file request failure record is asked to the main thread.
6. the method that small documents are created based on CIFS agreements according to any one of claim 1 to 5, it is characterised in that institute State using the main thread by open events corresponding with establishment file request be sent to sub-line journey concentration idle sub-line journey it Before, in addition to:
Judge whether open events corresponding with establishment file request are sent to the free time of sub-line journey concentration using the main thread Sub-line journey;
If it has, the idle sub-line journey for not recycling then the main thread to be concentrated to the sub-line journey sends open events.
7. a kind of system that small documents are created based on CIFS agreements, it is characterised in that including:
Request to create sending module, the establishment file for sending establishment file request concentration one by one for interruption is asked to main line Journey;
Open event sending modules, for open events corresponding with establishment file request to be sent into son using the main thread The idle sub-line journey that thread is concentrated, so that the sub-line journey concentrates the sub-line journey for receiving open events to complete the place to open events Reason, wherein, idle sub-line journey is the sub-line journey for not handling open events.
8. the system according to claim 7 that small documents are created based on CIFS agreements, it is characterised in that the request to create Sending module, judged result, the transmission establishment file one by one of interruption are handled specifically for the open sent using the main thread The establishment file that request is concentrated is asked to main thread, wherein, the open processing judged result is that the main thread judges whether The judged result of the open results of sub-line journey transmission is received in preset time.
9. the system according to claim 8 that small documents are created based on CIFS agreements, it is characterised in that the request to create Sending module, including:
Failure request transmitting element, the open processing for being sent using the main thread judges overtime result, and generation creates text Part asks failure record, and failure record is asked using the establishment file, and the establishment file request of transmission one by one of interruption is lost The establishment file lost in record is asked to the main thread.
10. the system that small documents are created based on CIFS agreements according to any one of claim 7 to 9, it is characterised in that also Including:
Repeat to send judge module, for judging whether open events corresponding with establishment file request are sent out using the main thread It is sent to the idle sub-line journey of sub-line journey concentration;
Event, which is sent, terminates module, repeats to send judge module judgement open events corresponding with establishment file request for described Have been sent to the idle sub-line journey of sub-line journey concentration, the then idle sub-line for not recycling the main thread to be concentrated to the sub-line journey Journey sends open events.
CN201710517712.4A 2017-06-29 2017-06-29 A kind of method and system that small documents are created based on CIFS agreements Pending CN107330064A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710517712.4A CN107330064A (en) 2017-06-29 2017-06-29 A kind of method and system that small documents are created based on CIFS agreements

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710517712.4A CN107330064A (en) 2017-06-29 2017-06-29 A kind of method and system that small documents are created based on CIFS agreements

Publications (1)

Publication Number Publication Date
CN107330064A true CN107330064A (en) 2017-11-07

Family

ID=60198482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710517712.4A Pending CN107330064A (en) 2017-06-29 2017-06-29 A kind of method and system that small documents are created based on CIFS agreements

Country Status (1)

Country Link
CN (1) CN107330064A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108256118A (en) * 2018-02-13 2018-07-06 腾讯科技(深圳)有限公司 Data processing method, device, system, computing device and storage medium
CN117076158A (en) * 2023-09-28 2023-11-17 荣耀终端有限公司 Broadcast distribution processing method and related equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968352A (en) * 2012-12-14 2013-03-13 杨晓松 System and method for process monitoring and multi-stage recovery
CN103605568A (en) * 2013-10-29 2014-02-26 北京奇虎科技有限公司 Multithread management method and device
CN104484456A (en) * 2014-12-29 2015-04-01 哈尔滨工业大学 Multi-threading parallel-based rapid loading method for SQLite database
CN104615497A (en) * 2015-02-13 2015-05-13 广州华多网络科技有限公司 Thread hanging processing method and device
CN104735077A (en) * 2015-04-01 2015-06-24 积成电子股份有限公司 Method for realizing efficient user datagram protocol (UDP) concurrence through loop buffers and loop queue
CN105353987A (en) * 2015-11-13 2016-02-24 曙光信息产业股份有限公司 File processing method and device
CN106375435A (en) * 2016-08-31 2017-02-01 福建天晴数码有限公司 Web thread timeout monitoring method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968352A (en) * 2012-12-14 2013-03-13 杨晓松 System and method for process monitoring and multi-stage recovery
CN103605568A (en) * 2013-10-29 2014-02-26 北京奇虎科技有限公司 Multithread management method and device
CN104484456A (en) * 2014-12-29 2015-04-01 哈尔滨工业大学 Multi-threading parallel-based rapid loading method for SQLite database
CN104615497A (en) * 2015-02-13 2015-05-13 广州华多网络科技有限公司 Thread hanging processing method and device
CN104735077A (en) * 2015-04-01 2015-06-24 积成电子股份有限公司 Method for realizing efficient user datagram protocol (UDP) concurrence through loop buffers and loop queue
CN105353987A (en) * 2015-11-13 2016-02-24 曙光信息产业股份有限公司 File processing method and device
CN106375435A (en) * 2016-08-31 2017-02-01 福建天晴数码有限公司 Web thread timeout monitoring method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
于红,冯艳红主编: "《计算机操作系统》", 31 May 2017 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108256118A (en) * 2018-02-13 2018-07-06 腾讯科技(深圳)有限公司 Data processing method, device, system, computing device and storage medium
CN108256118B (en) * 2018-02-13 2023-09-22 腾讯科技(深圳)有限公司 Data processing method, device, system, computing equipment and storage medium
CN117076158A (en) * 2023-09-28 2023-11-17 荣耀终端有限公司 Broadcast distribution processing method and related equipment
CN117076158B (en) * 2023-09-28 2024-03-12 荣耀终端有限公司 Broadcast distribution processing method and related equipment

Similar Documents

Publication Publication Date Title
US4648061A (en) Electronic document distribution network with dynamic document interchange protocol generation
CN106375241B (en) Batch data processing method, front-end system, host and batch data processing system
CN109451032B (en) Message transmission system
US20230153141A1 (en) Cloud cost-based resource development system and method
CN113448749B (en) Method, system, device and medium for optimizing execution of expected timing task
CN101185070B (en) Device management system and method for setting configuration-value therein
CN103618590A (en) Overtime control method and device of business processing process
CN110875887A (en) MQTT protocol-based communication interaction method and communication interaction system
CN107330064A (en) A kind of method and system that small documents are created based on CIFS agreements
EP0108233A2 (en) Electronic document distribution network with dynamic document interchange protocol generation
CN102056095B (en) Method, system and device for controlling short message transmitting flow rate
CN101951571A (en) Short message retrying method and short message gateway
CN115776175A (en) Dispatching automation data acquisition method and system based on security access area
CN110022218A (en) Multicast communication method, terminal device and storage medium
CN1194503C (en) Method for transmitting user required massage based on user, server mode
CN102833872A (en) Service access method and system and terminal
CN100370745C (en) Method and network management system for realizing intelligent net element cross information synchronization
CN108337229A (en) Method, storage medium and the electronic equipment that multisystem interconnects
CN109756567A (en) A kind of cross-domain task schedule breaker point continuous transmission method
CN101830241B (en) Configurator of track traffic system and method thereof
CN115801684B (en) Terminal interaction method and system based on SSH server
CN114217755A (en) Traffic information processing method and system and electronic equipment
CN1901535A (en) Method for increasing and removing member in link volume regulating plan
CN109213574A (en) A kind of information transferring method between storage system, device and medium
JP3254318B2 (en) Communication control method for network management device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20171107

RJ01 Rejection of invention patent application after publication