118 research outputs found

    Extracting Protocol Format as State Machine via Controlled Static Loop Analysis

    Full text link
    Reverse engineering of protocol message formats is critical for many security applications. Mainstream techniques use dynamic analysis and inherit its low-coverage problem -- the inferred message formats only reflect the features of their inputs. To achieve high coverage, we choose to use static analysis to infer message formats from the implementation of protocol parsers. In this work, we focus on a class of extremely challenging protocols whose formats are described via constraint-enhanced regular expressions and parsed using finite-state machines. Such state machines are often implemented as complicated parsing loops, which are inherently difficult to analyze via conventional static analysis. Our new technique extracts a state machine by regarding each loop iteration as a state and the dependency between loop iterations as state transitions. To achieve high, i.e., path-sensitive, precision but avoid path explosion, the analysis is controlled to merge as many paths as possible based on carefully-designed rules. The evaluation results show that we can infer a state machine and, thus, the message formats, in five minutes with over 90% precision and recall, far better than state of the art. We also applied the state machines to enhance protocol fuzzers, which are improved by 20% to 230% in terms of coverage and detect ten more zero-days compared to baselines

    Learning to Simulate: Generative Metamodeling via Quantile Regression

    Full text link
    Stochastic simulation models, while effective in capturing the dynamics of complex systems, are often too slow to run for real-time decision-making. Metamodeling techniques are widely used to learn the relationship between a summary statistic of the outputs (e.g., the mean or quantile) and the inputs of the simulator, so that it can be used in real time. However, this methodology requires the knowledge of an appropriate summary statistic in advance, making it inflexible for many practical situations. In this paper, we propose a new metamodeling concept, called generative metamodeling, which aims to construct a "fast simulator of the simulator". This technique can generate random outputs substantially faster than the original simulation model, while retaining an approximately equal conditional distribution given the same inputs. Once constructed, a generative metamodel can instantaneously generate a large amount of random outputs as soon as the inputs are specified, thereby facilitating the immediate computation of any summary statistic for real-time decision-making. Furthermore, we propose a new algorithm -- quantile-regression-based generative metamodeling (QRGMM) -- and study its convergence and rate of convergence. Extensive numerical experiments are conducted to investigate the empirical performance of QRGMM, compare it with other state-of-the-art generative algorithms, and demonstrate its usefulness in practical real-time decision-making.Comment: Main body: 36 pages, 7 figures; supplemental material: 12 page

    Event-triggered output consensus for linear multi-agent systems via adaptive distributed observer

    Get PDF
    summary:This paper investigates the distributed event-triggered cooperative output regulation problem for heterogeneous linear continuous-time multi-agent systems (MASs). To eliminate the requirement of continuous communication among interacting following agents, an event-triggered adaptive distributed observer is skillfully devised. Furthermore, a class of closed-loop estimators is constructed and implemented on each agent such that the triggering times on each agent can be significantly reduced while at the same time the desired control performance can be preserved. Compared with the existing open-loop estimators, the proposed estimators can provide more accurate state estimates during each triggering period. It is further shown that the concerned cooperative output regulation problem can be effectively resolved under the proposed control scheme and the undesirable Zeno behavior can be excluded. Finally, the effectiveness of the proposed results is verified by numerical simulations

    RESEARCH ON THE ASEISMIC BEHAVIOR OF LONG-SPAN CABLE-STAYED BRIDGE WITH DAMPING EFFECT

    Get PDF
    The main beam of a cable-stayed bridge with a floating system may have a larger longitudinal displacement subject to earthquake effect. Thus, seismic control and isolation are crucial to bridge safety. This paper takes Huai’an Bridge, which has elastic coupling devices and viscous dampers set at the joint of the tower and the beam, as the research background. Its finite element model is established, and the elastic stiffness of elastic coupling devices and damper parameters are analyzed. Viscous damper and elastic coupling devices are simulated using Maxwell model and spring elements, and their damping effects are analyzed and compared through structural dynamic time-history analysis. Results show that viscous damper and elastic coupling device furnished at the joint of tower and beam of a cable-stayed bridge tower beam can effectively reduce the longitudinal displacement of the key part of the construction subject to earthquake effect, perfect the internal force distribution, and improve the aseismic performance. Between the two, viscous damper has better damping effects

    Multi-body dynamic simulation and vibration transmission characteristics of dual-rotor system for aeroengine with rubbing coupling faults

    Get PDF
    In this paper, a dual-rotor system multi-body dynamic model with rubbing coupling faults is established for practical aero-engine. In the model, the rubbing fault simulation method is introduced, the coupling effect between the internal and external rotor is considered. The numerical simulations of rotor vibration are accomplished by the utilization of multi-body dynamic platform, where the simulation model consists of discs unbalances and local rub-impact between discs and casing shells. The time-domain responses, the frequency spectra and the shaft-center trajectories of dual-rotor with different unbalance and different rubbing positions are obtained. The vibration and its transmission characteristics of the inner and outer rotors are calculated. Finally, the simulation results are compared with the measured vibration of a dual rotor tester with rubbing fault. The simulation results are consistent with the measured results, which confirms the feasibility of the established model and the multi-body dynamics simulation method in this paper. The application of multi-body dynamics simulation method in aero-engine can deepen the understanding of the internal operation nature and laws of aero-engine, reduce the repetition of physical tests, greatly improve the efficiency and quality of development, accelerate the research and manufacture process

    Dynamic responses of a 2R manipulator in zero-gravity state excited by ender impacts and base motions

    Get PDF
    In this paper dynamic responses of a 2R manipulator which operates in zero-gravity state of out-space station are studied, specially considering both the impacts which are applied on its link ender and the base motion excitation. The ender impact and joint impact refer to the forces induced by capturing free-flying target or sudden locked of joint respectively, whereas the base motion excitation of the manipulator refers to the motion of its attached spacecraft. Firstly the governing equations of the 2R manipulator subjected to above two categories of excitations are established. The joint frictions are also included and expressed by Stribeck friction model together with flexible stiffnesses of joints. Numerical simulations of the dynamic model of the system under different cases of impact and base motion excitations show that the dynamic behaviors of the ender of the manipulator are differently described by both transient trajectories in time-domain and amplitude-frequency spectra in frequency domain

    Modeling and experiments of rotor system with oil-block inside its drum cavity

    Get PDF
    A few volume of lubricate oil leaking inside the cavity of the rotating drum can cause severe vibrations, which have been observed on-site at aero-engine compressors. This paper proposes a modeling method for the rotor system which is excited by the oil-block. Firstly, the differential equations of the lumped dynamic system of a representative rotor system with a congregated oil-block inside the drum are deduced, in which the external excitation force caused by oil-block is modeled equivalently by both inertial force and sliding frictional force. Then, numerical simulations are carried out to demonstrate the transverse vibration behaviors of the rotor system and both rotating speeds and mass of the oil-block are taken into account. The obtained nonsynchronous whirling vibrations of the rotor system caused by the oil-block are validated by experimental measurements of transverse vibrations of the shaft on a rotor test rig. The results show that, when the rotating speed runs up to the first critical speed, the oil-block will slide along the inner wall of the drum and keep on rotating with the drum delayed in a slowly changing phase angle, and the amplitudes and frequency spectra of the nonsynchronous whirling vibrations of the shaft are found to be sensitive to the oil mass and viscous damping coefficients of the system

    Dialogue State Induction Using Neural Latent Variable Models

    Full text link
    Dialogue state modules are a useful component in a task-oriented dialogue system. Traditional methods find dialogue states by manually labeling training corpora, upon which neural models are trained. However, the labeling process can be costly, slow, error-prone, and more importantly, cannot cover the vast range of domains in real-world dialogues for customer service. We propose the task of dialogue state induction, building two neural latent variable models that mine dialogue states automatically from unlabeled customer service dialogue records. Results show that the models can effectively find meaningful slots. In addition, equipped with induced dialogue states, a state-of-the-art dialogue system gives better performance compared with not using a dialogue state module.Comment: IJCAI 202

    Study of vibration characteristics of the short thin cylindrical shells and its experiment

    Get PDF
    The short thin cylindrical shells are important component used in rotating machinery and its function is to connect shafts and transmitted torque. The kind of components is always destroyed due to vibrational state, so it is necessary to further research on the vibration characteristics. In this paper, the vibration characteristics of short thin cylindrical shells are solved using the beam function method, the transfer matrix method and the finite element method respectively. The solving results of three calculating methods are compared by simulation in the clamped-free and clamped-clamped boundary conditions. The simulation results show that the solving results of the transfer matrix method are close to the results of finite element method, but the deviation of the results of the beam functions method is larger than the other two methods. Furthermore, the experiments of the short thin cylindrical shell in the clamped-free boundary conditions are studied. The experimental results verify that the transfer matrix method and the finite element method are applicability to solve the vibration characteristics of the short thin cylindrical shells
    corecore