Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

File name processing method, device and server

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

Active Publication Date: 2019-05-14
四川苏格通讯技术有限公司 +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
  • File name processing method, device and server
  • File name processing method, device and server
  • File name processing method, 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 file name processing method, device and server. The file name processing method of the present invention, the method includes: according to the IP address requested by the client to connect, determining the geographic location information of the terminal where the client is located; obtaining the encoding method corresponding to the geographic location information; according to the encoding In a manner, the file name requested by the client is encoded, and the encoded file name is sent to the client. The present invention realizes the encoding of the file name requested by the client according to the encoding method used by the client, avoids the phenomenon of garbled characters when the client displays the file names in the file list in the server, and improves the communication between the client and the client. Reliability of file sharing between servers.

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 Patents(China)
IPC IPC(8): H04L29/08
CPCH04L67/06H04L67/52
Inventor 陈红波
Owner 四川苏格通讯技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products