CN110874724A - Electronic red packet detection strategy updating method and device and terminal equipment - Google Patents

Electronic red packet detection strategy updating method and device and terminal equipment Download PDF

Info

Publication number
CN110874724A
CN110874724A CN201811023863.5A CN201811023863A CN110874724A CN 110874724 A CN110874724 A CN 110874724A CN 201811023863 A CN201811023863 A CN 201811023863A CN 110874724 A CN110874724 A CN 110874724A
Authority
CN
China
Prior art keywords
red packet
electronic red
preset
updating
received
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.)
Granted
Application number
CN201811023863.5A
Other languages
Chinese (zh)
Other versions
CN110874724B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811023863.5A priority Critical patent/CN110874724B/en
Publication of CN110874724A publication Critical patent/CN110874724A/en
Application granted granted Critical
Publication of CN110874724B publication Critical patent/CN110874724B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • G06Q20/105Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems involving programming of a portable memory device, e.g. IC cards, "electronic purses"
    • 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/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/36Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Telephone Function (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application is applicable to the technical field of data processing, and provides an electronic red packet detection strategy updating method, device and terminal equipment, and the method comprises the following steps: detecting whether an electronic red packet is received or not by adopting a preset electronic red packet detection strategy; if the electronic red packet is detected to be received, detecting whether the electronic red packet is disassembled; and if the electronic red packet is not disassembled, updating the preset electronic red packet detection strategy. By the method, the updating efficiency of the electronic red packet detection strategy can be improved.

Description

Electronic red packet detection strategy updating method and device and terminal equipment
Technical Field
The application belongs to the technical field of data processing, and particularly relates to an electronic red packet detection strategy updating method, an electronic red packet detection strategy updating device, terminal equipment and a computer readable storage medium.
Background
With the development of network technology, users can send electronic red packages to friends of the users through instant messaging application. When a user sends an electronic red packet containing a plurality of small red packets in a group, if the number of members of the group is greater than that of the small red packets, the members of the group have the members which cannot rob the small red packets from the electronic red packets.
In order to quickly get the electronic red packet, an electronic red packet detection method can be set in the terminal equipment, and a prompt is sent out after the electronic red packet is detected. However, since the characteristics of the electronic red packet are different for different applications, if it is desired to improve the detection accuracy of the electronic red packet, the set electronic red packet detection method needs to be updated in time.
The existing electronic red packet detection strategy updating method mainly adopts user-independent updating, so that the updating efficiency is low.
Disclosure of Invention
In view of this, an embodiment of the present application provides an updating method for an electronic red packet detection policy, so as to solve the problem of low updating efficiency caused by autonomously updating the electronic red packet detection policy by a user in the prior art.
A first aspect of an embodiment of the present application provides an electronic red envelope detection policy updating method, including:
detecting whether an electronic red packet is received or not by adopting a preset electronic red packet detection strategy;
if the electronic red packet is detected to be received, detecting whether the electronic red packet is disassembled;
and if the electronic red packet is not disassembled, updating the preset electronic red packet detection strategy.
A second aspect of the embodiments of the present application provides an electronic red envelope detection policy updating apparatus, including:
the electronic red packet receiving and detecting unit is used for detecting whether an electronic red packet is received by adopting a preset electronic red packet detecting strategy;
the electronic red packet unpacking detecting unit is used for detecting whether the electronic red packet is unpacked if the electronic red packet is detected to be received;
and the electronic red packet detection strategy updating unit is used for updating the preset electronic red packet detection strategy if the electronic red packet is not disassembled.
A third aspect of the embodiments of the present application provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the electronic red packet detection policy updating method when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements the steps of the electronic red packet detection policy updating method as described above.
Compared with the prior art, the embodiment of the application has the advantages that:
when the fact that the electronic red packet is received but the fact that the electronic red packet is not disassembled is detected, the fact that the detection result obtained according to the preset electronic red packet detection strategy is probably inaccurate is shown, therefore, the preset electronic red packet detection strategy is automatically updated, manual updating of a user is not needed, updating operation of the user can be reduced, and updating efficiency of the electronic red packet detection strategy is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart illustrating a first method for updating an electronic red envelope detection policy according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an electronic red envelope in WeChat according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a second method for updating an electronic red envelope detection policy according to a second embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic red envelope detection policy updating apparatus according to a third embodiment of the present application;
fig. 5 is a schematic diagram of a terminal device according to a fourth embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In particular implementations, the mobile terminals described in embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the devices described above are not portable communication devices, but rather are desktop computers having touch-sensitive surfaces (e.g., touch screen displays and/or touch pads).
In the discussion that follows, a mobile terminal that includes a display and a touch-sensitive surface is described. However, it should be understood that the mobile terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The mobile terminal supports various applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a web browsing application, a digital music player application, and/or a digital video player application.
Various applications that may be executed on the mobile terminal may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
The first embodiment is as follows:
fig. 1 shows a flowchart of a first method for updating an electronic red envelope detection policy according to an embodiment of the present application, which is detailed as follows:
step S11, detecting whether an electronic red packet is received or not by adopting a preset electronic red packet detection strategy;
in this step, after receiving the message, the terminal device (such as a mobile phone, a tablet computer, etc.) that installs the specified application detects whether the message is an electronic red packet message by using a preset electronic red packet detection policy, determines that the electronic red packet is received if the message is the electronic red packet message, and determines that the electronic red packet is not received if the message is not the electronic red packet message.
Therein, fig. 2 shows a schematic diagram of an electronic red packet in a "WeChat" application.
Step S12, if it is detected that the electronic red packet is received, detecting whether the electronic red packet is disassembled;
specifically, whether a touch instruction is received in a screen area range where the electronic red packet is located is detected, if the touch instruction is received, the electronic red packet is judged to be disassembled, and if not, the electronic red packet is judged not to be disassembled.
Since the user does not necessarily detach the electronic red packet immediately after the terminal device receives the electronic red packet, in order to accurately determine whether the detected electronic red packet is detached, the step S12 specifically includes: and if the electronic red packet is detected to be received, detecting whether the electronic red packet is disassembled within a preset time length. The preset time period is set according to actual requirements, for example, set to 3 hours, or 5 hours, or 12 hours, etc.
Optionally, in order to remind the user to detach the detected electronic red packet as soon as possible, in step S12, if it is detected that the electronic red packet is received, the user is prompted to detach the electronic red packet, for example, the user is prompted by a voice or a notification of a specific application, where the prompt includes an identifier of the specific application where the electronic red packet is detected, for example, if the electronic red packet is received in a WeChat, the prompt may be: you receive an electronic red envelope at the WeChat. After prompting a user to unpack the electronic red packet, detecting whether the electronic red packet is unpacked or not, or detecting whether the electronic red packet is unpacked or not within a preset time length.
And step S13, if the electronic red packet is not disassembled, updating the preset electronic red packet detection strategy.
In the embodiment of the application, whether adopt predetermined electron red packet detection strategy to detect and receive the electron red packet, if detect and receive the electron red packet, detect whether the electron red packet is unpacked apart, if the electron red packet is not unpacked apart, updates predetermined electron red packet detection strategy. When the fact that the electronic red packet is received but the fact that the electronic red packet is not disassembled is detected, the fact that the detection result obtained according to the preset electronic red packet detection strategy is probably inaccurate is shown, therefore, the preset electronic red packet detection strategy is automatically updated, manual updating of a user is not needed, updating operation of the user can be reduced, and updating efficiency of the electronic red packet detection strategy is improved.
Example two:
fig. 3 shows a flowchart of a second method for updating an electronic red packet detection policy according to the second embodiment of the present application, where step S31 of the present embodiment is the same as step S11 of the first embodiment, and is not repeated here.
Step S31, detecting whether an electronic red packet is received or not by adopting a preset electronic red packet detection strategy;
step S32, if the electronic red packet is not detected to be received, counting the time length of the electronic red packet which is not detected to be received, judging whether the counted time length is greater than or equal to a preset time length threshold value, and if the counted time length is greater than or equal to the preset time length threshold value, updating the preset electronic red packet detection strategy.
Specifically, if the electronic red packet is not detected to be received, recording the time point when the electronic red packet is not detected to be received, and counting the duration when the electronic red packet is not detected according to the current time point when the electronic red packet is not detected to be received and the earliest time point when the electronic red packet is not detected to be received. For example, assuming that time point a is the time point at which the reception of the electronic red packet is not detected at the earliest, and thereafter, the reception of the electronic red packet is not detected at time points B and C, respectively, at time point B, the time interval between time point a and time point B is counted as the time period during which the reception of the electronic red packet is not detected. At time point C, the time interval between time point a and time point C is counted as the time period during which no reception of the electronic red packet is detected.
For different users, the preset duration threshold may be set as a fixed value, or may be set individually for the users, that is, the preset duration thresholds corresponding to different users are different.
Optionally, if the user is set in a personalized manner, the preset duration threshold is determined in the following manner:
a1, recording the time point of receiving the electronic red packet;
and A2, calculating the time interval between two adjacent electronic red packets according to the recorded time points, and storing the calculated longest time interval.
In this embodiment, after the terminal device detects that the electronic red packet is received, the time point is recorded, the corresponding time interval for receiving the two electronic red packets is calculated according to the two adjacent time points, and if the currently calculated time interval for receiving the two electronic red packets is greater than the stored time interval, the stored time interval is deleted, and the currently calculated time interval for receiving the two electronic red packets is stored. Because the frequency of receiving the electronic red packet by each user is different, the longest time interval of receiving two adjacent electronic red packets by the terminal equipment is taken as a preset time length threshold value, and the judgment accuracy of whether to update the preset electronic red packet detection strategy can be improved.
Optionally, since the specified applications have different versions, the corresponding electronic red pack may also have different features, and the preset electronic red pack detection policy is detected according to the features of the electronic red pack, so that, in order to update the preset electronic red pack detection policy in time, the step S31 (or step S11) includes:
and after the designated application is updated, detecting whether the electronic red packet is received or not by adopting a preset electronic red packet detection strategy.
Wherein specifying the application update comprises: the version of the specific application is upgraded, and/or the specific application downloads the patch of the same version for data updating and the like.
Specifically, after detecting that the designated application is updated, the terminal device detects whether the electronic red packet is received by using a preset electronic red packet detection strategy, for example, after the designated application receives the message, detects whether the message is an electronic red packet message by using a preset electronic red packet detection strategy.
Optionally, the updating the preset electronic red packet detection policy of the first embodiment and the second embodiment includes:
b1, acquiring the image characteristics of the electronic red packet corresponding to the version of the current specified application;
the image characteristics of the electronic red packet comprise at least one of the following: background color, size of the red packet small picture, blessing words (such as "congratulations for prosperity" in fig. 2) color, blessing words font, view class name (such as "WeChat red packet" in fig. 2), etc., color histogram of electronic red packet, length and width ratio of view of electronic red packet, etc.
And B2, replacing the image characteristics of the electronic red packet in the preset electronic red packet detection strategy with the acquired image characteristics of the electronic red packet corresponding to the version of the current specified application, and taking the updated preset electronic red packet detection strategy as a new preset electronic red packet detection strategy.
Optionally, since the number of image features of the electronic red packet may be different when the versions of the specified applications are different, in order to accurately update the preset electronic red packet detection policy, the step B2 includes:
comparing the acquired image features of the electronic red packet corresponding to the version of the current specified application with the image features of the electronic red packet in a preset electronic red packet detection strategy, if the acquired number of the image features of the electronic red packet corresponding to the version of the current specified application is less than or equal to the number of the image features of the electronic red packet in the preset electronic red packet detection strategy, replacing the acquired image features of the electronic red packet corresponding to the version of the current specified application with the image features of the electronic red packet in the preset electronic red packet detection strategy, and taking the updated preset electronic red packet detection strategy as a new preset electronic red packet detection strategy.
In this embodiment, if the number of the image features of the electronic red packet corresponding to the obtained version of the currently specified application is greater than the number of the image features of the electronic red packet in the preset electronic red packet detection policy, the user is prompted to manually update the preset electronic red packet detection policy, at this time, the internal structure of the preset electronic red packet detection policy needs to be updated, for example, judgment on the image features of the newly added electronic red packet is added.
Optionally, in order to detect whether the updated electronic red packet detection policy can accurately detect the electronic red packet, after step B2, the method includes:
c1, detecting whether the electronic red packet is received by adopting a new preset electronic red packet detection strategy;
specifically, after the designated application receives the message, a new preset electronic red packet detection strategy is adopted to detect whether the message is an electronic red packet message, and if so, the electronic red packet is determined to be received.
And C2, if the electronic red packet is not detected to be received, counting the time length of the electronic red packet which is not detected to be received, judging whether the counted time length is greater than or equal to a preset time length threshold value, and if the counted time length is greater than or equal to the preset time length threshold value, prompting a user to update the new preset electronic red packet detection strategy.
The preset time length threshold is the same as the steps a1 and a2, and is not described herein again.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Example three:
fig. 4 is a schematic structural diagram of an electronic red packet detection policy updating apparatus provided in the third embodiment of the present application, where the electronic red packet detection policy updating apparatus is applicable to a terminal device, and for convenience of description, only a part related to this embodiment is shown.
The electronic red packet detection policy updating apparatus 4 includes: whether the electronic red packet detection unit 41 is received, whether the electronic red packet is unpacked detection unit 42, and electronic red packet detection strategy update unit 43. Wherein:
a unit 41 for detecting whether an electronic red packet is received, configured to detect whether an electronic red packet is received by using a preset electronic red packet detection strategy;
specifically, after receiving the message, the designated application providing the electronic red packet receiving and sending function detects whether the received message is an electronic red packet message by using a preset electronic red packet detection policy through the electronic red packet detection unit 41, determines that the electronic red packet is received if the received message is the electronic red packet message, and determines that the electronic red packet is not received if the received message is not the electronic red packet message.
A unit 42 for detecting whether the electronic red packet is unpacked, configured to detect whether the electronic red packet is unpacked if it is detected that the electronic red packet is received;
specifically, whether a touch instruction is received in a screen area range where the electronic red packet is located is detected, if the touch instruction is received, the electronic red packet is judged to be disassembled, and if not, the electronic red packet is judged not to be disassembled.
Since the user does not necessarily detach the electronic red packet immediately after the terminal device receives the electronic red packet, in order to accurately determine whether the detected electronic red packet is detached, the electronic red packet detachment detecting unit 42 specifically includes: and if the electronic red packet is detected to be received, detecting whether the electronic red packet is disassembled within a preset time length.
Optionally, in order to remind the user to detach the detected electronic red packet as soon as possible, whether the electronic red packet is detached in the detection unit 42 is determined, and if it is detected that the electronic red packet is received, the user is prompted to detach the electronic red packet.
And an electronic red packet detection policy updating unit 43, configured to update the preset electronic red packet detection policy if the electronic red packet is not disassembled.
In the embodiment of the application, when the fact that the electronic red packet is received but the fact that the electronic red packet is not detached is detected, the fact that the detection result obtained according to the preset electronic red packet detection strategy is probably inaccurate is shown, therefore, the preset electronic red packet detection strategy is automatically updated, manual updating of a user is not needed, updating operation of the user can be reduced, and updating efficiency of the electronic red packet detection strategy is improved.
Optionally, the electronic red packet detection policy updating apparatus 4 further includes:
and the duration counting unit is used for counting the duration of the electronic red packet which is not detected if the electronic red packet is not detected to be received, judging whether the counted duration is greater than or equal to a preset duration threshold value, and updating the preset electronic red packet detection strategy if the counted duration is greater than or equal to the preset duration threshold value.
For different users, the preset duration threshold may be set as a fixed value, or may be set individually for the users, that is, the preset duration thresholds corresponding to different users are different.
Optionally, if the user is set in a personalized manner, the preset duration threshold is determined in the following manner:
recording the time point of receiving the electronic red packet;
and calculating the time interval of two adjacent electronic red packets according to the recorded time points, and storing the calculated longest time interval.
Optionally, since the versions of the specified applications are different, the corresponding electronic red packet may also include different features, and the preset electronic red packet detection policy is detected according to the features of the electronic red packet, so that, in order to update the preset electronic red packet detection policy in time, the unit 41 for detecting whether the electronic red packet is received is specifically configured to: and after the designated application is updated, detecting whether the electronic red packet is received or not by adopting a preset electronic red packet detection strategy.
Wherein specifying the application update comprises: the version of the specific application is upgraded, and/or the specific application downloads the patch of the same version for data updating and the like.
Optionally, the updating the preset electronic red packet detection policy includes:
acquiring image characteristics of an electronic red packet corresponding to the version of the current specified application;
replacing the image characteristics of the electronic red packet in the preset electronic red packet detection strategy with the acquired image characteristics of the electronic red packet corresponding to the version of the current specified application, and taking the updated preset electronic red packet detection strategy as a new preset electronic red packet detection strategy.
Optionally, since the number of image features of the electronic red packet may be different when the versions of the designated applications are different, in order to accurately update the preset electronic red packet detection policy, replacing the image feature of the electronic red packet in the preset electronic red packet detection policy with the acquired image feature of the electronic red packet corresponding to the version of the current designated application, where the updated preset electronic red packet detection policy as a new preset electronic red packet detection policy includes:
comparing the acquired image features of the electronic red packet corresponding to the version of the current specified application with the image features of the electronic red packet in a preset electronic red packet detection strategy, if the acquired number of the image features of the electronic red packet corresponding to the version of the current specified application is less than or equal to the number of the image features of the electronic red packet in the preset electronic red packet detection strategy, replacing the acquired image features of the electronic red packet corresponding to the version of the current specified application with the image features of the electronic red packet in the preset electronic red packet detection strategy, and taking the updated preset electronic red packet detection strategy as a new preset electronic red packet detection strategy. And prompting a user to manually update the preset electronic red packet detection strategy if the number of the acquired image features of the electronic red packet corresponding to the version of the current specified application is larger than the number of the image features of the electronic red packet in the preset electronic red packet detection strategy.
Optionally, in order to detect whether the updated electronic red packet detection policy can accurately detect the electronic red packet, the electronic red packet detection policy updating apparatus 4 further includes:
the updating detection unit is used for detecting whether the electronic red packet is received or not by adopting a new preset electronic red packet detection strategy;
and the strategy updating prompting unit is used for counting the time length of the electronic red packet which is not detected to be received if the electronic red packet is not detected to be received, judging whether the counted time length is greater than or equal to a preset time length threshold value or not, and prompting a user to update the new preset electronic red packet detection strategy if the counted time length is greater than or equal to the preset time length threshold value.
Example four:
fig. 5 is a schematic diagram of a terminal device according to a fourth embodiment of the present application. As shown in fig. 5, the terminal device 5 of this embodiment includes: a processor 50, a memory 51 and a computer program 52 stored in said memory 51 and executable on said processor 50. The processor 50, when executing the computer program 52, implements the steps in the above-mentioned embodiments of the electronic red packet detection policy updating method, such as the steps S11 to S13 shown in fig. 1. Alternatively, the processor 50, when executing the computer program 52, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 41 to 43 shown in fig. 4.
Illustratively, the computer program 52 may be partitioned into one or more modules/units, which are stored in the memory 51 and executed by the processor 50 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 52 in the terminal device 5. For example, the computer program 52 may be divided into a unit for detecting whether an electronic red packet is received, a unit for detecting whether the electronic red packet is unpacked, and an updating unit for detecting the electronic red packet detection policy, where the specific functions of the units are as follows:
the electronic red packet receiving and detecting unit is used for detecting whether an electronic red packet is received by adopting a preset electronic red packet detecting strategy;
the electronic red packet unpacking detecting unit is used for detecting whether the electronic red packet is unpacked if the electronic red packet is detected to be received;
and the electronic red packet detection strategy updating unit is used for updating the preset electronic red packet detection strategy if the electronic red packet is not disassembled.
The terminal device 5 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 50, a memory 51. Those skilled in the art will appreciate that fig. 5 is merely an example of a terminal device 5 and does not constitute a limitation of terminal device 5 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the terminal device may also include input-output devices, network access devices, buses, etc.
The Processor 50 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may be an internal storage unit of the terminal device 5, such as a hard disk or a memory of the terminal device 5. The memory 51 may also be an external storage device of the terminal device 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 5. Further, the memory 51 may also include both an internal storage unit and an external storage device of the terminal device 5. The memory 51 is used for storing the computer program and other programs and data required by the terminal device. The memory 51 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. An electronic red packet detection strategy updating method is characterized by comprising the following steps:
detecting whether an electronic red packet is received or not by adopting a preset electronic red packet detection strategy;
if the electronic red packet is detected to be received, detecting whether the electronic red packet is disassembled;
and if the electronic red packet is not disassembled, updating the preset electronic red packet detection strategy.
2. The method according to claim 1, wherein if the reception of the electronic red packet is not detected, counting a time length during which the reception of the electronic red packet is not detected, determining whether the counted time length is greater than or equal to a preset time length threshold, and if the counted time length is greater than or equal to the preset time length threshold, updating the preset electronic red packet detection policy.
3. The electronic red envelope detection strategy updating method of claim 2, wherein the preset duration threshold is determined by:
recording the time point of receiving the electronic red packet;
and calculating the time interval of two adjacent electronic red packets according to the recorded time points, and storing the calculated longest time interval.
4. The method for updating an electronic red packet inspection strategy according to claim 1, wherein the inspecting whether the electronic red packet is received by using a preset electronic red packet inspection strategy comprises:
and after the designated application is updated, detecting whether the electronic red packet is received or not by adopting a preset electronic red packet detection strategy.
5. The method for updating an electronic red packet inspection strategy according to any one of claims 1 to 4, wherein the updating the preset electronic red packet inspection strategy comprises:
acquiring image characteristics of an electronic red packet corresponding to the version of the current specified application;
replacing the image characteristics of the electronic red packet in the preset electronic red packet detection strategy with the acquired image characteristics of the electronic red packet corresponding to the version of the current specified application, and taking the updated preset electronic red packet detection strategy as a new preset electronic red packet detection strategy.
6. The method for updating an electronic red packet detection policy according to claim 5, wherein after replacing the image feature of the electronic red packet in the preset electronic red packet detection policy with the acquired image feature of the electronic red packet corresponding to the version of the currently specified application, and using the updated preset electronic red packet detection policy as a new preset electronic red packet detection policy, the method comprises:
detecting whether the electronic red packet is received or not by adopting a new preset electronic red packet detection strategy;
and if the fact that the electronic red packet is not detected to be received is not detected, counting the time length of the electronic red packet which is not detected to be received, judging whether the counted time length is greater than or equal to a preset time length threshold value or not, and if the counted time length is greater than or equal to the preset time length threshold value, prompting a user to update the new preset electronic red packet detection strategy.
7. An electronic red envelope detection strategy updating device is characterized by comprising:
the electronic red packet receiving and detecting unit is used for detecting whether an electronic red packet is received by adopting a preset electronic red packet detecting strategy;
the electronic red packet unpacking detecting unit is used for detecting whether the electronic red packet is unpacked if the electronic red packet is detected to be received;
and the electronic red packet detection strategy updating unit is used for updating the preset electronic red packet detection strategy if the electronic red packet is not disassembled.
8. The electronic red envelope detection policy updating apparatus according to claim 7, wherein said electronic red envelope detection policy updating apparatus further comprises:
and the duration counting unit is used for counting the duration of the electronic red packet which is not detected if the electronic red packet is not detected to be received, judging whether the counted duration is greater than or equal to a preset duration threshold value, and updating the preset electronic red packet detection strategy if the counted duration is greater than or equal to the preset duration threshold value.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201811023863.5A 2018-09-04 2018-09-04 Electronic red packet detection strategy updating method and device and terminal equipment Active CN110874724B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811023863.5A CN110874724B (en) 2018-09-04 2018-09-04 Electronic red packet detection strategy updating method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811023863.5A CN110874724B (en) 2018-09-04 2018-09-04 Electronic red packet detection strategy updating method and device and terminal equipment

Publications (2)

Publication Number Publication Date
CN110874724A true CN110874724A (en) 2020-03-10
CN110874724B CN110874724B (en) 2022-11-04

Family

ID=69716200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811023863.5A Active CN110874724B (en) 2018-09-04 2018-09-04 Electronic red packet detection strategy updating method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN110874724B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389117A (en) * 2015-12-07 2016-03-09 腾讯科技(深圳)有限公司 Resource acquiring method and apparatus and resource processing method, apparatus and system
WO2017120921A1 (en) * 2016-01-15 2017-07-20 白宏伟 Method for pushing information when processing wechat red envelope, and mobile terminal
CA3033678A1 (en) * 2016-03-15 2017-09-21 10353744 Canada Ltd. Server, wireless router and method for transmitting electronic red envelope thereof
CN108229939A (en) * 2017-12-29 2018-06-29 阿里巴巴集团控股有限公司 A kind of method, apparatus and equipment for sending and receiving electronics red packet
CN110874729A (en) * 2018-09-03 2020-03-10 Oppo广东移动通信有限公司 Switching method and switching device for electronic red packet identification strategy and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389117A (en) * 2015-12-07 2016-03-09 腾讯科技(深圳)有限公司 Resource acquiring method and apparatus and resource processing method, apparatus and system
WO2017120921A1 (en) * 2016-01-15 2017-07-20 白宏伟 Method for pushing information when processing wechat red envelope, and mobile terminal
CA3033678A1 (en) * 2016-03-15 2017-09-21 10353744 Canada Ltd. Server, wireless router and method for transmitting electronic red envelope thereof
CN108229939A (en) * 2017-12-29 2018-06-29 阿里巴巴集团控股有限公司 A kind of method, apparatus and equipment for sending and receiving electronics red packet
CN110874729A (en) * 2018-09-03 2020-03-10 Oppo广东移动通信有限公司 Switching method and switching device for electronic red packet identification strategy and mobile terminal

Also Published As

Publication number Publication date
CN110874724B (en) 2022-11-04

Similar Documents

Publication Publication Date Title
CN108733342B (en) Volume adjusting method, mobile terminal and computer readable storage medium
US20190095059A1 (en) Method and device for processing application icon and electronic apparatus
CN110049456B (en) Method and device for displaying rich media on mobile terminal and mobile terminal
CN109359091B (en) File management method, device, terminal and computer readable storage medium
CN110059273B (en) Method for displaying rich media on mobile terminal and mobile terminal
CN105357204B (en) Method and device for generating terminal identification information
CN107864044B (en) Information processing method and device, terminal and readable storage medium
US9692876B2 (en) Suppress and resume notifications based on motion
CN106775835B (en) Method, server and terminal for acquiring upgrade file
CN106776847B (en) Method and device for deleting media file and mobile terminal
CN108536512B (en) Interface switching method and device and terminal equipment
CN110780913B (en) Cross-machine type differential upgrading method and system, storage medium and electronic equipment
CN109104481B (en) File integrity detection method, file integrity detection device and terminal equipment
CN109271266B (en) File transmission method and device and terminal equipment
CN109298956B (en) File transmission method and device and terminal equipment
CN110874729B (en) Switching method and switching device for electronic red packet identification strategy and mobile terminal
CN108932704B (en) Picture processing method, picture processing device and terminal equipment
CN110874724B (en) Electronic red packet detection strategy updating method and device and terminal equipment
CN108521460B (en) Information pushing method and device, mobile terminal and computer readable storage medium
CN110874723B (en) Electronic red envelope detection method, electronic red envelope detection device and mobile terminal
CN108509111B (en) Application notification method and device and terminal equipment
CN110874730B (en) Information processing method, information processing device and mobile terminal
CN109799715B (en) Data receiving method, device and terminal equipment
CN108874586B (en) Data recovery method and related product
US20140043286A1 (en) Method for identifying touch pen in electronic device, and electronic device

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