摘要:
A position detecting system and method for an electronic device used an audio signal input module of the electronic device and a signal receiver to connect to the audio signal input module convert an external position signal into an audio signal. A position detecting software running on the electronic device analyzes the audio signal. Accordingly, the current position of the electronic device is obtained. The audio signal input module of the electronic device is employed as an input port for the external position signal, thus saving the construction cost of the system. Besides, the current position of the electronic device with an ever-changing position can be obtained during a test process, such that the electronic device can start or stop a test item accordingly.
摘要:
A virtual disk (VD) router system, a VD access system, and a method therefor, applied to a dual-controller system including a first controller and a second controller, are provided. First, a mapping virtual block device (VBD) corresponding to a VD of the second controller and/or the first controller is established in the first controller and/or the second controller, and a mapping relation list and a data transmission channel of the VD and the corresponding VBD thereof are established. When the first controller/the second controller issues an access request to the VD of the second controller/the first controller, the data transmission channel is used to transmit the access request to the VD and transmit the response data to the access request from the VD. Therefore, the overall access to all the VDs in the dual-controller system can be achieved.
摘要:
A file data restoring system and method of a computer operating system and software thereof are applied in the installation of an operating system into a client computer. Divide the file data corresponding to the operating system into data blocks according to an appointed data size. Generate a check code for each of the data blocks to form a sequence list of original check codes and a sequence list of target check codes. Compare the sequence list of original check codes with the sequence list of target check codes, after installing the operating system into the computer. If the comparison result is inconsistent, a restoring call information is sent out. The position of the inconsistent check code is acquired through the restoring call information and the comparison result. The original file data corresponding to the position of the check code is read and restored to a corresponding target file.
摘要:
A stress testing method of a file system includes traversing local or network storage devices with a drive letter; detecting a network mapping path of the network storage devices; calculating an absolute path of all the storage devices through a mounted point and a system volume; collecting the above information to update the path information of the file system; and then calling a corresponding test algorithm and stressing strategy according to different types of storage devices, so as to perform the stress test. The stress testing method can make the file system display storage devices without a drive letter, and call appropriate testing methods and stressing strategies for different types of storage devices, so the depth and scope of the stress testing for file system are expanded, the accuracy of the test is enhanced, and the problem of occupying too many system resources is avoided.
摘要:
A network packet capturing method for capturing a plurality of packets from a physical layer to an application layer by a network server through a network card is described. The packet capturing method includes the following steps. Capture packets by a new application interface (NAPI); set a ring queue in a kernel; provide a hook process for capturing the packets; store the captured packets into the ring queue; and map the packets stored in the ring queue into a memory space of a corresponding application through memory mapping, thereby reducing the number of interrupts of the system and the number of replications during the packets parsing.
摘要:
A system and a method for performing data reading and writing on a physical storage device. A plurality of controllers under a common storage environment is used to realize data read and write operation performed on the physical storage device by a remote client. Firstly, the client assigns a controller in the plurality of controllers as a controller for executing the read and write operation, and each controller performs transmission of management data and cache data of the data to be written in the physical storage device through interlink. Then, the assigned controller reads data from the physical storage device or writes data into the physical storage device through corresponding logical storage device.
摘要:
A remote replication synchronizing/accessing system and a method thereof applied between a local system and a remote mirroring system of the local system. After the remote mirroring system is created, an initialization synchronous operation of the remote mirroring system is sequentially performed according to a sequence of data blocks in storage of the local system. A small-granulated exclusive lock function is established between the initialization synchronous operation and a data-accessing request operation of the local system. During the initialization synchronous process of the remote mirroring system, it is determined whether a data block position corresponding to the current initialization synchronous operation is the same as that corresponding to the data-accessing request operation or not. Finally, according to a position determination result and the small-granulated exclusive lock function, a data-accessing request is directed processed or processed after finishing the initialization synchronous operation.
摘要:
An apparatus and a method for testing audio jacks of a sound card are applicable for detecting whether at least one audio jack of the sound card in a personal computer (PC) sounds normally. Each audio jack provides at least one sound channel for transmitting a sound signal. The testing system includes driving circuits and a plurality of light-emitting units. The driving circuits are electrically connected to the sound card and an external voltage source, and used to change a current transmitting path according to the received sound signal. The light-emitting units are electrically connected to the driving circuits, and receive the current generated from the driving circuit, such that the light-emitting units emit lights. A sound channel to be tested is selected first, and a sound signal is sent to the sound channel. After the testing apparatus receives the sound signal, the light-emitting units emit lights.
摘要:
A system of creating logical volume and method thereof is used to solve the problems such as creation steps are complicated, a space of storage medium is wasted and the number of snapshots to be created is limited. An available logical volume space and a timestamp storage area are allocated in the logical volume according to space allocation algorithm. According to original data and data amended at subsequent time point in the logical volume, copy-on-write operation is sequentially performed on the amended data in the logical volume to create a timestamp corresponding to the time point. The timestamp of the corresponding time point is stored in the timestamp storage area. A storage medium offset address pointer is created to record writing position of the copy-on-write operation of the corresponding time point. And the pointer is stored in the storage medium to serve as index information of address of each timestamp.
摘要:
An alarm method for insufficient storage space of a network storage system is provided. The method includes the following steps. Preset a time alarm threshold value according to a current operation state of the system when allocating storage spaces to users. Estimate a time that written data fully occupy a current remaining space according to a data writing speed to the storage space, a current idle memory of the system, total dirty data in a cache of the system, and the current remaining space in the storage space. Compare the estimated time value and the time alarm threshold value. And, send alarm information when the estimated time value is smaller than the time alarm threshold value. By setting the alarm threshold value of a time concept, a timely alarm of insufficient storage space is realized, which enhances the effective management of the storage space.