Satellite data interaction method and device, equipment and medium
By intercepting client requests through a front-end mock plugin, generating mock messages, and simulating satellite scenarios, the problem of high cost and low feasibility of satellite data interaction is solved, enabling convenient and efficient satellite data interaction.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ZHEJIANG GEELY HLDG GRP CO LTD
- Filing Date
- 2026-02-13
- Publication Date
- 2026-04-28
AI Technical Summary
Existing technologies for satellite data interaction simulation rely on real equipment, which is costly and has low feasibility, making it difficult to meet testing requirements.
The system uses a front-end mock plugin to intercept client request messages, generates mock messages with a fixed message structure, simulates satellite scenarios, and responds to service requests. It also provides an open parameter configuration interface to simulate various satellite scenarios.
It reduces the cost of satellite data interaction, improves convenience and reliability, and solves the problems of high cost and low feasibility of simulating satellite data interaction in existing technologies.
Smart Images

Figure CN121940035A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of satellite communication technology, specifically to a satellite data interaction method, apparatus, device, and medium. Background Technology
[0002] In the field of satellite communications, simulating data interaction processes such as sending, receiving, and broadcasting satellite messages is crucial for the development and testing of software systems. Traditional satellite system simulation development and testing typically requires establishing a connection with a satellite base station using actual satellite equipment and signals before data interaction simulation can be performed; alternatively, it relies on experimental equipment to conduct simulation experiments to demonstrate satellite data interaction.
[0003] However, in practice, it has been found that the above solutions have certain limitations due to the availability, cost and time constraints of satellites. For example, the equipment costs are high, or the use of real satellite equipment or data for interactive simulation is required for specific test scenarios, which makes them less feasible or difficult to implement. Summary of the Invention
[0004] In view of this, the embodiments of this application are committed to providing a satellite data interaction method, apparatus, device and medium, which can solve technical problems in the prior art such as high cost, low feasibility or difficulty in implementation.
[0005] Firstly, this application provides a satellite data interaction method, including: The client's request messages are intercepted using a front-end mock plugin. These request messages are used to instruct the client to make corresponding service requests to the target satellite. In response to the request message, a corresponding simulated message is generated, which carries a response service message corresponding to the service request and has a fixed message structure. The simulated message is sent to the client.
[0006] In some embodiments, the simulated message includes a message flag field, a time field, a message text field, and a message type field. The message flag field is used to indicate the message format used by the response service message, the time field is used to indicate the sending time of the response service message, the message text field is used to indicate the response service message, and the message type field is used to indicate the message type corresponding to the response service message.
[0007] In some embodiments, before intercepting client request messages using a front-end mock plugin, the method further includes: Obtain the ephemeris TLE data of the target satellite, wherein the ephemeris TLE data includes at least the basic operational data of the target satellite; The satellite scene in which the target satellite is located is simulated based on the ephemeris TLE data; The interception of client request messages using a front-end mock plugin includes: In the satellite scenario, a front-end mock plugin is used to intercept client request messages.
[0008] In some embodiments, simulating the satellite scene in which the target satellite is located based on the ephemeris TLE data includes: Convert the ephemeris TLE data into a preset format data; The satellite scenario is simulated based on the preset format data and the interference data of the target satellite is added.
[0009] In some embodiments, the method further includes: Open the parameter configuration interface of the satellite system where the target satellite is located; The preset format data can be adjusted and modified through the parameter adjustment interface to simulate a new satellite scene.
[0010] In some embodiments, the parameter adjustment interface includes at least one of an orbit and attitude control interface, a satellite communication status interface, and an external injection interface. The orbit and attitude control interface is used to adjust the orbital position and spatial parameters of the target satellite, the satellite communication status interface is used to adjust the communication capability parameters of the target satellite, and the external injection interface is used to adjust the communication quality parameters of the target satellite.
[0011] In some embodiments, the response service message includes random mock data generated using the front-end mock plugin.
[0012] Secondly, this application provides a satellite data interaction device, comprising: The processing module is used to intercept client request messages using a front-end mock plugin. The request messages are used to instruct the client to make corresponding service requests to the target satellite. The processing module is further configured to respond to the request message by generating a corresponding simulated message, the simulated message carrying a response service message corresponding to the service request, and the simulated message having a fixed message structure. A communication module is used to send the simulated message to the client.
[0013] For any content not introduced or described in the embodiments of this application, please refer to the relevant descriptions in the foregoing method embodiments; they will not be repeated here.
[0014] Thirdly, this application provides a computer device, including: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the executable instructions to implement the steps of the above-described satellite data interaction method.
[0015] Fourthly, this application provides a computer-readable storage medium storing computer program instructions thereon, which, when executed by a processor, implement the steps of the above-described satellite data interaction method.
[0016] The technical solution provided in this application embodiment can include the following beneficial effects: This application utilizes a front-end mock plugin to intercept client request messages, the request messages being used to indicate corresponding service requests to a target satellite; in response to the request messages, a corresponding simulated message is generated, the simulated message carrying a response service message corresponding to the service request, the simulated message having a fixed message structure; the simulated message is then sent to the client. In this way, this application can develop a front-end mock plugin to intercept and respond to client request messages, generating corresponding simulated messages to return to the client, realizing the simulation and testing of satellite data interaction, which is beneficial to improving the convenience and reliability of satellite data interaction, and also solves the technical problems of high cost, low feasibility, or difficulty in simulating satellite data interaction in the prior art.
[0017] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description
[0018] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the scope of this application. Furthermore, the same reference numerals denote the same parts throughout the drawings.
[0019] Figure 1 This is a flowchart illustrating a satellite data interaction method provided in an embodiment of this application.
[0020] Figure 2 This is a schematic diagram of a mock interception method provided in an embodiment of this application.
[0021] Figure 3 This is a schematic diagram of a satellite scene simulation provided in an embodiment of this application.
[0022] Figure 4This is a schematic diagram of a simulated message format provided in an embodiment of this application.
[0023] Figure 5 This is a schematic diagram of the structure of a satellite data interaction device provided in an embodiment of this application.
[0024] Figure 6 This is a schematic diagram of another satellite data interaction device provided in an embodiment of this application.
[0025] Figure 7 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0026] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0027] Unless otherwise defined, the technical or scientific terms used in the embodiments of this specification shall have the ordinary meaning understood by one of ordinary skill in the art to which this specification pertains. The terms "first," "second," and similar terms used in the embodiments of this specification do not indicate any order, quantity, or importance, but are merely used to avoid confusion of constituent elements.
[0028] Unless the context otherwise requires, throughout this specification, "a plurality of" means "at least two," and "including" is interpreted as open-ended or encompassing, that is, "including, but not limited to." In the description of this specification, terms such as "one embodiment," "some embodiments," "exemplary embodiment," "example," "specific example," or "some examples" are intended to indicate that a particular feature, structure, material, or characteristic associated with that embodiment or example is included in at least one embodiment or example of this specification. The illustrative representations of the above terms do not necessarily refer to the same embodiment or example.
[0029] Exemplary embodiments of the present application will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this application will be thorough and complete, and will fully convey the scope of the present application to those skilled in the art.
[0030] Please see Figure 1 This is a flowchart illustrating a satellite data interaction method provided in an embodiment of this application. Figure 1The method shown may include the following implementation steps: S101. Intercept client request messages using a front-end mock plugin. The request messages are used to instruct the client to make corresponding service requests to the target satellite.
[0031] The aforementioned request message in this application may refer to a request message sent by the client to request the target satellite to perform corresponding business services, such as querying meteorological data, obtaining positioning data, etc. This application does not impose further limitations or details on this.
[0032] S102. In response to the request message, a corresponding simulated message is generated. The simulated message carries a response service message corresponding to the service request and has a fixed message structure.
[0033] The aforementioned response service message in this application may refer to random simulated data generated using a mock plugin. Specifically, the random simulated data may be response data to the business service requested by the aforementioned request message, such as specific meteorological data, location data, etc., depending on the specific business service requested. This application will not impose further limitations or details on this.
[0034] S103. Send the simulated message to the client.
[0035] In this application, the aforementioned mock plugin leverages the system platform framework's (e.g., the Express framework on the Node.js platform) ability to generate a website web server, intercepting and responding to client-side request messages (e.g., AJAX and HTTP requests). It utilizes front-end mocking technology to generate random simulated data, obtains corresponding response service messages, and packages them into appropriate simulated messages (e.g., short messages) to return to the client. In practical applications, this mock plugin can be deployed independently within front-end development tools such as Webpack and Vite. Please see [link to relevant documentation]. Figure 2 This is a schematic diagram illustrating a mock plugin interception method provided in an embodiment of this application. For example... Figure 2 As shown, during the development phase, developers can directly develop the corresponding code and client requests (such as AJAX requests). The AJAX request will be intercepted by the mock plugin during its transmission. The figure simulates the process of a client request occurring, without depending on or affecting other unfinished interface services. During the development phase, this application can also utilize front-end simulation technology to complete the development of corresponding interface services, such as parameter tuning interfaces, which will be detailed below. Further limitations and descriptions are not provided here.
[0036] By implementing the embodiments of this application, this application utilizes a front-end mock plugin to intercept client request messages, which are used to instruct for corresponding service requests to a target satellite. In response to the request message, a corresponding mock message is generated, carrying a response service message corresponding to the service request. The mock message has a fixed message structure. The mock message is then sent to the client. Thus, this application allows the development of a front-end mock plugin to intercept and respond to client request messages, generating corresponding mock messages to return to the client, thereby simulating and testing satellite data interaction. This improves the convenience and reliability of satellite data interaction and solves the technical problems of high cost, low feasibility, or difficulty in simulating satellite data interaction in existing technologies.
[0037] The following describes some specific and optional embodiments related to this application.
[0038] Before step S101, this application can also utilize front-end simulation mock technology to simulate the corresponding satellite scene. Specifically, this application can first obtain the satellite ephemeris (Two-Line Orbital Element, TLE) data of the target satellite. The aforementioned TLE data, also known as two-line orbital data, can include, but is not limited to, the basic operational data of the target satellite, such as data describing the target satellite's speed, position (e.g., longitude, latitude, and altitude), inclination, or other data related to the target satellite's operation at different times. This application does not impose further limitations on this. Based on the aforementioned TLE data and combined with front-end simulation mock technology, this application can simulate the satellite scene in which the target satellite is located. Specifically, for example, this application can use the satellite.js library to convert the aforementioned TLE data into corresponding preset format data. The format of this preset format data is pre-defined by the system according to actual conditions, such as CZML, KML, etc. This application does not impose further limitations on this. Next, this application can simulate the satellite scenario in which the target satellite is located, based on the aforementioned preset format data and by randomly adding interference data of the target satellite using a mock function. This includes simulating the effects of weather, atmospheric drag, or other external factors on the satellite's orbit, attitude, and communication quality. For example, please refer to... Figure 3 This is a schematic diagram of a satellite scene simulation provided in an embodiment of this application. For example... Figure 3 As shown, when no interference data is added to the satellite scene in which the target satellite is located, the target satellite's communication status is good and it can communicate normally with the terminal equipment on the ground. Conversely, when corresponding interference data is added to the above satellite scene, the target satellite's communication status deteriorates or it cannot communicate. In this case, the target satellite cannot communicate normally with the terminal equipment on the ground. This application will not impose further limitations or details on this.
[0039] In practical applications, due to the functional limitations of mock plugins, it is impossible to simulate the corresponding satellite scenarios or satellite data. This application can use front-end mock technology and formulate a series of rules (also known as rule templates) to simulate the satellite scenarios or satellite data corresponding to the aforementioned target satellite. These can include, but are not limited to, simulations of the target satellite's orbit, attitude, environment, mission, interference factors, or other custom data. Among them, mission simulation can include various types of communication mission transmission simulations and mixed simulations of various missions. By simulating the satellite scenarios or satellite data of the aforementioned target satellite, the communication status of the aforementioned target satellite under various random satellite scenarios can be evaluated, i.e., the availability of the satellite system to which the aforementioned target satellite resides. This application does not impose further limitations or details on this.
[0040] In some optional embodiments, this application may also provide various parameter adjustment interfaces for the satellite system containing the target satellite. These interfaces allow for the adjustment and modification of preset format data (e.g., CZML, KML, etc.), such as adjusting the target satellite's operating mode and communication capabilities to simulate new satellite scenarios based on actual needs. Specifically, during the testing phase, this application can develop various parameter adjustment interfaces for the satellite system containing the target satellite while simulating the satellite scenario. This facilitates proactive intervention by R&D personnel to adjust and modify the satellite system containing the target satellite through these interfaces, simulating the desired satellite scenario. This application does not limit the type or number of these parameter adjustment interfaces; they can be customized according to actual system needs. For example, these interface types may include, but are not limited to, at least one or more combinations of the following: orbit and attitude control interfaces, satellite communication status interfaces, external injection interfaces, or other custom types of interfaces. The orbit and attitude control interface can be used to adjust or dock with the target satellite's orbital position and spatial parameters, such as adjusting the number of orbits, semi-axial field, eccentricity, and inclination angle. The aforementioned satellite communication status interface can be used to adjust or interface with the communication capability parameters of the target satellite, such as setting the target satellite's field of view to the ground station or terminal equipment, the target satellite's maximum service distance, and the target satellite's payload. The aforementioned external injection interface can be used to adjust or interface with the communication quality parameters of the target satellite, such as setting the target satellite's communication quality grading threshold and the weight of external factors (such as weather) on communication quality. This application does not impose further limitations or details on these parameters.
[0041] In steps S101-S103, after simulating the corresponding satellite scenario, this application can use a front-end mock plugin to intercept client request messages (such as HTTP requests) in the satellite scenario, respond to the above request messages, use the mock plugin to generate corresponding random simulated data (i.e. the above response service message), package it to generate a simulated message, and return it to the client.
[0042] In practical applications, short messages are typically used for satellite communication to save satellite bandwidth; that is, the aforementioned simulated messages can usually be short messages used in satellite communication. This application does not limit the specific format of the aforementioned simulated messages or short messages; for example, please refer to [link to relevant documentation]. Figure 4 This is a schematic diagram of a simulated message format provided in an embodiment of this application. For example... Figure 4 As shown, the aforementioned simulated message (or short message) may specifically include a message flag field, a time field, a message text field, and a message type field. The message flag field can be used to indicate the message format used by the response service message, such as HEX or ASCII. This application does not limit the specific representation of the message format; for example, 0X can be used to represent the HEX message format. The time field can be used to indicate the sending time of the response service message, or it can refer to the sending time of the entire simulated message. The message text field can be used to indicate the response service message, that is, to indicate the specific content of the response service message, such as the aforementioned random simulated data. This application does not limit the specific representation of the response service message; for example, it can use hexadecimal representation. The message type field can be used to indicate the message type corresponding to the response service message. This message type corresponds one-to-one with the service request type indicated by the request message, such as location reporting type, task collection type, or ordinary message type, etc. It can be set according to actual business needs, and this application does not limit or elaborate on this. This application does not limit the memory size (e.g., byte size) occupied by the above-mentioned message flag field, time field, message text field and message type field. They can be set according to the actual situation, and this application will not impose too many restrictions or details on this.
[0043] As can be seen, this application can utilize mock technology to simulate satellite scenarios, interface services, and data interactions of a target satellite under certain rules, without requiring a real satellite system as support, greatly improving development and testing efficiency and saving R&D costs. It exposes corresponding parameter configuration interfaces to reduce external service dependencies and simulates various virtual satellite scenarios according to actual needs, meeting the testing requirements of satellite data interaction under different satellite scenarios, and providing more flexible satellite scenario services. This application uses a mock plugin to generate random simulated data to simulate satellite data interaction, solving the problem of difficulty in obtaining actual satellite data. It can quickly generate simulated data that conforms to the current satellite scenario, making data acquisition faster. Therefore, the solution of this application has advantages such as low cost, short time, and flexible scenarios. In specific implementation, this application uses a front-end mock plugin to intercept client request messages, which are used to indicate corresponding service requests to the target satellite; in response to the request message, a corresponding simulated message is generated, which carries the response service message corresponding to the service request, and the simulated message has a fixed message structure; the simulated message is then sent to the client. In this way, this application can develop a front-end mock plugin to intercept and respond to client request messages, generate corresponding mock messages and return them to the client, realize the simulation and testing of satellite data interaction, which is conducive to improving the convenience and reliability of satellite data interaction, and also solves the technical problems of high cost, low feasibility or difficulty in simulating satellite data interaction in the prior art.
[0044] Based on the above embodiments, please refer to Figure 5 This is a schematic diagram of the structure of a satellite data interaction device provided in an embodiment of this application. Figure 5 The device 500 shown may include a processing module 501 and a communication module 502, wherein: The processing module 501 is used to intercept client request messages using a front-end mock plugin. The request messages are used to instruct the client to make a corresponding service request to the target satellite. The processing module 501 is further configured to respond to the request message by generating a corresponding simulated message, the simulated message carrying a response service message corresponding to the service request, and the simulated message having a fixed message structure. The communication module 502 is used to send the simulated message to the client.
[0045] In some embodiments, the simulated message includes a message flag field, a time field, a message text field, and a message type field. The message flag field is used to indicate the message format used by the response service message, the time field is used to indicate the sending time of the response service message, the message text field is used to indicate the response service message, and the message type field is used to indicate the message type corresponding to the response service message.
[0046] In some embodiments, before intercepting client request messages using a front-end mock plugin, the processing module 501 is further configured to: Obtain the ephemeris TLE data of the target satellite, wherein the ephemeris TLE data includes at least the basic operational data of the target satellite; The satellite scene in which the target satellite is located is simulated based on the ephemeris TLE data; The interception of client request messages using a front-end mock plugin includes: In the satellite scenario, a front-end mock plugin is used to intercept client request messages.
[0047] In some embodiments, the processing module 501 is specifically used for: Convert the ephemeris TLE data into a preset format data; The satellite scenario is simulated based on the preset format data and the interference data of the target satellite is added.
[0048] In some embodiments, the processing module 501 is further configured to: Open the parameter configuration interface of the satellite system where the target satellite is located; The preset format data can be adjusted and modified through the parameter adjustment interface to simulate a new satellite scene.
[0049] In some embodiments, the parameter adjustment interface includes at least one of an orbit and attitude control interface, a satellite communication status interface, and an external injection interface. The orbit and attitude control interface is used to adjust the orbital position and spatial parameters of the target satellite, the satellite communication status interface is used to adjust the communication capability parameters of the target satellite, and the external injection interface is used to adjust the communication quality parameters of the target satellite.
[0050] In some embodiments, the response service message includes random mock data generated using the front-end mock plugin.
[0051] Please see Figure 6 This is a schematic diagram of the structure of another satellite data interaction device provided in an embodiment of this application. For example... Figure 6The device shown can be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0052] Reference Figure 6 The device 600 may include one or more of the following components: a processing component 602, a memory 604, a power supply component 606, a multimedia component 608, an audio component 610, an input / output interface 612, a sensor component 614, and a communication component 616.
[0053] Processing component 602 typically controls the overall operation of device 600, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the aforementioned satellite data interaction method. Furthermore, processing component 602 may include one or more modules to facilitate interaction between processing component 602 and other components. For example, processing component 602 may include a multimedia module to facilitate interaction between multimedia component 608 and processing component 602.
[0054] Memory 604 is configured to store various types of data to support the operation of device 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, etc. Memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0055] Power supply component 606 provides power to various components of device 600. Power supply component 606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to device 600.
[0056] Multimedia component 608 includes a screen that provides an output interface between the device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 608 includes a front-facing camera and / or a rear-facing camera. When the device 600 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0057] Audio component 610 is configured to output and / or input audio signals. For example, audio component 610 includes a microphone (MIC) configured to receive external audio signals when device 600 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 604 or transmitted via communication component 616. In some embodiments, audio component 610 also includes a speaker for outputting audio signals.
[0058] Input / output interface 612 provides an interface between processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, start buttons, and lock buttons.
[0059] Sensor assembly 614 includes one or more sensors for providing status assessments of various aspects of device 600. For example, sensor assembly 614 may detect the on / off state of device 600, the relative positioning of components such as the display and keypad of device 600, changes in the position of device 600 or a component of device 600, the presence or absence of user contact with device 600, the orientation or acceleration / deceleration of device 600, and temperature changes of device 600. Sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 614 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0060] Communication component 616 is configured to facilitate wired or wireless communication between device 600 and other devices. Device 600 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 616 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0061] In an exemplary embodiment, the apparatus 600 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the satellite data interaction method described above.
[0062] Understandably, the processor 620 in this embodiment can be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method embodiment can be completed by integrated logic circuits in the processor's hardware or by software instructions. The processor described above can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0063] Understandably, the memory 604 in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory used in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0064] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, which can be executed by the processor 620 of the device 600 to complete the above-described upper-level satellite data interaction method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0065] The aforementioned device can be a standalone electronic device or a part of a standalone electronic device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be a single IC or a collection of multiple ICs. The chip can include, but is not limited to, the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), and SoC (System on Chip). The aforementioned integrated circuit or chip can be used to execute executable instructions (or code) to implement the aforementioned satellite data interaction method. The executable instructions can be stored in the integrated circuit or chip or obtained from other devices or equipment. For example, the integrated circuit or chip includes a processor, memory, and an interface for communicating with other devices. The executable instructions can be stored in the memory, and when the executable instructions are executed by the processor, the above-mentioned satellite data interaction method can be implemented; or, the integrated circuit or chip can receive the executable instructions through the interface and transmit them to the processor for execution to implement the above-mentioned satellite data interaction method.
[0066] Please see Figure 7 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. For example, as shown... Figure 7 As shown, the computer device 700 includes a memory 701 and a processor 702. The memory 701 stores executable program code 7011, and the processor 702 is used to call and execute the executable program code 7011 to perform a satellite data interaction method.
[0067] This application embodiment can divide a computer device into functional modules according to the above method embodiment. For example, each module can correspond to a specific function, or two or more functions can be integrated into a processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods. When dividing each functional module according to a specific function, the computer device may include: a processing module and a communication module, etc.
[0068] It should be noted that all relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here. The computer device provided in this embodiment is used to execute the above-described satellite data interaction method, and therefore can achieve the same effect as the above implementation method.
[0069] In another exemplary embodiment, a computer program product is also provided, which includes a computer program executable by a programmable device, the computer program having a code portion for performing the above-described satellite data interaction method when executed by the programmable device.
[0070] It should be noted that the descriptions of the above embodiments of storage media, devices, and equipment are similar to the descriptions of the above method embodiments, and have similar beneficial effects. For technical details not disclosed in the embodiments of storage media, devices, and equipment of this application, please refer to the descriptions of the method embodiments of this application for understanding.
[0071] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of this application. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed in this application. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0072] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications or equivalent substitutions made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A satellite data interaction method, characterized in that, include: The client's request messages are intercepted using a front-end mock plugin. These request messages are used to instruct the client to make corresponding service requests to the target satellite. In response to the request message, a corresponding simulated message is generated, which carries a response service message corresponding to the service request and has a fixed message structure. The simulated message is sent to the client.
2. The method according to claim 1, characterized in that, The simulated message includes a message flag field, a time field, a message text field, and a message type field. The message flag field is used to indicate the message format used by the response service message, the time field is used to indicate the sending time of the response service message, the message text field is used to indicate the response service message, and the message type field is used to indicate the message type corresponding to the response service message.
3. The method according to claim 1, characterized in that, Before using a front-end mock plugin to intercept client request messages, the method further includes: Obtain the ephemeris TLE data of the target satellite, wherein the ephemeris TLE data includes at least the basic operational data of the target satellite; The satellite scene in which the target satellite is located is simulated based on the ephemeris TLE data; The interception of client request messages using a front-end mock plugin includes: In the satellite scenario, a front-end mock plugin is used to intercept client request messages.
4. The method according to claim 3, characterized in that, The satellite scene simulated based on the ephemeris TLE data includes: Convert the ephemeris TLE data into a preset format data; The satellite scenario is simulated based on the preset format data and the interference data of the target satellite is added.
5. The method according to claim 4, characterized in that, The method further includes: Open the parameter configuration interface of the satellite system where the target satellite is located; The preset format data can be adjusted and modified through the parameter adjustment interface to simulate a new satellite scene.
6. The method according to claim 5, characterized in that, The parameter adjustment interface includes at least one of the following: an orbit and attitude control interface, a satellite communication status interface, and an external injection interface. The orbit and attitude control interface is used to adjust the orbital position and spatial parameters of the target satellite, the satellite communication status interface is used to adjust the communication capability parameters of the target satellite, and the external injection interface is used to adjust the communication quality parameters of the target satellite.
7. The method according to any one of claims 1-6, characterized in that, The response service message includes random mock data generated using the front-end mock plugin.
8. A satellite data interaction device, characterized in that, include: The processing module is used to intercept client request messages using a front-end mock plugin. The request messages are used to instruct the client to make corresponding service requests to the target satellite. The processing module is also configured to respond to the request message by generating a corresponding simulated message, the simulated message carrying a response service message corresponding to the service request, and the simulated message having a fixed message structure. A communication module is used to send the simulated message to the client.
9. A computer device, characterized in that, include: processor; A memory for storing processor-executable instructions; wherein the processor is configured to execute the executable instructions to implement the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When the computer program instructions are executed by the processor, they implement the steps of the method according to any one of claims 1 to 7.