Lin Qi
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Lin Qi has a total of 16 co-authors. Here are the top co-authors by number of shared publications:
- Yang Zhang
School of Information Science and Engineering, Hebei University of Science and Technology, Shijiazhuang, China
2 shared publications - Bolin Dai
Hebei University of Science and Technology, Shijiazhuang, China
1 shared publication - Enqing Chen
School of Electrical and Information Engineering Zhengzhou University 450001 Zhengzhou Henan China
1 shared publication - Fan Zhang
Yale University, New Haven, CT
1 shared publication - Grant Meredith
Federation University
1 shared publication - Jingjing Liu
School of Information Science and Engineering, Hebei University of Science and Technology, Shijiazhuang 050018, P. R. China
1 shared publication
Latest Publications
- Open Access
- 2 October 2024
- Published by MDPI AG in Applied Sciences
- Vol. 14 (19)
Automatic Refactoring Approach for Asynchronous Mechanisms with CompletableFuture
To address the inherent limitations of Future in asynchronous programming frameworks, JDK 1.8 introduced the CompletableFuture class, which features approximately 50 different methods for composing and executing asynchronous computations and handling exceptions. This paper proposes an automatic refactoring method that integrates multiple static analysis techniques, including visitor pattern analysis, alias analysis, and executor inheritance structure analysis, to conduct precondition checks. Distinct from existing Future refactoring methods, this approach considers custom executor types, thereby extending its applicability. Using this method, the ReFuture automatic refactoring plugin was implemented within the Eclipse JDT framework. The method was evaluated in terms of the number of refactorings, refactoring time, and error introduction, alongside a side-by-side comparison with the existing method. The refactoring outcomes for nine large applications, including ActiveMQ, Hadoop, and Elasticsearch, show that ReFuture successfully refactored 639 out of 813 potential code structures, achieving a refactoring success rate of 64.70% without introducing errors. This tool effectively facilitates the refactoring to CompletableFuture and enhances refactoring efficiency compared to manual methods.
- 2 October 2024
- Published by MDPI AG in Applied Sciences
- Vol. 14 (19)
Open AccessAutomatic Refactoring Approach for Asynchronous Mechanisms with CompletableFuture
To address the inherent limitations of Future in asynchronous programming frameworks, JDK 1.8 introduced the CompletableFuture class, which features approximately 50 different methods for composing and executing asynchronous computations and handling exceptions. This paper proposes an automatic refactoring method that integrates multiple static analysis techniques, including visitor pattern analysis, alias analysis, and executor inheritance structure analysis, to conduct precondition checks. Distinct from existing Future refactoring methods, this approach considers custom executor types, thereby extending its applicability. Using this method, the ReFuture automatic refactoring plugin was implemented within the Eclipse JDT framework. The method was evaluated in terms of the number of refactorings, refactoring time, and error introduction, alongside a side-by-side comparison with the existing method. The refactoring outcomes for nine large applications, including ActiveMQ, Hadoop, and Elasticsearch, show that ReFuture successfully refactored 639 out of 813 potential code structures, achieving a refactoring success rate of 64.70% without introducing errors. This tool effectively facilitates the refactoring to CompletableFuture and enhances refactoring efficiency compared to manual methods.
- 5 June 2024
- Published by World Scientific Pub Co Pte Ltd in International Journal of Software Engineering and Knowledge Engineering
- Vol. 34 (07) , 1063-1093
Consistency Checking for Refactoring from Coarse-Grained Locks to Fine-Grained Locks
Refactoring for locks is widely used to improve the scalability and performance of concurrent programs. However, when refactoring from coarse-grained locks to fine-grained locks, the behavior of concurrent programs may be changed. To this end, we present LockCheck, a consistency-checking approach based on the parallel extended finite automaton for fine-grained locks. First, we model the critical sections of concurrent programs through control flow analysis and dependency analysis. Second, we sequentialize the concurrent programs to get all the possible transition paths. Furthermore, it reduces the exploration of the redundant paths using partial order theory to obtain the compared transition paths. Finally, we combine consistency rules to check the consistency of the program before and after refactoring. We evaluated LockCheck in five open-source projects. A total of 1528 refactoring operations have been evaluated and 93 inconsistent refactoring operations have been detected. The results show that LockCheck can effectively detect inconsistent behavior when coarse-grained locks are refactored into fine-grained locks.
- 5 June 2024
- Published by World Scientific Pub Co Pte Ltd in International Journal of Software Engineering and Knowledge Engineering
- Vol. 34 (07) , 1063-1093
Consistency Checking for Refactoring from Coarse-Grained Locks to Fine-Grained Locks
Refactoring for locks is widely used to improve the scalability and performance of concurrent programs. However, when refactoring from coarse-grained locks to fine-grained locks, the behavior of concurrent programs may be changed. To this end, we present LockCheck, a consistency-checking approach based on the parallel extended finite automaton for fine-grained locks. First, we model the critical sections of concurrent programs through control flow analysis and dependency analysis. Second, we sequentialize the concurrent programs to get all the possible transition paths. Furthermore, it reduces the exploration of the redundant paths using partial order theory to obtain the compared transition paths. Finally, we combine consistency rules to check the consistency of the program before and after refactoring. We evaluated LockCheck in five open-source projects. A total of 1528 refactoring operations have been evaluated and 93 inconsistent refactoring operations have been detected. The results show that LockCheck can effectively detect inconsistent behavior when coarse-grained locks are refactored into fine-grained locks.
- Open Access
- 13 February 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 12, 25176-25187
A Novel Hybrid Model of CEEMDAN-CNN-SAGU for Shanghai Copper Price Prediction
As an essential metal, copper has the advantages of electrical conductivity and ductility, which is widely used in power transmission, electronics manufacturing and machining. The fluctuation of copper’s price significantly impacts the industry and particularly affects national economic development. Therefore, predicting copper price has great significance for economic development. However, traditional time series prediction models’ prediction accuracy is low. Therefore, this paper proposes a Shanghai copper price forecasting model based on Complete Ensemble Empirical Mode Decomposition with Adaptive Noise (CEEMDAN), Conventional Neural Network (CNN), Self Attention Gated Unit (SAGU), named CEEMDAN-CNN-SAGU. CEEMDAN decomposes and reconstructs the Shanghai copper price data. In this paper, the zero-cross rate of the Intrinsic Mode Function (IMF) components is calculated, the IMF component with large noise is removed, and the remaining IMFs and residual term are reorganized to obtain the high-frequency and low-frequency components. CNN performs convolution operations on the reconstructed components to extract time series features from different components. SAGU is a new time series data prediction model proposed in this paper. SAGU includes two gated units, a forgetting gate and an input gate, and two data processing modules, Self Attention (SA) and Tra (Transition). The SA module is responsible for processing the input data, redistributing the weight coefficients of different data, and improving the model’s attention to important information. The Tra module improves the low limit of the forgetting gate’s output so that the gated unit can keep the cell state from the previous moment to the current moment as much as possible. This paper uses Shanghai copper trading data from Shanghai Futures Exchange as experimental data. The comparison experiment with the other eleven prediction models shows that the CEEMDAN-CNN-SAGU model outperforms other models in all evaluation indexes.
- 13 February 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 12, 25176-25187
Open AccessA Novel Hybrid Model of CEEMDAN-CNN-SAGU for Shanghai Copper Price Prediction
As an essential metal, copper has the advantages of electrical conductivity and ductility, which is widely used in power transmission, electronics manufacturing and machining. The fluctuation of copper’s price significantly impacts the industry and particularly affects national economic development. Therefore, predicting copper price has great significance for economic development. However, traditional time series prediction models’ prediction accuracy is low. Therefore, this paper proposes a Shanghai copper price forecasting model based on Complete Ensemble Empirical Mode Decomposition with Adaptive Noise (CEEMDAN), Conventional Neural Network (CNN), Self Attention Gated Unit (SAGU), named CEEMDAN-CNN-SAGU. CEEMDAN decomposes and reconstructs the Shanghai copper price data. In this paper, the zero-cross rate of the Intrinsic Mode Function (IMF) components is calculated, the IMF component with large noise is removed, and the remaining IMFs and residual term are reorganized to obtain the high-frequency and low-frequency components. CNN performs convolution operations on the reconstructed components to extract time series features from different components. SAGU is a new time series data prediction model proposed in this paper. SAGU includes two gated units, a forgetting gate and an input gate, and two data processing modules, Self Attention (SA) and Tra (Transition). The SA module is responsible for processing the input data, redistributing the weight coefficients of different data, and improving the model’s attention to important information. The Tra module improves the low limit of the forgetting gate’s output so that the gated unit can keep the cell state from the previous moment to the current moment as much as possible. This paper uses Shanghai copper trading data from Shanghai Futures Exchange as experimental data. The comparison experiment with the other eleven prediction models shows that the CEEMDAN-CNN-SAGU model outperforms other models in all evaluation indexes.
- Open Access
- 8 September 2019
- Published by MDPI AG in Applied Sciences
- Vol. 9 (18) , 3753
Performance Evaluation of Region-Based Convolutional Neural Networks Toward Improved Vehicle Taillight Detection
Increasingly serious traffic jams and traffic accidents pose threats to the social economy and human life. The lamp semantics of driving is a major way to transmit the driving behavior information between vehicles. The detection and recognition of the vehicle taillights can acquire and understand the taillight semantics, which is of great significance for realizing multi-vehicle behavior interaction and assists driving. It is a challenge to detect taillights and identify the taillight semantics on real traffic road during the day. The main research content of this paper is mainly to establish a neural network to detect vehicles and to complete recognition of the taillights of the preceding vehicle based on image processing. First, the outlines of the preceding vehicles are detected and extracted by using convolutional neural networks. Then, the taillight area in the Hue-Saturation-Value (HSV) color space are extracted and the taillight pairs are detected by correlations of histograms, color and positions. Then the taillight states are identified based on the histogram feature parameters of the taillight image. The detected taillight state of the preceding vehicle is prompted to the driver to reduce traffic accidents caused by the untimely judgement of the driving intention of the preceding vehicle. The experimental results show that this method can accurately identify taillight status during the daytime and can effectively reduce the occurrence of confused judgement caused by light interference.
- 8 September 2019
- Published by MDPI AG in Applied Sciences
- Vol. 9 (18) , 3753
Open AccessPerformance Evaluation of Region-Based Convolutional Neural Networks Toward Improved Vehicle Taillight Detection
Increasingly serious traffic jams and traffic accidents pose threats to the social economy and human life. The lamp semantics of driving is a major way to transmit the driving behavior information between vehicles. The detection and recognition of the vehicle taillights can acquire and understand the taillight semantics, which is of great significance for realizing multi-vehicle behavior interaction and assists driving. It is a challenge to detect taillights and identify the taillight semantics on real traffic road during the day. The main research content of this paper is mainly to establish a neural network to detect vehicles and to complete recognition of the taillights of the preceding vehicle based on image processing. First, the outlines of the preceding vehicles are detected and extracted by using convolutional neural networks. Then, the taillight area in the Hue-Saturation-Value (HSV) color space are extracted and the taillight pairs are detected by correlations of histograms, color and positions. Then the taillight states are identified based on the histogram feature parameters of the taillight image. The detected taillight state of the preceding vehicle is prompted to the driver to reduce traffic accidents caused by the untimely judgement of the driving intention of the preceding vehicle. The experimental results show that this method can accurately identify taillight status during the daytime and can effectively reduce the occurrence of confused judgement caused by light interference.
- 1 July 2015
- Published by American Scientific Publishers in Journal of Computational and Theoretical Nanoscience
- Vol. 12 (7) , 1247-1251
Extended Extreme Learning Machine for Biometric Signal Classification
- 1 July 2015
- Published by American Scientific Publishers in Journal of Computational and Theoretical Nanoscience
- Vol. 12 (7) , 1247-1251
Extended Extreme Learning Machine for Biometric Signal Classification
- 1 January 2012
- Published by Trans Tech Publications, Ltd. in Advanced Materials Research
- Vol. 450-451, 1361-1364
Semantic Network Method of Urban Landscape Design
- 1 January 2012
- Published by Trans Tech Publications, Ltd. in Advanced Materials Research
- Vol. 450-451, 1361-1364
Semantic Network Method of Urban Landscape Design