CN114567625A - Android Http service-based radio monitoring equipment control processing system, method, device, processor and storage medium thereof - Google Patents

Android Http service-based radio monitoring equipment control processing system, method, device, processor and storage medium thereof Download PDF

Info

Publication number
CN114567625A
CN114567625A CN202210198468.0A CN202210198468A CN114567625A CN 114567625 A CN114567625 A CN 114567625A CN 202210198468 A CN202210198468 A CN 202210198468A CN 114567625 A CN114567625 A CN 114567625A
Authority
CN
China
Prior art keywords
task
service
processing
android
http service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210198468.0A
Other languages
Chinese (zh)
Inventor
李辑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai TransCom Instruments Co Ltd
Original Assignee
Shanghai TransCom Instruments Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai TransCom Instruments Co Ltd filed Critical Shanghai TransCom Instruments Co Ltd
Priority to CN202210198468.0A priority Critical patent/CN114567625A/en
Publication of CN114567625A publication Critical patent/CN114567625A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/3827Portable transceivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The invention relates to a system for realizing control processing aiming at radio monitoring equipment based on android Http service, wherein a battery is connected with mobile equipment, a digital baseband board and a radio frequency module; the mobile equipment sends a working instruction to the digital baseband board and receives a processing result by using a serial port communication protocol; the digital baseband board executes the signal processing functions of radio frequency module control, digital down conversion, digital signal real-time processing, timestamp marking and touch method acquisition; and the radio frequency module is used for receiving the radio frequency signals, converting the radio frequency signals into intermediate frequency signals and transmitting the intermediate frequency signals to the digital baseband board. The invention also relates to a method, a device, a processor and a computer readable storage medium for realizing the control processing for the radio monitoring equipment based on the android Http service. By adopting the system, the method, the device, the processor and the computer readable storage medium thereof for realizing control processing aiming at the radio monitoring equipment based on the android Http service, the frequency spectrum and the signal characteristic information of the peripheral signals are checked in real time, and the monitoring parameters are adjusted in time.

Description

Android Http service-based radio monitoring equipment control processing system, method, device, processor and storage medium thereof
Technical Field
The invention relates to the field of radio monitoring and interference elimination, in particular to the field of handheld radio monitoring equipment, and specifically relates to a system, a method, a device, a processor and a computer readable storage medium thereof for realizing control processing for the radio monitoring equipment based on android Http service.
Background
In the radio monitoring and interference checking process, the radio monitoring equipment is required to enter a building group or the interior of a building for monitoring, large radio monitoring equipment is limited by road passing conditions and cannot enter a monitoring area, and meanwhile, the radio monitoring equipment cannot play a role due to factors such as building shielding and multipath effect, so that the radio monitoring equipment is required to be carried with a handheld portable device for proximity monitoring.
In the process of approaching monitoring, the frequency spectrum and signal characteristic information of the peripheral signals need to be checked in real time, and monitoring parameters need to be adjusted in time, so that an interactive interface is needed to operate the equipment.
In some important activity-guaranteeing tasks, such as a stadium, multiple devices are required to cooperate to support remote operation, which requires the devices to operate for a long time with the screens off. And after the system is started, a general android APP can be operated by manual clicking, and can be stopped by the system after the screen is turned off, so that the requirement of remote operation cannot be met.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a system, a method, a device, a processor and a computer readable storage medium thereof, which are used for realizing control processing for a radio monitoring device based on an android Http service, and have the advantages of simple operation, high transmission efficiency and wide application range.
In order to achieve the above object, the system, method, device, processor and computer readable storage medium thereof for implementing control processing for a radio monitoring device based on the android Http service of the present invention are as follows:
the system for realizing control processing aiming at the radio monitoring equipment based on the android Http service is mainly characterized by comprising a battery, mobile equipment, a digital baseband board and a radio frequency module,
the battery is connected with the mobile equipment, the digital baseband board and the radio frequency module;
the mobile equipment is connected with the digital baseband board through USB3.0 connection, and issues a working instruction and receives a processing result to the digital baseband board by using a serial port communication protocol;
the digital baseband board is connected with the radio frequency module through a data line and is used for executing signal processing functions of radio frequency module control, digital down conversion, digital signal real-time processing, timestamp marking and touch acquisition;
and the radio frequency module receives radio frequency signals, converts the radio frequency signals into intermediate frequency signals and transmits the intermediate frequency signals to the digital baseband board.
Preferably, the mobile device comprises:
the device control App module is connected with the device control App module and is used for providing a UI for a user to operate in a handheld mode;
and the Http service module is connected with the equipment control App module, is also connected with an external site service, is used for providing business support for the equipment control App and the site service, and is accessed to the monitoring network service for remote operation.
Preferably, the Http service module includes:
the service processing unit is developed based on an AndServer, is connected with the device control App module and an external site service, and is used for providing a Restful service and a WebSocket duplex communication mode according to the AndServer and adding a resource scheduling parameter cm in a Restful and WebSocket service request protocol;
the protocol analysis unit is connected with the AndServer service processing unit and used for processing the received service request through the AOP technology;
the task management unit is connected with the protocol analysis unit and used for making a decision to execute a task according to a plan when a plurality of operations are parallel and conflict;
the device driving unit is connected with the task management unit and used for converting task parameters into byte instruction sequences and carrying out synchronous data exchange with the time of the digital baseband board;
and the data high-speed storage unit is connected with the equipment driving unit and used for accessing the high-speed solid-state storage disk on the digital baseband board through the mobile equipment and providing the data to be stored which supports tracing.
Preferably, the contents processed by the Http service module protocol parsing unit include instruction parsing, public resource scheduling, and log recording, wherein the instruction parsing specifically is parsing into a corresponding resource object according to a Restful service request format and a resource list; the public resource scheduling is specifically processing cm parameters.
Preferably, after the data in the task processing queue is processed, the device enters a waiting period, and when both the device resource CPU and the memory are lower than the preset threshold, the task management unit restarts a new task scheduling period.
Preferably, the task management unit executes the sub-threads, and when the two task execution threads use the same device channel to generate execution conflict, the task management unit interrupts the task with low priority and preferentially completes the task with high priority; when the task priorities are the same, the tasks are executed in turn.
Preferably, the device driving unit reads the baseband board GPS information and the system time, and updates the time information of the mobile terminal through the baseband board GPS information.
The method for realizing the control processing aiming at the radio monitoring equipment based on the android Http service by utilizing the system based on the android Http service is mainly characterized by comprising the following steps of task scheduling:
(1) acquiring a task list with a task state of execution or interruption;
(2) arranging according to task priority;
(3) acquiring a first task;
(4) removing the task from the task list;
(5) checking the task execution resource state, judging whether the scheduled execution time is met, and if so, continuing the step (6); otherwise, continuing the step (3);
(6) and executing the task and updating the task state.
Preferably, the step (6) specifically includes the following steps:
(6.1) executing the task, and updating the task state to be 'executing';
(6.2) updating the accumulated execution time of the task;
(6.3) judging whether the planned time length is met, if so, updating the task state to be the end, and continuing the step (3); otherwise, continue step (6.1).
Preferably, the method further includes a step of task interrupt control, specifically including the following processing procedures:
(1-1) acquiring the highest priority of the executed tasks;
(1-2) judging whether the priority of the current task is greater than the priority of the executed task, if so, stopping the equipment channel, and continuing the step (1-3); otherwise, continuing the step (1-7);
(1-3) updating the state of the executed task into interruption, and updating the accumulated duration of the executed task;
(1-4) waiting for the device channel to be idle, and updating the current task state to be in execution;
and (1-5) sending the task parameters to the equipment channel, and updating the task accumulated time length.
Preferably, the method further includes a step of time-division multiplexing the device channel, and specifically includes the following processing procedures:
(2-1) saving the current task id;
(2-2) timing a time slice;
(2-3) judging whether the timing is more than 100ms, if so, stopping the channel, entering the executed task id into a queue, and continuing the step (2-4); otherwise, continuing to execute the task;
and (2-4) issuing task parameters corresponding to the current task id, and taking the id of the first task in the queue for the current task id.
The device for realizing control processing aiming at the radio monitoring equipment based on the android Http service is mainly characterized by comprising the following steps of:
a processor configured to execute computer-executable instructions;
a memory storing one or more computer-executable instructions that, when executed by the processor, perform the steps of the above-described method for implementing an android Http-based control process for a radio monitoring device.
The processor for implementing control processing for a radio monitoring device based on the android Http service is mainly characterized in that the processor is configured to execute computer-executable instructions, and when the computer-executable instructions are executed by the processor, the steps of the above method for implementing control processing for a radio monitoring device based on the android Http service are implemented.
The computer-readable storage medium is mainly characterized by having a computer program stored thereon, the computer program being executable by a processor to implement the steps of the above-mentioned method for implementing the android Http service based control process for a radio monitoring device.
By adopting the system, the method, the device, the processor and the computer readable storage medium thereof for realizing control processing aiming at the radio monitoring equipment based on the android Http service, the frequency spectrum and the signal characteristic information of the peripheral signals are checked in real time, the monitoring parameters are adjusted in time, an android mobile phone/tablet is used for replacing a computer, and a digital baseband board and a radio frequency module aiming at portable design are matched, so that the purpose of portable handholding is achieved.
Drawings
Fig. 1 is a schematic diagram illustrating a principle of composition of a system for implementing control processing for a radio monitoring device based on an android Http service.
Fig. 2 is a schematic diagram of an android program system architecture of the system for implementing control processing for a radio monitoring device based on the android Http service.
Fig. 3 is a schematic diagram of a resource scheduling parameter format and an example of a system for implementing control processing for a radio monitoring device based on the android Http service.
Fig. 4 is a task scheduling diagram of the method for implementing control processing for a radio monitoring device based on the android Http service according to the present invention.
Fig. 5 is a schematic diagram of task interrupt control logic of the method for implementing control processing for a radio monitoring device based on the android Http service according to the present invention.
Fig. 6 is a schematic diagram of device channel time-division multiplexing for implementing the method for performing control processing on radio monitoring devices based on the android Http service according to the present invention.
Fig. 7 is a schematic time synchronization logic diagram of the method for implementing the android Http service based control processing for the radio monitoring device according to the android Http service of the present invention.
Fig. 8 is a schematic diagram of baseband board data storage of the system for implementing control processing for a radio monitoring device based on the android Http service.
Fig. 9 is a schematic view of an apparatus operation interface of an embodiment of the method for implementing control processing for a radio monitoring apparatus based on an android Http service according to the present invention.
Detailed Description
In order to more clearly describe the technical contents of the present invention, the following further description is given in conjunction with specific embodiments.
The system for realizing control processing for the radio monitoring equipment based on the android Http service comprises a battery, a mobile device, a digital baseband board and a radio frequency module,
the battery is connected with the mobile equipment, the digital baseband board and the radio frequency module;
the mobile equipment is connected with the digital baseband board through USB3.0 connection, and issues a working instruction and receives a processing result to the digital baseband board by using a serial port communication protocol;
the digital baseband board is connected with the radio frequency module through a data line and is used for executing signal processing functions of radio frequency module control, digital down conversion, digital signal real-time processing, timestamp marking and touch acquisition;
and the radio frequency module receives radio frequency signals, converts the radio frequency signals into intermediate frequency signals and transmits the intermediate frequency signals to the digital baseband board.
As a preferred embodiment of the present invention, the mobile device includes:
the device control App module is connected with the device control App module and is used for providing a UI for a user to operate in a handheld mode;
and the Http service module is connected with the equipment control App module, is also connected with an external site service, is used for providing business support for the equipment control App and the site service, and is accessed to the monitoring network service for remote operation.
As a preferred embodiment of the present invention, the Http service module includes:
the service processing unit is developed based on an AndServer, is connected with the device control App module and an external site service, and is used for providing a Restful service and a WebSocket duplex communication mode according to the AndServer and adding a resource scheduling parameter cm in a Restful and WebSocket service request protocol;
the protocol analysis unit is connected with the AndServer service processing unit and used for processing the received service request through the AOP technology;
the task management unit is connected with the protocol analysis unit and used for making a decision to execute a task according to a plan when a plurality of operations are parallel and conflict;
the device driving unit is connected with the task management unit and used for converting task parameters into byte instruction sequences and carrying out synchronous data exchange with the time of the digital baseband board;
and the data high-speed storage unit is connected with the device driving unit and used for accessing the high-speed solid-state storage disk on the digital baseband board through the mobile device and providing the data to be stored which supports tracing.
As a preferred embodiment of the present invention, the contents processed by the Http service module protocol parsing unit include instruction parsing, public resource scheduling, and log recording, where the instruction parsing specifically is parsing into a corresponding resource object according to a Restful service request format and a resource list; the public resource scheduling is specifically processing cm parameters.
As a preferred embodiment of the present invention, after the data in the task processing queue is processed, the task management unit enters a waiting period, and when both the CPU and the memory of the device resource are lower than a preset threshold, a new task scheduling period is restarted.
As a preferred embodiment of the present invention, when two task execution threads use the same device channel to generate execution conflict, the task management unit interrupts a task with low priority and preferentially completes a task with high priority; when the task priorities are the same, the tasks are executed in turn.
As a preferred embodiment of the present invention, the device driving unit reads the baseband board GPS information and the system time, and updates the time information of the mobile terminal by the baseband board GPS information.
The method for realizing the control processing aiming at the radio monitoring equipment based on the android Http service by utilizing the system based on the android Http service comprises the following steps:
(1) acquiring a task list with a task state of execution or interruption;
(2) arranging according to task priority;
(3) acquiring a first task;
(4) removing the task from the task list;
(5) checking the task execution resource state, judging whether the scheduled execution time is met, and if so, continuing the step (6); otherwise, continuing the step (3);
(6) and executing the task and updating the task state.
As a preferred embodiment of the present invention, the step (6) specifically comprises the following steps:
(6.1) executing the task, and updating the task state to be 'executing';
(6.2) updating the accumulated execution time of the task;
(6.3) judging whether the planned time length is met, if so, updating the task state to be the end, and continuing to the step (3); otherwise, continue step (6.1).
As a preferred embodiment of the present invention, the method further includes a step of task interrupt control, specifically including the following processing procedures:
(1-1) acquiring the highest priority of the executed tasks;
(1-2) judging whether the priority of the current task is greater than the priority of the executed task, if so, stopping the equipment channel, and continuing the step (1-3); otherwise, continuing the step (1-7);
(1-3) updating the state of the executed task into interruption, and updating the accumulated duration of the executed task;
(1-4) waiting for the device channel to be idle, and updating the current task state to be in execution;
and (1-5) sending the task parameters to the equipment channel, and updating the task accumulated time length.
As a preferred embodiment of the present invention, the method further includes a step of time-division multiplexing the device channel, and specifically includes the following processing procedures:
(2-1) saving the current task id;
(2-2) timing a time slice;
(2-3) judging whether the timing is more than 100ms, if so, stopping the channel, entering the executed task id into a queue, and continuing the step (2-4); otherwise, continuing to execute the task;
and (2-4) issuing task parameters corresponding to the current task id, and taking the id of the first task in the queue for the current task id.
The device for controlling and processing the radio monitoring equipment based on the android Http service is provided by the invention, and comprises the following steps:
a processor configured to execute computer-executable instructions;
a memory storing one or more computer-executable instructions that, when executed by the processor, perform the steps of the above-described method for implementing an android Http-based control process for a radio monitoring device.
The processor for implementing control processing for a radio monitoring device based on the android Http service is configured to execute computer-executable instructions, and when the computer-executable instructions are executed by the processor, the steps of the method for implementing control processing for a radio monitoring device based on the android Http service are implemented.
The computer readable storage medium of the present invention, wherein a computer program is stored thereon, said computer program being executable by a processor to implement the above steps of the method for implementing the android Http service based control process for a radio monitoring device.
As shown in fig. 1, the handheld radio monitoring device consists of 4 main components. Utilize android mobile phone/dull and stereotyped to replace the computer, cooperation is to digital baseband board and the radio frequency module of portable design to reach portable handheld purpose.
After the battery in the original factory is removed, the android mobile phone/the flat panel is uniformly powered by the battery module, the battery in the original factory is removed, interference of filtering and removing impurity waves in the supplied direct current is guaranteed, and the sensitivity of the system is improved; the power supply time of the system is increased, and the capacity of the matched battery is enough to support the system to operate for more than 2 hours in the full power consumption operation mode. The battery capacity is calibrated to 20000mAh (can be carried on an airplane), a long endurance version (32000mAh) and a fixed plate.
The android phone/tablet personal computer is connected with the digital baseband board through a USB3.0 connecting line with a shielding. The android mobile phone/tablet computer uses a serial port communication protocol to issue a work instruction to the digital baseband board and receive a processed result.
The digital baseband board is composed of an FPGA, a Beidou GPS chip and the like, and performs the functions of radio frequency module control, digital down conversion, digital signal real-time processing, timestamp marking, touch method acquisition and the like.
The radio frequency module receives radio frequency signals and converts the radio frequency signals into intermediate frequency signals to the digital baseband board, and the radio frequency module comprises a filter, an amplifier, an AD converter and the like.
The direct current power supply can charge the battery and also provide support for long-time fixed use of the equipment.
As shown in fig. 2, the android program system architecture is composed of an Http service and an equipment control App, and the equipment control App supports a user to provide a UI and operate with the user in a handheld mode. And the Http service is independent, and provides service support for the equipment control App and the site service. Through site service, the handheld portable radio monitoring device can access a monitoring network for remote operation of a center.
The Http service of the present device is developed based on AndServer. The AndServer provides standard Http protocol support, and the equipment provides Restful service and WebSocket duplex communication mode based on the AndServer. Because the device is required to face two different network environment modes, a resource scheduling parameter cm is added in a service request protocol of Restful and WebSocket.
Restful service request format is as follows:
http://{IP.Port}/{resource}/{resourceid}/cm:{cm}/{para};
resource is a resource name that can be used by the service, and is shown in table 1 in the present device:
Figure BDA0003526745850000081
the Http service enables a device to have good expansion capability and maintainability by introducing device capability description. An example of the Json returned by the device description is as follows:
Figure BDA0003526745850000091
where Id identifies a specific device, features specify a list of capabilities that the device possesses, feature is a specific capability, para below it specifies the available parameters and their ranges for the feature, and the default values for the parameters.
resource _ id is a unique identifier corresponding to the service instance and is obtained by a resource get method. If the resource _ id of the Http service is not available, the resource is defined to be queried.
cm is a resource scheduling parameter, which indicates that the Http service allocates resources according to the value of cm for scheduling according to the available resources (idle cpu, idle memory, and network instantaneous occupied bandwidth) of the current device. Each resource has a default cm value. The service request may fail when the device does not have sufficient resources to meet the cm requirement. The format of the resource scheduling parameter cm is shown in fig. 3.
And when the http service receives the service request and analyzes the protocol, obtaining 3 cm components, if the CPU use threshold of the system exceeds 40% at the moment and waits for 10ms, and if the CPU use threshold is not reduced to be below 40%, returning a failed request, wherein the failed content is service busy. The same logic is applied to the memory and the network, and the task management module calls the driving module to execute the hardware instruction only if the logic is satisfied.
The protocol analysis is responsible for processing the received service request, and the processed content comprises instruction analysis, public resource scheduling and log recording. The processing is carried out by using the AOP (development on tangent plane) technology. The instruction parses into corresponding resource objects according to the Restful service request format of fig. 3 and the resource list of table 1. And the common resource scheduling processes the cm parameter. The log records the time and content of the service request and the processing result.
By introducing task management, the decision of the parallelism and conflict of a plurality of operations can be realized, and the device can execute the operations according to the plan. The core of task management is the maintenance of task data. The composition of the task data is as follows:
TABLE 2 task data
Figure BDA0003526745850000101
The task scheduling logic is normally as shown in figure 4.
Wherein the execution task is child thread execution to support concurrency. After the data in the task processing queue is processed, the device does not immediately enter the task scheduling of the next cycle, the device enters a waiting cycle, in the waiting cycle, the device monitors the resource use condition of the system, and when the CPU and the memory of the device resource are both lower than the preset threshold (20% of the CPU by default and 2000KB of the memory), the new task scheduling cycle is restarted. The longest waiting period is 1 second, so that the response delay of the real-time task is avoided from being too large.
In the task execution sub-thread, when two task execution threads use the same equipment channel and execution conflict occurs, the task execution module interrupts tasks with low priority, and the tasks with the same priority are executed in turn (time division multiplexing), thereby realizing the requirement of executing multiple tasks by a single channel. The logic is shown in fig. 5.
Unlike the logic that the interruption of the operating system needs to be pushed and then restored, the discrete processing characteristic of the radio monitoring equipment task is utilized, and only the accumulated time length and the state of the task and the last execution time need to be recorded. And returning the interrupted task to the task scheduling queue again for scheduling again in the next task cycle. Different from an operating system, the state of the equipment channel needs to be recovered after interruption, and the task parameters can be issued only after the equipment channel is kept controllable.
As shown in fig. 8, the use time of each channel in the time division multiplexing logic is controlled within 100ms to avoid a pause perceivable to human eyes in data display and storage. The number of time-division multiplexing tasks is controlled to be 4 at most, so that the stop feeling is reduced and the shortage of resources is avoided.
The device driving module converts the task parameters into byte instruction sequences which can be accepted by the digital baseband board and ensures the time sequence among the instructions. Therefore, the realization point is time synchronization and high-speed data exchange with a digital baseband board.
The difficulty of time synchronization is to prevent time synchronization failure caused by GPS time acquisition error when GPS satellite searching capability is insufficient. And when connecting with the network of the telecom operator, the cross validation is carried out by combining the operator time. Its time synchronization logic is shown in fig. 7.
The time synchronization logic is executed once at the start of the http service and once every hour thereafter.
The high-speed data exchange refers to that http service on the android phone/tablet accesses a high-speed solid-state storage disc on the digital baseband board. Due to the limitation of the USB3.0 transmission rate, the data of the digital baseband board is stored in the high-speed solid-state memory disk on the board, and the digital baseband board retains the frequency spectrum and sound data within the last 15 minutes. When a user finds that an abnormal signal appears in the operation and needs to trace back, the abnormal data frame can be directly and quickly accessed. The high-speed data exchange of the device driving module can efficiently provide the data to be stored to the data high-speed storage module on the premise of not influencing the transmission of the data to the front end. The key to realizing high-speed data transmission is to reduce the waiting and processing time consumption of data in the transmission process, so that the targeted processing is adopted for the data characteristics of radio monitoring. The storage related data processing logic on the digital baseband board is shown in fig. 8.
As shown in table 3, the data unit has the following structure:
TABLE 3
Field(s) Type (B) Description of the invention
Time stamp uint32 Number of milliseconds from acquisition start time to current time
Segment number uint16 Starting from 0, represents the second segment of the spectrum
Spectral data short[] Array of frequency spectra, unit 0.1dBm
The time stamp is an integer, so that subsequent sequencing and insertion operation can be conveniently and quickly performed. The length of the frequency spectrum data in the primary acquisition process is fixed and is filled in by the subsequent packaging parameters.
According to the principle of digital signal processing, the size of the segment number is related to the intermediate frequency bandwidth of the device, in principle one intermediate frequency bandwidth is used as a segment. Therefore, in the data acquisition process, the device can continuously output the data units without splicing the frequency spectrum.
The size of each data storage block is taken from the medium frequency bandwidth of the monitoring device. The value rule is shown in table 4.
TABLE 4
Medium frequency bandwidth (MHz) Data storage block threshold (MB)
40 1024
80 2048
100 4096
200 8192
If a large data storage block is used when the bandwidth of the medium frequency band of the device is small, the data accumulation process becomes long, the data transmission continuity becomes poor, and the USB3.0 bandwidth cannot be fully utilized. And when the data accumulation exceeds the threshold of the data storage block, packaging the data parameters into the data storage block to be transmitted, and writing the data storage block into a high-speed storage medium.
The structure of the encapsulated data storage block is shown in table 5.
TABLE 5
Field(s) Type (B) Description of the invention
Block head mark byte 0xFFFA
Time of acquisition date The time of starting acquisition of the measurement
Block number uint8 Identification of this data block
Number of units uint8 Counting of data unitsNumber of
Length of cell uint8 Length of data unit
Data unit byte[] Data of data unit
Once the acquisition starts, the acquisition time of all the subsequent data storage blocks is the same, which can be used to distinguish the data acquisition of different tasks, the block sequence number is a continuous integer, the sequence number of the first data block at the start of the acquisition is 0, and the sequence numbers are sequentially increased. The acquisition time, along with the block sequence number, may uniquely identify a data block. The data high-speed storage module can establish parallel storage file handles according to the acquisition time and sequentially write the received data blocks into corresponding files. In the process of transmitting data from the digital baseband board to the android mobile phone/tablet, the two ends only need to transmit and receive the data, and complex control and waiting are not needed, so that the transmission efficiency is improved.
In practical tests, the data transmission speed of the 200MHz medium frequency bandwidth can reach 4.66 Gbps.
In an embodiment of the present invention, the operational interface of the apparatus is shown in FIG. 9.
For a specific implementation of this embodiment, reference may be made to the relevant description in the above embodiments, which is not described herein again.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution device. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, and the corresponding program may be stored in a computer readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
By adopting the system, the method, the device, the processor and the computer readable storage medium thereof for realizing control processing aiming at the radio monitoring equipment based on the android Http service, the frequency spectrum and the signal characteristic information of the peripheral signals are checked in real time, the monitoring parameters are adjusted in time, an android mobile phone/tablet is used for replacing a computer, and a digital baseband board and a radio frequency module aiming at portable design are matched, so that the purpose of portable handholding is achieved.
In this specification, the invention has been described with reference to specific embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.

Claims (14)

1. A system for realizing control processing aiming at a radio monitoring device based on android Http service is characterized by comprising a battery, a mobile device, a digital baseband board and a radio frequency module,
the battery is connected with the mobile equipment, the digital baseband board and the radio frequency module;
the mobile equipment is connected with the digital baseband board through USB3.0 connection, and issues a working instruction and receives a processing result to the digital baseband board by using a serial port communication protocol;
the digital baseband board is connected with the radio frequency module through a data line and is used for executing signal processing functions of radio frequency module control, digital down conversion, digital signal real-time processing, timestamp marking and touch acquisition;
and the radio frequency module receives radio frequency signals, converts the radio frequency signals into intermediate frequency signals and transmits the intermediate frequency signals to the digital baseband board.
2. The system of claim 1, wherein the mobile device comprises:
the device control App module is connected with the device control App module and is used for providing a UI for a user to operate in a handheld mode;
and the Http service module is connected with the equipment control App module, is also connected with an external site service, is used for providing business support for the equipment control App and the site service, and is accessed to the monitoring network service for remote operation.
3. The system of claim 2, wherein the Http service module comprises:
the AndServer service processing unit is connected with the equipment control App module and the external site service, and is used for providing a Restful service and a WebSocket duplex communication mode according to the AndServer and adding a resource scheduling parameter cm in a Restful and WebSocket service request protocol;
the protocol analysis unit is connected with the AndServer service processing unit and is used for analyzing and processing the received service request through the AOP technology;
the task management unit is connected with the protocol analysis unit and used for making a decision to execute a task according to a plan when a plurality of operations are parallel and conflict;
the device driving unit is connected with the task management unit and used for converting task parameters into byte instruction sequences and carrying out synchronous data exchange with the time of the digital baseband board;
and the data high-speed storage unit is connected with the device driving unit and used for accessing the high-speed solid-state storage disk on the digital baseband board through the mobile device and providing the data to be stored which supports tracing.
4. The system for realizing control processing for radio monitoring equipment based on android Http service as claimed in claim 3, wherein the content processed by the protocol parsing unit includes instruction parsing, public resource scheduling, and log recording, wherein the instruction parsing is specifically parsing into corresponding resource objects according to a Restful service request format and a resource list; the public resource scheduling is specifically processing cm parameters.
5. The system for implementing control processing for radio monitoring equipment based on android Http service of claim 3, wherein the task management unit enters a waiting period after data in the task processing queue is processed, and restarts a new task scheduling period when both a CPU and a memory of the equipment resource are lower than a preset threshold.
6. The system for implementing control processing for radio monitoring equipment based on android Http service as claimed in claim 3, wherein the task management unit executes the sub-thread, and when the two task execution threads use the same equipment channel to perform conflict, the task management unit interrupts the task with low priority and preferentially completes the task with high priority; when the task priorities are the same, the tasks are executed in turn.
7. The system for implementing control processing for a radio monitoring device based on android Http service as claimed in claim 3, wherein the device driving unit reads the baseband board GPS information and the system time, and updates the time information of the mobile terminal through the baseband board GPS information.
8. A method for implementing the android Http service-based control processing for the radio monitoring device by using the system of claim 1, wherein the method includes a task scheduling step, and specifically includes the following processing procedures:
(1) acquiring a task list with a task state of execution or interruption;
(2) arranging according to task priority;
(3) acquiring a first task;
(4) removing the task from the task list;
(5) checking the task execution resource state, judging whether the scheduled execution time is met, and if so, continuing the step (6); otherwise, continuing the step (3);
(6) and executing the task and updating the task state.
9. The method for implementing android Http-based control processing for a radio monitoring device according to claim 3, wherein the step (6) specifically comprises the following steps:
(6.1) executing the task, and updating the task state to be 'executing';
(6.2) updating the accumulated execution time of the task;
(6.3) judging whether the planned time length is met, if so, updating the task state to be the end, and continuing to the step (3); otherwise, continue step (6.1).
10. The method for implementing android Http-based control processing for a radio monitoring device according to claim 3, wherein the method further includes a step of task interrupt control, specifically including the following processing procedures:
(1-1) acquiring the highest priority of the executed task;
(1-2) judging whether the priority of the current task is greater than the priority of the executed task, if so, stopping the equipment channel, and continuing the step (1-3); otherwise, continuing the step (1-7);
(1-3) updating the state of the executed task into interruption, and updating the accumulated duration of the executed task;
(1-4) waiting for the device channel to be idle, and updating the current task state to be in execution;
and (1-5) sending the task parameters to the equipment channel, and updating the task accumulated time length.
11. The method for implementing the android Http service-based control processing for the radio monitoring device according to claim 3, wherein the method further includes a step of time-division multiplexing the device channel, and specifically includes the following processing procedures:
(2-1) saving the current task id;
(2-2) timing a time slice;
(2-3) judging whether the timing is more than 100ms, if so, stopping the channel, entering the executed task id into a queue, and continuing the step (2-4); otherwise, continuing to execute the task;
and (2-4) issuing task parameters corresponding to the current task id, and taking the id of the first task in the queue for the current task id.
12. An apparatus for implementing control processing for a radio monitoring device based on android Http service, the apparatus comprising:
a processor configured to execute computer-executable instructions;
a memory storing one or more computer-executable instructions that, when executed by the processor, perform the steps of any one of claims 8 to 11 of a method of implementing the android Http service based control processing for a radio monitoring device.
13. A processor for implementing control processing for a radio monitoring device based on an android Http service, the processor being configured to execute computer-executable instructions which, when executed by the processor, implement the steps of the method of implementing control processing for a radio monitoring device based on an android Http service as claimed in any one of claims 8 to 11.
14. A computer-readable storage medium, having stored thereon a computer program executable by a processor to perform the steps of the method of any one of claims 8 to 11 for implementing an android Http service based control process for a radio monitoring device.
CN202210198468.0A 2022-03-01 2022-03-01 Android Http service-based radio monitoring equipment control processing system, method, device, processor and storage medium thereof Pending CN114567625A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210198468.0A CN114567625A (en) 2022-03-01 2022-03-01 Android Http service-based radio monitoring equipment control processing system, method, device, processor and storage medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210198468.0A CN114567625A (en) 2022-03-01 2022-03-01 Android Http service-based radio monitoring equipment control processing system, method, device, processor and storage medium thereof

Publications (1)

Publication Number Publication Date
CN114567625A true CN114567625A (en) 2022-05-31

Family

ID=81715552

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210198468.0A Pending CN114567625A (en) 2022-03-01 2022-03-01 Android Http service-based radio monitoring equipment control processing system, method, device, processor and storage medium thereof

Country Status (1)

Country Link
CN (1) CN114567625A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389209A (en) * 2015-12-25 2016-03-09 中国建设银行股份有限公司 Asynchronous batch task processing method and system
CN106326066A (en) * 2015-07-07 2017-01-11 北京东土科技股份有限公司 Method and system for monitoring and adjusting task response performance of embedded system
CN106354557A (en) * 2016-08-29 2017-01-25 佛山市美的清湖净水设备有限公司 Household appliance based on time slice task scheduling system and control method and controller thereof
CN106405484A (en) * 2016-08-31 2017-02-15 成都九华圆通科技发展有限公司 Multifunctional radio monitoring and direction finding system based on manned craft
CN107843768A (en) * 2017-12-13 2018-03-27 桂林电子科技大学 A kind of novel hand-held spectrum monitoring device
CN109302248A (en) * 2017-12-20 2019-02-01 上海创远仪器技术股份有限公司 A kind of high speed band scan method and its equipment for radio monitoring receiver
US20190196867A1 (en) * 2017-12-21 2019-06-27 Qualcomm Incorporated System and method of priority-based interrupt steering
CN110221905A (en) * 2019-05-22 2019-09-10 网联清算有限公司 Timed task monitoring method, device, system, equipment and storage medium
CN110996337A (en) * 2019-03-29 2020-04-10 国家无线电监测中心检测中心 Radio monitoring method supporting mobile monitoring station
CN111290854A (en) * 2020-01-20 2020-06-16 腾讯科技(深圳)有限公司 Task management method, device and system, computer storage medium and electronic equipment
CN113110927A (en) * 2021-04-19 2021-07-13 上海商汤科技开发有限公司 Task scheduling method and device, computer equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106326066A (en) * 2015-07-07 2017-01-11 北京东土科技股份有限公司 Method and system for monitoring and adjusting task response performance of embedded system
CN105389209A (en) * 2015-12-25 2016-03-09 中国建设银行股份有限公司 Asynchronous batch task processing method and system
CN106354557A (en) * 2016-08-29 2017-01-25 佛山市美的清湖净水设备有限公司 Household appliance based on time slice task scheduling system and control method and controller thereof
CN106405484A (en) * 2016-08-31 2017-02-15 成都九华圆通科技发展有限公司 Multifunctional radio monitoring and direction finding system based on manned craft
CN107843768A (en) * 2017-12-13 2018-03-27 桂林电子科技大学 A kind of novel hand-held spectrum monitoring device
CN109302248A (en) * 2017-12-20 2019-02-01 上海创远仪器技术股份有限公司 A kind of high speed band scan method and its equipment for radio monitoring receiver
US20190196867A1 (en) * 2017-12-21 2019-06-27 Qualcomm Incorporated System and method of priority-based interrupt steering
CN110996337A (en) * 2019-03-29 2020-04-10 国家无线电监测中心检测中心 Radio monitoring method supporting mobile monitoring station
CN110221905A (en) * 2019-05-22 2019-09-10 网联清算有限公司 Timed task monitoring method, device, system, equipment and storage medium
CN111290854A (en) * 2020-01-20 2020-06-16 腾讯科技(深圳)有限公司 Task management method, device and system, computer storage medium and electronic equipment
CN113110927A (en) * 2021-04-19 2021-07-13 上海商汤科技开发有限公司 Task scheduling method and device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赛景波;杨善景;杨元;: "基于软件无线电和GIS的数传电台监测系统设计", 微型机与应用, no. 01 *

Similar Documents

Publication Publication Date Title
KR102495173B1 (en) Downlink channel reception method, transmission method, terminal and base station
US20140235220A1 (en) Method and apparatus for processing application program, and mobile terminal therefor
CN111163018B (en) Network equipment and method for reducing transmission delay thereof
CN110493858A (en) Reduce the method, device and mobile terminal of power consumption
US11537862B2 (en) Neural network processor and control method of neural network processor
CN111400127B (en) Service log monitoring method and device, storage medium and computer equipment
CN106888271B (en) BLE5.0 protocol system
US11210014B2 (en) Method and apparatus for processing I/O information of data, method and apparatus for analyzing I/O information of data, and related devices
EP4311314A1 (en) Sleep scheduling method and device
CN108491062A (en) Power saving technique in computing device
WO2022037176A1 (en) Inter-core communication method and apparatus, electronic assembly, and electronic device
WO2021073054A1 (en) Data processing method, apparatus and device, and storage medium
WO2020133433A1 (en) Network switching method and related apparatus
CN111722993A (en) Method and system for monitoring abnormal power consumption of communication terminal, terminal device and storage medium
CN115640149A (en) RDMA event management method, device and storage medium
CN114237896A (en) Distributed node resource dynamic scheduling method and device
CN114567625A (en) Android Http service-based radio monitoring equipment control processing system, method, device, processor and storage medium thereof
CN108134635B (en) Measurement control method and device based on multithreading
CN106843890A (en) Sensor network, node and its operation method based on intelligent decision
WO2023030189A1 (en) Monitoring method and apparatus, wake-up signal transmission method and apparatus, terminal, and network-side device
CN103152115A (en) Full-channel data acquirer
WO2022135029A1 (en) Search space set switching method and apparatus, and readable storage medium
JP7279119B2 (en) System and method for hierarchical calculation of key performance indicators
WO2020211861A1 (en) Scheduling method for terminal device, terminal device, and base station
CN115884141A (en) Data transmission method based on wireless network Wi-Fi and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination