A communication method, system and terminal device
By mapping common characters to encodings that occupy less character space, the problem of limited Beidou short message message capacity is solved, and more information is transmitted in Beidou short message is realized, which improves the user experience.
Patent Information
- Application Number
- CN202310143730.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-20
- Publication Date
- 2025-06-20
- Estimated Expiration
- 2043-01-20
AI Technical Summary
Due to the rate limit of satellite uplink communication, the message capacity of Beidou short message is limited, resulting in the user's limited input of information content when sending messages, which cannot meet more application scenarios and reduces the user experience.
Through pre-configured mapping relationships, commonly used characters are mapped to encodings that occupy less character space. Users can choose pre-configured text tags when editing information, thereby transmitting more valid information content in limited Beidou short messages.
It realizes the transmission of more effective information content in Beidou short messages with restrictions, expands more application scenarios, reduces the usage restrictions when users send Beidou short messages, and thus improves the user experience.
Smart Images

Figure CN118381851B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of terminals, and in particular, to a communication method, system, and terminal device. Background Art
[0002] With the development and progress of technology, the functions of terminal devices have gradually been improved and enriched. Taking mobile phones as an example, currently, more and more mobile phones have the Beidou short message communication service function, which can provide communication guarantee for users.
[0003] Due to the rate limitation of satellite uplink communication, there are certain limitations on the message capacity of sending and receiving messages via satellites currently. For example, in some implementation methods, the Beidou short message can transmit at most 400 bits of content. Moreover, the recipient number, location information, and information content input by the user of the message will all occupy the message capacity of the Beidou short message. Therefore, there are relatively large limitations on the information content that users can actually input in the Beidou short message. Summary of the Invention
[0004] This application provides a communication method, system, and terminal device, which can implement a way to allow users to input more information content in the Beidou short message, thereby meeting more application scenarios and improving the user experience.
[0005] In a first aspect, an embodiment of this application provides a communication method. This method can be applied to a first terminal device when the first terminal device is in a state without network service, and includes: in response to a first operation instruction of a user in a first interface, displaying a second interface, where the second interface includes M text labels, M is a positive integer, the first interface is used for information editing, and the recipient information is included in the first interface; in response to a selection operation of the user on at least one of the M text labels, displaying a third interface; the third interface includes message preview information obtained based on the at least one text label; in response to a second operation instruction in the third interface, sending information to the recipient based on the message preview message, and displaying a fourth interface, where the fourth interface is used to indicate the information interaction interface between the first terminal device and the recipient after the information is sent.
[0006] In this method, through a pre-configured mapping relationship, it is possible to map common characters to encodings that occupy less character space. In this way, in the scenario where the user needs to send a Beidou short message when the mobile phone has no network service, the user selects a text label from the text labels provided in the mobile phone to edit the information. The text label occupies less character space than the input characters, so that more valid information content can be transmitted in the limited Beidou short message. Through this method, more application scenarios can be extended, the usage restrictions when the user sends a Beidou short message can be reduced, and thus the user experience can be improved.
[0007] In a possible design, the first interface further includes a first control. 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.
[0008] In this design, the first terminal device can adopt various display forms of the pre-configured text labels. By displaying the pre-configured text labels, it is possible to enable the user to send more text content in the scenarios of editing information and selecting text labels.
[0009] In a possible design, the first interface further includes a second control. The second control is used to indicate that when in the selected display state, the information carries the location information of the first terminal device.
[0010] In this design, in the scenario where the user sends a Beidou short message, the character content that the user can input when editing the information is less. By pre-configuring text labels and mapping the pre-configured text labels to preset encodings, it is possible to enable the user to input more text content in the Beidou short message.
[0011] In a possible design, sending the information to the recipient based on the message preview message includes: respectively looking up the preset encodings corresponding to the at least one text label from the stored mapping relationship; the mapping relationship is used to indicate the preset encodings corresponding to the M text labels; encoding the information according to the preset encodings, and sending the encoded information to the recipient. It can be understood that the character space occupied by the preset encoding is smaller than the character space occupied by the characters corresponding to the text label.
[0012] In this design, by mapping common text tags to preset encodings, the character content included in the common text tags can occupy less character space compared to directly inputting character content during information editing. Thus, it is possible to transmit more valid information content in the Beidou short message with limitations. Through this method, more application scenarios can be extended, the usage limitations when users send Beidou short messages can be reduced, and thus the user experience can be improved.
[0013] In a possible design, the method further includes: detecting a third operation instruction for a custom tag included in the second interface, where the third operation instruction is used to instruct the user to edit the custom tag; in response to the third operation instruction, displaying the custom tag as an edited text tag, and updating the first mapping relationship to a second mapping relationship, where the first mapping relationship is used to indicate the correspondence between the custom tag and a first preset encoding, and the second mapping relationship is used to indicate the correspondence between the edited text tag and a second preset encoding, and the second preset encoding includes the first preset encoding and the device identification encoding of the first terminal device.
[0014] In this design, a scenario for custom tags can also be provided, which can improve the flexibility of the pre-configured text tags and extend more possible application scenarios.
[0015] In a possible design, the method further includes: when the first terminal device has a network service status, uploading the second mapping relationship to the server. In this design, by customizing text tags in the first terminal device by the user and uploading the mapping relationship between the custom tags and the preset encodings to the server, when the user selects a custom tag, the server can decode the preset encoding, and thus can accurately parse the information content.
[0016] In a possible design, the message preview information is displayed through a card or a text box. In this design, the preview information can be displayed to the user through various implementation methods, which is convenient for the user to modify the edited content.
[0017] In a possible design, the information is in the form of a Beidou short message and is sent to the second terminal device bound to the recipient information via a satellite.
[0018] In a possible design, the third interface further includes character prompt information for indicating the remaining number of characters that can be input. Among them, the text content included in the at least one text label is a first number of characters, occupying the 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 includes: in response to the selection operation, updating the character prompt information. In this design, by the first terminal device's real-time update of the remaining number of characters that can be input, it is convenient to prompt the user to input more content.
[0019] 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.
[0020] The first terminal device is configured to encode the information edited by the user and send the encoded information to the satellite. Among them, the information edited by the user includes: recipient information, and at least one text label selected by the user from M text labels displayed on the first terminal device, where M is a positive integer.
[0021] The satellite is configured to receive the encoded information from the first terminal device and send the encoded information based on the recipient information indicated in the encoded information.
[0022] The server is configured to receive the encoded information from the satellite, decode the encoded information, and send the information content after decoding to the second terminal device; or, the server is configured to receive the encoded information from the satellite and send the encoded information to the second terminal device based on the recipient information indicated in the encoded information. The second terminal device is the terminal device bound to the recipient information.
[0023] The second terminal device is configured 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 information content after decoding.
[0024] In a third aspect, an embodiment of the present application further provides a terminal device, which includes a memory and one or more processors. Among them, the memory is used to store computer program code, and the computer program code includes computer instructions. When the computer instructions are executed by the processor, the terminal device is caused to execute the method performed by the first terminal device in any of the possible designs in the first aspect above.
[0025] Fourthly, an embodiment of the present application further provides a terminal device, which includes modules / units for executing the method in any of the possible designs in the first aspect above. These modules / units can be implemented by hardware or by hardware executing corresponding software.
[0026] Fifthly, a computer-readable storage medium is provided. When a computer program (which can also be referred to as code or instruction) stored in the computer-readable medium runs on a computer, the computer is caused to execute the method in any of the possible designs in the first aspect above.
[0027] Sixthly, a computer program product is provided, which includes a computer program (which can also be referred to as code or instruction). When the computer program runs, the computer is caused to execute the method in any of the possible designs in the first aspect above.
[0028] Seventhly, a graphical user interface on a terminal device is further provided. The terminal device has a display screen, one or more memories, and one or more processors. The one or more processors are configured to execute one or more computer programs stored in the one or more memories. The graphical user interface includes the graphical user interface displayed when the terminal device executes any possible implementation manner in the first aspect of the embodiment of the present application.
[0029] Eighthly, the present application further provides a chip, which is configured to read a computer program stored in a memory and execute the method executed by a terminal device in any of the above aspects and their possible designs.
[0030] Ninthly, the present application further provides a chip system, which includes a processor for supporting a computer device to implement the method executed by a terminal device in any of the above aspects and their possible designs. In a possible design, the chip system further includes a memory for storing necessary programs and data of the computer device. The chip system can be composed of chips or can include chips and other discrete devices.
[0031] It should be noted that for the beneficial effects of each design of the terminal device provided in the second to ninth aspects of the embodiment of the present application, please refer to the beneficial effects of any possible design in the first aspect, which will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a schematic diagram of an interface for Beidou short message;
[0033] Figure 2 It is a schematic diagram of a hardware architecture of a terminal device provided in an embodiment of the present application;
[0034] Figure 3It is a block diagram of the software system architecture of a terminal device provided by an embodiment of the present application;
[0035] Figure 4 It is one of the interface schematic diagrams of a communication method provided by an embodiment of the present application;
[0036] Figure 5 It is the second of the interface schematic diagrams of a communication method provided by an embodiment of the present application;
[0037] Figure 6 It is the third of the interface schematic diagrams of a communication method provided by an embodiment of the present application;
[0038] Figure 7 It is the first of the scenario schematic diagrams of a communication method provided by an embodiment of the present application;
[0039] Figure 8 It is the corresponding schematic diagram of the mapping relationship of a communication method provided by an embodiment of the present application;
[0040] Figure 9 It is the second of the scenario schematic diagrams of a communication method provided by an embodiment of the present application;
[0041] Figure 10 It is the first of the flow schematic diagrams of a communication method provided by an embodiment of the present application;
[0042] Figure 11 It is the second of the flow schematic diagrams of a communication method provided by an embodiment of the present application;
[0043] Figure 12 It is the third of the flow schematic diagrams of a communication method provided by an embodiment of the present application. Detailed implementation manners
[0044] Next, the embodiments of the present application will be described in detail with reference to the accompanying drawings.
[0045] The embodiments of the present application can be applied to the terminal technology field, and specifically can be applicable to terminal devices with the Beidou short message communication service function. The realization of Beidou-related technologies and functions can rely on satellites or satellite networking, etc., to achieve communication and services, etc. Although the development of terrestrial communication technologies can already meet the needs of users in many communication scenarios, it is impossible to achieve full coverage of the terrestrial communication network. Therefore, in some areas where the terrestrial communication network does not exist or cannot exist, communication can be realized based on Beidou technology, that is, the Beidou short message communication service function, and this function can achieve communication by means of satellites or satellite networking.
[0046] Due to the rate limitation of satellite uplink communication, there are certain limitations on the message capacity for sending and receiving messages via satellite currently. For example, in some implementation methods, the Beidou short message can transmit up to 400 bits (bit) of content at most. Moreover, the recipient number, location information, and information content input by the user of the message will all occupy the message capacity of the Beidou short message. Therefore, there are significant limitations on the information content that users can actually input in the Beidou short message. For example, Figure 1 is a schematic diagram of the interface of a Beidou short message. As Figure 1 shown in the interface 110 in, in the scenario of sending a message carrying location information to contact 1, at this time the message header approximately needs to occupy 128 bit, then it can be understood that the Beidou short message only has 272 bit left for carrying the text content customarily input by the user. Usually, one Chinese character encoding occupies 2 bytes (byte), that is, 16 bit. At this time, based on the 272 bit available for carrying text content and each Chinese character occupying 16 bit, the Beidou short message sent by the user can only input 17 more characters. Another example is Figure 1 shown in the interface 120 in. In the scenario of sending a message carrying location information to contact 1 and contact 2, compared with the interface 110, the contact information of one more recipient is added, then the message header needs to occupy 37 more bit, then it can be understood that the Beidou short message only has 235 bit left for carrying the text content customarily input by the user. At this time, the Beidou short message sent by the user can only input 14 more characters. Similarly, as Figure 1 shown in the interface 130 in, if contact 3 is added again, at this time the Beidou short message has 198 bit left for carrying the text content customarily input by the user. At this time, the Beidou short message sent by the user can only input 12 more characters. And so on. For each additional contact, the text content that the user can customize and input in the Beidou short message will become less. In this way, due to the limitation of the message capacity of the Beidou short message, the user experience is reduced, and it also makes it possible that the user may not be able to express the meaning completely and effectively through the limited text content.
[0047] In view of this, the embodiments of the present application provide a communication method. In this method, by providing a method of preset encoding, the mapping relationship between multiple common text information and the preset encoding is realized, so that the message capacity occupied by the text content sent by the user can be reduced. In this way, this method can enable the user to send more text information to the recipient in the Beidou short message, so as to be able to express the meaning more completely and accurately.
[0048] 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.), in-vehicle 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 can be understood that embodiments of the present application do not impose any restrictions on the specific types of terminal devices.
[0049] The terminal devices to which embodiments of the present application can be applied, exemplary embodiments include but are not limited to those equipped with or other operating systems. The above-mentioned portable terminal devices can also be other portable terminal devices, such as laptop computers (Laptops) with a touch-sensitive surface (e.g., a touch panel).
[0050] Figure 2 FIG. shows a schematic diagram of the hardware structure of a possible terminal device. Among them, the terminal device 200 includes: 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 and other components. Those skilled in the art can understand that Figure 2 the hardware structure of the terminal device 200 shown in FIG. does not constitute a limitation on the terminal device 200. The terminal device 200 provided by embodiments of the present application may include more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations. Figure 2 The various components shown in FIG. can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.
[0051] The following will combine Figure 2 to specifically introduce each component of the terminal device 200:
[0052] The RF circuit 210 can be used for receiving and sending data during communication or a call. In particular, after receiving downlink data from a base station, the RF circuit 210 sends it to the processor 230 for processing; in addition, it sends uplink data to be sent to the base station. Generally, 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, etc.
[0053] In addition, the RF circuit 210 can also communicate with other devices through a wireless communication network. The wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (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.
[0054] 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 internally. Although Figure 2 the RF circuit 210, the Wi-Fi module 290, and the communication interface 280 and other communication modules are shown, it can be understood that there is at least one of the above components or other communication modules for implementing communication (such as a Bluetooth module) in the terminal device 200 for data transmission.
[0055] For example, when the terminal device 200 is a mobile phone, the terminal device 200 may include the RF circuit 210, may also include the Wi-Fi module 290, or may include a Bluetooth module ( Figure 2 not shown in the figure); when the terminal device 200 is a computer, the terminal device 200 may include the communication interface 280, may also include the Wi-Fi module 290, or may include a Bluetooth module ( Figure 2 not shown in the figure); 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 ( Figure 2 not shown in the figure).
[0056] Wi-Fi technology belongs to short-range wireless transmission technology. The terminal device 200 can connect to and access an access point (AP) through the Wi-Fi module 290, thereby realizing access to the data network. The Wi-Fi module 290 can be used for receiving and sending data during the communication process.
[0057] The terminal device 200 can physically connect to other devices through the communication interface 280. Optionally, the communication interface 280 of the terminal device 200 is connected to the communication interface of the other device through a cable to realize data transmission between the terminal device 200 and the other device.
[0058] 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 software programs or modules corresponding to the kernel layer, system layer, application framework layer, application layer, etc.).
[0059] In addition, the memory 240 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In the embodiments of the present application, the memory 240 can store computer program instructions for implementing the communication method provided in the embodiments of the present application and pre-configured mapping relationships, etc., such as the mapping relationship between common text information and pre-set codes.
[0060] The input unit 250 can be used to receive editing operations of various different types of data objects input by the user, such as numerical or character information, and generate key signal inputs related to the 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.
[0061] Among them, the touch panel 251, also known as a touch screen, can collect touch operations of the user on or near it (such as operations of the user using a finger, a stylus, or any suitable object or accessory on or near the touch panel 251), and drive the corresponding connection device according to a pre-set program. In the embodiments of the present application, the touch panel 251 can collect operations of the user on the display panel 261, for example, it can be a selection operation on the pre-configured common text information included in the interface.
[0062] Optionally, the other input device 252 may include, but is not limited to, one or more of a physical keyboard, function keys (such as volume control keys, power on / off keys, etc.), trackball, mouse, joystick, and the like.
[0063] The display unit 260 can be used to display information content input by the user or information content provided to the user, as well as various menus of the terminal device 200. The display unit 260 is the display system of the terminal device 200, used to present an interface and realize human-computer interaction. The display unit 260 may include a display panel 261. Optionally, the display panel 261 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. In the embodiments 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.
[0064] The processor 230 is the control center of the terminal device 200, connecting each component through various interfaces and lines. By running or executing software programs and / or modules stored in the memory 240, and calling data stored in the memory 240, it executes various functions of the terminal device 200 and processes data, thereby implementing multiple services based on the terminal device 200. In the embodiments of the present application, the processor 230 can be used to implement the communication method provided by the embodiments of the present application.
[0065] The terminal device 200 further includes a power supply 220 (such as a battery) for powering each component. Optionally, the power supply 220 may be logically connected to the processor 230 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption through the power management system.
[0066] As Figure 2 shown, the terminal device 200 further 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 the speaker 272 can recognize, and transmit the signal to the speaker 272, which converts it into a sound signal for output. 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 a signal that the audio circuit 270 can recognize, and send it 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 be sent to, for example, another terminal device, or output the audio data to the memory 240 for further processing later.
[0067] Although not shown, the terminal device 200 may further include a camera, at least one sensor, etc., which will not be elaborated herein. The at least one sensor may include but is not limited to a pressure sensor, a barometric pressure sensor, an acceleration sensor, a distance sensor, a fingerprint sensor, a touch sensor, a temperature sensor, etc.
[0068] 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 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. In the embodiments of the present application, taking the operating system adopting a layered architecture as an example, the software system architecture of the terminal device 200 is exemplarily described.
[0069] Figure 3 It is a block diagram of the software system architecture of a terminal device provided for the embodiments of the present application. As Figure 3 shown, the software system architecture of the terminal device may be a layered architecture. For example, the software can be divided into several layers, and each layer has 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 are the application layer, the application framework layer (FWK), the runtime and system libraries, the kernel layer, and the hardware layer.
[0070] The application layer may include a series of application packages. As Figure 3 shown, the application layer may include a camera, settings, a skin module, a user interface (UI), third-party applications, etc. Among them, the third-party applications may include a wireless local area network (WLAN), music, calls, Bluetooth, video, a memo, information, etc. In the embodiments of the present application, the information application (APP) that can be provided by the application layer may be focused on, and messages can be sent and received in the information APP; among them, when the terminal device has no network service, messages can be sent in the form of Beidou short messages.
[0071] In a possible implementation manner, the application can be developed using the Java language and completed by calling the application programming interface (API) provided by the application framework layer. Developers can interact with the underlying layers of the operating system (such as the hardware layer, the kernel layer, etc.) through the application framework layer to develop their own applications. The application framework layer is mainly a series of services and management systems of the operating system.
[0072] The application framework layer provides application programming interfaces and programming frameworks for the applications in the application layer. The application framework layer includes some predefined functions. For example, Figure 3 as shown, the application framework layer may include an activity manager, a window manager, a content provider, a view system, a telephone manager, a resource manager, a notification manager, etc.
[0073] The activity manager is used to manage the life cycles of various applications and provide common navigation and back functions, and provide an interactive interface for the windows of all programs.
[0074] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc. The content provider is used to store and obtain data, and make this data accessible to applications. The data may include videos, images, audio, dialed and answered calls, browsing history and bookmarks, phone books, etc.
[0075] The view system includes visible controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
[0076] The telephone manager is used to provide the communication function of the terminal device. For example, the management of call status (including connection, disconnection, etc.).
[0077] The resource manager provides various resources for applications, such as localized strings, icons, pictures, layout files, video files, etc.
[0078] The notification manager enables applications to display notification information in the status bar, can be used to convey notification-type messages, can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as a notification of a background running application, and can also be a notification that appears on the screen in the form of a dialogue window. For example, prompt text information in the status bar, emit a prompt sound, the terminal device vibrates, the indicator light flashes, etc.
[0079] The runtime includes a core library and a virtual machine. The runtime is responsible for the scheduling and management of the operating system.
[0080] The core library consists of two parts: one is the functional functions that the Java language needs to call, and the other is the core library of the operating system. The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0081] The system library can include multiple functional modules. For example: surface manager, media framework, 3D graphics processing library (such as: OpenGL ES), 2D graphics engine (such as: SGL), etc.
[0082] The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
[0083] The media framework supports the playback and recording of multiple common audio and video formats, as well as static image files, etc. The media framework can support multiple audio and video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0084] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing, etc.
[0085] The 2D graphics engine is a graphics engine for 2D drawing.
[0086] In some embodiments, the 3D graphics processing library can be used to draw 3D motion trajectory images, and the 2D graphics engine can be used to draw 2D motion trajectory images.
[0087] The kernel layer is the layer between the hardware and the software. The kernel layer at least includes a display driver, a camera driver, an audio driver, and a sensor driver.
[0088] The hardware layer can include various sensors, such as an acceleration sensor, a gravity sensor, a touch sensor, etc.
[0089] Generally, the terminal device 200 can run multiple applications simultaneously. More simply, one application can correspond to one process, and more complexly, one application can correspond to multiple processes. Each process has a process number (process ID).
[0090] It should be understood that in the embodiments of the present application, "at least one (item)" or its similar expressions refer to any combination of these items, including any combination of single item or plural items. For example, at least one (item) 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, and c can be single or multiple. "Multiple" means two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the front and back associated objects.
[0091] In addition, it should be understood that in the description of the present application, terms such as "first" and "second" are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying an order.
[0092] It should be understood that the hardware structure of the terminal device can be as Figure 2 shown, and the software system architecture can be as Figure 3 shown. Among them, 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 by the embodiments of the present application.
[0093] To facilitate the understanding of the communication method provided by the present application, the following Figures 4 to 12 shown content is used to introduce the implementation process of the method provided by the present application.
[0094] In the method provided by the embodiments of the present application, when the terminal device is in a location where the ground communication network cannot cover, if the terminal device has the Beidou short message communication service function, it can send a message to the recipient in the form of Beidou short messages, so as to timely inform the other party of its location information and existing problems, etc., and can overcome the communication limitations in extreme geographical environments. For the sake of easy understanding, the following takes a mobile phone as an example to first introduce several possible application scenarios that may be involved in the method provided by the embodiments of the present application.
[0095] Scenario A, refer to Figure 4 which is a schematic diagram of the interface of a communication method provided by the embodiments of the present application. Figure 4The interface 410 shown therein is the desktop interface of mobile phone A. The desktop interface may include multiple APPs installed on mobile phone A, such as the Camera APP, the Phone APP, and the Messages APP. It may also include a status bar at the top, and the status bar may include power, time information, and network status information. As can be seen from interface 410, the current network status information of mobile phone A is "No Service", and the user may be in a location where there is no terrestrial communication network. In this scenario, the user can send a message to the recipient in the form of Beidou short message through the Messages APP. In interface 410, mobile phone A can respond to the user's operation on the icon 401 of the Messages APP to display interface 420; interface 420 can be an information editing interface included in the Messages APP.
[0096] In interface 420, mobile phone A can receive but is not limited to the following operations: the user's operation of selecting recipient Li Si in the recipient edit box 402A, the operation of triggering the control 402B to select the location information, and the triggering operation of the "Quick Help" control 402C, etc. In addition, interface 420 may also include a text box 402D and a keyboard 402E, etc. The text box 402D can be used to display the character content edited by the user, and the text box 402D can also display the content for prompting the user of the character input limit, such as "17 more characters can be input" shown in interface 420. Then, mobile phone A can respond to the triggering operation of the "Quick Help" control 402C to display interface 430; interface 430 may include but is not limited to text labels of pre-configured common text information. Optionally, when pre-configuring common text information, it can also be divided into different categories. For example, the categories pre-configured for the quick help information in interface 430 may include but are not limited to the emergency category, the physical condition category, etc. As can be seen from interface 430, the emergency category may include but is not limited to text labels such as getting lost, drowning, mudslide, etc., and the physical condition category may include but is not limited to text labels such as minor injury, fracture, etc.
[0097] In interface 430, mobile phone A can receive the operation of the user selecting one or more text labels. For example, the text labels selected by the user may include getting lost 403A and minor injury 403B. Optionally, mobile phone A can also generate a message preview card and display the message preview card to the user in response to the user's selection operation of one or more text labels, such as the card 403C in interface 430; in the message preview card 403C, it may include one or more text labels selected by the user in interface 430 and the location information of mobile phone A, etc. Then, in interface 430, mobile phone A can respond to the operation on the "Send Directly" control 403D to send the information content in the message preview card 403C to the recipient Li Si in the form of Beidou short message.
[0098] Exemplarily,Figure 4 The interface 440 in can be the corresponding display interface after the mobile phone B receives a message. The mobile phone B can be the mobile phone of the recipient Li Si. It can be seen from the interface 440 that the information interaction interface with the sender Zhang San 404A can be displayed on the mobile phone B, and the information 404B can be shown in the interface. It can be understood that the information 404B is realized by sending a message in the form of Beidou short message. The specific content of the information 404B can be referred to as shown in the interface 440, which will not be elaborated here.
[0099] From Figure 4 It can be seen from the shown scenario A that by displaying the pre-configured common text information through the interface 430, the user can select the text labels of one or more common text information, so that the templated information content can be generated. In this way, the pre-configured common text information can be mapped to the pre-set encoding with a preset bit number, so that the byte space occupied by the characters can be reduced, and more effective text content can be sent to the recipient. For example, the pre-set encoding with a preset bit number can be a 6-bit encoding or a 7-bit encoding, etc. Compared with the 32 bits required for two characters, the occupancy of the byte space can be reduced.
[0100] It should be noted that in the embodiments of the present application, taking the maximum bit number limit of Beidou short message as 400 bits as an example, in actual scenario implementation, it can also be other values; it can be understood that the display of the maximum number of characters on the mobile phone A can be adjusted accordingly according to the value set in the actual scenario. And, Figure 4 The display method of each interface and the switching method between interfaces introduced in are only one possible example, and the present application does not limit this; for example, the quick help interface can be an independent display interface, as shown in the interface 430; for another 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, the mobile phone A can also display the quick help information in the area of the keyboard 402E on the interface 420.
[0101] Scenario B. In the embodiments of the present application, the user can also customize the common text information. Refer to Figure 5 , which is another schematic diagram of an interface of a communication method provided by the embodiments of the present application. Figure 5The interface 510 shown therein shows text tags including pre-configured common text information. Exemplarily, one or more custom tags that can be customized by the user can also be reserved in the interface 510. For example, mobile phone A can receive an operation of the user on the custom tag 501 included in the interface 510, and in response to this operation, trigger the custom tag 501 to be updated to an editable state; then, mobile phone A can receive and respond to the editing operation of the user on the custom tag 501, and display the interface 520. It can be seen from the interface 520 that the user can add "forest fire" as a type of common text information at the custom tag 501.
[0102] It should be noted that when the mobile phone A is connected to the network, the user can customize the common text information so that the user-defined tag can be updated to the server. Exemplarily, before scenario A, if mobile phone A performs the operation of scenario B in a network-connected state, it can be understood that when scenario A is implemented, such as Figure 4 the interface 430 therein can be displayed as the interface 510. In other words, when scenario A is implemented, the user-defined "forest fire" text tag can also be selected. In this way, by allowing the user to customize the common text information, the flexibility of configuring the common text information can be achieved, thereby meeting more application scenarios.
[0103] Scenario C: In addition to being able to generate templatized information content as introduced in scenario A, in another possible scenario, the user can also manually input some text content. Refer to Figure 6 , which is another interface schematic diagram of a communication method provided by an embodiment of the present application. In this scenario, Figure 6 the interface 610 therein and Figure 4 compared with the interface 430 shown in Figure 4The interface after updating the information editing interface 420 shown in the figure. As can be seen from interface 620, the text box 602A can display the text labels "lost" and "skin injury" selected by the user. In addition, the interface 620 may further include character prompt information 602B, which can be used to prompt the user of the character input limit and the remaining number of characters that can be input; for example, after the user selects two text labels included in the quick help information, the remaining number of characters that can be input is 16. It should be noted that based on the embodiments of the present application, the mapping relationship between each text label included in the quick help information and the preset encoding can be pre-configured. Therefore, a 16-bit encoding 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 encoding, the 16-bit encoding can include at most two text labels, and 4 bits are still left. In this way, although the text labels "lost" and "skin injury" shown in the interface 620 have a total of 5 characters, they can only occupy the byte space of one Chinese character encoding. In addition, the embodiments of the present application do not limit the display form of the character prompt information 602B.
[0104] In the interface 620, the mobile phone A can respond to one or more characters input by the user in the text box 602A through the keyboard, and can be displayed as, for example, interface 630. As can be seen from the text box 603A included in the interface 630, the user inputs 16 characters; it can be understood that at this time, the character prompt information 603B in the interface 630 can be updated and displayed as "0 / 17", which is used to indicate that the number of characters input at this time reaches the maximum number of characters. The preview information after user editing can be "I'm lost and have a little skin injury. Please bring me some food and clothes. Thank you". Optionally, the text label in the text box can be adjusted accordingly in response to the position of the user editing cursor. For example, when the cursor is before the text label "lost", the characters input by the user can be displayed before the text label "lost", and the display position of the text label "lost" is moved accordingly. In addition, the mobile phone A can also receive a trigger operation of the user on the text label "lost" included in the text box 603A. In response to this operation, the interface of the quick help information can be displayed to the user again, so as to facilitate the user to switch and select other quick help text labels.
[0105] In the interface 630, mobile phone A can, in response to the user's triggering operation on the sending control 603, send a message including the information content displayed in the text box 603A to the recipient Li Si in the form of Beidou short message; wherein, the location information is carried when sending the message. Exemplarily, the interface 640 can be the corresponding display interface after mobile phone B receives the message, and mobile phone B can be the mobile phone of the recipient Li Si. As can be seen from the interface 640, the interface can include information 604, and the information 604 includes the character information input by the user in the text box 603A in the interface 630 and the location information of mobile phone A.
[0106] Through the content shown in Scenario C, mobile phone A can achieve flexible coding according to the commonly used text information selected by the user and the characters input by the user. In this way, it is possible to map the pre-configured common text information to the pre-set encoding with a preset number of bits, thereby reducing the byte space occupied by the characters, and thus it is possible to send more effective text content to the recipient. For example, the pre-set encoding with a preset number of bits can be a 6-bit pre-set encoding or a 7-bit pre-set encoding, etc. Compared with the 16 bits required for two characters, the occupancy of the byte space can be reduced.
[0107] It should be noted that the above Scenarios A to C are only several possible scenarios introduced in the embodiments of the present application, and the various scenarios can also be combined, and the present 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, voice command, etc., and can be specifically implemented according to the form configured by the terminal device when actually implemented.
[0108] Based on the foregoing content describing the interface processing effects that can be achieved by using the method provided in the embodiments of the present application, the following introduces the implementation process of the communication method provided in the present application to illustrate how to achieve the Figures 4 to 6 interface processing effects shown above, so as to help the user send more effective text content when sending Beidou short messages, meet the user's more scenario usage requirements, and improve the user experience. Refer to Figure 7, which is a schematic diagram of the scenario of a communication method provided by an embodiment of the present application. This scenario may include, for example, mobile phone A 701, satellite 702, server 703, and mobile phone B 704. Among them, mobile phone A 701 can be, for example, the mobile phone A of Zhang San introduced in the previous scenarios A to C, and can be used to send information in the form of Beidou short messages when not connected to the network. The satellite 702 can be used to receive the information sent by mobile phone A 701 when not connected to the network, and send the information to the corresponding server 703 of the recipient according to the recipient of the information. The server 703 can be used to receive the information from the satellite 702 and send the information to the mobile phone B 704. Among them, the mobile phone B 704 and the server 703 can be communicatively connected through a communication network, and this network can be a local area network, a wide area network, etc.
[0109] In some possible embodiments, the mapping relationship between the pre-configured common text information and the pre-set encoding can be stored in the mobile phone A 701 and the mobile phone B 704. In this example, the mobile phone A 701 can encode one or more pieces of common text information selected by the user based on the mapping relationship and then send it out in the form of Beidou short messages. After receiving the information from the mobile phone A 701, the mobile phone B 704 can decode the information based on the mapping relationship and parse out one or more pieces of common text information sent by the mobile phone A 701. The mapping relationship stored in the mobile phone B 704 and the mobile phone A 701 can be obtained from the cloud server, can be pre-configured in the cloud server by technicians, or can be uploaded to the cloud server after being configured on any terminal device. The present application does not limit this.
[0110] In some other possible embodiments, the mapping relationship can also be stored in the mobile phone A 701 and the server 703. In this example, after receiving the information from the mobile phone A 701 sent by the satellite 702, the server 703 can decode the information based on the mapping relationship and parse out one or more pieces of common text information sent by the mobile phone A 701; then, the server 703 can send the parsed information content to the mobile phone B 704 through the communication network.
[0111] It should be noted that the languages used by the mobile phone A 701 and the mobile phone B 704 are not limited in the embodiments of the present application. For example, the mobile phone A 701 can use English, and the mobile phone B 704 can use Chinese. It can be understood that after receiving the information from the mobile phone A 701, the mobile phone B 704 can display it according to the language used by the mobile phone B 704. For example, although the information content parsed by the mobile phone B 704 is in English, when the language system of the mobile phone B 704 is Chinese, the mobile phone B 704 can convert the information content from English to Chinese and then display it.
[0112] In addition, the satellite 702 can be a single satellite or a satellite network composed of multiple satellites, and the present application does not limit this; moreover, the server 703 can be a single server or a server cluster composed of multiple servers, and the present application also does not limit this.
[0113] For ease of understanding, Figure 8 This is a schematic diagram of the mapping relationship corresponding to a communication method provided by an embodiment of the present application. Taking the example that each piece of common text information uses 6-bit encoding, combined with Figure 5 the content shown in the interface 510 shown in, the encoding corresponding to the text label "lost" can be 000001, the encoding corresponding to the text label "drowning" can be 000010, and the encoding corresponding to the text label "skin injury" can be 001010. Exemplarily, combined with the content introduced in scenario A in the foregoing, when the common text information selected by the user in the interface 510 is the text labels "lost" and "skin injury", the information encoding after encoding sent by the mobile phone A701 can include (000001 001010), and the mobile phone B 704 can decode the (000001 001010) included in the received information into "lost" and "skin injury".
[0114] Another example is that, based on the content introduced in scenario B in the foregoing, the user can add a user-defined note to the user-defined label preset in the interface 510. For example, the user-defined label added at the 7th text label is "forest fire". Each text label shown in the interface 510 has a mapped encoding. For example, although the 7th to 9th text labels shown in the emergency situation classification in the interface 510 are user-defined text labels, they also have corresponding mapped encodings. In this way, when the user updates the user-defined label to a text label with substantial content, the mapping relationship can be updated to the mapping relationship between the preset encoding and the text label with substantial content. For example, the mapping relationship between the encoding (000111) and "forest fire".
[0115] In some possible scenarios, due to the limited application scope of the user-defined text label, for example, it is only applicable to the current terminal device. In this scenario, the mapping content of the encoding can also be determined by the device ID. For example, Figure 9Another scenario schematic diagram of a communication method provided by an embodiment of the present application. Exemplarily, when the mobile phone A701 is connected to the network, it can upload the mapping relationship between the custom label "forest fire" and the corresponding preset code to the server 703, and the mobile phone A701 can also store this mapping relationship. Considering that "forest fire" is a user-defined label, in addition to including (000111), the corresponding code can also include the device ID (888888888888888), that is, the code corresponding to "forest fire" can be (000111888888888888888), so as to distinguish that the text label "forest fire" is a custom label of the mobile phone A701. Based on the fact that the mapping relationship of the custom label has been uploaded to the server 703, when the mobile phone A701 is in the satellite network, that is, when the mobile phone A701 is not connected to the ground communication network, when the user selects the text label "forest fire", the mobile phone A701 can encode "forest fire" based on the mapping relationship to obtain the encoded information. Then, the mobile phone A701 sends the encoded information to the satellite 702 in the form of Beidou short message; after receiving the encoded information, the satellite 702 can send the encoded information to the server 703; after receiving the encoded information, the server 703 can decode the encoded information based on the mapping relationship to obtain the information content of "forest fire", and send "forest fire" to the mobile phone B 704, so that the information can be displayed on the mobile phone B 704.
[0116] In addition, Figure 9 Only the transmission process of the encoded information is introduced above. In actual transmission, the encoded information can be carried in the message for transmission. Among them, the recipient information and the location information of the mobile phone A701 can be carried in the message header, and the encoded information can be carried in the payload of the message. The specific implementation content of the message in this application will not be elaborated further.
[0117] It can be understood that if each item of common text information is mapped to a 6-bit binary code, there can be 64 pieces of pre-configured common text information. When more common text information needs to be configured, it can be mapped to a binary code such as 7-bit that occupies more character space. It can be understood that in a scenario where less common text information needs to be configured, it can also be mapped to a binary code such as 5-bit that occupies less character space. The mapping relationship is not limited in the embodiments of the present application.
[0118] In the method provided by the embodiments of the present application, through a pre-configured mapping relationship, it is possible to map common characters to encodings that occupy less character space. In this way, compared with the character space occupied by characters, the character space occupied by the encoding is less, so that more effective information content can be transmitted in the Beidou short message with limitations. Through this method, more application scenarios can be expanded, the usage limitations when users send Beidou short messages can be reduced, and thus the user experience can be improved.
[0119] Based on the content introduced in the above embodiments, Figure 10 It is a schematic flowchart of a communication method provided by the embodiments of the present application. The process of this method may include the following steps:
[0120] Step 1001: In response to a first operation instruction of the user 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 includes recipient information therein. The first terminal device is, for example, the mobile phone A introduced in the foregoing embodiments. The first interface may be, for example, Figure 4 the interface 420 introduced in [reference], and the first operation instruction may be a touch operation on the "Quick Help" control 402C. The second interface may be, for example, Figure 4 the interface 430 introduced in [reference]. The M text labels include, for example, the "Lost" text label, the "Drowning" text label, etc. shown in the interface 430.
[0121] Step 1002: In response to a selection operation of the user on at least one of the M text labels, the first terminal device displays a third interface; the third interface includes message preview information obtained based on the at least one text label. The third interface may be, for example, Figure 4 the card 403C in the interface 430 shown in [reference], or may be Figure 6 the text box 602A in the interface 620 shown in [reference]. The present application does not limit this.
[0122] Step 1003: In response to a second operation instruction in the third interface, the first terminal device sends information to the recipient based on the message preview message and displays a fourth interface. The fourth interface is used to indicate the information interaction interface between the first terminal device and the terminal device where the recipient is after the information is sent. The second operation instruction may be, for example, a touch operation on Figure 4 the "Send Directly" control 403D shown in the interface 430 in [reference], or may be a touch operation on Figure 6 the control 602B shown in the interface 620 in [reference]. The fourth interface may be, for example, the information interaction interface between mobile phone A and the recipient after sending the information.
[0123] In a possible implementation, the first terminal device may send information to the second terminal device where the recipient is located through a satellite and a server, and the second terminal device decodes the information. Among them, the second terminal device is, for example, the mobile phone B introduced in the foregoing embodiment. Refer to Figure 11 , which is another schematic flowchart of a communication method provided by an embodiment of the present application. This process may include the following steps:
[0124] Step 1003a: The first terminal device sends information to the satellite.
[0125] Step 1003b: The satellite sends the information to the server corresponding to the recipient.
[0126] Step 1003c1: The server sends the information to the second terminal device where the recipient is located.
[0127] Step 1003d1: The second terminal device decodes the information to obtain the information content. It can be understood that the information sent by the first terminal device is the encoded information. After being forwarded by the satellite and the server, after receiving the encoded information, the second terminal device can decode the information to obtain the actual information content.
[0128] In another possible implementation, the first terminal device may send information to the second terminal device where the recipient is located through a satellite and a server, and the server decodes the information. Refer to Figure 12 , which is yet another schematic flowchart of a communication method provided by an embodiment of the present application. This process may include the following steps:
[0129] Step 1003a: The first terminal device sends information to the satellite.
[0130] Step 1003b: The satellite sends the information to the server corresponding to the recipient.
[0131] Among them, step 1003a and step 1003b are similar to the processes Figure 11 shown in.
[0132] Step 1003c2: The server decodes the information to obtain the information content, and sends the information content to the second terminal device where the recipient is located. It can be understood that the information sent by the first terminal device is the encoded information. After being forwarded by the satellite, after receiving the encoded information, the server can decode the information to obtain the actual information content, and then send the actual information content to the second terminal device where the recipient is located. In this way, the processing pressure and storage pressure of the second terminal device can be avoided.
[0133] Step 1003d2: The second terminal device obtains the information content.
[0134] Step 1004, the second terminal device displays the information content.
[0135] Based on the above embodiments, the present application further provides a terminal device, which includes a plurality of functional modules; the plurality of functional modules interact with each other to implement the functions performed by the terminal device in the various methods described in the embodiments of the present application. The plurality of functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the plurality of functional modules can be arbitrarily combined or divided based on the specific implementation. For example, execute Figure 10 Steps 1001 to 1003 performed by the first terminal device in the embodiment shown. Or, it can also execute Figure 10 Step 1004 performed by the second terminal device in the embodiment shown.
[0136] Based on the above embodiments, the present application further provides a terminal device, which includes at least one processor and at least one memory. Computer program instructions are stored in the at least one memory. When the terminal device runs, the at least one processor executes the functions performed by the terminal device in the various methods described in the embodiments of the present application. For example, execute Figure 10 Steps 1001 to 1003 performed by the first terminal device in the embodiment shown. Or, it can also execute Figure 10 Step 1004 performed by the second terminal device in the embodiment shown.
[0137] Based on the above embodiments, the present application further provides a computer program product, which includes: a computer program (which can also be called code or instruction). When the computer program is run, it causes the computer to execute the various methods described in the embodiments of the present application.
[0138] 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, it causes the computer to execute the various methods described in the embodiments of the present application.
[0139] Based on the above embodiments, the present application further provides a chip, which is used to read the computer program stored in the memory and implement the various methods described in the embodiments of the present application.
[0140] 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 a possible design, the chip system further includes a memory for storing the necessary programs and data of the computer device. The chip system can be composed of chips or can include chips and other discrete devices. Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program codes.
[0141] The present application is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, as well as the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the functions specified in Figure 1 one or more of the flows Figure 1 or a plurality of flows and / or blocks
[0142] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device that implements the functions specified in Figure 1 one or more of the flows Figure 1 or a plurality of flows and / or blocks
[0143] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in Figure 1 one or more of the flows Figure 1 or a plurality of flows and / or blocks
[0144] Obviously, those skilled in the art can make various changes and modifications 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 equivalent technologies, this application is also intended to include these modifications and variations.
Claims
1. A communication method, characterized in that, Applied to a first terminal device, when the first terminal device is in a state without network service, it includes: In response to a first operation instruction of a user in a first interface, display a second interface, where the second interface includes M text labels, M being a positive integer, the first interface is for information editing, and the first interface includes recipient information; In response to a selection operation of the user on at least one of the M text labels, display a third interface; the third interface includes message preview information obtained based on the at least one text label; In response to a second operation instruction in the third interface, send information to the recipient based on the message preview information and display a fourth interface, where the fourth interface is used to indicate the information interaction interface between the first terminal device and the recipient after the information is sent; Sending the information to the recipient based on the message preview information includes: Respectively look up the preset codes corresponding to the at least one text label from the stored mapping relationship; the mapping relationship is used to indicate the preset codes corresponding to the M labels; Encode the information according to the preset codes and send the encoded information to the recipient.
2. The method according to claim 1, characterized in that, The first interface further includes a first control, and the first operation instruction is used to indicate a touch operation of the user 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, characterized in that, The first interface further includes a second control, and the second control is used to indicate that when in a selected display state, the location information of the first terminal device is carried in the information.
4. The method according to claim 1, characterized in that, The method further includes: Detect a third operation instruction for a custom label included in the second interface, where the third operation instruction is used to indicate that the user edits the custom label; In response to the third operation instruction, display the custom label as an edited text label, and update the first mapping relationship to a second mapping relationship, where the first mapping relationship is used to indicate the correspondence between the custom label and a first preset code, and the second mapping relationship is used to indicate the correspondence between the edited text label and a second preset code, and the second preset code includes the first preset code and the device identification code of the first terminal device.
5. The method according to claim 4, characterized in that, The method further includes: When the first terminal device is in a state with network service, upload the second mapping relationship to a server.
6. The method according to any one of claims 1 to 5, characterized in that, The message preview information is presented through a card or a text box.
7. The method according to any one of claims 1 to 5, characterized in that, The information is in the form of Beidou short message and is sent to a second terminal device bound to the recipient information via satellite.
8. The method according to any one of claims 1 to 5, characterized in that, The third interface further includes character prompt information, where the character prompt information is used to indicate the remaining number of characters that can be input; Wherein, the text content included in the at least one text label is a first number of characters, occupying the 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 includes: In response to the selection operation, update the character prompt information.
9. The method according to any one of claims 1 to 5, characterized in that, The length of the preset code corresponding to the M tags is a preset number of bits.
10. The method according to claim 9, characterized in that, The preset number of bits is 6 bits or 7 bits.
11. 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 configured 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 the M text tags displayed on the first terminal device, where M is a positive integer, and the encoded information includes the preset codes respectively corresponding to the at least one text tag. The satellite is configured to receive the encoded information from the first terminal device and send the encoded information based on the recipient information indicated in the encoded information. The server is configured to receive the encoded information from the satellite, decode the encoded information, and send the decoded information content to the second terminal device; alternatively, the server is configured to receive the encoded information from the satellite and send the encoded information to the second terminal device based on the recipient information indicated in the encoded information; the second terminal device is the terminal device bound to the recipient information. The second terminal device is configured 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.
12. A terminal device, characterized in that, It includes at least one processor, and the at least one processor is coupled to at least one memory. The at least one processor is configured to read the computer program stored in the at least one memory to execute the method according to any one of claims 1 to 10.
13. A computer-readable storage medium, characterized in that, Instructions are stored in the computer-readable storage medium, and when it runs on a computer, it causes the computer to execute the method according to any one of claims 1 to 10.
14. A computer program product containing instructions, characterized in that, When the computer program product runs on a computer, it causes the computer to execute the method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Disaster information transmission method and device and electronic equipment
CN110225472A
Message sending method and device and electronic equipment
CN114518923A