[go: up one dir, main page]

CN113709258B - Praise anti-replay method, equipment and storage medium - Google Patents

Praise anti-replay method, equipment and storage medium Download PDF

Info

Publication number
CN113709258B
CN113709258B CN202111251569.1A CN202111251569A CN113709258B CN 113709258 B CN113709258 B CN 113709258B CN 202111251569 A CN202111251569 A CN 202111251569A CN 113709258 B CN113709258 B CN 113709258B
Authority
CN
China
Prior art keywords
button
time
praise
key
user
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
CN202111251569.1A
Other languages
Chinese (zh)
Other versions
CN113709258A (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.)
New Cloud Technology Group Co ltd
Original Assignee
Hunan New Cloudnet Technology 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 Hunan New Cloudnet Technology Co ltd filed Critical Hunan New Cloudnet Technology Co ltd
Priority to CN202111251569.1A priority Critical patent/CN113709258B/en
Publication of CN113709258A publication Critical patent/CN113709258A/en
Application granted granted Critical
Publication of CN113709258B publication Critical patent/CN113709258B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/535Tracking the activity of the user
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Storage Device Security (AREA)

Abstract

本发明公开了一种点赞防重方法,包括如下步骤:获取用户首次点击所对应的点赞按钮;禁用当前所述点赞按钮;判断所述点赞按钮当前是否已点赞;若已点赞,则无效点赞操作;若未点赞,则启用所述点赞按钮。本发明公开的点赞防重方法、设备及存储介质,能避免因网络延时或用户操作原因等导致对同一内容或信息多次点赞,从而造成需要重新进行点赞操作的问题。

Figure 202111251569

The invention discloses a method for anti-heavy likes, comprising the following steps: obtaining a like button corresponding to the first click of a user; disabling the current like button; judging whether the like button is currently liked; Like, the like operation is invalid; if no like, the like button is enabled. The method, device and storage medium for anti-duplication of likes disclosed in the present invention can avoid the problem of repeating the like operation due to network delay or user operation reasons resulting in multiple likes of the same content or information.

Figure 202111251569

Description

Praise anti-replay method, equipment and storage medium
Technical Field
The present invention relates to the field of internet information technologies, and in particular, to a method, an apparatus, and a storage medium for praise duplicate prevention.
Background
With the popularization of 5G networks and the popularization of intelligent terminals, the application of various social platforms and interactive platforms is also rapidly developed. In a common social and interactive platform, audio and video content and text information have a praise function, that is, if a user feels that a certain audio and video or a certain section of text has enjoyment or joy, the user can praise the corresponding audio and video or text.
Praise is operated by clicking on corresponding function icons, which are generally in the shape of a palm or a fist, and clicking on the icon by the user indicates praise, the icon changes to another form, for example, changes from a blank inside to being filled with other colors, or raises a thumb, etc., thereby indicating praise. Usually, clicking once is normally like to click, and clicking once again becomes like to cancel.
However, in an actual application scenario, due to network delay or user operation reasons, the same content or information is praised for many times, and because even praise probabilities exist in the multi-praise probabilities, praise is cancelled, and praise operation needs to be performed again.
Therefore, it is an urgent need to solve the problems of the art to design a control method, device and storage medium for preventing duplicate approval.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a praise-proof method, device and storage medium, so as to avoid the problem that a plurality of praise operations are required to be performed on the same content or information due to network delay or user operation reasons.
In order to achieve the purpose, the technical scheme of the invention is as follows:
a praise anti-replay method comprises the following steps:
acquiring a praise button corresponding to the first click of a user;
disabling the current thumbs-up button;
judging whether the praise button is praise currently or not;
if yes, the praise operation is not valid;
and if not, enabling the approval button.
Through the technical scheme, the praise button corresponding to the first click of the user is obtained, and the current praise button is forbidden; then judging whether the praise button is praise currently or not; if yes, the praise operation is not valid; if not, the approval button is started, so that the problem that the approval operation needs to be carried out again due to the fact that the approval of the same content or information is carried out for many times caused by network delay or user operation reasons and the like is avoided.
Preferably, after the disabling of the current thumbs-up button, the method further includes: recording the first click time of the current user on the like button;
if yes, the method specifically comprises the following steps:
if yes, acquiring the current click time of the forbidden approval button;
calculating a time difference between the current click time and the first click time;
if the time difference is smaller than or equal to a preset threshold value, the praise operation is invalid;
and if the time difference is larger than the preset threshold value, enabling the like button.
Through the technical scheme, whether the approval button is clicked for the first time and whether the approval button is clicked for the time is overtime can be effectively judged, the approval error or the approval cancellation caused by delay is avoided, and the misoperation of the approval button caused by other clicks after the overlong waiting time of the user is avoided.
Further, if the time difference is greater than the preset threshold, activating the like button specifically includes:
if the time difference is larger than the preset threshold, acquiring the button ID of the approval button and the user ID of the current user;
judging whether the button ID and the user ID are in a time-limited set;
if so, invalidating the praise operation;
if the set data does not exist, storing the set data into the time-limited set, and starting the praise button;
wherein the aggregated data comprises the button ID, the user ID, and a corresponding operation timestamp.
By the technical scheme, whether the approval operation is delayed operation or misoperation of the same user can be effectively judged. If the operation exists in the time-limited set, the delay operation or the misoperation of the same user is indicated, and the praise needs to be invalidated; if the operation result does not exist, the result shows that the operation is the normal praise of a new user or the praise user is not operated between the new user and the praise, the current praise button is started to operate, the praise is effective at the time, and therefore whether the praise operation is effective or not is judged according to the combination of the praise times of different users.
Further, the method also comprises the following steps:
time-counting the time-limited set;
acquiring the expired set data in the time-limited set according to a preset time rule;
deleting the expired collection data.
By the technical scheme, the data in the time-limited set can be timed according to the preset time rule, the expired data is cleared from the set, the expired set data in the time-limited set is cleared, and the problem that the expired set data occupies the time-limited set is avoided.
Further, the acquiring, according to a preset time rule, the expired data in the time-limited set specifically includes:
and acquiring the expired data in the time-limited set regularly according to a preset time period.
Preferably, after the enabling of the like button if the time difference is greater than the preset threshold, the method further includes:
and deleting the corresponding set data according to the button ID of the praise button.
By the technical scheme, the set data of the button ID corresponding to the invalid praise can be effectively cleared, and the space or capacity occupied by useless data is reduced.
Preferably, after the enabling of the like button if the like button is not like, the method further includes:
taking the user ID and the like function ID as keys, and acquiring key values from key value repulsion distributed sets;
if the key value is not obtained, storing the key into the key value repellent distributed set;
and if the key value is acquired, invalidating the praise operation.
By the technical scheme, the user ID and the like are combined effectively by means of the key value state of the keys in the key value repulsion distributed set, the same client is prevented from operating the like function again in the corresponding time at the back end, and the repeated like function is placed.
Further, the key value repulsion distributed set is implemented as follows:
when the key enters the key value repulsion distributed set, acquiring the corresponding distributed lock through the key value;
if the corresponding distributed lock is obtained, judging whether the key exists in the key value repellent distributed set or not;
if the operation does not exist, judging that the storage of the praise operation is successful;
and if so, judging that the storage of the operation of agreeing is failed.
The invention also provides praise anti-reset equipment, which comprises the following steps:
a memory for storing a computer program;
a processor configured to implement the steps of the praise anti-replay method according to any one of the above when the computer program is executed.
The invention also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the praise anti-replay method according to any one of the preceding claims.
The praise anti-replay method provided by the invention comprises the steps of acquiring a praise button corresponding to the first click of a user, and forbidding a current praise button; then judging whether the praise button is praise currently or not; if yes, the praise operation is not valid; if not, the approval button is started, so that the problem that the approval operation needs to be carried out again due to the fact that the approval of the same content or information is carried out for many times caused by network delay or user operation reasons and the like is avoided. The praise anti-duplication equipment and the computer storage medium provided by the application also solve the corresponding technical problems.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flow chart of one implementation of the praise duplicate prevention method in the embodiment of the present invention;
fig. 2 is a schematic flow chart of one implementation of the praise duplicate prevention method in the embodiment of the present invention;
fig. 3 is a schematic flow chart of one implementation of the praise duplicate prevention method in the embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating one implementation of the approval/denial protection method in an embodiment of the present invention;
fig. 5 is a schematic flowchart illustrating a process of implementing a key-value repulsion distributed set in the praise duplicate prevention method according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The praise anti-replay method provided by the embodiment, as shown in fig. 1, includes the following steps:
s101, acquiring a praise button corresponding to the first click of a user;
s102, disabling a current praise button;
s103, judging whether the praise button is praise currently or not;
s104, if yes, invalidating praise operation;
and S105, if not, enabling an approval button.
In practical applications, steps S101 to S105 are performed in the pre-praise override module. The specific process is as follows: and when the user uses the praise function, starting a pre-praise anti-repetition algorithm. Specifically, when the user clicks the like button for the first time, the disabling operation is performed on the current like button, so that the subsequent like button is avoided or the like is delayed to trigger the like button. Then judging whether the current praise button is praise or not, and if praise is praise, invalidating praise operation; if not, the approval button is started to take effect for approval operation.
The praise anti-replay method provided by the invention comprises the steps of acquiring a praise button corresponding to the first click of a user, and forbidding a current praise button; then judging whether the praise button is praise currently or not; if yes, the praise operation is not valid; if not, the approval button is started, so that the problem that the approval operation needs to be carried out again due to the fact that the approval of the same content or information is carried out for many times caused by network delay or user operation reasons and the like is avoided.
In one implementation manner of this embodiment, as shown in fig. 2, after the step S102, disabling the current thumbs-up button, the method further includes:
s106, recording the first click time of the current user for clicking the like button;
if yes, the step S105 is to activate the ok button, which includes the following steps:
s201, if yes, acquiring the current click time of the forbidden approval button;
s202, calculating a time difference value between the current click time and the first click time;
s203, if the time difference is smaller than or equal to a preset threshold value, the praise operation is invalid;
s204, if the time difference is larger than a preset threshold value, enabling a like button.
In the actual application, judging whether the current praise button is praise or not, if the current praise button is not praise, carrying out time limit increasing judgment on the current button, recording the first click time of the current praise button of the current user, namely subtracting the first click time from the current click time, and if the current praise button is less than or equal to a preset threshold value, for example, 500ms, judging that the praise is invalid; if the time is greater than the preset threshold value, for example, 500ms, the approval button is enabled, and approval operation is performed.
Through the technical scheme, whether the approval button is clicked for the first time and whether the approval button is clicked for the time is overtime can be effectively judged, the approval error or the approval cancellation caused by delay is avoided, and the misoperation of the approval button caused by other clicks after the overlong waiting time of the user is avoided.
In one implementation manner of this embodiment, as shown in fig. 3, in step S204, if the time difference is greater than the preset threshold, the enabling of the ok button specifically includes:
s301, if the time difference is larger than a preset threshold value, acquiring a button ID of a praise button and a user ID of a current user;
s302, judging whether the button ID and the user ID are in a time-limited set or not;
s303, if the operation exists, the praise operation is invalid;
s304, if the set data do not exist, storing the set data into a time-limited set, and starting a praise button;
wherein the aggregated data comprises a button ID, a user ID, and a corresponding operation timestamp.
In an actual operation, for example, the above-mentioned preset threshold value is used for 500ms, and if the value is greater than 500ms, the current approval button ID and the current user ID are determined, and whether both are in the time-limited set is determined. If the current time limit exists in the time limit set, the approval is invalid; if the current praise button does not exist, storing the set data specifically including the button ID, the user ID and the corresponding operation timestamp into the time-limited set, and enabling the current praise button to be effective.
By the technical scheme, whether the approval operation is delayed operation or misoperation of the same user can be effectively judged. If the operation exists in the time-limited set, the delay operation or the misoperation of the same user is indicated, and the praise needs to be invalidated; if the operation result does not exist, the result shows that the operation is the normal praise of a new user or the praise user is not operated between the new user and the praise, the current praise button is started to operate, the praise is effective at the time, and therefore whether the praise operation is effective or not is judged according to the combination of the praise times of different users.
In one implementation manner of this embodiment, as shown in fig. 3, the method further includes the following steps:
s401, time timing is carried out on the time limit set;
s402, acquiring expired set data in a time-limited set according to a preset time rule;
and S403, deleting the expired aggregated data.
In actual application, the data storage in the time-limited set is time-counted, and the time-limited set can be cleared when the data is expired.
By the technical scheme, the data in the time-limited set can be timed according to the preset time rule, the expired data is cleared from the set, the expired set data in the time-limited set is cleared, the problem that the expired data occupies the time-limited set is avoided, and the user experience is further improved.
In one implementation manner of this embodiment, according to a preset time rule, acquiring the expired data in the time-limited set specifically includes:
and acquiring the expired data in the time-limited set regularly according to a preset time period.
In this embodiment, a daemon thread is started, and polling check is performed on the time-limited set every a preset time period, for example, 10 minutes, so as to obtain the expired data in the time-limited set. The specific duration of the time period may be selected according to actual needs, or the time when the rule of the time period becomes effective may be set, that is, the time period is deactivated after the deleted expired data reaches a certain number, and the time period is opened again when the number in the waiting time limit set reaches the critical point to be cleaned, so as to acquire the expired data.
In one implementation manner of this embodiment, in step S204, if the time difference is greater than the preset threshold, after the enabling of the ok button, the method further includes:
according to the button ID of the thumbbutton, the corresponding set data is deleted.
By the technical scheme, the set data of the button ID corresponding to the invalid praise can be effectively cleared, and the space or capacity occupied by useless data is reduced.
In one implementation manner of this embodiment, as shown in fig. 4, in step S105, if the user does not like to approve, the method further includes, after the enabling of the approve button:
s501, taking the user ID and the like function ID as keys, and acquiring key values from key value repulsion distributed sets;
s502, if the key value is not obtained, storing the key into a key value repulsion distributed set;
and S503, if the key value is acquired, the praise operation is invalid.
In this embodiment, the steps S501 to S503 are implemented by a praise duplicate prevention module.
In actual use, when the backend service receives user approval data, the key value can be acquired from the key value repulsion distributed set, and it indicates that the user ID corresponds to the approval function ID, that is, the user has operated the approval function within the corresponding time, and therefore the approval operation needs to be invalidated; and if the key value cannot be acquired, it indicates that the user ID does not correspond to the like function ID, that is, the user does not operate the like function within the corresponding time, and the corresponding key needs to be stored in the key value repulsion distributed set for corresponding recording.
By the technical scheme, the user ID and the like are combined effectively by means of the key value state of the keys in the key value repulsion distributed set, the same client is prevented from operating the like function again in the corresponding time at the back end, and the repeated like function is placed.
In one implementation of this embodiment, as shown in fig. 5, key value repulsion distributed sets are implemented as follows:
s601, when a key enters a key value repulsion distributed set, acquiring a distributed lock corresponding to the key value repulsion distributed set through the key value;
s602, if the corresponding distributed lock is obtained, judging whether a key exists in the key value repellent distributed set or not;
s603, if the operation does not exist, judging that the praise operation storage is successful;
s604, if yes, determining that the operation storage fails.
In practical application, a key generally has a corresponding distributed lock, and when the key and the corresponding distributed lock exist relatively, that is, if the key is written in a key-value-repulsion distributed set, the corresponding distributed lock is acquired, and then the distributed lock acquired by the key value can be used for determining whether the corresponding key exists, and then whether the storage success of the corresponding operation is approved or not can be known according to the corresponding result, and the specific determination process is not described herein again.
It should be noted that, the specific steps of the multiple embodiments of the present embodiment are described for more effectively explaining the respective corresponding technical solutions, but the descriptions do not represent that the respective technical solutions exist independently, the multiple embodiments may have substitutions or intersections between the steps, and other embodiments formed by the substitutions or intersections of the steps still belong to the scope related to the present application or the scope protected by the claims.
The embodiment of the application also provides praise anti-replay equipment and a computer readable storage medium, which have the corresponding effects of the praise anti-replay method provided by the embodiment of the application.
The another praise anti-duplication device provided by the embodiment of the application may further include: the input port is connected with the processor and is used for transmitting an externally input command to the processor; the display unit is connected with the processor and used for displaying the returned result whether the praise is valid or not; and the communication module is connected with the processor and is used for realizing communication between the praise anti-replay equipment and the outside.
The display unit can be a display panel, a laser scanning display and the like; the communication modes adopted by the communication module include, but are not limited to, mobile high definition link technology (HML), Universal Serial Bus (USB), High Definition Multimedia Interface (HDMI), and wireless connection: wireless fidelity technology (WiFi), bluetooth communication technology, bluetooth low energy communication technology, ieee802.11s based communication technology.
Embodiments of the present application relate to computer-readable storage media that include Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
For a description of a relevant part of the praise anti-duplication device and the computer-readable storage medium provided in the embodiments of the present application, refer to a detailed description of a corresponding part of the praise anti-duplication method provided in the embodiments of the present application, and are not described herein again. In addition, parts of the above technical solutions provided in the embodiments of the present application, which are consistent with the implementation principles of corresponding technical solutions in the prior art, are not described in detail so as to avoid redundant description.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 identical elements in a process, method, article, or apparatus that comprises the element.
The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (8)

1.一种点赞防重方法,其特征在于,包括如下步骤:1. a kind of praise and anti-heavy method, is characterized in that, comprises the steps: 获取用户首次点击所对应的点赞按钮;Get the like button corresponding to the user's first click; 禁用当前所述点赞按钮;Disable the currently described like button; 判断所述点赞按钮当前是否已点赞;Determine whether the like button is currently liked; 若已点赞,则无效点赞操作;If it has been liked, the like operation is invalid; 若未点赞,则启用所述点赞按钮;If not liked, enable the like button; 在所述禁用当前所述点赞按钮之后还包括:记录当前用户在所述点赞按钮的首次点击时间;After the disabling the current like button, the method further includes: recording the first click time of the current user on the like button; 并且,所述若未点赞,则启用所述点赞按钮具体为如下步骤:And, if there is no like, the specific steps of enabling the like button are as follows: 若未点赞,则获取被禁用的所述点赞按钮的当前点击时间;If there is no like, obtain the current click time of the disabled like button; 计算所述当前点击时间与所述首次点击时间之间的时间差值;Calculate the time difference between the current click time and the first click time; 若所述时间差值小于或等于预设阈值,则无效所述点赞操作;If the time difference is less than or equal to the preset threshold, the like operation is invalid; 若所述时间差值大于所述预设阈值,则启用所述点赞按钮;If the time difference is greater than the preset threshold, enable the like button; 其中,所述若所述时间差值大于所述预设阈值,则启用所述点赞按钮具体为:Wherein, if the time difference is greater than the preset threshold, enabling the like button is specifically: 若所述时间差值大于所述预设阈值,则获取所述点赞按钮的按钮ID和当前用户的用户ID;If the time difference is greater than the preset threshold, obtain the button ID of the like button and the user ID of the current user; 判断所述按钮ID和所述用户ID是否在限时集合中;Determine whether the button ID and the user ID are in a time-limited set; 若存在,则无效所述点赞操作;If it exists, the like operation will be invalid; 若不存在,则将集合数据存入所述限时集合,并启用所述点赞按钮;If it does not exist, save the collection data into the time-limited collection, and enable the like button; 其中,所述集合数据包括所述按钮ID、所述用户ID以及对应的操作时间戳。Wherein, the set data includes the button ID, the user ID and the corresponding operation time stamp. 2.如权利要求1所述的点赞防重方法,其特征在于,还包括如下步骤:2. The weight-preventing method according to claim 1, further comprising the steps of: 对所述限时集合进行时间计时;timing the time-limited set; 根据预设时间规则,获取所述限时集合中的过期的所述集合数据;Acquire the expired collection data in the time-limited collection according to a preset time rule; 删除过期的所述集合数据。Delete the expired collection data. 3.如权利要求2所述的点赞防重方法,其特征在于,所述根据预设时间规则,获取所述限时集合中的过期数据具体为:3. The anti-heavy-like method according to claim 2, wherein, according to a preset time rule, obtaining the expired data in the time-limited collection is specifically: 按照预设的时间周期,定期获取所述限时集合中的所述过期数据。According to a preset time period, the expired data in the time-limited set is periodically acquired. 4.如权利要求1所述的点赞防重方法,其特征在于,在所述若所述时间差值大于所述预设阈值,则启用所述点赞按钮之后还包括:4. The like-like button according to claim 1, characterized in that, after the like button is enabled if the time difference value is greater than the preset threshold, the method further comprises: 根据所述点赞按钮的所述按钮ID,删除对应的所述集合数据。According to the button ID of the like button, the corresponding collection data is deleted. 5.如权利要求1所述的点赞防重方法,其特征在于,在所述若未点赞,则启用所述点赞按钮之后,还包括:5. The anti-heavy-like method according to claim 1, characterized in that, after the like button is enabled if the like button is not liked, the method further comprises: 以用户ID和点赞功能ID为key,在键值相斥分布式集合中获取key值;Take the user ID and the like function ID as the key, and obtain the key value in the key-value exclusive distributed set; 若未获取到所述key值,则将此所述key存入所述键值相斥分布式集合;If the key value is not obtained, the key is stored in the key-value exclusive distributed set; 若获取到所述key值,则无效所述点赞操作。If the key value is obtained, the like operation is invalid. 6.如权利要求5所述的点赞防重方法,其特征在于,所述键值相斥分布式集合实现如下:6. The like-and-repeat method of claim 5, wherein the key-value exclusion distributed set is implemented as follows: 当所述key进入所述键值相斥分布式集合中时,通过所述key值获取与其对应的分布式锁;When the key enters the key-value exclusive distributed set, obtain the corresponding distributed lock through the key value; 若获取到对应的所述分布式锁,则判断所述键值相斥分布式集合中是否存在所述key;If the corresponding distributed lock is obtained, determine whether the key exists in the key-value exclusive distributed set; 若不存在,则判定存储成功;If it does not exist, it is determined that the storage is successful; 若存在,则判定存储失败。If it exists, it is determined that the storage fails. 7.一种点赞防重设备,其特征在于,包括:7. A kind of praise anti-weight device, is characterized in that, comprises: 存储器,用于存储计算机程序;memory for storing computer programs; 处理器,用于执行所述计算机程序时实现如权利要求1至6任一项所述点赞防重方法的步骤。The processor is configured to implement the steps of the like-like anti-duplication method according to any one of claims 1 to 6 when executing the computer program. 8.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6任一项所述点赞防重方法的步骤。8. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the like according to any one of claims 1 to 6 is realized The steps of the anti-weight method.
CN202111251569.1A 2021-10-27 2021-10-27 Praise anti-replay method, equipment and storage medium Active CN113709258B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111251569.1A CN113709258B (en) 2021-10-27 2021-10-27 Praise anti-replay method, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111251569.1A CN113709258B (en) 2021-10-27 2021-10-27 Praise anti-replay method, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113709258A CN113709258A (en) 2021-11-26
CN113709258B true CN113709258B (en) 2022-02-11

Family

ID=78646979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111251569.1A Active CN113709258B (en) 2021-10-27 2021-10-27 Praise anti-replay method, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113709258B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114185703A (en) * 2021-12-14 2022-03-15 平安付科技服务有限公司 Node element anti-replay control method and device, terminal equipment and storage medium
CN117435092B (en) * 2023-12-21 2024-08-16 荣耀终端有限公司 Click operation information processing method, electronic device and readable storage medium
CN119759891A (en) * 2024-12-20 2025-04-04 北京百度网讯科技有限公司 Data processing method, content evaluation method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101394406A (en) * 2008-10-22 2009-03-25 深圳市金蝶中间件有限公司 Method and apparatus for preventing duplicate button pressing by user
WO2009132148A2 (en) * 2008-04-22 2009-10-29 The 41St Parameter, Inc. Systems and methods for security management based on cursor events
CN103455405A (en) * 2012-06-04 2013-12-18 阿里巴巴集团控股有限公司 Method and system for preventing button from being clicked repeatedly and method and system for unlocking button
CN109783333A (en) * 2018-12-13 2019-05-21 平安普惠企业管理有限公司 It repeats to click filter method, device, computer equipment and storage medium
CN112306805A (en) * 2020-10-30 2021-02-02 平安付科技服务有限公司 Method, device, computer device and readable storage medium for preventing repeated clicks

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009132148A2 (en) * 2008-04-22 2009-10-29 The 41St Parameter, Inc. Systems and methods for security management based on cursor events
CN101394406A (en) * 2008-10-22 2009-03-25 深圳市金蝶中间件有限公司 Method and apparatus for preventing duplicate button pressing by user
CN103455405A (en) * 2012-06-04 2013-12-18 阿里巴巴集团控股有限公司 Method and system for preventing button from being clicked repeatedly and method and system for unlocking button
CN109783333A (en) * 2018-12-13 2019-05-21 平安普惠企业管理有限公司 It repeats to click filter method, device, computer equipment and storage medium
CN112306805A (en) * 2020-10-30 2021-02-02 平安付科技服务有限公司 Method, device, computer device and readable storage medium for preventing repeated clicks

Also Published As

Publication number Publication date
CN113709258A (en) 2021-11-26

Similar Documents

Publication Publication Date Title
CN113709258B (en) Praise anti-replay method, equipment and storage medium
EP3567476B1 (en) Application data processing method and apparatus, and storage medium
CN111030936B (en) Current-limiting control method and device for network access and computer-readable storage medium
US20140317544A1 (en) Method and Terminal for Creating Folder for User Interface
US20170160923A1 (en) Method, device and mobile terminal for controling virtual keys on a touch screen
CN107577471B (en) Application control method and mobile terminal
CN106909855B (en) File hiding method and device
CN107678780B (en) Memory management method and device, storage medium and terminal equipment
US20170192646A1 (en) Method and electronic device for hiding application icons and mobile phone
CN103559455A (en) Android device personal information protection method based on user identification
CN106911687A (en) A kind of page makeup control method and device
KR20150013294A (en) Mechanism, System and Method for synchronising devices
JP2015520897A (en) How to prevent accidental operation and touch screen terminals
CN107729765B (en) Multimedia data management method, device, storage medium and electronic device
CN105868625B (en) Method and device for intercepting restart deletion of file
CN106599115B (en) Data protection method, device and terminal
CN105893471A (en) Data processing method and electronic equipment
CN110855833A (en) Terminal retrieval method, device, terminal and storage medium
CN106789960A (en) A kind of account login method and terminal
CN109669642B (en) Node joining method, system and device of storage system and readable storage medium
CN113536745B (en) Word processing method and word processing device
CN105677408A (en) Application deletion method and device
CN106790339A (en) Metadata server, network device, and automatic resource management method
CN116781316A (en) Multi-terminal login management method, terminal, server side and storage medium
CN118337790A (en) Data processing method, device, equipment and 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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 410000 Yuelu District Yuelu street, Changsha, Hunan Province, 5 left 101 rooms of R & D headquarters of Central South University Science Park.

Patentee after: New Cloud Technology Group Co.,Ltd.

Country or region after: China

Address before: 410000 Yuelu District Yuelu street, Changsha, Hunan Province, 5 left 101 rooms of R & D headquarters of Central South University Science Park.

Patentee before: HUNAN NEW CLOUDNET TECHNOLOGY Co.,Ltd.

Country or region before: China

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A method, device, and storage medium for preventing duplicate likes

Granted publication date: 20220211

Pledgee: Agricultural Bank of China Limited Changsha Yuhua District sub branch

Pledgor: New Cloud Technology Group Co.,Ltd.

Registration number: Y2024980048365