CN110489046B - Red packet amount distribution method and mobile terminal - Google Patents

Red packet amount distribution method and mobile terminal Download PDF

Info

Publication number
CN110489046B
CN110489046B CN201910672749.3A CN201910672749A CN110489046B CN 110489046 B CN110489046 B CN 110489046B CN 201910672749 A CN201910672749 A CN 201910672749A CN 110489046 B CN110489046 B CN 110489046B
Authority
CN
China
Prior art keywords
mobile terminal
red
area ratio
screen
amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910672749.3A
Other languages
Chinese (zh)
Other versions
CN110489046A (en
Inventor
陈凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910672749.3A priority Critical patent/CN110489046B/en
Publication of CN110489046A publication Critical patent/CN110489046A/en
Application granted granted Critical
Publication of CN110489046B publication Critical patent/CN110489046B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Human Computer Interaction (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a red envelope amount distribution method and a mobile terminal, wherein the method comprises the following steps: receiving a setting instruction of a user on the total amount of the red packets, the number of the red packets and the area ratio of a first folding screen; respectively determining the area occupation ratio of a second folding screen of each second mobile terminal for splitting the red packet; and distributing the money of the red packets split by each second mobile terminal according to the total money of the red packets, the number of the red packets, the area ratio of the first folding screen and the area ratio of each second folding screen. When the red envelope amount distribution method disclosed by the embodiment of the invention is used for distributing the red envelope amount, the method is not just as rigid as average distribution, and a user who robs the red envelope can have certain control force on the red envelope amount distribution, and is interesting.

Description

Red packet amount distribution method and mobile terminal
Technical Field
The invention relates to the technical field of communication, in particular to a red envelope amount distribution method and a mobile terminal.
Background
At present, many application programs installed on a mobile terminal have a red envelope distribution function. For the oriented red packet with the red packet sending object as one person, the red packet amount and the red packet receiving object are unique, and the red packet amount is not required to be distributed. In the case of a red packet in which a plurality of persons are to be transmitted, the red packet is distributed in an even distribution (so-called ordinary red packet) or a random distribution (so-called spelling-to-yourself red packet).
The scheme for evenly distributing the money of the red envelope has a single money distribution mode and lacks interest. According to the scheme of randomly distributing the money amount of the red envelope, a user needing to rush the red envelope obtains the corresponding money amount of the red envelope by self gas transportation, the user can obtain the red envelope with larger money amount by good gas transportation, the user can obtain the red envelope with smaller money amount by poor gas transportation, the money amount of the red envelope is completely distributed depending on the gas transportation of the user needing to rush the red envelope, and the user needing to rush the red envelope lacks initiative and interestingness.
Disclosure of Invention
The embodiment of the invention provides a red envelope amount distribution method and a mobile terminal, and aims to solve the problem that an existing red envelope amount distribution scheme is lack of initiative and interestingness for a user who robs a red envelope when red envelope amount distribution is carried out.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for allocating a red envelope amount, where the method is applied to a first mobile terminal, and the method includes: receiving a setting instruction of a user on the total amount of the red packets, the number of the red packets and a first folding screen area ratio, wherein the first folding screen area ratio is a first area to a second area ratio, the first area is the whole area of a first screen of the first mobile terminal, and the second area is the area of a sub-screen after the first screen is folded; determining a second folded screen area ratio of each second mobile terminal for splitting the red packet, wherein the second folded screen area ratio is a third area to a fourth area ratio, the third area is the whole area of a second screen of the second mobile terminal, and the third area is the area of a sub-screen after the second screen is folded; and distributing the money of the red packets split by each second mobile terminal according to the total money of the red packets, the number of the red packets, the area ratio of the first folding screen and the area ratio of each second folding screen.
In a second aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal is used as a first mobile terminal, and the mobile terminal includes: the mobile terminal comprises a receiving module, a display module and a display module, wherein the receiving module is used for receiving a setting instruction of a user on the total amount of the red packets, the number of the red packets and the area ratio of a first folding screen, the first folding screen area ratio is a first area to a second area ratio, the first area is the whole area of a first screen of the first mobile terminal, and the second area is the area of a sub-screen after the first screen is folded; the determining module is configured to determine a second folded screen area ratio of each second mobile terminal splitting the red packet, where the second folded screen area ratio is a third area to a fourth area ratio, the third area is an entire area of a second screen of the second mobile terminal, and the third area is an area of a sub-screen after the second screen is folded; and the distribution module is used for distributing the money of the red packets split by each second mobile terminal according to the total money of the red packets, the number of the red packets, the area ratio of the first folding screen and the area ratio of each second folding screen.
In a third aspect, an embodiment of the present invention provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements any one of the steps of the red purse amount allocation method described in the embodiment of the present invention.
In a fourth aspect, the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores thereon a computer program, and the computer program, when executed by a processor, implements the steps of any one of the red purse amount allocation methods described in the embodiments of the present invention.
In the embodiment of the invention, the money of the red packet split by each second mobile terminal is distributed according to the total money of the red packet input by the user of the first mobile terminal, the number of the red packets, the first folding screen area ratio input by the user of the first mobile terminal and the second folding screen area ratio of each second mobile terminal. Because each red packet amount can be associated with the second folding screen area ratio, and the second folding screen area ratio can be controlled by the second mobile terminal user by folding the screen of the second mobile terminal according to the first folding screen area ratio, the red packet amount distribution scheme provided by the embodiment of the invention is not as single as average distribution, and the users who grab the red packets, namely the second mobile terminal users, can have certain control force on the red packet amount distribution, and is interesting.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart illustrating the steps of a method for allocating a red envelope amount according to a first embodiment of the present invention;
FIG. 2 is a flow chart illustrating the steps of a method for allocating the amount of a red envelope according to a second embodiment of the present invention;
fig. 3 is a block diagram of a mobile terminal according to a third embodiment of the present invention;
fig. 4 is a block diagram of a mobile terminal according to a fourth embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example one
Referring to fig. 1, a flowchart illustrating steps of a method for allocating a red envelope amount according to a first embodiment of the present invention is shown.
The red packet amount distribution method provided by the embodiment of the invention comprises the following steps:
step 101: and receiving a setting instruction of the total amount of the red packets, the number of the red packets and the area ratio of the first folding screen from a user.
The red packet amount distribution method in the embodiment of the invention is applied to the first mobile terminal, and the mobile terminal corresponding to each user for splitting the red packet is the second mobile terminal. The screen of the second mobile terminal is a foldable screen. And entering a red packet parameter setting interface when the first mobile terminal user sends the red packets in advance, and setting the total amount of the red packets, the number of the red packets and the first folding screen area ratio in the red packet parameter setting interface.
The area occupation ratio of the first folding screen is a first area to a second area, the first area is the whole area of the first screen of the first mobile terminal, and the second area is the area of the sub-screen after the first screen is folded. The first folded screen area ratio is a numerical value smaller than 1, and in a specific implementation process, a first mobile terminal user can flexibly set the first folded screen area ratio according to actual requirements.
Step 102: and respectively determining the second folded screen area ratio of the second mobile terminal for splitting the red packet.
The area of the second folded screen is a third area and a fourth area, the third area is the whole area of the second screen of the second mobile terminal, and the fourth area is the area of the sub-screen after the second screen is folded. The second mobile terminal user is a user participating in red packet robbing, when the second mobile terminal user clicks the red packet robbing, a first folding screen area ratio set by the first mobile terminal user is displayed in a second mobile terminal interface, the second mobile terminal user folds a second screen of the second mobile terminal according to the first folding screen area ratio, and the second mobile terminal determines a second folding screen area ratio through the whole area of the second screen of the second mobile terminal before folding and the area of a folded sub-screen. And the second mobile terminal sends the second folded screen area ratio to the first mobile terminal. In this way, the first mobile terminal can determine the second folded screen area ratio of each second mobile terminal robbing the red envelope.
Step 103: and allocating the money of the red packet split by each second mobile terminal according to the total money of the red packet, the number of the red packets, the area ratio of the first folding screen and the area ratio of each second folding screen.
In the embodiment of the invention, a user who robs the red packet, namely a second mobile terminal user, can strive for the red packet with a large amount in a screen folding mode, the first mobile terminal can roughly control the allocation of the amount of the red packet split by each second mobile terminal according to the second folding screen area occupation ratio of each second mobile terminal, specifically, the red packet with a large amount can be allocated to the second mobile terminal with the screen folding area occupation ratio closest to the first screen folding area occupation ratio, and the red packet with a small amount can be allocated to the second mobile terminal with the first screen folding area occupation ratio with the screen folding area occupation ratio largest. Since the folding effects finally obtained when the folding screen of the second mobile terminal is folded by each second mobile terminal user are different, it is of unknown interest to allocate each red packet amount by referring to the second folding screen area ratio of each second mobile terminal.
When the amount of money of the red packet split by each second mobile terminal is allocated, the allocation may be performed by the first mobile terminal that transmits the red packet or by the server. When the server distributes the money amount of the red packets split by each second mobile terminal, the server determines relevant parameters of the red packets sent by the first mobile terminal, such as the total money amount of the red packets, the number of the red packets and the first folding screen area ratio, obtains the second folding screen area ratio of the second mobile terminal splitting the red packets by each second mobile terminal, and distributes the money amount of the red packets split by each second mobile terminal according to the total money amount of the red packets, the number of the red packets, the first folding screen area ratio and the second folding screen area ratio.
The method for allocating the money amount of the red packets provided by the embodiment of the invention allocates the money amount of the red packets split by each second mobile terminal according to the total money amount of the red packets input by the first mobile terminal user, the number of the red packets, the first folding screen area ratio input by the first mobile terminal user and the second folding screen area ratio of each second mobile terminal. Because each red packet amount can be associated with the second folding screen area ratio, and the second folding screen area ratio can be controlled by the second mobile terminal user by folding the screen of the second mobile terminal according to the first folding screen area ratio, the red packet amount distribution method provided by the embodiment of the invention is not as single as average distribution, and the red packet amount distribution method can also ensure that a user who robs a red packet, namely the second mobile terminal user, has certain control force for red packet amount distribution and is interesting.
Example two
Referring to fig. 2, a flowchart of the steps of a method for allocating a red envelope amount according to a second embodiment of the present invention is shown.
The red packet amount distribution method provided by the embodiment of the invention comprises the following steps:
step 201: and receiving a setting instruction of the total amount of the red packets, the number of the red packets and the area ratio of the first folding screen from a user.
The number of red parcels may be represented by n, the total number of red parcels may be represented by m, and the first folded screen area to area ratio may be represented by S1. In a specific implementation process, a user can set the total amount of the red packets, the number of the red packets and the area ratio of the first folding screen according to actual requirements.
Step 202: and respectively determining the second folded screen area ratio of the second mobile terminal for splitting the red packet.
The area of the second folded screen is a third area and a fourth area, the third area is the whole area of the second screen of the second mobile terminal, and the fourth area is the area of the sub-screen after the second screen is folded. The second folded screen area ratio may be represented by S2.
When a second mobile terminal user clicks to grab a red envelope, a first folding screen area ratio set by a first mobile terminal user is displayed in a second mobile terminal interface, the second mobile terminal user folds a second screen of the second mobile terminal according to the first folding screen area ratio, and the second mobile terminal determines a second folding screen area ratio through the whole area of a folded sub-screen and the second screen. And the second mobile terminal sends the second folded screen area ratio to the first mobile terminal. In this way, the first mobile terminal can determine the second folded screen area ratio of each second mobile terminal robbing the red envelope.
Step 203: and respectively determining the similarity of the area ratio of each second folded screen to the area ratio of the first folded screen.
Each second mobile terminal corresponds to a similarity, the similarity may be an inverse of an absolute value of a difference between the second folded screen area ratio and the first folded screen area ratio, and the similarity may be represented by Y.
After the similarity corresponding to each second mobile terminal is determined, allocating the money amount of the red packet split by each second mobile terminal according to the total money amount of the red packet, the number of the red packets and the similarity corresponding to each second mobile terminal, wherein the specific allocation flow refers to the flow from step 204 to step 205.
Step 204: and sequencing the second mobile terminals according to the similarity from high to low.
After the second mobile terminals are sorted from high to low according to the similarity, the red packet amount split by the second mobile terminal which is more front in the sorting is larger.
In a specific implementation process, the second mobile terminals may also be sorted according to the similarity from low to high, and the red packet amount split by the second mobile terminal which is the earlier sorted is correspondingly smaller.
Step 205: and distributing the money of the red packet split by each second mobile terminal according to the total money of the red packet, the number of the red packets and the rank of each second mobile terminal in the sequence.
One way to preferably allocate the money amount of the red envelope split by each second mobile terminal according to the total money amount of the red envelope, the number of the red envelopes and the rank of each second mobile terminal in the sorting is as follows:
firstly, determining the amount of single money according to the total amount of the red packets and the number of the red packets;
when the amount of the single copy is determined, the total number of copies can be determined according to the number of the red packets; and determining the amount of the single copy according to the total number of the copies and the total amount of the red packet. For example: m is the total amount of the red packets, n is the number of the red packets, m can be averagely divided into n (n +1)/2 parts, namely the total amount is divided, and the single part amount is 2m/n (n + 1).
Secondly, determining the number of copies corresponding to each second mobile terminal according to the rank of each second mobile terminal in the sequence;
the number of the copies corresponding to each second mobile terminal from front to back in the sequence is n, n-1, … … and 1.
And finally, distributing the money of the red packet split by each second mobile terminal according to the corresponding number of copies and the single money of each second mobile terminal.
The second mobile terminal ranked first (with the highest corresponding similarity) may be assigned a red envelope of 2m/n (n +1) × n;
the second mobile terminal with the lowest similarity ranked at the last may be assigned a red envelope of 2m/n (n +1) money.
The method for allocating the money amount of the red packets provided by the embodiment of the invention allocates the money amount of the red packets split by each second mobile terminal according to the total money amount of the red packets input by the first mobile terminal user, the number of the red packets, the first folding screen area ratio input by the first mobile terminal user and the second folding screen area ratio of each second mobile terminal. Because each red packet amount can be associated with the second folding screen area ratio, and the second folding screen area ratio can be controlled by the second mobile terminal user by folding the screen of the second mobile terminal according to the first folding screen area ratio, the red packet amount distribution method provided by the embodiment of the invention is not as single as average distribution, and the red packet amount distribution method can also ensure that a user who robs a red packet, namely the second mobile terminal user, has certain control force for red packet amount distribution and is interesting. In addition, in the embodiment of the invention, the second mobile terminals are sequenced according to the corresponding similarity of the second mobile terminals, and the split red packets are distributed with money according to the rank of the second mobile terminals in the sequencing, so that the fairness and the fairness of money distribution can be improved.
EXAMPLE III
Referring to fig. 3, a block diagram of a mobile terminal according to a third embodiment of the present invention is shown.
The mobile terminal of the embodiment of the present invention is used as a first mobile terminal, and the mobile terminal includes: a receiving module 301, configured to receive a setting instruction of a user for a total amount of red parcels, the number of red parcels, and a first folded screen area ratio, where the first folded screen area ratio is a first area to a second area ratio, the first area is an entire area of a first screen of the first mobile terminal, and the second area is an area of a sub-screen after the first screen is folded; a determining module 302, configured to determine a second folded screen area ratio of each second mobile terminal splitting the red packet, where the second folded screen area ratio is a third area to a fourth area, the third area is an entire area of a second screen of the second mobile terminal, and the fourth area is an area of a sub-screen after the second screen is folded; the allocating module 303 is configured to allocate the money of the red packets split by each second mobile terminal according to the total money of the red packets, the number of the red packets, the first folded screen area ratio, and each second folded screen area ratio.
Preferably, the allocating module 303 includes: the similarity determining submodule 3031 is configured to determine similarity between each second folded screen area ratio and the first folded screen area ratio, where the similarity is an inverse of an absolute value of a difference between the second folded screen area ratio and the first folded screen area ratio, and each second mobile terminal corresponds to one similarity; and the amount distribution submodule 3032 is configured to distribute the amount of the red packet split by each second mobile terminal according to the total amount of the red packets, the number of the red packets, and the similarity corresponding to each second mobile terminal.
Preferably, the amount allocating sub-module 3032 includes: the first unit is used for sequencing the second mobile terminals from high to low according to the similarity; and the second unit is used for distributing the money of the red packet split by each second mobile terminal according to the total money of the red packet, the number of the red packets and the rank of each second mobile terminal in the sequence.
Preferably, the second unit includes: the single-share amount determining subunit is used for determining the single-share amount according to the total amount of the red packets and the number of the red packets; the number of copies determining subunit is configured to determine, according to the rank of each second mobile terminal in the sequence, the number of copies corresponding to each second mobile terminal; and the amount determining subunit is configured to determine the amount of the red packet split by each second mobile terminal according to the number of copies corresponding to each second mobile terminal and the amount of the single copy.
Preferably, the single-share amount determination subunit is specifically configured to: determining the total number of money to be divided according to the number of the red packets; and determining the amount of the single copy according to the total number of the copies and the total amount of the red packet.
The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 3, and is not described herein again to avoid repetition.
According to the mobile terminal provided by the embodiment of the invention, the money of the red packet split by each second mobile terminal is distributed according to the total money of the red packet, the number of the red packets, the area ratio of the first folding screen and the area ratio of the second folding screen of each second mobile terminal, which are input by a user. Because each red packet amount can be associated with the second folding screen area ratio, and the second folding screen area ratio can be controlled by the second mobile terminal user by folding the screen of the second mobile terminal according to the first folding screen area ratio, the mobile terminal provided by the embodiment of the invention does not have a single dead space as average distribution when the red packet amount distribution is performed, and can also enable a user who robs the red packet, namely the second mobile terminal user, to distribute a certain control force to the red packet amount distribution, and the mobile terminal has interestingness.
Example four
Referring to fig. 4, a block diagram of a mobile terminal according to a fourth embodiment of the present invention is shown.
Fig. 4 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 4 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 410 is configured to receive a setting instruction of a user on a total amount of red packets, the number of red packets, and a first folded screen area ratio, where the first folded screen area ratio is a first area to a second area ratio, the first area is an entire area of a first screen of the first mobile terminal, and the second area is an area of a sub-screen after the first screen is folded; determining a second folded screen area ratio of each second mobile terminal for splitting the red packet, wherein the second folded screen area ratio is a third area to a fourth area ratio, the third area is the whole area of a second screen of the second mobile terminal, and the fourth area is the area of a sub-screen after the second screen is folded; and distributing the money of the red packets split by each second mobile terminal according to the total money of the red packets, the number of the red packets, the area ratio of the first folding screen and the area ratio of each second folding screen.
According to the mobile terminal provided by the embodiment of the invention, the money of the red packet split by each second mobile terminal is distributed according to the total money of the red packet, the number of the red packets, the area ratio of the first folding screen and the area ratio of the second folding screen of each second mobile terminal, which are input by a user. Because each red packet amount can be associated with the second folding screen area ratio, and the second folding screen area ratio can be controlled by the second mobile terminal user by folding the screen of the second mobile terminal according to the first folding screen area ratio, the mobile terminal provided by the embodiment of the invention does not have a single dead space as average distribution when the red packet amount distribution is performed, and can also enable a user who robs the red packet, namely the second mobile terminal user, to distribute a certain control force to the red packet amount distribution, and the mobile terminal has interestingness.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 402, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the mobile terminal 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The mobile terminal 400 also includes at least one sensor 405, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 4061 and/or the backlight when the mobile terminal 400 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 408 is an interface through which an external device is connected to the mobile terminal 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 400 or may be used to transmit data between the mobile terminal 400 and external devices.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby integrally monitoring the mobile terminal. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The mobile terminal 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the mobile terminal 400 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when being executed by the processor 410, the computer program implements each process of the foregoing red packet amount allocation method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the foregoing red packet amount allocation method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. A red envelope amount distribution method is applied to a first mobile terminal, and is characterized by comprising the following steps:
receiving a setting instruction of a user on the total amount of the red packets, the number of the red packets and a first folding screen area ratio, wherein the first folding screen area ratio is a first area to a second area ratio, the first area is the whole area of a first screen of the first mobile terminal, and the second area is the area of a sub-screen after the first screen is folded;
determining a second folded screen area ratio of each second mobile terminal for splitting the red packet, wherein the second folded screen area ratio is a third area to a fourth area ratio, the third area is the whole area of a second screen of the second mobile terminal, and the third area is the area of a sub-screen after the second screen is folded;
according to the total amount of the red packets, the number of the red packets, the area ratio of the first folding screen and the area ratio of each second folding screen, the first mobile terminal distributes the amount of the red packets split by each second mobile terminal;
the step of allocating, by the first mobile terminal, the amount of the red envelope split by each second mobile terminal according to the total amount of the red envelopes, the number of the red envelopes, the first folded screen area ratio, and each second folded screen area ratio includes:
respectively determining the similarity of each second folded screen area ratio and the first folded screen area ratio, wherein the similarity is the reciprocal of the absolute value of the difference between the second folded screen area ratio and the first folded screen area ratio, and each second mobile terminal corresponds to one similarity;
the first mobile terminal distributes the money of the red packet split by each second mobile terminal according to the total money of the red packet, the number of the red packets and the corresponding similarity of each second mobile terminal;
wherein, the determining the second folded screen area ratio of the second mobile terminal splitting the red packet respectively comprises:
clicking to get the red envelope by the user of each second mobile terminal;
displaying the first folded screen area ratio set by the first mobile terminal user in an interface of the second mobile terminal;
according to the first folding screen area ratio, a user of the second mobile terminal folds to obtain a second folding screen area ratio;
and sending the second folded screen area ratio to the first mobile terminal.
2. The method according to claim 1, wherein the step of allocating the money amount of the red envelope split by each second mobile terminal according to the total money amount of the red envelopes, the number of the red envelopes, and the similarity corresponding to each second mobile terminal comprises:
sequencing the second mobile terminals according to the similarity from high to low;
and distributing the money of the red packet split by each second mobile terminal according to the total money of the red packets, the number of the red packets and the rank of each second mobile terminal in the sequence.
3. The method according to claim 2, wherein the step of allocating the amount of the red envelope split by each second mobile terminal according to the total amount of the red envelopes, the number of the red envelopes and the rank of each second mobile terminal in the sequence comprises:
determining the amount of single money according to the total amount of the red packets and the number of the red packets;
determining the number of copies corresponding to each second mobile terminal according to the rank of each second mobile terminal in the sequence;
and distributing the money of the red packet split by each second mobile terminal according to the corresponding number of copies of each second mobile terminal and the single money amount.
4. The method of claim 3, wherein said step of determining a single portion amount based on said total amount of said red envelope and said number of said red envelopes comprises:
determining the total number of money to be divided according to the number of the red packets;
and determining the amount of the single copy according to the total number of the copies and the total amount of the red packet.
5. A mobile terminal as a first mobile terminal, the mobile terminal comprising:
the mobile terminal comprises a receiving module, a display module and a display module, wherein the receiving module is used for receiving a setting instruction of a user on the total amount of the red packets, the number of the red packets and the area ratio of a first folding screen, the first folding screen area ratio is a first area to a second area ratio, the first area is the whole area of a first screen of the first mobile terminal, and the second area is the area of a sub-screen after the first screen is folded;
the determining module is configured to determine a second folded screen area ratio of each second mobile terminal splitting the red packet, where the second folded screen area ratio is a third area to a fourth area ratio, the third area is an entire area of a second screen of the second mobile terminal, and the third area is an area of a sub-screen after the second screen is folded;
the distribution module is used for distributing the money of the red packets split by each second mobile terminal according to the total money of the red packets, the number of the red packets, the area ratio of the first folding screen and the area ratio of each second folding screen;
the distribution module includes:
the similarity determining submodule is used for respectively determining the similarity between each second folded screen area ratio and the first folded screen area ratio, wherein the similarity is the reciprocal of the absolute value of the difference between the second folded screen area ratio and the first folded screen area ratio, and each second mobile terminal corresponds to one similarity;
the money distribution submodule is used for distributing the money of the red packet split by each second mobile terminal according to the total money of the red packet, the number of the red packets and the corresponding similarity of each second mobile terminal;
the determining module is further configured to:
clicking to get the red envelope by the user of each second mobile terminal;
displaying the first folded screen area ratio set by the first mobile terminal user in an interface of the second mobile terminal;
according to the first folding screen area ratio, a user of the second mobile terminal folds to obtain a second folding screen area ratio;
and sending the second folded screen area ratio to the first mobile terminal.
6. The mobile terminal of claim 5, wherein the money allocation sub-module comprises:
the first unit is used for sequencing the second mobile terminals from high to low according to the similarity;
and the second unit is used for distributing the money of the red packet split by each second mobile terminal according to the total money of the red packet, the number of the red packets and the rank of each second mobile terminal in the sequence.
7. The mobile terminal of claim 6, wherein the second unit comprises:
the single-share amount determining subunit is used for determining the single-share amount according to the total amount of the red packets and the number of the red packets;
the number of copies determining subunit is configured to determine, according to the rank of each second mobile terminal in the sequence, the number of copies corresponding to each second mobile terminal;
and the amount determining subunit is configured to determine the amount of the red packet split by each second mobile terminal according to the number of copies corresponding to each second mobile terminal and the amount of the single copy.
8. The mobile terminal of claim 7, wherein the single-share amount determination subunit is specifically configured to:
determining the total number of money to be divided according to the number of the red packets;
and determining the amount of the single copy according to the total number of the copies and the total amount of the red packet.
9. A mobile terminal comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the red-envelope money allocation method according to any one of claims 1 to 4.
CN201910672749.3A 2019-07-24 2019-07-24 Red packet amount distribution method and mobile terminal Active CN110489046B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910672749.3A CN110489046B (en) 2019-07-24 2019-07-24 Red packet amount distribution method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910672749.3A CN110489046B (en) 2019-07-24 2019-07-24 Red packet amount distribution method and mobile terminal

Publications (2)

Publication Number Publication Date
CN110489046A CN110489046A (en) 2019-11-22
CN110489046B true CN110489046B (en) 2021-04-27

Family

ID=68548135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910672749.3A Active CN110489046B (en) 2019-07-24 2019-07-24 Red packet amount distribution method and mobile terminal

Country Status (1)

Country Link
CN (1) CN110489046B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150193804A1 (en) * 2014-01-09 2015-07-09 Microsoft Corporation Incentive mechanisms for user interaction and content consumption
CN105915437A (en) * 2016-04-14 2016-08-31 浙江翼信科技有限公司 Electronic resource distribution method and apparatus
CN107979525A (en) * 2017-10-11 2018-05-01 上海掌门科技有限公司 A kind of red packet distribution method, equipment and medium
CN107888392A (en) * 2017-11-28 2018-04-06 维沃移动通信有限公司 A kind of information processing method, server and mobile terminal

Also Published As

Publication number Publication date
CN110489046A (en) 2019-11-22

Similar Documents

Publication Publication Date Title
CN111049979B (en) Application sharing method, electronic equipment and computer readable storage medium
CN109768926B (en) Data processing method, terminal equipment and computer readable storage medium
CN108182019B (en) Suspension control display processing method and mobile terminal
CN110062105B (en) Interface display method and terminal equipment
CN110913066A (en) Display method and electronic equipment
CN110166439B (en) Equipment sharing method, terminal, router and server
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
CN109710349B (en) Screen capturing method and mobile terminal
CN111130989B (en) Information display and sending method and electronic equipment
CN109523253B (en) Payment method and device
CN107748640B (en) Screen-off display method and mobile terminal
CN110866038A (en) Information recommendation method and terminal equipment
CN110569119B (en) Background application program management method and terminal
CN108920040B (en) Application icon sorting method and mobile terminal
CN109710130B (en) Display method and terminal
CN108509141B (en) Control generation method and mobile terminal
CN108601048B (en) Flow control method and mobile terminal
CN109982273B (en) Information reply method and mobile terminal
CN111124569A (en) Application sharing method, electronic equipment and computer readable storage medium
CN108536513B (en) Picture display direction adjusting method and mobile terminal
CN110378798B (en) Heterogeneous social network construction method, group recommendation method, device and equipment
CN109189735B (en) Preview image display method and mobile terminal
CN109189517B (en) Display switching method and mobile terminal
CN111178306A (en) Display control method and electronic equipment
CN111209072A (en) Application sharing method, first electronic device and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant