Data processing method, electronic device, and server

Through the collaboration of electronic devices and servers, users can customize and share text resource collections, solve the problem of limited content in Beidou short message communication, and achieve more efficient satellite communication experience and capacity utilization.

WO2024239752A1PCT designated stage expired Publication Date: 2024-11-28HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/079659
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-22
Filing Date
2024-03-01
Publication Date
2024-11-28

AI Technical Summary

Technical Problem

Due to the limited air interface resources of Beidou short message communication, the frequency and content length of short message transmission are limited, making it difficult to carry more effective content in satellite communication.

Method used

Provide a data processing method. Through the collaboration of electronic devices and servers, users can customize and share text resource collections, generate configuration files for text resource collections, realize flexible management and sharing of text resources, and improve the capacity and efficiency of satellite communications.

Benefits of technology

Users can customize and share text resource collections to meet the fast communication needs in specific scenarios, improve user experience, and optimize data processing between servers and devices through the configuration files and encoding of text resource collections, improve the accuracy of satellite communication and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024079659_28112024_PF_FP_ABST
    Figure CN2024079659_28112024_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a data processing method, an electronic device, and a server. In the method, a first electronic device displays a text resource collection editing interface, and the first electronic device obtains a plurality of pieces of first text content inputted by a first user in the text resource collection editing interface and obtains a user identification of a second user, wherein the second user is a user selected by the first user to share a first text resource collection, and the first text resource collection is a text resource collection generated according to the plurality of pieces of first text content. The first electronic device sends a request message to a server, wherein the request message is used for requesting to share the first text resource collection with the second user; the request message comprises the plurality of pieces of first text content, a user identification of the first user, and the user identification of the second user. According to the solution, a user-defined text resource collection can be shared among users, the needs of users for satellite-based rapid communication in specific scenes are met, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Data processing method, electronic device and server

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on May 22, 2023, with application number 202310576526.3 and invention name “A data processing method, electronic device and server”, the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The present application relates to the field of satellite communication technology, and in particular to a data processing method, electronic equipment, and server. Background Art

[0004] Satellite communication refers to communications that use satellites as network relays. With the development of satellite communication technology, more and more terminal devices also support satellite communication, providing users with more communication options.

[0005] For example, message communication based on the Beidou Navigation Satellite System (BDS) refers to the two-way information transmission between electronic equipment, Beidou satellites and servers through satellite signals. Beidou satellite communication usually uses short messages as the basic transmission unit, and Beidou short message communication is a functional feature attached to BDS.

[0006] Beidou short message communication can provide communication services in areas where ordinary mobile communication signals cannot cover (such as uninhabited areas, deserts, oceans, polar regions, etc.) or when communication base stations are damaged (such as earthquakes, floods, typhoons, etc.). Electronic devices equipped with Beidou short message modules can send Beidou short messages for emergency communications. Beidou short message communication can not only locate the position of electronic devices to let users know where they are, but also send information to the outside world through Beidou short message communication to tell others what is happening. Therefore, Beidou short message communication has played a huge role in national defense, people's livelihood, emergency rescue and other fields, and is also widely used in outdoor, fishery, disaster relief and other scenarios.

[0007] However, due to the limited air interface resources of Beidou short messages, Beidou short message communications have restrictions on the frequency of short message sending and the length of short message content. How to carry more effective content in satellite short messages has become an important issue.

[0008] Summary of the Invention

[0009] The present application provides a data processing method, electronic equipment and server, which are used to provide a flexible and fast satellite communication method.

[0010] In a first aspect, an embodiment of the present application provides a data processing method, which can be executed by a first electronic device. The method includes: in response to a first operation, the first electronic device displays a text resource collection editing interface. The first electronic device obtains multiple first text contents input by the first user in the text resource collection editing interface, and obtains the user ID of the second user; the second user is the user selected by the first user to share the first text resource collection, and the first text resource collection is a text resource collection generated based on the multiple first text contents; the first electronic device sends a request message to the server, and the request message is used to request that the first text resource collection be shared with the second user; the request message includes the multiple first text contents, the user ID of the first user, and the user ID of the second user.

[0011] In the above method, users can customize text resource collections and share user-defined text resource collections with other users, meeting the needs of users for fast communication via satellite in specific scenarios and improving user experience.

[0012] In one possible design, the request message further includes multiple second text contents; and obtaining the multiple first text contents input by the first user in the text resource collection editing interface includes: obtaining the multiple first text contents input by the first user in the first area of ​​the text resource editing interface;

[0013] The method further includes: acquiring a plurality of second text contents input by the first user in a second area of ​​the text resource editing interface, wherein the plurality of second text contents are used to generate a second text resource set.

[0014] Through this design, users can enter text content of different text resource sets in different areas of the text resource set editing interface, so that users can edit two related text resource sets at the same time, such as the quick help phrases and quick reply phrases text resource sets, simplifying user operations and improving user experience.

[0015] In one possible design, the request message also includes a code corresponding to each first text content in the multiple first text contents and a collection identifier of the first text resource collection; after obtaining the multiple first text contents entered by the first user in the text resource collection editing interface, before sending the request message to the server, the method also includes: generating a collection identifier of the first text resource collection, and generating a code corresponding to each first text content in the multiple first text contents.

[0016] Through this design, the first electronic device can generate a collection identifier of the first text resource collection and a code corresponding to each first text content to create a first text resource collection, and send the code corresponding to each first text content in multiple first text contents and the collection identifier of the first text resource collection to the server through a request message to reduce the computing pressure of the server.

[0017] In one possible design, the request message also includes the name of the first text resource set.

[0018] Through this design, users can also customize the name of the text resource collection, making it easier for users to use the customized text resource collection in the future and improving the user experience.

[0019] In one possible design, after sending the request message to the server, the method further includes:

[0020] A response message sent by the server is received, wherein the response message includes a configuration file of the first text resource set; and the configuration file of the first text resource set is stored.

[0021] Through this design, after generating the configuration file of the first text resource set, the server can return the configuration file of the first text resource set to the first electronic device through a response message, so that the configuration file of the first text resource set is stored in both the first electronic device and the server, thereby realizing satellite communication based on the first text resource set.

[0022] In a possible design, the configuration file of the first text resource set includes a set identifier of the first text resource set, multiple first text contents of the first text resource set, and a code corresponding to each first text content.

[0023] Optionally, the configuration file of the first text resource collection may further include a user identifier of the first user and a name of the first text resource collection.

[0024] In one possible design, the method also includes: receiving an update push message sent by the server, the update push message including a configuration file of at least one updated text resource collection; displaying the update push message; and downloading the configuration file of the at least one updated text resource collection in response to a second operation.

[0025] Through this design, the server can send an update push message to the electronic device after the text resource collection is updated, so that the electronic device can obtain the latest version of the text resource collection in a timely manner, ensuring the accuracy of satellite communication.

[0026] In one possible design, the method also includes: sending an update query request to the server, wherein the update query request includes a collection identifier of at least one text resource collection stored in the first electronic device; and receiving a configuration file of at least one updated text resource collection sent by the server.

[0027] With this design, the electronic device can proactively query the server whether there is a version update of the text resource collection, so as to timely maintain the text resource collection stored in the electronic device.

[0028] In one possible design, the method further includes: in response to a third operation, displaying multiple text contents of a third text resource set; in response to a fourth operation, sending a first message to a server via a satellite, the first message including an encoding corresponding to at least one target text content and a collection identifier of the third text resource set; wherein the at least one target text content is text content selected by the first user from the multiple text contents of the third text resource set.

[0029] Through this design, the first message sent by the first electronic device to the server can include at least one encoding corresponding to the target text content and a collection identifier of the third text resource set, so that the receiving device can decode the first message based on the third text resource set to ensure the accuracy of satellite communication.

[0030] In a possible design, the third text resource set is a text resource set preconfigured by the system, or the third text resource set is a text resource set generated according to user-defined text content.

[0031] Through this design, users can use the system's pre-configured text resource collection to send satellite messages, or use user-defined text resource collections to flexibly implement satellite communications based on text resource collections.

[0032] In a second aspect, the present application provides a data processing method that can be performed by a second electronic device. The method includes: the second electronic device receiving a push message sent by a server, the push message being used to inquire whether to receive a first text resource set, the first text resource set being a text resource set triggered and created by a first user; the second electronic device displaying the push message; in response to a fifth operation, the second electronic device sending a confirmation message to the server, the confirmation message being used to instruct the second electronic device to receive the first text resource set; and the second electronic device receiving a configuration file of the first text resource set sent by the server.

[0033] Through this design, the second electronic device can receive the first text resource set sent by the server and triggered by the first user, thereby realizing the sharing of the user-defined text resource set, meeting the needs of fast communication between users via satellite in specific scenarios, and improving the user experience.

[0034] In one possible design, the method also includes: receiving at least one target text content and a collection identifier of a third text resource set sent by the server, the at least one target text content is obtained after the server decodes and processes a first message sent by a first electronic device via a satellite, and the third text resource set is a text resource set used by the first electronic device when sending the first message; or receiving the first message forwarded by the server, the first message including an encoding corresponding to at least one target text and a collection identifier of the third text resource set, decoding and processing the first message forwarded by the server according to the third text resource set to obtain the at least one target text content; and displaying the at least one target text.

[0035] Through this design, in the data processing method of the present application, the server can decode the message and send the decoded at least one target text and the collection identifier of the third text resource set to the second electronic device; or the server can forward the first message to the second electronic device, and the second electronic device can decode the first message to obtain at least one target text, thereby flexibly realizing the decoding processing of satellite messages.

[0036] In one possible design, the method further includes: determining a fourth text resource set associated with the third text resource set based on the set identifier of the third text resource set; and displaying multiple text contents in the fourth text resource set on the reply interface.

[0037] Through this design, the second electronic device can display multiple text contents in the fourth text resource set associated with the third text resource set on the reply interface, so that the second user can make quick replies in the reply interface, further improving the user experience.

[0038] In a third aspect, the present application provides a data processing method that can be executed by a server. The method includes: the server receiving a request message sent by a first electronic device, the request message including multiple first text contents input by a first user in a text resource collection editing interface, a user identifier of the first user, and a user identifier of a second user, the second user being a user selected by the first user to share a first text resource collection, the first text resource collection being a text resource collection generated based on the multiple first text contents; the server generating a configuration file for the first text resource collection based on the request message; and the server sending a push message to the second electronic device, the push message being used to inquire whether to receive the first text resource collection.

[0039] In this method, the server can receive a request message sent by the first electronic device to share the first text resource set triggered by the first user with the second user, thereby realizing the sharing of user-defined text resource sets, meeting the needs of quick communication between users via satellite in specific scenarios, and improving user experience.

[0040] In one possible design, after sending the push message, the method also includes: receiving a confirmation message sent by the second electronic device, the confirmation message being used to instruct the second electronic device to receive the first text resource set; and sending a configuration file of the first text resource set to the second electronic device.

[0041] With this design, after receiving the confirmation message sent by the second electronic device, the server can send the first text resource set to the second electronic device, thereby completing the sharing process of the first text resource set.

[0042] In one possible design, generating the configuration file of the first text resource set based on the request message includes: generating a collection identifier of the first text resource set, and generating a code corresponding to each first text content in the multiple first text contents.

[0043] Through this design, the server can generate a collection identifier of the first text resource collection and a code corresponding to each first text content to create the first text resource collection, thereby enabling unified management of the text resource collection.

[0044] In one possible design, the request message also includes multiple second text contents entered by the first user in the text resource collection editing area; the push message is further used to inquire whether to receive the second text resource, where the second text resource collection is a text resource collection generated based on the multiple second text contents;

[0045] The method further includes: generating a configuration file of the second text resource set according to the request message.

[0046] Through this design, the server can also receive multiple second text contents sent by the first electronic device, so that two related text resource sets can be generated through one request message, thereby improving the efficiency of creating text resource sets.

[0047] In one possible design, the configuration file of the first text resource set includes a set identifier of the first text resource set, the multiple first text contents, and a code corresponding to each first text content.

[0048] Optionally, the configuration file of the first text resource collection may further include a user identifier of the first user and a name of the first text resource collection.

[0049] In one possible design, the method also includes: determining that a configuration file of at least one text resource set corresponding to the first electronic device has been updated, and sending an update push message to the first electronic device, wherein the update push message includes a configuration file of at least one updated text resource set.

[0050] Through this design, the server can send an update push message to the electronic device after the text resource collection is updated, so that the electronic device can obtain the latest version of the text resource collection in a timely manner, ensuring the accuracy of satellite communication.

[0051] In one possible design, the method also includes: receiving an update query request sent by the first electronic device, the update query request including a collection identifier of at least one text resource collection stored in the first electronic device; determining that a configuration file of at least one text resource collection corresponding to the first electronic device has been updated based on the collection identifier of at least one text resource collection stored in the first electronic device; and sending at least one updated configuration file of the text resource collection to the first electronic device.

[0052] With this design, the electronic device can proactively query the server whether there is a version update of the text resource collection, so as to timely maintain the text resource collection stored in the electronic device.

[0053] In a fourth aspect, the present application provides an electronic device comprising multiple functional modules; the multiple functional modules interact with each other to implement the method performed by the first electronic device in the first aspect and its respective embodiments, or to implement the method performed by the second electronic device in the second aspect and its respective embodiments. The multiple functional modules may be implemented based on software, hardware, or a combination of software and hardware, and the multiple functional modules may be arbitrarily combined or divided based on the specific implementation.

[0054] In a fifth aspect, the present application provides an electronic device comprising at least one processor and at least one memory, wherein the at least one memory stores computer program instructions. When the electronic device is running, the at least one processor executes the method executed by the first electronic device in the above-mentioned first aspect and its various embodiments, or executes the method executed by the second electronic device in the above-mentioned second aspect and its various embodiments.

[0055] In a sixth aspect, the present application provides a server comprising multiple functional modules; the multiple functional modules interact with each other to implement the method performed by the server in the third aspect and its respective embodiments. 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.

[0056] In the seventh aspect, the present application provides a server comprising at least one processor and at least one memory, wherein the at least one memory stores computer program instructions. When the server is running, the at least one processor executes the method executed by the server in the above-mentioned third aspect and its various embodiments.

[0057] In an eighth aspect, the present application provides a satellite communication system, comprising a first electronic device, a second electronic device, and a server. The first electronic device is configured to execute the method described in the first aspect and its respective embodiments, the second electronic device is configured to execute the method described in the second aspect and its respective embodiments, and the server is configured to execute the method described in the third aspect and its respective embodiments.

[0058] In a ninth aspect, the present application also provides a computer program product comprising instructions, which, when run on a computer, enables the computer to execute the method executed by the first electronic device, the second electronic device or the server in any of the above aspects and its various embodiments.

[0059] In the tenth aspect, the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a computer, the computer executes the method executed by the first electronic device, the second electronic device or the server in any of the above aspects and its various embodiments.

[0060] In the eleventh aspect, the present application also provides a chip, which is used to read the computer program stored in the memory and execute the method executed by the first electronic device, the second electronic device or the server in any of the above aspects and its various embodiments.

[0061] In a twelfth aspect, the present application further provides a chip system, which includes a processor for supporting a computer device to implement the method executed by the first electronic device, the second electronic device, or the server in any of the above aspects and their respective embodiments. 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. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] FIG1 is a schematic diagram of the architecture of a satellite communication system provided in an embodiment of the present application;

[0063] FIG2 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;

[0064] FIG3 is a software structure block diagram of an electronic device provided in an embodiment of the present application;

[0065] FIG4 is a flow chart of a data processing method provided in an embodiment of the present application;

[0066] FIG5 is a schematic diagram of a display interface of a satellite messaging application provided in an embodiment of the present application;

[0067] FIG6 is a schematic diagram of a text resource collection editing interface provided in an embodiment of the present application;

[0068] FIG7 is a schematic diagram of a contact selection interface provided in an embodiment of the present application;

[0069] FIG8 is a schematic diagram of a push message provided in an embodiment of the present application;

[0070] FIG9 is a schematic diagram of an information editing interface of a satellite messaging application provided in an embodiment of the present application;

[0071] FIG10 is a schematic diagram of a satellite message display interface provided in an embodiment of the present application;

[0072] FIG11 is a flow chart of a data processing method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0073] In order to make the purpose, technical solutions and advantages of the embodiments of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings. In the description of the embodiments of the present application, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.

[0074] It should be understood that in the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single 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.

[0075] First, let's introduce Beidou short message communication: The Beidou Navigation Satellite System (BDS) is China's independently developed and independently operated global satellite navigation system. BDS-based short message communication enables two-way information transmission between electronic devices, Beidou satellites, and servers via satellite signals. Beidou satellite communication typically uses short messages as the basic transmission unit, and Beidou short message communication is a feature of the BDS. Beidou short message communication can provide communication services in areas beyond the reach of ordinary mobile communication signals (such as uninhabited areas, deserts, oceans, and polar regions) or when communication base stations are damaged (such as by earthquakes, floods, and typhoons).

[0076] Alternatively, electronic devices can send short messages to BeiDou satellites for emergency communications. This not only locates the electronic device, letting the user know where it is, but also allows the user to send information to the outside world, alerting others to what's happening. Therefore, BeiDou short message communications have played a significant role in national defense, livelihood security, emergency rescue, and other fields, and are also widely used in outdoor settings, fisheries, and disaster relief.

[0077] However, due to the limited air interface resources of Beidou short messages, Beidou short message communications have restrictions on the frequency of short message transmission and the length of short message content. For example, due to the rate limit of the satellite uplink network, the current maximum message capacity transmitted via satellite is 400 bits, and the recipient's contacts, location information, and user-entered information all require the Beidou short message message capacity. If a Beidou short message carries the sender's location information and the recipient of the message is a single contact, the message header occupies 128 bits, and the remaining 272 bits can be used to carry the text content entered by the user. A Chinese character code occupies 2 bytes (16 bits), and the user can enter a maximum of 17 Chinese characters. When the recipients are two contacts, the user can enter a maximum of 14 Chinese characters; when the recipients are three contacts, the user can enter a maximum of 12 Chinese characters. It can be seen that the text content that users can enter in the current Beidou short message transmission method is very limited.

[0078] In some implementations, the electronic device stores a system-preset text resource set, which includes multiple text contents and the codes corresponding to each text content. For example, the text resource set may include multiple quick sending phrases / quick reply phrases. When sending a Beidou message, the sending user can select a quick sending phrase. The sending electronic device can send the code corresponding to the quick sending phrase to the receiving electronic device via satellite. The receiving electronic device can decode the code in the Beidou message and the system-preset text resource set to obtain the text content sent by the sending user. However, due to the limited text content configured by the system, it cannot meet the communication needs between users in various scenarios.

[0079] Based on the above problems, the embodiments of the present application provide a data processing method, device, and server. For ease of introduction, the following description takes the application of the data processing method provided in the embodiments of the present application to satellite short message communication as an example for introduction. It is understandable that in satellite short message communication, an electronic device can send a short message to a server or electronic device via a satellite. When the embodiments of the present application are applied to other communication scenarios, the electronic device can send data to the server or electronic device via other relay communication devices, or the electronic device can also send data directly to the server. The embodiments of the present application do not limit this.

[0080] FIG1 is a schematic diagram of the architecture of a satellite communication system provided in an embodiment of the present application. Referring to FIG1 , the satellite communication system provided in an embodiment of the present application includes electronic equipment, a server, and a satellite. Furthermore, the satellite communication system may also include a transmitter and a receiver. The server may be a cloud server provided by an electronic equipment manufacturer or a Beidou server. The server may be used to forward and process information sent and received by the satellite. The server may be implemented by one or more computing devices. The transmitter and the receiver are used to assist the server in sending or receiving satellite short messages. The transmitter and the receiver have high power, which can improve the efficiency of satellite communications.

[0081] Figure 1 takes two electronic devices (electronic device 1 and electronic device 2) as an example. In an embodiment of the present application, when the communication network is available, the electronic devices can communicate with the server or other electronic devices through a general network; when the general network is not available, the electronic devices can communicate with the server or other electronic devices through a satellite.

[0082] Optionally, in an embodiment of the present application, a satellite communication module may be installed in the electronic device, and the electronic device may send short messages directly to the satellite; or when a satellite communication module is not installed in the electronic device, the electronic device may also send satellite short messages through a server.

[0083] For example, the satellite communication system shown in FIG1 may be a BeiDou short message communication system, the satellite may be a BeiDou satellite, and the satellite communication module installed in the electronic device may be a BDS module. It is understood that the BeiDou satellite is merely an example and not a limitation. In specific implementations, the communication method provided in the embodiments of the present application may also be applied to other satellite short message communications, and the present application does not limit this.

[0084] In the data processing method provided in an embodiment of the present application, a first electronic device displays a text resource editing interface in response to a first operation. The first electronic device obtains multiple first text contents input by a first user, and obtains a user identifier of a second user, where the second user is a user selected by the first user to share a text resource set; the first electronic device sends a request message to a server, where the request message is used to request that the first text resource set be shared with the second user, and the request message includes the multiple first text contents input by the first user, the user identifier of the first user, and the user identifier of the second user. The server generates a first text resource set based on the multiple text contents, and the server sends a configuration file of the first text resource set to the first electronic device.

[0085] The server sends a push message to the second electronic device. After the second user clicks on the second electronic device to agree to download the first text resource set, the server sends a configuration file of the first text resource set to the second electronic device.

[0086] Through the data processing method provided in the embodiment of the present application, users can customize text resource collections and share user-customized text resource collections with other users, meeting the needs of users for quick communication via satellite in specific scenarios and improving user experience.

[0087] The following describes electronic devices and embodiments for using such electronic devices. The electronic devices in the embodiments of the present application may be tablet computers, mobile phones, in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), wearable devices, etc. The embodiments of the present application do not impose any restrictions on the specific types of electronic devices.

[0088] FIG2 is a schematic diagram of the structure of an electronic device 100 provided in an embodiment of the present application. As shown in FIG2 , the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identification module (SIM) card interface 195. Optionally, the electronic device may further include a satellite communication module 161.

[0089] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors. The controller may serve as the nerve center and command center of the electronic device 100. The controller may generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution. The processor 110 may also include memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a high-speed cache memory. This memory may store instructions or data that have just been used or are being recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can directly retrieve it from the memory. This avoids duplicate accesses, reduces the processor 110's waiting time, and thus improves system efficiency.

[0090] The USB interface 130 is an interface that complies with USB standards and specifications, and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and peripheral devices. The charging management module 140 is used to receive charging input from the charger. The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, and the wireless communication module 160.

[0091] The wireless communication functionality of electronic device 100 can be implemented using antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, a modem processor, and a baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.

[0092] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0093] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0094] The satellite communication module 161 provides the electronic device 100 with satellite short message communication capabilities. The electronic device 100 can send short messages to the satellite and receive short messages sent by the satellite to the electronic device through the satellite communication module 161, thereby realizing communication between the electronic device 100 and the satellite. For example, the satellite communication module 161 can be a BDS module.

[0095] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with a network and other devices through wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0096] The display screen 194 is used to display the display interface of the application, such as displaying the display page of the application installed on the electronic device 100. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLed, a Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N display screens 194, where N is a positive integer greater than one.

[0097] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0098] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, and the software code of at least one application, etc. The data storage area can store data generated during the use of the electronic device 100 (such as captured images, recorded videos, etc.). In addition, the internal memory 121 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, a universal flash storage (UFS), etc.

[0099] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as pictures and videos can be stored on the external memory card.

[0100] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0101] Among them, the sensor module 180 may include a pressure sensor 180A, an acceleration sensor 180B, a touch sensor 180C, etc.

[0102] The pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194 .

[0103] Touch sensor 180C, also known as a "touch panel," can be disposed on display screen 194. The touch sensor 180C and display screen 194 form a touch screen, also known as a "touch screen." Touch sensor 180C is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to an application processor to determine the type of touch event. Visual output related to the touch operations can be provided via display screen 194. In other embodiments, touch sensor 180C can also be disposed on the surface of electronic device 100, at a location different from that of display screen 194.

[0104] The buttons 190 include a power button, a volume button, etc. The button 190 can be a mechanical button. It can also be a touch button. The electronic device 100 can receive button input and generate key signal input related to the user settings and function control of the electronic device 100. The motor 191 can generate a vibration prompt. The motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization. The indicator 192 can be an indicator light, which can be used to indicate the charging status, power changes, and can also be used to indicate messages, missed calls, notifications, etc. The SIM card interface 195 is used to connect the SIM card. The SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100.

[0105] It is understood that the components shown in FIG2 do not constitute a specific limitation on the electronic device 100. The electronic device may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. In addition, the combination / connection relationship between the components in FIG2 may also be adjusted and modified.

[0106] Figure 3 is a block diagram of the software structure of an electronic device provided in an embodiment of the present application. As shown in Figure 3, the software structure of the electronic 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 four layers, from top to bottom, namely, the application layer, the application framework layer (framework, FWK), the runtime (runtime) and system library, and the kernel layer.

[0107] The application layer may include a series of application packages. As shown in Figure 3, the application layer may include a camera, settings, skin module, user interface (UI), third-party applications, etc. Among them, third-party applications may include gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc. In an embodiment of the present application, the application layer may include a target installation package of a target application that the electronic device requests to download from a server, and the function files and layout files in the target installation package are adapted to the electronic device.

[0108] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer may include some predefined functions. As shown in Figure 3, the application framework layer may include a window manager, content provider, view system, telephony manager, resource manager, and notification manager.

[0109] 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.

[0110] 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.

[0111] The phone manager is used to provide communication functions for electronic devices, such as call status management (including answering, hanging up, etc.).

[0112] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0113] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically without user interaction. For example, the Notification Manager is 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 text messages in the status bar, beeps, vibrations on electronic devices, and flashing indicator lights.

[0114] The runtime includes the core library and the virtual machine. The runtime is responsible for the scheduling and management of the operating system.

[0115] 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.

[0116] The system library can include multiple functional modules, such as a surface manager, media libraries, a 3D graphics processing library (e.g., OpenGL ES), a 2D graphics engine (e.g., SGL), and an image processing library.

[0117] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.

[0118] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0119] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0120] A 2D graphics engine is a drawing engine for 2D drawings.

[0121] 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.

[0122] The hardware layer can include various sensors, such as accelerometers, gyroscopes, touch sensors, etc.

[0123] It should be noted that the structures shown in Figures 2 and 3 are merely examples of electronic devices provided in the embodiments of the present application and do not limit the electronic devices provided in the embodiments of the present application. In specific implementations, the electronic device may have more or fewer devices or modules than those in the structures shown in Figures 2 or 3.

[0124] The following is an introduction to the data processing method provided in the embodiments of the present application.

[0125] FIG4 is a flow chart of a data processing method provided in an embodiment of the present application. Referring to FIG4 , the method includes the following steps:

[0126] S401: In response to a first operation by a first user, the first electronic device displays a text resource collection editing interface.

[0127] In an embodiment of the present application, a first application for sending / receiving satellite messages may be installed in the first electronic device. The first application may be a third-party application or a system application. A user may use the first application to send satellite messages to other users or receive satellite messages sent by other users.

[0128] The text resource set provided in the embodiments of this application includes multiple text contents and the corresponding codes for each text content. The text resource set can also be called a dictionary, a quick help phrase set, a quick reply phrase set, etc. The text resource set can include multiple text contents, which can be single words, words, or sentences, and each text content corresponds to a code.

[0129] In the data processing method provided in the embodiment of the present application, the text resource collection can be preconfigured by the system or customized by the user. In the method for creating a user-defined text resource collection provided in the embodiment of the present application, a first user can trigger a first operation in the display interface of a first application, and the first operation can be used to create a new text resource collection. Optionally, the first operation can be a click operation performed by the first user on an edit control.

[0130] For example, Figure 5 is a schematic diagram of a display interface for a satellite messaging application provided in an embodiment of the present application. Referring to Figure 5(a), a first electronic device can display a sent or received satellite message in the display interface of the satellite messaging application. After a first user clicks the edit control in Figure 5, the first electronic device can display the text resource collection editing interface shown in Figure 5(b).

[0131] S402: The first electronic device obtains multiple text contents input by the first user.

[0132] The first user can edit text content in the text resource collection editing interface, for example, the first user can input multiple text contents in the text resource editing interface shown in (b) of Figure 5. The first electronic device can obtain the multiple text contents input by the first user.

[0133] In an optional embodiment, the text resource set editing interface can support users to edit two associated text resource sets. The first user can enter multiple first text contents in the first area of ​​the text resource set editing interface, and the multiple first text contents are used to generate the first text resource set, and the first user can generate multiple second text contents in the second area of ​​the text resource set editing interface, and the multiple second text contents are used to generate the second text resource set. The first text resource set and the second text resource set are associated text resource sets, such as two associated text resource sets, for example, a sending language set and a reply language set. For example, Figure 6 is a schematic diagram of a text resource set editing interface provided in an embodiment of the present application. Referring to Figure 6, in this interface, the first user can edit the name of the text resource set, the first user can enter commonly used sending languages ​​in the sending language editing area, and enter commonly used reply languages ​​in the reply language editing area. The first electronic device can respectively obtain multiple text contents entered by the first user in different editing areas.

[0134] For example, Table 1 is an example of user-defined sending and reply language provided in an embodiment of the present application. Referring to Table 1, the first electronic device can respectively obtain multiple sending and reply language input by the first user, and use the multiple sending languages ​​as multiple text contents of one text resource set, and use the multiple reply language as multiple text contents of another text resource set, where different text resource sets correspond to different set identifiers.

[0135] With reference to Table 1, in an optional implementation, the first electronic device may generate different set identifiers for different text resource sets, and generate a code corresponding to the text content in each text resource set.

[0136] In another optional implementation, after acquiring the multiple text contents, the first electronic device may send the multiple text contents to the server, and the server may generate a collection identifier of the text resource collection and a code corresponding to each text content.

[0137] In another optional implementation, the first electronic device can generate a code corresponding to each text content, and the server can generate a collection identifier for the text resource collection; or the first electronic device can generate a collection identifier for the text resource collection, and the server can generate a code corresponding to each text content. In other words, the process of creating a text resource collection in the embodiment of the present application can be completed by the electronic device and the server in collaboration.

[0138] For ease of introduction, the following takes the example of a first user triggering the creation of a first text resource set. When the first user triggers the creation of a first text resource set and a second text resource set, the method of generating the second text resource set can also be implemented by referring to the following steps, and the repeated parts will not be repeated.

[0139] S403: The first electronic device obtains a user identifier of a second user, where the second user is a user selected by the first user to share a text resource set.

[0140] In an optional implementation of the embodiment of the present application, after a first user inputs multiple text contents in the text resource collection editing interface, the first user may select a second user with whom to share the text resource collection.

[0141] For example, after the first user has input multiple text contents, he or she can click the "Share with Contacts" control in the text resource collection editing interface shown in Figure 6, and the first electronic device can jump to display the contact selection interface shown in Figure 7. The first user can select a second user in the contact selection interface.

[0142] Optionally, the first user may trigger a click operation on the confirmation control in the contact selection interface. In response to the click operation, the first electronic device may obtain the user identification of the second user. If the first user selects multiple users as the second user in the contact selection interface, the first electronic device may obtain the user identification of each second user separately.

[0143] S404: The first electronic device sends a request message to the server, where the request message includes a plurality of first text contents input by the first user, a user identifier of the first user, and a user identifier of the second user.

[0144] Optionally, the request message is used to request sharing of the first text resource set with the second user. The request message may further include a name of the first text resource set, which may be a name entered by the first user in the text resource set editing interface.

[0145] S405: The server generates and stores a configuration file of the first text resource set according to the request message.

[0146] As can be seen from the above introduction, after the first electronic device obtains multiple first text contents, it can generate a collection identifier of the first text resource set and a code corresponding to each first text content. The request message sent by the first electronic device can also include the collection identifier of the first text resource set and the code corresponding to each first text content. After receiving the request message, the server can store the configuration file of the first text resource set. For example, the configuration file of the first text resource set can include the collection identifier of the first text resource set, multiple first text contents, and the code corresponding to each first text content. The configuration file of the first text resource set can also include the user identifier of the first user and the name of the first text resource set.

[0147] In another optional implementation, if the first electronic device directly sends multiple first text contents to the server via a request message, the server may generate a collection identifier for the first text resource set and a code corresponding to each first text content. The server may store a configuration file for the first text resource set, such as a configuration file for the first text resource set that may include a collection identifier for the first text resource set, multiple first text contents, and a code corresponding to each first text content. The configuration file for the first text resource set may also include a user identifier for the first user and a name for the first text resource set.

[0148] In an embodiment of the present application, if the first user edits two associated text resource sets in the text resource set editing interface shown in Figure 6, the server may also store the correspondence between the two text resource sets when generating a configuration file for the first text resource set, such as the configuration file for the first text resource set may include a collection identifier of the second text resource set associated with the first text resource set.

[0149] Optionally, after generating the configuration file of the first text resource set, the server may send a response message to the first electronic device, where the response message includes the configuration file of the first text resource set. The first electronic device may receive the response message sent by the server and store the configuration file of the first text resource set.

[0150] S406: The server sends a push message to the second electronic device, where the push message is used to inquire whether to download the first text resource set.

[0151] The second electronic device is an electronic device corresponding to the second user.

[0152] In an embodiment of the present application, the server may send a push message to the second electronic device, where the push message may include the name of the first text resource set, and the push message may be used to inquire whether to download the first text resource set.

[0153] S407: The second electronic device displays the push message.

[0154] In an optional embodiment, the second electronic device may display the push message after receiving the push message. For example, FIG8 is a schematic diagram of a push message provided in an embodiment of the present application. Referring to FIG8 , the second electronic device may display the push message in the chat box corresponding to the first user. As shown in FIG8 , the push message includes the first user name and the first text resource collection name, and the interface also includes a "Reject" control and a "Receive Download" control.

[0155] S408: In response to the fifth operation of the second user, the second electronic device sends a confirmation message to the server.

[0156] Optionally, the fifth operation may be a click operation on a "Receive Download" control. In response to the fifth operation, the second electronic device may send a confirmation message to the server, where the confirmation message is used to instruct the second electronic device to receive the download of the first text resource set.

[0157] S409: The server sends the configuration file of the first text resource set to the second electronic device.

[0158] It should be noted that when the first electronic device executes S401-S404 and the second electronic device executes S406-S408, the first electronic device and the second electronic device are in a state of being connected to a universal network, wherein the universal network may be, for example, a wireless local area network or a mobile communication network.

[0159] Through the above methods, users can customize text resource collections and share user-defined text resource collections with other users, meeting the needs of users for fast satellite communication in specific scenarios and improving user experience.

[0160] In an embodiment of the present application, when a text resource collection is updated, the server may send an update push message to the electronic device that has downloaded the text resource collection. After the electronic device displays the update push message, if the user chooses to receive the downloaded updated text resource collection, the server may send the configuration file of the updated text resource collection to the electronic device. Optionally, the electronic device may also send an update query request to the server. The update query request may carry the collection identifier of the text resource collection under the user account logged in to the electronic device. The server may query whether the text resource collection downloaded by the electronic device has been updated. If the text resource collection has been updated, the server may send the configuration file of the updated text resource collection to the electronic device. Among them, the text resource collection update can be for developers to update the system pre-configured text resource collection, or for users who create user-defined text resource collections to update the user-created text resource collection.

[0161] In some embodiments, when an electronic device logs into a user account for the first time, or when the time period during which the electronic device has not logged into a user account is greater than a set threshold, the electronic device may also send a query request to the server, and the query request may include a collection identifier of the text resource collection under the user account. After receiving the query request, the server may send the configuration file of the text resource collection under the user account to the electronic device. After the electronic device receives and downloads the configuration file of the text resource collection, it may complete the synchronization of the text resource collection under the user account, thereby timely updating the text resource collection for user convenience. Optionally, when the electronic device receives the updated configuration file of the text resource collection, if a temporary file or an old version file of the text resource collection is stored in the electronic device, the electronic device may delete the temporary file or the old version file of the text resource collection, thereby timely releasing the electronic device storage space and saving storage resources.

[0162] In an optional embodiment of the present application, when a first electronic device is offline, the first electronic device can send satellite messages to communicate with another electronic device. For example, the present embodiment uses the example of a first electronic device sending a satellite message to a second electronic device. In the following steps, the first electronic device can be offline and the second electronic device can be online.

[0163] S410: In response to a third operation of the first user, the first electronic device displays a plurality of text contents in a third text resource set.

[0164] Optionally, the third operation is used to select a third text resource set from multiple candidate text resource sets. The multiple candidate text resource sets may include system-preconfigured text resource sets and user-defined text resource sets. The user-defined text resource set may be a text resource set created by the first user, such as the text resource set created by the first user in S401-S403, or a text resource set created by another user and received and downloaded by the first electronic device.

[0165] For example, Figure 9 is a schematic diagram of an information editing interface of a satellite messaging application provided in an embodiment of the present application. Referring to Figure 9, the first electronic device displays an interface for creating a new message. In this interface, the first user can select contacts to receive satellite messages. For example, in Figure 9, the contacts selected by the first user to receive satellite messages are the second user and the third user. The first electronic device can also display multiple candidate text resource sets for the first user to select. As shown in (a) in Figure 9, the candidate text resource sets include: "System Default", "Desert No Man's Land", "Deep Mountain Adventure" and "Gobi Desert". The first user can trigger a third operation and select a third text resource set from multiple candidate text resource sets. The first electronic device can display multiple text contents in the third text resource set. For example, after the first user selects the "Desert No Man's Land" text resource set, the first electronic device can display an interface as shown in (b) in Figure 9.

[0166] S411: In response to the fourth operation of the first user, the first electronic device sends a first message to the server via a satellite, where the first message includes a code corresponding to at least one target text content corresponding to the fourth operation and a set identifier of a third text resource set.

[0167] Alternatively, the fourth operation may be an operation triggered by the first user to select and send target text content. For example, in the message editing interface shown in FIG9(b), the first user clicks the text content "I'm lost, requesting help" to trigger the sending of the satellite message. Alternatively, the fourth operation may be a sending operation triggered by the first user. For example, in the message editing interface shown in FIG9(b), the first user first selects at least one target text content from multiple text contents and then clicks the send control to trigger the fourth operation.

[0168] In some implementations of the present application, the first message may further include a set identifier of the third text resource set; when the third text resource set is a user-defined text resource set, the first message may further include a user identifier of the user who created the third text resource set.

[0169] In an embodiment of the present application, at least one target text content is a text content triggered and sent by the first user. The first electronic device can determine the encoding corresponding to the at least one target text content based on the at least one target text content and the third text resource set, and generate a first message based on the encoding corresponding to the at least one target text content. For example, taking the text resource set with the set identifier 01 shown in Table 1 as an example, the information carried in the first message can be the encoding corresponding to the at least one target text content. Assuming that the target text content is "Lost, requesting rescue", the information carried in the first message can be "00000".

[0170] It should be noted that in the embodiment of the present application, the first message is a satellite message. The first electronic device can send the first message to the second electronic device via satellite when the device is offline. Alternatively, the first electronic device can send the first message to a server via satellite. The server decodes the first message to obtain plaintext content. If the second electronic device is online, the server can directly send the plaintext content to the second electronic device.

[0171] S412: The server decodes the first message according to the third text resource set to determine at least one target text content.

[0172] In an embodiment of the present application, the server may obtain the set identifier of the third text resource set from the first message, and obtain the third text resource set stored on the server based on the set identifier of the third text resource set. If the third text resource set is a user-defined text resource set, the server may also obtain the user identifier of the user who created the third text resource set from the first message, and then obtain the third text resource set stored on the server based on the set identifier of the third text resource set and the user identifier of the user who created the third text resource set.

[0173] The server can determine at least one target text content corresponding to the code in the first message based on the third text resource set. For example, taking the text resource set with set identifier 01 shown in Table 1 as an example, assuming the code in the first message is "00000", the server can determine that the target text content is "Lost, requesting rescue."

[0174] S413: The server sends at least one target text content to the second electronic device.

[0175] Optionally, the server may further send the set identifier of the third text resource set and the user identifier of the user who created the third text resource set to the second electronic device.

[0176] In other embodiments of the present application, the server may further forward the first message to a second electronic device. After receiving the first message, the second electronic device may obtain a set identifier of a third text resource set from the first message and, based on the set identifier of the third text resource set, obtain a third text resource set stored in the second electronic device. The second electronic device may decode the first message based on the third text resource set to obtain at least one target text.

[0177] S414: The second electronic device displays at least one target text content, determines a fourth text resource set associated with the third text resource set according to the set identifier of the third text resource set, and displays multiple text contents in the fourth text resource set on the reply interface.

[0178] In an optional implementation, if the third text resource set used by the first electronic device when sending the first message is a system-preconfigured text resource set, the fourth text resource set displayed by the second electronic device may be a system-preconfigured text resource set. If the third text resource set is a user-defined text resource set, and the second electronic device has downloaded a text resource set associated with the third text resource set, the fourth text resource set is a text resource set associated with the third text resource set. If the third text resource set is a user-defined text resource set, and the second electronic device has not downloaded a text resource set associated with the third text resource set, the fourth text resource set may be a system-preconfigured text resource set.

[0179] For example, Figure 10 is a schematic diagram of a satellite message display interface provided in an embodiment of the present application. Referring to Figure 10, the second electronic device can display at least one received target text content in the chat interface of the first user, as shown in Figure 10, the second electronic device displays the message from the first user: "Lost, requesting rescue." The second electronic device determines that the text resource set used by the first electronic device when sending the first message is "Desert No Man's Land Help Language", and the second electronic device determines that the text resource set associated with the text resource set is "Desert No Man's Land Reply Language", then the second electronic device can display multiple text contents in the "Desert No Man's Land Reply Language" in the reply interface, so that the second user can quickly reply to the message sent by the first user.

[0180] Based on the same concept, the present invention also provides a data processing method, which can be executed by a first electronic device. FIG11 is a flowchart of a data processing method provided by the present invention. Referring to FIG11 , the method includes the following steps:

[0181] S1101: In response to a first operation, the first electronic device displays a text resource collection editing interface.

[0182] S1102: The first electronic device obtains a plurality of first text contents input by the first user in the text resource collection editing interface, and obtains a user identifier of the second user.

[0183] Optionally, the second user is a user selected by the first user to share the first text resource set, and the first text resource set is a text resource set generated according to a plurality of first text contents;

[0184] S1103: Send a request message to the server, where the request message is used to request sharing the first text resource set with the second user.

[0185] Optionally, the request message includes multiple first text contents, a user identifier of the first user, and a user identifier of the second user.

[0186] It should be noted that when the data processing method shown in Figure 11 of the present application is specifically implemented, reference can be made to the above embodiments of the present application, and the repeated parts will not be repeated.

[0187] Based on the above embodiments, the present application further provides an electronic device, which includes multiple functional modules; the multiple functional modules interact with each other to implement the functions performed by the first electronic device or the second electronic device in each method described in the embodiments of the present application. For example, S401-S404 and S410-S411 performed by the first electronic device in the embodiment shown in Figure 4 are executed; for another example, S407-S408 and S414 performed by the second electronic device in the embodiment shown in Figure 4 are executed. 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.

[0188] Based on the above embodiments, the present application further provides an electronic device, which includes at least one processor and at least one memory, wherein the at least one memory stores computer program instructions, and when the electronic device is running, the at least one processor performs the functions performed by the electronic device in each method described in the embodiments of the present application. For example, it performs S401-S404 and S410-S411 performed by the first electronic device in the embodiment shown in Figure 4; for another example, it performs S407-S408 and S414 performed by the second electronic device in the embodiment shown in Figure 4.

[0189] Based on the above embodiments, the present application further provides a server comprising multiple functional modules; the multiple functional modules interact with each other to implement the functions performed by the server in each method described in the embodiments of the present application. For example, the server performs S405-S406, S409, and S412-S413 in the embodiment shown in FIG4 . 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.

[0190] Based on the above embodiments, the present application further provides a server comprising at least one processor and at least one memory, wherein the at least one memory stores computer program instructions. When the server is running, the at least one processor executes the functions performed by the server in each method described in the embodiments of the present application, for example, executing S405-S406, S409, and S412-S413 performed by the server in the embodiment shown in FIG. 4 .

[0191] Based on the above embodiments, the present application further provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the methods described in the embodiments of the present application.

[0192] 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.

[0193] 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 methods described in the embodiments of the present application.

[0194] 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 for storing the necessary programs and data for the computer device. The chip system can be composed of a chip or can include a chip and other discrete devices.

[0195] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. 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 magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0196] 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.

[0197] 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.

[0198] 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.

[0199] 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 data processing method, characterized in that: Applied to a first electronic device, the method includes: In response to the first operation, displaying a text resource collection editing interface; Acquire multiple first text contents input by a first user in the text resource collection editing interface, and acquire a user identifier of a second user; the second user is a user selected by the first user to share the first text resource collection, and the first text resource collection is a text resource collection generated according to the multiple first text contents; A request message is sent to a server, where the request message is used to request sharing of the first text resource set with the second user; the request message includes the multiple first text contents, a user identifier of the first user, and a user identifier of the second user.

2. The method according to claim 1, characterized in that The request message also includes a plurality of second text contents; The obtaining of a plurality of first text contents inputted by the first user in the text resource collection editing interface includes: Acquire a plurality of first text contents inputted by the first user in the first area of ​​the text resource editing interface; The method further comprises: A plurality of second text contents inputted by the first user in a second area of ​​the text resource editing interface is obtained, and the plurality of second text contents are used to generate a second text resource set.

3. The method according to claim 1, characterized in that The request message further includes a code corresponding to each first text content in the multiple first text contents and a set identifier of the first text resource set; After acquiring a plurality of first text contents input by a first user in the text resource collection editing interface and before sending a request message to the server, the method further includes: Generate a set identifier of the first text resource set, and generate a code corresponding to each first text content in the plurality of first text contents.

4. The method according to any one of claims 1 to 3, characterized in that: The request message also includes the name of the first text resource set.

5. The method according to any one of claims 1 to 4, characterized in that: After sending the request message to the server, the method further includes: receiving a response message sent by the server, wherein the response message includes a configuration file of the first text resource set; A configuration file storing the first text resource set.

6. The method according to claim 5, characterized in that The configuration file of the first text resource set includes a set identifier of the first text resource set, a plurality of first text contents of the first text resource set, and a code corresponding to each first text content.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: Receiving an update push message sent by the server, wherein the update push message includes at least one updated configuration file of the text resource set; Display the update push message; In response to the second operation, a configuration file of the at least one updated text resource collection is downloaded.

8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: Sending an update query request to the server, wherein the update query request includes a set identifier of at least one text resource set stored in the first electronic device; Receive at least one updated configuration file of the text resource set sent by the server.

9. The method according to any one of claims 1 to 8, characterized in that The method further comprises: In response to the third operation, displaying a plurality of text contents of the third text resource set; In response to the fourth operation, a first message is sent to the server via a satellite, wherein the first message includes a code corresponding to at least one target text content and a set identifier of the third text resource set; The at least one target text content is text content selected by the first user from a plurality of text contents in the third text resource set.

10. The method according to claim 9, characterized in that The third text resource set is a text resource set preconfigured by the system, or the third text resource set is a text resource set generated according to text content customized by a user.

11. A data processing method, characterized in that: Applied to a second electronic device, the method includes: Receiving a push message sent by a server, wherein the push message is used to inquire whether to receive a first text resource set, where the first text resource set is a text resource set triggered to be created by a first user; Display the push message; In response to the fifth operation, sending a confirmation message to the server, wherein the confirmation message is used to instruct the second electronic device to receive the first text resource set; Receive a configuration file of the first text resource set sent by the server.

12. The method according to claim 11, characterized in that The method further comprises: receiving at least one target text content and a set identifier of a third text resource set sent by the server, wherein the at least one target text content is obtained after the server decodes a first message sent by a first electronic device via a satellite, and the third text resource set is a text resource set used by the first electronic device when sending the first message; or receiving the first message forwarded by the server, wherein the first message includes a code corresponding to at least one target text and a set identifier of the third text resource set, and decoding the first message forwarded by the server according to the third text resource set to obtain the at least one target text content; The at least one target text is displayed.

13. The method according to claim 12, characterized in that The method further comprises: Determining, according to the set identifier of the third text resource set, a fourth text resource set associated with the third text resource set; The multiple text contents in the fourth text resource set are displayed on the reply interface.

14. A data processing method, characterized in that: Applied to a server, the method comprises: Receiving a request message sent by a first electronic device, the request message including a plurality of first text contents input by a first user in a text resource set editing interface, a user identifier of the first user, and a user identifier of a second user, the second user being a user selected by the first user to share a first text resource set, the first text resource set being a text resource set generated according to the plurality of first text contents; Generate a configuration file of the first text resource set according to the request message; A push message is sent to a second electronic device, where the push message is used to inquire whether to receive the first text resource set.

15. The method according to claim 14, characterized in that After sending the push message, the method further includes: receiving a confirmation message sent by the second electronic device, where the confirmation message is used to instruct the second electronic device to receive the first text resource set; Sending a configuration file of the first text resource set to the second electronic device.

16. The method according to claim 14 or 15, characterized in that The step of generating a configuration file of the first text resource set according to the request message includes: Generate a set identifier of the first text resource set, and generate a code corresponding to each first text content in the plurality of first text contents.

17. The method according to any one of claims 14 to 16, characterized in that: The request message also includes a plurality of second text contents input by the first user in the text resource set editing area; the push message is also used to inquire whether to receive the second text resource, the second text resource set being a text resource set generated according to the plurality of second text contents; The method further comprises: A configuration file of the second text resource set is generated according to the request message.

18. The method according to any one of claims 14 to 17, characterized in that: The configuration file of the first text resource set includes a set identifier of the first text resource set, the plurality of first text contents, and a code corresponding to each first text content.

19. The method according to any one of claims 14 to 18, characterized in that: The method further comprises: It is determined that a configuration file of at least one text resource set corresponding to the first electronic device has been updated, and an update push message is sent to the first electronic device, wherein the update push message includes the configuration file of at least one updated text resource set.

20. The method according to any one of claims 14 to 19, characterized in that: The method further comprises: Receiving an update query request sent by the first electronic device, wherein the update query request includes a set identifier of at least one text resource set stored in the first electronic device; Determining, according to the set identifier of at least one text resource set stored in the first electronic device, that a configuration file of at least one text resource set corresponding to the first electronic device has been updated; Send at least one updated configuration file of the text resource set to the first electronic device.

21. An electronic device, characterized in that: The method comprises at least one processor coupled to at least one memory, wherein the at least one processor is used to read a computer program stored in the at least one memory to execute the method according to any one of claims 1 to 10, or to execute the method according to any one of claims 11 to 13.

22. An electronic device, characterized in that: It comprises a plurality of functional modules; the plurality of functional modules interact with each other to implement the method as claimed in any one of claims 1 to 10, or execute the method as claimed in any one of claims 11 to 13.

23. A server, characterized in that: The system comprises at least one processor, wherein the at least one processor is coupled to at least one memory, and 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 14 to 20.

24. A server, characterized in that: It comprises a plurality of functional modules; the plurality of functional modules interact with each other to implement the method as claimed in any one of claims 14 to 20.

25. A computer program product comprising instructions, characterized in that When the computer program product is executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 10, or the method according to any one of claims 11 to 13, or the method according to any one of claims 14 to 20.

26. 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 described in any one of claims 1 to 10, or the method described in any one of claims 11 to 13, or the method described in any one of claims 14 to 20.

Citation Information

Patent Citations

  • Beidou emergency call method and system

    CN105682020A

  • Position reporting method and system in Beidou communication system and related device

    CN115706602A

  • Letter downloading query method and system in Beidou communication system and related device

    CN115842800A

  • Satellite communication message sending method and device and satellite communication equipment

    CN116017319A

  • System, Method, and Program Product for Engraving Personalized Messages on Satellites

    US20210027351A1