Disclosure of Invention
The invention aims to provide a parameter configuration terminal of service processing software so as to solve the problems in the background technology.
In order to achieve the above purpose, the present invention provides a parameter configuration terminal of service processing software, which comprises a service data acquisition unit, a cache storage unit and a parameter configuration management unit, wherein the service data acquisition unit is used for collecting sampled service data and sending the sampled data into the cache storage unit; the cache storage unit is used for reading the sampling data sent by the service data acquisition unit and storing the sampling data; the parameter configuration management unit is used for storing parameter configuration data and matching the matched parameter configuration according to the sampling data.
Preferably, the sampling data of the service data acquisition unit includes the following steps:
s1.1, generating a sampling signal: the service processing signal is sampled by the AD controller after being conditioned, and a sampling signal is generated;
s1.2, generating a trigger signal: monitoring the sampling signal by adopting a trigger and generating a trigger signal;
s1.3, data packaging: the AD controller performs data packaging by combining GPS time data;
s1.4, data transmission: and transmitting the packed data into a cache storage unit.
Preferably, in S1.1, the method for generating a sampling signal includes the steps of:
s1.1.1, discretizing the continuous signal by using a unit pulse sequence function to obtain a sampling signal, wherein the unit pulse sequence function is as follows:
s1.1.2 the sampling signal is converted into a signal which keeps constant between two continuous sampling moments by adopting a zero-order retainer, namely, in the T epsilon [ nT, (n+1) T ] interval, the output value of the zero-order retainer is always kept as x (nT);
s1.1.3, sampling is performed by using an AD controller, and a sampling signal is generated.
Preferably, the cache storage unit adopts multi-channel cache, and the method comprises the following steps:
s2.1, performing memory reading, performing an analysis request, and performing basic read-write operation of the SRAM;
s2.2, receiving a write instruction, assigning the address and the data to an IO port of the SRAM, and executing write operation;
s2.3, executing a read instruction, performing address assignment, and writing the output value of the SRAM into a data FIFO.
Preferably, the parameter configuration management unit comprises a parameter configuration database and a parameter configuration matching module, wherein the parameter configuration database is used for storing parameter configuration information; the parameter configuration matching module is used for matching the parameter configuration information.
Preferably, the step of establishing the parameter configuration database is as follows:
s3.1, downloading and installing JDK;
s3.2, configuring environment variables;
s3.3, verifying whether the JDK is successfully installed;
s3.4, respectively setting/etc/hots and/etc/hostname;
s3.5, installing OpenSSH, and configuring SSH password-free login;
s3.6, configuring Hadoop files of two hosts;
s3.7, formatting an input command, formatting a hadoop file system HDFS, and inputting all process starting commands;
s3.8, logging in a parameter configuration database;
and S3.9, adding parameter configuration information data in the parameter configuration database.
Compared with the prior art, the invention has the beneficial effects that:
1. in the parameter configuration terminal of the service processing software, a service data acquisition unit is designed to acquire service data in multiple ways, so that the acquisition rate is improved, synchronous transmission is realized, and acquisition information loss is avoided.
2. In the parameter configuration terminal of the service processing software, a cache storage unit is designed, and multiple paths of parallel buffering is adopted, so that the buffering load is reduced, and the data processing efficiency is improved.
3. In the parameter configuration terminal of the service processing software, a parameter configuration management unit is designed, and the parameter configuration is quickly realized according to the parameter configuration matched and matched with the sampling data.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1-4, the present invention provides a technical solution:
the invention provides a parameter configuration terminal of service processing software, which comprises a service data acquisition unit, a cache storage unit and a parameter configuration management unit, wherein the service data acquisition unit is used for collecting sampled service data and sending the sampled data into the cache storage unit; the cache storage unit is used for reading the sampled data sent by the service data acquisition unit and storing the sampled data; the parameter configuration management unit is used for storing parameter configuration data and matching the matched parameter configuration according to the sampling data.
In this embodiment, the sampling data of the service data acquisition unit includes the following steps:
s1.1, generating a sampling signal: the service processing signal is sampled by the AD controller after being conditioned, and a sampling signal is generated;
s1.2, generating a trigger signal: monitoring the sampling signal by adopting a trigger and generating a trigger signal;
s1.3, data packaging: the AD controller performs data packaging by combining GPS time data;
s1.4, data transmission: and transmitting the packed data into a cache storage unit.
The service processing signals are conditioned and collected by a multiplexer MUX36D04, and the signals are transmitted to an impedance transformer to realize impedance matching.
Further, in S1.1, the method for generating a sampling signal includes the following steps:
s1.1.1, discretizing the continuous signal by using a unit pulse sequence function to obtain a sampling signal, wherein the unit pulse sequence function is as follows:
s1.1.2 the sampling signal is converted into a signal which keeps constant between two continuous sampling moments by adopting a zero-order retainer, namely, in the T epsilon [ nT, (n+1) T ] interval, the output value of the zero-order retainer is always kept as x (nT);
s1.1.3, sampling is performed by using an AD controller, and a sampling signal is generated.
It is worth to describe that the cache memory unit adopts multi-channel cache, the method includes the following steps:
s2.1, performing memory reading, performing an analysis request, and performing basic read-write operation of the SRAM;
s2.2, receiving a write instruction, assigning the address and the data to an IO port of the SRAM, and executing write operation;
s2.3, executing a read instruction, performing address assignment, and writing the output value of the SRAM into a data FIFO.
The embodiment converts the time division multiplexing serial operation of the pre-trigger buffer into 3 parts of request generation, arbitration processing and basic read-write parallel execution, can reduce the idle operation time of an SRAM port, reduces the SRAM control circuits of 8 pre-trigger buffers to 1 basic control circuit, and reduces the waste of hardware resources and the delay of a data transmission line.
Specifically, the parameter configuration management unit comprises a parameter configuration database and a parameter configuration matching module, wherein the parameter configuration database is used for storing parameter configuration information; the parameter configuration matching module is used for matching the parameter configuration information.
The parameter configuration database is established as follows:
s3.1, downloading and installing JDK, wherein the specific flow is as follows:
(1) the JDK installation directory is/usr/lib/jvm, this folder is created, and the command is input at the terminal:
mkdir/usr/lib/jvm;
(2) move jdk to/usr/lib/jvm and decompress, then delete the install package to save space, command:
mv jdk--7u51-linux-x64.tar.gz/usr/lib/jvm;
tar–zxvf jdk--7u51-linux-x64.tar.gz;
rm–rf jdk--7u51-linux-x64.tar.gz;
s3.2, configuring environment variables, wherein the configuration is named as: sudo gel/etc/profile;
s3.3, verifying whether the JDK is successfully installed, wherein the steps are as follows:
(1) input command: if java version information appears, the next step is carried out;
(2) the following commands need to be input for manual setting:
sudoupdate-alternatives–install/usr/bin/java java/usr/lib/jvm/jdk1.7.0-51/bin/java 300
sudoupdatealternativesinstall/usr/bin/javacjavac/usr/lib/jvm/jdk1.7.0_51/javac300
sudo update-alternatives–config java;
s3.4, respectively setting/etc/hots and/etc/hostname;
s3.5, installing OpenSSH, and configuring SSH password-free login;
s3.6, configuring Hadoop files of two hosts, wherein the steps are as follows:
(1) confirm that the connection is on the internet, input command: sudo apt-get instrument intrinsic ssh;
(2) configured to log in to a host without password, input command: ssh-keygen-t dsa-P '' -f-/. Ssh/id_dsa;
(3) verifying whether ssh has been installed successfully, and inputting a command: ssh-version;
s3.7, formatting an input command, formatting a hadoop file system HDFS, and inputting all process starting commands;
s3.8, logging in a parameter configuration database;
and S3.9, adding parameter configuration information data in the parameter configuration database.
The foregoing has shown and described the basic principles, principal features and advantages of the invention. It will be understood by those skilled in the art that the present invention is not limited to the above-described embodiments, and that the above-described embodiments and descriptions are only preferred embodiments of the present invention, and are not intended to limit the invention, and that various changes and modifications may be made therein without departing from the spirit and scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.