CN106934708B - Event recording method and device - Google Patents

Event recording method and device Download PDF

Info

Publication number
CN106934708B
CN106934708B CN201511026023.0A CN201511026023A CN106934708B CN 106934708 B CN106934708 B CN 106934708B CN 201511026023 A CN201511026023 A CN 201511026023A CN 106934708 B CN106934708 B CN 106934708B
Authority
CN
China
Prior art keywords
preset time
event
event resource
recorded
recording
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201511026023.0A
Other languages
Chinese (zh)
Other versions
CN106934708A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201511026023.0A priority Critical patent/CN106934708B/en
Publication of CN106934708A publication Critical patent/CN106934708A/en
Application granted granted Critical
Publication of CN106934708B publication Critical patent/CN106934708B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/06Asset management; Financial planning or analysis

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Human Resources & Organizations (AREA)
  • Operations Research (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses an event recording method and device. The event recording method comprises the following steps: receiving an event resource record file at a first preset time; confirming the legality of the event resource record file; executing event resource pre-recording between second preset time and third preset time when the event resource recording file is legal to obtain an event resource pre-recording numerical value between the second preset time and the third preset time; inquiring whether the event resource pre-recorded numerical value between the second preset time and the third preset time is recorded at the first inquiring time; and recording the event between the second preset time and the third preset time when the event resource prerecorded value between the second preset time and the third preset time is not recorded. The invention solves the technical problem that the events are not recorded timely in the related technology.

Description

Event recording method and device
Technical Field
The invention relates to the field of Internet, in particular to an event recording method and device.
Background
Currently, in order to satisfy the development of the information market and provide better life service for people, it is necessary to record events corresponding to information. The recording of the events is adopted to take corresponding countermeasures to the events so as to meet the requirements of social development. The time efficiency of event recording is one of event development indexes concerned by people, people usually want to acquire an event when the event happens to ensure the instantaneity of information acquisition, but after the event happens, the information of the event can be further processed and cannot be immediately acquired by people, or when the event happens, people can acquire the information when the event is recorded, and when the event is not recorded, people cannot immediately acquire the information. Due to the fact that the event is not recorded timely, the information of the event cannot be immediately acquired within the time period when the event is recorded, and therefore the experience of the user is inconsistent.
Aiming at the problem that the event is not recorded timely in the related technology, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides an event recording method and device, which at least solve the technical problem that the event is not recorded timely in the related technology.
According to an aspect of an embodiment of the present invention, there is provided an event recording method. The event recording method comprises the following steps: receiving an event resource recording file at a first preset time, wherein the event resource recording file is a file for recording event resources between a second preset time and a third preset time, the event resources are used for recording events, the second preset time is a preset time before the first preset time, and the third preset time is a preset time before the second preset time; confirming the legality of the event resource record file; executing event resource pre-recording between second preset time and third preset time when the event resource recording file is legal to obtain an event resource pre-recording numerical value between the second preset time and the third preset time, wherein the event resource pre-recording numerical value between the second preset time and the third preset time is an event numerical value which is executed between the second preset time and the third preset time and is not recorded yet; inquiring whether the event resource pre-recorded numerical value between the second preset time and the third preset time is recorded or not at the first inquiry time, wherein the first inquiry time is the preset time after the first preset time; and recording the event between the second preset time and the third preset time when the event resource pre-recorded value between the second preset time and the third preset time is not recorded.
According to another aspect of embodiments of the present invention, there is provided an event logging apparatus. The event recording device includes: the event resource recording file is used for receiving an event resource recording file at a first preset time, wherein the event resource recording file is used for recording an event resource between a second preset time and a third preset time, the event resource is used for recording an event, the second preset time is a preset time before the first preset time, and the third preset time is a preset time before the second preset time; the confirming unit is used for confirming the legality of the event resource recording file; the execution unit is used for executing event resource pre-recording between second preset time and third preset time when the event resource recording file is legal to obtain an event resource pre-recording numerical value between the second preset time and the third preset time, wherein the event resource pre-recording numerical value between the second preset time and the third preset time is an event numerical value which is executed between the second preset time and the third preset time and is not recorded yet; the query unit is used for querying whether the event resource pre-recorded numerical value between the second preset time and the third preset time is recorded or not at the first query time, wherein the first query time is the preset time after the first preset time; and the first recording unit is used for recording the event between the second preset time and the third preset time when the event resource pre-recorded numerical value between the second preset time and the third preset time is not recorded.
In the embodiment of the invention, the event resource recording file is received at the first preset time, then the legality of the event resource recording file is confirmed, and then the event resource pre-recording between the second preset time and the third preset time is executed when the event resource recording file is legal, so that the event resource pre-recording value between the second preset time and the third preset time is obtained.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a computer terminal of an event recording method according to an embodiment of the present invention;
fig. 2 is a flowchart of an event recording method according to a first embodiment of the present invention;
FIG. 3 is a flow diagram of a method of validating the legitimacy of an event resource record file according to an embodiment of the invention;
FIG. 4 is a flow chart of an alternative event recording method according to an embodiment of the present invention;
FIG. 5 is a flowchart of a method for checking at a first preset time whether a pre-recorded value of an event resource is recorded within a preset time period before a third preset time according to an embodiment of the present invention;
fig. 6 is a flowchart of a method of recording an event within a preset time period before a third preset time according to an embodiment of the present invention;
fig. 7 is a flowchart of a method of performing event resource pre-recording between a second preset time and a third preset time according to an embodiment of the present invention;
fig. 8 is a flowchart of a method of recording an event between a second preset time and a third preset time according to an embodiment of the present invention;
fig. 9 is a flowchart of a method of inquiring whether an event resource pre-recorded value between a second preset time and a third preset time has been recorded at a first inquiry time according to an embodiment of the present invention;
FIG. 10 is a flow chart of an event resource pre-recording method according to an embodiment of the present invention;
FIG. 11 is a flow diagram of an event resource query logging method according to an embodiment of the invention;
FIG. 12 is a schematic view of an event logging device according to a first embodiment of the present invention;
FIG. 13 is a schematic view of an event logging device according to a second embodiment of the present invention;
FIG. 14 is a schematic view of an event logging device according to a third embodiment of the present invention; and
fig. 15 is a block diagram of a computer terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above 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 invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided a method embodiment of an event recording method, it being noted that the steps illustrated in the flowchart of the drawings may be recorded in a computer system such as a set of computer recordable instructions and that, although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be recorded in an order different than that herein.
The method provided by the first embodiment of the present application may be recorded in a mobile terminal, a computer terminal, or a similar computing device. Taking the example of the operation on a computer terminal, fig. 1 is a hardware structure block diagram of a computer terminal of an event recording method according to an embodiment of the present invention. As shown in fig. 1, the computer terminal 100 may include one or more (only one shown) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission device 106 for communication functions. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computer terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store software programs and modules of application software, such as program instructions/modules corresponding to the event recording method in the embodiment of the present invention, and the processor 102 records various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, implements the event recording method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 can be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
Under the operating environment, the application provides an event recording method as shown in fig. 1. The method can be applied to intelligent terminal equipment which can be a smart phone, a tablet computer and the like, and is recorded by a processor in the intelligent terminal equipment. The intelligent terminal device is provided with at least one application program, and the embodiment of the invention does not limit the types of the application programs, and can be a system application program or a software application program.
Fig. 2 is a flowchart of an event recording method according to a first embodiment of the present invention. As shown in fig. 2, an alternative of the event recording method includes the following steps:
step S202, receiving an event resource record file at a first preset time.
In the scheme provided in step S202 of the present application, a user logs in an event recording service platform, and the event recording service platform executes different events at different times, and ensures timeliness of event recording. And receiving the event resource record file at a first preset time, wherein the first preset time is the time when the event resource record file is sent to the event record service platform. And the event resource recording file records event resources between the second preset time and the third preset time, the event resources are used for forming events, the events are formed by the methods of statistics, evaluation, calculation, integration and the like of the event resources, and the events are finally recorded. The second preset time is a time before the first preset time and is a time when the event is generated, and the third preset time is a time before the second preset time and may be a time when the last event is generated. And in the preset period, the second preset time corresponds to the third preset time.
As an optional implementation manner, the event resource in this embodiment is a resource used for acquiring revenue posting information of the user terminal, and the revenue posting event of the user terminal is formed by methods of statistics, evaluation, calculation, integration, and the like on the revenue information of the user terminal. The event record service platform is a financial platform, such as a WeChat financial platform, a balance treasure, a payment treasure and the like. The event resource record file may be a revenue file for recording revenue information of the user terminal. The income recording file is sent by a service system of the fund company, income information of the user terminal between a second preset time and a third preset time is recorded, the fund company completes settlement of the income information of the user terminal between the second preset time and the third preset time at the second preset time, for example, the second preset time is 15:00 in a day, the third preset time is 15:00 in the previous day, the income file records the total amount held by the user, the income rate between 15:00 in the day and 15:00 in the previous day, and income value of the account of the user terminal between 15:00 in the day and 15:00 in the previous day are billed.
The embodiment of the invention receives the event resource recording file between the second preset time and the third preset time at the first preset time to obtain the event resource recording file, thereby obtaining the event resource recorded in the event resource recording file.
Step S204, the legality of the event resource record file is confirmed.
In the solution provided in the above step S204, after the event resource record file is received at the first preset time, the validity of the event resource record file is confirmed. And the event resource recording file records event resources between the second preset time and the third preset time, and whether the event generated between the second preset time and the third preset time is reasonable or not is determined by analyzing the event resources between the second preset time and the third preset time, so that the legality of the event resource recording file is verified. For example, the second preset time and the third preset time preset event are obtained by counting, evaluating, calculating, integrating, and the like, event resources between the second preset time and the third preset time. And if the event generated between the second preset time and the third preset time is consistent with the preset event between the second preset time and the third preset time, determining that the event resource recording file is illegal, and stopping recording the event.
As an optional implementation manner, the legality revenue file of the revenue file provided by the fund company is confirmed to record revenue information of the user terminal between the second preset time and the third preset time, and whether revenue income between the second preset time and the third preset time is reasonable or not is determined by analyzing the revenue information between the second preset time and the third preset time, for example, whether a pre-revenue value of the user between the second preset time and the third preset time is correct or not is determined, and then the legality of the revenue file is verified. The income value of the user terminal between the second preset time and the third preset time and the income rate between the second preset time and the third preset time are calculated to obtain the income value between the second preset time and the third preset time, the income value of the second preset time and the third preset time recorded in the income file does not accord with the pre-income value between the second preset time and the third preset time, the income file is determined to be illegal, income entering account of the user terminal is terminated, the pre-income value of the second preset time and the third preset time recorded in the income file accords with the income value between the second preset time and the third preset time, the income file is determined to be legal, and the income information recorded by the income file is reliable and accurate.
The method and the device for determining the reliability of the event resource recorded by the event resource recording file confirm the legality of the event resource recording file after receiving the event resource recording file at the first preset time.
Step S206, when the event resource record file is legal, executing event resource pre-record between the second preset time and the third preset time to obtain an event resource pre-record value between the second preset time and the third preset time.
In the solution provided in the foregoing step S206 of the present application, after determining whether the event resource record file is legal, if the event resource record file is legal, that is, an event generated between the second preset time and the third preset time is consistent with a preset event between the second preset time and the third preset time, performing event resource pre-recording between the second preset time and the third preset time, where the event resource pre-recording is a pre-recorded event resource when determining whether the event resource record file is legal, and the event resource is specifically an event resource pre-recorded value between the second preset time and the third preset time, and may be used to represent a degree of a preset amount of the event resource, reflect a change rule of the event, a development trend of the event, a performance of the event, and the like. And pre-recording the numerical value through the event resource to realize the pre-recording of the event.
As an optional implementation manner, the event resource pre-record in this embodiment may be to perform revenue pre-posting on the revenue between the second preset time and the third preset time, and the event resource pre-record value is a pre-revenue value when the revenue pre-posting is performed. After confirming whether the income file provided by the fund company is legal or not, if the income file is legal, namely, the income value of the second preset time and the third preset time recorded in the income file is consistent with the preset income value between the second preset time and the third preset time, determining that the income file is legal, executing income pre-posting between the second preset time and the third preset time to obtain a pre-income value, wherein the pre-income value is the amount of money which is not posted and cannot be temporarily provided for the user terminal to check. And realizing the pre-recording of income posting by executing income pre-posting.
According to the embodiment of the invention, when the event resource recording file is legal, the event resource pre-recording between the second preset time and the third preset time is executed, so that the event resource pre-recording value between the second preset time and the third preset time is obtained.
Step S208, it is queried at the first query time whether the event resource pre-recorded value between the second preset time and the third preset time is recorded, where the first query time is a preset time after the first preset time.
In the solution provided in step S208 of the present application, when the event resource record file is legal, the event resource pre-record between the second preset time and the third preset time is executed, and after the event resource pre-record value is obtained, whether the event resource pre-record value between the second preset time and the third preset time is recorded is queried at the first query time. The first query time is a preset time after the first preset time, and at the first query time, the event can be recorded according to a schedule of the event occurrence. If the event resource pre-recorded value between the second preset time and the third preset time is recorded, and the event between the second preset time and the third preset time is recorded, the user terminal may directly query at the first query time, so as to record the event in time through the event resource pre-recorded value, and if the event resource pre-recorded value between the second preset time and the third preset time is not recorded, perform step S210.
As an optional implementation manner, when the revenue file is legal, revenue pre-posting between the second preset time and the third preset time is performed, and after the pre-income value is obtained, whether the pre-income value between the second preset time and the third preset time is recorded in an account of the user terminal is inquired at the first inquiry time. At the first query time, the pre-profit value may be recorded in the account of the user terminal. And the pre-profit value between the second preset time and the third preset time is recorded in the account of the user terminal, so that the user terminal can immediately inquire the pre-profit value at the first inquiry time.
According to the embodiment of the invention, whether the event resource pre-recorded numerical value between the second preset time and the third preset time is recorded or not is inquired at the first inquiry time, so that the event is recorded through the resource pre-recorded numerical value in time.
Step S210, if the event resource pre-recorded value between the second preset time and the third preset time is not recorded, recording an event between the second preset time and the third preset time.
In the solution provided in the foregoing step S208 of the present application, it is queried at the first query time whether the event resource pre-recorded value between the second preset time and the third preset time is already recorded, and if the event resource pre-recorded value between the second preset time and the third preset time is not recorded, the event resource pre-recorded value cannot be queried by the user terminal, and an event between the second preset time and the third preset time is recorded. The event resource pre-recorded numerical value reflects the change rule of an event, the development trend of the event, the performance of the event and the like, and the event corresponding to the event resource pre-recorded numerical value can be recorded by recording the event resource pre-recorded numerical value, so that the event between the second preset time and the third preset time is recorded when the event resource pre-recorded numerical value between the second preset time and the third preset time is not recorded in the inquiry of the first inquiry time, and the inquiry and the recording of the event are realized.
As an optional implementation manner, whether the pre-income value between the second preset time and the third preset time is already posted is inquired at the first inquiry time, if the pre-income value between the second preset time and the third preset time is not posted, the pre-income value cannot be inquired by the user terminal, and then the income posting between the second preset time and the third preset time is executed. Specifically, the income between the second preset time and the third preset time is credited by recording the pre-profit value between the second preset time and the third preset time into the user account, and at the moment, the fund share in the user account is more than the share of the pre-profit value on the original basis. And finally, displaying the income value between the second preset time and the third preset time, so that the user terminal can inquire the income conditions of the second preset time and the third preset time. And recording the profit value between the second preset time and the third preset time when the pre-profit value between the second preset time and the third preset time is not paid in the account at the first query time, so as to realize the query record of the profit.
According to the embodiment of the invention, when the event resource pre-recorded numerical value between the second preset time and the third preset time is not recorded, the event between the second preset time and the third preset time is recorded, so that the technical effect of timely recording the event is realized.
Through the steps S202 to S210, the solution provided in the embodiment of the present invention can implement receiving the event resource record file at the first preset time, confirming the validity of the event resource record file, executing the event resource pre-recording between the second preset time and the third preset time when the event resource record file is valid, obtaining the event resource pre-recorded value between the second preset time and the third preset time, implementing the pre-recording of the event, then querying whether the event resource pre-recorded value between the second preset time and the third preset time is recorded at the first query time, if the event resource pre-recorded value between the second preset time and the third preset time is not recorded, recording the event between the second preset time and the third preset time, implementing the query recording of the event, and further achieving the technical effect of timely recording the event, the technical problem that the events are not recorded timely in the related technology is solved.
As an alternative embodiment, after receiving the event resource record file at the first preset time in step S202 of the present application, the validity of the event resource record file is confirmed. Fig. 3 is a flowchart of a method of validating the validity of an event resource record file according to an embodiment of the invention. As shown in fig. 3, the method for confirming the validity of the event resource record file includes the following steps:
step S302, obtaining the total event resource recorded by the event resource recording file.
The event resource record file records the total resources of the event. The total resource of the event is the total resource formed by the accumulation of the event over time and the current time. And acquiring the total event resources recorded by the event resource recording file.
Optionally, the total event resource of the embodiment is a total fund share recorded by the revenue file, and the fund share is a fund share held by the user terminal, and the total fund share recorded by the revenue file is obtained.
Step S304, acquiring the resource gain between the second preset time and the third preset time recorded by the event resource recording file.
The event resource log file also records a resource gain, which is the rate at which the resource grows as time accumulates. The resource gain reflects the increasing speed of the event resource, and the resource gain may be different when the increasing speed of the resource is different at different time. And acquiring the resource gain between the second preset time and the third preset time, so as to determine the increasing speed of the event resource between the second preset time and the third preset time.
Optionally, the resource gain of this embodiment is a profit margin reflecting the extent to which the user terminal's account profit increases over time. And acquiring the profit rate recorded by the profit file between the second preset time and the third preset time. And the profit rate between the second preset time and the third preset time is the rate of increase of the fund share held by the user terminal at the second preset time and the third preset time.
Step S306, the total event resources and the resource gains are calculated to obtain an event resource record value between the second preset time and the third preset time.
After acquiring the total event resources recorded by the event resource recording file and acquiring the resource gain between the second preset time and the third preset time recorded by the event resource recording file, performing calculation on the total event resources and the resource gain, and taking the calculated specific numerical value as the event of the second preset time and the third preset time. Specifically, the total event resources and the resource gains are calculated to obtain an event resource record value between the second preset time and the third preset time, and the event resource record value can be used as a preset event of the second preset time and the third preset time.
Optionally, the event resource record value of this embodiment is a revenue value. After acquiring the total fund share recorded by the profit file and acquiring the profit rate recorded by the profit file between the second preset time and the third preset time, calculating the profit rate between the total fund share and the second preset time and the third preset time to obtain a profit value between the second preset time and the third preset time, wherein the profit value can be used as a preset event of the second preset time and the third preset time.
Step S308, determining whether the event resource record value between the second preset time and the third preset time is consistent with the event resource record value between the second preset time and the third preset time.
After the calculation is performed on the total event resources and the resource gains to obtain the event resource record value between the second preset time and the third preset time, comparing the event resource record value between the second preset time and the third preset time with the event resource record value, and judging whether the event resource record value between the second preset time and the third preset time is consistent with the event resource record value between the second preset time and the third preset time. When the event resource record value between the second preset time and the third preset time is judged to be inconsistent with the event resource record value between the second preset time and the third preset time, executing the step S310, and determining that the event resource record file is illegal; and executing step S312 to determine that the event resource record file is legal when the event resource record value between the second preset time and the third preset time is judged to be consistent with the event resource record value between the second preset time and the third preset time.
Optionally, after the calculation of the profit-and-profit rate between the total fund share and the second preset time and the third preset time is performed to obtain the profit value between the second preset time and the third preset time, the embodiment compares the profit value between the second preset time and the third preset time with the pre-profit value between the second preset time and the third preset time, and determines whether the pre-profit value between the second preset time and the third preset time is consistent with the profit value between the second preset time and the third preset time.
Step S310, determining that the event resource record file is illegal.
And when the event resource record value between the second preset time and the third preset time is judged to be inconsistent with the event resource record value between the second preset time and the third preset time, determining that the event resource record file is illegal, wherein the event resource recorded by the event resource record file cannot be used for forming an event.
Optionally, in this embodiment, when it is determined that the profit value between the second preset time and the third preset time is inconsistent with the pre-profit value between the second preset time and the third preset time, it is determined that the profit file is illegal, and the profit information recorded by the profit file is unreliable and inaccurate.
Step S312, it is determined that the event resource record file is legal.
And when the event resource record value between the second preset time and the third preset time is judged to be consistent with the event resource record value between the second preset time and the third preset time, determining that an event resource record file is legal, wherein the event resource recorded by the event resource record file can be used for forming an event.
Optionally, in this embodiment, when it is determined that the profit value between the second preset time and the third preset time is consistent with the pre-profit value between the second preset time and the third preset time, it is determined that the profit file is legal, and the profit information recorded by the profit file is reliable and accurate.
Through the steps S302 to S312, the solution provided by the above-mentioned optional embodiment of the present invention can implement obtaining the total event resource recorded by the event resource record file; acquiring resource gain between second preset time and third preset time recorded by the event resource recording file; performing calculation on the total event resources and the resource gain to obtain an event resource record value between second preset time and third preset time; judging whether the event resource record numerical value between the second preset time and the third preset time is consistent with the event resource record numerical value between the second preset time and the third preset time; determining that the event resource record file is illegal when the event resource record value between the second preset time and the third preset time is judged to be inconsistent with the event resource record value between the second preset time and the third preset time; and determining that the event resource record file is legal when the event resource record value between the second preset time and the third preset time is judged to be consistent with the event resource record value between the second preset time and the third preset time, thereby realizing the confirmation of the legality of the event resource record file.
As another optional embodiment, by using step S206 of the present application, before performing event resource pre-recording between the second preset time and the third preset time when the event resource recording file is legal, it is determined whether an event in a preset time period before the third preset time has been recorded, and it is ensured that when an event in a preset time period before the third preset time has been recorded, the event resource pre-recording between the second preset time and the third preset time is performed. Fig. 4 is a flow chart of an alternative event recording method according to an embodiment of the present invention. As shown in fig. 4, the event recording method further includes the steps of:
step S402, whether the event resource pre-recorded numerical value in the preset time period before the third preset time is recorded or not is checked at the first preset time.
After the validity of the event resource recording file is confirmed, whether the event resource pre-recorded numerical value in the preset time period before the third preset time is recorded or not is checked at the first preset time. Alternatively, the preset time period before the third preset time may be equal to the time between the second preset time and the third preset time, that is, the preset time period before the third preset time is a period in which an event occurs, and is the same as the time between the second preset time and the third preset time.
Optionally, in this embodiment, it is checked whether the pre-income value of the preset time period before the third preset time is income posting. For example, if the third preset time is 15:00 of the previous day, the time between 15:00 of the previous two days and 15:00 of the previous day is taken as the preset time period before the third preset time, and whether income is posted in the time between 15:00 of the previous two days and 15:00 of the previous day is judged.
Step S404, the event resource pre-recorded value in the preset time period before the third preset time is not recorded, and the event in the preset time period before the third preset time is recorded.
The event resource pre-recorded value in the preset time period before the third preset time is not recorded, the event in the preset time period before the third preset time is recorded, and the event in the preset time period before the third preset time can be recorded by recording the event resource pre-recorded value in the preset time period before the third preset time. Preferably, the recording of the event resource pre-record in the preset time period before the third preset time when the event resource record file is legal includes: performing event resource pre-recording between the second preset time and the third preset time when an event within a preset time period before the third preset time has been recorded.
Optionally, the income value is not income credited within a preset time period before the third preset time, and income crediting within the preset time period before the third preset time is executed, so as to record an income crediting event. Preferably, the recording of the pre-profit value for the preset time period before the third preset time when the profit document is legal comprises: and performing revenue pre-posting between the second preset time and the third preset time when revenue has been posted within a preset time period before the third preset time.
Through the steps S302 to S304, the solution provided by the above-mentioned alternative embodiment of the present invention checks whether the event resource pre-recorded value in the preset time period before the third preset time is recorded or not by checking at the first preset time; and recording the event in the preset time period before the third preset time when the event resource pre-recorded value in the preset time period before the third preset time is not recorded, and executing the event resource pre-recording between the second preset time and the third preset time when the event in the preset time period before the third preset time is recorded.
As another optional embodiment, the event resource record file includes an event resource pre-recorded time field and an event resource pre-recorded numerical value field, where the event resource pre-recorded time field is used to indicate information of time corresponding to the event resource pre-recorded numerical value, and the event resource pre-recorded numerical value field is used to indicate information of the event resource pre-recorded numerical value. And checking whether the event resource pre-recorded numerical value in the preset time period before the third preset time is recorded or not at the first preset time through the event resource pre-recorded time field and the event resource pre-recorded numerical value field.
Fig. 5 is a flowchart of a method for checking whether a pre-recorded value of an event resource is recorded within a preset time period before a third preset time at a first preset time according to an embodiment of the present invention. As shown in fig. 5, the method for checking whether the event resource pre-recorded value within the preset time period before the third preset time is recorded at the first preset time includes:
step S502, judge whether the event resource pre-recorded time field is null value, and judge whether the event resource pre-recorded numerical field is nonzero.
The event resource pre-record time field is a field in a base table structure and can be used for representing information of time corresponding to the event resource pre-record value, such as representing date corresponding to the event resource pre-record value. The event resource pre-record value field is also a field in the base table structure for representing the revenue information corresponding to the event resource pre-record value.
Optionally, the event resource pre-record time field is a profit date field, and may be used to indicate information of time corresponding to the pre-profit value. The event resource pre-record value field is a pre-profit value field.
In step S504, an event within a preset time period before the third preset time is not recorded.
And when the event resource pre-recording time field is a preset time period before the third preset time and the event resource pre-recording numerical value field is judged to be non-zero, the event in the preset time period before the third preset time is not recorded. And when the event resource pre-record time field is null and the event resource pre-record numerical field is judged to be zero, recording the event in the preset time period before the third preset time. Event resource pre-recording between the second preset time and the third preset time can be performed.
Optionally, when the profit date field is a time between the second preset time and a third preset time and the pre-profit value field is determined to be non-zero, an event in a preset time period before the third preset time is not recorded. For example, when the profit date field is 15:00 on the previous day to 15 on the previous two days: 00 time period, and if the pre-profit value field is judged to be non-zero, 15 of the previous day from 15:00 to 15 of the previous two days: revenue for the 00 time period is not credited. And when the income date field is null and the pre-income value field is zero, the income in the preset time period before the third preset time is already income and is already credited. For example, when the profit date field is null and the pre-profit value field is determined to be zero, the value of the profit date field is 15:00 on the previous day to 15 on the previous two days: revenue for the 00 time period has been credited.
Through the steps S502 to S504, the scheme provided in the above-mentioned optional embodiment of the present invention realizes that whether the event resource pre-recorded time field is a null value or not is checked at the first preset time by determining whether the event resource pre-recorded time field is a time between the second preset time and the third preset time and determining that the event resource pre-recorded time field is a non-zero time or not, and then the event in the preset time period before the third preset time is not recorded, by determining whether the event resource pre-recorded time field is a non-zero value or not, and determining whether the event resource pre-recorded time field is a time between the second preset time and the third preset time or not.
As another optional embodiment, the event resource record file further includes a single event resource record value field and a total event resource record value field, where the single event resource record value field is used to indicate information of a single event resource record value, the total event resource record field is used to indicate information of a total event resource record value, a pre-recorded event resource value in a preset time period before a third preset time is not recorded, and an event in the preset time period before the third preset time is recorded through the single event resource record value field and the total event resource record value field.
Fig. 6 is a flowchart of a method of recording an event within a preset time period before a third preset time according to an embodiment of the present invention. As shown in fig. 6, the method for recording the event within the preset time period before the third preset time includes the following steps:
step S602, assigning the single event resource record value field as an event resource pre-record value in a preset time period before the third preset time.
And obtaining the event resource pre-recorded value in the preset time period before the third preset time, and taking the event resource pre-recorded value in the preset time period before the third preset time as the value of the current single event resource recording value field.
Alternatively, the single event resource record value field may be a single profit value field for information indicating a value of a single profit. And obtaining the pre-income value in the preset time period before the third preset time, and taking the pre-income value in the preset time period before the third preset time as the value of the current single event resource record value field.
Step S604, the event resource pre-recorded value in the preset time period before the third preset time is accumulated to the event total resource record value represented by the event total resource record value field.
After the event resource pre-recorded value in the preset time period before the third preset time is obtained, the event resource pre-recorded value in the preset time period before the third preset time is accumulated to the event total resource record value represented by the event total resource record value field, so that the event total resource record value field is updated to represent the total event resource for executing the event record.
Alternatively, the total resource record value field may be a total profit value field for information representing historical profit values. After the pre-profit value in the preset time period before the third preset time is obtained, the pre-profit value in the preset time period before the third preset time is accumulated to the event total-profit value represented by the total-profit value field, so that the total-profit value field is updated to represent the fund share of executed revenue posting.
Step S606, assigns the event resource pre-recorded value field to zero, and assigns the event resource pre-recorded time field to null.
Preferably, after the single event resource record value field is assigned as the event resource pre-record value in the preset time period before the third preset time, the event resource pre-record value field is assigned as zero, and the event resource pre-record time field is assigned as a null value, at this time, the recording of the event in the preset time period before the third preset time is completed.
Optionally, after assigning the single income value field to a pre-income value within a preset time period before the third preset time, assigning the pre-income value field to zero, and assigning the income date field to a null value, at which time the income within the preset time period before the third preset time has been credited.
Through the steps S602 to S606, in the scheme provided in the above-mentioned optional embodiment of the present invention, the single event resource record value field is assigned as the event resource pre-record value in the preset time period before the third preset time, the event resource pre-record value in the preset time period before the third preset time is accumulated to the event total resource record value represented by the event total resource record value field, the event resource pre-record value field is assigned as zero, and the event resource pre-record time field is assigned as a null value, so that the recording of the event in the preset time period before the third preset time is realized.
As another alternative embodiment, the event resource pre-recording between the second preset time and the third preset time is performed when the event resource recording file is legal.
Fig. 7 is a flowchart of a method of performing event resource pre-recording between a second preset time and a third preset time according to an embodiment of the present invention. As shown in fig. 7, the method of performing event resource pre-recording between the second preset time and the third preset time includes the steps of:
step S702, assigning the event resource pre-recorded value field to an event resource pre-recorded value between the second preset time and the third preset time.
And when the assignment of the event resource prerecorded numerical field is zero, assigning the event resource prerecorded numerical field as an event resource prerecorded numerical value between the second preset time and the third preset time.
In step S704, the event resource pre-recorded time field is assigned as a time between the second preset time and the third preset time.
And when the event resource pre-recorded time field is assigned as a null value, assigning the event resource pre-recorded time field as the time between the second preset time and the third preset time.
Through the steps S702 to S704, in the solution provided in the above-mentioned optional embodiment of the present invention, the event resource pre-recorded value field is assigned as the event resource pre-recorded value between the second preset time and the third preset time, and the event resource pre-recorded time field is assigned as the time between the second preset time and the third preset time, so that the event resource pre-recording between the second preset time and the third preset time is performed when the event resource recording file is legal.
As another alternative, the event resource pre-recorded value between the second preset time and the third preset time is not recorded, and the event between the second preset time and the third preset time is recorded.
Fig. 8 is a flowchart of a method of recording an event between a second preset time and a third preset time according to an embodiment of the present invention. As shown in fig. 8, the method of the event between the second preset time and the third preset time includes the steps of:
step S802, assigning the single event resource record value field as an event resource record value between the second preset time and the third preset time.
Step S804, the event resource pre-recorded value between the second preset time and the third preset time is accumulated to the event total resource record value represented by the event total resource record value field.
Step S806 reassigns the event resource pre-recorded value field to zero and reassigns the event resource pre-recorded time field to null.
And after the single event resource record value field is assigned as the event resource record value between the second preset time and the third preset time, reassigning the event resource record value field to zero, and reassigning the event resource record time field to null.
Through the foregoing steps S802 to S806, in the solution provided in the above-mentioned optional embodiment of the present invention, the record number field of the single event resource record is assigned as the record number of the event resource between the second preset time and the third preset time, then the record number of the event resource between the second preset time and the third preset time is accumulated to the record number of the event resource represented by the record number field of the event resource, and finally the record number field of the event resource record is reassigned to zero, and the record number field of the event resource record is reassigned to null, so as to record the event between the second preset time and the third preset time.
As another alternative embodiment, whether the event resource pre-recorded value between the second preset time and the third preset time is recorded is queried at the first query time.
Fig. 9 is a flowchart of a method for inquiring whether an event resource pre-recorded value between a second preset time and a third preset time has been recorded at a first inquiry time according to an embodiment of the present invention. As shown in fig. 9, the method for inquiring whether the event resource pre-recorded value between the second preset time and the third preset time is recorded at the first inquiry time comprises the following steps:
step 902, determine again whether the event resource pre-recorded time field is null, and determine again whether the event resource pre-recorded value field is non-zero.
And after the event resource record between the second preset time and the third preset time is executed when the event resource record file is legal, judging whether the event resource record time field is a null value again, and judging whether the event resource record numerical field is nonzero again.
Step 904, determining that the event resource pre-recorded value between the second preset time and the third preset time is recorded.
And when the field of the event resource pre-recorded time is judged to be null again, and the field of the event resource pre-recorded numerical value is judged to be zero again, determining that the event resource pre-recorded numerical value between the second preset time and the third preset time is recorded.
Through the steps S902 to S906, the scheme provided in the above-mentioned optional embodiment of the present invention determines that the event resource pre-recorded value between the second preset time and the third preset time is already recorded by determining whether the event resource pre-recorded time field is null again and determining whether the event resource pre-recorded value field is non-zero again, so as to query whether the event resource pre-recorded value between the second preset time and the third preset time is already recorded at the first query time.
As another alternative embodiment, after the event resource recording between the second preset time and the third preset time is executed when the event resource recording file is legal, the event between the second preset time and the third preset time is automatically recorded when the system is in an idle state. That is, when the system is running, the recording of the event between the second preset time and the third preset time can be automatically triggered within the range of the execution capability of the system.
This is described below in connection with a preferred embodiment. Fig. 10 is a flowchart of an event resource pre-recording method according to an embodiment of the present invention. As shown in fig. 10, the event resource pre-recording method includes the following steps:
in step S1001, the validity of the profit file is checked on day D.
In this example, day 15:00 to the next day 15:00 is taken as D-day, day 15:00 and the time of day 15:00 before are taken as D-1-day, and the time between day 15:00 and day 15:00 before are taken as D-2-day.
On day D20: and about 00 o' clock, receiving a profit file which is provided by a fund company and records profit information of D-1 day, wherein the profit information of D-1 day comprises the total fund share currently held by the user and the profit rate of D-1 day, executing profit pre-check, and executing step S1002.
Step S1002, judging whether the income file is legal or not.
After acquiring the total fund share recorded by the income file and acquiring the income rate of the income file recorded on the D-1 day, calculating the total fund share and the income rate of the income file recorded on the D-1 day to obtain an income value on the D-1 day, namely the income amount on the D-1 day, wherein the income value can be used as a preset event on the D-1 day.
In the embodiment, after the total fund share and the profit-and-interest rate of the day D-1 are calculated to obtain the profit value of the day D-1, the profit value of the day D-1 is compared with the pre-profit value of the day D-1, and whether the profit value of the day D-1 is consistent with the pre-profit value of the day D-1 is judged. And if the income value of the D-1 day is judged to be consistent with the pre-income value of the D-1 day, the income file is legal, and if the income value of the D-1 day is judged to be inconsistent with the pre-income value of the D-1 day, the income file is illegal.
Step S1003, whether the income corresponding to the earning amount field is posted is checked.
Table 1 table structure table
Figure BDA0000896477260000221
Table 1 is a table structure table, including user fields, total profit value fields, single profit value fields, pre-profit value fields, and profit date fields. The user field is used for representing a field of user identification; the total income value field is used for representing information of historical income values and representing historical accumulated income of the user in the fund; the single income value field is a single event resource record value field and is used for representing the value information of single income and representing the single income of the user holding the fund share; the pre-income value field is an event resource pre-recorded value field, represents the income amount during pre-inspection and cannot be temporarily checked by the user; the revenue date field is an event resource pre-recorded time field, which represents information that can be used to represent the time corresponding to the pre-revenue value, i.e., the date corresponding to the pre-revenue value.
In this embodiment, when the revenue date field is D-2 days and the pre-revenue value field is not 0, it indicates that the revenue is not billed for D-2 days.
Step S1004, executing D-2 daily income posting.
When the income of the D-2 day is not posted, the income of the D-2 day is posted, and a single income value field is a pre-income value of the D-2 day; the total income value field accumulates the amount of money represented by the D-2 day pre-income value field; the pre-profit value field is assigned 0; the benefit date field is assigned null.
Step S1005, executing D-1 daily income pre-posting.
After the D-2 day revenue posting, D-1 day revenue pre-posting is performed. And D-1 day of the pre-harvest date field. The pre-gain value field is the pre-gain value of D-1.
After performing the revenue pre-posting for day D-1, e.g., for 1 hour, at 21: the income of the 00-point user on D-1 is already entered into the pre-income value field, but the user cannot immediately inquire the pre-income before the 00:00 of D.
The embodiment of the invention checks the legality of the income file on day D, judges whether the income file is legal or not, checks whether the income corresponding to the pre-income field is posted or not, does not post the income corresponding to the pre-income field, executes income posting on day D-2, posts the income corresponding to the pre-income field and executes income pre-posting on day D-1, thereby realizing the pre-recording of the event.
Fig. 11 is a flowchart of an event resource query logging method according to an embodiment of the present invention. As shown in fig. 11, the event resource query recording method includes the following steps:
in step S1101, a query profit request is received.
Optionally, a revenue query for day D-1 is initiated at any time after day D, 00:00, or revenue posting is triggered by the system when the system is idle.
Step S1102, check whether the income of D-1 day is posted.
If the pre-receiving benefit date field is empty and the pre-receiving benefit value field is zero, the income of the D-1 day is already checked, otherwise, the income of the D-1 day is checked not to be checked.
And step S1103, returning the income posting information of the D-1 day.
And returning the income amount of the D-1 day when the income of the D-1 day is paid.
And step S1104, executing D-1 daily income posting.
When the income of the D-1 day is not posted, the single income value field is a pre-income value; accumulating the pre-income value by the sum corresponding to the total income value field; assigning the pre-gain value field to zero; and assigning the pre-income value field to be null, thereby completing income posting on day D-1.
The event recording action of the preferred embodiment of the invention is decomposed into two actions of event resource pre-recording and event recording, so that after 00:00 points, a user can immediately see yesterday event resource pre-recorded numerical values during query. The yesterday event record of the user is recorded when the user inquires, no inquiry benefit exists in one day when the user does not inquire, recording is carried out when the event resource is prerecorded in the next day, and the process is repeated.
The embodiment of the invention checks whether the income of D-1 day is posted or not by receiving the income inquiry request, the income of D-1 day is posted, the income posting information of D-1 day is returned, the income of D-1 day is not posted, and the income of D-1 day is posted, thereby realizing the inquiry and recording of the event and achieving the technical effect of timely recording the event.
This is explained below with reference to a further preferred embodiment.
The event resource record file of this embodiment may be a cloud resource record file, which is used to record a file of cloud resources between the second preset time and the third preset time, where the cloud resources are used to record cloud data, for example, the cloud resources are used to record file data such as document data, audio data, video data, picture data, and an address book.
And receiving the cloud resource recording file at a first preset time, wherein the second preset time is a preset time before the first preset time, and the third preset time is a preset time before the second preset time. The method includes the steps of firstly, confirming the validity of a cloud resource recording file, for example, confirming the validity of the cloud resource recording file aiming at the security of the cloud resource recording file, the size of the cloud resource recording file and the like, and optionally, confirming that the cloud resource recording file is illegal if the cloud resource recording file carries viruses or the cloud resource recording file is larger than a preset value and the like. Executing cloud resource pre-recording between second preset time and third preset time when the cloud resource recording file is legal, namely, pre-recording the cloud resource on a cloud server, and performing backup storage to obtain a cloud resource pre-recording numerical value between the second preset time and the third preset time, wherein the cloud resource pre-recording numerical value between the second preset time and the third preset time is the amount of cloud data which is executed but not recorded between the second preset time and the third preset time; inquiring whether the cloud resource pre-recorded numerical value between the second preset time and the third preset time is recorded or not at the first inquiry time, wherein the first inquiry time is the preset time after the first preset time; and recording cloud data between the second preset time and the third preset time when the cloud resource prerecorded value between the second preset time and the third preset time is not recorded.
Optionally, confirming the validity of the cloud resource record file comprises: acquiring total resources of cloud data recorded by a cloud resource recording file, such as total contact data corresponding to the cloud data of an address book; acquiring cloud data resource gain between second preset time and third preset time recorded by a cloud resource recording file, for example, a ratio of newly added contact data between the second preset time and the third preset time; computing the cloud data total resource and the cloud data source gain to obtain a newly added cloud resource record numerical value between second preset time and third preset time, for example, newly added contact data between the second preset time and the third preset time; judging whether the cloud resource record numerical value between the second preset time and the third preset time is consistent with the cloud resource record numerical value between the second preset time and the third preset time, for example, judging whether the numerical value of a newly added contact between the second preset time and the third preset time is consistent with the pre-record numerical value of the newly added contact between the second preset time and the third preset time; determining that the cloud resource record file is illegal when the event resource record value between the second preset time and the third preset time is judged to be inconsistent with the cloud resource record value between the second preset time and the third preset time; and when the cloud resource record value between the second preset time and the third preset time is judged to be consistent with the cloud resource record value between the second preset time and the third preset time, determining that the cloud resource record file is legal.
Optionally, before performing cloud resource pre-recording between the second preset time and a third preset time when the cloud resource recording file is legal, checking whether a cloud resource pre-recording numerical value in a preset time period before the third preset time is recorded or not at the first preset time; the cloud resource pre-recording value in the preset time period before the third preset time is not recorded, the cloud data in the preset time period before the third preset time is recorded, and the cloud resource pre-recording between the second preset time and the third preset time is executed when the cloud data in the preset time period before the third preset time is recorded.
Optionally, the cloud resource record file includes a cloud resource pre-record time field and a cloud resource pre-record value field, where the cloud resource pre-record time field is used to represent information of time corresponding to the cloud resource pre-record value, and the cloud resource pre-record value field is used to represent information of the cloud resource pre-record value. Checking whether the cloud resource pre-recorded numerical value in the preset time period before the third preset time is recorded at the first preset time comprises: judging whether the cloud resource pre-recording time field is a null value or not, and judging whether the cloud resource pre-recording numerical field is nonzero or not; and if the field of the cloud resource pre-record time is judged to be a preset time period before the third preset time, and the field of the cloud resource pre-record numerical value is judged to be non-zero, the cloud data in the preset time period before the third preset time is not recorded.
Optionally, the cloud resource record file further includes a single cloud resource record value field and a cloud total resource record value field, where the single cloud resource record value field is used to represent information of a cloud resource record value uploaded at a single time, the cloud total resource record field is used to represent information of a cloud total resource record value, a cloud resource pre-record value within a preset time period before a third preset time is not recorded, and recording an event within the preset time period before the third preset time includes: assigning the single cloud resource record value field as a cloud resource pre-record value in a preset time period before the third preset time, so as to obtain a file corresponding to cloud data uploaded in the preset time period before the third preset time; accumulating the cloud resource pre-recorded numerical value in the preset time period before the third preset time to the cloud total resource record numerical value represented by the cloud total resource record numerical value field, so as to obtain a file corresponding to historical total cloud data; and after the single-time cloud resource record numerical value field is assigned as the cloud resource pre-record numerical value in the preset time period before the third preset time, assigning the cloud resource pre-record numerical value field as zero, and assigning the cloud resource pre-record time field as a null value.
Optionally, the performing, when the cloud resource record file is legal, the cloud resource pre-recording between the second preset time and the third preset time includes: when the cloud resource pre-recorded numerical value field is assigned to be zero, assigning the event resource pre-recorded numerical value field to be a cloud resource pre-recorded numerical value between second preset time and third preset time; and when the cloud resource pre-recording time field is assigned as a null value, assigning the cloud resource pre-recording time field as the time between the second preset time and the third preset time, thereby indicating that the cloud data file corresponding to the cloud resource pre-recording value between the second preset time and the third preset time is about to be recorded.
Optionally, the cloud resource pre-recorded value between the second preset time and the third preset time is not recorded, and recording the cloud data between the second preset time and the third preset time includes: assigning the single cloud resource record value field as a cloud resource record value between second preset time and third preset time, so as to obtain a file corresponding to cloud data uploaded between the second preset time and the third preset time; accumulating the cloud resource pre-record numerical value between the second preset time and the third preset time to the cloud total resource record numerical value represented by the cloud total resource record numerical value field, so as to obtain a file corresponding to the historical total cloud data until the current time; and after the single-time cloud resource record numerical value field is assigned to be the cloud resource pre-record numerical value between the second preset time and the third preset time, reassigning the cloud resource pre-record numerical value field to be zero, and reassigning the cloud resource pre-record time field to be null.
Optionally, the querying whether the cloud resource pre-recorded value between the second preset time and the third preset time is recorded at the first query time includes: after the cloud resource pre-recording between the second preset time and the third preset time is executed when the cloud resource recording file is legal, judging whether the cloud resource pre-recording time field is a null value again, and judging whether the cloud resource pre-recording numerical field is nonzero again; and when the field of the cloud resource pre-recording time is judged to be null again, and the field of the cloud resource pre-recording numerical value is judged to be zero again, determining that the cloud resource pre-recording numerical value between the second preset time and the third preset time is recorded.
Optionally, after the cloud resource pre-recording between the second preset time and the third preset time is executed when the cloud resource recording file is legal, the cloud data between the second preset time and the third preset time is automatically recorded when the system is in an idle state.
The cloud resource recording file is received at the first preset time, the legality of the cloud resource recording file is confirmed, the cloud resource recording between the second preset time and the third preset time is executed when the cloud resource recording file is legal, the cloud resource recording value between the second preset time and the third preset time is obtained, whether the cloud resource recording value between the second preset time and the third preset time is recorded or not is inquired at the first inquiry time, the cloud resource recording value between the second preset time and the third preset time is not recorded, the cloud data between the second preset time and the third preset time is recorded, and the technical effect of timely recording events is achieved.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to record the methods according to the embodiments of the present invention.
Example 2
According to the embodiment of the invention, the event recording device for implementing the event recording method is also provided. Fig. 12 is a schematic view of an event recording apparatus according to a first embodiment of the present invention. As shown in fig. 12, the event recording apparatus includes: a receiving unit 10, a confirming unit 20, an executing unit 30, a querying unit 40 and a first recording unit 50.
The receiving unit 10 is configured to receive an event resource record file at a first preset time, where the event resource record file is a file used for recording an event resource between a second preset time and a third preset time, the event resource is used for recording an event, the second preset time is a preset time before the first preset time, and the third preset time is a preset time before the second preset time.
And a confirming unit 20, configured to confirm the validity of the event resource record file.
The executing unit 30 is configured to execute event resource pre-recording between a second preset time and a third preset time when the event resource recording file is legal, to obtain an event resource pre-recorded value between the second preset time and the third preset time, where the event resource pre-recorded value between the second preset time and the third preset time is an event value that has been executed between the second preset time and the third preset time and has not been recorded yet.
The querying unit 40 is configured to query whether the event resource pre-recorded value between the second preset time and the third preset time is recorded at the first query time, where the first query time is a preset time after the first preset time.
The first recording unit 50 is configured to record an event between the second preset time and the third preset time if the event resource pre-recorded value between the second preset time and the third preset time is not recorded.
In the event recording apparatus of this embodiment, the receiving unit 10 may be configured to execute step S202 in the embodiment of the present invention, the confirming unit 20 may be configured to execute step S204 in the embodiment of the present invention, the executing unit 30 may be configured to execute step S206 in the embodiment of the present invention, the querying unit 40 may be configured to execute step S208 in the embodiment of the present invention, and the first recording unit 50 may be configured to execute step S210 in the embodiment of the present invention.
As an alternative embodiment, fig. 13 is a schematic view of an event recording apparatus according to a second embodiment of the present invention. As shown in fig. 13, the event logging apparatus includes a receiving unit 10, a confirming unit 20, an executing unit 30, an inquiring unit 40, and a first logging unit 50. Wherein, the confirmation unit 20 includes: the system comprises a first acquisition module 201, a second acquisition module 202, a calculation module 203, a judgment module 204, a first determination module 205 and a second determination module 206.
The receiving unit 10, the confirming unit 20, the executing unit 30, the inquiring unit 40 and the first recording unit 50 in this embodiment function as the present invention.
The first obtaining module 201 is configured to obtain an event total resource recorded by the event resource recording file.
The second obtaining module 202 is configured to obtain a resource gain between a second preset time and a third preset time of the event resource record file record.
And the calculating module 203 is configured to perform calculation on the total event resources and the resource gain to obtain an event resource record value between the second preset time and the third preset time.
The determining module 204 is configured to determine whether the event resource record value between the second preset time and the third preset time is consistent with the event resource record value between the second preset time and the third preset time.
The first determining module 205 is configured to determine that the event resource record file is illegal when it is determined that the event resource record value between the second preset time and the third preset time is inconsistent with the event resource record value between the second preset time and the third preset time.
The second determining module 206 is configured to determine that the event resource record file is legal when it is determined that the event resource record value between the second preset time and the third preset time is consistent with the event resource record value between the second preset time and the third preset time.
As another alternative embodiment, fig. 14 is a schematic view of an event recording apparatus according to a third embodiment of the present invention. As shown in fig. 14, the event recording apparatus includes: a receiving unit 10, a confirming unit 20, an executing unit 30, a querying unit 40, a first recording unit 50, a verifying unit 60 and a second recording unit 70.
And the checking unit 60 is configured to check whether the event resource pre-recorded value within a preset time period before the third preset time is recorded or not at the first preset time before the event resource pre-recording between the second preset time and the third preset time is executed when the event resource recording file is legal.
And a second recording unit 70, configured to record an event in a preset time period before a third preset time when an event resource pre-recorded value in the preset time period before the third preset time is not recorded, wherein the first recording unit 50 is configured to perform event resource pre-recording between the second preset time and the third preset time when the event in the preset time period before the third preset time is recorded.
Through the above embodiments, the scheme provided by the embodiment of the present invention receives an event resource record file at a first preset time through the receiving unit 10; the validity of the event resource record file is confirmed by the confirming unit 20; executing event resource pre-recording between second preset time and third preset time by the execution unit 30 when the event resource recording file is legal to obtain an event resource pre-recording numerical value between the second preset time and the third preset time; inquiring whether the event resource pre-recorded numerical value between the second preset time and the third preset time is recorded at the first inquiring time through an inquiring unit 40; if the event resource pre-recorded value between the second preset time and the third preset time is not recorded by the first recording unit 50, the event between the second preset time and the third preset time is recorded, thereby realizing the technical effect of timely recording the event.
Example 3
The embodiment of the invention also provides a storage medium. Alternatively, in this embodiment, the storage medium may be configured to store the program code recorded in the event recording method according to the above embodiment.
Optionally, in this embodiment, the storage medium may be located in at least one network device of a plurality of network devices of a computer network.
Alternatively, in the present embodiment, the storage medium is configured to store program code for recording the steps of:
the method comprises the steps of firstly, receiving an event resource recording file at a first preset time, wherein the event resource recording file is a file used for recording event resources between a second preset time and a third preset time, the event resources are used for recording events, the second preset time is a preset time before the first preset time, and the third preset time is a preset time before the second preset time.
And secondly, confirming the legality of the event resource record file.
And thirdly, executing event resource pre-recording between second preset time and third preset time when the event resource recording file is legal to obtain an event resource pre-recording numerical value between the second preset time and the third preset time, wherein the event resource pre-recording numerical value between the second preset time and the third preset time is an event resource recording numerical value which is executed between the second preset time and the third preset time and is not recorded yet.
And fourthly, inquiring whether the event resource pre-recorded numerical value between the second preset time and the third preset time is recorded or not at the first inquiry time, wherein the first inquiry time is the preset time after the first preset time.
And fifthly, recording the event between the second preset time and the third preset time when the event resource prerecorded value between the second preset time and the third preset time is not recorded.
Optionally, the storage medium is further arranged to store program code for recording the steps of: acquiring event total resources recorded by an event resource recording file; acquiring resource gain between second preset time and third preset time recorded by the event resource recording file; performing calculation on the total event resources and the resource gain to obtain an event resource record value between second preset time and third preset time; judging whether the event resource record numerical value between the second preset time and the third preset time is consistent with the event resource record numerical value between the second preset time and the third preset time; determining that the event resource record file is illegal when the event resource record value between the second preset time and the third preset time is judged to be inconsistent with the event resource record value between the second preset time and the third preset time; and determining that the event resource record file is legal when the event resource record value between the second preset time and the third preset time is judged to be consistent with the event resource record value between the second preset time and the third preset time.
Optionally, the storage medium is further arranged to store program code for recording the steps of: checking whether the event resource prerecorded numerical value in the preset time period before the third preset time is recorded or not at the first preset time; recording an event in a preset time period before a third preset time when an event resource recording file is legal, wherein the recording of the event resource in the preset time period before the third preset time comprises: performing event resource pre-recording between the second preset time and the third preset time when an event within a preset time period before the third preset time has been recorded.
Optionally, the storage medium is further arranged to store program code for recording the steps of: judging whether the event resource pre-recorded time field is a null value or not, and judging whether the event resource pre-recorded numerical field is nonzero or not; and when the event resource pre-recorded time field is judged to be the time between the second preset time and the third preset time, and the event resource pre-recorded numerical field is judged to be non-zero, the event in the preset time period before the third preset time is not recorded, wherein the event resource record file comprises the event resource pre-recorded time field and the event resource pre-recorded numerical field, the event resource pre-recorded time field is used for representing the information of the time corresponding to the event resource pre-recorded numerical value, and the event resource pre-recorded numerical field is used for representing the information of the event resource pre-recorded numerical value.
Optionally, the storage medium is further arranged to store program code for recording the steps of: assigning the single event resource record numerical value field as an event resource pre-record numerical value in a preset time period before a third preset time; accumulating the event resource pre-recorded numerical value in the preset time period before the third preset time to the event total resource record numerical value represented by the event total resource record numerical value field; and after the single event resource record numerical field is assigned to an event resource pre-record numerical value in a preset time period before the third preset time, assigning the event resource pre-record numerical field to zero, and assigning the event resource pre-record time field to a null value, wherein the event resource record file further comprises a single event resource record numerical field and an event total resource record numerical field, the single event resource record numerical field is used for representing information of the single event resource record numerical value, and the event total resource record field is used for representing information of the event total resource record numerical value.
Optionally, the storage medium is further arranged to store program code for recording the steps of: when the assignment of the event resource prerecorded numerical field is zero, assigning the event resource prerecorded numerical field as an event resource prerecorded numerical value between the second preset time and the third preset time; and when the event resource pre-recorded time field is assigned as a null value, assigning the event resource pre-recorded time field as a time between a second preset time and a third preset time.
Optionally, the storage medium is further arranged to store program code for recording the steps of: assigning the single event resource record numerical value field as an event resource pre-record numerical value between the second preset time and the third preset time; accumulating the event resource pre-record numerical value between the second preset time and the third preset time to the event total resource record numerical value represented by the event total resource record numerical value field; and after the single event resource record value field is assigned as the event resource record value between the second preset time and the third preset time, reassigning the event resource record value field to zero, and reassigning the event resource record time field to null.
Optionally, the storage medium is further arranged to store program code for recording the steps of: after the event resource record between the second preset time and the third preset time is executed when the event resource record file is legal, judging whether the event resource record time field is a null value again, and judging whether the event resource record numerical field is nonzero again; and determining that the event resource pre-recorded value between the second preset time and the third preset time is recorded when the event resource pre-recorded time field is judged to be null again and the event resource pre-recorded value field is judged to be zero again.
Optionally, the storage medium is further arranged to store program code for recording the steps of: and automatically recording an event between the second preset time and the third preset time when the system is in an idle state.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Example 4
The embodiment of the invention also provides a computer terminal, which can be any computer terminal device in a computer terminal group. Optionally, in this embodiment, the computer terminal may also be replaced with a terminal device such as a mobile terminal.
Optionally, in this embodiment, the computer terminal may be located in at least one network device of a plurality of network devices of a computer network.
Alternatively, fig. 15 is a block diagram of a computer terminal according to an embodiment of the present invention. As shown in fig. 15, the computer terminal a may include: one or more processors 151 (only one shown), a memory 153, and a transmission device 155.
The memory 153 may be used to store software programs and modules, such as program instructions/modules corresponding to the event recording method and apparatus in the embodiment of the present invention, and the processor 151 records various functional applications and data processing by running the software programs and modules stored in the memory 153, that is, implements the event recording method. The memory 153 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 153 may further include memory located remotely from the processor 151, which may be connected to the computer terminal a via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 155 is used for receiving or transmitting data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 155 includes a network adapter (NIC) that can be connected to a router via a network cable and other network devices so as to communicate with the internet or a local area network. In one example, the transmission device 155 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The memory 153 is used for storing preset action conditions, information of preset authorized users, and application programs.
Processor 151 may call the information and applications stored in memory 153 via a transmission device to record the following steps:
optionally, the processor 151 may further record a program code of the following steps:
the method comprises the steps of firstly, receiving an event resource recording file at a first preset time, wherein the event resource recording file is a file used for recording event resources between a second preset time and a third preset time, the event resources are used for recording events, the second preset time is a preset time before the first preset time, and the third preset time is a preset time before the second preset time.
And secondly, confirming the legality of the event resource record file.
And a third part, executing event resource pre-recording between second preset time and third preset time when the event resource recording file is legal, and obtaining an event resource pre-recording numerical value between the second preset time and the third preset time, wherein the event resource pre-recording numerical value between the second preset time and the third preset time is an event numerical value which is executed between the second preset time and the third preset time and is not recorded yet.
And fourthly, inquiring whether the event resource pre-recorded numerical value between the second preset time and the third preset time is recorded or not at the first inquiry time, wherein the first inquiry time is the preset time after the first preset time.
And fifthly, if the event resource prerecorded value between the second preset time and the third preset time is not recorded, recording the event between the second preset time and the third preset time. .
Optionally, the specific examples in this embodiment may refer to the examples described in embodiment 1 and embodiment 2, and this embodiment is not described herein again.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments may be stored in the above computer-readable storage medium when it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, the technical solution of the present invention may be substantially or partially implemented in the form of a software product stored in a storage medium, and the software product includes instructions for causing one or more computer devices (which may be personal computers, servers, or network devices) to record all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted or not recorded. 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, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or one 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 foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (14)

1. An event recording method, comprising:
receiving an event resource recording file at a first preset time, wherein the event resource recording file is a file for recording event resources between a second preset time and a third preset time, the event resources are used for recording events, the second preset time is a preset time before the first preset time, and the third preset time is a preset time before the second preset time;
confirming the legality of the event resource record file;
executing event resource pre-recording between the second preset time and the third preset time when the event resource recording file is legal to obtain an event resource pre-recorded numerical value between the second preset time and the third preset time, wherein the event resource pre-recording is a pre-recorded event resource when whether the event resource recording file is legal is confirmed, and the event resource pre-recorded numerical value between the second preset time and the third preset time is an event numerical value which is executed between the second preset time and the third preset time and is not recorded yet;
inquiring whether a pre-recorded numerical value of the event resource between the second preset time and the third preset time is recorded or not at a first inquiry time, wherein the first inquiry time is a preset time after the first preset time; and
and recording the event between the second preset time and the third preset time when the event resource pre-recorded numerical value between the second preset time and the third preset time is not recorded.
2. The method of claim 1, wherein validating the validity of the event resource record file comprises:
acquiring the total event resources recorded by the event resource recording file;
acquiring resource gain between the second preset time and the third preset time recorded by the event resource recording file;
performing calculation on the total event resources and the resource gain to obtain an event resource record numerical value between the second preset time and the third preset time;
judging whether the event resource record numerical value between the second preset time and the third preset time is consistent with the event resource record numerical value between the second preset time and the third preset time;
when the event resource record value between the second preset time and the third preset time is judged to be inconsistent with the event resource record value between the second preset time and the third preset time, determining that the event resource record file is illegal; and
and when the event resource record value between the second preset time and the third preset time is judged to be consistent with the event resource record value between the second preset time and the third preset time, determining that the event resource record file is legal.
3. The method of claim 1, wherein before performing event resource pre-recording between the second preset time and the third preset time when the event resource record file is legal, the method further comprises:
checking whether the event resource pre-recorded numerical value in a preset time period before the third preset time is recorded or not at the first preset time; and
recording the event in the preset time period before the third preset time when the event resource pre-recorded value in the preset time period before the third preset time is not recorded,
when the event resource record file is legal, recording event resource pre-records in a preset time period before the third preset time comprises: and executing event resource pre-recording between the second preset time and the third preset time when the event in the preset time period before the third preset time is recorded.
4. The method according to claim 3, wherein the event resource record file includes an event resource pre-record time field and an event resource pre-record value field, wherein the event resource pre-record time field is used for representing information of time corresponding to the event resource pre-record value, the event resource pre-record value field is used for representing information of the event resource pre-record value, and the checking whether the event resource pre-record value is recorded in a preset time period before the third preset time at the first preset time includes:
judging whether the event resource pre-recorded time field is a null value or not, and judging whether the event resource pre-recorded numerical field is nonzero or not; and
and when the event resource pre-recorded time field is judged to be a preset time period before the third preset time, judging that the event resource pre-recorded numerical field is non-zero, and not recording the event in the preset time period before the third preset time.
5. The method according to claim 4, wherein the event resource record file further includes a single event resource record value field and a total event resource record value field, wherein the single event resource record value field is used for representing information of a single event resource record value, the total event resource record field is used for representing information of a total event resource record value, a pre-recorded event value in a preset time period before the third preset time is not recorded, and recording an event in the preset time period before the third preset time includes:
assigning the single event resource record value field as an event resource pre-record value in a preset time period before the third preset time;
accumulating the event resource pre-recorded numerical value in the preset time period before the third preset time to the event total resource record numerical value represented by the event total resource record numerical value field; and
and after the single event resource record numerical value field is assigned as an event resource pre-record numerical value in a preset time period before the third preset time, assigning the event resource pre-record numerical value field as zero, and assigning the event resource pre-record time field as a null value.
6. The method of claim 5, wherein performing event resource pre-recording between the second preset time and the third preset time when the event resource record file is legal comprises:
when the event resource pre-recorded numerical value field is assigned to be zero, assigning the event resource pre-recorded numerical value field to be an event resource pre-recorded numerical value between the second preset time and the third preset time; and
and when the event resource pre-recorded time field is assigned as a null value, assigning the event resource pre-recorded time field as the time between the second preset time and the third preset time.
7. The method of claim 6, wherein the event resource pre-recorded value between the second pre-set time and the third pre-set time is not recorded, and recording the event between the second pre-set time and the third pre-set time comprises:
assigning the single event resource record value field as an event resource record value between the second preset time and the third preset time;
accumulating the event resource pre-record numerical value between the second preset time and the third preset time to the event total resource record numerical value represented by the event total resource record numerical value field; and
and after the single event resource record numerical value field is assigned as an event resource record numerical value between the second preset time and the third preset time, reassigning the event resource record numerical value field to zero, and reassigning the event resource record time field to null.
8. The method of claim 4, wherein querying at the first query time whether a pre-recorded value of the event resource between the second preset time and the third preset time has been recorded comprises:
after the event resource record between the second preset time and the third preset time is executed when the event resource record file is legal, judging whether the event resource record time field is a null value again, and judging whether the event resource record numerical field is nonzero again; and
and determining that the event resource pre-recorded time field is null value and the event resource pre-recorded value field is zero when the event resource pre-recorded time field is judged to be null value again, and determining that the event resource pre-recorded value between the second preset time and the third preset time is recorded.
9. The method of claim 1, wherein after performing event resource pre-recording between the second preset time and the third preset time when the event resource record file is legal, the method further comprises:
and when the system is in an idle state, automatically recording an event between the second preset time and the third preset time.
10. An event logging device, comprising:
the event resource recording system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving an event resource recording file at a first preset time, the event resource recording file is used for recording an event resource between a second preset time and a third preset time, the event resource is used for recording an event, the second preset time is a preset time before the first preset time, and the third preset time is a preset time before the second preset time;
the confirming unit is used for confirming the legality of the event resource record file;
an executing unit, configured to execute event resource pre-recording between the second preset time and the third preset time when the event resource recording file is legal, to obtain an event resource pre-recorded numerical value between the second preset time and the third preset time, where the event resource pre-recording is a pre-recorded event resource when it is determined whether the event resource recording file is legal, and the event resource pre-recorded numerical value between the second preset time and the third preset time is an event numerical value that has been executed but has not been recorded between the second preset time and the third preset time;
the query unit is used for querying whether a pre-recorded numerical value of the event resource between the second preset time and the third preset time is recorded at a first query time, wherein the first query time is a preset time after the first preset time; and
and the first recording unit is used for recording the event between the second preset time and the third preset time when the event resource pre-recorded numerical value between the second preset time and the third preset time is not recorded.
11. The apparatus of claim 10, wherein the confirmation unit comprises:
the first acquisition module is used for acquiring the total event resources recorded by the event resource recording file;
a second obtaining module, configured to obtain a resource gain between the second preset time and the third preset time recorded by the event resource record file;
the computing module is used for performing computation on the total event resources and the resource gain to obtain an event resource record numerical value between the second preset time and the third preset time;
the judging module is used for judging whether the event resource record numerical value between the second preset time and the third preset time is consistent with the event resource record numerical value between the second preset time and the third preset time;
the first determining module is used for determining that the event resource record file is illegal when the event resource record value between the second preset time and the third preset time is judged to be inconsistent with the event resource record value between the second preset time and the third preset time; and
and the second determining module is used for determining that the event resource record file is legal when the event resource record value between the second preset time and the third preset time is judged to be consistent with the event resource record value between the second preset time and the third preset time.
12. The apparatus of claim 10, further comprising:
the checking unit is used for checking whether the event resource pre-recorded numerical value in a preset time period before the third preset time is recorded or not at the first preset time before the event resource pre-recording between the second preset time and the third preset time is executed when the event resource recording file is legal; and
a second recording unit, configured to record an event in a preset time period before the third preset time when the event resource pre-recorded value in the preset time period before the third preset time is not recorded,
the first recording unit is configured to perform event resource pre-recording between the second preset time and the third preset time when an event within a preset time period before the third preset time has been recorded.
13. A storage medium, characterized in that the storage medium has stored therein a program code executed by a processor to implement the event recording method of any one of claims 1 to 9.
14. A computer terminal, characterized in that the computer terminal comprises a processor and a memory for storing a software program of application software, the processor implementing the event recording method of any one of claims 1-9 by running the software program stored in the memory.
CN201511026023.0A 2015-12-30 2015-12-30 Event recording method and device Active CN106934708B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511026023.0A CN106934708B (en) 2015-12-30 2015-12-30 Event recording method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511026023.0A CN106934708B (en) 2015-12-30 2015-12-30 Event recording method and device

Publications (2)

Publication Number Publication Date
CN106934708A CN106934708A (en) 2017-07-07
CN106934708B true CN106934708B (en) 2020-08-18

Family

ID=59441787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511026023.0A Active CN106934708B (en) 2015-12-30 2015-12-30 Event recording method and device

Country Status (1)

Country Link
CN (1) CN106934708B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108090839B (en) * 2018-01-17 2021-06-08 中国平安人寿保险股份有限公司 Income settlement method, server and storage medium
CN108230165A (en) * 2018-01-18 2018-06-29 中国平安人寿保险股份有限公司 A kind of computational methods of account value, storage medium and terminal device
CN111061567B (en) * 2019-12-17 2023-05-30 腾讯科技(深圳)有限公司 Resource data processing method, device, computer readable storage medium and computer equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040039691A1 (en) * 2002-08-15 2004-02-26 Barratt Robert E. Electronic funds transaction system
CN102156933A (en) * 2010-02-11 2011-08-17 阿里巴巴集团控股有限公司 Method and counting system for counting electronic commerce transaction data
CN103606045B (en) * 2013-11-20 2017-02-08 国家电网公司 Report form generation method and report form system
CN104317805A (en) * 2014-09-23 2015-01-28 广州金山网络科技有限公司 Popup picture library updating method, popup picture library updating device and popup picture library updating system

Also Published As

Publication number Publication date
CN106934708A (en) 2017-07-07

Similar Documents

Publication Publication Date Title
US20180039770A1 (en) Multi-Factor Profile and Security Fingerprint Analysis
US20180357683A1 (en) Rating data management
WO2016184298A1 (en) Application promotion method, server, terminal and storage medium
CN108134944B (en) Identification method and device for anchor user with abnormal income and electronic equipment
CN105516133A (en) User identity verification method, server and client
CN108768672B (en) Data processing method, device and storage medium
CN110544134A (en) resource processing method and device and computer storage medium
CN106934708B (en) Event recording method and device
CN104601624A (en) Data interaction method and device
CN110660466A (en) Personal health data chaining method and system of Internet of things by combining block chains
CN111476640A (en) Authentication method, system, storage medium and big data authentication platform
EP2645277A1 (en) Cloud information trading system and cloud information trading method using the same
CN111179023B (en) Order identification method and device
WO2014043360A1 (en) Multi-factor profile and security fingerprint analysis
CN110348983B (en) Transaction information management method and device, electronic equipment and non-transitory storage medium
CN111383029A (en) Electronic ticket management method and device
CN109618307A (en) Display method of weather information, device, system, terminal and readable storage medium storing program for executing
CN114663089A (en) Data processing method and device, electronic equipment and storage medium
CN115375276A (en) APS implementation method and system based on big data
CN109685561B (en) Electronic certificate pushing method and device based on user behavior and electronic equipment
CN109815393B (en) Information processing method and device, computer equipment and readable storage medium
CN104378402A (en) Method and device for updating user contact information
CN112804552A (en) Plug-in configuration method and device and electronic equipment
CN108629610B (en) Method and device for determining popularization information exposure
CN110544104A (en) Account determining method and device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant