CN110874729B - Switching method and switching device for electronic red packet identification strategy and mobile terminal - Google Patents

Switching method and switching device for electronic red packet identification strategy and mobile terminal Download PDF

Info

Publication number
CN110874729B
CN110874729B CN201811020587.7A CN201811020587A CN110874729B CN 110874729 B CN110874729 B CN 110874729B CN 201811020587 A CN201811020587 A CN 201811020587A CN 110874729 B CN110874729 B CN 110874729B
Authority
CN
China
Prior art keywords
red packet
electronic red
packet identification
strategy
current
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
CN201811020587.7A
Other languages
Chinese (zh)
Other versions
CN110874729A (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 CN201811020587.7A priority Critical patent/CN110874729B/en
Publication of CN110874729A publication Critical patent/CN110874729A/en
Application granted granted Critical
Publication of CN110874729B publication Critical patent/CN110874729B/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/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
    • G06Q20/367Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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"
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The application is applicable to the technical field of mobile terminals, and provides a switching method, a switching device, a mobile terminal and a computer readable storage medium for an electronic red packet identification strategy, which comprise the following steps: acquiring a current electronic red packet identification strategy of a preset application program; judging whether the current electronic red packet identification strategy is invalid or not; and if the current electronic red packet identification strategy is invalid, switching the current electronic red packet identification strategy to other electronic red packet identification strategies. By the method and the device, the problems that in the prior art, when the application program is upgraded or the version of the application program is not matched with the electronic red packet identification strategy, the electronic red packet identification strategy is easy to lose effectiveness, and the electronic red packet cannot be identified in time can be solved.

Description

Switching method and switching device for electronic red packet identification strategy and mobile terminal
Technical Field
The application belongs to the technical field of mobile terminals, and particularly relates to a switching method and a switching device for an electronic red packet identification strategy, a mobile terminal and a computer readable storage medium.
Background
With the wide popularization of mobile terminals such as smart phones and tablet computers, most mobile terminals are provided with a large number of social application programs such as WeChat and QQ, electronic red envelope capturing functions in the application programs are more and more common, and the mobile terminals can enable people to communicate in a social network more interesting and have stronger interactivity. In order to quickly get an electronic red packet, the application program usually needs to perform electronic red packet recognition when receiving the information. However, when the application program is upgraded or the version of the application program is not matched with the electronic red packet identification policy, the electronic red packet identification policy is easily disabled, and the electronic red packet cannot be identified in time.
Disclosure of Invention
In view of the above, the present application provides a switching method, a switching apparatus, a mobile terminal and a computer readable storage medium for an electronic red packet identification policy, so as to solve the problem that in the prior art, when an application program is upgraded or an application program version is not matched with the electronic red packet identification policy, the electronic red packet identification policy is easily disabled and the electronic red packet cannot be identified in time.
A first aspect of the present application provides a method for switching an electronic red envelope identification policy, including:
acquiring a current electronic red packet identification strategy of a preset application program;
judging whether the current electronic red packet identification strategy is invalid or not;
and if the current electronic red packet identification strategy is invalid, switching the current electronic red packet identification strategy to other electronic red packet identification strategies.
A second aspect of the present application provides a switching device for an electronic red envelope identification policy, including:
the strategy acquisition module is used for acquiring a current electronic red packet identification strategy of a preset application program;
the failure judgment module is used for judging whether the current electronic red packet identification strategy is failed or not;
and the strategy switching module is used for switching the current electronic red packet identification strategy to other electronic red packet identification strategies if the current electronic red packet identification strategy fails.
A third aspect of the present application provides a mobile terminal, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for switching the electronic red packet identification policy according to the first aspect when executing the computer program.
A fourth aspect of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the method for switching the electronic red packet identification policy according to the first aspect.
A fifth aspect of the present application provides a computer program product comprising a computer program which, when executed by one or more processors, performs the steps of the method for switching an electronic red packet identification policy according to the first aspect.
Therefore, according to the scheme, the current electronic red packet identification strategy of the preset application program is obtained firstly, whether the current electronic red packet identification strategy is invalid or not is judged, and when the current electronic red packet identification strategy is invalid, the current electronic red packet identification strategy is switched to other electronic red packet identification strategies. According to the scheme, the current electronic red packet identification strategy is switched to other electronic red packet identification strategies when the current electronic red packet identification strategy of the preset application program is invalid, so that the mobile terminal can be ensured to identify the electronic red packet in time, and the problems that the electronic red packet identification strategy is invalid and the electronic red packet cannot be identified in time due to the fact that the electronic red packet identification strategy is easy to fail when the application program is upgraded or the version of the application program is not matched with the electronic red packet identification strategy in the prior art are solved.
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 implementation flow diagram of a switching method of an electronic red packet identification policy according to an embodiment of the present application;
fig. 2 is a schematic implementation flow diagram of a switching method of an electronic red packet identification policy according to a second embodiment of the present application;
fig. 3 is a schematic implementation flow diagram of a switching method of an electronic red packet identification policy according to a third embodiment of the present application;
fig. 4 is a schematic implementation flow diagram of a switching method of an electronic red packet identification policy according to a fourth embodiment of the present application;
fig. 5 is a schematic diagram of a switching device of an electronic red envelope identification policy according to a fifth embodiment of the present application;
fig. 6 is a schematic diagram of a mobile terminal according to a sixth embodiment of the present application;
fig. 7 is a schematic diagram of a mobile terminal according to a seventh 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.
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 device is not a portable communication device, but is a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or touchpad).
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 digital video 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.
It should be understood that, the sequence numbers of the steps in this embodiment do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation to the implementation process of the embodiment of the present application.
In order to explain the technical means described in the present application, the following description will be given by way of specific examples.
Referring to fig. 1, which is a schematic view of an implementation flow of a switching method of an electronic red packet identification policy provided in an embodiment of the present application, where the switching method of the electronic red packet identification policy is applied to a mobile terminal, as shown in the figure, the switching method of the electronic red packet identification policy may include the following steps:
and S101, acquiring a current electronic red packet identification strategy of a preset application program.
In the embodiment of the application, the current electronic red packet identification strategy of the preset application program can be obtained when the mobile terminal starts the preset application program, and the current electronic red packet identification strategy of the preset application program can also be obtained when the strategy switching function of the preset application program is detected to be started.
The preset application program refers to an application program of a certain type or with a certain function selected by a user from application programs installed on the mobile terminal, for example, application programs with functions of robbing/generating electronic packages, such as WeChat, Paibao, QQ and the like. Optionally, the user may modify the selected application according to actual needs.
The strategy switching function is a function of automatically switching to other electronic red packet identification strategies when the current electronic red packet identification strategy is invalid. The current electronic red packet policy of the preset application program may be an electronic red packet identification policy adopted when the preset application program identifies an electronic red packet at the current moment.
And S102, judging whether the current electronic red packet identification strategy is invalid.
In the embodiment of the application, whether the current electronic red packet identification strategy is invalid or not can be judged according to the identification accuracy of the current electronic red packet identification strategy; or when a preset application program receives information, judging whether the current electronic red packet identification strategy is invalid or not by detecting whether the current electronic red packet identification strategy feeds back an identification result to the information or not within a preset time, for example, if the current electronic red packet identification strategy is detected not to feed back an identification result within the preset time, determining that the current electronic red packet identification strategy is invalid, and if the current electronic red packet identification strategy is detected to feed back an identification result within the preset time, determining that the current electronic red packet identification strategy is not invalid, and continuously using the current electronic red packet identification strategy to perform electronic red packet identification on the information received by the preset application program.
Step S103, if the current electronic red packet identification strategy is invalid, switching the current electronic red packet identification strategy to other electronic red packet identification strategies.
In the embodiment of the application, a plurality of electronic red packet identification strategies can be set for a preset application program in advance, when the current electronic red packet identification strategy of the preset application program is detected to be invalid, the current electronic red packet identification strategy of the preset application program can be switched to other electronic red packet identification strategies of the preset application program, and the other electronic red packet identification strategies of the preset application program are used for carrying out electronic red packet identification on received information. The other electronic red packet identification strategies of the preset application program refer to other electronic red packet identification strategies except the current electronic red packet identification strategy in the multiple electronic red packet identification strategies of the preset application program. The electronic red packet identification strategy of the preset application program is a strategy for carrying out electronic red packet identification on information received by the preset application program, for example, when the preset application program receives the information, the ID information of a control to which the information belongs is obtained, and if the ID information of the control to which the information belongs is matched with the prestored ID information, the information is determined to be the electronic red packet information; or acquiring text information of a control to which the information belongs; if the text information of the control exists in the prestored text information, determining that the information is electronic red packet information; or acquiring the position information of the control to which the information belongs in the current display interface of the preset application program; and if the acquired position information is matched with the position information stored in advance, determining that the information is electronic red packet information and the like. Optionally, the user may modify the selected electronic red packet identification policy according to actual needs.
In the embodiment of the application, when the current electronic red packet identification strategy is detected to be invalid, a user can be prompted, and when a switching confirmation instruction sent by the user is received, the current electronic red packet identification strategy is switched to other electronic red packet identification strategies. The prompting mode may be a voice prompt or a text prompt, and is not limited herein.
According to the embodiment of the application, the current electronic red packet identification strategy is switched to other electronic red packet identification strategies when the current electronic red packet identification strategy of the preset application program is invalid, so that the mobile terminal can be ensured to identify the electronic red packet in time, and the problems that the electronic red packet identification strategy is easy to be invalid and the electronic red packet cannot be identified in time when the application program is upgraded or the application program version is not matched with the electronic red packet identification strategy in the prior art are solved.
Referring to fig. 2, it is a schematic view of an implementation flow of a switching method of an electronic red packet identification policy provided in the second embodiment of the present application, where the switching method of the electronic red packet identification policy is applied to a mobile terminal, and as shown in the figure, the switching of the electronic red packet identification policy may include the following steps:
step S201, acquiring a current electronic red packet identification policy of a preset application program.
The step is the same as step S101, and reference may be made to the related description of step S101, which is not repeated herein.
And step S202, acquiring the identification accuracy of the current electronic red packet identification strategy.
In the embodiment of the application, in order to determine whether the current electronic red packet identification policy of the preset application program is invalid, the identification accuracy of the current electronic red packet identification policy may be obtained, and if the identification accuracy is lower than a preset accuracy, it is determined that the current electronic red packet identification policy is invalid, and the current electronic red packet identification policy has a lower identification accuracy for the electronic red packet, and needs to be switched to the electronic red packet identification policy with a higher identification accuracy; and if the identification accuracy is higher than or equal to the preset accuracy, determining that the current electronic red packet identification strategy is not invalid, wherein the identification accuracy of the current electronic red packet identification strategy on the electronic red packet is higher, and the current electronic red packet identification strategy can be continuously used for identifying the electronic red packet. And the preset accuracy is used for indicating whether the current electronic red packet identification strategy is invalid or not.
Optionally, the obtaining of the identification accuracy of the current electronic red packet identification policy includes:
and acquiring the times of correct recognition results of the current electronic red packet recognition strategy in preset recognition times, and taking the ratio of the times of correct recognition results to the preset recognition times as the recognition accuracy of the electronic red packet recognition strategy.
Optionally, the embodiment of the present application further includes:
detecting whether the current electronic red packet identification strategy identifies the electronic red packet at the current moment, and detecting whether the electronic red packet is disassembled within a first preset time;
if it is detected that the current electronic red packet identification strategy identifies the electronic red packet at the current moment and it is detected that the electronic red packet is disassembled within a first preset time, or it is detected that the current electronic red packet identification strategy does not identify the electronic red packet at the current moment and it is detected that the electronic red packet is not disassembled within the first preset time, it is determined that the identification result of the current electronic red packet identification strategy is correct;
and if the current electronic red packet identification strategy is detected to identify the electronic red packet at the current moment and no electronic red packet is detected to be unpacked within the first preset time, or the current electronic red packet identification strategy is detected to not identify the electronic red packet at the current moment and no electronic red packet is detected to be unpacked within the first preset time, determining that the identification result of the current electronic red packet identification strategy is incorrect.
In the embodiment of the application, when presetting application and receiving information, through detecting current electron red packet identification strategy is right at the present moment whether the information discerns electron red packet and in first preset time whether have electron red packet quilt in the presetting application and unpack apart, can judge whether the identification result of current electron red packet identification strategy is correct, be convenient for make statistics of the number of times that the identification result is correct in the number of times of presetting identification of current electron red packet identification strategy obtains the identification accuracy of current electron red packet identification strategy.
Step S203, if the identification accuracy is lower than a preset accuracy, determining that the current electronic red packet identification strategy is invalid.
And step S204, switching the current electronic red packet identification strategy to other electronic red packet identification strategies.
In the embodiment of the application, a plurality of electronic red packet identification strategies can be set for a preset application program in advance, when the current electronic red packet identification strategy of the preset application program is detected to be invalid, the current electronic red packet identification strategy of the preset application program can be switched to other electronic red packet identification strategies of the preset application program, and the other electronic red packet identification strategies of the preset application program are used for carrying out electronic red packet identification on received information.
According to the embodiment of the application, whether the current electronic red packet identification strategy of the preset application program is effective or not can be accurately judged according to the identification accuracy of the current electronic red packet identification strategy of the preset application program, and a user can conveniently and timely know the effectiveness of the current electronic red packet identification strategy for identifying the electronic red packet.
Referring to fig. 3, which is a schematic view of an implementation flow of a switching method of an electronic red packet identification policy provided in the third embodiment of the present application, where the switching method of the electronic red packet identification policy is applied to a mobile terminal, as shown in the figure, the switching of the electronic red packet identification policy may include the following steps:
step S301, obtaining a current electronic red packet identification strategy of a preset application program.
The step is the same as step S101, and reference may be made to the related description of step S101, which is not repeated herein.
Step S302, obtaining the number N of the recognition results of which the feedback time is within a second preset time from the M recognition results fed back by the current electronic red packet recognition strategy.
Wherein M is an integer greater than zero, and N is greater than or equal to zero and less than or equal to M.
Step S303, calculating the ratio of N to M
Figure BDA0001787204430000091
Step S304, if the ratio is not equal to
Figure BDA0001787204430000092
And if the current electronic red packet identification strategy is less than a preset threshold value, determining that the current electronic red packet identification strategy is invalid.
In the embodiment of the application, when the current electronic red packet identification strategy is used by the preset application program to perform electronic red packet identification on received information, the identification result can be fed back generally, when the preset application program is upgraded or the application program version is not matched with the current electronic identification strategy, the identification result can be fed back for a long time by the current electronic red packet identification strategy, the identification efficiency of the electronic red packet is low, the electronic red packet can be quickly robbed by a user conveniently in order to improve the identification efficiency of the electronic red packet, and at the moment, the current electronic red packet identification strategy can be switched to the electronic red packet identification strategy with the high identification efficiency of the preset application program. The method comprises the steps of starting timing by using a timer when a preset application program receives information, finishing timing when an identification result fed back by the current electronic red packet identification strategy is received, and taking the timing duration of the timer as the feedback time of the identification result.
In order to accurately obtain the identification efficiency of the current electronic red packet identification strategy, the identification results of the current electronic red packet identification strategy on the M information can be counted, since one information usually corresponds to one identification result, the M information corresponds to the M identification results, the number N of the identification results of the M identification results fed back by the current electronic red packet identification strategy, the feedback time of which is within the second preset time, is obtained, and the ratio of the N to the M is calculated
Figure BDA0001787204430000093
The recognition efficiency of the current electronic red packet recognition strategy is determined according to the ratio
Figure BDA0001787204430000094
If the current electronic red packet identification strategy is smaller than a preset threshold value, determining that the current electronic red packet identification strategy is invalid, wherein the identification efficiency of the current electronic red packet identification strategy on the electronic red packet is low, and switching the current electronic red packet identification strategy to the electronic red packet identification strategy with high identification efficiency; if the ratio is
Figure BDA0001787204430000101
If the current electronic red packet identification strategy is larger than or equal to a preset threshold value, determining that the current electronic red packet identification strategy is not invalid, wherein the current electronic red packet identification strategy has higher identification efficiency on the electronic red packet, and the current electronic red packet identification strategy can be continuously used for identifying the electronic red packet. The preset threshold value is used for indicating whether the current electronic red packet identification strategy is invalid or not.
Step S305, switching the current electronic red packet identification strategy to other electronic red packet identification strategies.
In the embodiment of the application, a plurality of electronic red packet identification strategies can be set for a preset application program in advance, when the current electronic red packet identification strategy of the preset application program is detected to be invalid, the current electronic red packet identification strategy of the preset application program can be switched to other electronic red packet identification strategies of the preset application program, and the other electronic red packet identification strategies of the preset application program are used for carrying out electronic red packet identification on received information. The other electronic red packet identification strategies of the preset application program refer to other electronic red packet identification strategies except the current electronic red packet identification strategy in the multiple electronic red packet identification strategies of the preset application program.
According to the identification efficiency of the current electronic red packet identification strategy of the preset application program, whether the current electronic red packet identification strategy of the preset application program is effective or not can be accurately judged, and therefore a user can timely know the effectiveness of the current electronic red packet identification strategy for identifying the electronic red packet.
Referring to fig. 4, which is a schematic view of an implementation flow of a switching method of an electronic red packet identification policy provided in the fourth embodiment of the present application, where the switching method of the electronic red packet identification policy is applied to a mobile terminal, as shown in the figure, the switching of the electronic red packet identification policy may include the following steps:
step S401, setting priorities of a plurality of electronic red packet identification strategies of a preset application program.
In the embodiment of the application, a plurality of electronic red packet identification strategies can be set for a preset application program in advance, the priorities of the electronic red packet identification strategies are set, and when electronic red packet identification is carried out on information received by the preset application program, the electronic red packet identification strategy with the higher priority is preferentially used.
And step S402, acquiring the current electronic red packet identification strategy of the preset application program.
The step is the same as step S101, and reference may be made to the related description of step S101, which is not repeated herein.
Step S403, determining whether the current electronic red packet identification policy is invalid.
The step is the same as step S102, and reference may be made to the related description of step S102, which is not repeated herein.
Step S404, if the current electronic red packet identification strategy is invalid, whether an electronic red packet identification strategy with a priority lower than that of the current electronic red packet identification strategy exists in the plurality of electronic red packet identification strategies is detected.
Step S405, if an electronic red packet identification strategy with a priority lower than that of the current electronic red packet identification strategy exists in the electronic red packet strategies, switching the current electronic red packet identification strategy to an electronic red packet identification strategy with a priority second to the current electronic red packet identification strategy.
Step S406, if there is no electronic red packet identification policy with a priority lower than the priority of the current electronic red packet identification policy in the plurality of electronic red packet policies, switching the current electronic red packet identification policy to the electronic red packet identification policy with the highest priority.
In order to identify an electronic red packet in time when a current electronic red packet identification strategy of a preset application program fails, the embodiment of the application can acquire the priority of the current electronic red packet identification strategy when detecting that the current electronic red packet identification strategy fails, detect whether an electronic red packet identification strategy with a priority lower than that of the current electronic red packet identification strategy exists in a plurality of electronic red packet identification strategies of the preset application program, switch the current electronic red packet identification strategy to an electronic red packet identification strategy with a priority next to that of the current electronic red packet identification strategy if the electronic red packet identification strategy with a priority lower than that of the current electronic red packet identification strategy exists in the plurality of electronic red packet strategies, and identify the electronic red packet by using the electronic red packet identification strategy; and if the electronic red packet identification strategy with the priority lower than that of the current electronic red packet identification strategy does not exist in the plurality of electronic red packet strategies, switching the current electronic red packet identification strategy to the electronic red packet identification strategy with the highest priority, and identifying the electronic red packet by using the electronic red packet identification strategy.
The priority of a plurality of electronic red packet identification strategies of a preset application program is preset, and when the current electronic red packet identification strategy is invalid, the electronic red packet identification strategies are switched according to the priority, so that the electronic red packet can be identified in time when the current electronic red packet identification strategy is invalid.
Fig. 5 is a schematic diagram of a switching device of an electronic red packet identification policy provided in the fifth embodiment of the present application, and for convenience of description, only the portions related to the embodiment of the present application are shown.
The switching device of the electronic red packet identification strategy comprises:
the policy obtaining module 51 is configured to obtain a current electronic red packet identification policy of a preset application program;
the failure judgment module 52 is configured to judge whether the current electronic red packet identification policy fails;
and a policy switching module 53, configured to switch the current electronic red packet identification policy to another electronic red packet identification policy if the current electronic red packet identification policy fails.
Optionally, the failure determining module 52 includes:
the first acquisition unit is used for acquiring the identification accuracy of the current electronic red packet identification strategy;
the first determining unit is used for determining that the current electronic red packet identification strategy is invalid if the identification accuracy is lower than a preset accuracy;
and the second determining unit is used for determining that the current electronic red packet identification strategy is not invalid if the identification accuracy is higher than or equal to the preset accuracy.
Optionally, the first obtaining unit is specifically configured to:
and acquiring the times that the identification result of the current electronic red packet identification strategy is correct in preset identification times, and taking the ratio of the times that the identification result is correct to the preset identification times as the identification accuracy of the electronic red packet identification strategy.
Optionally, the failure determining module 52 further includes:
the detection unit is used for detecting whether the current electronic red packet identification strategy identifies the electronic red packet at the current moment and detecting whether the electronic red packet is disassembled within first preset time;
a third determining unit, configured to determine that an identification result of the current electronic red packet identification policy is correct if it is detected that the current electronic red packet identification policy identifies an electronic red packet at the current time and it is detected that the electronic red packet is disassembled within a first preset time, or it is detected that the current electronic red packet identification policy does not identify an electronic red packet at the current time and it is detected that the electronic red packet is not disassembled within the first preset time;
and the fourth determining unit is used for determining that the identification result of the current electronic red packet identification strategy is incorrect if it is detected that the current electronic red packet identification strategy identifies the electronic red packet at the current moment and no electronic red packet is disassembled within the first preset time, or it is detected that the current electronic red packet identification strategy does not identify the electronic red packet at the current moment and no electronic red packet is disassembled within the first preset time.
Optionally, the failure determining module 52 further includes:
a second obtaining unit, configured to obtain, from M identification results fed back by the current electronic red packet identification policy, a number N of identification results whose feedback time is within a second preset time, where M is an integer greater than zero, and N is greater than or equal to zero and less than or equal to M;
a calculation unit for calculating the ratio of N to M
Figure BDA0001787204430000131
A fifth determining unit for determining the ratio
Figure BDA0001787204430000132
If the current electronic red packet identification strategy is smaller than a preset threshold value, determining that the current electronic red packet identification strategy is invalid;
a sixth determining unit for determining if the ratio is
Figure BDA0001787204430000133
And if the current electronic red packet identification strategy is larger than or equal to the preset threshold value, determining that the current electronic red packet identification strategy is not invalid.
Optionally, the switching device of the electronic red packet identification policy further includes:
a priority setting module 54 for setting the priority of a plurality of electronic red packet identification policies;
accordingly, the policy switching module 53 includes:
the priority detection unit is used for detecting whether an electronic red packet identification strategy with the priority lower than that of the current electronic red packet identification strategy exists in the electronic red packet identification strategies;
the first switching unit is used for switching the current electronic red packet identification strategy to an electronic red packet identification strategy with the priority second to the current electronic red packet identification strategy if the electronic red packet identification strategy with the priority lower than that of the current electronic red packet identification strategy exists in the plurality of electronic red packet strategies;
and the second switching unit is used for switching the current electronic red packet identification strategy to the electronic red packet identification strategy with the highest priority if the electronic red packet identification strategy with the priority lower than that of the current electronic red packet identification strategy does not exist in the plurality of electronic red packet strategies.
The switching device of the electronic red packet identification policy provided in this embodiment of the present application can be applied to the first, second, third, and fourth embodiments of the foregoing methods, and for details, refer to the description of the first, second, third, and fourth embodiments of the foregoing methods, and are not described herein again.
Fig. 6 is a schematic diagram of a mobile terminal according to a sixth embodiment of the present application. The mobile terminal as shown in the figure may include: one or more processors 601 (only one shown); one or more input devices 602 (only one shown), one or more output devices 603 (only one shown), and memory 604. The processor 601, the input device 602, the output device 603, and the memory 604 are connected by a bus 605. The memory 604 is used for storing instructions and the processor 601 is used for executing instructions stored by the memory 604. Wherein:
the processor 601 is configured to obtain a current electronic red packet identification policy of a preset application program; judging whether the current electronic red packet identification strategy is invalid or not; and if the current electronic red packet identification strategy is invalid, switching the current electronic red packet identification strategy to other electronic red packet identification strategies.
Optionally, the processor 601 is specifically configured to:
acquiring the identification accuracy of the current electronic red packet identification strategy;
if the identification accuracy is lower than a preset accuracy, determining that the current electronic red packet identification strategy is invalid;
and if the identification accuracy is higher than or equal to the preset accuracy, determining that the current electronic red packet identification strategy is not invalid.
Optionally, the processor 601 is specifically configured to:
and acquiring the times that the identification result of the current electronic red packet identification strategy is correct in preset identification times, and taking the ratio of the times that the identification result is correct to the preset identification times as the identification accuracy of the electronic red packet identification strategy.
Optionally, the processor 601 is further configured to:
detecting whether the current electronic red packet identification strategy identifies the electronic red packet at the current moment, and simultaneously detecting whether the electronic red packet is disassembled within a first preset time;
if it is detected that the current electronic red packet identification strategy identifies the electronic red packet at the current moment and it is detected that the electronic red packet is disassembled within a first preset time, or it is detected that the current electronic red packet identification strategy does not identify the electronic red packet at the current moment and it is detected that the electronic red packet is not disassembled within the first preset time, it is determined that the identification result of the current electronic red packet identification strategy is correct;
and if the current electronic red packet identification strategy is detected to identify the electronic red packet at the current moment and no electronic red packet is detected to be disassembled within the first preset time, or the current electronic red packet identification strategy is detected to identify no electronic red packet at the current moment and no electronic red packet is detected to be disassembled within the first preset time, determining that the identification result of the current electronic red packet identification strategy is incorrect.
Optionally, the processor 601 is specifically configured to:
acquiring the number N of identification results with the feedback time within a second preset time from M identification results fed back by the current electronic red packet identification strategy, wherein M is an integer larger than zero, and N is larger than or equal to zero and smaller than or equal to M;
calculating the ratio of N to M
Figure BDA0001787204430000151
If the ratio is
Figure BDA0001787204430000152
If the current electronic red packet identification strategy is smaller than a preset threshold value, determining that the current electronic red packet identification strategy is invalid;
if the ratio is
Figure BDA0001787204430000153
And if the current electronic red packet identification strategy is larger than or equal to the preset threshold value, determining that the current electronic red packet identification strategy is not invalid.
Optionally, the processor 601 is further configured to:
setting priorities of a plurality of electronic red packet identification strategies;
correspondingly, optionally, the processor 601 is specifically configured to:
detecting whether an electronic red packet identification strategy with a priority lower than that of the current electronic red packet identification strategy exists in the plurality of electronic red packet identification strategies;
if an electronic red packet identification strategy with a priority lower than that of the current electronic red packet identification strategy exists in the plurality of electronic red packet strategies, switching the current electronic red packet identification strategy to an electronic red packet identification strategy with a priority second to the current electronic red packet identification strategy;
and if the electronic red packet identification strategy with the priority lower than that of the current electronic red packet identification strategy does not exist in the plurality of electronic red packet strategies, switching the current electronic red packet identification strategy to the electronic red packet identification strategy with the highest priority.
It should be understood that, in the embodiment of the present Application, the Processor 601 may be a Central Processing Unit (CPU), and the Processor may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 602 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, a data receiving interface, and the like. The output device 603 may include a display (LCD, etc.), speakers, a data transmission interface, and the like.
The memory 604 may include both read-only memory and random access memory, and provides instructions and data to the processor 601. A portion of the memory 604 may also include non-volatile random access memory. For example, the memory 604 may also store device type information.
In specific implementation, the processor 601, the input device 602, the output device 603, and the memory 604 described in this embodiment of the present application may execute the implementation described in the embodiment of the method for switching the electronic red packet identification policy provided in this embodiment of the present application, or may execute the implementation described in the switching apparatus for the electronic red packet identification policy described in the fifth embodiment of the present application, which is not described herein again.
Fig. 7 is a schematic diagram of a mobile terminal according to a seventh embodiment of the present application. As shown in fig. 7, the mobile terminal 7 of this embodiment includes: a processor 70, a memory 71 and a computer program 72 stored in said memory 71 and executable on said processor 70. The processor 70, when executing the computer program 72, implements the steps in the above-mentioned embodiments of the method for switching the electronic red packet identification policy, such as the steps S101 to S103 shown in fig. 1. Alternatively, the processor 70, when executing the computer program 72, implements the functions of the modules/units in the device embodiments described above, such as the modules 51 to 54 shown in fig. 5.
Illustratively, the computer program 72 may be partitioned into one or more modules/units that are stored in the memory 71 and executed by the processor 70 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 of the computer program 72 in the mobile terminal 7. For example, the computer program 72 may be divided into a policy obtaining module, a failure determining module, a policy switching module, and a priority setting module, and the specific functions of each module are as follows:
the strategy acquisition module is used for acquiring a current electronic red packet identification strategy of a preset application program;
the failure judgment module is used for judging whether the current electronic red packet identification strategy is failed or not;
and the strategy switching module is used for switching the current electronic red packet identification strategy to other electronic red packet identification strategies if the current electronic red packet identification strategy is invalid.
Optionally, the failure determining module includes:
the first acquisition unit is used for acquiring the identification accuracy of the current electronic red packet identification strategy;
the first determining unit is used for determining that the current electronic red packet identification strategy is invalid if the identification accuracy is lower than a preset accuracy;
and the second determining unit is used for determining that the current electronic red packet identification strategy is not invalid if the identification accuracy is higher than or equal to the preset accuracy.
Optionally, the first obtaining unit is specifically configured to:
and acquiring the times of correct recognition results of the current electronic red packet recognition strategy in preset recognition times, and taking the ratio of the times of correct recognition results to the preset recognition times as the recognition accuracy of the electronic red packet recognition strategy.
Optionally, the failure determining module further includes:
the detection unit is used for detecting whether the current electronic red packet identification strategy identifies the electronic red packet at the current moment and detecting whether the electronic red packet is disassembled within first preset time;
a third determining unit, configured to determine that an identification result of the current electronic red packet identification policy is correct if it is detected that the current electronic red packet identification policy identifies an electronic red packet at the current time and it is detected that the electronic red packet is disassembled within a first preset time, or it is detected that the current electronic red packet identification policy does not identify an electronic red packet at the current time and it is detected that the electronic red packet is not disassembled within the first preset time;
and a fourth determining unit, configured to determine that an identification result of the current electronic red packet identification policy is incorrect if it is detected that the current electronic red packet identification policy identifies an electronic red packet at the current time and it is detected that no electronic red packet is unpacked within the first preset time, or it is detected that the current electronic red packet identification policy does not identify an electronic red packet at the current time and it is detected that an electronic red packet is unpacked within the first preset time.
Optionally, the failure determining module further includes:
a second obtaining unit, configured to obtain, from the M identification results fed back by the current electronic red packet identification policy, a number N of identification results whose feedback time is within a second preset time, where M is an integer greater than zero, and N is greater than or equal to zero and less than or equal to M;
a calculation unit for calculating the ratio of N to M
Figure BDA0001787204430000181
A fifth determining unit for determining the ratio
Figure BDA0001787204430000182
If the current electronic red packet identification strategy is less than a preset threshold value, determining that the current electronic red packet identification strategy is invalid;
a sixth determining unit for determining the ratio
Figure BDA0001787204430000183
And if the current electronic red packet identification strategy is larger than or equal to the preset threshold value, determining that the current electronic red packet identification strategy is not invalid.
Optionally, the priority setting module is configured to set priorities of a plurality of electronic red packet identification policies;
correspondingly, the policy switching module comprises:
the priority detection unit is used for detecting whether an electronic red packet identification strategy with the priority lower than that of the current electronic red packet identification strategy exists in the electronic red packet identification strategies;
the first switching unit is used for switching the current electronic red packet identification strategy to an electronic red packet identification strategy with the priority second to the current electronic red packet identification strategy if the electronic red packet identification strategy with the priority lower than that of the current electronic red packet identification strategy exists in the plurality of electronic red packet strategies;
and the second switching unit is used for switching the current electronic red packet identification strategy to the electronic red packet identification strategy with the highest priority if the electronic red packet identification strategy with the priority lower than that of the current electronic red packet identification strategy does not exist in the plurality of electronic red packet strategies.
The mobile terminal 7 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The mobile terminal may include, but is not limited to, a processor 70, a memory 71. It will be appreciated by those skilled in the art that fig. 7 is only an example of a mobile terminal 7 and does not constitute a limitation of the mobile terminal 7, and that it may comprise more or less components than those shown, or some components may be combined, or different components, e.g. the mobile terminal may further comprise input output devices, network access devices, buses, etc.
The processor 70 may be a central processing unit CPU, but may also be other general purpose processors, digital signal processors DSP, application specific integrated circuits ASIC, off-the-shelf programmable gate arrays FPGA or other programmable logic devices, discrete gate or transistor logic devices, 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 71 may be an internal storage unit of the mobile terminal 7, such as a hard disk or a memory of the mobile terminal 7. The memory 71 may also be an external storage device of the mobile terminal 7, 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 mobile terminal 7. Further, the memory 71 may also include both an internal storage unit and an external storage device of the mobile terminal 7. The memory 71 is used for storing the computer program and other programs and data required by the mobile terminal. The memory 71 may also be used to temporarily store data that has been output or is to be output.
It should be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional units and modules is only used for illustration, and in practical applications, the above function distribution may be performed by different functional units and modules as needed, that is, the internal structure of the apparatus may be divided into different functional units or modules to perform all or part of the above described 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 used for distinguishing one functional unit from another, 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 technical solution. 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 type of logical function division, and other division manners may be available in actual implementation, for example, multiple 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 through some interfaces, indirect coupling or communication connection of 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 position, or may be distributed on multiple 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 module/unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, 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 depart from the spirit and scope of the embodiments of the present application, and they should be construed as being included in the present application.

Claims (10)

1. A switching method of an electronic red packet identification strategy is characterized by comprising the following steps:
acquiring a current electronic red packet identification strategy of a preset application program;
judging whether the current electronic red packet identification strategy is invalid or not;
if the current electronic red packet identification strategy is invalid, switching the current electronic red packet identification strategy to other electronic red packet identification strategies; the electronic red packet identification strategy is a strategy for carrying out electronic red packet identification on the information received by the preset application program.
2. The method for switching the electronic red packet identification policy according to claim 1, wherein the determining whether the current electronic red packet identification policy is invalid comprises:
acquiring the identification accuracy of the current electronic red packet identification strategy;
if the identification accuracy is lower than a preset accuracy, determining that the current electronic red packet identification strategy is invalid;
and if the identification accuracy is higher than or equal to the preset accuracy, determining that the current electronic red packet identification strategy is not invalid.
3. The method for switching the electronic red packet identification policy according to claim 2, wherein the obtaining the identification accuracy of the current electronic red packet identification policy comprises:
and acquiring the times that the identification result of the current electronic red packet identification strategy is correct in preset identification times, and taking the ratio of the times that the identification result is correct to the preset identification times as the identification accuracy of the electronic red packet identification strategy.
4. The method for switching the electronic red envelope identification policy of claim 3, further comprising:
detecting whether the current electronic red packet identification strategy identifies the electronic red packet at the current moment, and detecting whether the electronic red packet is disassembled within a first preset time;
if the current electronic red packet identification strategy is detected to identify the electronic red packet at the current moment and the electronic red packet is detected to be unpacked within a first preset time, or the current electronic red packet identification strategy is detected to not identify the electronic red packet at the current moment and the electronic red packet is detected to not be unpacked within the first preset time, determining that the identification result of the current electronic red packet identification strategy is correct;
and if the current electronic red packet identification strategy is detected to identify the electronic red packet at the current moment and no electronic red packet is detected to be disassembled within the first preset time, or the current electronic red packet identification strategy is detected to identify no electronic red packet at the current moment and no electronic red packet is detected to be disassembled within the first preset time, determining that the identification result of the current electronic red packet identification strategy is incorrect.
5. The method for switching electronic red packet identification policies according to claim 1, wherein the determining whether the current electronic red packet identification policy is invalid includes:
acquiring the number N of identification results with the feedback time within a second preset time from M identification results fed back by the current electronic red packet identification strategy, wherein M is an integer larger than zero, and N is larger than or equal to zero and smaller than or equal to M;
calculating the ratio of N to M
Figure FDA0003700543170000021
If ratio of
Figure FDA0003700543170000022
If the current electronic red packet identification strategy is smaller than a preset threshold value, determining that the current electronic red packet identification strategy is invalid;
if ratio of
Figure FDA0003700543170000023
And if the current electronic red packet identification strategy is larger than or equal to the preset threshold value, determining that the current electronic red packet identification strategy is not invalid.
6. The method for switching the electronic red packet identification policy according to any one of claims 1 to 5, further comprising:
setting priorities of a plurality of electronic red packet identification strategies;
correspondingly, the switching the current electronic red packet identification strategy to other electronic red packet identification strategies includes:
detecting whether an electronic red packet identification strategy with a priority lower than that of the current electronic red packet identification strategy exists in the plurality of electronic red packet identification strategies;
if an electronic red packet identification strategy with a priority lower than that of the current electronic red packet identification strategy exists in the plurality of electronic red packet strategies, switching the current electronic red packet identification strategy to an electronic red packet identification strategy with a priority second to the current electronic red packet identification strategy;
and if the electronic red packet identification strategy with the priority lower than that of the current electronic red packet identification strategy does not exist in the plurality of electronic red packet strategies, switching the current electronic red packet identification strategy to the electronic red packet identification strategy with the highest priority.
7. An apparatus for switching an electronic red envelope identification policy, comprising:
the strategy acquisition module is used for acquiring a current electronic red packet identification strategy of a preset application program;
the failure judgment module is used for judging whether the current electronic red packet identification strategy is failed or not;
the strategy switching module is used for switching the current electronic red packet identification strategy to other electronic red packet identification strategies if the current electronic red packet identification strategy is invalid; the electronic red packet identification strategy is a strategy for carrying out electronic red packet identification on the information received by the preset application program.
8. The apparatus for switching the electronic red envelope identification policy according to claim 7, wherein the failure determination module comprises:
the first acquisition unit is used for acquiring the identification accuracy of the current electronic red packet identification strategy;
the first determining unit is used for determining that the current electronic red packet identification strategy is invalid if the identification accuracy is lower than a preset accuracy;
and the second determining unit is used for determining that the current electronic red packet identification strategy is not invalid if the identification accuracy is higher than or equal to the preset accuracy.
9. A mobile terminal 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 for switching the electronic red packet identification policy according to any one 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 for switching an electronic red packet identification policy according to any one of claims 1 to 6.
CN201811020587.7A 2018-09-03 2018-09-03 Switching method and switching device for electronic red packet identification strategy and mobile terminal Active CN110874729B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811020587.7A CN110874729B (en) 2018-09-03 2018-09-03 Switching method and switching device for electronic red packet identification strategy and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811020587.7A CN110874729B (en) 2018-09-03 2018-09-03 Switching method and switching device for electronic red packet identification strategy and mobile terminal

Publications (2)

Publication Number Publication Date
CN110874729A CN110874729A (en) 2020-03-10
CN110874729B true CN110874729B (en) 2022-09-06

Family

ID=69716628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811020587.7A Active CN110874729B (en) 2018-09-03 2018-09-03 Switching method and switching device for electronic red packet identification strategy and mobile terminal

Country Status (1)

Country Link
CN (1) CN110874729B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110874724B (en) * 2018-09-04 2022-11-04 Oppo广东移动通信有限公司 Electronic red packet detection strategy updating method and device and terminal equipment
CN111787345B (en) * 2020-07-07 2022-04-01 北京达佳互联信息技术有限公司 Interactive resource processing method and device based on network live broadcast room, server and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244604A (en) * 2010-05-11 2011-11-16 华为终端有限公司 Quality of service control method for home gateway, home gateway and system
CN102869063A (en) * 2012-09-10 2013-01-09 大唐移动通信设备有限公司 Method and device for adjusting air interface
CN105898811A (en) * 2016-04-01 2016-08-24 宇龙计算机通信科技(深圳)有限公司 Terminal communication method, terminal communication device and terminal
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
CN107948149A (en) * 2017-11-21 2018-04-20 杭州安恒信息技术有限公司 Tactful self study and optimization method and device based on random forest

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244604A (en) * 2010-05-11 2011-11-16 华为终端有限公司 Quality of service control method for home gateway, home gateway and system
CN102869063A (en) * 2012-09-10 2013-01-09 大唐移动通信设备有限公司 Method and device for adjusting air interface
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
CN105898811A (en) * 2016-04-01 2016-08-24 宇龙计算机通信科技(深圳)有限公司 Terminal communication method, terminal communication device and terminal
CN107948149A (en) * 2017-11-21 2018-04-20 杭州安恒信息技术有限公司 Tactful self study and optimization method and device based on random forest

Also Published As

Publication number Publication date
CN110874729A (en) 2020-03-10

Similar Documents

Publication Publication Date Title
CN108733342B (en) Volume adjusting method, mobile terminal and computer readable storage medium
CN108038112B (en) File processing method, mobile terminal and computer readable storage medium
CN108400868B (en) Seed key storage method and device and mobile terminal
CN107193598B (en) Application starting method, mobile terminal and computer readable storage medium
CN107368735B (en) Application installation method, mobile terminal and computer readable storage medium
CN107317928B (en) Information processing method, mobile terminal and computer readable storage medium
CN110874729B (en) Switching method and switching device for electronic red packet identification strategy and mobile terminal
US9098196B2 (en) Touch system inadvertent input elimination
CN111142650B (en) Screen brightness adjusting method, screen brightness adjusting device and terminal
CN108174018A (en) A kind of information processing method and terminal
CN106775835B (en) Method, server and terminal for acquiring upgrade file
CN107783932B (en) Information processing method of calculator, mobile terminal and computer readable storage medium
CN107679222B (en) Picture processing method, mobile terminal and computer readable storage medium
CN109104481B (en) File integrity detection method, file integrity detection device and terminal equipment
CN110245016B (en) Data processing method, system, device and terminal equipment
CN109271266B (en) File transmission method and device and terminal equipment
CN107609119B (en) File processing method, mobile terminal and computer readable storage medium
CN110874730B (en) Information processing method, information processing device and mobile terminal
CN108521460B (en) Information pushing method and device, mobile terminal and computer readable storage medium
CN107316197B (en) Payment protection method, mobile terminal and computer readable storage medium
CN108536512B (en) Interface switching method and device and terminal equipment
CN108132803B (en) Timing keep-alive and awakening method, system, terminal and medium based on mobile terminal
CN110162479B (en) Abnormal application detection method and device and terminal equipment
CN110874725B (en) Electronic red packet identification strategy selection method and device and mobile terminal
CN110688035B (en) Photo album processing method, photo album processing device and mobile terminal

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