Filename processing method and device and server

A processing method and file name technology, which is applied in the field of communication, can solve problems such as garbled file names, reduce the reliability of file sharing between the client and server, and fail to recognize file names, so as to achieve the effect of improving reliability

Active Publication Date: 2016-04-20
四川苏格通讯技术有限公司 +1
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the encoding method of the file name transmitted by the server to the client is the encoding method of the server, and the client will use its own encoding method to decode the file name. If the encoding method adopted by the server is inconsistent with the encoding method adopted by the client, resulting in The client cannot recognize the characters of the file name when decoding the file name. At this time, the file name displayed on the client is garbled, which reduces the reliability of file sharing between the client and the server.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Filename processing method and device and server
  • Filename processing method and device and server
  • Filename processing method and device and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] figure 1 It is a flowchart of an embodiment of the processing method of the file name of the present invention, such as figure 1 As shown, the processing method of the file name of the present embodiment may include the following steps:

[0045] 100. Determine the geographic location information of the terminal where the client is located according to the IP address requested by the client to connect.

[0046] When each client connects to the server, network connection devices such as routers will assign a corresponding IP address to each client, so that the client can be individually managed according to the IP address corresponding to each client, so the server can obtain The IP address to which the client requests a connection.

[0047] Specifically, there is a "socket (Socket)" connection between the server and the client, and the Socket is used to describe the IP address and port. For example, the server can invoke the specified program:

[0048] Sockets = serv...

Embodiment 2

[0060] figure 2 It is a flowchart of another embodiment of the file name processing method of the present invention, and the file name processing method of this embodiment is in figure 1 The technical solutions of the present invention will be further described in more detail on the basis of the illustrated embodiments.

[0061] Such as figure 2 As shown, the processing method of the file name of the present embodiment may include the following steps:

[0062] 200. Store the corresponding relationship between the geographic location information and the coding mode.

[0063] Different encoding methods are used for different geographic location information. You can count the corresponding encoding methods of each geographic location information to obtain the corresponding relationship between geographic location information and encoding methods, or directly download the geographic location information and encoding methods on the browser. Correspondence.

[0064] Specifical...

Embodiment 3

[0084] image 3 It is a schematic structural diagram of an embodiment of the processing device of the document of the present invention, such as image 3 As shown, the device for processing files in this embodiment includes a determination module 10 , an acquisition module 11 , a processing module 12 and a sending module 13 .

[0085] In a specific implementation process, information data and the like can be transmitted between modules.

[0086] The determining module 10 is configured to determine the geographic location information of the terminal where the client is located according to the IP address requested by the client to connect.

[0087] An acquisition module 11, configured to acquire a coding method corresponding to the geographic location information;

[0088] The processing module 12 is configured to encode the file name requested by the client according to the encoding method corresponding to the geographic location information acquired by the acquiring module ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a filename processing method and device and a server. The method includes: determining the geographical location information of a terminal where a client is located according to an IP address which the client requests to be connected to; acquiring the encoding mode corresponding to the geographical location information; encoding the filenames requested by the client according to the encoding mode, and transmitting the filenames obtained after the encoding to the client. The method has the advantages that the filenames requested by the client are encoded according to the encoding mode used by the client, messy codes appeared when the client shows the filenames in the file list in the server are avoided, and the file sharing reliability between the client and the server is increased.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a file name processing method, device and server. Background technique [0002] With the maturity of technologies such as computers and network communications, the network has almost become an indispensable source of information in people's lives. For example, a file transfer protocol (File Transfer Protocol, FTP) is used to communicate between the client and the server to realize file sharing. [0003] In the prior art, before the server leaves the factory, the server manufacturer can generally set an encoding method in the server according to the encoding method used by the client using the server under normal circumstances, and the server will use this encoding method to send the required The client's filename is encoded. [0004] However, the encoding method of the file name transmitted by the server to the client is the encoding method of the server, and the client ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08
CPCH04L67/06H04L67/52
Inventor 陈红波
Owner 四川苏格通讯技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products