CN112468885A - Task processing method, electronic device and storage medium - Google Patents

Task processing method, electronic device and storage medium Download PDF

Info

Publication number
CN112468885A
CN112468885A CN202011334471.8A CN202011334471A CN112468885A CN 112468885 A CN112468885 A CN 112468885A CN 202011334471 A CN202011334471 A CN 202011334471A CN 112468885 A CN112468885 A CN 112468885A
Authority
CN
China
Prior art keywords
account
task
target task
processing method
electronic device
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
CN202011334471.8A
Other languages
Chinese (zh)
Other versions
CN112468885B (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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202011334471.8A priority Critical patent/CN112468885B/en
Publication of CN112468885A publication Critical patent/CN112468885A/en
Application granted granted Critical
Publication of CN112468885B publication Critical patent/CN112468885B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47214End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for content reservation or setting reminders; for requesting event notification, e.g. of sport results or stock market
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4784Supplemental services, e.g. displaying phone caller identification, shopping application receiving rewards

Abstract

The disclosure relates to a task processing method, an electronic device and a storage medium, and relates to the technical field of communication, so as to at least solve the problem that in the related art, if a user with a level privilege does not give a virtual article for a long time, the corresponding level privilege is reduced or locked. The method comprises the following steps: determining that the first account does not execute the target task in the current statistical period; the statistical period is the validity period of maintaining the authority of the first account, and the target task is a task for realizing interactive operation between the first account and the second account; the target task is executed such that the permissions of the first account remain unchanged.

Description

Task processing method, electronic device and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a task processing method, an electronic device, and a storage medium.
Background
With the development of computer technology and network technology, more and more users watch live video, and live network has been widely popularized. The user may select a live room of interest in the content social application to view the anchor video live content.
Currently, when a user account presents a virtual article in a live broadcast room, a content social application program or a server of the content social application program determines an account level of the user account according to an interaction operation of the user account, and the user account has a level privilege (such as an exclusive special effect, an exclusive avatar or an exclusive level identifier) corresponding to the account level; and the level privileges corresponding to different account levels are different. However, in the prior art, if a user with a level privilege does not perform an interactive operation for a long time, the corresponding level privilege may be reduced or locked, resulting in a poor user experience.
Disclosure of Invention
The present disclosure provides a task processing method, an electronic device, and a storage medium to at least solve a problem in the related art that if a user having a level privilege does not give a virtual item for a long time, the corresponding level privilege is lowered or locked.
The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a task processing method applied to an electronic device, including: determining that the first account does not execute the target task in the current statistical period; the statistical period is the validity period of maintaining the authority of the first account, and the target task is a task for realizing interactive operation between the first account and the second account; the target task is executed such that the permissions of the first account remain unchanged.
In an implementable manner, the task processing method provided by the embodiment of the present disclosure further includes: determining that a level protection function of the first account is opened; and the level protection function is a function of executing the target task if the first account is determined not to execute the target task in the current statistical period.
In an implementation manner, the above-mentioned target task may be specifically implemented by the following steps: determining a second account; and executing the target task to realize the interactive operation between the first account and the second account.
In an implementable manner, the interactive operation includes an interactive operation, and the interactive operation includes any one of a comment operation and a bullet screen operation, in this case, the target task is executed to implement the interactive operation between the first account and the second account, and the method specifically may be implemented by: and executing the target task to realize the interactive operation between the first account and the second account.
In an implementation manner, the interactive operation further includes charging a preset virtual resource in the first account into the second account, in which case, the target task is executed to implement the interactive operation between the first account and the second account, and the interactive operation can be implemented through the following steps: and executing the target task to realize that the preset virtual resources in the first account are charged into the second account.
In an implementable manner, the task processing method provided by the embodiment of the present disclosure further includes: determining the virtual resources currently remaining in the first account, in this case, executing the target task to realize that the preset virtual resources in the first account are credited to the second account, which may specifically be realized by the following steps: and executing the target task according to the current residual virtual resources of the first account and the second account so as to realize the purpose of charging the preset virtual resources in the first account into the second account.
In an implementation manner, the target task is executed according to the currently remaining virtual resources of the first account and the second account, so as to realize that the preset virtual resources in the first account are charged into the second account, which may specifically be realized by the following steps: and under the condition that the current residual virtual resources of the first account are greater than or equal to the preset virtual resources, updating the virtual resources of the first account into the current residual virtual resources minus the preset virtual resources, and charging the preset virtual resources into the second account.
In an implementable manner, the task processing method provided in the embodiment of the present disclosure further includes: determining the virtual resources currently remaining in the first account, in this case, executing the target task to realize that the preset virtual resources in the first account are credited to the second account, which may specifically be realized by the following steps: and determining that the target task fails to be executed under the condition that the current residual virtual resources of the first account are smaller than the preset virtual resources.
In an implementable manner, the task processing method provided in the embodiment of the present disclosure further includes: the level protection function is turned off.
In an implementable manner, the task processing method provided in the embodiment of the present disclosure further includes: sending out reminding information; the reminding information is used for indicating that the virtual resources currently remaining in the first account are insufficient.
In an implementation manner, the determining the second account may be specifically implemented by: and determining that the second account is an account with the first account and has a preset social relationship.
In an implementation manner, the determining the second account may be specifically implemented by: determining at least one target account; acquiring flow data of each target account; and determining that the target account of which the flow data meets the first preset condition is a second account.
In an implementation manner, the electronic device is a terminal, in this case, the determining that the level protection function of the first account is turned on may specifically be implemented by the following steps: and in response to the triggering operation of the level protection control, determining that the level protection function of the first account is opened.
In an implementation manner, the determining that the level protection function of the first account is turned on in response to the trigger operation of the level protection control may specifically be implemented by the following steps: responding to the trigger operation of the peer protection control, and displaying first prompt information and a determination control; the first prompt information is used for prompting that the target task is executed if the target task is not executed in each statistical period; and in response to the triggering operation of the determination button, determining that the level protection function of the first account is opened.
In an implementable manner, the task processing method provided in the embodiment of the present disclosure further includes: responding to the trigger operation of the peer protection display control, and displaying a user level page; wherein the user level page includes at least a level protection control.
In one practical way, the user level page further comprises first prompt information; the first prompt information is used for prompting that the target task is executed if the target task is not executed in each statistical period.
In an implementable manner, the task processing method provided in the embodiment of the present disclosure further includes: and displaying a hierarchical protection display control on the first page.
In an implementable manner, the task processing method provided in the embodiment of the present disclosure further includes: acquiring second prompt information; the second prompt message is used for indicating that the current remaining virtual resources of the first account are insufficient, or the second prompt message is used for prompting that the level protection function is not started on the first account; and displaying the second prompt message in the first page.
In an implementation manner, the electronic device is a server, in this case, the determining that the hierarchical protection function of the first account is enabled may be specifically implemented by the following steps: receiving a notification message from a terminal; the notification message is used for indicating that a first account logged in an application program of the terminal requests to start a level protection function; and determining to open the level protection function of the first account according to the notification message.
In an implementable manner, the task processing method provided in the embodiment of the present disclosure further includes: sending second prompt information to the terminal; and the second prompt message is used for indicating that the virtual resources currently remaining in the first account are insufficient.
In an implementable manner, the task processing method provided in the embodiment of the present disclosure further includes: sending second prompt information to the terminal under the condition that the first account does not start a level protection function; and the second prompt message is used for prompting that the first account does not start the level protection function.
In an implementable manner, when the level protection function is not activated for the first account, sending the second prompt message to the terminal may specifically be implemented by the following steps: and under the condition that the first account does not start the level protection function, if the permission information meets a second preset condition, sending second prompt information to the terminal.
In an implementable manner, when the level protection function is not activated for the first account, sending the second prompt message to the terminal may specifically be implemented by the following steps: and under the condition that the level protection function is not started by the first account, if the user level and the authority information meet a third preset condition, sending second prompt information to the terminal.
According to a second aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a processing unit; a processing unit configured to determine that the first account does not execute the target task within a current statistical period; the statistical period is the validity period of maintaining the authority of the first account, and the target task is a task for realizing interactive operation between the first account and the second account; a processing unit further configured to execute the target task such that the permissions of the first account remain unchanged.
In one implementation, the processing unit is further configured to determine that a level protection function of the first account is turned on; and the level protection function is a function of executing the target task if the first account is determined not to execute the target task in the current statistical period.
In an implementable manner, the processing unit is specifically configured to determine a second account; and the processing unit is specifically configured to execute the target task so as to realize the interactive operation between the first account and the second account.
In an implementable manner, the interactive operation comprises an interactive operation, and the interactive operation comprises any one of a comment operation and a bullet screen operation; and the processing unit is specifically configured to execute the target task so as to realize the interactive operation between the first account and the second account.
In an implementable manner, the interactive operation further includes crediting a preset virtual resource in the first account to the second account; and the processing unit is specifically configured to execute the target task so as to realize that the preset virtual resource in the first account is charged into the second account.
In an implementable manner, the processing unit is further configured to determine virtual resources currently remaining for the first account; and the processing unit is specifically configured to execute the target task according to the currently remaining virtual resources of the first account and the second account, so as to realize that the preset virtual resources in the first account are charged into the second account.
In an implementation manner, the processing unit is specifically configured to, when the currently remaining virtual resource of the first account is greater than or equal to the preset virtual resource, update the virtual resource of the first account to the currently remaining virtual resource minus the preset virtual resource, and credit the preset virtual resource to the second account.
In an implementable manner, the processing unit is further configured to determine virtual resources currently remaining for the first account; the processing unit is specifically configured to determine that the target task fails to be executed when the currently remaining virtual resources of the first account are smaller than preset virtual resources.
In one implementable manner, the processing unit is further configured to turn off the hierarchical protection function.
In one implementable manner, the electronic device further includes a transmitting unit; the processing unit is also configured to control the sending unit to send out the reminding information; the reminding information is used for indicating that the virtual resources currently remaining in the first account are insufficient.
In an implementation manner, the processing unit is specifically configured to determine that the second account is an account having a preset social relationship with the first account.
In an implementable manner, the electronic device further includes an acquisition unit; a processing unit, in particular configured to determine at least one target account; an acquisition unit configured to acquire traffic data of each target account; and the processing unit is specifically configured to determine that the target account of which the flow data acquired by the acquiring unit meets the first preset condition is the second account.
In an implementation manner, the electronic device is a terminal, and the processing unit is specifically configured to determine that the hierarchical protection function of the first account is turned on in response to a triggering operation of the hierarchical protection control.
In one implementable manner, the electronic device further includes a display unit; the processing unit is specifically configured to respond to a trigger operation of the peer protection control, and control the display unit to display the first prompt information and the determination control; the first prompt information is used for prompting that the target task is executed if the target task is not executed in each statistical period; and the processing unit is specifically configured to respond to the triggering operation of the determination button and determine that the level protection function of the first account is started.
In an implementable manner, the processing unit is further configured to control the display unit to display the user rating page in response to a triggering operation of the rating protection display control; wherein the user level page includes at least a level protection control.
In one practical way, the user level page further comprises first prompt information; the first prompt information is used for prompting that the target task is executed if the target task is not executed in each statistical period.
In one implementable manner, the processing unit is further configured to control the display unit to display a hierarchical protection display control at the first page.
In an implementable manner, the obtaining unit is further configured to obtain second prompt information; the second prompt message is used for indicating that the current remaining virtual resources of the first account are insufficient, or the second prompt message is used for prompting that the level protection function is not started on the first account; the processing unit is further configured to control the display unit to display the second prompt information acquired by the acquisition unit in the first page.
In an implementable manner, the electronic device is a server, and the obtaining unit is specifically configured to receive a notification message from the terminal; the notification message is used for indicating that a first account logged in an application program of the terminal requests to start a level protection function; and the processing unit is specifically configured to determine to open the level protection function of the first account according to the notification message acquired by the acquisition unit.
In an implementable manner, the sending unit is further configured to send the second prompt message to the terminal; and the second prompt message is used for indicating that the virtual resources currently remaining in the first account are insufficient.
In an implementable manner, the processing unit is further configured to control the sending unit to send the second prompt message to the terminal if the first account does not have the level protection function started; and the second prompt message is used for prompting that the first account does not start the level protection function.
In an implementation manner, the processing unit is specifically configured to, when the level protection function is not activated for the first account, control the sending unit to send the second prompt information to the terminal if the permission information meets the second preset condition.
In an implementable manner, the processing unit is specifically configured to, in a case that the level protection function is not activated for the first account, control the sending unit to send the second prompt information to the terminal if both the user level and the permission information satisfy a third preset condition.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the task processing method provided by the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein when the instructions in the storage medium are executed by the processor of the electronic device provided in the third aspect, the electronic device is enabled to execute the task processing method provided in the first aspect.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer program product including program code means for causing a computer to perform the method of task processing as set forth in the first aspect when the computer program product is run on the computer.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
according to the task processing method provided by the embodiment of the disclosure, since the authority of each first account has the validity period, in order to prevent the authority of the first account from being lowered or locked due to the fact that the virtual item is not given for a long time in the validity period, when the electronic device determines that the first account does not execute the target task in the current statistical period, the target task is executed, so that the authority of the first account remains unchanged, and the problem that the corresponding level privilege is lowered or locked if a user who owns the level privilege does not give the virtual item for a long time in the related art is solved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is an architectural diagram illustrating one implementation environment in accordance with an exemplary embodiment.
FIG. 2 is one of the flow diagrams illustrating a method of task processing according to an exemplary embodiment.
FIG. 3 is a second flowchart illustrating a method of task processing according to an exemplary embodiment.
FIG. 4 is a third flowchart illustrating a method of task processing according to an example embodiment.
FIG. 5 is a fourth flowchart illustrating a method of task processing according to an exemplary embodiment.
FIG. 6 is a fifth flowchart illustrating a method of task processing, according to an exemplary embodiment.
FIG. 7 is a sixth flowchart illustrating a method of task processing, according to an exemplary embodiment.
FIG. 8 is a seventh flowchart illustrating a method of task processing, according to an exemplary embodiment.
FIG. 9 is an eighth flowchart illustrating a method of task processing, according to an exemplary embodiment.
FIG. 10 is a ninth flowchart illustrating a method of task processing, according to an exemplary embodiment.
FIG. 11 is a tenth flowchart illustrating a method of task processing in accordance with an exemplary embodiment.
FIG. 12 is one of the interaction diagrams illustrating a method of task processing according to an exemplary embodiment.
FIG. 13 is an eleventh flowchart illustrating a method of task processing according to an exemplary embodiment.
FIG. 14 is a second interaction diagram illustrating a task processing method according to an example embodiment.
FIG. 15 is a flowchart twelve illustrating a method of task processing, according to an example embodiment.
FIG. 16 is a third interaction diagram illustrating a method of task processing according to an example embodiment.
FIG. 17 is a fourth interaction diagram illustrating a method of task processing, according to an example embodiment.
FIG. 18 is a thirteen-flowchart illustration of a method of task processing, according to an exemplary embodiment.
FIG. 19 is a fourteen-flow diagram illustrating a method of task processing, according to an exemplary embodiment.
FIG. 20 is a fifth interaction diagram illustrating a method of task processing, according to an example embodiment.
FIG. 21 is a fifteen step flowchart illustrating a method of task processing, in accordance with an exemplary embodiment.
FIG. 22 is a sixteen-way flowchart illustrating a method of task processing, according to an exemplary embodiment.
FIG. 23 is a seventeenth flowchart illustrating a method of task processing according to an exemplary embodiment.
FIG. 24 is an eighteenth flowchart illustrating a method of task processing according to an exemplary embodiment.
FIG. 25 is a nineteenth flowchart illustrating a method of task processing according to an exemplary embodiment.
FIG. 26 is a flowchart twenty illustrating a method of task processing according to an exemplary embodiment.
FIG. 27 is a twenty-one flow diagram illustrating a method of task processing according to an exemplary embodiment.
Fig. 28 is one of schematic structural diagrams of an electronic device shown according to an exemplary embodiment.
Fig. 29 is a second schematic structural diagram of an electronic device according to an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In practical applications the user rating of the first account may also be referred to as a wealth rating. The wealth level is a level divided according to the accumulated statistics of virtual resources of the first account in the live broadcast room and added to other accounts, and the higher the level is, the more authority information (also called privileges) is possessed in the live broadcast room. The privileges include, but are not limited to, special effects in live rooms, special barrage patterns, usage rights of dedicated virtual resources, and the like.
Fig. 1 is an architecture diagram illustrating an implementation environment in which the task processing method described below may be applied, as shown in fig. 1, according to an example embodiment. The implementation environment includes a terminal 01 and a server 02. In this case, the terminal 01 establishes a communication connection with the server 02 through an application installed on the terminal 01.
In an implementation manner, the server 02 may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center. The server 02 may include a processor, memory, and a network interface, among others.
In one implementable manner, the terminal is used to provide voice and/or data connectivity services to the user. The terminal may be referred to by different names such as UE, terminal unit, terminal station, mobile station, remote terminal, mobile device, wireless communication device, vehicular user equipment, terminal agent, or terminal device. Optionally, the terminal may be various handheld devices, vehicle-mounted devices, wearable devices, and computers with communication functions, which is not limited in this embodiment of the present invention. For example, the handheld device may be a smartphone. The in-vehicle device may be an in-vehicle navigation system. The wearable device may be a smart bracelet. The computer may be a Personal Digital Assistant (PDA) computer, a tablet computer, and a laptop computer.
Those skilled in the art should appreciate that the above-described terminals are merely exemplary and that other existing or future terminals, which may be suitable for use with the present disclosure, are also encompassed within the scope of the present disclosure and are hereby incorporated by reference.
The data to which the present disclosure relates may be data that is authorized by a user or sufficiently authorized by parties.
In the prior art, if a user with a level privilege does not give away a virtual item for a long time, the corresponding level privilege is locked, which results in poor user experience. Therefore, the embodiment of the disclosure provides a task processing method, since the authority of each first account has a validity period, in order to prevent the authority of the first account from being lowered or locked due to the fact that a virtual item is not given for a long time in the validity period, when the electronic device determines that the first account does not execute the target task in the current statistical period, the target task is executed, so that the authority of the first account remains unchanged, thereby ensuring that the authority of the first account remains unchanged, and solving the problem that if a user who possesses the privilege level does not give the virtual item for a long time, the corresponding privilege level is lowered or locked in the related art. The specific implementation process is as follows:
the following takes an execution subject as an electronic device as an example, and exemplarily describes a task processing method provided by an embodiment of the present disclosure.
The following describes an exemplary task processing method provided by the embodiments of the present disclosure with reference to the drawings.
Fig. 2 is a flowchart illustrating a task processing method, which is used in an electronic device as shown in fig. 2, according to an exemplary embodiment, and includes the following S11 and S12.
And S11, the electronic equipment determines that the first account does not execute the target task in the current statistical period. The statistical period is the validity period of maintaining the authority of the first account, and the target task is a task for realizing interactive operation between the first account and the second account.
For example, if the display time is 24 hours and the current period is 00:00-23:00, the electronic device determines that the first account does not execute the target task within 00:00-23:00, and then executes the target task. And if the electronic equipment determines that the first account executes the target task within the range from 00:00 to 23:00, the target task is not executed any more.
S12, the electronic device executes the target task so that the authority of the first account is kept unchanged.
As can be seen from the above description, since the authority of each first account has a validity period, in order to prevent the authority of the first account from being lowered or locked due to the fact that the virtual item is not presented for a long time in the validity period, when the electronic device determines that the first account does not execute the target task in the current statistical period, the electronic device executes the target task, so that the authority of the first account remains unchanged, thereby ensuring that the authority of the first account remains unchanged, and solving the problem that if a user who owns the level privilege does not present the virtual item for a long time in the related art, the corresponding level privilege is lowered or locked.
In an implementable manner, in conjunction with fig. 2, the task processing method provided by the embodiment of the present disclosure as shown in fig. 3 further includes: and S13.
And S13, the electronic equipment determines that the level protection function of the first account is opened. And the level protection function is a function of executing the target task if the first account is determined not to execute the target task in the current statistical period.
As can be seen from the above, in order to prevent the authority of the first account from being lowered or locked due to the fact that the virtual item is not given for a long time in the validity period. Therefore, the target task is executed when the first account does not execute the target task in the current statistical period by setting the level protection function. Therefore, after the level protection function of the first account is started, the authority of the first account is guaranteed not to be reduced or locked within the validity period, and the user experience is facilitated.
In an implementation manner, referring to fig. 2, as shown in fig. 3, the above S12 can be specifically realized by the following S120 and S121.
And S120, the electronic equipment determines a second account.
S121, the electronic equipment executes the target task to achieve interactive operation between the first account and the second account.
As can be seen from the above, in order to prevent the authority of the first account from being lowered or locked due to the fact that the virtual item is not given for a long time in the validity period. Therefore, it is required to ensure that the first account performs interactive operation with the second account in each statistical period, so that the permission of the first account is kept unchanged, and the user experience is facilitated.
In an implementable manner, the interactive operation includes an interactive operation, and the interactive operation includes any one of a comment operation and a bullet screen operation, in this case, as shown in fig. 4 in conjunction with fig. 3, S121 described above may be specifically implemented by S1210 described below.
S1210, the electronic equipment executes the target task to achieve interactive operation between the first account and the second account.
As can be seen from the above, in order to prevent the authority of the first account from being lowered or locked due to the fact that the virtual item is not given for a long time in the validity period. Therefore, it is required to ensure that the first account performs comment operation and/or bullet screen operation with the second account in each statistical period, so that the permission of the first account can be ensured to be kept unchanged, and the experience of the user is facilitated.
In an implementation manner, the interaction further includes charging the preset virtual resource in the first account to the second account, in this case, as shown in fig. 5 in conjunction with fig. 3, the above S121 may be specifically implemented by the following S1211.
S1211, the electronic device executes the target task to enable the preset virtual resources in the first account to be charged into the second account.
In an implementable process, the virtual resource may be a virtual article (e.g., a virtual coin, a rechargeable battery, a virtual character or game virtual equipment, etc.) or a virtual fund (e.g., an electronic purse or an electronic voucher, etc.) or a multimedia resource (e.g., a movie, music, document, picture, etc.), etc., which is not limited by the embodiments of the present disclosure.
In one implementable process, the second account may be any of a platform account or an anchor account. For example, when the preset virtual resource in the first account is credited to the second account, the preset virtual resource may be credited to the second account according to a preset proportion (e.g., 80%).
In an implementation process, when the function that the second account does not open and can receive the preset virtual resource is activated, the electronic device may execute the task processing method provided by the embodiment of the disclosure. When the function of receiving the preset virtual resource is not opened and not opened, the electronic device executes the task processing method provided by the embodiment of the disclosure only when the second account is in a live broadcast state.
As can be seen from the above, in order to prevent the authority of the first account from being lowered or locked due to the fact that the virtual item is not given for a long time in the validity period. Therefore, it is required to ensure that the first account credits the preset virtual resource in the first account to the second account within each statistical period, so that it is ensured that the authority of the first account remains unchanged, and user experience is facilitated.
In an implementable manner, with reference to fig. 5, as shown in fig. 6, the task processing method provided by the embodiment of the present disclosure further includes S14, in which case, the above S1211 may be specifically implemented by the following S12110.
And S14, the electronic equipment determines the virtual resources currently left in the first account.
S12110, the electronic device executes the target task according to the currently remaining virtual resources of the first account and the second account, so as to realize that the preset virtual resources in the first account are charged into the second account.
According to the method, the electronic device determines the currently remaining virtual resources of the first account under the condition that the first account does not execute the target task within the determined statistical period, and executes the target task according to the currently remaining virtual resources of the first account and the second account, so that the condition that the first account does not give away virtual goods for a long time and the authority of the first account is reduced or locked is avoided.
In an implementable manner, as shown in fig. 7 in conjunction with fig. 6, the above S12110 can be specifically realized by the following S121100.
S121100, when the current remaining virtual resource of the first account is greater than or equal to the preset virtual resource, the electronic device updates the virtual resource of the first account to the current remaining virtual resource minus the preset virtual resource, and adds the preset virtual resource to the second account.
As can be seen from the above, the electronic device needs to deduct the preset virtual resource from the currently remaining virtual resource of the first account, and add the deducted preset virtual resource to the second account. Therefore, before the electronic device executes the target task, the electronic device needs to judge whether the currently remaining virtual resources of the first account are greater than or equal to the preset virtual resources, so that when the currently remaining virtual resources of the first account are greater than or equal to the preset virtual resources, the virtual resources of the first account are updated to the currently remaining virtual resources minus the preset virtual resources, and the preset virtual resources are added to the second account, thereby ensuring the user experience.
In an implementation manner, as shown in fig. 8 in conjunction with fig. 5, the above S1211 can be specifically implemented by the following S12111.
And S14, the electronic equipment determines the virtual resources currently left in the first account.
S12111, the electronic device determines that the target task fails to be executed when the current residual virtual resource of the first account is smaller than the preset virtual resource.
As can be seen from the above, the electronic device needs to deduct the preset virtual resource from the currently remaining virtual resource of the first account, and add the deducted preset virtual resource to the second account. Therefore, when the current remaining virtual resources in the first account are smaller than the preset virtual resources, it is determined that the target task fails to be executed. Although the target task fails to be executed, the electronic device may notify that the currently remaining virtual resource of the first account is smaller than the preset virtual resource, so as to ensure user experience.
In a practical manner, in conjunction with fig. 8, as shown in fig. 9, the task processing method provided by the embodiment of the present disclosure further includes S16.
And S16, closing the level protection function of the electronic equipment.
As can be seen from the above, the electronic device needs to deduct the preset virtual resource from the currently remaining virtual resource of the first account, and add the deducted preset virtual resource to the second account. Therefore, when the current residual virtual resources of the first account are smaller than the preset virtual resources, the target task is determined to be failed to execute, and the level protection function is closed. Although the level protection function of the first account is closed, the electronic device can ensure the user experience by notifying the first account to reopen the level protection function.
In a practical manner, in conjunction with fig. 8, as shown in fig. 9, the task processing method provided by the embodiment of the present disclosure further includes S17.
And S17, the electronic equipment sends out reminding information. The reminding information is used for indicating that the virtual resources currently remaining in the first account are insufficient.
In one implementation, the reminder may be a short message, or an email.
As can be seen from the above, the electronic device needs to deduct the preset virtual resource from the currently remaining virtual resource of the first account, and add the deducted preset virtual resource to the second account. Therefore, when the currently remaining virtual resources of the first account are smaller than the preset virtual resources, the user experience can be ensured by notifying that the currently remaining virtual resources of the first account are smaller than the preset virtual resources.
In an implementation manner, referring to fig. 3, as shown in fig. 4, the above S120 may be specifically implemented by the following S1200.
S1200, the electronic device determines that the second account is at least one account with a preset social relationship with the first account.
In one implementation, the predetermined social relationship may be an interest or a credit to the virtual resource in the first account to another account (also referred to as gifted virtual items).
For example, when the preset social relationship is attention, the electronic device determines that at least one account with the first account has the preset social relationship, including:
the electronic device obtains an account of interest to the first account.
The electronic device determines that the second account belongs to an account of the accounts that the first account has focused on.
In particular, the second account may be an account randomly selected from among the accounts that have been addressed by the first account. Alternatively, the second account is a designated account. Wherein the designated account belongs to the accounts concerned by the first account, the virtual resources in the first account are charged to the designated account, and the statistical value of the virtual resources charged by the designated account from the first account is the largest.
For example, when the preset social relationship is that the virtual item was given, the electronic device determines at least one account having the preset social relationship with the first account, including:
the electronic device obtains an account for the virtual item donated by the first account.
The electronic device determines that the second account belongs to an account of the accounts donated to the virtual item by the first account.
In particular, the second account may be a randomly selected account from among accounts donated with the virtual item from the first account. Alternatively, the second account is a designated account. Wherein the designated account belongs to an account of the accounts which have been donated by the first account to the virtual goods, the virtual resources in the first account are credited to the designated account, and the statistics of the virtual resources which are cumulatively credited from the first account by the designated account are the largest.
Therefore, the second account is determined from the accounts with the preset social relationship in the first account, so that after the virtual resources in the first account are included in the second account, the problem that the corresponding level privileges are locked because the virtual goods are not given to the first account for a long time is solved.
In an implementation manner, referring to fig. 3, as shown in fig. 10, the above S120 can be specifically implemented by the following S1201-S1203.
S1201, the electronic device determines at least one target account.
S1202, the electronic equipment obtains the flow data of each target account.
In one realizable approach, the traffic data is average concurrent online users (acu).
S1203, the electronic device determines that the target account with the streaming data meeting the first preset condition is a second account.
In an implementation manner, the first preset condition is that acu is smaller than a preset threshold.
For example, taking the preset threshold as 10, the electronic device determines that the target account whose flow data meets the first preset condition is the second account, including:
the electronic equipment acquires the target accounts with the acu smaller than 10, and determines that the second account is an account randomly selected from target users with the acu smaller than 10.
Therefore, the second account is determined by the target account with the flow data meeting the first preset condition, so that the problem that the corresponding level privilege is locked because the virtual goods are not given to the first account for a long time is avoided after the virtual resources in the first account are included in the second account.
In a practical manner, the electronic device is a terminal, in this case, as shown in fig. 11 in conjunction with fig. 2, the task processing method provided by the embodiment of the present disclosure further includes S18.
And S18, the terminal responds to the trigger operation of the level protection control to determine that the level protection function of the first account is opened.
Illustratively, the terminal displays a user rating page 1 as shown in fig. 12. The user determines that the level protection function of the first account is opened after clicking the level protection control 1-1 in the user level page 1.
In one implementation, the terminal determines that the level protection function of the first account is already turned on, and then turns off the level protection function of the first account in response to the triggering operation of the level protection control.
Therefore, the terminal responds to the trigger operation of the level protection control to determine that the level protection function of the first account is opened, so that a user can control whether to open or close the level protection function through the level protection control, and the user experience is facilitated.
In an implementation manner, as shown in fig. 13 in conjunction with fig. 11, the above S18 can be specifically realized by the following S180 and S181.
And S180, the terminal responds to the trigger operation of the peer protection control, and displays the first prompt information and the determined control. The first prompt information is used for prompting that the target task is executed if the target task is not executed in each statistical period.
And S181, the terminal responds to the trigger operation of the confirmation button to confirm that the level protection function of the first account is opened.
In one implementation, the terminal displays the first prompt and the cancel control in response to a triggering operation on the peer protection control. And the terminal responds to the triggering operation of the cancel button and determines to cancel the opening of the grade protection function of the first account.
Illustratively, the terminal displays a user rating page 1 as shown in a of fig. 14. And the terminal responds to the triggering operation of the level protection control 1-1 in the user level page 1 and displays a prompt page 2 shown as b in figure 14. The prompt page 2 comprises first prompt information 2-1 and a determination control 2-2. Then, the terminal responds to the triggering operation of the confirming button, and the grade protection function of the first account is determined to be started.
Certainly, the prompt page may further include a cancel control 2-3, and the terminal determines to cancel the opening of the level protection function of the first account in response to the triggering operation of the cancel control 2-3.
Or, the terminal responds to the triggering operation of the next automatic opening control 2-4, and automatically reopens the level protection function of the first account after determining that the level protection function of the first account is closed.
As can be seen from the above, the terminal responds to the trigger operation of the peer protection control, so as to display the first prompt message and the determination control. And then the user can know the content to be executed after the level protection function is started according to the displayed first prompt information. Furthermore, the terminal responds to the trigger operation of the determination button and determines that the level protection function of the first account is opened, so that a user can control whether to open or close the level protection function through the level protection control, and the user experience is facilitated.
In an implementable manner, with reference to fig. 11 and as shown in fig. 15, the task processing method provided by the embodiment of the present disclosure further includes the following step S19.
And S19, the terminal responds to the trigger operation of the level protection display control and displays the user level page. Wherein the user level page includes at least a level protection control.
Illustratively, the terminal displays a first page 1 as shown in a in fig. 16. Wherein, the first page 1 includes a level protection control 1-1. The terminal responds to the trigger operation of the level protection display control 1-1 to display a user level page 1 as shown in b in fig. 16.
As can be seen from the above, the terminal displays the user level page in response to the trigger operation of the level protection display control. Therefore, when a user needs to check the user level page, the user can conveniently check whether the level protection function is started in the user level page by clicking the level protection display control, and the user experience is facilitated.
In one possible implementation, the user level page further includes a first prompt. The first prompt information is used for prompting that the target task is executed if the target task is not executed in each statistical period.
Illustratively, the terminal displays a user rating page 1 as shown in a of fig. 17. The user level page comprises first prompt information 1-1.
Or the terminal displays the user rating page 1 as shown in b of fig. 17. The user level page comprises first prompt information 1-1. The terminal responds to the triggering operation of the detail control 1-2 to display a user level page 1 as shown in a in figure 17.
Therefore, the terminal displays the first prompt information in the user level page, so that the user can conveniently understand the content executed after the level protection function is started according to the displayed first prompt information. Furthermore, the terminal responds to the trigger operation of the determination button and determines that the level protection function of the first account is opened, so that a user can control whether to open or close the level protection function through the level protection control, and the user experience is facilitated.
In an implementable manner, with reference to fig. 15, as shown in fig. 18, the task processing method provided by the embodiment of the present disclosure further includes the following step S20.
And S20, the terminal displays the level protection display control on the first page.
In one implementation, the first page may be a current live page, a personal home page, or a video browsing page.
Illustratively, the first page may be a page shown as a in fig. 16.
According to the method, when the user needs to check the user level page, the user can conveniently check whether the level protection function is started or not in the user level page by clicking the level protection display control in the first page, and the user experience is facilitated.
In a practical manner, in conjunction with fig. 9, the task processing method provided by the embodiment of the present disclosure as shown in fig. 19 further includes the following steps S21 and S22.
And S21, the terminal acquires the second prompt message. And the second prompt message is used for indicating that the virtual resources currently remaining in the first account are insufficient.
And S22, the terminal displays the second prompt message in the first page.
Illustratively, taking the first page as the current live page, the terminal displays a current live page 1 as shown by a in fig. 20. And the current live broadcast page 1 comprises second prompt information 1-2 (wherein the second prompt information is used for prompting that the first account does not start a level protection function). The terminal responds to the triggering operation of the level protection display control 1-1 to display a user level page 2 as indicated by b in 20. Further, since the first account does not have the level protection function started, the terminal may start the level protection function of the first account in response to the trigger operation of the level protection control 2-1.
In a practical manner, in conjunction with fig. 9, the task processing method provided by the embodiment of the present disclosure as shown in fig. 21 further includes the following step S23.
And S23, the terminal acquires the second prompt message. And the second prompt message is used for prompting that the first account does not start the level protection function.
And S22, the terminal displays the second prompt message in the first page.
Illustratively, taking the first page as the current live page, the terminal displays a current live page 1 as shown by a in fig. 20. And the current live broadcast page 1 comprises second prompt information 1-2 (wherein the second prompt information is used for indicating that the current remaining virtual resources of the first account are insufficient). The terminal responds to the triggering operation of the level protection display control 1-1 to display a user level page 2 as indicated at c in 20. Furthermore, because the current residual virtual resources of the first account are insufficient, the terminal can respond to the triggering operation of the recharging removing control 2-1-2 and enter a recharging process; and returns to the user level page after completion of recharge. Or the terminal can respond to the triggering operation of the cancel control 2-1-3 and close the prompt page 2-1. Or, the terminal can respond to the triggering operation of the cancel control 2-1-4, and automatically start the level protection function after the first account finishes recharging.
Therefore, when the terminal determines that the level protection function is not started on the first account, the second prompt information can be displayed in the first page, so that the user can determine that the level protection function is not started on the first account through the displayed second prompt information, and the experience of the user is facilitated.
In a practical manner, the electronic device is a server, in this case, as shown in fig. 19 or fig. 21 in conjunction with fig. 9, the task processing method provided by the embodiment of the present disclosure further includes the following steps S24 and S25.
And S24, the server receives the notification message from the terminal. The notification message is used for indicating that the first account logged in the application program of the terminal requests to start the level protection function.
And S25, the server determines to open the level protection function of the first account according to the notification message.
As can be seen from the above, when the first account is not opened with the level protection function, the user may log in the first account on the application program of the terminal and send the notification message to the server through the terminal, so that the server determines to open the level protection function of the first account after receiving the notification message sent by the terminal. Because the first account opens the level protection function, the problem that the corresponding level privilege is locked because the virtual article is not given to the first account for a long time is avoided.
In an implementable manner, with reference to fig. 9, as shown in fig. 19 or fig. 21, the task processing method provided by the embodiment of the present disclosure further includes the following S26.
And S26, the server sends the second prompt information to the terminal. And the second prompt message is used for indicating that the virtual resources currently remaining in the first account are insufficient.
As can be seen from the above, when the virtual resources currently remaining in the first account are insufficient, in order to prevent the user from not knowing that the virtual resources remaining in the first account are insufficient, the level privilege corresponding to the first account is locked. Therefore, the server sends the second prompt information to the terminal, so that the user can know that the current residual virtual resources of the first account are insufficient according to the second prompt information displayed by the terminal, and the user experience is facilitated.
In an implementable manner, with reference to fig. 19 and as shown in fig. 22, the task processing method provided by the embodiment of the present disclosure further includes the following step S260.
And S260, the server sends second prompt information to the terminal under the condition that the first account does not start the level protection function. And the second prompt message is used for prompting that the first account does not start the level protection function.
In an implementable manner, with reference to fig. 21, as shown in fig. 23, the task processing method provided by the embodiment of the present disclosure further includes the following S260.
And S260, the server sends second prompt information to the terminal under the condition that the first account does not start the level protection function. And the second prompt message is used for prompting that the first account does not start the level protection function.
As can be seen from the above, when the level protection function is not activated for the first account, the user level corresponding to the first account and the authority information corresponding to the user level may be locked. Therefore, the server sends the second prompt information to the terminal under the condition that the level protection function is not started on the first account, so that the user can know that the level protection function is not started on the first account according to the second prompt information displayed by the terminal, and the user experience is facilitated.
In an implementable manner, as shown in fig. 24 in conjunction with fig. 22, S260 described above can be specifically realized by S2600 described below.
And S2600, under the condition that the level protection function is not started on the first account, if the permission information meets a second preset condition, the server sends second prompt information to the terminal.
In an implementable manner, as shown in fig. 25 in conjunction with fig. 23, S260 described above can be specifically realized by S2600 described below.
And S2600, under the condition that the level protection function is not started on the first account, if the permission information meets a second preset condition, the server sends second prompt information to the terminal.
In an implementation manner, the second preset condition is that the right information is obtained again after being cancelled.
In this way, when the level protection function is not activated for the first account and the permission information meets the second preset condition, the user level corresponding to the first account and the permission information corresponding to the user level may be locked. Therefore, the server sends the second prompt message to the terminal, so that the user can know that the level protection function is not started for the first account according to the second prompt message displayed by the terminal, and the user experience is facilitated.
In an implementable manner, as shown in fig. 26 in conjunction with fig. 22, S260 described above can be specifically implemented by S2601 described below.
S2601, under the condition that the level protection function is not started by the first account, if the user level and the permission information both meet a third preset condition, the server sends second prompt information to the terminal.
In an implementable manner, as shown in fig. 27 in conjunction with fig. 23, S260 described above can be specifically implemented by S2601 described below.
S2601, under the condition that the level protection function is not started by the first account, if the user level and the permission information both meet a third preset condition, the server sends second prompt information to the terminal.
In an implementation manner, the third preset condition is that the user level is greater than or equal to the preset level, and the permission information is cancelled and then acquired again.
As can be seen from the above, when the level protection function is not activated for the first account and both the user level and the permission information satisfy the third preset condition, the user level corresponding to the first account and the permission information corresponding to the user level may be locked at this time. Therefore, the server sends the second prompt message to the terminal, so that the user can know that the level protection function is not started for the first account according to the second prompt message displayed by the terminal, and the user experience is facilitated.
FIG. 28 is a block diagram illustrating an electronic device in accordance with an example embodiment. Referring to fig. 28, the electronic device 10 includes a processing unit 101.
A processing unit 101 configured to determine that the first account does not execute the target task within the current statistical period; the statistical period is the validity period of maintaining the authority of the first account, and the target task is a task for realizing interactive operation between the first account and the second account; the processing unit 101 is further configured to execute the target task such that the rights of the first account remain unchanged.
In an implementable manner, the processing unit 101 is further configured to determine that a level protection function of the first account has been turned on; and the level protection function is a function of executing the target task if the first account is determined not to execute the target task in the current statistical period.
In an implementable manner, the processing unit 101 is specifically configured to determine a second account; the processing unit 101 is specifically configured to execute the target task to implement an interactive operation between the first account and the second account.
In an implementable manner, the interactive operation includes an interactive operation, and the interactive operation includes any one of a comment operation and a bullet screen operation, in which case, the processing unit 101 is specifically configured to execute the target task to implement the interactive operation between the first account and the second account.
In an implementation manner, the interactive operation further includes charging the preset virtual resource in the first account to the second account, in which case, the processing unit 101 is specifically configured to execute the target task, so as to realize that the preset virtual resource in the first account is charged to the second account.
In an implementable manner, the processing unit 101 is further configured to determine a virtual resource currently remaining in the first account; the processing unit 101 is specifically configured to execute the target task according to the currently remaining virtual resources of the first account and the second account, so as to realize that the preset virtual resources in the first account are charged into the second account.
In an implementation manner, the processing unit 101 is specifically configured to, when the currently remaining virtual resource of the first account is greater than or equal to the preset virtual resource, update the virtual resource of the first account to the currently remaining virtual resource minus the preset virtual resource, and credit the preset virtual resource to the second account.
In an implementable manner, the processing unit 101 is further configured to determine a virtual resource currently remaining in the first account; the processing unit 101 is specifically configured to determine that the target task fails to be executed when the currently remaining virtual resource of the first account is smaller than a preset virtual resource.
In an implementable manner, the processing unit 101 is further configured to turn off the hierarchical protection function.
In an implementable manner, the electronic device further includes a transmitting unit 102; the processing unit 101 is further configured to control the sending unit 102 to send out the reminding information; the reminding information is used for indicating that the virtual resources currently remaining in the first account are insufficient.
In an implementation manner, the processing unit 101 is specifically configured to determine that the second account is an account having a preset social relationship with the first account.
In an implementable manner, the electronic device further includes an obtaining unit 103; a processing unit 101, specifically configured to determine at least one target account; an acquisition unit 103 configured to acquire traffic data of each target account; the processing unit 101 is specifically configured to determine that the target account of which the flow data acquired by the acquiring unit 103 meets the first preset condition is the second account.
In an implementation manner, the electronic device is a terminal, and the processing unit 101 is specifically configured to determine that the hierarchical protection function of the first account is turned on in response to a triggering operation of the hierarchical protection control.
In one implementable manner, the electronic device further includes a display unit 104; the processing unit 101 is specifically configured to, in response to a trigger operation on the peer protection control, control the display unit 104 to display the first prompt information and the determination control; the first prompt information is used for prompting that the target task is executed if the target task is not executed in each statistical period; the processing unit 101 is specifically configured to determine that the level protection function of the first account is turned on in response to the trigger operation of the determination button.
In an implementable manner, the processing unit 101 is further configured to control the display unit 104 to display the user rating page in response to a triggering operation of the rating protection display control; wherein the user level page includes at least a level protection control.
In one practical way, the user level page further comprises first prompt information; the first prompt information is used for prompting that the target task is executed if the target task is not executed in each statistical period.
In an implementable manner, the processing unit 101 is further configured to control the display unit 104 to display the hierarchical protection display control at the first page.
In an implementable manner, the obtaining unit 103 is further configured to obtain the second prompt information; the second prompt message is used for indicating that the current remaining virtual resources of the first account are insufficient, or the second prompt message is used for prompting that the level protection function is not started on the first account; the processing unit 101 is further configured to control the display unit 104 to display the second prompt information acquired by the acquisition unit 103 in the first page.
In an implementable manner, the electronic device is a server, and the obtaining unit 103 is specifically configured to receive a notification message from the terminal; the notification message is used for indicating that a first account logged in an application program of the terminal requests to start a level protection function; the processing unit 101 is specifically configured to determine to open the level protection function of the first account according to the notification message acquired by the acquiring unit 103.
In an implementable manner, the sending unit 102 is further configured to send the second prompt message to the terminal; and the second prompt message is used for indicating that the virtual resources currently remaining in the first account are insufficient.
In an implementable manner, the processing unit 101 is further configured to control the transmitting unit 102 to transmit the second prompt message to the terminal in a case that the first account does not turn on the level protection function; and the second prompt message is used for prompting that the first account does not start the level protection function.
In an implementation manner, the processing unit 101 is specifically configured to, in a case that the level protection function is not activated for the first account, control the sending unit 102 to send the second prompt information to the terminal if the authority information satisfies the second preset condition.
In an implementable manner, the processing unit 101 is specifically configured to, in a case that the level protection function is not activated for the first account, control the sending unit 102 to send the second prompt information to the terminal if both the user level and the permission information satisfy the third preset condition.
Of course, the electronic device 10 provided by the embodiment of the present disclosure includes, but is not limited to, the above modules, for example, the electronic device 10 may further include the storage unit 105. The storage unit 105 may be used to store program codes of the writing electronic device 10, and may also be used to store data generated by the writing electronic device 10 during operation, such as data in a write request.
In addition, when the electronic device 10 provided in the above embodiment implements the functions thereof, only the division of the above functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the electronic device 10 may be divided into different functional modules to implement all or part of the functions described above.
Fig. 29 is a schematic structural diagram of an electronic device 10 according to an embodiment of the present invention, and as shown in fig. 29, the electronic device 10 may include: at least one processor 51, a memory 52, a communication interface 53, a communication bus 54, and a display 55.
The following describes each component of the electronic device 10 in detail with reference to fig. 29:
the processor 51 is a control center of the electronic device 10, and may be a single processor or a collective term for a plurality of processing elements. For example, the processor 51 is a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present invention, such as: one or more DSPs, or one or more Field Programmable Gate Arrays (FPGAs).
In particular implementations, processor 51 may include one or more CPUs such as CPU0 and CPU1 shown in fig. 29 for one embodiment. Also, as an example, the electronic device 10 may include a plurality of processors, such as the processor 51 and the processor 55 shown in fig. 29. Each of these processors may be a Single-core processor (Single-CPU) or a Multi-core processor (Multi-CPU). A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
The Memory 52 may be a Read-Only Memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 52 may be self-contained and coupled to the processor 51 via a communication bus 54. The memory 52 may also be integrated with the processor 51.
In a particular implementation, the memory 52 is used for storing data and software programs for implementing the present invention. The processor 51 may perform various functions of the air conditioner by running or executing software programs stored in the memory 52 and calling data stored in the memory 52.
The communication interface 53 is a device such as any transceiver, and is used for communicating with other devices or communication Networks, such as a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), a terminal, and a cloud. The communication interface 53 may include a receiving unit implementing a receiving function and a transmitting unit implementing a transmitting function.
The communication bus 54 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 29, but this does not mean only one bus or one type of bus.
The display 55 is used to display information input by the user or information provided to the user. The Display 55 may include a Display panel, and the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
As an example, in connection with fig. 28, the processing unit 101 in the user equipment implements the same function as the processor 101 in fig. 29, the sending unit 102 and the acquiring unit 103 implement the same function as the interface unit 107 in fig. 29, the display unit 104 implements the same function as the display 103 in fig. 29, and the storage unit 105 implements the same function as the memory 102 in fig. 29.
Another embodiment of the present invention further provides a computer-readable storage medium, which stores instructions that, when executed on a computer, cause the computer to perform the method shown in the above method embodiment.
In some embodiments, the disclosed methods may be implemented as computer program instructions encoded on a computer-readable storage medium in a machine-readable format or encoded on other non-transitory media or articles of manufacture.
In an exemplary embodiment, the disclosed embodiments also provide a storage medium comprising instructions, such as the memory 102 comprising instructions, executable by the processor 101 of the server 02 to perform the above-described method. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a Read-Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, the disclosed embodiments also provide a computer program product comprising one or more instructions executable by the processor 101 of the server 02 to perform the above-described method.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, 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 be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. 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 invention 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 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 readable storage medium. Based on such understanding, the technical solution of the embodiments of the present invention may be essentially or partially contributed to by the prior art, or all or part of the technical solution may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions within the technical scope of the present invention are intended to be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A task processing method is applied to an electronic device, and comprises the following steps:
determining that the first account does not execute the target task in the current statistical period; the statistical period is a validity period for keeping the authority of the first account, and the target task is a task for realizing interactive operation between the first account and the second account;
executing the target task such that the permissions of the first account remain unchanged.
2. The task processing method according to claim 1, wherein before determining that the target task is not executed by the first account in the current statistical period, the task processing method further comprises:
determining that a level protection function of the first account is opened; and the level protection function is a function of executing the target task when the first account is determined not to execute the target task in the current statistical period.
3. The task processing method according to claim 1 or 2, wherein the executing the target task includes:
determining the second account;
and executing the target task to realize the interactive operation between the first account and the second account.
4. The task processing method according to claim 3, wherein the interactive operation includes an interactive operation, and the interactive operation includes any one of a comment operation and a bullet screen operation;
the executing the target task to achieve the interactive operation between the first account and the second account includes:
and executing the target task to realize the interactive operation between the first account and the second account.
5. The task processing method according to claim 3, wherein the interactive operation further comprises crediting a preset virtual resource in the first account to the second account;
the executing the target task to achieve the interactive operation between the first account and the second account includes:
and executing the target task to realize that the preset virtual resources in the first account are charged into the second account.
6. The task processing method of claim 5, wherein before the determining the second account, the task processing method further comprises:
determining the virtual resources currently remaining in the first account;
the executing the target task to realize that the preset virtual resource in the first account is charged into the second account comprises:
and executing the target task according to the currently remaining virtual resources of the first account and the second account so as to realize that the preset virtual resources in the first account are charged into the second account.
7. The task processing method according to claim 6, wherein the executing the target task according to the virtual resources currently remaining in the first account and the second account to achieve the purpose of charging the preset virtual resources in the first account into the second account comprises:
and under the condition that the current residual virtual resource of the first account is greater than or equal to the preset virtual resource, updating the virtual resource of the first account to the current residual virtual resource minus the preset virtual resource, and adding the preset virtual resource into the second account.
8. An electronic device, comprising: a processing unit;
the processing unit is configured to determine that the first account does not execute the target task in the current statistical period; the statistical period is a validity period for keeping the authority of the first account, and the target task is a task for realizing interactive operation between the first account and the second account;
the processing unit is further configured to execute the target task such that the permissions of the first account remain unchanged.
9. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the task processing method of any one of claims 1 to 7.
10. A computer-readable storage medium in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the task processing method of any one of claims 1 to 7.
CN202011334471.8A 2020-11-24 2020-11-24 Task processing method, electronic device and storage medium Active CN112468885B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011334471.8A CN112468885B (en) 2020-11-24 2020-11-24 Task processing method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011334471.8A CN112468885B (en) 2020-11-24 2020-11-24 Task processing method, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN112468885A true CN112468885A (en) 2021-03-09
CN112468885B CN112468885B (en) 2023-04-07

Family

ID=74799870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011334471.8A Active CN112468885B (en) 2020-11-24 2020-11-24 Task processing method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN112468885B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114630155A (en) * 2022-03-15 2022-06-14 广州方硅信息技术有限公司 Live broadcast interaction method, system and device based on user identity and computer equipment
CN115134614A (en) * 2021-03-29 2022-09-30 北京字节跳动网络技术有限公司 Task parameter configuration method and device, electronic equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946331A (en) * 2012-10-10 2013-02-27 北京交通大学 Detecting method and device for zombie users of social networks
US20180144396A1 (en) * 2016-11-24 2018-05-24 Beijing Xiaomi Mobile Software Co., Ltd. Interactive method and device for e-commerce application program
CN109729378A (en) * 2019-01-28 2019-05-07 广州酷狗计算机科技有限公司 Information processing method, the method and device that welfare is got in live streaming platform
CN111182320A (en) * 2019-12-30 2020-05-19 腾讯科技(深圳)有限公司 Information processing method, device, terminal, server and storage medium
CN111918073A (en) * 2020-06-30 2020-11-10 北京百度网讯科技有限公司 Management method and device of live broadcast room

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946331A (en) * 2012-10-10 2013-02-27 北京交通大学 Detecting method and device for zombie users of social networks
US20180144396A1 (en) * 2016-11-24 2018-05-24 Beijing Xiaomi Mobile Software Co., Ltd. Interactive method and device for e-commerce application program
CN109729378A (en) * 2019-01-28 2019-05-07 广州酷狗计算机科技有限公司 Information processing method, the method and device that welfare is got in live streaming platform
CN111182320A (en) * 2019-12-30 2020-05-19 腾讯科技(深圳)有限公司 Information processing method, device, terminal, server and storage medium
CN111918073A (en) * 2020-06-30 2020-11-10 北京百度网讯科技有限公司 Management method and device of live broadcast room

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115134614A (en) * 2021-03-29 2022-09-30 北京字节跳动网络技术有限公司 Task parameter configuration method and device, electronic equipment and computer readable storage medium
CN115134614B (en) * 2021-03-29 2024-01-02 北京字节跳动网络技术有限公司 Task parameter configuration method, device, electronic equipment and computer readable storage medium
CN114630155A (en) * 2022-03-15 2022-06-14 广州方硅信息技术有限公司 Live broadcast interaction method, system and device based on user identity and computer equipment

Also Published As

Publication number Publication date
CN112468885B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
US11663577B2 (en) Resource transfer method and apparatus and storage medium
KR102327574B1 (en) Blockchain-based transaction processing method and device
CN108040295B (en) Public cutting method, server, user side and public cutting system
JP2021516395A (en) Resource configuration method, equipment, terminals, and storage media
CN106097057B (en) Virtual article issuing method and device
US9411872B1 (en) Management of application state data
CN110109746B (en) Task processing method, device, equipment and medium
CN112468885B (en) Task processing method, electronic device and storage medium
CN109146437B (en) Virtual resource processing method, client and storage medium
CN103069411A (en) Contextual role awareness
CN104737161A (en) Person-based information aggregation
CN104809589A (en) Order processing method and device
US20210136432A1 (en) Method for recharging live streaming account, terminal, and storage medium
EP3486770B1 (en) Processing method, device and storage medium for implementing automatic startup
CN104618217A (en) Method, terminal, server and system for sharing resource
US10993090B2 (en) Network access method, apparatus, and system
WO2017185605A1 (en) File management method and electronic equipment
CN107479953B (en) Process management method, device, storage medium and electronic equipment
US20150058147A1 (en) Transaction for applications
CN106851779A (en) A kind of method and mobile terminal for recognizing access point and focus
KR20170095300A (en) Techniques for contextual mobile data access
CN110766394A (en) Bus taking payment method and device based on credit degree, electronic equipment and storage medium
CN111159617B (en) Distribution control method and device of multimedia content and content management system
CN111596971B (en) Application cleaning method and device, storage medium and electronic equipment
CN105848117A (en) Recharging method and recharging 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