CN103457916A - Method for managing chained file and server - Google Patents

Method for managing chained file and server Download PDF

Info

Publication number
CN103457916A
CN103457916A CN2012101797411A CN201210179741A CN103457916A CN 103457916 A CN103457916 A CN 103457916A CN 2012101797411 A CN2012101797411 A CN 2012101797411A CN 201210179741 A CN201210179741 A CN 201210179741A CN 103457916 A CN103457916 A CN 103457916A
Authority
CN
China
Prior art keywords
threaded file
server
file
chained address
application server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012101797411A
Other languages
Chinese (zh)
Other versions
CN103457916B (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201210179741.1A priority Critical patent/CN103457916B/en
Publication of CN103457916A publication Critical patent/CN103457916A/en
Application granted granted Critical
Publication of CN103457916B publication Critical patent/CN103457916B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)
  • Storage Device Security (AREA)

Abstract

The invention relates to a method for managing a chained file and a server. The method comprises the steps that a chained file management server receives request messages carrying out safety detection; according to a chained address in the request messages, safety detection is carried out on the chained file in an application server; when the result of the safety detection is safe, a replying message allowing the chained address corresponding to the chained file in the application server to be scheduled to a scheduling server, so that the scheduling server sets the chained address into an information chained source, and the chained file in the application file is scheduled according to the information chained sourced. The fact that when an external chained file cannot be accessed, the scheduling server automatically replaces the chained address of the external chained file with the chained transcript address of a local accessible chained file transcript, and the accessibility of the chained file is ensured. The integrality and the safety of the external chained file are ensured through the safety detection.

Description

The management method of threaded file and server
Technical field
The application relates to the network file field, relates in particular to a kind of management method and server of threaded file.
Background technology
At present, a lot of website platforms, for example electronic commerce Website platform all provides to the user as the supply object function of uploading voluntarily the electronic information for describing the commodity of supplying.In order to improve the commodity volume of business, the supply object can be described commodity from a plurality of angles as far as possible, and for example, for commodity, the supply object may be from these commodity of a plurality of angle shots, and by the picture uploading taken to website; The supply object also can be showed a plurality of purposes of these commodity as far as possible, to attract the pent-up demand object, buys, at this moment supply a plurality of purposes and using method that object may record by the mode of video these commodity, and this video is uploaded on website, etc.Yet, in order to reduce costs, the capacity of uploading that the e-commerce platform website provides to the user all is provided with restriction, and the electronic information such as the picture that the supply object may need very large space to upload oneself to be used for describing commodity, video.Thus, website platform generally all provides the external linkage function, allow the user that above-mentioned electronic information is kept on the third party website server, then by the information of directly quoting on the disk-based web site page or clickthrough calls and show external linkage, give the providing a great convenience property of user of disk-based web site platform, and be equivalent to improve user's the capacity of uploading, so the external linkage function is at a lot of website platforms, as electronic commerce Website platform has good application prospect.
Under prior art, the technical scheme of managing concatenated file is: the file that the user of disk-based web site platform uploads to the third party website server is set to the external linkage file, the server of disk-based web site platform calls the chained address of this external linkage file in the page of disk-based web site, and sends the notification message that allows to arrange this external linkage file to this user.
The shortcoming of prior art scheme is: 1) be difficult to guarantee the availability of the file deposited in the third party website server, may there be brokenly the phenomenons such as figure, chain rupture in the user of the page of access disk-based web site when clickthrough access links file; 2) be difficult to guarantee the fail safe of the file deposited in the third party website server, the user of the page of access disk-based web site may have access to the threaded file that contains virus, wooden horse etc. when clickthrough access links file, the file even be kept in the third party website server may be distorted the content into other fully, makes the user of accession page obtain very bad experience.
Summary of the invention
The application's purpose is, a kind of management method and server of threaded file are provided, to realize that in the time can't accessing external linkage file invoking server replaces with the chained address of the external linkage file that calls in Website page the link copy address of local addressable threaded file copy automatically, has guaranteed the accessibility of external linkage file; And guarantee integrality and the fail safe of external linkage file by safety detection.
For achieving the above object, the application provides a kind of management method of threaded file, and described method comprises:
Receive the request message that carries out safety detection that invoking server sends, carry the chained address that threaded file to be detected in application server is corresponding in described request message;
According to the described chained address of carrying in request message, the described threaded file in described application server is carried out to safety detection;
When the result of safety detection while being safe, send the reply message of the chained address that the described threaded file that allows to call in described application server is corresponding to described invoking server, so that the described chained address of described invoking server is set to the Info Link source, and call the threaded file in described application server according to described Info Link source.
The application also provides a kind of management method of threaded file, and described method comprises:
Send the request message that carries out safety detection to the threaded file management server, carry the chained address that threaded file to be detected in application server is corresponding in described request message;
Receive described threaded file management server carries out the result that carries safety detection that sends after safety detection reply message according to described request message;
When the result of described safety detection is safe, call chained address corresponding to described threaded file in described application server, the chained address corresponding to described threaded file of described application server is set to the Info Link source.
Correspondingly, the application also provides a kind of server, and described server comprises:
Receiving element, the request message that carries out safety detection sent for receiving invoking server, carry the chained address that threaded file to be detected in application server is corresponding in described request message;
The safety detection unit, for the described chained address of carrying according to request message, carry out safety detection to the described threaded file in described application server;
The first transmitting element, for when the result of safety detection while being safe, send the reply message of the chained address that the described threaded file that allows to call in described application server is corresponding to described invoking server, so that the described chained address of described invoking server is set to the Info Link source, and call the threaded file in described application server according to described Info Link source.
The application also provides a kind of server, and described server comprises:
Transmitting element, for send the request message that carries out safety detection to the threaded file management server, carry the chained address that threaded file to be detected in application server is corresponding in described request message;
Receiving element, carry out the reply message of the result that carries safety detection that sends after safety detection according to described request message for receiving described threaded file management server;
The first processing unit, while being safe for the result of described safety detection, call chained address corresponding to described threaded file in described application server, and the chained address corresponding to described threaded file of described application server is set to the Info Link source.
Therefore, the application's threaded file management server conducts interviews to outside threaded file by the chained address of external linkage file, realized from the trend invoking server, sending a notification message in the time can't accessing the external linkage file, automatically the chained address of the external linkage file that calls in Website page is replaced with to the link copy address of local addressable threaded file copy by invoking server, guaranteed the accessibility of external linkage file; And guarantee integrality and the fail safe of external linkage file by safety detection.
The accompanying drawing explanation
The Organization Chart of the management method institute application system of the threaded file that Fig. 1 provides for the embodiment of the present application;
The management method flow chart of a kind of threaded file that Fig. 2 provides for the embodiment of the present application;
The management method flow chart of the another threaded file that Fig. 3 provides for the embodiment of the present application;
The schematic diagram of a kind of server that Fig. 4 provides for the embodiment of the present application;
The schematic diagram of the another server that Fig. 5 provides for the embodiment of the present application.
Embodiment
Below by drawings and Examples, the application's technical scheme is described in further detail.
In the management method and server of the threaded file that the application provides, the threaded file management server receives the request message that carries out safety detection that invoking server sends, according to the described chained address of carrying in request message, the threaded file in application server carries out safety detection; When the result of safety detection while being safe, send the reply message of the chained address that the threaded file allow to call in application server is corresponding to invoking server, so that the invoking server chained address is set to the Info Link source, and call the threaded file in application server according to described Info Link source.After the invoking server chained address is set to the Info Link source, the threaded file management server will periodically conduct interviews to described chained address, and the threaded file had access to is carried out to safety verification, if can't have access to threaded file according to described chained address, perhaps can have access to threaded file, but threaded file has been tampered or has carried Virus Info, the threaded file management server will send a notification message to invoking server, notify its cancellation to call the chained address that threaded file in application server is corresponding or this chained address replaced with to this address of auxiliary connection of the local threaded file copy of preserving.Thus, the management method of the application's threaded file has realized that in the time can't accessing external linkage file invoking server replaces with the chained address of the external linkage file that calls in Website page the link copy address of local addressable threaded file copy automatically, has guaranteed the accessibility of external linkage file; And guarantee integrality and the fail safe of external linkage file by safety detection.
The applied system architecture of management method of following paper the application threaded file, as shown in Figure 1, this system comprises application server A, invoking server B, threaded file management server C.The user is when wanting on invoking server B publishing commodity information, because the amount of information that is used for describing these commodity may be larger, as used these commodity of formal description of picture, the user can first this be described picture by the application website client upload to application server B, when application server B receives file, preserve this picture in this locality, and show an accessible outside address by client to the user, be i.e. the external linkage file address of this picture file.When the user passes through the client publishing commodity of e-commerce website, this external linkage file address can be registered to invoking server B, invoking server B sends to threaded file management server C by this threaded file address, threaded file management server C carries out safety detection according to this chained address to this threaded file, and the result of safety detection is sent to invoking server B by replying message, invoking server B can call this chained address according to replying message, and this chained address is set to the Info Link source, the user can acquire threaded file corresponding to this chained address while clicking this Info Link source on client.In the descriptive labelling page behind this chained address, whether threaded file management server C periodically automatic monitoring can have access to the external linkage file by this external threaded file address, and verify whether safety of this external linkage file, and the result of checking is fed back to invoking server B by notification message, make whether in the descriptive labelling page, cancelling the operation of calling this external linkage address by invoking server B.
It should be noted that, invoking server B and threaded file management server C can be two functional modules on same server, can be also two different servers, and the function that threaded file management server C realizes can, by the several Implement of Function Modules on a server, also can be realized by several different servers.In the application's the following examples, with invoking server and threaded file management server, be two different servers; the function that the threaded file management server is realized is embodied as example by a server; the application's technical scheme is described; but this is the description of specific embodiment, and be not used in the protection range that limits the application.In addition, the user wishes that it is merchandise news that the information of issuing on invoking server B also is not limited to, and can be the out of Memory that those skilled in the art know, as: news information, video information etc.
As shown in Figure 2, the management method flow chart of its a kind of threaded file provided for the application.This embodiment main body is the threaded file management server, which describes in detail how the threaded file management server manages outside threaded file, and shown in Fig. 1 and Fig. 2, the threaded file management server can be carried out following steps:
Step 21, receive the request message that carries out safety detection that invoking server sends, and carries the chained address that threaded file to be detected in application server is corresponding in described request message;
In actual applications, e-commerce website is generally understood the amount of information that limited subscriber is uploaded information, and in order to describe in detail, intuitively merchandise news, the user may describe commodity with the document of video, picture, large length, amount of information tends to exceed the restriction of e-commerce website like this, the user can upload to the file of describing commodity on application server thus, and calls and show the chained address of this external linkage in the descriptive labelling page.The embodiment of the present application just be take e-commerce website and is illustrated as example, and the technical scheme of the present embodiment can be applicable to other any websites that those skilled in the art know, as: news website, video website etc.
Threaded file refers to the file on application server that leaves in called in the invoking server webpage, includes but not limited to picture, Flash animation file, the Office of Microsoft file, pdf document, audio/video file, executable file, html web page file, various compressed format files etc.For example, the commodity webpage http://item.taobao.com/item.htm of Taobao? spm=11029o27.3-9TE8D.h-4hor8h& Id=12558817074& The picture file http://www1.tx8.cn/photo/imufy/2011825151331260891.jpg of middle Linked Invoke leaves on external website " naughty Xiaobao " server.
Therefore, before step 21, the file that the user first will link is by client upload corresponding to application server to application server, and application server is preserved this threaded file, and to client return and the reference address that shows this threaded file to the user.After the user gets the reference address of this threaded file, on the e-commerce website client during publishing commodity information, the file uploaded on application server is set to the external linkage file of this descriptive labelling, and registers the external linkage file address of this external linkage file.Invoking server gets the user by after the external linkage file address of e-commerce website client upload, can send the request message of safety detection to the threaded file management server, the hyperlink request document management server detects fail safe and the availability of this threaded file address and threaded file.
For example, the user will issue commodity on e-commerce website, descriptive labelling information comprises a pictures sample.jpg, because e-commerce website is restricted to user's the capacity of uploading (comprising quantity of documents, file size etc.), therefore the user uploads to picture sample.jpg on application website outlink.com, the server of application website outlink.com provides the accessible address of sample.jpg, i.e. external linkage address http://outlink.com/image/sample.jpg.The user during publishing commodity, calls this external linkage address on e-commerce website in the descriptive labelling page, calls the threaded file in the corresponding application server in chained address.After invoking server receives this external linkage address, to the threaded file management server, send the safety detection request message, the hyperlink request document management server detects whether safety of threaded file in application server corresponding to described chained address.Thus, the threaded file management server just can receive the safety detection request message.
Step 22, according to the described chained address of carrying in request message, carry out safety detection to the described threaded file in described application server;
Described threaded file in application server carry out safety detection concrete operation method be: whether the chained address that relatively the described threaded file in application server is corresponding consistent with the address information in the security feature database; When chained address corresponding to the described threaded file in application server is consistent with address information in described security feature database, judge that threaded file is dangerous, carry out to described invoking server and send the step that refusal calls the reply message of the chained address that described threaded file in described application server is corresponding; When the address information in the chained address that the described threaded file in application server is corresponding and described security feature database is inconsistent, obtain described threaded file according to described chained address, and whether the file content of more described threaded file is consistent with the content information in described security feature database, if consistent, judge that described threaded file is dangerous, carry out to described invoking server and send the step that refusal calls the reply message of the chained address that described threaded file in described application server is corresponding; When the content information in the file content of described threaded file and described security feature database is inconsistent, judge described threaded file safety, carry out the step that sends the reply message of the chained address that the described threaded file allow to call in described application server is corresponding to invoking server.After the threaded file management server receives the request message of safety detection, can on network, download the security feature database, and detect the fail safe of threaded file according to this security feature database.Preserved the characteristic information of any known viruse, wooden horse, fishing link etc. in the security feature database.The threaded file management server is when the fail safe according to threaded file address detected threaded file, at first detect the fail safe of threaded file address, the address information that the address of threaded file and fishing in the security feature database are linked compares, if the address of this threaded file is consistent with certain address information in the security feature database, illustrate that this threaded file address is dangerous, can send the reply message that refusal calls the chained address that described threaded file in described application server is corresponding to invoking server, indicate this threaded file address dangerous.If threaded file address safety, the threaded file management server is by the content information of this this threaded file of address acquisition, and content that will be wherein and the content information in the security feature database compare, check whether the threaded file content has carried Virus Info, and the result of detection is sent to invoking server.Be prior art owing to judging by the security feature database whether threaded file has carried virus, repeat no more herein.
In the operating process of execution step 22, when if the threaded file management server can't obtain described threaded file according to described chained address, call the reply message of the chained address that described threaded file in described application server is corresponding to invoking server refusal.
For example, if the threaded file management server can't have access to threaded file by chained address http://outlink.com/image/sample22.jpg, can send one to invoking server and reply message, notify it in the descriptive labelling page, not call this chained address.
As shown in Figure 2, after step 22, also comprise: step 24 when the result of safety detection while being dangerous, sends to described invoking server the reply message that refusal calls the chained address that described threaded file in described application server is corresponding.
For example, after safety detection, the content of finding the threaded file that address that this chained address is a fishing website or this chained address are corresponding comprises the viruses such as virus, wooden horse, illustrate that this threaded file is dangerous, the threaded file management server sends to invoking server the reply message that refusal calls the chained address of described threaded file.
Step 23, when the result of safety detection while being safe, send the reply message of the chained address that the described threaded file that allows to call in described application server is corresponding to described invoking server, so that the described chained address of described invoking server is set to the Info Link source, and call the threaded file in described application server according to described Info Link source.
After fail safe detection to threaded file, just can transmit a reply message to invoking server.If the result of safety detection is safety, send the reply message of the chained address that the described threaded file allow to call in described application server is corresponding, can carry the chained address of threaded file in feedback message, the link copy address of threaded file copy be can also carry, for invoking server, the chained address of this threaded file and the link copy address of threaded file copy preserved.
After invoking server receives the reply message of safety detection result safety, can be set to the Info Link source in this chained address, when the user, the client corresponding by invoking server clicked this chained address, invoking server can obtain the threaded file in application server and be presented on client according to this Info Link source.
Pass through above-mentioned steps, safety detection is carried out in the threaded file that the threaded file management server can call when the publishing commodity the user and the chained address of threaded file, and send the reply message whether call this threaded file, the fail safe of the threaded file called while having guaranteed thus publishing commodity to invoking server according to testing result.
As shown in Figure 2, after step 22, also comprise: step 25,, calculate the first check value of described threaded file, and the threaded file copy of described the first check value and described threaded file is preserved while being safe when the result of safety detection.Detection through step 22, show that threaded file in application server and chained address corresponding to threaded file are after safe testing result, periodically detect the integrality of this threaded file in order to facilitate back, the threaded file management server also can calculate the check value of this threaded file, for example, this threaded file is carried out to the MD5 verification, draw the first check value.
After calculating the first check value, the first check value is kept in local data base, while for back, periodically detecting the fail safe of threaded file, the check value of calculating linking file obtains the second check value, whether with the first check value, judge the integrality of threaded file by the second check value relatively always, judge whether threaded file change has occurred.
The threaded file management server, after the testing result of the safety that obtains threaded file, can also be preserved this threaded file in this locality, obtain the threaded file copy, and preserves the link copy address of this document copy in local data base.For example, for picture sample.jpg, the threaded file management server can be preserved in this locality a copy, and the copy address is http://alibaba.com/image/sample.jpg.
Preserve the relevant information of threaded file in the database of threaded file management server, comprised the link copy address information, file verification value information of the link address information of the threaded file in application server, the local threaded file copy of preserving etc.
As shown in Figure 2, after step 23, also comprise: step 26, the availability of periodic authentication threaded file, fail safe and integrality specifically comprise the following steps:
According to the chained address of described threaded file, access the described threaded file in described application server;
When described threaded file is addressable, the described threaded file in described application server is carried out to safety verification;
When the result of safety verification while being dangerous, send the notification message of cancelling the chained address that the described threaded file that calls in described application server is corresponding to described invoking server; Perhaps send the notification message that the chained address of the described threaded file in described application server is replaced with to the link copy address that described threaded file copy is corresponding.
Because the fail safe of the file of depositing on network is difficult to guarantee, therefore the threaded file management server is after sending the feedback message of the chained address of calling threaded file to invoking server, whether periodic authentication can be had access to the threaded file in application server by this chained address, and whether the verified link file is tampered.Like this, during the threaded file of the chained address of calling in by the descriptive labelling page in cannot having access to application server or threaded file while being tampered, the threaded file management server can be notified the result of checking to invoking server in time, if threaded file cannot be accessed or threaded file is tampered, the threaded file management server can be notified invoking server to cancel to call the chained address that described threaded file in described application server is corresponding or the chained address of the described threaded file in described application server is replaced with to the link copy address that described threaded file copy is corresponding, can guarantee thus the availability of the external linkage file that calls in the descriptive labelling page, integrality and fail safe, improve user's experience effect.
The operating procedure of the described threaded file in described application server being carried out to safety verification is specially: whether the file content of more described threaded file is consistent with the content information in described security feature database, if unanimously, calculate the second check value of described threaded file; Whether more described the first check value is consistent with described the second check value, if consistent, judge described threaded file safety, otherwise judges that described threaded file is dangerous; When described threaded file is dangerous, send the notification message of cancelling the chained address that the described threaded file that calls in described application server is corresponding to described invoking server; Perhaps send the notification message that the chained address of the described threaded file in described application server is replaced with to the link copy address that described threaded file copy is corresponding.
The threaded file management server is when detecting the fail safe of threaded file, at first detect whether safety of threaded file, relatively whether the content information of security feature database detection threaded file is consistent with the content information in the security feature database, if inconsistent, illustrate that this threaded file does not comprise the dangerous information such as virus or wooden horse, has fail safe.After determining that threaded file has fail safe, can calculate again the second check value of this threaded file, due to when user's publishing commodity, the threaded file management server as calculated this threaded file the first check value and the first check value has been kept in local data base, when the fail safe of periodic authentication threaded file, can be whether consistent with the second check value of preserving in local data base by the second check value newly calculated, if consistent, illustrate that threaded file is not tampered, integrality has obtained confirmation.The threaded file management server can be kept at the result of this threaded file fail safe in local data base.
In step 26, also comprise: during described threaded file inaccessible, send the notification message of cancelling the chained address that the described threaded file that calls in described application server is corresponding to described invoking server; Perhaps send the notification message that the chained address of the described threaded file in described application server is replaced with to the link copy address that described threaded file copy is corresponding.
If, by the chained address corresponding to threaded file of preserving in local data base, the threaded file management server can't get the threaded file in application server, if or can have access to threaded file, but there is unsafe factor in threaded file; Perhaps threaded file safety, but threaded file is not identical with initial threaded file, the threaded file management server will be sent in the descriptive labelling page notification message of cancelling the chained address that the threaded file that calls in application server is corresponding or the chained address of the threaded file in described server being replaced with to this address of auxiliary connection of threaded file copy to invoking server.Like this, can be so that invoking server be automatically cancelled the link copy address of calling the chained address that this threaded file is corresponding or described chained address being replaced with to the threaded file copy, and then guarantee accessibility, fail safe and the integrality of threaded file.
Therefore, the application's threaded file management server conducts interviews to outside threaded file by the chained address of external linkage file, realized from the trend invoking server, sending a notification message in the time can't accessing the external linkage file, automatically the chained address of the external linkage file that calls in Website page is replaced with to the link copy address of local addressable threaded file copy by invoking server, guaranteed the accessibility of external linkage file; And guarantee integrality and the fail safe of external linkage file by safety detection.
Above-described embodiment has been described the method that the threaded file management server manages fail safe, integrality and the accessibility of threaded file, and the following examples will be described the concrete grammar of invoking server to the management of the threaded file that calls in website.As shown in Figure 3, the management method flow chart of its another threaded file provided for the embodiment of the present application.This embodiment main body is invoking server.Invoking server is carried out following steps:
Step 31, send the request message that carries out safety detection to the threaded file management server, carry the chained address that threaded file to be detected in application server is corresponding in described request message;
Invoking server is a server of electronic commerce Website platform, when the user will be on e-commerce website publishing commodity, when the descriptor of the descriptive labelling page publishing commodity of website, when if the user has called the chained address of an external linkage file, invoking server will send the request message that carries out safety detection to the threaded file management server, ask it to the threaded file in the corresponding application server in this chained address, to carry out safety detection.For example, the user has called http://outlink.com/image/sample.jpg chained address in the descriptive labelling page, when invoking server receives this chained address, this chained address is sent to the threaded file management server by the safety detection request message.
Step 32, receive described threaded file management server carries out the result that carries safety detection that sends after safety detection reply message according to described request message;
After the threaded file management server receives the request message of safety detection, by the step 21 in embodiment mono-, 22 pairs of chained addresses, for example the threaded file in application server corresponding to http://outlink.com/image/sample.jpg and this address carries out safety detection, after detection, send the reply message of testing result safe to carry to server.
Step 33, when the result of described safety detection is safe, call chained address corresponding to described threaded file in described application server, and the chained address corresponding to described threaded file of described application server is set to the Info Link source.
When the result of safety detection while being safe, be that the threaded file management server can get the threaded file in application server by chained address, and, when the content of chained address, threaded file does not all comprise the information consistent with the characteristic information in the security feature database, the threaded file management server is sent in the reply message of calling this corresponding chained address of threaded file in the descriptive labelling page to invoking server.After invoking server receives this reply message, call this chained address in the descriptive labelling page, call the threaded file in application server corresponding to this chained address.Call this external linkage address in the descriptive labelling page after, invoking server will send feedback message to the user of publishing commodity, notify its external linkage file to call successfully.Successfully call chained address in the descriptive labelling page after, the buyer can get this threaded file by the chained address of clicking in this descriptive labelling page.
As shown in Figure 3, the present embodiment also comprises: step 34, and when the result of described safety detection is dangerous, refuses described chained address and be set to described Info Link source.
It is dangerous that the threaded file management server detects chained address, while in the threaded file content perhaps got by chained address, comprising unsafe content information, to invoking server, send the reply message that refusal calls this chained address in the descriptive labelling page.After invoking server receives and refuses to call the reply message of the chained address that this threaded file is corresponding in the descriptive labelling page, refusal is called to this chained address, and send feedback message to the user of publishing commodity descriptor, notify its external linkage file malloc failure malloc.After the user receives feedback message, the file that can again will link uploads on application server, obtains a new chained address, and again calls this new chained address in the descriptive labelling page.Due to the issue of descriptive labelling information, and to call threaded file in the descriptive labelling page be prior art, repeats no more herein.
On e-commerce website, after successful publishing commodity descriptor, the threaded file management server will periodically detect accessibility, fail safe and the integrality of threaded file.
As shown in Figure 3, the present embodiment also comprises: step 35, and after receiving the notification message of link document management server transmission, automatically cancel and call this chained address or replace this chained address with this address of auxiliary connection, specifically comprise:
Receive the notification message that cancellation that described threaded file management server sends is called the chained address that described threaded file in described application server is corresponding or the chained address of the described threaded file in described application server replaced with to the link copy address that the threaded file copy is corresponding;
According to described notification message, cancel and call chained address corresponding to described threaded file in described application server, or link copy address corresponding to described threaded file copy is set to described Info Link source.
The threaded file management server detects the threaded file inaccessible, or dangerous, or when imperfect, will send a notification message to invoking server.After invoking server receives notification message, can cancel the chained address of calling described threaded file, or the chained address of described threaded file be replaced with to the link copy address of described threaded file copy.
Therefore, when the application's invoking server calls the external linkage file in the descriptive labelling page, send the safety detection request message from trend threaded file management server, confirming that chained address and threaded file call this external linkage file in the descriptive labelling page when safe.And the threaded file inaccessible detected at the threaded file management server, or dangerous, or when imperfect, invoking server can be cancelled the link copy address that the Huo Jianggai chained address, chained address corresponding to threaded file of calling in application server replaces with the local threaded file copy of preserving.Realized that thus invoking server replaces with the chained address of the external linkage file that calls in Website page the link copy address of local addressable threaded file copy automatically, has guaranteed the availability of external linkage file; And guarantee integrality and the fail safe of external linkage file by safety detection.
Correspondingly, the embodiment of the present application also provides a kind of server.As shown in Figure 4, the schematic diagram of its a kind of server provided for the embodiment of the present application.This server comprises:
Receiving element 41, the request message that carries out safety detection sent for receiving invoking server, carry the chained address that threaded file to be detected in application server is corresponding in described request message;
Safety detection unit 42, for the described chained address of carrying according to request message, carry out safety detection to the described threaded file in described application server;
Safety detection unit 42 specifically for: whether the chained address that the described threaded file in more described application server is corresponding consistent with the address information in the security feature database; When chained address corresponding to the described threaded file in described application server is consistent with address information in described security feature database, judge that described threaded file is dangerous, carry out to described invoking server and send the step that refusal calls the reply message of the chained address that described threaded file in described application server is corresponding; When the address information in the chained address that the described threaded file in described application server is corresponding and described security feature database is inconsistent, obtain described threaded file according to described chained address, and whether the file content of more described threaded file is consistent with the content information in described security feature database, if consistent, judge that described threaded file is dangerous, carry out to described invoking server and send the step that refusal calls the reply message of the chained address that described threaded file in described application server is corresponding; When the content information in the file content of described threaded file and described security feature database is inconsistent, judge described threaded file safety, carry out the step that sends the reply message of the chained address that the described threaded file allow to call in described application server is corresponding to invoking server.
The first transmitting element 43, for when the result of safety detection while being safe, send the reply message of the chained address that the described threaded file that allows to call in described application server is corresponding to described invoking server, so that the described chained address of described invoking server is set to the Info Link source, and call the threaded file in described application server according to described Info Link source.
As described in Figure 4, the present embodiment also comprises: the second transmitting element 44, while being dangerous for the result when safety detection, sends to described invoking server the reply message that refusal calls the chained address that described threaded file in described application server is corresponding.
Preferably, the present embodiment also comprises: computing unit 45, while being safe for the result when safety detection, calculate the first check value of described threaded file, and the step that the threaded file copy of described the first check value and described threaded file is preserved.
Preferably, the present embodiment also comprises: addressed location 46, for the chained address according to described threaded file, access the described threaded file in described application server;
Authentication unit 47, when addressable for described threaded file, carry out safety verification to the described threaded file in described application server;
Authentication unit 47 specifically for: whether the file content of more described threaded file consistent with the content information in described security feature database, if consistent, calculates the second check value of described threaded file; Whether more described the first check value is consistent with described the second check value, if consistent, judge described threaded file safety, otherwise judges that described threaded file is dangerous; When described threaded file is dangerous, send the notification message of cancelling the chained address that the described threaded file that calls in described application server is corresponding to described invoking server; Perhaps send the notification message that the chained address of the described threaded file in described application server is replaced with to the link copy address that described threaded file copy is corresponding.
The 3rd transmitting element 48, while being dangerous for the result when safety verification, send the notification message of cancelling the chained address that the described threaded file that calls in described application server is corresponding to described invoking server; Perhaps send the notification message that the chained address of the described threaded file in described application server is replaced with to the link copy address that described threaded file copy is corresponding.
Preferably, the present embodiment also comprises: the 4th transmitting element 49, during for described threaded file inaccessible, sends the notification message of cancelling the chained address that the described threaded file that calls in described application server is corresponding to described invoking server; Perhaps send the notification message that the chained address of the described threaded file in described application server is replaced with to the link copy address that described threaded file copy is corresponding.
Therefore, the application's threaded file management server conducts interviews to outside threaded file by the chained address of external linkage file, realized from the trend invoking server, sending a notification message in the time can't accessing the external linkage file, automatically the chained address of the external linkage file that calls in Website page is replaced with to the link copy address of local addressable threaded file copy by invoking server, guaranteed the accessibility of external linkage file; And guarantee integrality and the fail safe of external linkage file by safety detection.
Correspondingly, the embodiment of the present application also provides a kind of server.As shown in Figure 5, the schematic diagram of its another server provided for the embodiment of the present application.This server comprises:
Transmitting element 51, for send the request message that carries out safety detection to the threaded file management server, carry the chained address that threaded file to be detected in application server is corresponding in described request message;
Receiving element 52, carry out the reply message of the result that carries safety detection that sends after safety detection according to described request message for receiving described threaded file management server;
The first processing unit 53, while being safe for the result of described safety detection, call chained address corresponding to described threaded file in described application server, and the chained address corresponding to described threaded file of described application server is set to the Info Link source.
As shown in Figure 5, the present embodiment also comprises: the second processing unit 54, and while being dangerous for the result of described safety detection, refusing described chained address and be set to described Info Link source.
The 3rd processing unit 55, the notification message that calls the chained address that the described threaded file of described application server is corresponding or the chained address of the described threaded file in described application server is replaced with to the link copy address that the threaded file copy is corresponding for receiving cancellation that described threaded file management server sends; According to described notification message, cancel and call chained address corresponding to described threaded file in described application server, or link copy address corresponding to described threaded file copy is set to described Info Link source.
Therefore, when the application's invoking server calls the external linkage file in the descriptive labelling page, send the safety detection request message from trend threaded file management server, confirming that chained address and threaded file call this external linkage file in the descriptive labelling page when safe.And the threaded file inaccessible detected at the threaded file management server, or dangerous, or when imperfect, invoking server can be cancelled the link copy address that the Huo Jianggai chained address, chained address corresponding to threaded file of calling in application server replaces with the local threaded file copy of preserving.Realized that thus invoking server replaces with the chained address of the external linkage file that calls in Website page the link copy address of local addressable threaded file copy automatically, has guaranteed the availability of external linkage file; And guarantee integrality and the fail safe of external linkage file by safety detection.
The professional should further recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software clearly is described, composition and the step of each example described according to function in the above description in general manner.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.The professional and technical personnel can specifically should be used for realizing described function with distinct methods to each, but this realization should not thought the scope that exceeds the application.
The software module that the method for describing in conjunction with embodiment disclosed herein or the step of algorithm can use hardware, processor to carry out, or the combination of the two is implemented.Software module can be placed in the storage medium of any other form known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
Above-described embodiment; purpose, technical scheme and beneficial effect to the application further describe; institute is understood that; the foregoing is only the application's embodiment; and be not used in the protection range that limits the application; all within the application's spirit and principle, any modification of making, be equal to replacement, improvement etc., within all should being included in the application's protection range.

Claims (20)

1. the management method of a threaded file, is characterized in that, described method comprises:
Receive the request message that carries out safety detection that invoking server sends, carry the chained address that threaded file to be detected in application server is corresponding in described request message;
According to the described chained address of carrying in request message, the described threaded file in described application server is carried out to safety detection;
When the result of safety detection while being safe, send the reply message of the chained address that the described threaded file that allows to call in described application server is corresponding to described invoking server, so that the described chained address of described invoking server is set to the Info Link source, and call the threaded file in described application server according to described Info Link source.
2. method according to claim 1, it is characterized in that, described described threaded file in described application server is carried out to the step of safety detection after, also comprise: when the result of safety detection while being dangerous, to described invoking server, send the reply message that refusal calls the chained address that described threaded file in described application server is corresponding.
3. method according to claim 1, it is characterized in that, when the result of safety detection, while being safe, also comprise: calculate the first check value of described threaded file, and the step that the threaded file copy of described the first check value and described threaded file is preserved.
4. method according to claim 2, is characterized in that, described step of the described threaded file in described application server being carried out to safety detection specifically comprises:
Whether the chained address that the described threaded file in more described application server is corresponding is consistent with the address information in the security feature database;
When chained address corresponding to the described threaded file in described application server is consistent with address information in described security feature database, judge that described threaded file is dangerous, carry out to described invoking server and send the step that refusal calls the reply message of the chained address that described threaded file in described application server is corresponding;
When the address information in the chained address that the described threaded file in described application server is corresponding and described security feature database is inconsistent, obtain described threaded file according to described chained address, and whether the file content of more described threaded file is consistent with the content information in described security feature database, if consistent, judge that described threaded file is dangerous, carry out to described invoking server and send the step that refusal calls the reply message of the chained address that described threaded file in described application server is corresponding;
When the content information in the file content of described threaded file and described security feature database is inconsistent, judge described threaded file safety, carry out the step that sends the reply message of the chained address that the described threaded file allow to call in described application server is corresponding to invoking server.
5. method according to claim 3, is characterized in that, described after invoking server sends the step of reply message of the chained address that the described threaded file allow to call in described application server is corresponding, also comprises:
According to the chained address of described threaded file, access the described threaded file in described application server;
When described threaded file is addressable, the described threaded file in described application server is carried out to safety verification;
When the result of safety verification while being dangerous, send the notification message of cancelling the chained address that the described threaded file that calls in described application server is corresponding to described invoking server; Perhaps send the notification message that the chained address of the described threaded file in described application server is replaced with to the link copy address that described threaded file copy is corresponding.
6. method according to claim 5, is characterized in that, described step of the described threaded file in described application server being carried out to safety verification specifically comprises:
Whether the file content of more described threaded file is consistent with the content information in described security feature database, if unanimously, calculates the second check value of described threaded file;
Whether more described the first check value is consistent with described the second check value, if consistent, judge described threaded file safety, otherwise judges that described threaded file is dangerous;
When described threaded file is dangerous, send the notification message of cancelling the chained address that the described threaded file that calls in described application server is corresponding to described invoking server; Perhaps send the notification message that the chained address of the described threaded file in described application server is replaced with to the link copy address that described threaded file copy is corresponding.
7. method according to claim 5, is characterized in that, after the step of the described threaded file in the described application server of described access, also comprises:
During described threaded file inaccessible, send the notification message of cancelling the chained address that the described threaded file that calls in described application server is corresponding to described invoking server; Perhaps send the notification message that the chained address of the described threaded file in described application server is replaced with to the link copy address that described threaded file copy is corresponding.
8. the management method of a threaded file, is characterized in that, described method comprises:
Send the request message that carries out safety detection to the threaded file management server, carry the chained address that threaded file to be detected in application server is corresponding in described request message;
Receive described threaded file management server carries out the result that carries safety detection that sends after safety detection reply message according to described request message;
When the result of described safety detection is safe, call chained address corresponding to described threaded file in described application server, the chained address corresponding to described threaded file of described application server is set to the Info Link source.
9. method according to claim 8, it is characterized in that, the described threaded file management server of described reception carries out the step of reply message of the result that carries safety detection that sends after safety detection according to described request message after, also comprise: when the result of described safety detection is dangerous, refuses described chained address and be set to described Info Link source.
10. method according to claim 8, is characterized in that, described chained address also comprises after being set to the step in Info Link source:
Receive the notification message that cancellation that described threaded file management server sends is called the chained address that described threaded file in described application server is corresponding or the chained address of the described threaded file in described application server replaced with to the link copy address that the threaded file copy is corresponding;
According to described notification message, cancel and call chained address corresponding to described threaded file in described application server, or link copy address corresponding to described threaded file copy is set to described Info Link source.
11. a server, is characterized in that, described server comprises:
Receiving element, the request message that carries out safety detection sent for receiving invoking server, carry the chained address that threaded file to be detected in application server is corresponding in described request message;
The safety detection unit, for the described chained address of carrying according to request message, carry out safety detection to the described threaded file in described application server;
The first transmitting element, for when the result of safety detection while being safe, send the reply message of the chained address that the described threaded file that allows to call in described application server is corresponding to described invoking server, so that the described chained address of described invoking server is set to the Info Link source, and call the threaded file in described application server according to described Info Link source.
12. server according to claim 11, it is characterized in that, described server also comprises: the second transmitting element, for when the result of safety detection while being dangerous, send the reply message of the chained address that the described threaded file refusing to call in described application server is corresponding to described invoking server.
13. server according to claim 11, it is characterized in that, described server also comprises: computing unit, for when the result of safety detection while being safe, calculate the first check value of described threaded file, and the step that the threaded file copy of described the first check value and described threaded file is preserved.
14. server according to claim 12, is characterized in that, described safety detection unit specifically for:
Whether the chained address that the described threaded file in more described application server is corresponding is consistent with the address information in the security feature database;
When chained address corresponding to the described threaded file in described application server is consistent with address information in described security feature database, judge that described threaded file is dangerous, carry out to described invoking server and send the step that refusal calls the reply message of the chained address that described threaded file in described application server is corresponding;
When the address information in the chained address that the described threaded file in described application server is corresponding and described security feature database is inconsistent, obtain described threaded file according to described chained address, and whether the file content of more described threaded file is consistent with the content information in described security feature database, if consistent, judge that described threaded file is dangerous, carry out to described invoking server and send the step that refusal calls the reply message of the chained address that described threaded file in described application server is corresponding;
When the content information in the file content of described threaded file and described security feature database is inconsistent, judge described threaded file safety, carry out the step that sends the reply message of the chained address that the described threaded file allow to call in described application server is corresponding to invoking server.
15. server according to claim 13, is characterized in that, described server also comprises:
Addressed location, for the chained address according to described threaded file, access the described threaded file in described application server;
Authentication unit, when addressable for described threaded file, carry out safety verification to the described threaded file in described application server;
The 3rd transmitting element, while being dangerous for the result when safety verification, send the notification message of cancelling the chained address that the described threaded file that calls in described application server is corresponding to described invoking server; Perhaps send the notification message that the chained address of the described threaded file in described application server is replaced with to the link copy address that described threaded file copy is corresponding.
16. server according to claim 15, is characterized in that, described authentication unit specifically for:
Whether the file content of more described threaded file is consistent with the content information in described security feature database, if unanimously, calculates the second check value of described threaded file;
Whether more described the first check value is consistent with described the second check value, if consistent, judge described threaded file safety, otherwise judges that described threaded file is dangerous;
When described threaded file is dangerous, send the notification message of cancelling the chained address that the described threaded file that calls in described application server is corresponding to described invoking server; Perhaps send the notification message that the chained address of the described threaded file in described application server is replaced with to the link copy address that described threaded file copy is corresponding.
17. server according to claim 15, is characterized in that, described server also comprises:
The 4th transmitting element, during for described threaded file inaccessible, send the notification message of cancelling the chained address that the described threaded file that calls in described application server is corresponding to described invoking server; Perhaps send the notification message that the chained address of the described threaded file in described application server is replaced with to the link copy address that described threaded file copy is corresponding.
18. a server, is characterized in that, described server comprises:
Transmitting element, for send the request message that carries out safety detection to the threaded file management server, carry the chained address that threaded file to be detected in application server is corresponding in described request message;
Receiving element, carry out the reply message of the result that carries safety detection that sends after safety detection according to described request message for receiving described threaded file management server;
The first processing unit, while being safe for the result of described safety detection, call chained address corresponding to described threaded file in described application server, and the chained address corresponding to described threaded file of described application server is set to the Info Link source.
19. server according to claim 18, is characterized in that, described server also comprises: the second processing unit, and while being dangerous for the result of described safety detection, refusing described chained address and be set to described Info Link source.
20. server according to claim 18, it is characterized in that, described server also comprises: the 3rd processing unit, the notification message that calls the chained address that the described threaded file of described application server is corresponding or the chained address of the described threaded file in described application server is replaced with to the link copy address that the threaded file copy is corresponding for receiving cancellation that described threaded file management server sends; According to described notification message, cancel and call chained address corresponding to described threaded file in described application server, or link copy address corresponding to described threaded file copy is set to described Info Link source.
CN201210179741.1A 2012-06-01 2012-06-01 The management method of threaded file and server Active CN103457916B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210179741.1A CN103457916B (en) 2012-06-01 2012-06-01 The management method of threaded file and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210179741.1A CN103457916B (en) 2012-06-01 2012-06-01 The management method of threaded file and server

Publications (2)

Publication Number Publication Date
CN103457916A true CN103457916A (en) 2013-12-18
CN103457916B CN103457916B (en) 2016-12-14

Family

ID=49739873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210179741.1A Active CN103457916B (en) 2012-06-01 2012-06-01 The management method of threaded file and server

Country Status (1)

Country Link
CN (1) CN103457916B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109033822A (en) * 2018-06-29 2018-12-18 努比亚技术有限公司 External linkage management method, mobile terminal and computer readable storage medium
CN112667581A (en) * 2020-12-07 2021-04-16 贝壳技术有限公司 File link processing method, client and server for text editing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1350245A (en) * 2001-12-03 2002-05-22 上海交通大学 Personal homepage content safety monitoring method
US20090165109A1 (en) * 2005-07-21 2009-06-25 Arcot Systems, Inc. Controlled and client-side authentication module
CN102254111A (en) * 2010-05-17 2011-11-23 北京知道创宇信息技术有限公司 Malicious site detection method and device
CN102419808A (en) * 2011-09-28 2012-04-18 奇智软件(北京)有限公司 Method, device and system for detecting safety of download link

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1350245A (en) * 2001-12-03 2002-05-22 上海交通大学 Personal homepage content safety monitoring method
US20090165109A1 (en) * 2005-07-21 2009-06-25 Arcot Systems, Inc. Controlled and client-side authentication module
CN102254111A (en) * 2010-05-17 2011-11-23 北京知道创宇信息技术有限公司 Malicious site detection method and device
CN102419808A (en) * 2011-09-28 2012-04-18 奇智软件(北京)有限公司 Method, device and system for detecting safety of download link

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109033822A (en) * 2018-06-29 2018-12-18 努比亚技术有限公司 External linkage management method, mobile terminal and computer readable storage medium
CN109033822B (en) * 2018-06-29 2021-09-14 努比亚技术有限公司 External link management method, mobile terminal and computer-readable storage medium
CN112667581A (en) * 2020-12-07 2021-04-16 贝壳技术有限公司 File link processing method, client and server for text editing

Also Published As

Publication number Publication date
CN103457916B (en) 2016-12-14

Similar Documents

Publication Publication Date Title
US8819819B1 (en) Method and system for automatically obtaining webpage content in the presence of javascript
CN103078881B (en) Internet resources Download Info share control system and method
US8995025B2 (en) System and method for sending, delivery and receiving of faxes through computer based networks with a publicly switched telephone network as a backup
US8862675B1 (en) Method and system for asynchronous analysis of URLs in messages in a live message processing environment
US20090089380A1 (en) Aggregating and Delivering Information
US8966621B1 (en) Out-of-band authentication of e-mail messages
US20120278407A1 (en) Automatic uploading of attachments to a shared location
CN103179148B (en) A kind of processing method sharing adnexa in the Internet and system
TW201044836A (en) Managing potentially phishing messages in a non-web mail client context
JP2008521139A5 (en)
US20200074079A1 (en) Method and system for checking malicious hyperlink in email body
CN109784870A (en) Measure of managing contract, device, computer equipment and computer readable storage medium
CN104753730A (en) Vulnerability detection method and device
US8949984B2 (en) Personal information protection system for providing specialized function for host terminal based on Unix and Linux
US20150106879A1 (en) Data recovery method, device and system using same
CN109558378A (en) File management method, device, equipment and storage medium
CN107656742A (en) A kind of software product dissemination method and device
CN110347955B (en) Resource detection method and device
US8793326B2 (en) System, method and computer program product for reconstructing data received by a computer in a manner that is independent of the computer
CN103457916A (en) Method for managing chained file and server
US10462246B2 (en) Unified content posting
CN109040080B (en) File tampering processing method and device, cloud service platform and storage medium
US20140013155A1 (en) System and method for facilitating recovery from a document creation error
US20140355068A1 (en) Embedded document destination routing restrictions
US20120215908A1 (en) Method and system for detecting improper operation and computer-readable non-transitory storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant