Method and electronic device for receiving and sending red packets
Patent Information
- Application Number
- CN202111559958.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-20
- Publication Date
- 2026-10-16
- Estimated Expiration
- 2041-12-20
AI Technical Summary
但收发红包的信息多出现在文字消息中,收发红包的形式比较单一,用户体验较差
Smart Images

Figure CN116302222B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic devices, and more specifically, to a method for sending and receiving red envelopes and an electronic device. Background Technology
[0002] Sending and receiving red envelopes is becoming increasingly common and frequently used in users' lives. Existing technologies have innovated various red envelope types to enhance the user experience and increase the fun of sending and receiving red envelopes. However, red envelope messages mostly appear in text messages, making the format relatively monotonous and resulting in a poor user experience. Summary of the Invention This application provides a method for sending and receiving red envelopes and an electronic device. The method displays information about sending and receiving red envelopes on the call interface, enabling users to send and receive red envelopes instantly during a call, thus enhancing the user experience.
[0003] In a first aspect, a method for sending and receiving red envelopes is provided. The method is applied to an electronic device and includes: displaying a first interface, which is a call interface; in response to receiving information about a first red envelope, displaying a first prompt message on the first interface, which prompts a user to claim the first red envelope; and in response to user input on the first prompt message, displaying details of claiming the first red envelope on the first interface.
[0004] It should be understood that the information in the first red envelope can be a red envelope message sent by the server to the electronic device. The information in the first red envelope includes one or more of the following: the account information logged into the sending device (e.g., a Huawei account), the amount of the red envelope, the number of red envelopes divided into, and the red envelope greeting. The electronic device can receive information from one or more first red envelopes.
[0005] Optionally, the electronic device can also respond to the information of sending the first red envelope, that is, to enable the red envelope sending operation on the call interface of the electronic device, and display a prompt message on the call interface to prompt the user to send the red envelope.
[0006] In this embodiment of the application, users can send and receive red envelopes on the current call interface during a call. The red envelope information appearing on the call interface makes it more convenient for users to send and receive red envelopes, which helps to improve the user's experience of sending and receiving red envelopes during a call.
[0007] In conjunction with the first aspect, in some implementations of the first aspect, the first prompt information includes a red envelope receiving window, which includes a red envelope opening control; wherein, in response to user input on the first prompt information, displaying receiving details of the first red envelope on the first interface includes: in response to user input on the red envelope opening control, displaying receiving details of the first red envelope on the first interface.
[0008] In this embodiment, the first prompt message can be displayed on the call interface in the form of a red envelope receiving window. The user can click the open red envelope control on the red envelope receiving window to receive the red envelope, making it convenient for the user to receive the red envelope efficiently on the call interface.
[0009] In conjunction with the first aspect, in some implementations of the first aspect, before displaying the first prompt information on the first interface, the method further includes: in response to receiving information about the first red envelope, displaying a red envelope icon on the first interface; and in response to user input on the red envelope icon, displaying a red envelope claiming window on the first interface.
[0010] In this embodiment, after receiving the first red envelope information, the electronic device can first display a red envelope icon on the call interface. This red envelope icon is a minimized version of the red envelope claiming window, which can be located in the lower right corner of the call interface to avoid obscuring the user's call interface. When the user needs to claim the red envelope, they can click the red envelope icon to restore the red envelope window and claim the red envelope according to their needs.
[0011] In conjunction with the first aspect, in some implementations of the first aspect, displaying a red envelope icon on the first interface in response to receiving information about the first red envelope includes: displaying a red envelope claiming window on the first interface in response to receiving information about the first red envelope, the red envelope claiming window including a close window control; and displaying the red envelope icon on the first interface in response to user input on the close window control.
[0012] In this embodiment, after the electronic device receives the information of the first red envelope, it can first display a red envelope claiming window on the call interface. Optionally, the user can click the close window control on the claiming window or click a blank area on the call interface to obtain the red envelope icon. That is, the user can minimize the red envelope claiming window as needed to avoid obstructing the call interface.
[0013] In conjunction with the first aspect, in some implementations of the first aspect, the first prompt information includes a bullet screen; wherein, in response to user input on the first prompt information, displaying the details of receiving the first red envelope on the first interface includes: in response to user input on the bullet screen, displaying the details of receiving the first red envelope on the first interface.
[0014] It should be understood that the bullet comments include those indicating that a red envelope can be claimed, as well as those detailing the claiming process. Bullet comments indicating that a red envelope can be claimed may scroll across the call interface at regular intervals, disappearing once all red envelopes have been claimed. Bullet comments detailing the claiming process may be displayed once, or only once, or more times.
[0015] In this embodiment, the first prompt information can be displayed on the call interface in the form of a pop-up message. Users can click on the pop-up message to receive the red envelope, making it convenient for users to efficiently receive the red envelope on the call interface.
[0016] In conjunction with the first aspect, in some implementations of the first aspect, the first interface includes a minimize control, and the method further includes: in response to receiving information about a second red envelope, displaying a second prompt message on the first interface, the second prompt message being used to prompt the user to claim the second red envelope; in response to user input on the minimize control, displaying a floating window of the first interface and a third prompt message on a second interface, the second interface being a text message interface, the third prompt message being used to prompt the user to claim the second red envelope; and in response to user input on the second prompt message or the third prompt message, displaying details of claiming the second red envelope on the second interface and the floating window.
[0017] Optionally, the user can first click the minimize control to minimize the first interface to a floating window. After the electronic device receives the information of the second red envelope, the notification information of the second red envelope will be displayed in both the second interface and the floating window of the first interface. This notification information can prompt the user to claim the red envelope on the second interface or the floating window.
[0018] In this embodiment, after the user minimizes the first interface, corresponding prompts can be displayed simultaneously on the first and second interfaces. The user can receive red envelopes on either the first or second interface, and the details of receiving the red envelopes can also be displayed simultaneously on the first and second interfaces, which helps to improve the user's experience of sending and receiving red envelopes.
[0019] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes: in response to receiving the information of the first red envelope, the electronic device sends a fourth prompt message to a device associated with the electronic device, the fourth prompt message being used to prompt the electronic device that it has received the information of the red envelope.
[0020] In this embodiment, the device associated with the electronic device can be a device logged into the same account as the electronic device. When the electronic device receives the information of the red envelope, it forwards the information of the red envelope to the associated device, so that the associated device can also display the prompt information. This adds an electronic device that displays the prompt information, and users can choose the electronic device to receive the red envelope according to their specific needs, making it more convenient for users to receive the red envelope.
[0021] In conjunction with the first aspect, in some implementations of the first aspect, the details of receiving the first red envelope include the details of receiving the first red envelope by the first account, where the first account is the account logged in on the electronic device.
[0022] In this embodiment of the application, when a user receives a red envelope on an electronic device logged in with their account (first account), the details of receiving the red envelope will be directly displayed on the call interface of the electronic device, making it convenient for the user to obtain the details of receiving the red envelope on their own account on the call interface.
[0023] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes: displaying a fifth prompt message on the first interface, the fifth prompt message being used to prompt the second account with details of receiving the first red envelope, the second account being an account logged in on another electronic device to receive the first red envelope.
[0024] In this embodiment, a first account user sends a red envelope to a second account user. After the second account user receives the red envelope on their electronic device, a fifth notification message will be displayed on the first account user's electronic device, indicating that the red envelope has been received by the second account user, thus enhancing the user's experience in sending and receiving red envelopes.
[0025] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes: displaying a sixth prompt message on the first interface, the sixth prompt message being used to prompt information about the account that received the highest amount of the first red envelope.
[0026] In this embodiment of the application, the sixth prompt information may be a special effect icon such as "Lucky King" to indicate the account that received the highest amount of red envelopes. This sixth prompt information is not only displayed on the electronic device of the first account, but also on the electronic devices of other accounts that are in a call with the first account, thereby enhancing the fun of sending and receiving red envelopes for users.
[0027] In conjunction with the first aspect, in some implementations of the first aspect, the details of receiving the first red envelope include information about the amount received from the first red envelope.
[0028] In this embodiment of the application, the details of receiving the red envelope include the amount received, so that users can obtain the amount received in the red envelope directly on the call interface.
[0029] In a second aspect, an electronic device is provided, comprising: one or more processors; one or more memories; the one or more memories storing one or more computer programs, the one or more computer programs including instructions that, when executed by the one or more processors, cause the electronic device to perform the following steps: displaying a first interface, the first interface being a call interface; in response to receiving information about a first red envelope, displaying first prompt information on the first interface, the first prompt information being used to prompt a user to claim the first red envelope; and in response to user input regarding the first prompt information, displaying details of claiming the first red envelope on the first interface.
[0030] In conjunction with the second aspect, in some implementations of the second aspect, the first prompt information includes a red envelope receiving window, which includes a red envelope opening control; wherein, when the instruction is executed by the one or more processors, the electronic device performs the following steps: in response to user input to the red envelope opening control, displaying the receiving details of the first red envelope on the first interface.
[0031] In conjunction with the second aspect, in some implementations of the second aspect, when the instruction is executed by the one or more processors, the electronic device performs the following steps: before displaying the red envelope icon on the first interface, in response to receiving information about the first red envelope, displaying the red envelope icon on the first interface; in response to user input on the red envelope icon, displaying the red envelope claiming window on the first interface.
[0032] In conjunction with the second aspect, in some implementations of the second aspect, in response to receiving information about the first red envelope, a red envelope icon is displayed on the first interface. When the instruction is executed by the one or more processors, the electronic device performs the following steps: in response to receiving information about the first red envelope, a red envelope claiming window is displayed on the first interface, the red envelope claiming window including a close window control; in response to user input on the close window control, the red envelope icon is displayed on the first interface.
[0033] In conjunction with the second aspect, in some implementations of the second aspect, the first prompt information includes a bullet screen; wherein, when the instruction is executed by the one or more processors, the electronic device performs the following steps: in response to user input on the bullet screen, displaying details of the receipt of the first red envelope on the first interface.
[0034] In conjunction with the second aspect, in some implementations of the second aspect, the first interface includes a minimize control. When the instruction is executed by one or more processors, the electronic device performs the following steps: in response to receiving information about a second red envelope, displaying a second prompt message on the first interface to prompt the user to claim the second red envelope; in response to user input on the minimize control, displaying a floating window of the first interface and a third prompt message on the second interface, the second interface being a text message interface, the third prompt message prompting the user to claim the second red envelope; and in response to user input on the second or third prompt message, displaying details of claiming the second red envelope on the second interface and the floating window.
[0035] In conjunction with the second aspect, in some implementations of the second aspect, when the instruction is executed by the one or more processors, the electronic device performs the following steps: in response to receiving the information of the first red envelope, sending a fourth prompt message to a device associated with the electronic device, the fourth prompt message being used to indicate to the electronic device that the information of the red envelope has been received.
[0036] In conjunction with the second aspect, in some implementations of the second aspect, the details of receiving the first red envelope include the details of receiving the first red envelope by the first account, where the first account is the account logged in on the electronic device.
[0037] In conjunction with the second aspect, in some implementations of the second aspect, when the instruction is executed by the one or more processors, the electronic device performs the following steps: displaying a fifth prompt message on the first interface, the fifth prompt message being used to prompt the second account for details of receiving the first red envelope, the second account being an account logged in on another electronic device that received the first red envelope.
[0038] In conjunction with the second aspect, in some implementations of the second aspect, when the instruction is executed by the one or more processors, the electronic device performs the following steps: displaying a sixth prompt message on the first interface, the sixth prompt message being used to prompt information about the account that received the highest amount of the first red envelope.
[0039] In conjunction with the second aspect, in some implementations of the second aspect, the details of receiving the first red envelope include information about the amount received from the first red envelope.
[0040] Thirdly, a computer-readable storage medium is provided, including computer instructions that, when executed on an electronic device, cause the electronic device to perform the method of sending and receiving red envelopes described in the first aspect and any possible implementation of the first aspect.
[0041] Fourthly, a computer program product containing instructions is provided, which, when run on a computer, causes the computer to perform the method of sending and receiving red envelopes described in the first aspect and any possible implementation of the first aspect. Attached Figure Description
[0042] Figure 1 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0043] Figure 2 This is a schematic diagram of the system architecture provided in the embodiments of this application.
[0044] Figure 3 This is a schematic flowchart illustrating a method for sending and receiving red envelopes provided in an embodiment of this application.
[0045] Figure 4 This is a set of GUIs provided in the embodiments of this application.
[0046] Figure 5 This is another set of GUIs provided in the embodiments of this application.
[0047] Figure 6 This is another set of GUIs provided in the embodiments of this application.
[0048] Figure 7 This is another set of GUIs provided in the embodiments of this application.
[0049] Figure 8 This is another set of GUIs provided in the embodiments of this application.
[0050] Figure 9 This is another set of GUIs provided in the embodiments of this application.
[0051] Figure 10 This is another system architecture diagram provided in the embodiments of this application.
[0052] Figure 11 This is a schematic flowchart illustrating another method for sending and receiving red envelopes provided in the embodiments of this application.
[0053] Figure 12 This is a schematic flowchart illustrating another method for sending and receiving red envelopes provided in the embodiments of this application.
[0054] Figure 13 This is another set of GUIs provided in the embodiments of this application.
[0055] Figure 14 This is another set of GUIs provided in the embodiments of this application.
[0056] Figure 15 This is another set of GUIs provided in the embodiments of this application.
[0057] Figure 16 This is another set of GUIs provided in the embodiments of this application.
[0058] Figure 17 This is a schematic flowchart illustrating another method for sending and receiving red envelopes provided in the embodiments of this application. Detailed Implementation
[0059] The terminology used in the following embodiments is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to also include expressions such as “one or more,” unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of this application, “at least one” and “one or more” refer to one, two, or more than two. The term “and / or” is used to describe the relationship between related objects, indicating that three relationships may exist; for example, A and / or B can indicate: 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.
[0060] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0061] The following describes an electronic device, a user interface for such an electronic device, and embodiments for using such an electronic device. In some embodiments, the electronic device may be a portable electronic device that also includes other functions such as a personal digital assistant and / or music player, such as a mobile phone, tablet computer, wearable electronic device with wireless communication capabilities (such as a smartwatch), etc. Exemplary embodiments of the portable electronic device include, but are not limited to, portable electronic devices running iOS®, Android®, Microsoft®, or other operating systems. The aforementioned portable electronic device may also be other portable electronic devices, such as a laptop computer, etc. It should also be understood that in some other embodiments, the aforementioned electronic device may not be a portable electronic device, but a desktop computer.
[0062] For example, Figure 1A schematic diagram of the structure of electronic device 100 is shown. 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, antenna 1, 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, 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. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0063] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0064] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0065] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction opcode and timing signals to complete the control of fetching and executing instructions.
[0066] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0067] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0068] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
[0069] 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.
[0070] 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.
[0071] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 170A, receiver 170B, etc.) or displays images or videos through the display screen 194. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.
[0072] 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.
[0073] 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).
[0074] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0075] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may 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 miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.
[0076] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0077] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization of image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0078] 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.
[0079] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when electronic device 100 selects a frequency, the DSP can perform Fourier transforms on the frequency energy.
[0080] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. Thus, electronic device 100 can play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0081] An NPU (Neural Processing Unit) is a computational processor for neural networks (NNs). By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.
[0082] 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 100. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.
[0083] 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, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of electronic device 100 (such as audio data, phonebook, 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.
[0084] 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.
[0085] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110.
[0086] The speaker 170A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or make hands-free calls through the speaker 170A.
[0087] The receiver 170B, also known as the "earpiece," is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a telephone call or voice message, the receiver 170B can be brought close to the ear to listen to the voice.
[0088] Microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 170C, inputting the sound signal into microphone 170C. Electronic device 100 may have at least one microphone 170C. In some embodiments, electronic device 100 may have two microphones 170C, which, in addition to collecting sound signals, can also perform noise reduction. In other embodiments, electronic device 100 may also have three, four, or more microphones 170C, which can collect sound signals, reduce noise, identify the sound source, and perform directional recording, etc.
[0089] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be disposed on display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to pressure sensor 180A, the capacitance between the electrodes changes. Electronic device 100 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 194, electronic device 100 detects the intensity of the touch operation based on pressure sensor 180A. Electronic device 100 can also calculate the touch position based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands. For example, when a touch operation with a touch operation intensity greater than or equal to a first pressure threshold is applied to the alarm clock application icon, a command to create a new alarm clock is executed.
[0090] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can utilize the collected fingerprint characteristics to achieve fingerprint unlocking, app access lock, fingerprint photography, fingerprint call answering, etc. For example, when the phone detects a user's touch operation on the lock screen, the phone can collect the user's fingerprint information through the fingerprint sensor 180H and match the collected fingerprint information with preset fingerprint information in the phone. If the match is successful, the phone can transition from the lock screen to the unlock screen.
[0091] Touch sensor 180K, also known as a "touch panel," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touch screen." Touch sensor 180K 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 180K may also be located on the surface of electronic device 100, in a different position than display screen 194.
[0092] The function of sending and receiving red envelopes on electronic devices is becoming increasingly common in users' lives, with high frequency of use, often appearing in scenarios of social communication between users, and involving connections between people. For example, when a user's electronic device receives a red envelope message, the user can perform the operation of receiving the red envelope within the text message. However, with social development, communication between users is not limited to text messages; users are increasingly using audio and video call functions on electronic devices. When an electronic device is in an audio or video call interface, the user needs to exit or minimize the current audio or video call interface to perform the operation of sending and receiving red envelopes in the text message interface. Current technology cannot allow users to directly perform the operation of sending and receiving red envelopes within the audio or video call interface. In addition, in order to increase the fun of sending and receiving red envelopes, various innovative forms of red envelopes have emerged, such as: lucky draw red envelopes, exclusive red envelopes, and red envelopes with specific amounts for holidays. However, existing innovative red envelope gameplay focuses more on connections between people, while this application can also provide a cross-device red envelope sending and receiving method that focuses on between devices, providing a red envelope experience across multiple devices.
[0093] Figure 2 The diagram illustrates a system architecture for the technical solution provided in this application embodiment. The system includes a first electronic device 200 and a server 210. The first electronic device 200 may include a transceiver module 220, a communication module 230, a processing module 240, and a display module 250.
[0094] It should be understood that Figure 2The system architecture shown does not limit the number or type of the first electronic device. The system architecture may include one or more first electronic devices that can independently complete the sending and receiving of red envelopes, such as mobile phones, tablets, smart screens or smartwatches.
[0095] The system architecture also includes a server 210. The transceiver module 220 and the call module 230 in the first electronic device 200 can establish a network connection with the server 210. The transceiver module 220 and the call module 230 can send event messages to the processing module 240. The processing module 240 processes the event messages and finally outputs them to the display module 250 for display.
[0096] Figure 3 This illustration shows a schematic flowchart of a method 300 for sending and receiving red envelopes according to an embodiment of this application. Figure 3 As shown, the method for sending and receiving red envelopes mainly includes the following steps: S310, the first electronic device receives and / or sends red envelope messages, and correspondingly, the server sends and / or receives red envelope messages.
[0097] When the first electronic device receives a red envelope message sent by the server, the red envelope message may optionally include one or more of the following: the account information logged in by the sending device (e.g., a Huawei account), the amount of the red envelope, the number of red envelopes to be divided into, and a red envelope blessing message.
[0098] It should be understood that when the first electronic device is powered on or when the program starts, its transceiver module and call module establish a network connection or message subscription relationship with the server. Simultaneously, the processing module subscribes to red envelope message events from the transceiver module and to call start or end events from the call module. Upon receiving a red envelope message pushed by the server, the transceiver module notifies the processing module.
[0099] When the first electronic device sends a red envelope message to the server, the red envelope message may optionally include one or more of the following: the account information logged in by the first electronic device, the amount sent, the number of red envelopes to be divided into, and the red envelope blessing message.
[0100] It should be understood that when the first electronic device is powered on or when the program starts, its transceiver module and call module establish a network connection or message subscription relationship with the server. Simultaneously, the processing module subscribes to red envelope message events from the transceiver module and to call start or end events from the call module, and the transceiver module sends red envelope messages to the server.
[0101] S320, if the first electronic device displays a call interface (or: when the first electronic device displays a call interface), in response to receiving and / or sending red envelope messages, the interface for receiving and / or sending red envelope messages is displayed through the call interface.
[0102] For example, if the first electronic device displays a call interface, when the first electronic device receives a red envelope message, the interface for receiving the red envelope message is displayed on the call interface.
[0103] It should be understood that after the processing module of the first electronic device receives the red envelope message, it notifies the display module to display the red envelope message receiving interface; at the same time, the processing module determines, based on the call status monitored and saved or queried in real time from the call module, whether the first electronic device is currently displaying a call interface, and then responds to the red envelope message by displaying the red envelope message receiving interface on that call interface.
[0104] For example, if the first electronic device displays a call interface, when the first electronic device sends a red envelope message, the red envelope message sending interface is displayed on the call interface.
[0105] It should be understood that the transceiver module of the first electronic device sends a red envelope message to the server, and notifies the display module to display the red envelope message sending interface; at the same time, the processing module determines, based on the call status monitored and saved by the call module or queried in real time, whether the first electronic device is currently displaying a call interface, and responds to the red envelope message by displaying the red envelope message sending interface on the call interface.
[0106] For example, when the first electronic device receives a red envelope message, the red envelope message receiving interface is a red envelope receiving interface, which can be displayed as a large red envelope or red envelope pop-up messages. When the first electronic device receives multiple red envelope messages, the red envelope message interface is multiple red envelope receiving interfaces, which can be displayed as a red envelope list or multiple red envelope pop-up messages.
[0107] Based on the technical solution in method 300, users can directly send and receive red envelopes on the call interface, and can open multiple red envelope receiving interfaces at once. Multiple red envelopes can also be temporarily stored in the same location, making it convenient for users to send and receive red envelopes while making a video call on the current device. The task of sending and receiving red envelopes can be completed without closing or minimizing the video interface, which can realize the timely sending and receiving of red envelopes and enhance the fun of sending and receiving red envelopes.
[0108] It should be understood that the social applications provided in the embodiments of this application include, but are not limited to, applications capable of implementing social functions, office applications, and game applications with video call scenarios. The red envelope message in the embodiments of this application can be a message used to prompt the user to send or receive a red envelope; optionally, the red envelope message can be a red envelope message in a text message interface (such as...). Figure 5 (b) The red envelope message 503 can also be a red envelope window (such as...) Figure 4 (f) The red envelope claiming window 409, as shown Figure 13 (b) The red envelope claiming window 1301 can also be a red envelope icon (such as...). Figure 6 (b) Icon 602), or it could be a bullet screen (such as... Figure 14 (e) (the barrage 1401), this application embodiment does not limit this.
[0109] Figure 4 A set of graphical user interfaces (GUIs) provided in embodiments of this application are illustrated. Taking a mobile phone as an example, embodiments of this application are further described.
[0110] like Figure 4 Image (a) shows the daughter's phone screen, where the home screen includes icons for multiple applications (Apps), including a clock, calendar, gallery, notes, and a social media app. In response to the user's interaction with the social media app icon 401, the phone can display... Figure 4 The GUI shown in (b) is shown in the image.
[0111] like Figure 4 As shown in (b), in response to receiving a user's click on icon 401, the phone can display the social application's interface. The bottom of this interface includes four controls: call, messages, space, and contacts. Currently, the display shows the message control's interface. This interface displays one-on-one chat message records and group chat message records. In response to the user's action on group chat message records 402, the phone can display... Figure 4 The GUI shown in (c).
[0112] like Figure 4As shown in (c), in response to the user's operation on the group chat message record 402, the mobile phone can display the chat interface of the "Family" group chat. The bottom of this interface displays multiple controls, namely photo, camera, video call, location, file, voice input, favorites, and red envelope controls, each corresponding to multiple controls. Controls are visual graphical interface elements presented to the user; they are software components contained within an application, controlling the data processed by the application and interactive operations related to that data. Users can interact with controls through touch, swipe, and other operations to read and edit relevant information about the application. Generally, controls can include visual interface elements such as icons, buttons, menus, tabs, text boxes, and status bars. In response to the user's operation on different controls (e.g., touch or click operations), different interfaces can be displayed on the screen of the electronic device. In response to the user's operation on the video call control 403, the mobile phone can display, as shown in the image below. Figure 4 The GUI shown in (d) is shown in the middle.
[0113] like Figure 4 As shown in (d), in response to the user's operation on the video call control 403, the phone can display the video call interface for the "Family" group chat. This interface indicates that the father, mother, and daughter are having a video call in the "Family" group chat. The bottom of this interface includes four controls: switch camera, hang up, more, and a red envelope control. In response to the user's operation on the red envelope control 404, the phone can display as shown in (d). Figure 4 The GUI shown in (e) is shown in the image.
[0114] like Figure 4 As shown in (e), in response to the user's operation on the red envelope sending control 404, the mobile phone can display the red envelope control's display interface. This display interface shows a red envelope sending window 405, for example, a daughter sending a lucky draw red envelope. This interface includes an input box 406 for the total amount, an input box 407 for the number of red envelopes, and a control 408 for putting money into the red envelope. The red envelope can be sent in response to the user's operation on the money-putting red envelope control 408. When the father's mobile phone receives the red envelope message, the father's mobile phone displays as shown... Figure 4 The GUI shown in (f).
[0115] like Figure 4 As shown in (f), in response to the phone receiving a red envelope message, the father's phone displays a red envelope claiming window 409 on the video call interface. For example, the father displays a red envelope sent by his daughter on the video call interface. In response to the user's operation on the red envelope control 410, the phone can display as follows: Figure 4 The GUI shown in (g) is shown in the image.
[0116] like Figure 4As shown in (f), in response to the user's operation on the red envelope control 410, the mobile phone can display details of the red envelope being claimed. For example, the father's mobile phone can display that he has claimed a lucky red envelope sent by his daughter, with a claim amount of 40.37 yuan.
[0117] In one implementation, the red envelope message remains on top of the video call interface unless the user closes it (i.e., it's at the very top) and is not replaced by new messages. In another implementation, if the user doesn't claim the red envelope after a preset time, it can be displayed in a corner (or edge) of the video call interface, for example, minimized to a smaller size. Figure 6 The red envelope icon 602 shown in (b) is used to avoid the red envelope message from obscuring the video call interface during the video call.
[0118] Based on the solutions in the above embodiments, when users are making video calls, users can send or receive red envelopes on the video call interface. In other words, users can send and receive red envelopes without having to switch to the text message interface, which makes it convenient for users to send and receive red envelopes during video calls.
[0119] Figure 5 Another set of GUIs provided in the embodiments of this application is shown.
[0120] like Figure 5 As shown in (a), in response to receiving a red envelope message, the father's phone displays a red envelope claiming window on the video call interface, which includes a video call interface minimize control 501. In response to the user's operation on the video call interface minimize control 501, the phone can display as follows: Figure 5 The GUI shown in (b) is shown in the image.
[0121] like Figure 5 As shown in (b), in response to the user's operation of the minimize control 501 on the video call interface, the video call interface on the father's phone is minimized. At this time, the phone can display a floating window 502 of the video call interface on the group chat interface, and a red envelope message icon 503 will also be displayed in the chat interface. In response to the user's operation on icon 503, the phone can display as follows: Figure 5 The GUI shown in (c) is shown in the image.
[0122] like Figure 5 As shown in (c), in response to the user's operation on icon 503, it is displayed below icon 503 that the father has received the daughter's red envelope, and at the same time, it is also displayed in window 502 that the daughter's red envelope has been received, and the specific amount received is 40.37 yuan.
[0123] Based on the solution in the above embodiments, even after the user minimizes the video call interface, the operation of receiving red envelopes can still be performed in the text message interface, and the red envelope messages can be synchronized between the text message interface and the video call interface.
[0124] Figure 6 Another set of GUIs provided in the embodiments of this application is shown.
[0125] like Figure 6 As shown in (a), in response to receiving a red envelope message, the father's phone displays a red envelope claiming window on the video call interface, which includes a close window control 601. In response to the user's operation on the close window control 601, the phone can display as shown in [image missing]. Figure 6 The GUI shown in (b) is shown in the image. Optionally, the phone can also display something like this by the user clicking on a blank area of the display interface. Figure 6 The GUI shown in (b) is shown in the image.
[0126] like Figure 6 As shown in (b), in response to the user's operation on the close window control 601, the red envelope receiving window 409 is minimized to a red envelope icon 602. Icon 602 can display the number of red envelopes received; for example, when a father receives a red envelope from his daughter, icon 602 can display "×1". In response to the user's operation on icon 602, the phone can display as follows: Figure 6 The GUI is shown in (c). It should be understood that when a user receives multiple red envelopes, icon 602 can contain multiple red envelopes, and correspondingly, icon 602 can display "×N". In one implementation, the number N displayed on icon 602 represents the total number of red envelopes the user has received in this video chat. In another implementation, the number N displayed on icon 602 represents the number of red envelopes the user has received but not opened in this video chat. It can be understood that the number N displayed on icon 602 can be updated in real time based on the user's actions on the red envelope messages.
[0127] like Figure 6 As shown in (c), in response to the user's operation on icon 602, the red envelope receiving window can be displayed again on the video call interface.
[0128] Based on the solution in the above embodiments, the red envelope message received by the user in the video call interface can be minimized, and the user can choose to receive the red envelope when needed. Minimizing the red envelope message when not needing to receive it avoids the red envelope message obscuring the video call interface during the video call.
[0129] Figure 7 Another set of GUIs provided in the embodiments of this application is shown.
[0130] like Figure 7 As shown in (a), after the daughter sends a red envelope, the mother also sends a red envelope on her phone. In response to the user clicking the red envelope control 701, the phone can display the following... Figure 7 The GUI shown in (b) is shown in the image.
[0131] like Figure 7 As shown in (b), in response to the user clicking the red envelope control 701, the mobile phone can display the red envelope control's display interface. This display interface shows a red envelope sending window 702, for example, a mother sending a lucky draw red envelope. This interface includes an input box 703 for the total amount, an input box 704 for the number of red envelopes, and a control 705 for putting money into the red envelope. The user can send a red envelope in response to their action of putting money into the red envelope control 705. When the father's mobile phone receives another red envelope message, the father's mobile phone displays as shown... Figure 7 The GUI shown in (c).
[0132] like Figure 7 As shown in (c), in response to a mobile phone receiving a red envelope message, for example, the father's phone displays two red envelope claiming windows on the video call interface: a portion of the red envelope claiming window 409 sent by the daughter and the entire red envelope claiming window 706 sent by the mother. When the phone receives multiple red envelopes, there may be red envelope claiming windows that cannot be fully displayed, such as... Figure 7 (c) Only a portion of the red envelope claiming window sent by the daughter is displayed. Optionally, multiple red envelope claiming windows can be arranged horizontally or vertically; this embodiment does not limit this. For example, when the father receives red envelopes sent by his daughter and mother, the red envelope claiming window 409 sent by the daughter and the red envelope claiming window 706 sent by the mother are arranged horizontally. In one implementation, red envelope messages received during the current video chat can be displayed sequentially. For example, the user can browse and switch the red envelope claiming windows displayed in the current video call interface by swiping left and right. Optionally, when multiple red envelope messages are received, the latest received red envelope message can be displayed first, or, unopened red envelope messages can be displayed first. In another implementation, red envelope messages received during the current video chat that have not been opened can be displayed sequentially, and opened red envelope messages may not be displayed in the arrangement interface. Optionally, when there are multiple unopened red envelope messages, the latest received red envelope message can be displayed first. For example, Figure 7 In (c), neither the red envelope sent by the daughter nor the red envelope sent by the mother has been opened. The father recently received the red envelope sent by the mother, so the red envelope claim window 706 sent by the mother is displayed first. In response to the user's operation on the red envelope opening control 707, the phone can display as follows: Figure 7 The GUI shown in (d) is shown in the image.
[0133] like Figure 7As shown in (d), in response to the user's operation on the red envelope control 707, the phone can display details of the red envelope being claimed. For example, Dad's phone shows that he claimed a lucky draw red envelope sent by Mom, with a claimed amount of 40.37 yuan. In response to the user's operation of swiping the red envelope claim window to the right, the phone can display details such as... Figure 7 The GUI shown in (e) is shown in the image.
[0134] like Figure 7 As shown in (e), optionally, in response to the user's action of swiping the red envelope claim window to the right, the mobile phone can fully display the red envelope claim window 409 sent by the daughter. In response to the user's action of opening the red envelope control 410, the mobile phone can display as shown in (e). Figure 7 The GUI shown in (f) is shown in the image.
[0135] like Figure 7 As shown in (f), in response to the user's operation on the red envelope control 410, the mobile phone can display details of the red envelope being claimed. For example, the father's mobile phone shows that he has claimed a lucky red envelope sent by his daughter, with a claim amount of 50.12 yuan.
[0136] Based on the solution in the above embodiments, when a user receives multiple red envelopes, they can flexibly select which red envelope to open on the video call interface.
[0137] It should be understood that, such as Figure 6 and Figure 7 As shown, when a user receives one or more red envelopes, the red envelopes can be displayed as follows: Figure 6 (b) shows the red envelope icon 602. In one possible implementation, when one or more red envelope messages are received, the video call interface directly displays the red envelope icon 602, avoiding the red envelope messages obscuring the video call interface during the video call. In another possible implementation, when one or more red envelope messages are received, the video call interface displays one or more red envelope claiming windows (such as...). Figure 4 (f) The red envelope receiving window 409 minimizes to a red envelope icon 602 in response to the user's upward swipe operation on the red envelope receiving window, or the user's rightward swipe operation on the left-side red envelope receiving window, or the user's operation on the close window control 601, or the user's operation on a blank area, or the user's failure to receive a red envelope within a preset time. Optionally, in response to the user's operation on the red envelope icon 602, the red envelope receiving window is displayed on the video interface. That is, when the user clicks the icon 602 again, one or more red envelope messages can be expanded and displayed again. Similar to the above embodiment, the one or more red envelope messages can be all red envelope messages received in this chat, or red envelope messages received in this chat but not opened.
[0138] Figure 8 Another set of GUIs provided in the embodiments of this application is shown. The method for sending and receiving red envelopes in this application can also be applied to smart screens, and the embodiments of this application are further described below. It should be understood that the operations performed by the user on the smart screen can be achieved through the remote control of the smart screen, or through the operation of controls on the smart screen (such as touch operation or click operation).
[0139] like Figure 8 As shown in (a), the father's phone can display the interface of a social networking application. The bottom of this interface includes four control options: call, messages, social media, and contacts. Currently, the display shows the interface corresponding to the messages control. In response to the user's operation on the call control 801, the phone can display as follows: Figure 8 The GUI shown in (b) is shown in the image.
[0140] like Figure 8 As shown in (b), in response to the user's operation of the call control 801, the phone displays a call interface, which can display recent calls with the daughter and the smart screen. In response to the user's operation of the smart screen control 802, the smart screen can display as follows: Figure 8 The GUI shown in (c).
[0141] like Figure 8 As shown in (c), in response to a user's operation on my smart screen control 802, the smart screen can display a video call message. In response to a user's operation on the video answer control 803, the smart screen can display as shown in (c). Figure 8 As shown in (d), the mobile phone can display the GUI as follows: Figure 8 The GUI shown in (e) indicates that the father is having a video call with his son in front of the smart screen using his mobile phone.
[0142] like Figure 8 As shown in (d), when the cursor on the smart screen is located at the video call control 803, in response to the user clicking the OK button on the remote control, the smart screen displays the video call interface. The bottom of this interface includes four controls: turn off camera, hang up, mute, and a red envelope control. In response to the user's operation on the red envelope control 804, the smart screen can display as follows: Figure 8 The GUI shown in (f).
[0143] like Figure 8As shown in (f), in response to the user's operation on the red envelope control 804, the smart screen can display the red envelope control's display interface. This display interface shows a red envelope sending window 805, for example, when the son sends a red envelope. This interface includes an input box 806 for the total amount, an input box 807 for the number of red envelopes, and a control 808 for putting money into the red envelope. In response to the user's operation on the control 808 for putting money into the red envelope, the red envelope can be sent. When the father's phone receives the red envelope message, the father's phone displays as shown... Figure 8 The GUI shown in (g).
[0144] like Figure 8 As shown in (g), in response to receiving a red envelope message, the father's phone displays a red envelope claiming window on the video call interface. In response to the user's operation on the red envelope control 809, the phone can display as shown... Figure 8 The GUI shown in (h) is shown in the image.
[0145] like Figure 8 As shown in (h), in response to the user's operation on control 809, the mobile phone can display details of the red envelope being claimed. For example, the father's mobile phone can display that he has claimed a red envelope sent by his son, with a claim amount of 40.37 yuan.
[0146] It should be understood that this embodiment can also be applied to scenarios with three or more user group chats, where users can send red envelopes on the smart screen and also receive the red envelopes they have sent on the smart screen.
[0147] Figure 9 Another set of GUIs provided in the embodiments of this application is shown.
[0148] like Figure 9 As shown in (a), the father is making a video call with his son in front of the smart screen using his mobile phone. The phone displays the video call interface. In response to the user's operation on the red envelope control 901, the phone can display as shown... Figure 9 The GUI shown in (b) is shown in the image.
[0149] like Figure 9 As shown in (b), in response to the user's operation on the red envelope control 901, the mobile phone displays a red envelope sending window 902 on the video call interface. For example, when Dad sends a holiday red envelope, this interface includes an input box 903 for the total amount, an input box 904 for the number of red envelopes, and a control 905 for putting money into the red envelope. The red envelope can be sent in response to the user's operation on the control 905 for putting money into the red envelope. When the son's smart screen receives the red envelope message, the smart screen displays as shown... Figure 9 The GUI shown in (c).
[0150] like Figure 9As shown in (c), in response to the smart screen receiving a red envelope message, the son's smart screen displays a red envelope claiming window 906 on the video call interface. For example, the red envelope sent by the father is displayed on the smart screen's video call interface. In response to the user's operation on the red envelope claiming window 906 to open the red envelope control 907, the smart screen can display as follows: Figure 9 The GUI shown in (d) is shown in the image.
[0151] like Figure 9 As shown in (d), in response to the user's operation on the red envelope control 907, the smart screen can display details of the red envelope being claimed. For example, the smart screen displays that a holiday red envelope sent by Dad was claimed, with a claim amount of 40.37 yuan.
[0152] It should be understood that this embodiment can also be applied to scenarios with three or more user group chats. Users can receive multiple red envelopes on the smart screen. Users can select the red envelope to open on the smart screen using a remote control. They can also close the red envelope interface, minimize (or collapse) the red envelope message, and display the red envelope icon 602.
[0153] Understandably, the operations performed on red envelope messages on the smart screen can refer to the operations performed on red envelope messages on the mobile phone in the previous embodiment, and will not be repeated here.
[0154] It should be understood that the above embodiments illustrate the operation of sending and receiving red envelopes under a system architecture, which includes electronic devices such as mobile phones, tablets, smart screens or smartwatches that can independently complete the processing of sending and receiving red envelopes. Based on the solutions in the above embodiments, electronic devices can send and receive red envelopes on the video call interface. During a video call, users can receive and / or send red envelope messages through the video call interface, enabling users to efficiently perform operations related to red envelopes.
[0155] Figure 10 This diagram illustrates a system architecture for the technical solution provided in this application. The system includes a first electronic device 200, a server 210, a second electronic device 1000, and a server 1010. In addition to the structure described above, the first electronic device 200 also includes a communication module 260. The second electronic device 1000 may include a transceiver module 1020, a call module 1030, a processing module 1040, a display module 1050, and a communication module 1060. It should be understood that the second electronic device 1000 is associated with the first electronic device 200, and the second electronic device associated with the first electronic device logs into the same account as the first electronic device.
[0156] It should be understood that Figure 10The system architecture shown does not limit the number or type of electronic devices. It can include one or more first electronic devices capable of independently sending and receiving red envelopes, such as mobile phones, tablets, smart screens, or smartwatches, and one or more second electronic devices capable of independently sending and receiving red envelopes or not, such as mobile phones, tablets, smart screens, or smartwatches. For example, Figure 10 The system architecture shown can include the following two scenarios.
[0157] Scene 1: When the second electronic device is capable of independently sending and receiving red envelopes, the system architecture also includes a server 1010. The transceiver module 1020 and the call module 1030 in the second electronic device 1000 can establish a network connection with the server 1010. The transceiver module 1020 and the call module 1030 can send event messages to the processing module 1040. The processing module 1040 processes the event messages and finally outputs them to the display module 1050 for display. The first and second electronic devices can communicate with each other. The first electronic device sends message events to the second electronic device. The transceiver module 1020 in the second electronic device 1000 can forward the event messages sent by the communication module 1060 to the processing module 1040. The processing module 1040 processes the event messages and finally outputs them to the display module 1050 for display. It should be understood that in this case, there is no distinction between the first and second electronic devices; that is, the first electronic device can act as the master device to send message events to the second electronic device, and the second electronic device can also act as the master device to send message events.
[0158] Scene 2: When the second electronic device cannot independently handle sending and receiving red envelopes, it receives information about the user's red envelope claim and sends an execution command to the first electronic device. The sending and receiving of red envelopes is then performed by the first electronic device. It should be understood that in this case, the first electronic device is the primary device, and the second electronic device is the secondary device; the first electronic device completes the sending and receiving of red envelopes.
[0159] Figure 11 This illustration shows a schematic flowchart of a method 1100 for sending and receiving red envelopes applicable to the scenario described above, as provided in an embodiment of this application. Figure 11 As shown, the method for sending and receiving red envelopes mainly includes the following steps: S1110, the first electronic device and the second electronic device receive the red envelope message, and the server sends the red envelope message accordingly.
[0160] The specific details are similar to those in S310 above, and will not be repeated here.
[0161] It should be understood that in Scenario 1, the first electronic device and the second electronic device can establish a network connection or message subscription relationship with the server. At least one of the first electronic device and the second electronic device can receive red envelope messages sent by the server, and both the first electronic device and the second electronic device can also receive red envelope messages sent by the server.
[0162] S1120, the first electronic device and the second electronic device display the interface for receiving red envelope messages.
[0163] It should be understood that when both the first and second electronic devices receive a red envelope message from the server, both can display a red envelope message receiving interface, allowing users to receive the message through either device. For example, if a user's mobile phone and tablet are logged into the same account, and the user is only carrying the tablet and not the phone, both devices will display a red envelope message receiving interface upon receiving the message, allowing the user to claim the red envelope using the tablet.
[0164] S1130, the second electronic device performs the process of receiving red envelopes.
[0165] It should be understood that after receiving the information to perform the red envelope receiving process, the second electronic device can execute the red envelope receiving process. That is, the red envelope receiving process can be completed independently by the second electronic device. The information for performing the red envelope receiving process can be the user's action of claiming the red envelope.
[0166] It should be noted that once the first electronic device receives the information to perform the red envelope receiving process, it can also perform the red envelope receiving process. In other words, any electronic device capable of independently sending and receiving red envelopes can perform the red envelope receiving process after receiving the information to process the red envelope message.
[0167] After the second electronic device performs the receiving of the red envelope, both the first and second electronic devices can display details of the received red envelope. For example, both the user's tablet and mobile phone display a red envelope message interface. The user can click the corresponding icon on the mobile phone's red envelope message interface to receive the red envelope, and then both the mobile phone and tablet display red envelope receipt details indicating that the red envelope has been received. Alternatively, the user can also click the corresponding icon on the tablet's red envelope message interface to receive the red envelope, and then both the mobile phone and tablet display red envelope receipt details indicating that the red envelope has been received. Optionally, the red envelope receipt details can only be displayed on the electronic device that has completed the sending and receiving of the red envelope.
[0168] It should be noted that method 1100 illustrates a method for multiple electronic devices capable of independently completing send and receive processing to receive red envelopes, while multiple electronic devices capable of independently completing send and receive processing can also send red envelopes through a method similar to that described in method 1100.
[0169] Based on the technical solution in method 1100, when multiple electronic devices capable of independently completing sending and receiving processes log into the same user account, each electronic device can synchronously display a red envelope message interface. The user can choose the electronic device to perform the red envelope receiving operation according to actual needs. For example, the user can choose the electronic device that is closer to them to receive the red envelope, so that the user can receive the red envelope more efficiently and conveniently. It can be understood that the process of receiving red envelope messages and receiving red envelopes on the electronic device selected by the user can refer to the relevant description in the above embodiments, and will not be repeated here.
[0170] Figure 12 This illustration shows a schematic flowchart of a method 1200 for sending and receiving red envelopes in scenario two described above, provided by an embodiment of this application. Figure 12 As shown, the method for sending and receiving red envelopes mainly includes the following steps: S1210, the first electronic device receives the red envelope message, and the corresponding server sends the red envelope message.
[0171] The specific details are similar to those in S310 above, and will not be repeated here.
[0172] S1220, the first electronic device is connected to the second electronic device.
[0173] For example, the second electronic device can be an electronic device that shares the same account as the first electronic device, and the first electronic device can establish a communication connection with the second electronic device. For instance, a mobile phone logged into the same account can establish a communication connection with a smart screen, and a mobile phone logged into the same account can establish a communication connection with a tablet computer.
[0174] For example, the first electronic device can determine the establishment of a communication connection between the second electronic device and the first electronic device through Bluetooth (BT), wireless fidelity (Wi-Fi), or other means.
[0175] It should be noted that there is no restriction on the order of execution of the above steps S1210 and S1220. Step S1210 can be executed first, followed by step S1220; or S1220 can be executed first, followed by step S1210; or both steps S1210 and S1220 can be executed simultaneously.
[0176] S1230, the first electronic device sends a red envelope message, and the corresponding second electronic device receives the red envelope message.
[0177] It should be understood that the first electronic device can send the red envelope message via broadcast, multicast, or unicast, and this embodiment does not limit this. After the first electronic device establishes a communication connection with the second electronic device, the first electronic device sends the red envelope message to the second electronic device. Specifically, the communication module 260 of the first electronic device sends the red envelope message to the communication module 1060 of the second electronic device.
[0178] S1240, the first electronic device and the second electronic device display the interface for receiving red envelope messages.
[0179] The specific details are similar to those in S1120 above, and will not be repeated here.
[0180] S1250, the second electronic device sends an execution instruction, and correspondingly, the first electronic device receives the execution instruction.
[0181] It should be understood that before the second electronic device sends the execution instruction, the second electronic device receives the user's operation to receive the red envelope. The second electronic device cannot independently complete the red envelope sending and receiving process, that is, the second electronic device cannot execute the red envelope receiving process.
[0182] It should be understood that in response to the user's operation of receiving a red envelope, the second electronic device triggers an execution instruction and sends the execution instruction to the first electronic device. The execution instruction is used to instruct the first electronic device to complete the red envelope sending and receiving process.
[0183] For example, when the second electronic device is a smartwatch, the user can trigger the execution command by clicking on the interface for receiving red envelope messages or by shaking the smartwatch.
[0184] Specifically, the processing module 1040 of the second electronic device receives the user's operation to open the red envelope. The processing module 1040 sends the execution instruction to the communication module 260 of the first electronic device through the communication module 1060. After receiving the execution instruction, the communication module 260 of the first electronic device notifies the processing module 240.
[0185] S1260, the first electronic device performs the process of receiving red envelopes.
[0186] It should be understood that after the first electronic device receives the execution instruction, the processing module 240 performs the red envelope receiving process.
[0187] It should be understood that after the processing module 240 executes the process of opening the red envelope, it sends the completion instruction to the communication module 1060 through the communication module 260. The communication module 1060 forwards the completion instruction to the processing module 1040 through the transceiver module 1020. The processing module 1040 instructs the display module 1050 to update the display to show the red envelope receiving details, indicating that the red envelope has been received.
[0188] After the first electronic device processes the receipt of the red envelope, both the first and second electronic devices can display details of the received red envelope. For example, both the user's smartwatch and mobile phone display a red envelope message interface. The user can click the corresponding icon on the smartwatch's red envelope message interface to receive the red envelope. Subsequently, both the mobile phone and smartwatch display red envelope claim details indicating that the red envelope has been claimed.
[0189] Based on the technical solution in method 1200, both the first electronic device and the second electronic device can display red envelope messages. When a red envelope message is received, a red envelope claiming interface pops up directly on the second electronic device. Users can quickly claim red envelopes by performing the red envelope claiming operation on the second electronic device, making it convenient and efficient for users to claim red envelopes.
[0190] Figure 13 Another GUI provided in this application embodiment is illustrated. Taking a mobile phone as the first electronic device and a smartwatch as the second electronic device, and the smartwatch being unable to independently send and receive red envelopes as an example, this application embodiment is further described.
[0191] like Figure 13 As shown in (a) and (b), the mobile phone establishes a communication connection with the smartwatch. Optionally, the mobile phone is in a locked or off state. Figure 13 In (a), in response to receiving a red envelope message, a red envelope receiving window 1301 is displayed on the interface of the smartwatch connected to the mobile phone. In response to the user's operation of the red envelope receiving window 1301's open red envelope control 1302, or the user shaking the smartwatch, the smartwatch can display as follows: Figure 12 The GUI shown in (c) is shown in the image.
[0192] like Figure 13 As shown in (c), in response to the user's operation of the red envelope receiving window 1301 on the red envelope opening control 1302 or the user's operation of shaking the smartwatch, the smartwatch can display details of the red envelope being received. For example, the smartwatch displays that a red envelope sent by Dad has been received, with a received amount of 6.66 yuan.
[0193] like Figure 13 As shown in (d) and (e), after the mobile phone and smartwatch are successfully connected, the mobile phone is in a locked or off state. Figure 13 In response to receiving three red envelope messages on the mobile phone, a red envelope claiming window 1301 is displayed on the smartwatch interface. Optionally, the user can select the red envelope to open by swiping left or right or up or down on the smartwatch interface.
[0194] It should be understood that the above embodiments illustrate a method for sending and receiving red envelopes under another system architecture, which includes at least two electronic devices. These at least two electronic devices are capable of establishing a communication connection, and they can be different types of electronic devices or the same type of electronic devices.
[0195] Based on the technical solutions in the above embodiments, both the smartwatch and the mobile phone can display a red envelope claiming window. When a red envelope message is received, the red envelope claiming window pops up directly on the smartwatch. Users wearing the smartwatch can claim the red envelope by directly clicking on the red envelope on the smartwatch interface or shaking the smartwatch, making it convenient and efficient for users to claim red envelopes. Furthermore, when the mobile phone is locked or turned off, or when the user is far away from the mobile phone and it is inconvenient to use the mobile phone, the user can claim the red envelope on the smartwatch, making the claiming process even more efficient.
[0196] Figure 14 Another set of GUIs provided in the embodiments of this application is shown, illustrating another way of displaying red envelope messages, namely red envelope bullet screens.
[0197] like Figure 14 As shown in (a), a father, mother, and daughter are having a video call. The father's phone receives a red envelope (digital cash gift) sent by his daughter, and the video call interface displays a pop-up message 1401. Optionally, the red envelope pop-up message 1401 scrolls from left to right on the video call interface. Optionally, the red envelope pop-up message 1401 can scroll at certain intervals during the video call, for example, at 5-second intervals. In response to the user's operation on the red envelope pop-up message 1401, the phone can display as follows: Figure 14 The GUI shown in (b) is shown in the image.
[0198] like Figure 14 As shown in (b), in response to the user's operation on the red envelope pop-up message 1401, a red envelope receiving details pop-up message 1402 is displayed on the father's mobile phone video call interface. For example, the red envelope receiving details pop-up message 1402 shows that the father received the daughter's red envelope and received 10.12 yuan. The location where the red envelope receiving details pop-up message appears can be one or more specific locations. Optionally, the avatar of the user who received the red envelope will appear below the red envelope message pop-up message 1401, indicating that the red envelope has been received by a user. For example, if the father's avatar appears below the red envelope pop-up message 1401, it indicates that the red envelope sent by the daughter has been received by the father. In response to the user's operation on the red envelope pop-up message 1401, the sender's (daughter's) mobile phone can display as follows: Figure 14 The GUI shown in (c) is shown in the image.
[0199] like Figure 14As shown in (c), after the father receives the red envelope, the daughter's phone will respond simultaneously. That is, the daughter's phone will display the recipient's avatar and a pop-up message (1402) indicating that the red envelope sent by the sender (daughter) has been claimed. For example, the daughter's phone will show that the red envelope has been claimed by the father, who received 10.12 yuan.
[0200] like Figure 14 As shown in (d), after the father receives the red envelope sent by his daughter, a red envelope pop-up message 1401, along with the recipient's avatar and red envelope receipt details pop-up message 1402, are also displayed on the mother's phone's video call interface. At this time, the mother can also receive red envelopes sent by her daughter. In response to the user (mother) clicking on the red envelope pop-up message 1401, the phone can display the following... Figure 14 The GUI shown in (e) is shown in the image.
[0201] like Figure 14 As shown in (e), in response to the user (mother) clicking on the red envelope pop-up 1401, another red envelope claiming details pop-up 1403 is displayed on the mother's phone's video call interface. For example, the red envelope claiming details pop-up 1403 shows that the mother has claimed her daughter's red envelope and received 7.25 yuan. Furthermore, the avatar of another user who claimed the red envelope will appear below the red envelope pop-up 1401, indicating that the red envelope has been claimed by another user. For example, if the daughter sends a red envelope and the mother's avatar appears below the pop-up, it means that the red envelope sent by the daughter has been claimed by both the father and mother. In one possible implementation, the red envelope sent by the daughter can be claimed by multiple people. Before the red envelope is claimed, the red envelope notification (1401) can scroll periodically. Once the red envelope is claimed, the notification stops scrolling. After both the father and mother have claimed the red envelope, their respective red envelope claiming details will be displayed. Each red envelope claiming details can be displayed once (twice in total) and then disappear, or each red envelope claiming details can be displayed only once or more. In another possible implementation, the red envelope sent by the daughter can only be claimed by one person. Once a red envelope is claimed by one user, the red envelope notification stops scrolling. After that user claims the red envelope, their red envelope claiming details will be displayed. This red envelope claiming details can be displayed once (twice in total) and then disappear, or it can be displayed only once or more. In response to the user clicking on the red envelope comment 1401, the sender's (daughter's) phone can display the following: Figure 14 The GUI shown in (f) is shown in the image.
[0202] like Figure 14As shown in (f), after the mother receives another red envelope, the daughter's phone will also respond synchronously, displaying the avatar of the user who received the red envelope and the red envelope receiving details in pop-up messages 1402 and 1403. For example, the daughter's phone shows that the red envelope has been received by the father and mother, with the father receiving 10.12 yuan and the mother receiving 7.25 yuan.
[0203] It should be understood that the display method of the red envelope bullet screen in the above embodiment can also be applied to electronic devices such as smart screens, tablets or smartwatches, and this embodiment does not limit it.
[0204] It should be understood that when the above-mentioned red envelope display method is applied to a smart screen, after the red envelope message pop-up appears, the cursor will automatically be on "Press OK to open the red envelope". That is, the user can open the red envelope by pressing the "OK" button on the remote control. When there are multiple red envelope message pop-ups, the user will press the "OK" button according to the order in which the red envelopes were received, and the first red envelope received will be opened.
[0205] Based on the above embodiments, during a user's video call, red envelope messages will be displayed in the form of scrolling comments on the video call interface to prevent the user from missing the red envelope messages, and the display format of red envelope comments also enhances the fun of sending and receiving red envelopes.
[0206] It should be understood that the methods of displaying red envelopes in the embodiments of this application include, but are not limited to, the large red envelopes described above (such as...). Figure 4 (f) Red Packet Claiming Window 409), Red Packet List (e.g.) Figure 7 (e) The red envelope receiving window 409 and the red envelope sending control 701) and the red envelope barrage (such as Figure 14 (e) The bullet comments 1401 can be displayed as "big red envelopes" to make it easier for users to quickly receive red envelopes. Displaying them as "red envelope list" can make multiple red envelopes directly displayed on the call interface, making it more convenient for users to receive red envelopes. Displaying them as "red envelope bullet comments" can increase the fun of users receiving red envelopes.
[0207] Figure 15 Another set of GUIs provided in the embodiments of this application is shown.
[0208] like Figure 15 As shown in (a), in response to the phone receiving a red envelope message, the father's phone displays a red envelope pop-up on the video call interface, which includes a video call interface minimize control 501. In response to the user clicking the video call interface minimize control 501, the phone can display as follows: Figure 14 The GUI shown in (b) is shown in the image.
[0209] like Figure 15As shown in (b), in response to the user clicking the minimize control 501 on the video call interface, the video call interface on the father's phone is minimized. At this time, the phone can display the video call window 502 on the group chat interface, and the red envelope message icon 503 will also be displayed in the chat interface. In response to the user's operation on the icon 503 in the text message, the phone can display as follows: Figure 15 The GUI shown in (c) is shown in the image.
[0210] like Figure 15 As shown in (c), in response to the user's operation on icon 503 in the text message, it is displayed below icon 503 that the father has received the daughter's red envelope, and the red envelope receiving details pop-up is also displayed in the video call window 502, showing that the daughter's red envelope has been received by the father, and the specific amount received is 10.12 yuan.
[0211] Based on the solution in the above embodiments, even after the user minimizes the video call interface, the operation of receiving red envelopes can still be performed in the text message interface, and the text message interface and the video call interface can change synchronously.
[0212] Figure 16 Another set of GUIs provided in the embodiments of this application is shown.
[0213] like Figure 16 Image (a) shows the interface where the mother is having a video call with the father and daughter. At the bottom of this interface is a red envelope sending control 701. In response to the user's interaction with the red envelope sending control 701, the phone can display the following... Figure 16 The GUI shown in (b) is shown in the image.
[0214] like Figure 16 As shown in (b), in response to the user's operation of the red envelope sending control 701, the mobile phone can display the red envelope sending control's display interface. This display interface shows a red envelope sending window 702, for example, a mother sending a lucky draw red envelope. This interface includes an input box 703 for the total amount, an input box 704 for the number of red envelopes, and a control 705 for putting money into the red envelope. The red envelope can be sent in response to the user's operation of the money-putting red envelope control 705. When the father's smart screen receives the red envelope message, both the father's smart screen and the daughter's mobile phone display as shown... Figure 16 The GUI shown in (c).
[0215] like Figure 16 As shown in (c), the red envelope message is displayed as a red envelope pop-up. The father and daughter receive the red envelope on the smart screen and their mobile phones respectively. For example, when the cursor on the smart screen is over the pop-up, the father clicks the "OK" button on the remote control or issues a voice command to receive the red envelope, and the daughter directly clicks the red envelope pop-up to receive it. In response to the user's interaction with the red envelope pop-up, the smart screen can display something like... Figure 16The GUI shown in (d) is shown in the middle.
[0216] like Figure 16 As shown in (d), in response to the user's interaction with the red envelope pop-up message, red envelope claim details pop-ups 1601 and 1602 are displayed on the video call interface of the father's smart screen. For example, red envelope claim details pop-up 1601 shows that the daughter claimed the mother's red envelope and received 10.25 yuan, while red envelope claim details pop-up 1602 shows that the father claimed the mother's red envelope and received 77.75 yuan. When the smart screen, the daughter's phone, and the mother's phone receive information that the father has claimed the most red envelope amount, the smart screen, the daughter's phone, and the mother's phone can display the following: Figure 16 The GUI shown in (e).
[0217] like Figure 16 As shown in (e), in response to receiving information that a user has received the largest amount of a lucky draw red envelope, a special effect icon 1603 can be displayed near the user's avatar. For example, when the father's smart screen, the daughter's mobile phone, and the mother's mobile phone receive information that the father has received the largest amount of a lucky draw red envelope, the special effect icon "Lucky King" will be displayed near the father's avatar on different electronic devices.
[0218] Based on the solutions in the above embodiments, the fun of sending and receiving red envelopes on electronic devices can be enhanced, and communication and interaction between users can be increased.
[0219] It should be understood that the call interface of the electronic device in the above embodiments includes not only a video call interface but also a voice call interface. The operation of sending and receiving red envelopes in the voice call interface is similar to that in the video call interface, and for the sake of simplicity, it will not be described in detail here.
[0220] Figure 17 A schematic flowchart of a method 1700 for sending and receiving red envelopes according to an embodiment of this application is shown. Figure 17 As shown, method 1700 can be executed by an electronic device, wherein the electronic device can be the first or second electronic device capable of independently completing transmission and reception processing, such as a mobile phone, smart screen, tablet computer, or smartwatch. Method 1700 includes: S1710, the electronic device displays a first interface, which is the call interface.
[0221] Specifically, the call interface can be a video call interface or an audio call interface.
[0222] For example, such as Figure 4 As shown in (d), the mobile phone is displaying a video call interface, which indicates that the user is in a group video call.
[0223] S1720, in response to receiving the information of the first red envelope, the electronic device displays a first prompt message on the first interface, which prompts the user to claim the first red envelope.
[0224] It should be understood that the information of the first red envelope can be the red envelope message mentioned in the above embodiments. The information of the first red envelope includes one or more of the following: the account information logged in by the sending device (e.g., Huawei account), the amount of the red envelope, the number of red envelopes divided into, and the red envelope blessing.
[0225] For example, the first prompt message could be a red envelope claiming window.
[0226] Optionally, the red envelope receiving window includes an open red envelope control, which allows users to receive the first red envelope by clicking the open red envelope control.
[0227] Optionally, in response to receiving the information of the first red envelope, before displaying the red envelope claiming window on the first interface, the electronic device displays a red envelope icon on the first interface. The user can click the red envelope icon to display the red envelope claiming window on the first interface. Based on the solution in the above embodiment, when a user receives a red envelope during a video call, it can be displayed as a smaller red envelope icon. The red envelope icon can be located in the lower right corner of the user's video call interface to avoid obscuring the user's video call interface and affecting the user's call experience.
[0228] Optionally, the red envelope receiving window includes a close window control. In response to receiving the first red envelope information, the electronic device displays the red envelope receiving window on the first interface before displaying the red envelope icon. The user can click the close window control on the red envelope receiving window to display the red envelope icon on the first interface. If the user received the red envelope by clicking the open red envelope control before clicking the close window control, the red envelope icon may or may not be displayed on the first interface when the user clicks the close window control. Based on the solution in the above embodiment, when a user receives a red envelope during a video call, the red envelope notification information can be directly displayed on the current interface, allowing the user to receive the red envelope promptly. Alternatively, the user can close the current red envelope receiving window, minimize the notification information, and temporarily store the red envelope to prevent the red envelope receiving window from obscuring the call interface.
[0229] It should be understood that the red envelope icon can be an icon for a minimized red envelope claiming window, such as a collection of red envelopes, a list of red envelopes, or a red envelope lucky bag.
[0230] For example, the first prompt message can be a bullet screen, which the user clicks to claim the first red envelope.
[0231] It should be understood that the electronic device can receive information from at least two red envelopes. When the electronic device receives information from multiple red envelopes, a first prompt message corresponding to the information from the multiple red envelopes can be displayed on the first interface.
[0232] Optionally, when the first prompt is a red envelope claiming window, the electronic device receives multiple red envelopes, and the red envelope claiming windows for these multiple red envelopes are displayed on the first interface. Specifically, the multiple red envelope claiming windows can be displayed side-by-side or top-to-bottom; this embodiment does not limit the arrangement of the multiple red envelope claiming windows. The user selects from the multiple red envelope claiming windows to claim one or more of the multiple red envelopes. The method of selection is also not limited. For example, when the electronic device is a mobile phone, the user can select the red envelope claiming window by swiping left or right with their finger; when the electronic device is a smart screen, the user can select the red envelope claiming window by using the remote control buttons. When the user receives multiple red envelopes during a video call, the newly received red envelope claiming window can be displayed first. When there are claimed and unclaimed red envelopes among the multiple red envelopes, the unclaimed red envelopes can be displayed first. The red envelope claiming window displayed first is fully displayed, while the red envelope claiming windows displayed second are partially displayed; or, the red envelope claiming window displayed first is larger than the red envelope claiming windows displayed second. This embodiment does not limit the form of priority display.
[0233] Optionally, when the first notification is a red envelope pop-up message, the electronic device receives multiple red envelopes, and the red envelope pop-up messages for these multiple red envelopes are displayed on the first interface. Specifically, as shown... Figure 14 As shown in (a), multiple bullet comments can be scrolled from left to right and scrolled at certain intervals during the video call. Bullet comments for unclaimed red envelopes can continuously scroll on the current call screen to remind users that there are still unclaimed red envelopes.
[0234] For example, the first interface has a minimize control. When the user clicks the minimize control, a floating window of the first interface is displayed on the second interface. The second interface can be a text message interface, a game interface, an office interface, etc., and this embodiment does not limit it.
[0235] Optionally, when the electronic device receives information about a second red envelope (which can be another red envelope besides the first one), a second prompt message is displayed on the first interface to prompt the user to claim the second red envelope. After the user clicks the minimize control on the first interface, a floating window of the first interface and a third prompt message are displayed on the second interface. The second interface is a text message interface, and the third prompt message prompts the user to claim the second red envelope in the text message interface. The third prompt message can be as follows: Figure 5(b) As shown in the icon 503, users can receive a red envelope by clicking on the icon 503.
[0236] Optionally, after the user clicks the minimize control on the first interface, a floating window of the first interface is displayed on the second interface. This second interface is a text message interface. When the electronic device receives the information of the second red envelope, a prompt message is displayed simultaneously on the floating window of the first interface and the second interface. The user can claim the red envelope by clicking the prompt message on the second interface.
[0237] Optionally, the electronic device can be multiple electronic devices logged into the same account, which can be understood as multiple electronic devices belonging to the same user. When one of the electronic devices receives the information of the first red envelope sent by the server, it can send a fourth notification message to other surrounding electronic devices. This fourth notification message is used to notify the electronic device that it has received the red envelope information, for example, such as... Figure 13 As shown in (a) and (b), the same account's mobile phone and smartwatch simultaneously display red envelope messages, and the user can claim the red envelope on the smartwatch. Based on the solution in the above embodiments, when the user has one of these electronic devices nearby, they can claim the red envelope through that device, making it more convenient and faster for the user to claim the red envelope.
[0238] S1730, the electronic device responds to the user's input of the first prompt information and displays the details of receiving the first red envelope on the first interface. For example, the user's input of the first prompt information can be by clicking the red envelope control, clicking the bullet screen, shaking the electronic device, or clicking the remote control button, etc. This embodiment does not limit the form of input.
[0239] Optionally, the details of receiving the first red envelope include the amount received and the account information for receiving the red envelope. When the first notification is a red envelope receiving window, the details are displayed in a window, such as... Figure 4 As shown in (g); when the first prompt is a bullet screen, the details of the claim are displayed in the form of a bullet screen, such as... Figure 14 As shown in (b), the pop-up message with details of claiming the red envelope can be displayed once on the video interface and then disappear, or the pop-up message with details of claiming the red envelope can be displayed only once or more times, indicating how much of the red envelope has been claimed by a certain user.
[0240] Optionally, the details of receiving the first red envelope include the details of receiving the first red envelope by the first account, which is the account logged in on the electronic device. That is, when multiple users are in a group chat, if a user with the first account sends a red envelope, all users in the group chat can receive the red envelope, and the user who sent the red envelope (the first account) can also receive the red envelope they sent, and the electronic device will display that the red envelope has been received by the first account.
[0241] Optionally, when the electronic device responds to the user's input of the first prompt information, it displays a fifth prompt information on the first interface. This fifth prompt information is used to indicate the details of the second account's receipt of the first red envelope, and the account logged in on another electronic device that received the first red envelope. In other words, when the user of the first account sends a red envelope, other users can receive it, and the electronic device displays that the red envelope has been received by the second account.
[0242] Optionally, when the electronic device responds to the user's input of the first prompt information, it displays a sixth prompt information on the first interface, which is used to prompt information about the account that received the highest amount of the first red envelope. For example... Figure 16 As shown in (e), on the group chat video call interface, the father received the highest amount of red envelopes, and a "Lucky King" icon was displayed near the father's image.
[0243] The above embodiments can be used individually or in combination to achieve different technical effects.
[0244] The methods provided in the embodiments of this application above are described from the perspective of an electronic device as the executing entity. To implement the functions of the methods provided in the embodiments of this application above, the electronic device may include hardware structures and / or software modules, implementing the above functions in the form of hardware structures, software modules, or a combination of hardware structures and software modules. Whether a particular function is executed in the form of hardware structures, software modules, or a combination of hardware structures and software modules depends on the specific application and design constraints of the technical solution.
[0245] This application also provides an electronic device, including: a display screen, a processor, a memory, a power button, an application program, and a computer program. The aforementioned devices can be connected via one or more communication buses. The one or more computer programs are stored in the memory and configured to be executed by the one or more processors. The one or more computer programs include instructions that can be used to cause the electronic device to perform various steps of the methods for sending and receiving red envelopes in the above embodiments.
[0246] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0247] This embodiment can divide the electronic device into functional modules according to the above method example. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module. The integrated modules can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0248] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0249] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0250] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0251] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0252] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0253] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for sending and receiving red envelopes, characterized in that, The method is applied to an electronic device, and the method includes: The first interface is displayed, which is the call interface; In response to receiving the information of the first red envelope, a first prompt message is displayed on the first interface, the first prompt message being used to prompt the user to claim the first red envelope; In response to the user's input of the first prompt information, the details of receiving the first red envelope are displayed on the first interface; In response to receiving information about a second red envelope, a second prompt message is displayed on the first interface, the second prompt message being used to prompt the user to claim the second red envelope; The first interface includes a minimize control; In response to user input on the minimize control, a second interface is displayed, and a floating window of the first interface and a third prompt message are displayed on the second interface. The second interface is a chat interface, and the third prompt message is used to prompt the user to claim the second red envelope. In response to the user's input of the third prompt information, the details of receiving the second red envelope are displayed on the second interface and the floating window.
2. The method according to claim 1, characterized in that, The first notification message includes a red envelope claiming window, which includes a red envelope opening control; In response to user input regarding the first prompt, the first interface displays details of receiving the first red envelope, including: In response to the user's input on the red envelope opening control, the details of receiving the first red envelope are displayed on the first interface.
3. The method according to claim 2, characterized in that, Before displaying the first prompt information on the first interface, the method further includes: In response to receiving the information of the first red envelope, a red envelope icon is displayed on the first interface; In response to the user's input of the red envelope icon, the red envelope claiming window is displayed on the first interface.
4. The method according to claim 3, characterized in that, The step of displaying a red envelope icon on the first interface in response to receiving the information of the first red envelope includes: In response to receiving the information of the first red envelope, the red envelope receiving window is displayed on the first interface, and the red envelope receiving window includes a window close control; In response to user input on the closed window control, the red envelope icon is displayed on the first interface.
5. The method according to claim 1, characterized in that, The first notification message includes bullet comments; Specifically, in response to user input regarding the first prompt information, the details of receiving the first red envelope are displayed on the first interface, including: In response to the user's input on the bullet screen, the details of receiving the first red envelope are displayed on the first interface.
6. The method according to claim 1, characterized in that, The method further includes: In response to receiving the information of the first red envelope, the electronic device sends a fourth prompt message to the device associated with the electronic device, the fourth prompt message being used to indicate that the electronic device has received the information of the red envelope.
7. The method according to claim 1, characterized in that, The details of receiving the first red envelope include the details of receiving the first red envelope by the first account, where the first account is the account logged in on the electronic device.
8. The method according to claim 1, characterized in that, The method further includes: The fifth prompt message is displayed on the first interface. The fifth prompt message is used to prompt the second account with details of receiving the first red envelope. The second account is an account logged in on another electronic device that received the first red envelope.
9. The method according to claim 1, characterized in that, The method further includes: A sixth prompt message is displayed on the first interface, which is used to prompt the account that received the highest amount of the first red envelope.
10. The method according to claim 1, characterized in that, The details of receiving the first red envelope include information about the amount received.
11. An electronic device, characterized in that, include: One or more processors; One or more memory units; The one or more memories store one or more computer programs, the one or more computer programs including instructions that, when executed by the one or more processors, cause the electronic device to perform the following steps: The first interface is displayed, which is the call interface; In response to receiving the information of the first red envelope, a first prompt message is displayed on the first interface, the first prompt message being used to prompt the user to claim the first red envelope; In response to the user's input of the first prompt information, the details of receiving the first red envelope are displayed on the first interface; In response to receiving information about a second red envelope, a second prompt message is displayed on the first interface, the second prompt message being used to prompt the user to claim the second red envelope; The first interface includes a minimize control; In response to user input on the minimize control, a second interface is displayed, and a floating window of the first interface and a third prompt message are displayed on the second interface. The second interface is a chat interface, and the third prompt message is used to prompt the user to claim the second red envelope. In response to the user's input of the third prompt information, the details of receiving the second red envelope are displayed on the second interface and the floating window.
12. The electronic device according to claim 11, characterized in that, The first notification message includes a red envelope claiming window, which includes a red envelope opening control; When the instruction is executed by the one or more processors, the electronic device performs the following steps: In response to the user's input on the red envelope opening control, the details of receiving the first red envelope are displayed on the first interface.
13. The electronic device according to claim 12, characterized in that, When the instruction is executed by the one or more processors, the electronic device performs the following steps: Before displaying the red envelope icon on the first interface, in response to receiving the information of the first red envelope, the red envelope icon is displayed on the first interface; In response to the user's input of the red envelope icon, the red envelope claiming window is displayed on the first interface.
14. The electronic device according to claim 13, characterized in that, In response to receiving the information of the first red envelope, the red envelope icon is displayed on the first interface. When the instruction is executed by the one or more processors, the electronic device performs the following steps: In response to receiving the information of the first red envelope, the red envelope receiving window is displayed on the first interface, and the red envelope receiving window includes a window close control; In response to user input on the closed window control, the red envelope icon is displayed on the first interface.
15. The electronic device according to claim 11, characterized in that, The first notification message includes bullet comments; When the instruction is executed by the one or more processors, the electronic device performs the following steps: In response to the user's input on the bullet screen, the details of receiving the first red envelope are displayed on the first interface.
16. The electronic device according to claim 11, characterized in that, When the instruction is executed by the one or more processors, the electronic device performs the following steps: In response to receiving the information of the first red envelope, a fourth prompt message is sent to the device associated with the electronic device, the fourth prompt message being used to prompt the electronic device that the information of the red envelope has been received.
17. The electronic device according to claim 11, characterized in that, The details of receiving the first red envelope include the details of receiving the first red envelope by the first account, where the first account is the account logged in on the electronic device.
18. The electronic device according to claim 11, characterized in that, When the instruction is executed by the one or more processors, the electronic device performs the following steps: The fifth prompt message is displayed on the first interface. The fifth prompt message is used to prompt the second account with details of receiving the first red envelope. The second account is an account logged in on another electronic device that received the first red envelope.
19. The electronic device according to claim 11, characterized in that, When the instruction is executed by the one or more processors, the electronic device performs the following steps: A sixth prompt message is displayed on the first interface, which is used to prompt the account that received the highest amount of the first red envelope.
20. The electronic device according to claim 11, characterized in that, The details of receiving the first red envelope include information about the amount received.
21. A computer-readable storage medium, characterized in that, It includes computer instructions that, when executed on an electronic device, cause the electronic device to perform the method of sending and receiving red envelopes as described in any one of claims 1 to 10.
22. A computer program product containing instructions, characterized in that, When the computer program product is run on a computer, the computer causes the computer to perform the method of sending and receiving red envelopes as described in any one of claims 1 to 10.
Citation Information
Patent Citations
Method and device for monitoring terminal battery temperature and terminal
CN103019907A
Method, device, and system for data processing
CN107295412A
Reminding method, wearable device and computer readable storage medium
CN109769069A
Data processing method and device, computer and readable storage medium
CN111680993A
Virtual article interaction method
CN113542653A