Satellite map interactive communication method, applet, platform and medium
By obtaining the real-time position of the satellite and generating interactive controls, it solves the problem of inability to realize dynamic satellite interaction in the existing technology, improves the visualization and interactivity of satellite map interaction, and provides a better user experience.
Patent Information
- Application Number
- CN202410511053.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-26
- Publication Date
- 2024-10-01
AI Technical Summary
Existing technology cannot realize dynamic interaction with satellites on mobile phone terminals, and cannot clearly know the position and relative position of satellites, resulting in a poor interactive experience.
Obtain real-time satellite positions by requesting map rendering data, generate satellite map rendering data, add interactive controls to the map, detect control operations, interact with satellites according to control instructions, obtain audio, video and image data, and update rendering data to achieve interactive experience .
It realizes the visualization and dynamic interaction of satellite positions, improves the interactive experience, and enables users to interact with satellites in audio, video or images to obtain a better user experience.
Smart Images

Figure CN118740231A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of satellite interactive communication, and in particular to a satellite map interactive communication method, applet, platform and medium. Background Art
[0002] As pets play an increasingly important role in people's lives, people's feelings for their pets are also growing deeper. However, due to the limited lifespan of pets, pet owners often feel sad or lost after their pets die. Pets are also commonly called "cats" or "dogs". This has given rise to the demand to send pets into space via satellites to express the pet owners' thoughts, that is, to send the pet's ashes or photos into space and then use mobile phones and other terminal devices to check the pet's satellite location and status in the satellite.
[0003] However, only static information such as pets is transmitted back to the mobile terminal, but dynamic information of the pets is missing. It is difficult to interact with the pet image in the mobile terminal, and the location of the satellite and its relative position to the mobile terminal cannot be clearly known, so a good interactive experience cannot be formed. Summary of the invention
[0004] The present disclosure provides a satellite map interactive communication method, applet, platform and medium, which can solve at least one of the problems mentioned in the background technology. To solve the above technical problems, the present disclosure provides the following technical solutions: As one aspect of an embodiment of the present disclosure, a satellite map interactive communication method is provided, characterized in that it includes the following steps: Request map rendering data and obtain real-time satellite positions; Generate first satellite map rendering data according to the real-time position of the satellite; Generate a first rendering action based on the first satellite map rendering data, wherein the first rendering action includes generating a satellite map and displaying the position of a satellite in the satellite map, the satellite map includes a control for interacting with a satellite, and operating the control can send a control instruction; Detect whether the control is operated, and if so, interact with the satellite based on the type of the control instruction. Optionally, it is detected whether the control has been operated, and if not, the request for map rendering data is returned.
[0005] Optionally, the interaction with the satellite based on the type of the control instruction includes: Classifying the types of the control instructions, and determining whether the control instructions include control instructions that require interaction with a satellite; If there is no control instruction for satellite interaction, the control instruction is parsed into second satellite map rendering data; and / or, if there is an instruction that the satellite needs to execute, the control instruction is parsed into satellite operation data, and the satellite operation data is transmitted to the satellite to perform the operation so as to generate satellite interaction data, wherein the satellite interaction data includes the acquired audio, video and / or image of the corresponding target; the satellite interaction data is received and third satellite map rendering data is generated.
[0006] Optionally, if there is no satellite instruction to be executed, a second rendering action is generated based on the second satellite map rendering data.
[0007] Optionally, if there is an instruction that needs to be executed by the satellite, a third rendering action is generated based on the third satellite map rendering data.
[0008] Optionally, the real-time position of the satellite includes the position of the satellite orbit relative to the earth; the satellite map interactive communication method also includes generating fourth satellite map rendering data and performing a fourth rendering action when the satellite on the satellite orbit passes through a specified position range on the earth.
[0009] As another aspect of the present disclosure, there is provided a small program, including: Request unit, requesting map rendering data and obtaining real-time satellite positions; A data generating unit, generating first satellite map rendering data according to the real-time position of the satellite; A map rendering unit, based on the first satellite map rendering data, generates a first rendering action, wherein the first rendering action includes generating a satellite map and displaying the position of a satellite in the satellite map, the satellite map includes a control for interacting with a satellite, and operating the control can send a control instruction; The satellite interaction unit detects whether the control is operated, and if so, interacts with the satellite based on the type of the control instruction.
[0010] As another aspect of an embodiment of the present disclosure, a ground platform is provided, including a handheld terminal and a server, which is used to communicate with a satellite module in a satellite, and the server stores a computer program for implementing the above-mentioned satellite map interactive communication method when executing the computer program.
[0011] As another aspect of the embodiments of the present disclosure, a satellite map interactive communication platform is provided, including: As in the above-mentioned ground platform, the server and the satellite module are communicatively connected; The satellite module is used to generate the real-time position of the satellite; the satellite module is also used to perform corresponding operations based on the satellite operation data, and then obtain satellite interaction data and transmit it to the server in the ground platform.
[0012] As another aspect of an embodiment of the present disclosure, a readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the above-mentioned satellite map interactive communication method is implemented.
[0013] Compared with the prior art, the disclosed embodiment can render the screen based on the real-time position of the satellite, and visualize the satellite position in the satellite map according to the satellite map rendering data generated in the server, so as to provide a better interactive experience; and can select the interaction with the satellite according to the user's operation on the control to obtain the satellite interaction data. The disclosed embodiment also provides a ground platform to realize the interaction with the satellite, and the handheld terminal is used to realize the applet, so that the user can interact with the satellite map, use the server as the database of the satellite map and realize the update calculation of the satellite map rendering data, and communicate with the satellite according to the interaction between the user and the control in the satellite map, and obtain the satellite audio and video or image, and then process and feed it back to the handheld terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 This is a flowchart of the satellite map interactive communication method in Embodiment 1 of the present disclosure; Figure 2 is a flowchart of the program for the interaction among the handheld terminal, the server and the satellite module in Embodiment 1 of the present disclosure; Figure 3 This is a framework diagram of the mini-program implementation in Embodiment 2 of the present disclosure; Figure 4 The satellite map rendering in Embodiment 1 or 2 of the present disclosure; Figure 5 This is a schematic block diagram of a ground platform in Embodiment 3 of the present disclosure; Figure 6 This is a schematic block diagram of the satellite map interactive communication platform in Embodiment 4 of the present disclosure. DETAILED DESCRIPTION
[0015] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0016] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0017] The term "and / or" herein is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set consisting of A, B, and C.
[0018] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.
[0019] It can be understood that the above-mentioned various method embodiments mentioned in the present disclosure can be combined with each other to form a combined embodiment without violating the principle logic. Due to space limitations, the present disclosure will not go into details.
[0020] In addition, the present disclosure also provides a satellite map interactive communication platform program, a ground platform, a computer-readable storage medium and a mini-program for satellite map interactive communication, all of which can be used to implement any satellite map interactive communication method provided by the present disclosure. The corresponding technical solutions and descriptions are referred to in the corresponding records of the method part and will not be repeated here.
[0021] Example 1 This embodiment provides a satellite map interactive communication method, such as Figure 1 As shown, the following steps are included: S10, requesting map rendering data and obtaining the real-time satellite position; S20, generating first satellite map rendering data according to the real-time position of the satellite; S30, generating a first rendering action based on the first satellite map rendering data, wherein the first rendering action includes generating a satellite map and displaying positions of satellites in the satellite map, the satellite map includes controls for interacting with satellites, and operating the controls can send control instructions; S40: Detect whether the control has been operated, and if so, interact with the satellite based on the type of the control instruction.
[0022] Based on the above configuration, the embodiment of the present disclosure can render the screen based on the real-time satellite position, and realize the visualization of the satellite position in the satellite map according to the satellite map rendering data generated in the server, so as to provide a better interactive experience; and can select the interaction with the satellite according to the user's operation on the control to obtain the satellite interaction data.
[0023] like Figure 2-4 As shown, each step of the embodiment of the present disclosure is described in detail below.
[0024] S10, requesting map rendering data and obtaining the real-time satellite position; Among them, when the user enters the mini program or APP that implements the above method (or when the mini program or APP is loaded), an instruction to request map rendering data is sent to the server or satellite module, and then the real-time position of the satellite is obtained from the satellite module or server.
[0025] S20. Generate first satellite map rendering data according to the real-time position of the satellite.
[0026] In some embodiments, generating first satellite map rendering data according to the real-time position of the satellite may include the following steps: Use the canvas component in the WeChat developer framework; add a canvas component in the .wxml file of the mini-program page, and use the canvas component to draw the pre-established object according to the real-time position of the satellite (for example, using the ctx.draw() function), where the object is a satellite map, and the real-time position of the satellite is updated to the coordinate system of the satellite map, so that the position and viewing angle of the satellite in the satellite map can be obtained, and then the first satellite map rendering data can be obtained to realize the drawing in the WeChat mini-program in the handheld terminal.
[0027] S30, generating a first rendering action based on the first satellite map rendering data, wherein the first rendering action includes generating a satellite map and displaying positions of satellites in the satellite map, the satellite map includes controls for interacting with satellites, and operating the controls can send control instructions; The first satellite map rendering data can be rendered using the 3D library Threejs encapsulated by webgl to generate a first rendering action, and a rendering loop can be performed according to the first satellite map rendering data at a preset frame rate to avoid unnecessary redrawing (Draw Call), and similar or static objects can be merged into a large grid as much as possible. Figure 4 Shown is a 3D rendered satellite map, which includes multiple controls for interacting with satellites.
[0028] S40, detecting whether the control has been operated, and if so, interacting with the satellite based on the type of the control instruction; Among them, the satellite map in the applet can detect whether the control has been operated, and can interact with the satellite according to the operation situation, classify the types of the control instructions, and determine whether the control instructions contain control instructions that need to interact with the satellite; as for the control types listed in S30, some controls need to interact with the satellite module in the satellite for data. This step can be further improved as follows: If there is an instruction that needs to be executed by the satellite, the control instruction is parsed into satellite operation data, and the satellite operation data is transmitted to the satellite to perform the operation to generate satellite interaction data, wherein the satellite interaction data includes the acquired audio, video and / or image of the corresponding target. Those skilled in the art will know that it is not limited to the above-mentioned audio, video or image data. As long as it is related to the pet information and the pet owner wants to obtain the information on the satellite, it can be obtained in this way; the server can receive the satellite interaction data and generate third satellite map rendering data. If there is an instruction that needs to be executed by the satellite, a third rendering action is generated based on the third satellite map rendering data. At this time, the third satellite map rendering data can be displayed to the pet owner in the visual control in the mini program.
[0029] If there is no control instruction for interacting with the satellite, a second rendering action is generated based on the second satellite map rendering data, and the control instruction is parsed into the second satellite map rendering data; that is, the satellite map is rendered directly through the server.
[0030] As a preferred implementation, the real-time position of the satellite includes the position of the satellite orbit relative to the earth; the satellite map interactive communication method further includes generating fourth satellite map rendering data and performing a fourth rendering action when the satellite on the satellite orbit passes through a specified position range on the earth. That is, when the satellite on the satellite orbit passes through a specified position range on the earth, the disclosed embodiment can actively update the satellite map, for example, when the satellite passes through the territory, the satellite's position and other information will be pushed to the user.
[0031] Example 2 This embodiment provides a small program 100, such as Figure 3 As shown, including: Request unit 1, requests map rendering data and obtains the real-time position of the satellite; in request unit 1, when the user enters the mini-program or APP that implements the above method (or during the loading of the mini-program or APP), an instruction to request map rendering data is sent to the server or satellite module, thereby obtaining the real-time position of the satellite fed back by the satellite module or server.
[0032] The data generation unit 2 generates first satellite map rendering data according to the real-time position of the satellite; in the data generation unit 2, the first satellite map rendering data is generated according to the real-time position of the satellite; the following functions may be included: Use the canvas component in the WeChat developer framework; add a canvas component in the .wxml file of the mini-program page, and use the canvas component to draw the pre-established object according to the real-time position of the satellite (for example, using the ctx.draw() function), where the object is a satellite map, and the real-time position of the satellite is updated to the coordinate system of the satellite map, so that the position and viewing angle of the satellite in the satellite map can be obtained, and then the first satellite map rendering data can be obtained to realize the drawing in the WeChat mini-program in the handheld terminal.
[0033] A map rendering unit 3 generates a first rendering action based on the first satellite map rendering data, wherein the first rendering action includes generating a satellite map and displaying the position of a satellite in the satellite map, the satellite map includes a control for interacting with a satellite, and operating the control can send a control instruction; In the map rendering unit 3, the first satellite map rendering data can be rendered using the 3D library Threejs encapsulated by webgl to generate a first rendering action, and a rendering loop can be performed according to the first satellite map rendering data at a preset frame rate to avoid unnecessary redrawing (Draw Call), and similar or static objects can be merged into a large grid as much as possible. Figure 4 Shown is a 3D rendered satellite map, which includes multiple controls for interacting with satellites.
[0034] A satellite interaction unit 4 detects whether the control has been operated, and if so, interacts with the satellite based on the type of the control instruction; In the satellite interaction unit 4, the satellite map in the applet can detect whether the control has been operated, and can realize the interaction with the satellite according to the operation situation, classify the type of the control instruction, and judge whether the control instruction contains the control instruction that needs to interact with the satellite; as the control types listed in S30, some controls need to interact with the satellite module in the satellite for data. This step can be further improved as follows: If there are instructions that need to be executed by the satellite, the control instructions are parsed into satellite operation data, and the satellite operation data is transmitted to the satellite to perform the operation to generate satellite interaction data, wherein the satellite interaction data includes the acquired audio, video and / or image of the corresponding target. Those skilled in the art will know that it is not limited to the above-mentioned audio, video or image data. As long as it is related to the pet information and the pet owner wants to obtain the information on the satellite, it can be obtained in this way; the server can receive the satellite interaction data and generate third satellite map rendering data. If there are instructions that need to be executed by the satellite, a third rendering action is generated based on the third satellite map rendering data. At this time, the third satellite map rendering data can be displayed to the pet owner in the visualization control in the mini program. In order to achieve a better user experience, the visualization interface can be set to the "Interstellar Dialogue" interface.
[0035] If there is no control instruction for interacting with the satellite, a second rendering action is generated based on the second satellite map rendering data. For example, if the operated controls are "Journey to the Stars", "Talk to Pets", "Home on Earth" and "Pet Information", etc., the control instructions are parsed as second satellite map rendering data; that is, the satellite map is rendered directly through the server, and "photos or video records of satellite launches and star installations" are displayed on the satellite map.
[0036] As a preferred implementation, the real-time position of the satellite includes the position of the satellite orbit relative to the earth; the satellite map interactive communication method further includes generating fourth satellite map rendering data and performing a fourth rendering action when the satellite on the satellite orbit passes through a specified position range on the earth. That is, when the satellite on the satellite orbit passes through a specified position range on the earth, the disclosed embodiment can actively update the satellite map, for example, when the satellite passes through the territory, the satellite's position and other information will be pushed to the user.
[0037] Example 3 This embodiment provides a ground platform, such as Figure 5 As shown, it includes a handheld terminal and a server, which are used to communicate with the satellite module in the satellite. The server stores a computer program for implementing the satellite map interactive communication method in Example 1 when executing the computer program.
[0038] Embodiment 3 of the present disclosure is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0039] The handheld terminal can be a mobile terminal such as a mobile phone or a tablet, or a wearable device such as a smart watch.
[0040] The server may be a computer device or a cloud computing device used by a cloud server, etc.
[0041] Example 4 The present disclosure provides a satellite map interactive communication platform. Figure 6 As shown, it includes: a ground platform as shown in Example 3, wherein the server and the satellite module are in communication connection, and further includes a satellite module for generating a real-time satellite position; the satellite module is also used to perform corresponding operations based on the satellite operation data, and then obtain satellite interaction data and transmit it to the server in the ground platform. Among them, the satellite module has a shooting function or a recording function, which can be realized by using aviation-grade electronic equipment, and this embodiment will not be described in detail.
[0042] Example 5 An embodiment of the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the program is executed by a processor, the steps of the satellite map interactive communication method in Embodiment 1 are implemented.
[0043] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.
[0044] In a possible implementation, the present disclosure may also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps of the satellite map interactive communication method described in Example 1.
[0045] Among them, the program code for executing the present disclosure can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.
[0046] Although embodiments of the present disclosure have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present disclosure, and the scope of the present disclosure is defined by the appended claims and their equivalents.
Claims
1. A satellite map interactive communication method, characterized in that: The steps include: Request map rendering data and obtain real-time satellite positions; Generate first satellite map rendering data according to the real-time position of the satellite; Generate a first rendering action based on the first satellite map rendering data, wherein the first rendering action includes generating a satellite map and displaying the position of a satellite in the satellite map, the satellite map includes a control for interacting with a satellite, and operating the control can send a control instruction; Detect whether the control is operated, and if so, interact with the satellite based on the type of the control instruction.
2. The satellite map interactive communication method according to claim 1, characterized in that: Check whether the control has any operation. If not, return the requested map rendering data.
3. The satellite map interactive communication method according to claim 1 or 2, characterized in that: Interacting with the satellite based on the type of the control command includes: Classifying the types of the control instructions, and determining whether the control instructions include control instructions that require interaction with a satellite; If there is no control instruction for satellite interaction, the control instruction is parsed into second satellite map rendering data; and / or, if there is an instruction that the satellite needs to execute, the control instruction is parsed into satellite operation data, and the satellite operation data is transmitted to the satellite to perform the operation so as to generate satellite interaction data, wherein the satellite interaction data includes the acquired audio, video and / or image of the corresponding target; the satellite interaction data is received and third satellite map rendering data is generated.
4. The satellite map interactive communication method according to claim 3, characterized in that: If there is no satellite instruction to be executed, a second rendering action is generated based on the second satellite map rendering data.
5. The satellite map interactive communication method according to claim 3, characterized in that: If there is an instruction that needs to be executed by the satellite, a third rendering action is generated based on the third satellite map rendering data.
6. The satellite map interactive communication method according to any one of claims 1 to 2 and 4, characterized in that: The real-time position of the satellite includes the position of the satellite orbit relative to the earth; the satellite map interactive communication method also includes generating fourth satellite map rendering data and executing a fourth rendering action when the satellite on the satellite orbit passes through a specified position range on the earth.
7. A small program, characterized in that: include: Request unit, requesting map rendering data and obtaining real-time satellite positions; A data generating unit, generating first satellite map rendering data according to the real-time position of the satellite; A map rendering unit, based on the first satellite map rendering data, generates a first rendering action, wherein the first rendering action includes generating a satellite map and displaying the position of a satellite in the satellite map, the satellite map includes a control for interacting with a satellite, and operating the control can send a control instruction; The satellite interaction unit detects whether the control is operated, and if so, interacts with the satellite based on the type of the control instruction.
8. A ground platform, comprising a handheld terminal and a server, for communicating with a satellite module in a satellite, characterized in that: The server stores a computer program for implementing the satellite map interactive communication method according to any one of claims 1 to 6 when executing the computer program.
9. A satellite map interactive communication platform, characterized in that: include: The ground platform as claimed in claim 8, wherein the server is communicatively connected to the satellite module; The satellite module is used to generate the real-time position of the satellite; the satellite module is also used to perform corresponding operations based on the satellite operation data, and then obtain satellite interaction data and transmit it to the server in the ground platform.
10. A readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the satellite map interactive communication method according to any one of claims 1 to 6 is implemented.
