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

Method and system for optimizing automatic scanning speed of CIFS sharing equipment of local area network

A technology for automatic scanning and sharing of equipment, which is applied in transmission systems, program control design, instruments, etc., and can solve problems such as taking a long time

Active Publication Date: 2020-09-15
HUNAN HAPPLY SUNSHINE INTERACTIVE ENTERTAINMENT MEDIA CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen from this that the existing scanning method uses a fixed scanning method to scan all IP addresses in the network segment where the current LAN is located, and it takes a long time to determine the shared device

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
  • Method and system for optimizing automatic scanning speed of CIFS sharing equipment of local area network
  • Method and system for optimizing automatic scanning speed of CIFS sharing equipment of local area network
  • Method and system for optimizing automatic scanning speed of CIFS sharing equipment of local area network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0054] Such as figure 1 As shown, it is a method flow chart of Embodiment 1 of a method for optimizing the automatic scanning speed of a CIFS shared device in a local area network disclosed by the present invention, and the method may include the following steps:

[0055] S101. Obtain the IP address of the local area network where the device is currently located;

[0056]When it is necessary to optimize the automatic scanning speed of the CIFS shared device i...

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 discloses a method and system for optimizing the automatic scanning speed of CIFS shared equipment of a local area network, and the method comprises the steps: calculating the total number M of all IP addresses and an initial IP address a of a current local area network segment, and setting the number N of threads of automatic scanning in a self-adaptive manner based on the performance parameters of equipment; setting a priority scanning IP address list based on the initial IP address a and the number N of threads of automatic scanning; calculating the number L of scanning IP tasks which need to be averagely distributed by each thread; initially setting a scanning IP two-dimensional array of each scanning thread based on the number N of threads for automatic scanning and thenumber L of scanning IP tasks needing to be averagely distributed by each thread; adjusting the scanning IP two-dimensional array of each scanning thread based on the priority scanning IP address list; and judging whether historical shared equipment exists in the current network segment or not, and if not, starting N scanning threads, and starting to scan the IP addresses in the adjusted two-dimensional array one by one. The time for determining the shared device can be effectively shortened.

Description

technical field [0001] The invention relates to the technical field of local area network sharing, in particular to a method and system for optimizing the automatic scanning speed of a local area network CIFS (Common Internet File System, common network file system) sharing device. Background technique [0002] At present, on smart terminals based on the Android operating system platform, for file browser applications that support access to network file sharing based on the CIFS protocol, the application usually automatically scans all IP addresses in the network segment where the current local area network is located through multi-threaded traversal scanning. Discover all shared devices. It can be seen from this that the existing scanning method uses a fixed scanning method to scan all IP addresses in the network segment where the current local area network is located, and it takes a long time to determine the shared device. [0003] Therefore, how to shorten the time for ...

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
IPC IPC(8): G06F9/4401H04L29/12
CPCG06F9/4416H04L61/5007
Inventor 赵文娴刘广宾郝成李尧彦邓晓天彭琳谢绍强
Owner HUNAN HAPPLY SUNSHINE INTERACTIVE ENTERTAINMENT MEDIA CO LTD
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