CN114696888A - Port task processing method, device, equipment and medium of satellite measurement, operation and control system - Google Patents

Port task processing method, device, equipment and medium of satellite measurement, operation and control system Download PDF

Info

Publication number
CN114696888A
CN114696888A CN202210437395.6A CN202210437395A CN114696888A CN 114696888 A CN114696888 A CN 114696888A CN 202210437395 A CN202210437395 A CN 202210437395A CN 114696888 A CN114696888 A CN 114696888A
Authority
CN
China
Prior art keywords
port
task
clients
control system
tasks
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.)
Granted
Application number
CN202210437395.6A
Other languages
Chinese (zh)
Other versions
CN114696888B (en
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.)
Emposat Co Ltd
Original Assignee
Emposat 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 Emposat Co Ltd filed Critical Emposat Co Ltd
Priority to CN202210437395.6A priority Critical patent/CN114696888B/en
Publication of CN114696888A publication Critical patent/CN114696888A/en
Application granted granted Critical
Publication of CN114696888B publication Critical patent/CN114696888B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/185Space-based or airborne stations; Stations for satellite systems
    • H04B7/1851Systems using a satellite or space-based relay
    • H04B7/18513Transmission in a satellite or space-based system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/185Space-based or airborne stations; Stations for satellite systems
    • H04B7/1851Systems using a satellite or space-based relay
    • H04B7/18519Operations control, administration or maintenance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • 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/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Astronomy & Astrophysics (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application relates to a port task processing method and device of a satellite measurement, operation and control system, electronic equipment and a computer readable medium. The method comprises the following steps: the satellite measurement, operation and control system acquires a plurality of port tasks from a plurality of clients through a built-in port scanner, wherein the clients comprise clients and satellite terminals; a port scheduler in the satellite measurement, operation and control system respectively determines corresponding timing time for the plurality of port tasks; when the timing time is up, distributing the port task corresponding to the timing time to a task executor; and the client corresponding to the port task is connected with the task executor so as to process the port task. The method, the device, the electronic equipment and the computer readable medium for processing the port tasks of the satellite measurement, operation and control system can improve the processing speed and efficiency of the port tasks in the satellite measurement, operation and control system and improve the processing accuracy.

Description

Port task processing method, device, equipment and medium of satellite measurement, operation and control system
Technical Field
The application relates to the field of satellite remote measurement and control, in particular to a port task processing method and device of a satellite measurement, operation and control system, electronic equipment and a computer readable medium.
Background
In recent years, with the continuous progress of electronic technology, satellite technology has been rapidly developed, commercial satellites with low cost, short development period and low price are increasingly favored, and the rise of commercial small satellites will open the era of satellite big data. After the development of the large environment of commercial space flight, the cost is too high, which naturally becomes a prominent problem restricting the development of commercial space flight.
Reducing the investment cost of the commercial satellite not only comprises reducing the development cost of the satellite, but also comprises reducing the cost of the on-orbit operation management of the commercial satellite. Aiming at the unique operation mode of commercial satellites, the in-orbit operation management efficiency of the commercial satellites is improved, the in-orbit management cost of the satellites is reduced, most commercial satellites are provided with a satellite measurement and control system at present, measurement and control and operation control management work of a plurality of low-orbit commercial satellites is realized on the satellite measurement and control system, satellite measurement and control and data transmission data analysis processing are completed in real time, the system has a plurality of control modes, and unattended automatic management can be realized in the whole process.
The satellite measurement and control system is a user-oriented comprehensive software platform for station measurement control and management, which integrates multiple functions of data transmission, antenna feedback management, baseband management, fault diagnosis, data management, display control, user management and the like. The satellite measurement and control system has complex tasks and a great deal of data to be processed, and the safety and the processing speed of the data need to be guaranteed.
Therefore, a new method, an apparatus, an electronic device and a computer-readable medium for processing port tasks of a satellite measurement, operation and control system are needed.
The above information disclosed in this background section is only for enhancement of understanding of the background of the application and therefore it may contain information that does not constitute prior art that is already known to a person of ordinary skill in the art.
Disclosure of Invention
In view of this, the present application provides a method, an apparatus, an electronic device, and a computer readable medium for processing a port task of a satellite measurement, operation, and control system, which can improve the processing speed and efficiency of the port task in the satellite measurement, operation, and control system, and improve the processing accuracy.
Other features and advantages of the present application will be apparent from the following detailed description, or may be learned by practice of the application.
According to an aspect of the present application, a method for processing a port task of a satellite measurement, operation and control system is provided, where the method includes: the satellite measurement, operation and control system acquires a plurality of port tasks from a plurality of clients through a built-in port scanner, wherein the clients comprise clients and satellite terminals; a port scheduler in the satellite measurement, operation and control system respectively determines corresponding timing time for the plurality of port tasks; when the timing time is up, distributing the port task corresponding to the timing time to a task executor; and the client corresponding to the port task is connected with the task executor so as to process the port task.
In an exemplary embodiment of the present application, the acquiring, by the satellite measurement, operation and control system, a plurality of port tasks by a plurality of clients through the built-in port scanner includes: the satellite measurement, operation and control system establishes network socket connection with the plurality of clients through the built-in port scanner; binding based on the network socket connection and the ports and IPs of the plurality of clients; and monitoring the bound ports to acquire a plurality of port tasks.
In an exemplary embodiment of the present application, snooping the bound port to obtain a plurality of port tasks includes: acquiring port task processing requests by a plurality of clients; establishing a connection with the plurality of clients based on the port task processing request; and acquiring a plurality of port tasks of the plurality of clients based on the connection.
In an exemplary embodiment of the present application, acquiring a plurality of port tasks of the plurality of clients based on the connection includes: providing a port task setting page for the plurality of clients; and acquiring the port task based on the port task setting page.
In an exemplary embodiment of the present application, a port scheduler in a satellite measurement, operation, and control system determines corresponding timing times for the plurality of port tasks, respectively, and further includes: and setting the timing time corresponding to the plurality of port tasks by the port task.
In an exemplary embodiment of the present application, establishing a connection between a client corresponding to the port task and the task executor to process the port task includes: establishing network socket connection between the client corresponding to the port task and the executor; connecting the client to operate in the processing process of the port task based on the network socket; and the actuator responds to the user operation to process the port task.
In an exemplary embodiment of the present application, further comprising: and after the port task is processed, interrupting the connection and informing the port scheduler.
According to an aspect of the present application, a port task processing device of a satellite measurement, operation and control system is provided, the device including: the scanning module is used for acquiring a plurality of port tasks by a plurality of clients through the built-in port scanner, wherein the clients comprise clients and satellite terminals; the scheduling module is used for respectively determining corresponding timing time for the plurality of port tasks; the distribution module is used for distributing the port task corresponding to the timing time to the task executor when the timing time is up; the connection module is used for establishing connection between the client corresponding to the port task and the task executor so as to process the port task; and the interrupt module is used for interrupting the connection and informing the port scheduler after the port task is processed.
According to an aspect of the present application, an electronic device is provided, the electronic device including: one or more processors; storage means for storing one or more programs; when executed by one or more processors, cause the one or more processors to implement a method as above.
According to an aspect of the application, a computer-readable medium is proposed, on which a computer program is stored, which program, when being executed by a processor, carries out the method as above.
According to the port task processing method, the port task processing device, the electronic equipment and the computer readable medium of the satellite measurement, operation and control system, a plurality of port tasks are obtained by a plurality of clients through a built-in port scanner through the satellite measurement, operation and control system, wherein the clients comprise clients and satellite terminals; a port scheduler in the satellite measurement, operation and control system respectively determines corresponding timing time for the plurality of port tasks; when the timing time is up, distributing the port task corresponding to the timing time to a task executor; the client corresponding to the port task and the task executor are connected to process the port task, so that the processing speed and efficiency of the port task in the satellite measurement, operation and control system can be improved, and the processing accuracy is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The above and other objects, features and advantages of the present application will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings. The drawings described below are only some embodiments of the present application, and other drawings may be derived from those drawings by those skilled in the art without inventive effort.
Fig. 1 is a system block diagram illustrating a port task processing method and apparatus for a satellite measurement, operation and control system according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a port task processing method of a satellite measurement, operation and control system according to an exemplary embodiment.
Fig. 3 is a schematic diagram illustrating a port task processing method of a satellite measurement, operation and control system according to another exemplary embodiment.
Fig. 4 is a flowchart illustrating a port task processing method of a satellite measurement, operation and control system according to another exemplary embodiment.
Fig. 5 is a block diagram illustrating a port task processing device of a satellite measurement, operation and control system according to an exemplary embodiment.
FIG. 6 is a block diagram illustrating an electronic device in accordance with an example embodiment.
FIG. 7 is a block diagram illustrating a computer-readable medium in accordance with an example embodiment.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus, a repetitive description thereof will be omitted.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the application. One skilled in the relevant art will recognize, however, that the subject matter of the present application can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the application.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
It will be understood that, although the terms first, second, third, etc. may be used herein to describe various components, these components should not be limited by these terms. These terms are used to distinguish one element from another. Thus, a first component discussed below may be termed a second component without departing from the teachings of the present concepts. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
It will be appreciated by those skilled in the art that the drawings are merely schematic representations of exemplary embodiments, and that the blocks or processes shown in the drawings are not necessarily required to practice the present application and are, therefore, not intended to limit the scope of the present application.
Fig. 1 is a system block diagram illustrating a port task processing method and device of a satellite measurement, operation and control system according to an exemplary embodiment.
As shown in fig. 1, the system architecture 10 may include user terminals 101, 102, 103, a network 104, a satellite operation and control system 105, and satellite terminals 106, 107, 108. The network 104 is used between the user terminals 101, 102, 103 and the satellite operation and control system 105; the media providing the communication link between the satellite ends 106, 107, 108 and the satellite test, operation and control system 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the user terminals 101, 102, 103 to interact with the satellite telemetry, operational, and control system 105 via the network 104 to receive or transmit satellite telemetry and telemetry data. The user terminals 101, 102, 103 may be installed with various communication client applications, such as a satellite data processing application, a satellite control application, a search application, an instant messaging tool, a mailbox client, and the like.
The user terminals 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The satellite ends 106, 107, 108 are disposed in satellites and can be connected with the satellite operation and control system 105 to transmit data.
The satellite telemetry, operation and control system 105 may be a server providing various data services, such as receiving satellite telemetry and remote control data transmitted by the satellite terminals 106, 107, 108; the satellite telemetry, operation and control system 105 may also perform initial processing on the satellite telemetry and remote control data; the satellite operation and control system 105 may also respond to a data processing request from a user using the user terminal 101, 102, 103, and feed back a processing result (e.g., target push information, product information-just an example) to the terminal device.
The satellite measurement, operation and control system 105 may obtain a plurality of port tasks from a plurality of clients, for example, through a built-in port scanner, where the clients include clients 101, 102, 103 and satellite clients 106, 107, 108; the port scheduler in the satellite measurement, operation, and control system 105 may, for example, determine their corresponding timing times for the plurality of port tasks, respectively; the satellite measurement, operation and control system 105 may, for example, allocate a port task corresponding to the timing time to a task executor when the timing time is reached; the satellite instrumentation, operation and control system 105 may, for example, establish a connection between the user terminal 101 (or 102, 103) corresponding to the port task and the task executor to process the port task.
The satellite measurement, operation and control system 105 may be a server of one entity, or may be composed of a plurality of servers, for example. It should be noted that the port task processing method of the satellite measurement, operation and control system provided in the embodiment of the present application may be executed by the satellite measurement, operation and control system 105, and accordingly, the port task processing device of the satellite measurement, operation and control system may be disposed in the satellite measurement, operation and control system 105.
Fig. 2 is a flowchart illustrating a port task processing method of a satellite measurement, operation and control system according to an exemplary embodiment. The port task processing method 20 of the satellite measurement, operation and control system at least includes steps S202 to S208.
As shown in fig. 2, in S202, the satellite operation and control system obtains a plurality of port tasks from a plurality of clients through the built-in port scanner, where the clients include a client and a satellite.
In one embodiment, the satellite measurement, operation and control system establishes network socket connection with the plurality of clients through the built-in port scanner; binding based on the network socket connection and the ports and IPs of the plurality of clients; and monitoring the bound ports to acquire a plurality of port tasks.
The monitoring of the bound ports to acquire a plurality of port tasks includes: acquiring port task processing requests by a plurality of clients; establishing a connection with the plurality of clients based on the port task processing request; and acquiring a plurality of port tasks of the plurality of clients based on the connection.
Wherein obtaining a plurality of port tasks for the plurality of clients based on the connection comprises: providing a port task setting page for the plurality of clients; and acquiring the port task based on the port task setting page.
In S204, the port scheduler in the satellite measurement, operation and control system determines corresponding timing times for the plurality of port tasks, respectively. The timing time corresponding to the plurality of port tasks of the page can be set by the port tasks.
In S206, when the timing time is reached, the port task corresponding to the timing time is assigned to the task executor.
In S208, the client corresponding to the port task and the task executor establish connection to process the port task. Establishing network socket connection between the client corresponding to the port task and the executor; connecting the client to operate in the processing process of the port task based on the network socket; and the actuator responds to the user operation to process the port task.
In one embodiment, further comprising: and after the port task is processed, interrupting the connection and informing the port scheduler.
According to the port task processing method of the satellite measurement, operation and control system, a plurality of port tasks are obtained by a plurality of clients through a built-in port scanner through the satellite measurement, operation and control system, wherein the clients comprise clients and satellite terminals; a port scheduler in the satellite measurement, operation and control system respectively determines corresponding timing time for the plurality of port tasks; when the timing time is up, distributing the port task corresponding to the timing time to a task executor; the client corresponding to the port task and the task executor are connected to process the port task, so that the processing speed and efficiency of the port task in the satellite measurement, operation and control system can be improved, and the processing accuracy is improved.
It should be clearly understood that this application describes how to make and use particular examples, but the principles of this application are not limited to any details of these examples. Rather, these principles can be applied to many other embodiments based on the teachings of the present disclosure.
Fig. 3 is a schematic diagram illustrating a port task processing method of a satellite measurement, operation and control system according to another exemplary embodiment. Fig. 3 is a detailed description of S202 "the satellite operation and control system obtains a plurality of port tasks from a plurality of clients through the built-in port scanner" in fig. 2, where the clients include a client and a satellite.
The operation on the server may specifically be:
establishing and binding a protocol: firstly, a server side uses a protocol function to establish a network socket, and then uses a binding function to bind a specified IP and a specified port for the socket;
and monitoring the request: next, the server side monitors the request of the client side for binding the IP and the port by using a monitoring function;
receiving connection: if a request comes and the connection is successfully established through three-way handshake, receiving and processing the connection by using an acceptance function;
processing request and sending response: and the server side reads the request data sent by the client side from the established connection through the reading function, processes the request data and sends the response data to the client side through the writing function.
The operation in the client may specifically be:
establishing a protocol: the client also establishes a network socket by using a protocol function;
establishing connection: then calling a connection function to transmit an IP and a port number to establish connection with a network program of a specified server;
sending request and receiving response: after the connection is successfully established, the client can send data to the server through the write function and receive a response from the server by using the read function.
Since the connection between the UDP and the client and the server is not required to be established, the connection between the client and the server is not required to be established when the function is encapsulated, and the connection is only required to be added when the TCP protocol is processed. And a connection function is called according to different protocols, so that a port scanner with full connection of the test, operation and control software can be realized.
Fig. 4 is a flowchart illustrating a port task processing method of a satellite measurement, operation and control system according to another exemplary embodiment. The process 40 shown in fig. 4 is a detailed description of the process shown in fig. 2.
As shown in fig. 4, in S401, the front end performs a port scan specific task through a page. More specifically, the page of the page port scanning task can be called only through the gateway, login management is authorized by using an account, and an operator can perform software operation after logging in by using an account number and a password.
In S402, the task scheduling scheduler determines whether the operation is successful or not in response.
In S403, the task scheduling scheduler creates a timer according to the front-end page definition time.
In S404, the task scheduling scheduler allocates a port number to start the actuator when the timing task reaches the start time.
In S405, the web front end establishes connection with the executor through the network socket during task start, so as to perform operations of suspending, resuming, debugging at break point, interrupting, and querying the task execution state.
The following operations can be specifically executed:
newly adding a task: newly adding the java code logic for specific execution according to the task content edited by the user. Inputting: the specific executed java code needs execution time. And (3) treatment: and generating a timer for specific execution according to the execution time through a quartz framework, and saving the data into a database. And (3) outputting: the result of the processing (success or failure). Reliability: and when the thread is abnormal, if the subsequent processing can be continued, otherwise, the process is quitted.
And (3) modifying the task: and modifying the specifically executed java code logic according to the task content edited by the user. Inputting: the specific executed java code needs execution time. And (3) processing: the timer for a particular execution is modified by the quartz framework according to the execution time and the data is saved into the database. And (3) outputting: the result of the processing (success or failure). Reliability: and when the thread is abnormal, if the subsequent processing can be continued, otherwise, the process is quitted.
And (4) deleting the task: and deleting the task according to the task content edited by the user. Inputting: the deleted task id. And (3) treatment: and deleting the specific execution timer according to the execution time through a quartz framework, and deleting the data in the database. And (3) outputting: the result of the processing (success or failure). Reliability: and when the thread is abnormal, if the subsequent processing can be continued, otherwise, the process is exited.
And (3) executing tasks: the task is immediately executed according to the user's desire. Inputting: the specific task id to execute. And (3) processing: this task is performed immediately through the quartz framework. And (3) outputting: the result of the processing (success or failure). Reliability: and when the thread is abnormal, if the subsequent processing can be continued, otherwise, the process is quitted.
Modifying the template: and changing the template content according to the corresponding content. Inputting: the content of the execution. And (3) treatment: and performing new addition or modification of the template according to the input. And (3) outputting: the result of the processing (success or failure). Reliability: and when the thread is abnormal, if the subsequent processing can be continued, otherwise, the process is quitted.
In S406, after the task is executed, the executor interrupts the network socket connection, and sends a message to the task person in charge, and the task execution is finished.
In S407, after the task is executed, the executor notifies the scheduler and sends a message to the task person in charge to modify the task to the exit state.
In one embodiment, log recording can be performed on all running conditions, the log is recorded into kibana through es, log content comprises basic information such as data receiving time, data sources and reasons of errors in data processing, and software use safety is improved.
In one embodiment, in order to increase the robustness of the system, the software back end starts a timer, inquires whether abnormal data exists in the system every 5 minutes, and processes the abnormal data.
Those skilled in the art will appreciate that all or part of the steps implementing the above embodiments are implemented as computer programs executed by a CPU. When executed by the CPU, performs the functions defined by the methods provided herein. The program may be stored in a computer readable storage medium, which may be a read-only memory, a magnetic or optical disk, or the like.
Furthermore, it should be noted that the above-mentioned figures are only schematic illustrations of the processes involved in the method according to exemplary embodiments of the present application, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed, for example, synchronously or asynchronously in multiple modules.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Fig. 5 is a block diagram illustrating a port task processing device of a satellite measurement, operation and control system according to an exemplary embodiment. As shown in fig. 5, the port task processing device 50 of the satellite measurement, operation and control system includes: a scanning module 502, a scheduling module 504, an assigning module 506, a connecting module 508, and an interrupting module 510.
The scanning module 502 is configured to obtain a plurality of port tasks from a plurality of clients through a built-in port scanner, where the clients include a client and a satellite;
the scheduling module 504 is configured to determine corresponding timing times for the plurality of port tasks respectively;
the allocating module 506 is configured to allocate, when the timing time is reached, the port task corresponding to the timing time to the task executor;
the connection module 508 is configured to establish a connection between the client corresponding to the port task and the task executor to process the port task;
the interrupt module 510 is used to interrupt the connection and notify the port scheduler after the port task is processed.
According to the port task processing device of the satellite measurement, operation and control system, a plurality of port tasks are obtained by a plurality of clients through the satellite measurement, operation and control system through a built-in port scanner, wherein the clients comprise clients and satellite terminals; a port scheduler in the satellite measurement, operation and control system respectively determines corresponding timing time for the plurality of port tasks; when the timing time is up, distributing the port task corresponding to the timing time to a task executor; the client corresponding to the port task and the task executor are connected to process the port task, so that the processing speed and efficiency of the port task in the satellite measurement, operation and control system can be improved, and the processing accuracy is improved.
FIG. 6 is a block diagram illustrating an electronic device in accordance with an example embodiment.
An electronic device 600 according to this embodiment of the present application is described below with reference to fig. 6. The electronic device 600 shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 6, the electronic device 600 is embodied in the form of a general purpose computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 that connects the various system components (including the storage unit 620 and the processing unit 610), a display unit 640, and the like.
Wherein the storage unit stores program code that can be executed by the processing unit 610, such that the processing unit 610 performs the steps according to various exemplary embodiments of the present application described in the present specification. For example, the processing unit 610 may perform the steps as shown in fig. 2, 3, 4.
The storage unit 620 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM) 6201 and/or a cache memory unit 6202, and may further include a read-only memory unit (ROM) 6203.
The memory unit 620 may also include a program/utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 630 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 600 may also communicate with one or more external devices 600' (e.g., keyboard, pointing device, bluetooth device, etc.), such that a user can communicate with devices with which the electronic device 600 interacts, and/or any device (e.g., router, modem, etc.) with which the electronic device 600 can communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 650. Also, the electronic device 600 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 660. The network adapter 660 may communicate with the other modules of the electronic device 600 via the bus 630. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, and may also be implemented by software in combination with necessary hardware. Therefore, as shown in fig. 7, the technical solution according to the embodiment of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, or a network device, etc.) to execute the above method according to the embodiment of the present application.
The software product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The computer readable medium carries one or more programs which, when executed by a device, cause the computer readable medium to perform the functions of: the satellite measurement, operation and control system acquires a plurality of port tasks from a plurality of clients through a built-in port scanner, wherein the clients comprise clients and satellite terminals; a port scheduler in the satellite measurement, operation and control system respectively determines corresponding timing time for the plurality of port tasks; when the timing time is up, distributing the port task corresponding to the timing time to a task executor; and the client corresponding to the port task is connected with the task executor so as to process the port task.
Those skilled in the art will appreciate that the modules described above may be distributed in the apparatus according to the description of the embodiments, or may be modified accordingly in one or more apparatuses unique from the embodiments. The modules of the above embodiments may be combined into one module, or further split into multiple sub-modules.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiment of the present application.
Exemplary embodiments of the present application are specifically illustrated and described above. It is to be understood that the application is not limited to the details of construction, arrangement, or method of implementation described herein; on the contrary, the intention is to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (10)

1. A port task processing method of a satellite measurement, operation and control system is characterized by comprising the following steps:
the satellite measurement, operation and control system obtains a plurality of port tasks from a plurality of clients through a built-in port scanner, wherein the clients comprise clients and satellite terminals;
a port scheduler in the satellite measurement, operation and control system respectively determines corresponding timing time for the plurality of port tasks;
when the timing time is up, distributing the port task corresponding to the timing time to a task executor;
and the client corresponding to the port task is connected with the task executor so as to process the port task.
2. The method of claim 1, wherein the satellite instrumentation and control system obtains a plurality of port tasks from a plurality of clients via a built-in port scanner, comprising:
the satellite measurement, operation and control system establishes network socket connection with the plurality of clients through the built-in port scanner;
binding based on the network socket connection and the ports and IPs of the plurality of clients;
and monitoring the bound ports to acquire a plurality of port tasks.
3. The method of claim 2, wherein snooping the bound ports for obtaining a plurality of port tasks comprises:
acquiring port task processing requests by a plurality of clients;
establishing a connection with the plurality of clients based on the port task processing request;
and acquiring a plurality of port tasks of the plurality of clients based on the connection.
4. The method of claim 3, wherein obtaining the plurality of port tasks for the plurality of clients based on connections comprises:
providing a port task setting page for the plurality of clients;
and acquiring the port task based on the port task setting page.
5. The method of claim 4, wherein a port scheduler in the satellite measurement, operation and control system determines respective timing times for the plurality of port tasks, further comprising:
and setting the timing time corresponding to the plurality of port tasks by the port task setting page.
6. The method of claim 1, wherein the connection between the client corresponding to the port task and the task executor is established to process the port task, and the method comprises:
establishing network socket connection between the client corresponding to the port task and the executor;
connecting the client to operate in the processing process of the port task based on the network socket;
and the task executor responds to the client operation to process the port task.
7. The method of claim 1, further comprising:
and after the port task is processed, interrupting the connection and informing the port scheduler.
8. A port task processing device of a satellite measurement, operation and control system is characterized by comprising:
the scanning module is used for acquiring a plurality of port tasks by a plurality of clients through the built-in port scanner, wherein the clients comprise clients and satellite terminals;
the scheduling module is used for respectively determining corresponding timing time for the plurality of port tasks;
the distribution module is used for distributing the port task corresponding to the timing time to the task executor when the timing time is up;
the connection module is used for establishing connection between the client corresponding to the port task and the task executor so as to process the port task;
and the interrupt module is used for interrupting the connection and informing the port scheduler after the port task is processed.
9. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202210437395.6A 2022-04-25 2022-04-25 Port task processing method, device, equipment and medium of satellite measurement, operation and control system Active CN114696888B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210437395.6A CN114696888B (en) 2022-04-25 2022-04-25 Port task processing method, device, equipment and medium of satellite measurement, operation and control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210437395.6A CN114696888B (en) 2022-04-25 2022-04-25 Port task processing method, device, equipment and medium of satellite measurement, operation and control system

Publications (2)

Publication Number Publication Date
CN114696888A true CN114696888A (en) 2022-07-01
CN114696888B CN114696888B (en) 2022-10-21

Family

ID=82144063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210437395.6A Active CN114696888B (en) 2022-04-25 2022-04-25 Port task processing method, device, equipment and medium of satellite measurement, operation and control system

Country Status (1)

Country Link
CN (1) CN114696888B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915668A (en) * 2022-07-15 2022-08-16 北京航天驭星科技有限公司 Full-connection port scanning method, scanner, system, electronic device and medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050165829A1 (en) * 2003-11-04 2005-07-28 Jeffrey Varasano Systems, Methods and Computer Program Products for Developing Enterprise Software Applications
US20130076512A1 (en) * 2011-09-23 2013-03-28 Elwha Llc Acquiring and transmitting event related tasks and subtasks to interface devices
CN107870571A (en) * 2016-09-26 2018-04-03 北京京东尚科信息技术有限公司 Control the method, apparatus and smart machine of smart machine
CN108647083A (en) * 2018-04-28 2018-10-12 北京京东金融科技控股有限公司 Task executing method, device, system, electronic equipment and computer-readable medium
WO2019223173A1 (en) * 2018-05-21 2019-11-28 平安科技(深圳)有限公司 High-frequency task scheduling method and system, and computer device and storage medium
CN111198753A (en) * 2018-11-16 2020-05-26 北京京东尚科信息技术有限公司 Task scheduling method and device
CN111338775A (en) * 2020-02-21 2020-06-26 南京领行科技股份有限公司 Method and equipment for executing timing task
CN112448977A (en) * 2019-08-30 2021-03-05 北京京东尚科信息技术有限公司 System, method, apparatus and computer readable medium for assigning tasks
CN113254164A (en) * 2021-07-07 2021-08-13 北京航天驭星科技有限公司 Monitoring method and system for task execution state in satellite measurement and control process and measurement and control system
CN113923057A (en) * 2021-12-15 2022-01-11 北京航天驭星科技有限公司 Data processing method and device for satellite measurement, operation and control platform, electronic equipment and medium
CN114297084A (en) * 2021-12-31 2022-04-08 北京航天驭星科技有限公司 Method and device for testing satellite test, operation and control data interface, electronic equipment and medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050165829A1 (en) * 2003-11-04 2005-07-28 Jeffrey Varasano Systems, Methods and Computer Program Products for Developing Enterprise Software Applications
US20130076512A1 (en) * 2011-09-23 2013-03-28 Elwha Llc Acquiring and transmitting event related tasks and subtasks to interface devices
CN107870571A (en) * 2016-09-26 2018-04-03 北京京东尚科信息技术有限公司 Control the method, apparatus and smart machine of smart machine
CN108647083A (en) * 2018-04-28 2018-10-12 北京京东金融科技控股有限公司 Task executing method, device, system, electronic equipment and computer-readable medium
WO2019223173A1 (en) * 2018-05-21 2019-11-28 平安科技(深圳)有限公司 High-frequency task scheduling method and system, and computer device and storage medium
CN111198753A (en) * 2018-11-16 2020-05-26 北京京东尚科信息技术有限公司 Task scheduling method and device
CN112448977A (en) * 2019-08-30 2021-03-05 北京京东尚科信息技术有限公司 System, method, apparatus and computer readable medium for assigning tasks
CN111338775A (en) * 2020-02-21 2020-06-26 南京领行科技股份有限公司 Method and equipment for executing timing task
CN113254164A (en) * 2021-07-07 2021-08-13 北京航天驭星科技有限公司 Monitoring method and system for task execution state in satellite measurement and control process and measurement and control system
CN113923057A (en) * 2021-12-15 2022-01-11 北京航天驭星科技有限公司 Data processing method and device for satellite measurement, operation and control platform, electronic equipment and medium
CN114297084A (en) * 2021-12-31 2022-04-08 北京航天驭星科技有限公司 Method and device for testing satellite test, operation and control data interface, electronic equipment and medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张威: "智能一体化航天测运控网络发展探析", 《天地一体化信息网络》 *
高梦淇: "商业卫星测运控一体化无人值守地面管理系统", 《卫星与网络》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915668A (en) * 2022-07-15 2022-08-16 北京航天驭星科技有限公司 Full-connection port scanning method, scanner, system, electronic device and medium
CN114915668B (en) * 2022-07-15 2022-10-25 北京航天驭星科技有限公司 Full-connection port scanning method, scanner, system, electronic device and medium

Also Published As

Publication number Publication date
CN114696888B (en) 2022-10-21

Similar Documents

Publication Publication Date Title
CN107463499B (en) ADB remote connection method, device, equipment and storage medium
CN107404418B (en) Internet product testing method, device, equipment and storage medium
CN110806970A (en) Client test method and device based on simulation server response and electronic equipment
CN110661853A (en) Data proxy method, device, computer equipment and readable storage medium
CN114500614A (en) Satellite telemetry data processing method and device, electronic equipment and readable medium
CN111954240A (en) Network fault processing method and device and electronic equipment
CN114696888B (en) Port task processing method, device, equipment and medium of satellite measurement, operation and control system
CN112883007A (en) Native protocol message processing method and device for Linux system
CN114490383A (en) Remote debugging system, remote debugging method, computing device and readable medium
CN110324209B (en) Micro-service system monitoring method and device, electronic equipment and computer readable medium
CN111949484B (en) Information processing method, device, electronic equipment and medium
CN111800511B (en) Synchronous login state processing method, system, equipment and readable storage medium
CN113191889A (en) Wind control configuration method, configuration system, electronic device and readable storage medium
CN113535586A (en) Test environment switching method, device, equipment and readable storage medium
CN112394907A (en) Container-based delivery system construction method, application delivery method and delivery system
CN111046010A (en) Log storage method, device, system, electronic equipment and computer readable medium
CN114816672A (en) Virtual machine creation method and device, electronic equipment and storage medium
CN111078268A (en) Bank system business processing method, device, equipment and storage medium
CN112491940A (en) Request forwarding method and device of proxy server, storage medium and electronic equipment
CN112416739A (en) Test method and device and electronic equipment
CN113485902B (en) Method, device, equipment and computer readable medium for testing service platform
CN111681093B (en) Method and device for displaying resource page and electronic equipment
CN111881025A (en) Automatic test task scheduling method, device and system
CN112131095A (en) Pressure testing method and device
CN111666156B (en) Container arranging method, device, equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant