Communication method, system and terminal device
Patent Information
- Application Number
- PCT/CN2023/132660
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-01-20
- Filing Date
- 2023-11-20
- Publication Date
- 2024-09-19
AI Technical Summary
The message capacity of Beidou short messages is limited, resulting in limited information content when users send messages, unable to fully express the meaning, and reducing user experience.
Through pre-configured mapping relationships, common characters are mapped to codes that occupy less character space, enabling the transmission of more effective information content in Beidou short messages, expanding application scenarios and reducing user sending restrictions.
In Beidou short messages, information content is expressed more completely and accurately, which improves user experience, expands application scenarios, and reduces user restrictions when sending.
Smart Images

Figure CN2023132660_19092024_PF_FP_ABST
Abstract
Description
Communication method, system and terminal device
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to the Chinese patent application filed with the Intellectual Property Office of the People's Republic of China on January 20, 2023, with application number 202310143730.6 and invention name "A Communication Method, System and Terminal Equipment", the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present application relates to the field of terminal technology, and in particular to a communication method, system and terminal device. Background Art
[0004] With the development and advancement of technology, the functions of terminal devices are gradually improving and enriching. Taking mobile phones as an example, more and more mobile phones now have Beidou short message communication service functions, which can provide communication security for users.
[0005] Due to the rate limitations of satellite uplink communications, the message capacity of messages currently sent and received via satellite is limited. For example, in some implementations, Beidou short messages can only transmit a maximum of 400 bits of content. Furthermore, the recipient number, location information, and user-entered information all take up space in the Beidou short message. Therefore, there are significant limitations on the amount of information a user can actually enter in a Beidou short message.
[0006] Summary of the Invention
[0007] The present application provides a communication method, system and terminal device, which can provide users with an implementation method for inputting more information content in Beidou short messages, thereby meeting more application scenarios and improving user experience.
[0008] In a first aspect, an embodiment of the present application provides a communication method. The method can be applied to a first terminal device, the first terminal device being in a state without network service, and comprising: in response to a first operation instruction of a user in a first interface, displaying a second interface, the second interface including M text tags, where M is a positive integer, and the first interface is used for information editing, the first interface including recipient information; in response to a user selecting at least one text tag from the M text tags, displaying a third interface, the third interface including message preview information obtained based on the at least one text tag; in response to a second operation instruction in the third interface, sending a message to the recipient based on the message preview message, and displaying a fourth interface, the fourth interface being used to indicate an information interaction interface between the first terminal device and the recipient after the message is sent.
[0009] In this method, a pre-configured mapping relationship can be used to map commonly used characters to codes that take up less character space. In this way, when a user needs to send a Beidou short message without network service on their phone, they can select a text tag from the text tags provided on the phone to edit the message. The character space occupied by the text tag is less than that occupied by the input characters, thereby enabling the transmission of more effective information content in the limited Beidou short message. This method can expand more application scenarios, reduce the usage restrictions when users send Beidou short messages, and thus improve the user experience.
[0010] In one possible design, the first interface also includes a first control, and the first operation instruction is used to instruct the user to perform a touch operation on the first control; the first operation instruction is used to switch from displaying the first interface to displaying the second interface; or, the first operation instruction is used to display the second interface in a preset display area in the first interface.
[0011] In this design, the first terminal device can adopt multiple display forms for pre-configured text tags. By displaying the pre-configured text tags, the user can send more text content when editing information and selecting text tags.
[0012] In a possible design, the first interface also includes a second control, and the second control is used to indicate that when the display state is selected, the information carries the location information of the first terminal device.
[0013] In this design, when users send Beidou short messages, they can enter fewer characters when editing information. By pre-configuring text tags and mapping pre-configured codes to pre-configured text tags, users can enter more text content in Beidou short messages.
[0014] In one possible design, sending information to the recipient based on the message preview message includes: searching for preset codes corresponding to the at least one text tag from a stored mapping relationship; the mapping relationship is used to indicate the preset codes corresponding to the M text tags; encoding the information according to the preset codes, and sending the encoded information to the recipient. It is understood that the character space occupied by the preset codes is smaller than the character space occupied by the characters corresponding to the text tags.
[0015] This design maps commonly used text tags to preset codes, allowing the characters included in these tags to occupy less space than when directly entering the characters during message editing. This allows for the transmission of more effective information within the limited Beidou short messages. This approach expands application scenarios and reduces the limitations on users sending Beidou short messages, thereby improving the user experience.
[0016] In one possible design, the method also includes: detecting a third operation instruction for the custom label included in the second interface, the third operation instruction being used to instruct the user to edit the custom label; in response to the third operation instruction, displaying the custom label as a text label after editing, and updating the first mapping relationship to a second mapping relationship, the first mapping relationship being used to indicate the correspondence between the custom label and the first preset code, the second mapping relationship being used to indicate the correspondence between the text label after editing and the second preset code, the second preset code including the first preset code and the device identification code of the first terminal device.
[0017] This design can also provide scenarios for custom labels, which can improve the flexibility of pre-configured text labels and expand more possible application scenarios.
[0018] In one possible design, the method further includes: uploading the second mapping relationship to a server when the first terminal device has network service. In this design, by uploading the user-customized text label on the first terminal device and the mapping relationship between the customized label and the preset code to the server, when the user selects the customized label, the server can decode the preset code, thereby accurately parsing the information content.
[0019] In one possible design, the message preview information is displayed through a card or text box. In this design, the preview information can be displayed to the user in a variety of ways to facilitate the user to modify the edited content.
[0020] In a possible design, the information is in the form of a Beidou short message and is sent via satellite to a second terminal device bound to the recipient information.
[0021] In one possible design, the third interface further includes character prompt information, the character prompt information being used to indicate the number of characters remaining for input; wherein the text content included in the at least one text label is a first number of characters and occupies a second number of character spaces within the information, the first number of characters being greater than the second number of characters; and the method further includes: updating the character prompt information in response to the selection operation. In this design, the real-time update of the number of characters remaining for input by the first terminal device facilitates prompting the user to enter more content.
[0022] In a second aspect, an embodiment of the present application further provides a communication system, which includes a first terminal device, a satellite, a server, and a second terminal device.
[0023] The first terminal device is used to encode the information edited by the user and send the encoded information to the satellite; wherein the information edited by the user includes: recipient information and at least one text tag selected by the user from M text tags displayed by the first terminal device, where M is a positive integer.
[0024] The satellite is used to receive the coded information from the first terminal device and send the coded information based on the recipient information indicated in the coded information.
[0025] The server is used to receive the coded information from the satellite, decode the coded information, and send the decoded information content to the second terminal device; or, the server is used to receive the coded information from the satellite and send the coded information to the second terminal device based on the recipient information indicated in the coded information; the second terminal device is the terminal device bound to the recipient information.
[0026] The second terminal device is configured to display the information content when receiving the information content from the server; or decode the encoded information when receiving the encoded information from the server and display the decoded information content.
[0027] In a third aspect, an embodiment of the present application further provides a terminal device, comprising a memory and one or more processors; wherein the memory is used to store computer program code, and the computer program code comprises computer instructions; when the computer instructions are executed by the processor, the terminal device executes the method executed by the first terminal device in any possible design in the first aspect above.
[0028] In a fourth aspect, an embodiment of the present application further provides a terminal device, which includes modules / units for executing the method in any possible design of the first aspect. These modules / units can be implemented by hardware, or corresponding software can be implemented by hardware.
[0029] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program (also referred to as code, or instructions) which, when run on a computer, enables the computer to execute the method in any possible design of the first aspect above.
[0030] In a sixth aspect, a computer program product is provided, which includes: a computer program (also referred to as code, or instructions), which, when executed, enables a computer to execute a method in any one of the possible designs of the first aspect.
[0031] In the seventh aspect, a graphical user interface on a terminal device is also provided, which terminal device has a display screen, one or more memories, and one or more processors, and the one or more processors are used to execute one or more computer programs stored in the one or more memories, and the graphical user interface includes a graphical user interface displayed when the terminal device executes any possible implementation method of the first aspect of the embodiment of the present application.
[0032] In an eighth aspect, the present application also provides a chip, which is used to read a computer program stored in a memory and execute any of the above aspects and their possible methods for designing a terminal device to execute.
[0033] In a ninth aspect, the present application further provides a chip system, comprising a processor for supporting a computer device in implementing any of the above aspects and methods executed by a terminal device thereof. In one possible design, the chip system further comprises a memory for storing programs and data necessary for the computer device. The chip system may be composed of a chip alone, or may include a chip and other discrete components.
[0034] It should be noted that for the beneficial effects of the various designs of the terminal devices provided in the second to ninth aspects of the embodiments of this application, please refer to the beneficial effects of any possible design in the first aspect, and no further details will be given here. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 is a schematic diagram of the interface of a Beidou short message;
[0036] FIG2 is a schematic diagram of a hardware architecture of a terminal device provided in an embodiment of the present application;
[0037] FIG3 is a block diagram of a software system architecture of a terminal device provided in an embodiment of the present application;
[0038] FIG4 is one of the interface diagrams of a communication method provided in an embodiment of the present application;
[0039] FIG5 is a second schematic diagram of an interface of a communication method provided in an embodiment of the present application;
[0040] FIG6 is a third schematic diagram of an interface of a communication method provided in an embodiment of the present application;
[0041] FIG7 is a schematic diagram of one scenario of a communication method provided in an embodiment of the present application;
[0042] FIG8 is a schematic diagram illustrating a mapping relationship corresponding to a communication method provided in an embodiment of the present application;
[0043] FIG9 is a second schematic diagram of a scenario of a communication method provided in an embodiment of the present application;
[0044] FIG10 is a flow chart of a communication method according to an embodiment of the present application;
[0045] FIG11 is a second flow chart of a communication method provided in an embodiment of the present application;
[0046] FIG12 is a third flow chart of a communication method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0048] The embodiments of the present application can be applied to the field of terminal technology, and specifically to terminal devices with Beidou short message communication service functions. The implementation of Beidou-related technologies and functions can rely on satellites or satellite networks to achieve communications and services. Although the development of terrestrial communication technology can meet the needs of users in many communication scenarios, it is impossible to achieve full coverage of terrestrial communication networks. Therefore, in some areas where terrestrial communication networks do not exist or cannot exist, communication can be achieved based on Beidou technology, that is, the Beidou short message communication service function, which can achieve communication with the help of satellites or satellite networks.
[0049] Due to the rate limit of satellite uplink communication, the message capacity of messages currently sent and received via satellite is limited to certain extent. For example, in some implementations, Beidou short messages can transmit a maximum of 400 bits of content. Moreover, the recipient number, location information, and user-entered information content of the message will occupy the message capacity of the Beidou short message. Therefore, there are significant restrictions on the information content that users can actually enter in the Beidou short message. For example, Figure 1 is a schematic diagram of the interface of a Beidou short message. As shown in interface 110 in Figure 1, in the scenario of sending a message carrying location information to contact 1, the message header needs to occupy approximately 128 bits. It can be understood that the Beidou short message only has 272 bits left to carry the text content entered by the user. Usually, a Chinese character code occupies 2 bytes, that is, 16 bits. At this time, based on the 272 bits that can be used to carry text content, each Chinese character occupies 16 bits, so the Beidou short message sent by the user can only enter 17 more characters. As shown in interface 120 in Figure 1, in the scenario of sending a message carrying location information to contact 1 and contact 2, compared to interface 110, the contact information of one more recipient is added, so the message header needs to occupy 37 more bits. It can be understood that only 235 bits are left in the Beidou short message to carry the text content customized by the user. At this time, the Beidou short message sent by the user can only enter 14 more characters. Similarly, as shown in interface 130 in Figure 1, if contact 3 is added, the Beidou short message now has 198 bits left to carry the text content customized by the user. At this time, the Beidou short message sent by the user can only enter 12 more characters. And so on, with each additional contact, the text content that the user can customize in the Beidou short message will become less. In this way, due to the message capacity limitation of the Beidou short message, the user's experience is reduced, and the user may not be able to fully and effectively express the meaning through the limited text content.
[0050] In view of this, an embodiment of the present application provides a communication method. This method provides a preset encoding method to achieve a mapping relationship between multiple common text messages and the preset encoding, thereby reducing the message capacity occupied by the text content sent by the user. In this way, the method enables users to send more text information to the recipient in a Beidou short message, so that the meaning can be expressed more completely and accurately.
[0051] The embodiments of the present application can be applied to terminal devices with Beidou short message communication service functions, such as mobile phones, PCs, tablet computers, wearable devices (e.g., watches, bracelets, etc.), vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), smart home devices (e.g., smart TVs, smart speakers, etc.). It is understandable that the embodiments of the present application do not impose any restrictions on the specific type of terminal device.
[0052] The terminal devices to which the embodiments of the present application can be applied include, but are not limited to, Or terminal devices of other operating systems. The portable terminal device may also be other portable terminal devices, such as a laptop computer (Laptop) with a touch-sensitive surface (eg, a touch panel).
[0053] FIG2 shows a schematic diagram of the hardware structure of a possible terminal device. The terminal device 200 includes components such as a radio frequency (RF) circuit 210, a power supply 220, a processor 230, a memory 240, an input unit 250, a display unit 260, an audio circuit 270, a communication interface 280, and a wireless fidelity (Wi-Fi) module 290. Those skilled in the art will appreciate that the hardware structure of the terminal device 200 shown in FIG2 does not constitute a limitation on the terminal device 200. The terminal device 200 provided in the embodiment of the present application may include more or fewer components than shown, may combine two or more components, or may have different component configurations. The various components shown in FIG2 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.
[0054] The following is a detailed introduction to the various components of the terminal device 200 in conjunction with FIG2 :
[0055] The RF circuit 210 can be used to receive and transmit data during communications or calls. Specifically, after receiving downlink data from the base station, the RF circuit 210 sends it to the processor 230 for processing. Furthermore, it sends uplink data to the base station. Typically, the RF circuit 210 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier (LNA), a duplexer, and the like.
[0056] In addition, the RF circuit 210 can also communicate with other devices via a wireless communication network. The wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
[0057] The terminal device 200 can also implement communication services and interact with other terminal devices. Therefore, the terminal device 200 needs to have a data transmission function, that is, the terminal device 200 needs to include a communication module. Although Figure 2 shows communication modules such as the RF circuit 210, the Wi-Fi module 290, and the communication interface 280, it is understandable that the terminal device 200 contains at least one of the above components or other communication modules for implementing communication (such as a Bluetooth module) for data transmission.
[0058] For example, when the terminal device 200 is a mobile phone, the terminal device 200 may include the RF circuit 210, and may also include the Wi-Fi module 290, or may include a Bluetooth module (not shown in Figure 2); when the terminal device 200 is a computer, the terminal device 200 may include the communication interface 280, and may also include the Wi-Fi module 290, or may include a Bluetooth module (not shown in Figure 2); when the terminal device 200 is a tablet computer, the terminal device 200 may include the Wi-Fi module, or may include a Bluetooth module (not shown in Figure 2).
[0059] Wi-Fi technology is a short-range wireless transmission technology. The terminal device 200 can connect to an access point (AP) via the Wi-Fi module 290 to access the data network. The Wi-Fi module 290 can be used to receive and send data during the communication process.
[0060] The terminal device 200 can be physically connected to other devices via the communication interface 280. Optionally, the communication interface 280 is connected to the communication interface of the other device via a cable to achieve data transmission between the terminal device 200 and the other device.
[0061] The memory 240 can be used to store software programs and modules. The processor 230 executes various functional applications and data processing of the terminal device 200 by running the software programs and modules stored in the memory 240. Optionally, the memory 240 may mainly include a program storage area and a data storage area. Among them, the program storage area can store an operating system (mainly including the corresponding software programs or modules of the kernel layer, system layer, application framework layer, and application layer).
[0062] In addition, the memory 240 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. In the embodiment of the present application, the memory 240 may store computer program instructions for implementing the communication method provided in the embodiment of the present application and pre-configured mapping relationships, such as storing a mapping relationship between common text information and preset codes.
[0063] The input unit 250 may be used to receive user input of various types of data objects such as numbers or characters, and to generate key signal inputs related to user settings and function control of the terminal device 200. Optionally, the input unit 250 may include a touch panel 251 and other input devices 252.
[0064] The touch panel 251, also known as a touch screen, can collect user touch operations on or near it (for example, operations performed by a user using a finger, stylus, or any other suitable object or accessory on or near the touch panel 251) and drive corresponding connected devices according to a pre-set program. In this embodiment of the present application, the touch panel 251 can collect user operations on the display panel 261, such as selection operations for pre-configured common text information included in the interface.
[0065] Optionally, the other input devices 252 may include, but are not limited to, one or more of a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, etc.
[0066] The display unit 260 can be used to display the information content input by the user or the information content provided to the user and various menus of the terminal device 200. The display unit 260 is the display system of the terminal device 200, which is used to present the interface and realize human-computer interaction. The display unit 260 may include a display panel 261. Optionally, the display panel 261 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. In the embodiment of the present application, the display unit 260 can be used to display an interface for the user so that the user can send messages or view received messages through the interface.
[0067] The processor 230 is the control center of the terminal device 200. It connects various components using various interfaces and lines, executes or runs software programs and / or modules stored in the memory 240, and calls data stored in the memory 240 to perform various functions of the terminal device 200 and process data, thereby implementing various services based on the terminal device 200. In the embodiment of the present application, the processor 230 can be used to implement the communication method provided in the embodiment of the present application.
[0068] The terminal device 200 also includes a power supply 220 (such as a battery) for powering various components. Optionally, the power supply 220 can be logically connected to the processor 230 through a power management system, thereby managing charging, discharging, and power consumption through the power management system.
[0069] As shown in Figure 2, the terminal device 200 also includes an audio circuit 270, a microphone 271 and a speaker 272, which can provide an audio interface between the user and the terminal device 200. The audio circuit 270 can be used to convert audio data into a signal that can be recognized by the speaker 272, and transmit the signal to the speaker 272, which is converted into a sound signal for output by the speaker 272. The microphone 271 is used to collect external sound signals (such as the sound of a person speaking, or other sounds, etc.), and convert the collected external sound signals into signals that can be recognized by the audio circuit 270 and send them to the audio circuit 270. The audio circuit 270 can also be used to convert the signal sent by the microphone 271 into audio data, and then output the audio data to the RF circuit 210 to send it to, for example, another terminal device, or output the audio data to the memory 240 for subsequent further processing.
[0070] Although not shown, the terminal device 200 may further include a camera, at least one sensor, etc., which will not be described in detail here. The at least one sensor may include but is not limited to a pressure sensor, an air pressure sensor, an acceleration sensor, a distance sensor, a fingerprint sensor, a touch sensor, a temperature sensor, etc.
[0071] The operating system (OS) involved in the embodiments of the present application is the most basic system software running on the terminal device 200. The software system of the terminal device 200 can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiments of the present application use an operating system with a layered architecture as an example to illustrate the software system architecture of the terminal device 200.
[0072] Figure 3 is a block diagram of the software system architecture of a terminal device provided in an embodiment of the present application. As shown in Figure 3, the software system architecture of the terminal device can be a layered architecture. For example, the software can be divided into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the operating system is divided into five layers, from top to bottom: the application layer, the application framework layer (framework, FWK), the runtime and system library, the kernel layer, and the hardware layer.
[0073] The application layer may include a series of application packages. As shown in Figure 3, the application layer may include a camera, settings, skin modules, a user interface (UI), third-party applications, etc. Among them, third-party applications may include wireless local area network (WLAN), music, calls, Bluetooth, video, memos, messages, etc. In the embodiment of the present application, we can focus on the information application (application, APP) that the application layer can provide, and the sending and receiving of messages can be realized in the information APP; among them, when the terminal device has no network service, the Beidou short message form can be used to send messages.
[0074] In one possible implementation, applications can be developed using Java by calling the application programming interface (API) provided by the application framework layer. Developers can use the application framework layer to interact with the underlying operating system layers (e.g., the hardware layer, kernel layer, etc.) to develop their own applications. The application framework layer primarily provides a series of services and management systems for the operating system.
[0075] The application framework layer provides an application programming interface and programming framework for applications in the application layer. The application framework layer includes some predefined functions. As shown in Figure 3, the application framework layer can include an activity manager, a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and so on.
[0076] The activity manager is used to manage the life cycle of each application and provide common navigation back functions, providing an interactive interface for all program windows.
[0077] The window manager manages windowed applications. It can determine the display size, determine whether a status bar is present, lock the screen, and take screenshots. Content providers store and retrieve data and make it accessible to applications. This data can include video, images, audio, incoming and outgoing calls, browsing history and bookmarks, and phone books.
[0078] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.
[0079] The phone manager is used to provide communication functions for terminal devices, such as call status management (including answering, hanging up, etc.).
[0080] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0081] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically, without requiring user interaction. For example, the Notification Manager can be used to notify users of completed downloads and message reminders. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog windows on the screen. Examples include displaying text messages in the status bar, emitting alert sounds, vibrating the device, or flashing indicator lights.
[0082] The runtime includes the core library and the virtual machine. The runtime is responsible for the scheduling and management of the operating system.
[0083] The core library consists of two parts: one containing the Java language's callable functions and the other containing the operating system's core libraries. The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.
[0084] The system library can include multiple functional modules, such as a surface manager, a media framework, a 3D graphics processing library (such as OpenGL ES), and a 2D graphics engine (such as SGL).
[0085] The surface manager is used to manage the display subsystem and provide the fusion of two-dimensional and 3D layers for multiple applications.
[0086] The media framework supports playback and recording of a variety of common audio and video formats, as well as static image files. The media framework can support a variety of audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0087] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0088] A 2D graphics engine is a drawing engine for 2D drawings.
[0089] In some embodiments, a three-dimensional graphics processing library may be used to draw a three-dimensional motion trajectory image, and a two-dimensional graphics engine may be used to draw a two-dimensional motion trajectory image.
[0090] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.
[0091] The hardware layer can include various sensors, such as accelerometers, gravity sensors, touch sensors, etc.
[0092] Typically, the terminal device 200 can run multiple applications simultaneously. In simpler cases, one application corresponds to one process, while in more complex cases, one application corresponds to multiple processes. Each process has a process number (process ID).
[0093] It should be understood that in the embodiments of the present application, "at least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can represent: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c can be single or multiple. "Multiple" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship.
[0094] In addition, it should be understood that, in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.
[0095] It should be understood that the hardware structure of the terminal device can be as shown in Figure 2, and the software system architecture can be as shown in Figure 3, wherein the software programs and / or modules corresponding to the software system architecture in the terminal device can be stored in the memory 240, and the processor 230 can run the software programs and applications stored in the memory 240 to execute the process of a communication method provided in an embodiment of the present application.
[0096] In order to facilitate understanding of the communication method provided by the present application, the implementation process of the method provided by the present application is introduced below in combination with the contents shown in Figures 4 to 12.
[0097] In the method provided in the embodiment of the present application, when a terminal device is in a location that is not covered by the terrestrial communication network, if the terminal device has the Beidou short message communication service function, a message can be sent to the recipient in the form of a Beidou short message, thereby promptly informing the other party of the recipient's location information and existing problems, etc., thereby overcoming communication limitations in extreme geographical environments. For ease of understanding, the following uses a mobile phone as an example to first introduce several possible application scenarios that may be involved in the method provided in the embodiment of the present application.
[0098] Scenario A, refer to Figure 4, which is a schematic interface diagram of a communication method provided in an embodiment of the present application. Interface 410 in Figure 4 shows the desktop interface of mobile phone A. The desktop interface may include multiple APPs installed on mobile phone A, such as a camera APP, a phone APP, and a message APP. It may also include a status bar at the top. The status bar may include battery level, time information, and network status information. It can be seen from interface 410 that the current network status information of mobile phone A is no service. The user may be in a location where there is no ground communication network. In this scenario, the user can send a message to the recipient through the message APP in the form of a Beidou short message. In interface 410, mobile phone A can display interface 420 in response to the user's operation on the icon 401 of the message APP; interface 420 may be an information editing interface included in the message APP.
[0099] In interface 420, mobile phone A may receive, but is not limited to, the following operations: a user selecting recipient Li Si in recipient edit box 402A, triggering control 402B to select location information, and triggering "Quick Help" control 402C. Interface 420 may also include text box 402D and keyboard 402E. Text box 402D may display the user-edited text and may also display a message indicating a character limit, such as "17 characters remaining" as shown in interface 420. Then, in response to triggering "Quick Help" control 402C, mobile phone A may display interface 430. Interface 430 may include, but is not limited to, pre-configured text labels for common text messages. Optionally, the pre-configured common text messages may be divided into different categories. For example, the categories pre-configured for quick help messages in interface 430 may include, but are not limited to, emergency situations and physical conditions. As can be seen from the interface 430 , the emergency classification may include but is not limited to text labels such as getting lost, drowning, and mudslide, and the physical condition classification may include but is not limited to text labels such as skin trauma and fracture.
[0100] In interface 430, mobile phone A may receive a user's selection of one or more text tags. For example, the user-selected text tags may include "lost" 403A and "skin injury" 403B. Optionally, in response to the user's selection of one or more text tags, mobile phone A may generate a message preview card and display it to the user, such as card 403C in interface 430. Message preview card 403C may include the one or more text tags selected by the user in interface 430, as well as mobile phone A's location information. Then, in interface 430, mobile phone A may, in response to the "Direct Send" control 403D, send the information in message preview card 403C to recipient Li Si using a Beidou short message.
[0101] For example, interface 440 in Figure 4 can be the display interface after receiving a message on mobile phone B, which could be the recipient, Li Si. As can be seen from interface 440, mobile phone B can display an information interaction interface with sender Zhang San 404A, which also displays message 404B. It is understood that message 404B is sent using a Beidou short message. The specific content of message 404B can be found in interface 440 and will not be further described here.
[0102] As can be seen from scenario A shown in FIG4 , by displaying pre-configured commonly used text messages through interface 430, a user can select one or more text tags of commonly used text messages, thereby generating templated information content. In this way, the pre-configured common text messages can be mapped to a preset code with a preset number of bits, thereby reducing the byte space occupied by the characters, thereby enabling more valid text content to be sent to the recipient. For example, the preset code with a preset number of bits can be a 6-bit code or a 7-bit code, etc., which can reduce the byte space occupied compared to two characters requiring 32 bits.
[0103] It should be noted that in the embodiments of this application, the maximum bit number of a Beidou short message is limited to 400 bits as an example. In actual scenarios, other values can also be used. It is understood that mobile phone A can adjust the maximum number of characters displayed according to the value set in the actual scenario. In addition, the display method of each interface and the switching method between interfaces described in Figure 4 are only one possible example, and this application does not limit this. For example, the quick help interface can be an independent display interface, such as shown in interface 430. For example, it can also be an interface included in the information editing interface. For example, in response to the operation of the "Quick Help" control 402C, mobile phone A can also display quick help information in the area of the keyboard 402E displayed in interface 420.
[0104] Scenario B, in the embodiment of the present application, it is also possible to implement user-defined common text information. Refer to Figure 5, which is another interface diagram of a communication method provided in the embodiment of the present application. Interface 510 in Figure 5 shows a text label including pre-configured common text information. Exemplarily, one or more custom labels that can be customized by the user can also be reserved in interface 510. For example, mobile phone A can receive a user operation on the custom label 501 included in the interface 510, and in response to the operation, trigger the custom label 501 to be updated to an editable state; then, mobile phone A can receive and respond to the user's editing operation on the custom label 501, and display interface 520. As can be seen from interface 520, the user can add "forest fire" as a common text message at the custom label 501.
[0105] It should be noted that the user can customize common text messages when mobile phone A is connected to the network, so that the user-defined labels can be updated to the server. For example, before scene A, mobile phone A implements the operation of scene B while connected to the network. It can be understood that when scene A is implemented, interface 430 in Figure 4 can be displayed as interface 510. In other words, when scene A is implemented, the user-defined text label "forest fire" can also be selected. In this way, by allowing users to customize common text messages, the flexibility of configuring common text messages can be achieved, thereby meeting more application scenarios.
[0106] Scenario C. In addition to the templated information content that can be generated based on the introduction in Scenario A, in another possible scenario, the user can also manually input some text content. Refer to Figure 6, which is another interface diagram of a communication method provided in an embodiment of the present application. In this scenario, compared with the interface 430 shown in Figure 4, the interface 610 in Figure 6 can trigger the operation of the "directly send" control 403D in the quick help interface, as well as the return control 601. In interface 610, mobile phone A can display interface 620 in response to the operation of the return control 601; interface 620 can be understood as the interface after the information editing interface 420 shown in Figure 4 is updated. As can be seen from interface 620, the text box 602A can display the "lost" text label and the "skin injury" text label selected by the user. In addition, the interface 620 may also include character prompt information 602B, which can be used to prompt the user to enter the character limit and the number of characters that can be entered; for example, after the user selects the two text labels included in the quick help information, the number of characters that can be entered is 16. It should be noted that based on the embodiment of the present application, the mapping relationship between each text label included in the quick help information and the preset code can be pre-configured, so the 16-bit code can be used to include multiple text labels, and thus more characters can be displayed; for example, when each text label is mapped to a 6-bit preset code, the 16-bit code can include up to two text labels, and 4 bits can be left. In this way, although the "lost" text label and the "skin injury" text label shown in the interface 620 have a total of 5 characters, they can only occupy the byte space of one Chinese character code. In addition, the display form of the character prompt information 602B is not limited in the embodiment of the present application.
[0107] In interface 620, mobile phone A may respond to a user entering one or more characters in text box 602A via the keyboard by displaying, for example, interface 630. As can be seen in text box 603A included in interface 630, the user has entered 16 characters. It is understood that character prompt 603B in interface 630 may now be updated to display "0 / 17," indicating that the maximum number of characters entered has been reached. The preview message after user editing may read, "I'm lost and have a minor skin injury. Please bring me some food and clothes. Thank you." Optionally, the text label in the text box may adjust accordingly based on the position of the user's editing cursor. For example, when the cursor is before the "Lost" text label, the user's entered characters may be displayed before the "Lost" text label, and the "Lost" text label's display position may be moved accordingly. Furthermore, mobile phone A may receive a user triggering the "Lost" text label in text box 603A. In response to this triggering, the user may re-display the quick help information interface to facilitate switching to other quick help text labels.
[0108] In interface 630, mobile phone A, in response to a user triggering send control 603C, can send a message to recipient Li Si using a Beidou short message format, including the information displayed in text box 603A; the message also includes location information. For example, interface 640 can be the corresponding display interface after mobile phone B receives the message, where mobile phone B can be the recipient Li Si's phone. As can be seen from interface 640, it includes information 604, which includes the characters entered by the user in text box 603A in interface 630 and the location information of mobile phone A.
[0109] As shown in Scenario C, mobile phone A can implement flexible encoding based on commonly used text messages selected by the user and the characters entered by the user. This allows pre-configured commonly used text messages to be mapped to a preset encoding with a preset number of bits, thereby reducing the byte space occupied by the characters and allowing more valid text content to be sent to the recipient. For example, the preset encoding with a preset number of bits can be a 6-bit preset encoding or a 7-bit preset encoding, which reduces the byte space occupied compared to two characters occupying 16 bits.
[0110] It should be noted that the above scenarios A to C are only a few possible scenarios introduced in the embodiments of this application. The various scenarios can also be combined, and this application does not limit the specific scenarios. In addition, the user operations involved in the above scenarios can be implemented by, but not limited to, the following methods: click operation, double-click operation, long press operation, or voice command, etc., and the specific implementation can be implemented according to the configuration of the terminal device.
[0111] Based on the above description of the interface processing effects that can be achieved using the method provided in the embodiments of the present application, the following describes the implementation process of the communication method provided in the present application to illustrate how the method provided in the present application can achieve the interface processing effects shown in Figures 4 to 6 described above. This can help users send more valid text content when sending Beidou short messages, meet users' usage needs in more scenarios, and enhance the user experience. Referring to Figure 7, a scenario diagram of a communication method provided in the embodiments of the present application is shown. This scenario may include, for example, mobile phone A 701, satellite 702, server 703, and mobile phone B 704. Mobile phone A 701, for example, can be Zhang San's mobile phone A described in scenarios A to C above, and can be used to send information using Beidou short messages when not connected to the network. Satellite 702 can be used to receive information sent by mobile phone A 701 when not connected to the network and send the information to the server 703 corresponding to the recipient based on the recipient's information. Server 703 can be used to receive information from satellite 702 and send the information to mobile phone B 704. The mobile phone B 704 and the server 703 may be connected to each other via a communication network, which may be a local area network, a wide area network, or the like.
[0112] In some possible embodiments, the mapping relationship between pre-configured common text messages and preset codes can be stored in mobile phone A 701 and mobile phone B 704. In this example, mobile phone A 701 can encode one or more commonly used text messages selected by the user based on the mapping relationship and send them out in the form of Beidou short messages. After mobile phone B 704 receives the information from mobile phone A 701, it can decode the information based on the mapping relationship and parse out the one or more commonly used text messages sent by mobile phone A 701. Among them, the mapping relationship stored in mobile phone B 704 and mobile phone A 701 can be obtained from the cloud server, can be pre-configured in the cloud server by a technician, or can be uploaded to the cloud server after being configured on any terminal device. This application does not limit this.
[0113] In other possible embodiments, the mapping relationship may also be stored in mobile phone A 701 and server 703. In this example, after receiving the information from mobile phone A 701 sent by satellite 702, server 703 may decode the information based on the mapping relationship and parse out one or more commonly used text messages sent by mobile phone A 701. Server 703 may then send the parsed information content to mobile phone B 704 via the communication network.
[0114] It should be noted that the embodiments of the present application do not limit the languages used by mobile phone A 701 and mobile phone B 704. For example, mobile phone A 701 may use English and mobile phone B 704 may use Chinese. It is understood that after mobile phone B 704 receives information from mobile phone A 701, it may display the information according to the language used by mobile phone B 704. For example, even if the information content parsed by mobile phone B 704 is in English, when the language system of mobile phone B 704 is Chinese, mobile phone B 704 may convert the information content from English to Chinese before displaying it.
[0115] In addition, satellite 702 can be a single satellite or a satellite network composed of multiple satellites, which is not limited in this application; and server 703 can be a single server or a server cluster composed of multiple servers, which is not limited in this application.
[0116] For ease of understanding, FIG8 is a schematic diagram of the mapping relationship of a communication method provided in an embodiment of the present application. Taking the use of 6-bit encoding for each commonly used text message as an example, combined with the content shown in the interface 510 shown in FIG5 , the code corresponding to the "lost" text label can be 000001, the code corresponding to the "drowning" text label can be 000010, and the code corresponding to the "skin injury" text label can be 001010. For example, combined with the content introduced in the scenario A above, when the commonly used text messages selected by the user in the interface 510 are the "lost" text label and the "skin injury" text label, the encoded information code sent by mobile phone A 701 may include (000001001010), and mobile phone B 704 may decode the (000001 001010) included in the received information as "lost" and "skin injury".
[0117] As another example, based on the content introduced in scenario B above, the user can add a user-defined note to the custom tags preset in interface 510, for example, the custom tag added at the 7th text tag is "forest fire". Each text tag shown in interface 510 has a mappable code. For example, although the 7th to 9th text tags shown in the emergency classification in interface 510 are text tags that allow users to customize, they also have corresponding mappable codes. In this way, when the user updates the custom tag to a text tag with substantial content, the mapping relationship can be updated to the mapping relationship between the preset code and the substantial content text tag, such as the mapping relationship between the code (000111) and "forest fire".
[0118] In some possible scenarios, the application scope of the user-defined text label is limited, for example, it is only applicable to the current terminal device. In this scenario, the mapping content of the code can also be determined by the device ID. For example, Figure 9 is another scenario schematic diagram of a communication method provided by an embodiment of the present application. Exemplarily, when mobile phone A 701 is connected to the network, it can upload the mapping relationship between the customized label "forest fire" and the corresponding preset code to the server 703, and mobile phone A 701 can also store the mapping relationship. Considering that "forest fire" is a user-defined label, the corresponding code includes not only (000111) but also the device ID (888888888888888), that is, the code corresponding to "forest fire" can be (000111888888888888888, so that it can be distinguished that the "forest fire" text label is a customized label of mobile phone A 701. The mapping relationship based on the custom tags has been uploaded to server 703. When mobile phone A 701 is in a satellite network (which can also be understood as a scenario where mobile phone A 701 is not connected to a terrestrial communication network), when the user selects the text tag "forest fire", mobile phone A 701 can encode "forest fire" based on the mapping relationship to obtain coded information. Mobile phone A 701 then transmits the coded information to satellite 702 using a Beidou short message. After receiving the coded information, satellite 702 can transmit it to server 703. After receiving the coded information, server 703 can decode the coded information based on the mapping relationship to obtain the information content of "forest fire" and send it to mobile phone B 704, which can then display the information on mobile phone B 704.
[0119] In addition, Figure 9 only illustrates the transmission process of the encoded information. In actual transmission, the encoded information can be carried within the message. The recipient information and the location information of mobile phone A 701 can be carried in the message header, and the encoded information can be carried in the message payload. This application does not further elaborate on the specific implementation of the message.
[0120] It is understood that if each commonly used text information is mapped to a 6-bit binary code, there can be 64 pre-configured commonly used text information. When a larger number of common text information needs to be configured, it can be mapped to a binary code that occupies more character space, such as 7 bits. It is understood that in scenarios where less common text information needs to be configured, it can also be mapped to a binary code that occupies less character space, such as 5 bits. The embodiments of the present application do not limit the mapping relationship.
[0121] In the method provided in the embodiments of the present application, a preconfigured mapping relationship is used to map commonly used characters to codes that occupy less character space. This allows codes to occupy less character space than characters, thereby enabling the transmission of more effective information content within limited Beidou short messages. This method can expand application scenarios, reduce usage restrictions when users send Beidou short messages, and thus improve the user experience.
[0122] Based on the content described in the above embodiments, FIG10 is a flow chart of a communication method provided in an embodiment of the present application. The flow of the method may include the following steps:
[0123] Step 1001: In response to a user's first operation instruction in the first interface, the first terminal device displays a second interface. The second interface includes M text labels, where M is a positive integer. The first interface is used for information editing, and the first interface includes recipient information. The first terminal device is, for example, mobile phone A described in the aforementioned embodiment. The first interface may be, for example, interface 420 described in FIG. 4 , the first operation instruction may be a touch operation on the "Quick Help" control 402C, and the second interface may be, for example, interface 430 described in FIG. The M text labels include, for example, the "Lost" text label and the "Drowning" text label shown in interface 430.
[0124] Step 1002: In response to a user selecting at least one of the M text tags, the first terminal device displays a third interface; the third interface includes message preview information obtained based on the at least one text tag. The third interface may be, for example, card 403C in interface 430 shown in FIG. 4 , or text box 602A in interface 620 shown in FIG. 6 , although this application is not limited thereto.
[0125] Step 1003: The first terminal device, in response to the second operation instruction in the third interface, sends a message to the recipient based on the message preview message and displays a fourth interface, which indicates the information interaction interface between the first terminal device and the recipient's terminal device after the message is sent. The second operation instruction may, for example, be a touch operation on the "Direct Send" control 403D shown in interface 430 of Figure 4 , or a touch operation on control 602B shown in interface 620 of Figure 6 . The fourth interface may, for example, be the information interaction interface between mobile phone A and the recipient after the message is sent.
[0126] In one possible implementation, a first terminal device can send information via a satellite and a server to a second terminal device where the recipient is located, and the second terminal device decodes the information. The second terminal device can be, for example, mobile phone B as described in the previous embodiment. See Figure 11 for another flow diagram of a communication method provided in an embodiment of the present application. This flow may include the following steps:
[0127] Step 1003a: The first terminal device sends information to the satellite.
[0128] Step 1003b: The satellite sends information to the server corresponding to the recipient.
[0129] Step 1003c1: The server sends information to the second terminal device where the recipient is located.
[0130] Step 1003d1: The second terminal device decodes the information to obtain the information content. It is understood that the information sent by the first terminal device is encoded information. After being forwarded by the satellite and the server, the second terminal device can decode the information after receiving the encoded information to obtain the actual information content.
[0131] In another possible implementation, the first terminal device may send information to the recipient's second terminal device via a satellite and a server, and the server decodes the information. Referring to FIG12 , another flow diagram of a communication method provided in an embodiment of the present application is shown. The flow may include the following steps:
[0132] Step 1003a: The first terminal device sends information to the satellite.
[0133] Step 1003b: The satellite sends information to the server corresponding to the recipient.
[0134] Among them, step 1003a and step 1003b are similar to the process shown in FIG11 .
[0135] Step 1003c2: The server decodes the message, obtains the message content, and sends the message content to the recipient's second terminal device. It will be appreciated that the message sent by the first terminal device is encoded. After being forwarded by the satellite, the server can decode the encoded message and obtain the actual message content. The server then sends the actual message content to the recipient's second terminal device. This avoids increasing the processing and storage pressure on the second terminal device.
[0136] Step 1003d2: The second terminal device obtains the information content.
[0137] Step 1004: The second terminal device displays the information content.
[0138] Based on the above embodiments, the present application further provides a terminal device, which includes multiple functional modules; the multiple functional modules interact with each other to implement the functions performed by the terminal device in each method described in the embodiments of the present application. The multiple functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the multiple functional modules can be arbitrarily combined or divided based on the specific implementation. For example, steps 1001 to 1003 performed by the first terminal device in the embodiment shown in Figure 10 are executed. Alternatively, step 1004 performed by the second terminal device in the embodiment shown in Figure 10 can also be executed.
[0139] Based on the above embodiments, the present application further provides a terminal device, comprising at least one processor and at least one memory, wherein the at least one memory stores computer program instructions. When the terminal device is running, the at least one processor performs the functions performed by the terminal device in each method described in the embodiments of the present application. For example, steps 1001 to 1003 performed by the first terminal device in the embodiment shown in FIG. 10 may be performed. Alternatively, step 1004 performed by the second terminal device in the embodiment shown in FIG. 10 may also be performed.
[0140] Based on the above embodiments, the present application also provides a computer program product, which includes: a computer program (also called code, or instructions), which, when executed, enables a computer to execute the methods described in the embodiments of the present application.
[0141] Based on the above embodiments, the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a computer, the computer executes the methods described in the embodiments of the present application.
[0142] Based on the above embodiments, the present application further provides a chip, which is used to read a computer program stored in a memory to implement the various methods described in the embodiments of the present application.
[0143] Based on the above embodiments, the present application provides a chip system, which includes a processor for supporting a computer device to implement the various methods described in the embodiments of the present application. In one possible design, the chip system also includes a memory, which is used to store the necessary programs and data for the computer device. The chip system can be composed of a chip, or it can include a chip and other discrete devices. It should be understood by those skilled in the art that the embodiments of the present application can be provided as a method, system, or computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0144] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each flow and / or box in the flow chart and / or block diagram, as well as the combination of the flow chart and / or box in the flow chart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more flow charts and / or one or more boxes in the block diagram.
[0145] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0146] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0147] Obviously, those skilled in the art may make various modifications and variations to this application without departing from the scope of protection of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application is intended to include these modifications and variations.
Claims
1. A communication method, characterized in that: Applied to a first terminal device, the first terminal device is in a state of no network service, including: In response to a first operation instruction of the user in the first interface, a second interface is displayed, the second interface includes M text labels, where M is a positive integer, the first interface is used for information editing, and the first interface includes recipient information; In response to a user selecting at least one text tag among the M text tags, displaying a third interface; the third interface includes message preview information obtained based on the at least one text tag; In response to the second operation instruction in the third interface, information is sent to the recipient based on the message preview message, and a fourth interface is displayed, wherein the fourth interface is used to indicate the information interaction interface between the first terminal device and the recipient after the information is sent.
2. The method according to claim 1, characterized in that The first interface also includes a first control, and the first operation instruction is used to instruct the user to perform a touch operation on the first control; The first operation instruction is used to switch from displaying the first interface to displaying the second interface; or, The first operation instruction is used to display the second interface in a preset display area in the first interface.
3. The method according to claim 1 or 2, characterized in that: The first interface also includes a second control, and the second control is used to indicate that when the display state is selected, the information carries the location information of the first terminal device.
4. The method according to any one of claims 1 to 3, characterized in that The sending information to the recipient based on the message preview message includes: Searching for preset codes corresponding to the at least one text tag from the stored mapping relationships, respectively; the mapping relationships are used to indicate preset codes corresponding to the M tags; The information is encoded according to the preset code, and the encoded information is sent to the recipient.
5. The method according to claim 4, characterized in that The method further comprises: detecting a third operation instruction on the custom label included in the second interface, wherein the third operation instruction is used to instruct the user to edit the custom label; In response to the third operation instruction, the custom label is displayed as a text label after editing, and the first mapping relationship is updated to a second mapping relationship, wherein the first mapping relationship is used to indicate the correspondence between the custom label and the first preset code, and the second mapping relationship is used to indicate the correspondence between the text label after editing and the second preset code, wherein the second preset code includes the first preset code and the device identification code of the first terminal device.
6. The method according to claim 5, characterized in that The method further comprises: When the first terminal device has network service, the second mapping relationship is uploaded to the server.
7. The method according to any one of claims 1 to 6, characterized in that The message preview information is displayed through a card or a text box.
8. The method according to any one of claims 1 to 7, characterized in that The information is in the form of a Beidou short message and is sent to a second terminal device bound to the recipient information via a satellite.
9. The method according to any one of claims 1 to 8, characterized in that The third interface further includes character prompt information, wherein the character prompt information is used to indicate the number of remaining input characters; The at least one text tag includes text content of a first number of characters, occupying a character space of a second number of characters in the information, and the first number of characters is greater than the second number of characters; The method further comprises: In response to the selection operation, the character prompt information is updated.
10. A communication system, characterized in that: The system includes a first terminal device, a satellite, a server, and a second terminal device: The first terminal device is used to encode the information edited by the user and send the encoded information to the satellite; wherein the information edited by the user includes: recipient information, at least one text label selected by the user from M text labels displayed by the first terminal device, and M is a positive integer; The satellite is used to receive the coded information from the first terminal device, and send the coded information based on the recipient information indicated in the coded information; The server is used to receive the coded information from the satellite, decode the coded information, and send the decoded information content to the second terminal device; or the server is used to receive the coded information from the satellite, based on the coded information The coded information is sent to the second terminal device according to the recipient information indicated in the message; the second terminal device is the terminal device bound to the recipient information; The second terminal device is used to display the information content when receiving the information content from the server; or, when receiving the encoded information from the server, decode the encoded information and display the decoded information content.
11. A terminal device, characterized in that: The system comprises at least one processor coupled to at least one memory, wherein the at least one processor is configured to read a computer program stored in the at least one memory to execute the method according to any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the method according to any one of claims 1 to 9.
13. A computer program product comprising instructions, characterized in that When the computer program product is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 9.
