Short message receipt processing method and system, electronic equipment and storage medium

By analyzing and dividing SMS receipts, locking and forwarding receipt groups, the problem of low database expansion and processing efficiency in the existing technology is solved, and resource conservation and efficient processing are achieved.

CN119835611AActive Publication Date: 2025-04-15GUANGZHOU XUANWU WIRELESS TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411800857.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-04-15
Estimated Expiration
2044-12-09

AI Technical Summary

Technical Problem

The existing SMS issuance processing solution requires continuous expansion of the database to accommodate SMS receipts, resulting in increased usage costs and low processing efficiency.

Method used

By obtaining SMS receipts, analyzing user information, dividing receipt groups, and locking and forwarding the corresponding receipt groups when the user pulls the request, multi-threaded batch processing is realized.

Benefits of technology

Reduces the resources occupied by SMS receipt storage, improves processing efficiency, reduces repeated pulls, and reduces usage costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119835611A_ABST
    Figure CN119835611A_ABST
Patent Text Reader

Abstract

The invention discloses a short message receipt processing method and system, electronic equipment and a storage medium, and the method comprises the steps: obtaining a plurality of short message receipts, analyzing the plurality of short message receipts, and determining user information; dividing the plurality of short message receipts according to the user information to obtain a plurality of receipt groups containing the short message receipts and memory resources; in response to a user pull request, determining a first target group from the plurality of receipt groups according to the user pull request, forwarding the first target group, and locking the first target group; the obtained short message receipts are grouped, and the receipt group is forwarded when the user pulls the short message receipts, so that multi-thread batch processing of the short message receipts is realized; meanwhile, the forwarded first target group is locked, repeated pulling of the short message receipt is reduced, the processing efficiency is improved, resources occupied by short message receipt storage are reduced, and the use cost is reduced; the embodiment of the invention can be widely applied to the technical field of data processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a method, system, electronic device and storage medium for processing short message receipts. Background Art

[0002] In the existing SMS delivery processing solution, the SMS service system forwards the SMS sent by the user to the operator, obtains the SMS receipt or status report returned by the operator through channels, and stores the obtained SMS receipt in the database; when the user requests the SMS receipt, the database is queried and the SMS receipt is returned to the user in batches; with the continuous growth of SMS business, the existing solution needs to continuously expand the database to accommodate SMS receipts, increasing the cost of use; at the same time, the writing and reading of SMS data volume is limited by the database, and the processing efficiency is low. Summary of the invention

[0003] The main purpose of the embodiments of the present invention is to provide a method, system, electronic device and storage medium for processing short message receipts, which can reduce usage costs and improve processing efficiency.

[0004] To achieve the above object, an embodiment of the present invention provides a method for processing a text message receipt, the method comprising:

[0005] Obtaining a number of SMS receipts, parsing the plurality of SMS receipts, and determining user information;

[0006] Dividing the plurality of SMS receipts according to the user information to obtain a plurality of receipt groups; wherein the receipt groups include the plurality of SMS receipts and memory resources;

[0007] In response to a user pull request, a first target group is determined according to the user pull request and a plurality of the receipt groups, the first target group is locked, and the first target group is forwarded according to the user pull request.

[0008] In some embodiments, the dividing of the plurality of SMS receipts according to the user information to obtain a plurality of receipt groups specifically includes:

[0009] Parsing the user information to determine user concurrent volume information, and determining a number of information slots according to the user concurrent volume information;

[0010] Memory resources are allocated to a plurality of the information slots to obtain a plurality of memory slots; and a plurality of the short message receipts are allocated according to the plurality of the memory slots to obtain a plurality of the receipt groups.

[0011] In some embodiments, after forwarding the first target group according to the user pull request, the method further includes:

[0012] Obtaining a user request, parsing the user request, and determining the request type;

[0013] If the request type is a user pull request, determine a second target group according to the user request and a plurality of the receipt groups, and forward the second target group according to the user request; wherein the second target group includes the unlocked receipt group;

[0014] If the request type is a data confirmation request, a first operation is performed on the locked first target group according to the user request to obtain a released first target group.

[0015] In some embodiments, performing a first operation on the locked first target group according to the user request to obtain a released first target group specifically includes:

[0016] Parsing the user request to determine data confirmation information, deleting data of the locked first target group according to the data confirmation information, generating deletion information and feeding it back to the user so that the user confirms the deletion information, and generating deletion confirmation information;

[0017] In response to the deletion confirmation information, the first target group after the data is deleted is unlocked to obtain the released first target group.

[0018] In some embodiments, the method further comprises:

[0019] Acquire current memory usage information according to a preset period, and compare the current memory usage information with a preset threshold;

[0020] If the current memory usage information is less than the preset threshold, performing the division of the plurality of SMS receipts according to the user information to obtain a plurality of receipt groups;

[0021] If the current memory usage information is greater than or equal to the preset threshold, stop dividing the plurality of SMS receipts.

[0022] In some embodiments, the method further comprises:

[0023] Obtain a first time value, and compare the first time value with a preset time threshold; if the first time value is greater than or equal to the preset time value, unlock the locked first target group; wherein the first time value represents the locking time of the first target group.

[0024] In some embodiments, the method further comprises:

[0025] Obtain a number of the SMS receipts, send the number of the SMS receipts to a message queue, obtain a number of SMS receipts from the message queue, and perform the parsing of the number of the SMS receipts to determine user information.

[0026] To achieve the above object, another aspect of an embodiment of the present invention provides a short message receipt processing system, the system comprising:

[0027] The first module is used to obtain a number of SMS receipts, parse the SMS receipts, and determine user information;

[0028] The second module is used to divide the plurality of SMS receipts according to the user information to obtain a plurality of receipt groups; wherein the receipt group includes a plurality of SMS receipts and memory resources;

[0029] The third module is used to respond to a user pull request, determine a first target group according to the user pull request and a plurality of receipt groups, lock the first target group, and forward the first target group according to the user pull request.

[0030] To achieve the above-mentioned purpose, another aspect of an embodiment of the present application provides an electronic device, the electronic device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the above-mentioned method when executing the computer program.

[0031] To achieve the above objective, another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described above is implemented.

[0032] Implementation of the embodiments of the present invention includes the following beneficial effects: the embodiments provide a method, system, electronic device and storage medium for processing text message receipts, the method obtaining a number of text message receipts, parsing the number of text message receipts, and determining user information; dividing the number of text message receipts according to the user information to obtain a number of receipt groups including text message receipts and memory resources; in response to a user pull request, determining a first target group from the number of receipt groups according to the user pull request, and forwarding the first target group; grouping the obtained text message receipts, forwarding the receipt group when the user pulls the text message receipt, thereby realizing multi-threaded batch processing of the text message receipts; at the same time, locking the forwarded first target group, reducing repeated pulling of text message receipts, improving processing efficiency, reducing resources occupied by text message receipt storage, and reducing usage costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is a schematic diagram of the steps of a method for processing a text message receipt provided by an embodiment of the present invention;

[0034] Figure 2 It is a schematic flow chart of the steps of determining a receipt group in a method for processing a short message receipt provided by an embodiment of the present invention;

[0035] Figure 3 It is a schematic flow chart of the steps of processing a user request in a method for processing a short message receipt provided by an embodiment of the present invention;

[0036] Figure 4 It is a schematic flow chart of the steps of performing the second operation in a method for processing a short message receipt provided by an embodiment of the present invention;

[0037] Figure 5 It is a schematic flow chart of the steps of determining a receipt group according to a memory usage rate in a method for processing a short message receipt provided by an embodiment of the present invention;

[0038] Figure 6 It is a structural diagram of a short message service system in a specific embodiment provided by an embodiment of the present invention;

[0039] Figure 7 It is a schematic diagram of a step flow of a specific embodiment provided by an embodiment of the present invention;

[0040] Figure 8 It is a structural diagram of a redis slot in a specific embodiment provided by an embodiment of the present invention;

[0041] Fig. 9 It is a structural block diagram of a short message receipt processing system provided by an embodiment of the present invention;

[0042] Fig.10 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention;

[0043] Among them, 1 is the user sending module, 2 is the user pulling status report module, 3 is the SMS receiving module, 4 is the channel, 5 is the operator, 6 is the rocketmq queue, 7 is the receipt distribution module, 8 is the high-speed memory redis, and 9 is the receipt acquisition module. DETAILED DESCRIPTION

[0044] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The step numbers in the following embodiments are only provided for the convenience of explanation and description, and the order between the steps is not limited in any way. The execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.

[0045] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0046] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present invention described herein can be implemented in an order other than that illustrated or described herein.

[0047] Unless otherwise defined, all technical and scientific terms used in the embodiments of the present invention have the same meanings as those commonly understood by those skilled in the art of the present invention. The terms used in the embodiments of the present invention are only for the purpose of describing the embodiments of the present invention and are not intended to limit the present invention.

[0048] Figure 1 is an optional flowchart of a method for processing a text message receipt provided by an embodiment of the present invention. Figure 1 The method may include but is not limited to steps S101 to S103.

[0049] Step S101, obtaining a number of SMS receipts, parsing the plurality of SMS receipts, and determining user information;

[0050] Step S102, dividing a plurality of SMS receipts according to user information to obtain a plurality of receipt groups; wherein the receipt group includes a plurality of SMS receipts and memory resources;

[0051] Step S103, in response to the user pull request, determining a first target group according to the user pull request and a plurality of receipt groups, locking the first target group, and forwarding the first target group according to the user pull request.

[0052] Steps S101 to S103 shown in the embodiment of the present invention, a text message receipt processing method provided by the embodiment of the present invention is applied to a text message service system; the user sends a text message to the operator through the text message service system, and the operator generates a corresponding text message receipt or status report after processing the sent text message, and returns it to the text message service system; the text message service system obtains the text message receipt through the corresponding channel, parses the text message receipt, extracts the user information therein, and groups the obtained text message receipts according to the user information, and forwards the grouped text message receipts in batches when the user requests; at the same time, the forwarded text message receipts are locked to avoid forwarding duplicate text message receipts when the user requests, so as to improve processing efficiency.

[0053] In step S101 of some embodiments, the obtained SMS receipt can be temporarily cached in a database, such as MySQL, to increase the data processing capacity. Alternatively, a message queue with high write performance can be used to write the SMS receipt or status report returned by the operator into the message queue for cache, and the function module for distributing SMS receipts in the system reads the SMS receipt from the message queue for distribution, such as RocketMQ.

[0054] See also Figure 2 In some embodiments, step S102 may include but is not limited to steps S201 to S202:

[0055] Step S201, parsing user information, determining user concurrent volume information, and determining a number of information slots according to the user concurrent volume information;

[0056] Step S202, allocate memory resources to a plurality of information slots to obtain a plurality of memory slots; allocate a plurality of short message receipts according to the plurality of memory slots to obtain a plurality of receipt groups.

[0057] In step S201 of some embodiments, the obtained SMS receipt is parsed to determine the concurrency information in the user information, where the concurrency information is the maximum number of SMS receipts that the user can pull and forward at the same time; the system determines to divide the SMS receipt into a corresponding number of SMS receipt groups based on the user's concurrency information, and forwards a corresponding number of SMS receipt groups when the user pulls the SMS receipt, thereby increasing the data forwarding volume and data processing efficiency through multi-threading and multi-process methods; in this embodiment, the SMS receipts are grouped using high-speed cache redis.

[0058] In step S202 of some embodiments, after determining the number of groups of SMS receipts, the system allocates corresponding resources in the memory device, then allocates a certain number of SMS receipts, and then obtains a SMS receipt group through processing such as encapsulation; in this embodiment, the system constructs the same number of redis structure slots in the redis cache according to the user's concurrency data and allocates corresponding memory resources for allocating SMS receipts, and the system allocates the SMS receipts to the corresponding redis structure slots according to the user information of the SMS receipts; illustratively, the system allocates the SMS receipts according to the message ID of the SMS receipt, or allocates them according to the timestamp information of the SMS receipt, etc.

[0059] See also Figure 3 In this embodiment, after step S103, steps S301 to S303 may also be included but not limited to:

[0060] Step S301, obtaining a user request, parsing the user request, and determining the request type;

[0061] Step S302: if the request type is a user pull request, determine a second target group according to the user request and a plurality of receipt groups, and forward the second target group according to the user request; wherein the second target group includes an unlocked receipt group;

[0062] Step S303: If the request type is a data confirmation request, a first operation is performed on the locked first target group according to the user request to obtain a released first target group.

[0063] In step S301 of some embodiments, after the system responds to the user pull request and forwards the SMS receipt group, the system monitors the user request information sent by the user terminal in real time, parses the received user request, and determines the type of user request; and determines whether to unlock and release the locked SMS receipt group or forward the remaining SMS receipt groups based on the type of user request.

[0064] In step S302 of some embodiments, the system parses the received user request and determines that the user request is a pull request, and the system selects one from the remaining unlocked SMS receipt groups for forwarding based on the user request; illustratively, the system queries the remaining unlocked SMS receipt groups based on the user ID information and operator information in the user request, determines the SMS receipt group that matches the user ID information and operator information, forwards the SMS receipt group, and locks the SMS receipt group to avoid forwarding the SMS receipt group with the same content when forwarding it again subsequently.

[0065] In step S303 of some embodiments, the system parses the received user request and determines that the user request is confirmation information. The system can determine that the user has received a forwarded SMS receipt group. The system can perform corresponding processing on the locked SMS receipt group, unlock and release the SMS receipt group for new SMS receipt allocation; at the same time, the corresponding memory resources are released to reduce the occupation of system resources by SMS receipts, thereby reducing the system's expansion requirements and reducing usage costs.

[0066] See also Figure 4 In some embodiments, step S303 may include but is not limited to steps S401 to S402:

[0067] Step S401, parsing the user request, determining data confirmation information, deleting data of the locked first target group according to the data confirmation information, generating deletion information and feeding it back to the user so that the user confirms the deletion information, and generating deletion confirmation information;

[0068] Step S402: In response to the deletion confirmation information, unlock the first target group after the data is deleted to obtain a released first target group.

[0069] In step S401 of some embodiments, after the system determines that the user returns a confirmation request, the system parses the received confirmation request and extracts the data confirmation information therein; the system determines the locked target SMS receipt group based on the extracted data confirmation information, such as based on the SMS receipt group number in the data confirmation message, or the user ID, etc.; after the system determines the locked target SMS receipt group, it deletes the SMS receipt data in the target SMS receipt group, and generates a deletion confirmation message and sends it to the user end.

[0070] In step S402 of some embodiments, the user confirms the deletion confirmation message sent by the system and feeds back to the system. After receiving the feedback information, the system unlocks the locked target SMS receipt group; since the SMS receipt data in the target SMS receipt group is deleted, the system can reallocate the SMS receipt to the target SMS receipt group.

[0071] See also Figure 5 In some embodiments, a method for processing a short message receipt provided by an embodiment of the present invention may also include but is not limited to steps S501 to S503:

[0072] Step S501, obtaining current memory usage information according to a preset period, and comparing the current memory usage information with a preset threshold;

[0073] Step S502, if the current memory usage information is less than a preset threshold, dividing the plurality of SMS receipts according to the user information to obtain a plurality of receipt groups;

[0074] Step S503: if the current memory usage information is greater than or equal to a preset threshold, stop dividing the plurality of SMS receipts.

[0075] In step S501 of some embodiments, the system constructs information slots based on user concurrency information, allocates memory resources to each information slot, and then allocates SMS receipts to each information slot to which memory resources are allocated; the system periodically obtains the usage of memory resources in the system, and determines whether the current memory resources of the system are sufficient based on preset thresholds, so as to reduce the risk of excessive use of system memory resources and affecting business processing.

[0076] In step S502 of some embodiments, if the usage of memory resources in the system is less than a preset threshold, the system performs the SMS receipt distribution operation normally, constructs an information slot based on the user concurrency information, allocates corresponding memory resources and SMS receipts to the information slot, and forwards the grouped SMS receipts when the user requests to pull.

[0077] In step S503 of some embodiments, if the usage of memory resources in the system is greater than or equal to a preset threshold, the system stops allocating SMS receipts to avoid excessive memory usage affecting the operation of the system. Corresponding processing strategies can be executed to release memory resources in some information slots and reduce the usage rate of memory resources. In this embodiment, when the memory resource usage rate is greater than or equal to the preset threshold, the system stops obtaining SMS receipts from the message queue RocketMQ, waits for the user to confirm the deletion of the forwarded SMS receipt group, releases the memory resources of this type of SMS receipt group, and then allocates the newly obtained SMS receipts.

[0078] In some embodiments, the system locks the SMS receipt group forwarded in response to a user pull request. When the user requests to pull again, the system will not forward the locked SMS receipt group, thereby reducing the forwarding of duplicate data; when the user confirms the SMS receipt data forwarded by the system, the system deletes the data in the locked SMS receipt group; and after the user confirms the deletion, the locked SMS receipt group is unlocked to release memory; if the system does not receive the user's confirmation information within a preset time, such as 180 seconds, after forwarding and locking the SMS receipt group, it can be determined that an abnormality may have occurred on the user side, such as a failure of a functional module of the SMS receipt obtained by the user side, or the user processes the SMS receipt too slowly, etc., resulting in the loss of the SMS receipt data forwarded by the system or an error, and the user side cannot confirm the data; the system unlocks the locked SMS receipt group, and the user can re-pull the data in the SMS receipt group for processing.

[0079] The following is a detailed description and explanation of the solution of the embodiment of the present invention in conjunction with a specific application example:

[0080] See also Figure 6 , Figure 6 It is a structural diagram of the SMS service system in the specific application of the present invention, which includes an SMS receiving module, a channel, a receipt distribution module, a receipt acquisition module, a high-speed memory redis and a rocketmq queue; the SMS receiving module is respectively connected to the channel and the user sending module in the user module of several user modules accessing the SMS service, receives the SMS sent by the user, and sends it to the operator through the channel; the operator returns the SMS receipt to the channel, which is processed by the receipt distribution module, the receipt acquisition module, the high-speed memory redis and the rocketmq queue respectively, and then sent to the user pull status report module in the user module of several user modules accessing the SMS service; please refer to Figure 7, the channel of the SMS service system sends the obtained SMS receipt to RocketMQ with high write performance as the persistent storage of SMS receipt; the receipt distribution module obtains the usage rate of high-speed memory Redis regularly to determine whether the Redis memory is sufficient; when the Redis memory is sufficient, the SMS receipt is obtained from RocketMQ, the SMS receipt is analyzed, the user account information is determined, and the concurrent amount of user concurrent pull in the user account information is constructed as follows Figure 8 In the redis slot shown, the obtained SMS receipt is allocated to the redis slot; the receipt acquisition module receives the SMS receipt acquisition request sent by the user pull status report module on the user side, randomly selects one from the redis slots allocated with the SMS receipt and forwards it to the user pull status report module, locks the selected redis slot at the same time, and waits for the user pull status report module to feedback confirmation information. If the user pull status report module does not feedback confirmation information and performs a second pull, the receipt acquisition module randomly selects one from the unlocked redis slot for forwarding; if the user pull status report module feedbacks confirmation information, the user pull status report module deletes the SMS receipt data from the locked redis slot and feeds back deletion information. The user pull status report module confirms the deletion information, the corresponding locked redis slot is unlocked, and the receipt distribution module can distribute SMS receipts to the redis slot.

[0081] Implementation of the embodiments of the present invention includes the following beneficial effects: the embodiments provide a method, system, electronic device and storage medium for processing text message receipts, which method obtains a number of text message receipts, parses the number of text message receipts, and determines user information; divides the number of text message receipts according to the user information to obtain a number of receipt groups including text message receipts and memory resources; in response to a user pull request, determines a first target group from the number of receipt groups according to the user pull request, and forwards the first target group; multi-threaded batch processing of text message receipts is achieved by grouping the obtained text message receipts and forwarding the receipt group when the user pulls the text message receipt; at the same time, the first target group of forwarding is locked to reduce repeated pulling of text message receipts, improve processing efficiency, reduce resources occupied by text message receipt storage, and reduce usage costs; and peak shaving and valley filling is achieved by regularly detecting the system's memory usage and reducing the expansion operation due to excessive memory usage.

[0082] like Fig. 9 As shown, an embodiment of the present invention further provides a short message receipt processing system, which can implement the above-mentioned short message receipt processing method, and the system includes:

[0083] The first module is used to obtain a number of SMS receipts, parse the SMS receipts, and determine user information;

[0084] The second module is used to divide the plurality of SMS receipts according to the user information to obtain a plurality of receipt groups; wherein the receipt group includes a plurality of SMS receipts and memory resources;

[0085] The third module is used to respond to a user pull request, determine a first target group according to the user pull request and a plurality of receipt groups, lock the first target group, and forward the first target group according to the user pull request.

[0086] It can be seen that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0087] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned method for processing a text message receipt when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.

[0088] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0089] See also Fig.10 , Fig.10 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:

[0090] The processor 1001 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0091] The memory 1002 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1002 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 1002, and the processor 1001 calls and executes a method for processing a short message receipt in the embodiment of this application;

[0092] Input / output interface 1003, used to implement information input and output;

[0093] The communication interface 1004 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);

[0094] A bus 1005 , which transmits information between various components of the device (e.g., the processor 1001 , the memory 1002 , the input / output interface 1003 , and the communication interface 1004 );

[0095] The processor 1001 , the memory 1002 , the input / output interface 1003 and the communication interface 1004 are connected to each other in communication within the device via the bus 1005 .

[0096] Among them, the memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. The memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a remote memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0097] In addition, the embodiment of the present application also discloses a computer program product or a computer program, and the computer program product or the computer program is stored in a computer-readable storage medium. The processor of the computer device can read the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device performs the above method. Similarly, the contents in the above method embodiment are all applicable to the storage medium embodiment, and the functions specifically implemented by the storage medium embodiment are the same as those in the above method embodiment, and the beneficial effects achieved are also the same as those achieved by the above method embodiment.

[0098] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned text message receipt processing method is implemented.

[0099] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiments, the functions specifically implemented by the present storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0100] It is understood that all or some steps and systems in the disclosed method above can be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, and the computer-readable medium can include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassette, magnetic tape, disk storage or other magnetic storage device, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0101] The above is a specific description of the preferred implementation of the present invention, but the invention is not limited to the embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.

Claims

1. A method for processing a short message receipt, characterized in that: The following steps are involved: Obtaining a number of SMS receipts, parsing the plurality of SMS receipts, and determining user information; Dividing the plurality of SMS receipts according to the user information to obtain a plurality of receipt groups; wherein the receipt groups include the plurality of SMS receipts and memory resources; In response to a user pull request, a first target group is determined according to the user pull request and a plurality of the receipt groups, the first target group is locked, and the first target group is forwarded according to the user pull request.

2. The method according to claim 1, characterized in that The method of dividing the plurality of SMS receipts according to the user information to obtain a plurality of receipt groups specifically includes: Parsing the user information to determine user concurrent volume information, and determining a number of information slots according to the user concurrent volume information; Memory resources are allocated to a plurality of the information slots to obtain a plurality of memory slots; and a plurality of the short message receipts are allocated according to the plurality of the memory slots to obtain a plurality of the receipt groups.

3. The method according to claim 1, characterized in that After forwarding the first target group according to the user pull request, the method further includes: Obtaining a user request, parsing the user request, and determining the request type; If the request type is a user pull request, determine a second target group according to the user request and a plurality of the receipt groups, and forward the second target group according to the user request; wherein the second target group includes the unlocked receipt group; If the request type is a data confirmation request, a first operation is performed on the locked first target group according to the user request to obtain a released first target group.

4. The method according to claim 3, characterized in that The performing a first operation on the locked first target group according to the user request to obtain a released first target group specifically includes: Parsing the user request to determine data confirmation information, deleting data of the locked first target group according to the data confirmation information, generating deletion information and feeding it back to the user so that the user confirms the deletion information, and generating deletion confirmation information; In response to the deletion confirmation information, the first target group after the data is deleted is unlocked to obtain the released first target group.

5. The method according to claim 1, characterized in that The method further comprises: Acquire current memory usage information according to a preset period, and compare the current memory usage information with a preset threshold; If the current memory usage information is less than the preset threshold, performing the division of the plurality of SMS receipts according to the user information to obtain a plurality of receipt groups; If the current memory usage information is greater than or equal to the preset threshold, stop dividing the plurality of SMS receipts.

6. The method according to claim 1, characterized in that The method further comprises: Obtain a first time value, and compare the first time value with a preset time threshold; if the first time value is greater than or equal to the preset time value, unlock the locked first target group; wherein the first time value represents the locking time of the first target group.

7. The method according to claim 1, characterized in that The method further comprises: Obtain a number of the SMS receipts, send the number of the SMS receipts to a message queue, obtain a number of SMS receipts from the message queue, and perform the parsing of the number of the SMS receipts to determine user information.

8. A short message receipt processing system, characterized in that: include: The first module is used to obtain a number of SMS receipts, parse the SMS receipts, and determine user information; The second module is used to divide the plurality of SMS receipts according to the user information to obtain a plurality of receipt groups; wherein the receipt group includes a plurality of SMS receipts and memory resources; The third module is used to respond to a user pull request, determine a first target group according to the user pull request and a plurality of receipt groups, lock the first target group, and forward the first target group according to the user pull request.

9. An electronic device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a program executable by a processor, characterized in that: The processor-executable program is used to perform the method according to any one of claims 1 to 7 when executed by the processor.

Citation Information

Patent Citations

  • Method for processing color message group send acknowledgement

    CN101409872A

  • Method and system for returning short message service

    CN101616382A

  • Group short message receipt method and device

    CN115379400A

  • Method and system for processing short message submission report and receipt report

    CN115802298A

  • Method for reasoning state of mobile phone number by mining short message receipt data

    CN116361357A