Satellite short message communication billing calibration method and device
By performing pre-deduction and network calibration in BeiDou short message communication, the problem of inaccurate billing caused by weak satellite signals has been solved, and real-time and accurate billing calibration has been achieved.
Patent Information
- Application Number
- CN202211040684.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2022-06-06
- Filing Date
- 2022-08-29
- Publication Date
- 2026-11-06
- Estimated Expiration
- 2042-08-29
AI Technical Summary
In BeiDou short message communication, electronic devices may fail to receive the transmission results due to weak satellite signals, leading to inaccurate billing.
After sending a satellite short message, the electronic device performs a pre-deduction operation and sends the remaining credit to the server for calibration when connected to the communication network. The billing parameters are then adjusted based on the calibration results.
It enables real-time billing and accurate billing for satellite short message communication, preventing erroneous deductions due to the inability to receive transmission results and improving billing accuracy.
Smart Images

Figure CN117241234B_ABST
Abstract
Description
[0001] Cross-references to related applications
[0002] This application claims priority to Chinese Patent Application No. 202210628039.2, filed on June 6, 2022, with the State Intellectual Property Office of the People's Republic of China, entitled "Billing and Calibration Method, Apparatus and System Based on BeiDou Short Message Communication", the entire contents of which are incorporated herein by reference. Technical Field
[0003] This application relates to the field of satellite communication technology, and in particular to a method and device for satellite short message communication billing calibration. Background Technology
[0004] The BeiDou Navigation Satellite System (BDS) is a global satellite navigation system independently developed and operated by China. BDS-based short message communication refers to the bidirectional information transmission via satellite signals between BeiDou ground terminals, BeiDou satellites, and the BeiDou ground monitoring center. Typically, BeiDou satellite communication uses BeiDou short messages as the basic unit of transmission. BeiDou short message communication is a functional feature inherent to BDS.
[0005] BeiDou short message communication can provide communication services in areas where ordinary mobile communication signals cannot reach (such as uninhabited areas, deserts, oceans, polar regions, etc.) or when communication base stations are damaged (such as during earthquakes, floods, typhoons, etc.). Electronic devices equipped with BeiDou short message modules can conduct emergency communication by sending BeiDou short messages. BeiDou short message communication can not only locate the electronic device, letting the user know their location, but also send information to the outside world, informing others of what has happened. Therefore, BeiDou short message communication plays a significant role in national defense, public welfare, and emergency rescue, and is also widely used in outdoor, fisheries, and disaster relief scenarios.
[0006] Since BeiDou short message communication is mostly used in scenarios with poor communication conditions, the satellite signal at the user's location may be weak. After sending a BeiDou short message, the electronic device may not be able to receive the transmission result returned by the BeiDou satellite. Therefore, the electronic device may easily have inaccurate billing when performing BeiDou short message communication billing. Summary of the Invention
[0007] This application provides a satellite short message communication billing calibration method and device to improve the accuracy of satellite short message communication billing.
[0008] Firstly, this application provides a satellite short message communication billing calibration method, which can be executed by an electronic device. The method includes: in response to a first operation, the electronic device sends a target satellite short message to a satellite; the electronic device performs a pre-deduction operation for the satellite short message service, updating a first parameter to a first value, where the first parameter is the remaining credit limit for the satellite short message service stored by the electronic device; when the electronic device is connected to a communication network, the electronic device sends the first value to a server; the electronic device receives a first calibration result sent by the server; the first calibration result indicates whether the first value is consistent with a second value, where the second value is the value of a second parameter, where the second parameter is the remaining credit limit for the satellite short message service stored by the server; and the electronic device calibrates the first parameter according to the first calibration result.
[0009] In the above method, after the electronic device sends a short message to the target satellite, it can perform a pre-deduction operation without waiting for the satellite to return the transmission result. This allows the electronic device to be billed promptly, preventing erroneous deductions in scenarios where the electronic device cannot receive the transmission result. Furthermore, when the electronic device connects to the communication network, it can promptly report a first value to the server to calibrate the remaining credit limit, further ensuring the accuracy of satellite short message communication billing.
[0010] In one possible design, after sending the target satellite short message to the satellite, the method further includes: saving the transmission record of the target satellite short message.
[0011] This design allows electronic devices to save records of satellite short message transmissions for later use when calibrating remaining credit limits.
[0012] In one possible design, after performing the pre-deduction operation for the satellite short message service and updating the first parameter to a first value, the method further includes: receiving a first transmission result sent by the satellite, wherein the first transmission result indicates that the target satellite short message transmission failed; canceling the pre-deduction operation and updating the first parameter again according to a preset value, wherein the preset value is the amount corresponding to the electronic device sending one satellite short message.
[0013] With this design, after receiving the first transmission result from the satellite, the electronic device can adjust the first parameter in a timely manner based on the first transmission result, thereby ensuring the accuracy of satellite short message communication billing.
[0014] In one possible design, calibrating the first parameter based on the first calibration result includes: determining that the first parameter is accurate when the first calibration result indicates that the first value and the second value are consistent; saving the time when the first calibration result is received as a target time, or updating the target time saved by the electronic device to the time when the first calibration result is received; wherein the target time is the time when the first parameter and the second parameter are consistent.
[0015] With this design, when the first calibration result indicates that the first value is accurate, the first calibration result means that the first value is consistent with the second value. The electronic device can then update the target time stored in the electronic device to the time when the first calibration result is received. This allows the electronic device to verify the billing operations after the target time when it performs the next credit limit calibration, thereby improving the efficiency of credit limit calibration.
[0016] In one possible design, calibrating the first parameter based on the first calibration result includes: when the first calibration result indicates that the first value and the second value are inconsistent, obtaining the message transmission record between the target time and the current time stored by the electronic device; wherein the target time is the time when the first parameter and the second parameter are consistent. Sending the message transmission record to the server; receiving a second calibration result sent by the server, the second calibration result being the remaining quota calibration result of the satellite short message service of the electronic device determined by the server based on the message transmission record and the message reception record stored by the server; and calibrating the first parameter based on the second calibration result.
[0017] With this design, when the first calibration result indicates that the first value and the second value are inconsistent, the electronic device can send the message transmission record to the server, so that the server can determine the remaining quota of the electronic device's satellite short message service based on the message transmission record saved by the electronic device and the message reception record saved by the server, thereby ensuring the accuracy of satellite short message communication billing calibration.
[0018] In one possible design, calibrating the first parameter according to the second calibration result includes: when the second calibration result includes the remaining quota of the satellite short message service of the electronic device after calibration, updating the first parameter according to the second calibration result, and updating the target time to the time when the second calibration result is received.
[0019] With this design, the electronic device can update the first parameter based on the remaining quota of the satellite short message service of the calibrated electronic device, thereby ensuring that the first parameter is accurate.
[0020] In one possible design, calibrating the first parameter based on the second calibration result includes: when the second calibration result indicates that the server cannot automatically calibrate, displaying a first prompt message, the first prompt message being used to prompt the user to apply for manual calibration of the remaining quota of the satellite short message service of the electronic device; in response to a second operation, sending a request message to the server, the request message being used to request the server to allocate the remaining quota of the satellite short message service of the electronic device for manual calibration; receiving the manual calibration result returned by the server, the manual calibration result including the remaining quota of the satellite short message service of the electronic device after calibration; updating the first parameter based on the manual calibration result, and updating the target time to the time when the second calibration result was received.
[0021] This design addresses the unique nature of satellite communication, where the server may be unable to complete the remaining credit calibration even based on message sending and receiving records. In such cases, the second calibration result indicates that the server cannot automatically calibrate. The electronic device can then prompt the user to trigger a manual calibration request and obtain the manual calibration result, thereby preventing erroneous deductions caused by automatic calibration anomalies.
[0022] In one possible design, the method further includes: when the first parameter is less than a preset threshold, displaying a second prompt message, the second prompt message being used to indicate to the user the remaining quota of the current satellite short message service.
[0023] This design prevents users from sending excessive satellite messages and wasting satellite resources.
[0024] Secondly, this application provides a satellite short message communication billing calibration method, which can be executed by a server. The method includes: receiving a first value sent by an electronic device, the first value being a value of a first parameter, the first parameter being the remaining quota of the electronic device's satellite short message service stored in the electronic device; determining a first calibration result based on the first value and a second value; the first calibration result indicating whether the first value and the second value are consistent, the second value being a value of a second parameter, the second parameter being the remaining quota of the electronic device's satellite short message service stored in the server; and sending the first calibration result to the electronic device.
[0025] In the above method, the server can determine the first calibration result based on the first value and the second value stored in the server, and send the first calibration result to the electronic device, thereby calibrating the remaining quota of the electronic device's satellite short message service and ensuring the accuracy of satellite short message communication billing.
[0026] In one possible design, the method further includes: receiving a target satellite short message sent by a satellite, the target satellite short message being sent by the electronic device to the satellite; and updating the second parameter according to a preset value, the preset value being the quota corresponding to the electronic device sending one satellite short message.
[0027] Through this design, the server can store a copy of the remaining quota (second parameter) corresponding to the satellite short message service of the electronic device, and update the second parameter in real time according to the satellite short message received by the server, thereby facilitating the server to calibrate the remaining quota corresponding to the satellite short message service of the electronic device.
[0028] In one possible design, after sending the first calibration result to the electronic device, the method further includes: receiving a message transmission record sent by the electronic device; the message transmission record is a message transmission record between a target time and the current time stored by the electronic device; wherein the target time is the time when the first parameter and the second parameter are consistent; obtaining a message reception record between the target time and the current time; determining a second calibration result based on the message transmission record and the message reception record, and sending the second calibration result to the electronic device.
[0029] In one possible design, determining the second calibration result based on the message transmission record and the message reception record includes: determining the remaining quota of the satellite short message service of the calibrated electronic device based on the message transmission record and the message reception record; and using the remaining quota of the satellite short message service of the calibrated electronic device as the second calibration result.
[0030] With this design, when the first calibration result indicates that the first value and the second value are inconsistent, the electronic device can send the message sending record to the server. The server can determine the remaining quota of the electronic device's satellite short message service based on the message sending record and the message receiving record, thereby ensuring the accuracy of satellite short message communication billing calibration.
[0031] In one possible design, after sending the second calibration result to the electronic device, the method further includes: receiving a request message sent by the electronic device, the request message being used to request the server to allocate the remaining quota for manually calibrating the satellite short message service of the electronic device; obtaining a manual calibration result, the manual calibration result including the remaining quota for the satellite short message service of the electronic device after calibration; and sending the manual calibration result to the electronic device.
[0032] This design addresses the unique nature of satellite communication, where the server may be unable to calibrate the remaining quota even based on message sending and receiving records. In such cases, the second calibration result indicates that the server cannot automatically calibrate. The server can allocate the remaining quota for manually calibrated satellite short message services of electronic devices based on requests sent by the devices, and obtain the manual calibration results, thereby preventing erroneous deductions caused by automatic calibration anomalies.
[0033] Thirdly, this application provides an electronic device comprising multiple functional modules; the multiple functional modules interact to implement the methods described in the first aspect and its various embodiments. The multiple functional modules can be implemented based on software, hardware, or a combination of both, and can be arbitrarily combined or divided based on specific implementations.
[0034] Fourthly, this application provides an electronic device including 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 executes the methods described in the first aspect and its various embodiments.
[0035] Fifthly, this application provides a server comprising multiple functional modules; the multiple functional modules interact to implement the methods described in the second aspect and its various embodiments. The multiple functional modules can be implemented based on software, hardware, or a combination of both, and can be arbitrarily combined or divided based on specific implementations.
[0036] In a sixth aspect, this application provides a server including at least one processor and at least one memory, wherein the at least one memory stores computer program instructions, and when the server is running, the at least one processor executes the methods described in the second aspect and its various embodiments.
[0037] In a seventh aspect, this application also provides a computer program that, when run on a computer, causes the computer to perform the methods shown in any of the above aspects and their respective embodiments.
[0038] Eighthly, this application also provides a computer-readable storage medium storing a computer program that, when executed by a computer, causes the computer to perform the methods shown in any of the above aspects and their embodiments.
[0039] Ninthly, this application also provides a chip for reading a computer program stored in a memory and executing the methods shown in any of the above aspects and their embodiments.
[0040] In a tenth aspect, this application also provides a chip system including a processor for supporting a computer device in implementing the methods shown in any of the foregoing aspects and their various embodiments. In one possible design, the chip system further includes a memory for storing programs and data necessary for the computer device. The chip system may be composed of chips or may include chips and other discrete devices. Attached Figure Description
[0041] Figure 1 A schematic diagram of the architecture of a satellite short message communication system provided in this application embodiment; Figure 2 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application; Figure 3 A software structure block diagram of an electronic device provided in an embodiment of this application; Figure 4 A flowchart illustrating a satellite short message communication billing method provided in this application embodiment; Figure 5 A schematic diagram of a satellite communication application interface provided in an embodiment of this application; Figure 6 This application provides a schematic diagram of an application interface for displaying a first prompt message, as shown in an embodiment of the present application. Figure 7 This is a schematic diagram of an application interface for a satellite communication application provided in an embodiment of this application; Figure 8 A schematic diagram of an interface for querying remaining credit limits provided in an embodiment of this application; Figure 9 This application provides a schematic diagram of an application interface for displaying a second prompt message, as shown in an embodiment of the present application. Figure 10 This application provides a schematic diagram of an application interface for displaying a third prompt message, as shown in an embodiment of the present application. Figure 11 This is a flowchart illustrating a satellite short message communication billing calibration method provided in an embodiment of this application. Detailed Implementation
[0042] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the embodiments of this application will be further described in detail below with reference to the accompanying drawings. In the description of the embodiments of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined with "first" and "second" may explicitly or implicitly include one or more of that feature.
[0043] It should be understood that in the embodiments of this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer 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, and c can be single or multiple.
[0044] The BeiDou Navigation Satellite System (BDS) is a global satellite navigation system independently developed and operated by China. BDS-based short message communication refers to the bidirectional information transmission between BeiDou ground terminals, BeiDou satellites, and BeiDou ground information processing centers via satellite signals. Typically, BeiDou satellite communication uses BeiDou short messages as the basic unit of transmission, and BeiDou short message communication is a feature inherent to BDS. 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 during earthquakes, floods, typhoons, etc.).
[0045] Electronic devices equipped with BDS modules can serve as BeiDou ground terminals. These devices can conduct emergency communications by sending BeiDou short messages to BeiDou satellites. BeiDou short message communication not only allows for location tracking, letting users know their location, but also enables the transmission of information to the outside world, informing others of events. Therefore, BeiDou short message communication plays a significant role in national defense, public welfare, and emergency rescue, and is also widely used in outdoor, fisheries, and disaster relief scenarios.
[0046] In the target's BeiDou short message billing method, after an electronic device sends a BeiDou short message to a BeiDou satellite, the BeiDou satellite returns a transmission result to the electronic device, which can be either successful or failed. The electronic device determines whether the BeiDou short message was successfully sent based on the received transmission result and then processes the billing. However, since BeiDou short message communication is mostly used in scenarios with poor communication conditions, the satellite signal at the user's location may be weak. After sending a BeiDou short message, the electronic device may not be able to receive the transmission result returned by the BeiDou satellite. Therefore, inaccurate billing may occur when the electronic device performs BeiDou short message communication billing.
[0047] In one implementation, when electronic devices send short messages for communication, the operator's system can bill these messages. Users send short messages via mobile terminals such as smartphones; the data is recorded as it passes through devices like switches and base stations, generating billing detail records (DDRs). The operator's system then aggregates this information for calculation, ultimately generating the data in the user's bill. However, this implementation can only be used within traditional operator networks and architectures, is highly dependent on network and operator infrastructure, and is not suitable for billing in BeiDou short message communication.
[0048] To address the aforementioned issues, this application provides a satellite short message communication billing method, system, and device. Figure 1 This is a schematic diagram of the architecture of a satellite short message communication system provided in an embodiment of this application. (Reference) Figure 1 The satellite short message communication system provided in this application includes an electronic device, a server, and a satellite. The server can be a cloud server provided by the electronic device manufacturer. The electronic device is equipped with a satellite communication module. When a communication network is available, the electronic device can communicate with the server through a general network (such as a wireless LAN or mobile communication network). When the general network is unavailable, the electronic device can communicate with the satellite, which can forward the satellite short messages sent by the electronic device to the server, thereby enabling satellite communication between the electronic device and the server.
[0049] In this embodiment, the satellite can be a BeiDou satellite, and the satellite communication module installed in the electronic device can be a BDS module. Therefore, the satellite short message communication system can be a BeiDou short message communication system. It is understood that the BeiDou satellite is only an example and not a limitation. In specific implementations, the satellite short message communication billing method provided in this embodiment can also be applied to other satellite short message communications, and this application does not limit it in this regard.
[0050] In the satellite short message communication billing method provided in this application embodiment, a user can trigger a first operation on an electronic device. In response to the first operation, the electronic device sends a target satellite short message to the satellite. After confirming that the target satellite short message has been sent, the electronic device performs a pre-deduction operation for the satellite short message service, updating the first parameter to a first value. The first parameter is the remaining credit limit for the satellite short message service stored by the electronic device. When the electronic device is connected to a communication network, it can send the first value to a server. The server can determine a first calibration result based on the first and second values; the first calibration result indicates whether the first and second values are consistent, and the second value is the value of the second parameter, which is the remaining credit limit for the satellite short message service stored by the server. The server sends the first calibration result to the electronic device. The electronic device can calibrate the first parameter based on the first calibration result.
[0051] The satellite short message communication billing method provided in this application allows electronic devices to perform pre-deduction operations after sending a target satellite short message to the satellite, without waiting for the satellite to return the transmission result. This enables timely billing and prevents erroneous deductions in scenarios where the electronic device cannot receive the transmission result. Furthermore, when connected to a communication network, the electronic device can promptly report the latest remaining quota for satellite short message services stored on the device to the server, thereby calibrating the remaining quota and further ensuring the accuracy of satellite short message communication billing.
[0052] The following describes an electronic device and embodiments for using such an electronic device. The electronic device in this application embodiment can be an electronic device equipped with a BDS module. This electronic device can be a tablet computer, mobile phone, in-vehicle device, augmented reality (AR) / virtual reality (VR) device, laptop computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), wearable device, etc. This application embodiment does not impose any limitations on the specific type of electronic device.
[0053] In some embodiments of this application, the electronic device may also be a portable terminal device that includes other functions such as a personal digital assistant and / or music player. Exemplary embodiments of the portable terminal device include, but are not limited to, portable terminal devices running iOS®, Android®, Microsoft®, Harmony®, or other operating systems. The aforementioned portable terminal device may also be other portable terminal devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in other embodiments of this application, the aforementioned electronic device may not be a portable terminal device, but rather a desktop computer with a touch-sensitive surface (e.g., a touch panel).
[0054] Figure 2 This is a schematic diagram of the structure of an electronic device 100 provided in an embodiment of this application. Figure 2As shown, 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, a satellite communication module 161, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0055] Processor 110 may include one or more processing units, such as an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors. The controller may serve as the central nervous system and command center of the electronic device 100. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution. Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or is reusing. If the processor 110 needs to reuse the instruction or data, it can directly retrieve it from the memory. This method can avoid the processor 110 repeatedly accessing instructions or data, reduce the waiting time of the processor 110, and improve the efficiency of the system.
[0056] USB interface 130 is a USB standard compliant interface, specifically a Mini USB interface, Micro USB interface, USB Type-C interface, etc. USB interface 130 can be used to connect a charger to charge electronic device 100, and can also be used for data transfer between electronic device 100 and peripheral devices. Charging management module 140 receives charging input from the charger. Power management module 141 connects battery 142, charging management module 140, and processor 110. Power management module 141 receives input from battery 142 and / or charging management module 140, providing power to processor 110, internal memory 121, external memory, display 194, camera 193, and wireless communication module 160, etc.
[0057] The wireless communication function of electronic device 100 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and 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 one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.
[0058] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.
[0059] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0060] Satellite communication module 161 can provide satellite short message communication capability for electronic device 100. Electronic device 100 can send short messages to the satellite and receive short messages sent by the satellite to the electronic device through satellite communication module 161, thereby realizing communication between electronic device 100 and satellite. For example, satellite communication module 161 can be a BDS module.
[0061] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling electronic device 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology 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 technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).
[0062] The display screen 194 is used to display the display interface of an application, such as the display page of an 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 (AMOLED), a flexible light-emitting diode (FLED), a Mini LED, 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 1.
[0063] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. 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, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.
[0064] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system and software code for at least one application program. The data storage area may store data generated during the use of electronic device 100 (e.g., captured images, recorded videos, etc.). Furthermore, internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
[0065] The external storage 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 through the external storage interface 120 to perform data storage functions. For example, images, videos, and other files can be saved on the external memory card.
[0066] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.
[0067] The sensor module 180 may include a pressure sensor 180A, an acceleration sensor 180B, a touch sensor 180C, etc.
[0068] The pressure sensor 180A is used to sense pressure signals and can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194.
[0069] Touch sensor 180C, also known as a "touch panel," can be located on display screen 194. The touch sensor 180C and display screen 194 together form a touchscreen, also known as a "touch screen." Touch sensor 180C detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180C may also be located on the surface of electronic device 100, in a different position than display screen 194.
[0070] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch buttons. Electronic device 100 can receive button inputs and generate key signal inputs related to user settings and function control. Motor 191 can generate vibration alerts. Motor 191 can be used for incoming call vibration alerts or for touch vibration feedback. For example, touch operations applied to different applications (such as taking photos, audio playback, etc.) can correspond to different vibration feedback effects. Touch vibration feedback effects can also be customized. Indicator 192 can be an indicator light, used to indicate charging status, battery level changes, or to indicate messages, missed calls, notifications, etc. SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to achieve contact and separation with electronic device 100.
[0071] Understandable Figure 2The components shown do not constitute a specific limitation on the electronic device 100. The electronic device may also include more or fewer components than shown, or combine some components, or separate some components, or have different component arrangements. Furthermore, Figure 2 The combination / connection relationships between the components can also be adjusted and modified.
[0072] Figure 3 This is a software structure block diagram of an electronic device provided in an embodiment of this application. For example... Figure 3 As shown, the software architecture of an 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. Layers communicate with each other through software interfaces. In some embodiments, the operating system is divided into four layers, from top to bottom: the application layer, the application framework layer (FWK), the runtime and system libraries, and the kernel layer.
[0073] The application layer can include a series of application packages. For example... Figure 3 As shown, the application layer may include a camera, settings, skin modules, a user interface (UI), and third-party applications. These third-party applications may include a gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS. In this embodiment, the application layer may include a target installation package of a target application that the electronic device requests to download from a server. The function files and layout files in this target installation package are adapted to the electronic device.
[0074] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer can include some predefined functions. For example... Figure 3 As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, and notification manager.
[0075] The window manager is used to manage windowed applications. It can obtain the screen size, determine if a status bar is present, lock the screen, and capture screenshots. The content provider stores and retrieves data, making this data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.
[0076] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.
[0077] A phone manager is used to provide communication functions for electronic devices. For example, it manages call status (including connection and disconnection).
[0078] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.
[0079] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.
[0080] The runtime includes the core libraries and the virtual machine. The runtime is responsible for the scheduling and management of the operating system.
[0081] The core library consists of two parts: one part contains the functionalities that the Java language needs to call, and the other part contains the core libraries of the operating system. The application layer and application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0082] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), image processing libraries, etc.
[0083] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.
[0084] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.
[0085] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0086] A 2D graphics engine is a graphics engine for 2D drawing.
[0087] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.
[0088] The hardware layer can include various types of sensors, such as accelerometers, gyroscopes, and touch sensors.
[0089] It should be noted that, Figure 2 and Figure 3 The structure shown is merely an example of an electronic device provided in this application embodiment and is not intended to limit the electronic device provided in this application embodiment in any way. In specific implementations, the electronic device may have more than Figure 2 or Figure 3 The structure shown may contain more or fewer devices or modules.
[0090] The following describes the satellite short message communication billing method provided in the embodiments of this application.
[0091] Figure 4 This is a flowchart illustrating a satellite short message communication billing method provided in an embodiment of this application. The method can be... Figure 1 The diagram shows the electronic equipment, server, and satellite implementation in a satellite short message communication system. (Reference) Figure 4 The method includes the following steps: S401: Electronic equipment enables satellite short message service.
[0092] In this application embodiment, the electronic device may have a satellite communication module, such as Figure 2 The satellite communication module 161 in the electronic device structure shown.
[0093] Optionally, a satellite communication application can be installed in the electronic device, which supports communication via satellite short messages. Users can choose to enable the satellite short message communication service within the electronic device's satellite communication application. Once the satellite short message service is enabled, when the electronic device cannot connect to a communication network (such as a wireless LAN or mobile communication network), it can communicate by sending satellite short messages to the satellite.
[0094] In addition, in this embodiment of the application, users can also enable the satellite short message service through the system settings interface. This application does not limit the way to trigger the activation of the satellite short message service.
[0095] S402: The electronic device sends a query request to the server.
[0096] Optionally, a query request can be used to request the server to query the remaining quota of the satellite short message service for an electronic device. The remaining quota is the amount of satellite short message service the electronic device can use to send satellite short messages. For example, assuming satellite short messages are billed per message, if the remaining quota for the satellite short message service corresponding to the electronic device is 10 messages, it means the electronic device can still send 10 more satellite short messages.
[0097] S403: The server sends the remaining quota of the satellite short message service of the electronic device to the electronic device.
[0098] It should be noted that electronic devices can send a query request to the server when launching the satellite communication application for the first time after installation, or when launching the satellite communication application for the first time after upgrading its version.
[0099] In this embodiment of the application, after receiving the remaining quota of the satellite short message service sent by the server, the electronic device can save the remaining quota of the satellite short message service as a first parameter, so that the electronic device can maintain a copy of the remaining quota of the satellite short message service locally, which is convenient for the electronic device to record the deduction status of the satellite short message service.
[0100] S404: In response to the first operation, the electronic device sends a short message to the target satellite.
[0101] Optionally, the first operation can be a click operation on the send control in the satellite communication application interface. For example, Figure 5 This is a schematic diagram of a satellite communication application interface provided in an embodiment of this application. (Reference) Figure 5 Users can enter the message content in the input box within the satellite communication application interface. Users can also check the "Carry Location" checkbox to include the electronic device's current geographical location in the target satellite message. Clicking the send control triggers the electronic device to send a short message to the target satellite.
[0102] In some embodiments of this application, the electronic device can display user-triggered messages in a satellite communication application, which the user can view at any time. For example... Figure 6 This is a schematic diagram of the application interface for a satellite communication application provided in an embodiment of this application. (Reference) Figure 6 The electronic device displays the content of the satellite short message triggered by the user in the application interface, allowing the user to view the content of the sent satellite short message at any time. For example... Figure 6 As shown, users can view satellite short messages sent to "Li Si" and satellite short messages received from "Li Si" on this interface.
[0103] S405: The electronic device performs a pre-deduction operation for the satellite short message service and updates the first parameter to the first value.
[0104] The first parameter is the remaining quota of satellite short message service stored in the electronic device.
[0105] In this embodiment, the environment in which the electronic device communicates using satellite short message communication may be complex. For example, the electronic device may not be able to connect to wireless LANs, mobile communication networks, or other communication networks in such an environment. Furthermore, if the satellite signal is weak after the electronic device sends a target satellite short message, it may not be able to receive the transmission result corresponding to the target satellite short message returned by the satellite. Therefore, in this embodiment, the electronic device performs a pre-deduction operation after determining that a target satellite short message has been sent, and updates the first parameter to a first value. Optionally, the electronic device can determine whether a target satellite short message has been sent based on the transmission result of the protocol layer of the satellite communication application.
[0106] For example, suppose the first parameter of an electronic device before sending a short message to the target satellite is 10 lines. After confirming that a short message has been sent, if the electronic device determines that the first parameter is 9 lines, it will update the first parameter to 9 lines. In this way, the electronic device can perform timely billing for satellite short message communication, preventing erroneous deductions in scenarios where the electronic device cannot receive the transmission result.
[0107] Optionally, after the electronic device sends a short message to the target satellite, it can save the transmission record of the short message locally for use when calibrating the remaining quota later.
[0108] In one possible scenario, after the electronic device performs a pre-deduction operation and updates the first parameter to a first value, it receives a first transmission result from the satellite. This first transmission result indicates whether the short message to the target satellite was successfully transmitted. If the first transmission result indicates successful transmission, the electronic device can determine that the pre-deduction operation was accurate and does not need to adjust the first parameter. If the first transmission result indicates failed transmission, the electronic device can cancel the pre-deduction operation and update the first parameter according to a preset value, which is the amount corresponding to one short message sent by the electronic device. For example, assuming the first parameter is 9 messages and the preset value is 1, the electronic device can update the first parameter to 10 messages after canceling the pre-deduction operation. In this way, the electronic device can adjust the first parameter in a timely manner after receiving the first transmission result from the satellite, thereby ensuring the accuracy of satellite short message communication billing.
[0109] S406: The satellite sends a short message to the server about the target satellite.
[0110] S407: The server updates the second parameter according to the preset value.
[0111] The second parameter is the remaining quota of satellite short message service for electronic devices stored on the server.
[0112] In this embodiment, when the electronic device cannot connect to the communication network, it communicates with the server via satellite. Both the electronic device and the server can save a copy of the remaining quota for the electronic device's satellite short message service. For example, the electronic device can save a first parameter, and the server can include a second parameter. As described in S405, the electronic device can update the first parameter to a first value after determining that a target satellite short message has been sent; the server can update the second parameter according to a preset value after receiving the target satellite short message. For example, assuming the server saves 10 second parameters with a preset value of 1, after receiving the target satellite short message, the server can update the second parameter to 9. In this way, even in the absence of a network, the electronic device and the server can each save a copy of the remaining quota for the electronic device's satellite short message service, facilitating subsequent calibration and ensuring the accuracy of billing for satellite short message communication.
[0113] Optionally, the server can store the reception records of the target satellite short messages in the server for use during subsequent quota calibration.
[0114] S408: When an electronic device is connected to a communication network, it sends the first value to the server.
[0115] In one alternative implementation, when the electronic device is connected to a communication network, such as a wireless local area network or a mobile communication network, it can send a first value to a server to calibrate the remaining quota of the electronic device's satellite short message service.
[0116] S409: The server determines the first calibration result based on the first value and the second value.
[0117] The second value is the value of the second parameter.
[0118] In one alternative approach, the server can determine whether the first value and the second value are consistent, and then determine the first calibration result, which can be used to indicate whether the first value and the second value are consistent or inconsistent.
[0119] S410: The server sends the first calibration result to the electronic device.
[0120] S411: The electronic device determines whether the first value and the second value are consistent based on the first calibration result. If yes, proceed to S412; otherwise, proceed to S413.
[0121] S412: The electronic device uses the time when the first calibration result is received as the target time.
[0122] When the first calibration result indicates that the first value matches the second value, the electronic device can determine that the first parameter is accurate. The electronic device does not need to adjust the first parameter, and at this point, it can use the time when it received the first calibration result as the target time. The target time is the time when the electronic device most recently determined that the first and second parameters were consistent. Each time the electronic device determines that the first and second parameters are consistent, it can update the target time. This allows the electronic device to verify billing operations after the target time during the next credit limit calibration, improving calibration efficiency. Optionally, the electronic device can mark message transmission records stored in the electronic device before the target time as reconciled.
[0123] S413: The electronic device retrieves the message transmission records between the target time and the current time stored in the electronic device.
[0124] When the first calibration result indicates a discrepancy between the first and second values, it suggests an error in either the first or second parameter. The electronic device can obtain the target time, which is the time saved after the last remaining credit limit calibration. The electronic device can also obtain message transmission records between the target time and the current time. Message transmission records within this time period are in an unreconciled state. The electronic device can send these message transmission records to the server so that the server can calibrate the remaining credit limit based on the message transmission records.
[0125] S414: The electronic device sends the message transmission record to the server.
[0126] S415: The server obtains the message reception records between the target time and the current time, and determines the second calibration result based on the message sending records and message receiving records.
[0127] In one optional implementation, the server can save a message reception record for each message received from a satellite. After receiving a message transmission record from an electronic device, the server can retrieve the message reception record between the target time and the current time saved on the server. The server can then compare the message transmission record and the message reception record to determine the second calibration result. The second calibration result may include the remaining quota of the satellite short message service for the calibrated electronic device. It should be noted that due to the special nature of satellite communication, the server may not be able to complete the remaining quota calibration based on the message transmission record and the message reception record. In this case, the second calibration result may indicate that the server cannot automatically calibrate.
[0128] S416: The server sends the second calibration result to the electronic device.
[0129] S417: The electronic device determines whether the second calibration result contains the remaining quota of the satellite short message service corresponding to the calibrated electronic device. If yes, proceed to S418; otherwise, proceed to S419.
[0130] S418: The electronic device updates the first parameter based on the second calibration result and uses the time when the second calibration result is received as the target time.
[0131] When the second calibration result includes the remaining quota for the satellite short message service of the calibrated electronic device, the electronic device can update the first parameter based on the second calibration result, such as updating the first parameter to the value of the calibrated remaining quota in the second calibration result. The electronic device can also use the time of receiving the second calibration result as the target time and mark message transmission records before the time of receiving the second calibration result as reconciled.
[0132] S419: The electronic device displays the first prompt message.
[0133] When the second calibration result indicates that the server cannot automatically calibrate, the electronic device can display a first prompt message in the satellite communication application. The first prompt message is used to prompt the user to apply for manual calibration of the remaining quota of the satellite short message service.
[0134] For example, Figure 7 This is a schematic diagram of an application interface for displaying a first prompt message, provided as an embodiment of this application. (Reference) Figure 7 Electronic devices can display the first prompt message in the application interface of satellite communication applications, such as... Figure 7 The first message displayed is "Current credit limit information is abnormal, please click to calibrate".
[0135] S420: In response to the second operation, the electronic device sends a request message to the server.
[0136] For example, the second action triggered by the user could be an operation on the quota calibration control within the application interface of a satellite communication application. (See reference) Figure 5 The second operation is for the user to click the "Credit Limit Calibration" control.
[0137] In response to the second operation, the electronic device sends a request message to the server, which requests the server to assign manual calibration.
[0138] S421: The server retrieves the results of manual calibration.
[0139] After receiving a request message from an electronic device, the server can assign manual calibration and obtain the manual calibration results.
[0140] S422: The server sends the manual calibration results to the electronic device.
[0141] S423: The electronic device updates the first parameter based on the manual calibration result and uses the time when the manual calibration result is received as the target time.
[0142] In one optional implementation, the electronic device can update the first parameter based on the manual calibration result, such as updating the first parameter to the value of the remaining quota of the electronic device's satellite short message service in the manual calibration result. The electronic device can also use the time of receiving the manual calibration result as the target time and mark message transmission records prior to the time of receiving the manual calibration result as reconciled.
[0143] It should be noted that, in another implementation of this application embodiment, steps S408-S410 can also send the second value to the electronic device, which then determines whether the first value and the second value are consistent. Similarly, steps S413-S417 can also send the target time to the server, and the server sends the message reception record between the target time and the current time stored in the server to the electronic device. The electronic device then determines the second calibration result based on the received message reception record and the message transmission record between the target time and the current time stored in the electronic device. In specific implementations, the above method can be compared with... Figure 4 The embodiments shown can be combined flexibly, and this application does not limit them.
[0144] In some scenarios described in this application, electronic devices also support querying the remaining quota for the electronic device's satellite short message service, such as... Figure 8 This is a schematic diagram of an interface for querying remaining credit limits, provided as an embodiment of this application. (Reference) Figure 8 The electronic device can display the number of satellite short messages it has sent and the remaining quota in the application interface.
[0145] Optionally, when the electronic device determines that the first parameter is less than the preset limit, the electronic device may also display a second prompt message, which is used to remind the user of the remaining quota for the current satellite short message service. For example, Figure 9 This is a schematic diagram of an application interface for displaying a second prompt message, provided as an embodiment of this application. (Reference) Figure 9 Electronic devices can display a second prompt message in the application interface of satellite communication applications, such as... Figure 9 The second notification message reads, "Your current credit limit is 3 credits remaining. Please use it with caution."
[0146] Optionally, when the first parameter is 0, the remaining quota for the satellite short message service is insufficient, and the electronic device cannot send messages. If the user triggers the first operation at this time, the electronic device can also display a third prompt message to inform the user that message transmission failed. For example... Figure 10 This is a schematic diagram of an application interface for displaying a third prompt message, provided as an embodiment of this application. (Reference) Figure 10 Electronic devices can display third-party prompt messages in the application interface of satellite communication applications, such as... Figure 10 The third notification message is "Message sending failed. Quota exhausted, unable to send satellite messages." This method prevents users from sending more satellite short messages than allowed, thus wasting satellite resources.
[0147] Based on the above embodiments, this application also provides a satellite short message communication billing calibration method, which can be performed by... Figure 1 The electronic devices, satellites, and servers in the system shown are performing operations. Figure 11 A flowchart illustrating satellite short message communication billing calibration is provided for an embodiment of this application. (Reference) Figure 11 The method includes the following steps: S1101: The electronic device responds to the first operation by sending a short message to the target satellite.
[0148] S1102: The electronic device performs a pre-deduction operation for the satellite short message service and updates the first parameter to the first value.
[0149] The first parameter is the remaining quota of satellite short message service stored in the electronic device.
[0150] S1103: When an electronic device is connected to a communication network, it sends the first value to the server.
[0151] S1104: The server determines the first calibration result based on the first value and the second value.
[0152] The first calibration result indicates whether the first value and the second value are consistent. The second value is the value of the second parameter, which is the remaining quota of the satellite short message service of the electronic device stored on the server.
[0153] S1105: The server sends the first calibration result to the electronic device.
[0154] S1106: The electronic device calibrates the first parameter based on the first calibration result.
[0155] In one optional implementation, after the electronic device sends the target satellite short message in S1101, the electronic device saves the transmission record of the target satellite short message.
[0156] In one optional implementation, after the electronic device updates the first parameter to the first value in S1102, the electronic device receives the first transmission result sent by the satellite, and the first transmission result indicates that the short message transmission of the target satellite failed; the electronic device cancels the pre-deduction operation and updates the first parameter again according to the preset value, which is the amount corresponding to the electronic device sending one satellite short message.
[0157] In one optional implementation, in S1106, when the electronic device calibrates the first parameter according to the first calibration result, if the first calibration result indicates that the first value and the second value are consistent, the first parameter is determined to be accurate; the time when the first calibration result is received is saved as the target time, or the target time saved by the electronic device is updated to the time when the first calibration result is received; wherein, the target time is the time when the electronic device most recently determined that the first parameter and the second parameter are consistent.
[0158] In another optional implementation, in S1106, when the electronic device calibrates the first parameter according to the first calibration result, if the first calibration result indicates that the first value and the second value are inconsistent, the device acquires the message transmission record between the target time and the current time stored by the electronic device; wherein, the target time is the time when the remaining quota of the satellite short message service stored by the electronic device is consistent with the remaining quota of the satellite short message service of the electronic device stored by the server. The electronic device sends the message transmission record to the server. The electronic device receives the second calibration result sent by the server, the second calibration result being the calibration result of the remaining quota of the satellite short message service of the electronic device determined by the server based on the message transmission record and the message reception record stored by the server. The electronic device calibrates the first parameter according to the second calibration result.
[0159] In one optional implementation, when the electronic device calibrates the first parameter according to the second calibration result, if the second calibration result includes the remaining quota of the satellite short message service of the calibrated electronic device, the first parameter is updated according to the second calibration result, and the target time is updated to the time when the second calibration result is received.
[0160] In one optional implementation, when the electronic device calibrates the first parameter based on the second calibration result, if the second calibration result indicates that the server cannot automatically calibrate, a first prompt message is displayed. This first prompt message prompts the user to apply for the remaining quota of the electronic device's satellite short message service for manual calibration. In response to the second operation, the electronic device sends a request message to the server, requesting the server to allocate the remaining quota of the electronic device's satellite short message service for manual calibration. The electronic device receives the manual calibration result returned by the server, which includes the remaining quota of the electronic device's satellite short message service after calibration. The electronic device updates the first parameter based on the manual calibration result and updates the target time to the time when the second calibration result was received.
[0161] In one optional implementation, when the first parameter is less than a preset threshold, the electronic device displays a second prompt message, which is used to remind the user of the remaining quota of the current satellite short message service.
[0162] It should be noted that this application Figure 11 The satellite short message communication billing calibration method shown can be referred to in the above embodiments of this application for specific implementation, and repeated parts will not be described again.
[0163] Based on the above embodiments, this application also provides an electronic device, including 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 methods described in the embodiments of this application. For example, executing... Figure 4 The electronic device in the illustrated embodiment executes S401-S402, S404-S405, S411-S414, S417-S420, and S423; for example, it executes... Figure 11 The electronic device in the illustrated embodiment performs S1101-S1103 and S1106.
[0164] Based on the above embodiments, this application also provides an electronic device, which includes multiple functional modules; the multiple functional modules interact to realize the functions performed by the electronic device in the methods described in the embodiments of this application. For example, performing... Figure 4 The electronic device in the illustrated embodiment executes S401-S402, S404-S405, S411-S414, S417-S420, and S423; for example, it executes... Figure 11 The illustrated embodiment shows the electronic device executing S1101-S1103 and S1106. The plurality of functional modules can be implemented based on software, hardware, or a combination of both, and these modules can be arbitrarily combined or divided based on specific implementations.
[0165] Based on the above embodiments, this application also provides a server, which includes 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 the various methods described in the embodiments of this application. For example, ... Figure 4 The server in the illustrated embodiment executes S403, S407, S409-S410, S415-S416, and S421-S422; for example, it executes... Figure 11 The server executes S1104-S1105 in the illustrated embodiment.
[0166] Based on the above embodiments, this application also provides a server, including multiple functional modules; the multiple functional modules interact to implement the functions performed by the server in the methods described in the embodiments of this application. For example, [the following is an example of the server's functionality]. Figure 4 The server in the illustrated embodiment executes S403, S407, S409-S410, S415-S416, and S421-S422; for example, it executes... Figure 11 The server executes S1104-S1105 in the illustrated embodiment. The multiple functional modules can be implemented based on software, hardware, or a combination of both, and these modules can be arbitrarily combined or divided based on specific implementations.
[0167] Based on the above embodiments, this application also provides a computer program that, when run on a computer, causes the computer to execute the methods described in the embodiments of this application.
[0168] Based on the above embodiments, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a computer, causes the computer to perform the methods described in the embodiments of this application.
[0169] Based on the above embodiments, this application also provides a chip for reading computer programs stored in a memory to implement the methods described in the embodiments of this application.
[0170] Based on the above embodiments, this application provides a chip system including a processor for supporting a computer device in implementing the methods described in the embodiments of this application. In one possible design, the chip system further includes a memory for storing necessary programs and data of the computer device. This chip system may be composed of chips or may include chips and other discrete devices.
[0171] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0172] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0173] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0174] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0175] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the scope of protection of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A method for calibrating billing in satellite short message communication, characterized in that, Performed by an electronic device, the method includes: In response to the first operation, a short message to the target satellite is sent; Perform a pre-deduction operation for the satellite short message service, update the first parameter to a first value, where the first parameter is the remaining quota of the satellite short message service stored in the electronic device; When the electronic device is connected to the communication network, it sends the first value to the server; The system receives a first calibration result sent by the server; the first calibration result is used to indicate whether the first value is consistent with the second value, the second value is the value of the second parameter, and the second parameter is the remaining quota of the satellite short message service of the electronic device stored by the server after being updated according to the received target satellite short message; The first parameter is calibrated based on the first calibration result.
2. The method as described in claim 1, characterized in that, After sending the short message to the target satellite, the method further includes: Save the transmission record of the short message to the target satellite.
3. The method as described in claim 1 or 2, characterized in that, The calibration of the first parameter based on the first calibration result includes: When the first calibration result indicates that the first value and the second value are consistent, the first parameter is determined to be accurate; the time when the first calibration result is received is saved as the target time, or the target time saved by the electronic device is updated to the time when the first calibration result is received; wherein, the target time is the time when the first parameter and the second parameter are consistent.
4. The method as described in claim 1 or 2, characterized in that, The calibration of the first parameter based on the first calibration result includes: When the first calibration result indicates that the first value and the second value are inconsistent, the message transmission record between the target time and the current time stored in the electronic device is obtained; wherein, the target time is the time when the first parameter and the second parameter are consistent; Send the message transmission record to the server; The system receives a second calibration result sent by the server, wherein the second calibration result is the remaining quota calibration result of the satellite short message service of the electronic device determined by the server based on the message sending record and the message receiving record stored by the server; The first parameter is calibrated based on the second calibration result.
5. The method as described in claim 4, characterized in that, The calibration of the first parameter based on the second calibration result includes: When the second calibration result includes the remaining quota of the satellite short message service of the calibrated electronic device, the first parameter is updated according to the second calibration result, and the target time is updated to the time when the second calibration result is received.
6. The method as described in claim 4, characterized in that, The calibration of the first parameter based on the second calibration result includes: When the second calibration result indicates that the server cannot automatically calibrate, a first prompt message is displayed. The first prompt message is used to prompt the user to apply for manual calibration of the remaining quota of the satellite short message service of the electronic device. In response to the second operation, a request message is sent to the server, the request message being used to request the server to allocate the remaining quota of the satellite short message service for manually calibrating the electronic device; Receive the manual calibration result returned by the server, the manual calibration result including the remaining quota of the satellite short message service of the electronic device after calibration; The first parameter is updated based on the manual calibration result, and the target time is updated to the time when the second calibration result is received.
7. The method according to any one of claims 1-2 and 5-6, characterized in that, After updating the first parameter to the first value in the pre-deduction operation for the satellite short message service, the method further includes: Receive the first transmission result sent by the satellite, and the first transmission result indicates that the target satellite failed to send the short message; Cancel the pre-deduction operation and update the first parameter again according to the preset value, which is the amount corresponding to the electronic device sending one satellite short message.
8. The method according to any one of claims 1-2 and 5-6, characterized in that, The method further includes: When the first parameter is less than a preset threshold, a second prompt message is displayed. The second prompt message is used to remind the user of the remaining quota of the current satellite short message service.
9. A method for calibrating billing in satellite short message communication, characterized in that, The method, executed by the server, includes: The electronic device receives a first value, which is the value of a first parameter, and the first parameter is the remaining quota of the satellite short message service stored in the electronic device. A first calibration result is determined based on the first value and the second value; the first calibration result is used to indicate whether the first value and the second value are consistent, the second value is the value of the second parameter, and the second parameter is the remaining quota of the satellite short message service of the electronic device stored in the server and updated according to the received satellite short message; The first calibration result is sent to the electronic device.
10. The method as described in claim 9, characterized in that, The method further includes: Receive a target satellite short message sent by a satellite, wherein the target satellite short message is sent by the electronic device to the satellite; The second parameter is updated according to a preset value, which is the amount corresponding to the electronic device sending one satellite short message.
11. The method as described in claim 9 or 10, characterized in that, After sending the first calibration result to the electronic device, the method further includes: Receive message transmission records sent by the electronic device; the message transmission records are message transmission records between the target time and the current time stored by the electronic device; wherein, the target time is the time when the first parameter and the second parameter are consistent; Obtain the message reception records between the target time and the current time; The second calibration result is determined based on the message sending record and the message receiving record, and the second calibration result is sent to the electronic device.
12. The method as described in claim 11, characterized in that, The step of determining the second calibration result based on the message sending record and the message receiving record includes: The remaining quota of the satellite short message service of the calibrated electronic device is determined based on the message sending record and the message receiving record. The remaining quota of the satellite short message service of the calibrated electronic device is used as the second calibration result.
13. The method as described in claim 11, characterized in that, After sending the second calibration result to the electronic device, the method further includes: The system receives a request message sent by the electronic device, the request message being used to request the server to allocate the remaining quota for the satellite short message service for manual calibration of the electronic device; Obtain the manual calibration result, which includes the remaining quota of the satellite short message service of the electronic device after calibration; The manual calibration results are sent to the electronic device.
14. An electronic device, characterized in that, It includes at least one processor coupled to at least one memory, the at least one processor being configured to read a computer program stored in the at least one memory to perform the method as described in any one of claims 1-8.
15. An electronic device, characterized in that, It includes multiple functional modules; the multiple functional modules interact with each other to implement the method as described in any one of claims 1-8.
16. A server, characterized in that, It includes at least one processor coupled to at least one memory, the at least one processor being configured to read a computer program stored in the at least one memory to perform the method as described in any one of claims 9-13.
17. A server, characterized in that, It includes multiple functional modules; the multiple functional modules interact with each other to implement the method as described in any one of claims 9-13.
18. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to perform the method as described in any one of claims 1-8, or the method as described in any one of claims 9-13.
19. A computer program product containing instructions, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the method as described in any one of claims 1-8, or the method as described in any one of claims 9-13.
Citation Information
Patent Citations
Method and device for charging non-contact charge and vehicle comprising device
CN102118070A
Method and system for femto cell self-timing and self-locating
CN102474370A
