CN114694272A - Activity batch sign-in method and device, computer equipment and storage medium - Google Patents

Activity batch sign-in method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114694272A
CN114694272A CN202210301699.XA CN202210301699A CN114694272A CN 114694272 A CN114694272 A CN 114694272A CN 202210301699 A CN202210301699 A CN 202210301699A CN 114694272 A CN114694272 A CN 114694272A
Authority
CN
China
Prior art keywords
activity
check
group
configuration data
identifier
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.)
Pending
Application number
CN202210301699.XA
Other languages
Chinese (zh)
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.)
Guangzhou Cubesili Information Technology Co Ltd
Original Assignee
Guangzhou Cubesili Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Cubesili Information Technology Co Ltd filed Critical Guangzhou Cubesili Information Technology Co Ltd
Priority to CN202210301699.XA priority Critical patent/CN114694272A/en
Publication of CN114694272A publication Critical patent/CN114694272A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C1/00Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
    • G07C1/10Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people together with the recording, indicating or registering of other data, e.g. of signs of identity
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to the technical field of Internet, and provides an activity batch sign-in method, an activity batch sign-in device, computer equipment and a storage medium, wherein the method comprises the following steps: receiving a check-in request triggered on a first activity check-in page; the check-in request comprises a first activity identifier corresponding to the first activity check-in page and check-in data of the first activity; obtaining an activity group where the first activity identifier is located and activity configuration data of the activity group according to the first activity identifier; the set of activities includes the first activity and at least one second activity; the activity configuration data comprises check-in configuration data of each activity in the activity group; and generating a check-in result of each activity in the activity group according to the check-in data of the first activity and the check-in configuration data of each activity in the activity group. According to the method and the device, the check-in data of the first activity are shared to one or more second activities of the activity group, so that the check-in efficiency of the user activity is improved.

Description

Activity batch sign-in method and device, computer equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of internet, in particular to an activity batch sign-in method, an activity batch sign-in device, computer equipment and a storage medium.
Background
In the mobile internet era, in order to enhance the user stickiness and improve the user activity, all APPs develop the function of checking in and checking out the card. The check-in refers to an operation that a user opens an application or an activity page and obtains feedback of an application system by completing certain instructions. A resource allocation mechanism is embedded in the sign-in process, so that the user can be attracted to further service operation, and the flow of service products, the activity of the user and the product viscosity are improved.
Currently, a user check-in scene is divided into two types, one type is long-term check-in, such as login check-in, the user checks in once a day, and a check-in record of the user is displayed in a calendar form. And the other method is that the user signs in for a short time after the activity is started, the sign-in function is accessed after each activity is started, the user signs in the period of the activity starting, and the activity reward is obtained when the activity sign-in condition is met. However, as the number of activities increases, the user needs to manually check in each activity, which results in a cumbersome check-in process, low check-in efficiency, long time consumption, and influence on user experience.
Disclosure of Invention
The embodiment of the application provides a method, a device, computer equipment and a storage medium for activity batch check-in, which can improve activity check-in efficiency, and the technical scheme is as follows:
in a first aspect, an embodiment of the present application provides an active batch check-in method, including the steps of:
receiving a check-in request triggered on a first activity check-in page; the check-in request comprises a first activity identifier corresponding to the first activity check-in page and check-in data of the first activity;
obtaining an activity group where the first activity identifier is located and activity configuration data of the activity group according to the first activity identifier; the set of activities includes the first activity and at least one second activity; the activity configuration data comprises check-in configuration data of each activity in the activity group;
and generating a check-in result of each activity in the activity group according to the check-in data of the first activity and the check-in configuration data of each activity in the activity group.
In a second aspect, an embodiment of the present application provides an active batch check-in apparatus, including:
the check-in request receiving module is used for receiving a check-in request triggered on the first activity check-in page; the check-in request comprises a first activity identifier corresponding to the first activity check-in page and check-in data of the first activity;
a configuration data obtaining module, configured to obtain, according to the first activity identifier, an activity group where the first activity identifier is located and activity configuration data of the activity group; the set of activities includes the first activity and at least one second activity; the activity configuration data comprises check-in configuration data of each activity in the activity group;
and the check-in result generation module is used for generating the check-in result of each activity in the activity group according to the check-in data of the first activity and the check-in configuration data of each activity in the activity group.
In a third aspect, embodiments of the present application provide a computer device, a processor, a memory, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method according to the first aspect when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium storing a computer program, which when executed by a processor implements the steps of the method according to the first aspect.
The method comprises the steps that a check-in request triggered on a first activity check-in page is received; the check-in request comprises a first activity identifier corresponding to the first activity check-in page and check-in data of the first activity; obtaining an activity group where the first activity identifier is located and activity configuration data of the activity group according to the first activity identifier; the set of activities includes the first activity and at least one second activity; the activity configuration data comprises check-in configuration data of each activity in the activity group; and generating a check-in result of each activity in the activity group according to the check-in data of the first activity and the check-in configuration data of each activity in the activity group. According to the method and the device, the sign-in data of the first activity is shared by one or more second activities of the activity group, so that when the user signs in the first activity, the second activity can also complete the sign-in, the efficiency of the sign-in of the user activity is improved, and the batch sign-in of multiple activities is realized. Meanwhile, the data of the check-in of each activity which is not in the same activity group is distinguished, and the data of the check-in of each activity in the same activity group is shared.
For a better understanding and implementation, the technical solutions of the present application are described in detail below with reference to the accompanying drawings.
Drawings
FIG. 1 is a schematic diagram of an application scenario of an active batch check-in method according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating an active batch check-in method according to an embodiment of the present disclosure;
FIG. 3 is a schematic flowchart of S31-S33 in the active batch check-in method according to the embodiment of the present application;
FIG. 4 is a schematic flowchart of S34-S36 in the active batch check-in method according to the embodiment of the present application;
FIG. 5 is a flowchart illustrating steps S411 to S413 of the batch check-in method according to an embodiment of the present disclosure;
FIG. 6 is a block diagram of an active batch check-in apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if/if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Referring to fig. 1, fig. 1 is a schematic view of an application scenario of a method for playing a small video in a live broadcast room according to an embodiment of the present application, where the application scenario includes an anchor client 101, a server 102, and a viewer client 103, and the anchor client 101 and the viewer client 103 interact with each other through the server 102.
The proposed clients of the embodiment of the present application include the anchor client 101 and the viewer client 103.
It is noted that there are many understandings of the concept of "client" in the prior art, such as: it may be understood as an application program installed in a computer device, or may be understood as a hardware device corresponding to a server.
In the embodiments of the present application, the term "client" refers to a hardware device corresponding to a server, and more specifically, refers to a computer device, such as: smart phones, smart interactive tablets, personal computers, and the like.
When the client is a mobile device such as a smart phone and an intelligent interactive tablet, a user can install a matched mobile application program on the client and can also access a Web application program on the client.
When the client is a non-mobile device such as a Personal Computer (PC), the user can install a matching PC application on the client, and similarly can access a Web application on the client.
The mobile application refers to an application program that can be installed in the mobile device, the PC application refers to an application program that can be installed in the non-mobile device, and the Web application refers to an application program that needs to be accessed through a browser.
Specifically, the Web application program may be divided into a mobile version and a PC version according to the difference of the client types, and the page layout modes and the available server support of the two versions may be different.
In the embodiment of the application, the types of live application programs provided to the user are divided into a mobile end live application program, a PC end live application program and a Web end live application program. The user can autonomously select the mode of participating in the live webcast according to different types of the client adopted by the user.
The present application can divide the clients into a main broadcasting client 101 and a spectator client 103, depending on the identity of the user using the clients. It should be noted that the viewer client 103 and the anchor client 101 are only divided according to the user identity, and in practical applications, the functions of the viewer client 103 and the anchor client 101 may be executed by the same client at different times. Therefore, the same client can be used as the viewer client 103 when watching the network live broadcast, and can be used as the anchor client 101 when publishing the live video.
The anchor client 101 is a client that transmits a live video, and is generally a client used by an anchor (i.e., a live anchor user) in live streaming.
The viewer client 103 refers to an end that receives and views a live video, and is typically a client employed by a viewer viewing a video in a live network (i.e., a live viewer user).
The hardware at which the anchor client 101 and viewer client 103 are directed is essentially a computer device, and in particular, as shown in fig. 1, it may be a type of computer device such as a smart phone, smart interactive tablet, and personal computer. Both the anchor client 101 and the viewer client 103 may access the internet via known network access means to establish a data communication link with the server 102.
Server 102, acting as a business server, may be responsible for further connecting with related live streaming servers, small video servers, and other servers providing related support, etc., to form a logically associated server cluster for serving related terminal devices, such as anchor client 101 and viewer client 103 shown in fig. 1.
In the embodiment of the present application, the anchor client 101 and the audience client 103 may join in the same live broadcast room (i.e., a live broadcast channel), where the live broadcast room is a chat room implemented by means of an internet technology, and generally has an audio/video broadcast control function. The anchor user is live in the live room through the anchor client 101, and the audience of the audience client 103 can log in the server 102 to enter the live room to watch the live.
In the live broadcast room, interaction between the anchor and the audience can be realized through known online interaction modes such as voice, video, characters and the like, generally, the anchor user performs programs for the audience in the form of audio and video streams, and economic transaction behaviors can also be generated in the interaction process. Of course, the application form of the live broadcast room is not limited to online entertainment, and can also be popularized to other relevant scenes, such as: user pairing interaction scenarios, video conference scenarios, product recommendation sale scenarios, and any other scenario requiring similar interaction.
Specifically, the viewer watches live broadcast as follows: the viewer can click to access a live application (e.g., YY) installed on the viewer client 103 and choose to enter any one of the live rooms, and the viewer client 103 is triggered to load a live room interface for the viewer, wherein the live room interface includes a plurality of interactive components, and the viewer can watch live in the live room by loading the interactive components and perform various online interactions.
Currently, a live broadcast client is generally provided with a plurality of check-in activities, the user stickiness is improved by utilizing the check-in activities, for example, attractive rewards including gift sending gifts, virtual coins or virtual props are set, and a user is guided to log in the live broadcast client every day to check in, so that the number of active users on a live broadcast platform is increased.
However, as the number of check-in activities in the live client increases, the user needs to manually check-in each check-in activity, which results in a cumbersome check-in process, low check-in efficiency, long time consumption, and influence on user experience.
Therefore, the embodiment of the application provides an active batch sign-in method, and a server is used as an execution subject.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a batch active check-in method according to a first embodiment of the present application, including the following steps:
s10: receiving a check-in request triggered on a first activity check-in page; the check-in request comprises a first activity identification corresponding to the first activity check-in page and check-in data of the first activity.
In the embodiment of the application, a check-in user logs in a check-in client, a first activity check-in page is displayed on an application interface of the check-in client, and a check-in control is arranged on the check-in page. The check-in client side responds to a check-in operation of the check-in user on the first activity check-in page, and sends a check-in request of the first activity to a server, wherein the check-in operation can be that the check-in user clicks or touches the check-in control.
The event identifier is a character string for uniquely identifying the identity of an event, and the event can be a year celebration event, a spring festival mania event and the like, but is not limited thereto. The check-in request comprises a first activity identification and check-in data of the first activity, the first activity identification is a character string used for uniquely identifying the first activity identity, the check-in data of the first activity can comprise check-in time of a check-in user when the check-in user signs in a first activity page, a check-in user identification and the like, and the check-in user identification is used for uniquely identifying the character string of the check-in user identity, and can be an account number, a name, a nickname and the like of the check-in user.
S20: obtaining an activity group where the first activity identifier is located and activity configuration data of the activity group according to the first activity identifier; the set of activities includes the first activity and at least one second activity; the activity configuration data includes check-in configuration data for each activity in the activity group.
In this embodiment, the check-in configuration data of each activity may include a valid check-in time period, a check-in record saving time, and the like of each activity. The valid check-in period represents a period of time in which a check-in user should check-in, and the check-in record retention time represents a time at which a check-in record is cleared from a check-in record generation.
S30: and generating a check-in result of each activity in the activity group according to the check-in data of the first activity and the check-in configuration data of each activity in the activity group.
In the embodiment of the application, according to the check-in time of the first activity, the check-in user identifier and the effective time period of each activity in the activity group, a check-in result that each activity in the activity group is successful in check-in or failed in check-in can be generated.
According to the method and the device for checking in the mobile terminal, a check-in request triggered on a first activity check-in page is received, and the check-in request comprises a first activity identification corresponding to the first activity check-in page and check-in data of the first activity. And obtaining an activity group where the first activity identifier is located and activity configuration data of the activity group according to the first activity identifier, wherein the activity group comprises the first activity and at least one second activity, and the activity configuration data comprises check-in configuration data of each activity in the activity group. And generating a check-in result of each activity in the activity group according to the check-in data of the first activity and the check-in configuration data of each activity in the activity group. According to the method and the device, the sign-in data of the first activity is shared by one or more second activities of the activity group, so that when the user signs in the first activity, the second activity can also complete the sign-in, the efficiency of the sign-in of the user activity is improved, and the batch sign-in of multiple activities is realized. Meanwhile, the data of the check-in of each activity which is not in the same activity group is distinguished, and the data of the check-in of each activity in the same activity group is shared.
In an alternative embodiment, the check-in data for the first activity includes a check-in time for the first activity; the check-in configuration data for each activity in the activity set includes a valid check-in time period for each activity in the activity set. Referring to fig. 3, the step S30 includes steps S31 to S33, which are as follows:
s31: comparing the check-in time of the first activity with the valid check-in time periods of the activities in the activity group, respectively;
s32: if the check-in time of the first activity is within the effective check-in time period of the corresponding activity, updating the check-in result of the corresponding activity to be successful;
s33: and if the check-in time of the first activity is not in the effective check-in time period of the corresponding activity, updating the check-in result of the corresponding activity to be check-in failure.
In the embodiment of the application, the check-in time of the first activity is compared with the effective check-in time periods of the activities in the activity group to determine check-in results of other activities in the activity group when the check-in user checks in the first activity. Specifically, the activity group comprises a first activity and a second activity, the effective check-in time period of the first activity is 03.01-03.07, and the effective check-in time period of the second activity is 03.03-03.09. If the check-in time of the check-in user in the first activity is 03.02, the check-in result of the second activity is check-in failure; if the check-in time of the check-in user in the first activity is 03.05, the check-in result of the second activity is a successful check-in. By judging whether the check-in time is within the effective check-in time period of the activity, the check-in results of the check-in user in different activities can be automatically and quickly generated.
In an alternative embodiment, the check-in data for the first activity includes a check-in user identification for the first activity; the check-in configuration data of each activity in the activity group comprises check-in user information of each activity in the activity group. Referring to fig. 4, the step S30 includes steps S34 to S36, which are as follows:
s34: comparing the sign-in user identifier of the first activity with the sign-in user information of each activity in the activity group respectively;
s35: if the sign-in user identifier of the first activity is in the sign-in user information of the corresponding activity, determining that the sign-in result of the corresponding activity is successful;
s36: and if the sign-in user identifier of the first activity is not in the sign-in user information, determining that the sign-in result of the corresponding activity is sign-in failure.
In the embodiment of the application, the server stores check-in user information of each activity in advance, wherein the check-in user information comprises a check-in user identifier. When the check-in user signs in the first activity page, after the server receives the check-in request of the first activity, whether the check-in user identification in the check-in data of the first activity exists in the check-in user information of each activity is checked, so that the check-in results of other activities when the check-in user signs in the first activity are determined. Specifically, the activity group includes a first activity and a second activity, the check-in user information of the second activity includes a check-in user identifier a, a check-in user identifier B and a check-in user identifier C, and if the check-in user identifier of the first activity is the check-in user identifier a, the check-in result of the second activity is a successful check-in; and if the check-in user identifier of the first activity is a check-in user identifier D, the check-in result of the second activity is check-in failure. By judging whether the sign-in user exists in the sign-in user information of the activity, the sign-in results of the sign-in user in different activities can be automatically and quickly generated.
In an optional embodiment, before the step of determining the activity group where the first activity identifier is located and the activity configuration data of the activity group according to the first activity identifier, the method includes steps S101 to S103, which are specifically as follows:
s101: receiving an activity group configured at a check-in client and activity identification of each activity in the activity group;
s102: acquiring sign-in configuration data of each activity according to the activity identifier of each activity in the activity group;
s103: obtaining activity configuration data of the activity group according to the check-in configuration data of each activity;
s104: establishing a mapping relation between the activity identification of each activity in the activity group and the activity configuration data of the activity group;
the step of obtaining the activity group where the first activity identifier is located and the activity configuration data of the activity group according to the first activity identifier includes step S21, which is specifically as follows;
s21: and obtaining an activity group where the first activity identifier is located and activity configuration data of the activity group according to the mapping relation and the first activity identifier.
In the embodiment of the application, when the check-in user checks in a plurality of activities at the check-in client, the plurality of activities may be associated to the same activity group, for example, activity a, activity b and activity c are associated to the same activity group X. Specifically, the check-in client is provided with an activity list, the check-in user can check activities a, b and c in the activity list, and the checked activities a, b and c are added into an activity group X.
And the sign-in client sends the associated activity group and the activity identification of each activity in the activity group to a server, the server presets corresponding sign-in configuration data for each activity, and the sign-in configuration data of each activity forms the activity configuration data of the activity group. The server establishes a mapping relationship between the activity identifier of each activity in the activity group and the activity configuration data of the activity group, that is, the corresponding activity group and the activity configuration data of the activity group can be queried according to the activity identifier, for example, the server can query the activity group X where the activity a is located according to the activity identifier "a" of the activity a, and the activity configuration data of the activity group X, including the effective check-in time period of the activity a, the effective check-in time period of the activity b, the effective check-in time period of the activity c, the check-in user information of the activity a, the check-in user information of the activity b, the check-in user information of the activity c, and the like. By establishing the mapping relation between the activity identification of each activity in the activity group and the activity configuration data of the activity group, the activity group where the first activity is located and the activity configuration data of the activity group when the check-in user checks in the first activity can be automatically and quickly determined.
In an optional embodiment, before the step of determining, according to the first activity identifier, an activity group where the first activity identifier is located and the activity configuration data of the activity group, the method includes steps S105 to S108, which are specifically as follows:
s105: pre-configuring a plurality of activity groups and activity identifications of each activity in each activity group;
s106: acquiring sign-in configuration data of each activity according to the activity identifier of each activity in each activity group;
s107: obtaining activity configuration data of each activity group according to the check-in configuration data of each activity;
s108: establishing mapping relations among activity identifications of each activity in each activity group, each activity group and activity configuration data of each activity group;
the step of obtaining the activity group where the first activity identifier is located and the activity configuration data of the activity group according to the first activity identifier includes step S22, which is as follows:
s22: and obtaining an activity group where the first activity identifier is located and activity configuration data of the activity group according to the mapping relation and the first activity identifier.
In this embodiment, the server may associate multiple activities with the same activity group, preset corresponding check-in configuration data for each activity, and form the activity configuration data of the activity group using the check-in configuration data of each activity, thereby enabling a platform operator to check in the same activity group for the associated activities. For example, activity a, activity b, and activity c are associated with the same activity group X, and a valid check-in period of activity a, a valid check-in period of activity b, a valid check-in period of activity c, check-in user information of activity a, check-in user information of activity b, check-in user information of activity c, and the like are preset for activity a, activity b, and activity c. The server establishes the mapping relation between the activity identification of each activity in the activity group and the activity configuration data of the activity group, namely the corresponding activity group and the activity configuration data of the activity group can be inquired according to the activity identification. For example, the server may query, according to the activity identifier "a" of the activity a, an activity group X in which the activity a is located, and activity configuration data of the activity group X, including a valid check-in time period of the activity a, a valid check-in time period of the activity b, a valid check-in time period of the activity c, check-in user information of the activity a, check-in user information of the activity b, check-in user information of the activity c, and the like. When the check-in user signs in the first activity, the server can automatically and quickly inquire an activity group where the first activity is located and activity configuration data of the activity group according to the activity identification of the first activity.
In an optional embodiment, the active batch check-in method further includes steps S40 to S41, which are as follows:
s40: sending the check-in result of each activity in the activity group to a check-in client so as to display the check-in result of each activity on the check-in client;
s41: and updating the check-in data of each activity in the activity group.
In the embodiment of the application, each activity check-in page of the check-in client displays a check-in result corresponding to each check-in time in an effective check-in time period. The valid check-in time period may be a week or a month, or may be a custom time period, for example, 5 days, 10 days, and the like, which is not limited herein. The check-in data of each activity in the activity group may include check-in status, accumulated check-in times, continuous check-in times, and the like of each activity in the activity group at each check-in time within a valid check-in time period. For example, the effective check-in time period of the activity A in the activity group is 03.01-03.07, the check-in results of the check-in time of 03.01-03.03 are respectively check-in success, check-in failure and check-in success, the check-in user checks in the activity A check-in page, the check-in time is 03.04, the check-in state of the activity A at the check-in time 03.04 is updated to be check-in success, the accumulated check-in times of the activity A is updated to be 3 times, and the continuous check-in times of the activity A is updated to be 2 times.
In an alternative embodiment, the check-in data of the first activity includes a check-in user identifier of the first activity, referring to fig. 5, the step S41 includes steps S411 to S413, which are as follows:
s411: acquiring a check-in bitmap corresponding to the check-in user identifier of the first activity; the check-in bitmap is used for indicating bit values of check-in states corresponding to check-in times in valid check-in time periods of the activities in the activity group; wherein, the bit value of the sign-in state is a sign-in state bit value or a sign-out state bit value;
s412: for the activity with the successful check-in result in the activity group, updating the bit value of the activity corresponding to the check-in time of the first activity in the check-in bitmap into the bit value of the checked-in state;
s413: and for the activity of which the check-in result is check-in failure in the activity group, not updating the bit value of the activity corresponding to the check-in time of the first activity in the check-in bitmap.
In an embodiment of the present application, an N-bit length check-in bitmap is used to store a check-in status for a valid check-in period that includes N check-in times. Each check-in time in the effective check-in time period sequentially corresponds to one bit value in the check-in bitmap according to the time sequence. The bit value is 1, which indicates the checked-in state; the bit value is 0, indicating a not checked-in state. Specifically, the effective check-in time period of the first activity is 03.01-03.07, the effective check-in time period of the second activity is 03.03-03.09, if the check-in bitmap is '10100110111001', the check-in state can be represented by the first day, the third day, the sixth day and the seventh day of the first activity, and the non-check-in state can be represented by the rest days; the second, third, fourth and seventh days of the second activity are checked-in states, and the remaining days are not checked-in states. If the check-in time of the first activity is 03.06, the check-in bitmap is updated from "10100000110000" to "10100100111000"; if the check-in time of the first activity is 03.01, the check-in bitmap is updated from "00000000000000" to "10000000000000". The check-in state is stored through the check-in bitmap, so that the storage space of the recorded data is greatly reduced, and the pressure of the database is effectively reduced.
In an optional embodiment, the check-in data of the first activity includes a check-in user identifier, and after the step S41, the method includes steps S42 to S45, which are specifically as follows:
s42: receiving a query request; the query request comprises a check-in user identifier of the first activity and current query time;
s43: acquiring a check-in bitmap corresponding to the check-in user identifier of the first activity;
s44: in a check-in bitmap corresponding to the check-in user identifier of the first activity, acquiring bit values corresponding to check-in times in effective check-in time periods of the activities in the activity group before the current query time, and acquiring corresponding check-in states;
s45: and sending the check-in state to a check-in page of each activity in the activity group for display.
In the embodiment of the application, when the check-in client is opened by the check-in user, the check-in client needs to judge the check-in state of the current check-in user so as to judge whether the check-in is required to be prompted to the user or whether the user wants to check the historical check-in state of the user. In order to obtain the check-in state of the user and display a check-in page according to the check-in state, the client needs to send a query request to the server to obtain the check-in state.
Specifically, the effective check-in time period of the first activity is 03.01-03.07, the effective check-in time period of the second activity is 03.03-03.09, if bit values corresponding to check-in times in the effective check-in time period of the first activity in a check-in bitmap corresponding to the check-in user identifier are 1010011 respectively, bit values corresponding to check-in times in the effective check-in time period of the second activity are 0110111 respectively, and the current query time is 03.06, the check-in states corresponding to the check-in times 03.01-03.05 in the effective check-in time period of the first activity are sent to the check-in page of the first activity to be displayed, that is, the check-in page display check-in times 03.01 and 03.03 of the first activity are checked-in, and the check-in times 03.02, 03.03 and 03.04 are not checked-in; and sending the check-in state corresponding to check-in time 03.03-03.05 in the effective check-in time period of the second activity to a check-in page of the second activity for display, namely, the check-in time 03.04 and 03.05 of the second activity are displayed as checked-in time, and the check-in time 03.03 is not checked-in time.
In an alternative embodiment, after the step S44, the method includes steps S441 to S442, which are as follows:
s441: acquiring the accumulated check-in times and continuous check-in times of each activity in the activity group according to the check-in state;
s442: and sending the accumulated check-in times and the continuous check-in times to a check-in page of each activity in the activity group for display.
In the embodiment of the application, the effective sign-in time period of the first activity is 03.01-03.07, the effective sign-in time period of the second activity is 03.03-03.09, if the bit value corresponding to each sign-in time in the effective sign-in time period of the first activity in the sign-in bitmap corresponding to the sign-in user identifier is 1010011, the bit value corresponding to each sign-in time in the effective sign-in time period of the second activity is 0110111, and the current query time is 03.06, the accumulated sign-in times and the continuous sign-in times in the effective sign-in time period of the first activity before the current query time are sent to the sign-in page of the first activity for display, that is, the accumulated sign-in times is 2 times, and the continuous sign-in times is 0 times; and sending the accumulated check-in times and the continuous check-in times of the second activity in the effective check-in time period before the current query time to a check-in page of the second activity for display, wherein the accumulated check-in times is 2 times, and the continuous check-in times is 2 times. By displaying the accumulated check-in times and the continuous check-in times, the check-in condition of the check-in user can be prompted, and the check-in user is encouraged to check in actively.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an active batch check-in apparatus according to the present application. The device 5 is signed in batches in activity that this application embodiment provided includes:
a check-in request receiving module 51, configured to receive a check-in request triggered on the first activity check-in page; the check-in request comprises a first activity identifier corresponding to the first activity check-in page and check-in data of the first activity;
a configuration data obtaining module 52, configured to obtain, according to the first activity identifier, an activity group where the first activity identifier is located and activity configuration data of the activity group; the set of activities includes the first activity and at least one second activity; the activity configuration data comprises check-in configuration data of each activity in the activity group;
and the check-in result generating module 53 is configured to generate a check-in result of each activity in the activity group according to the check-in data of the first activity and the check-in configuration data of each activity in the activity group.
It should be noted that, when the active batch check-in apparatus provided in the foregoing embodiment executes the active batch check-in method, only the division of the functional modules is used for illustration, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the active batch check-in device and the active batch check-in method provided by the above embodiments belong to the same concept, and the detailed implementation process thereof is referred to in the method embodiments, and is not described herein again.
Please refer to fig. 7, which is a schematic structural diagram of a computer device according to the present application. As shown in fig. 7, the computer device 21 may include: a processor 210, a memory 211, and a computer program 212 stored in the memory 211 and operable on the processor 210, such as: an active batch check-in program; the steps in the above embodiments are implemented when the processor 210 executes the computer program 212.
The processor 210 may include one or more processing cores, among other things. The processor 210 is connected to various parts in the computer device 21 by various interfaces and lines, executes various functions of the computer device 21 and processes data by executing or executing instructions, programs, code sets or instruction sets stored in the memory 211 and calling data in the memory 211, and optionally, the processor 210 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), Programmable Logic Array (PLA). The processor 210 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing contents required to be displayed by the touch display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 210, and may be implemented by a single chip.
The Memory 211 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 211 includes a non-transitory computer-readable medium. The memory 211 may be used to store instructions, programs, code sets, or instruction sets. The memory 211 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch instructions, etc.), instructions for implementing the above-mentioned method embodiments, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 211 may optionally be at least one memory device located remotely from the processor 210.
The embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are suitable for being loaded by a processor and executing the method steps of the foregoing embodiment, and a specific execution process may refer to specific descriptions of the foregoing embodiment, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules, so as to perform all or part of the functions described above. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described apparatus/terminal device embodiments are merely illustrative, and for example, a module or a unit may be divided into only one type of logic function, and another division manner may be provided in actual implementation, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, 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 two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium and used by a processor to implement the steps of the above-described embodiments of the method. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc.
The present invention is not limited to the above-described embodiments, and various modifications and variations of the present invention are intended to be included within the scope of the claims and the equivalent technology of the present invention if they do not depart from the spirit and scope of the present invention.

Claims (12)

1. An active batch check-in method, comprising the steps of:
receiving a check-in request triggered on a first activity check-in page; the check-in request comprises a first activity identifier corresponding to the first activity check-in page and check-in data of the first activity;
obtaining an activity group where the first activity identifier is located and activity configuration data of the activity group according to the first activity identifier; the set of activities includes the first activity and at least one second activity; the activity configuration data comprises check-in configuration data of each activity in the activity group;
and generating a check-in result of each activity in the activity group according to the check-in data of the first activity and the check-in configuration data of each activity in the activity group.
2. The active batch check-in method of claim 1, wherein:
the check-in data for the first activity comprises a check-in time for the first activity; the check-in configuration data of each activity in the activity group comprises a valid check-in time period of each activity in the activity group;
the step of generating a check-in result of each activity in the activity group according to the check-in data of the first activity and the check-in configuration data of each activity in the activity group includes:
comparing the check-in time of the first activity with the valid check-in time periods of the activities in the activity group, respectively;
if the check-in time of the first activity is within the effective check-in time period of the corresponding activity, updating the check-in result of the corresponding activity to be successful;
and if the check-in time of the first activity is not in the effective check-in time period of the corresponding activity, updating the check-in result of the corresponding activity to be check-in failure.
3. The active batch check-in method of claim 1, wherein:
the check-in data of the first activity comprises a check-in user identification of the first activity; the check-in configuration data of each activity in the activity group comprises check-in user information of each activity in the activity group;
the step of generating a check-in result of each activity in the activity group according to the check-in data of the first activity and the check-in configuration data of each activity in the activity group includes:
comparing the sign-in user identifier of the first activity with the sign-in user information of each activity in the activity group respectively;
if the sign-in user identifier of the first activity is in the sign-in user information of the corresponding activity, determining that the sign-in result of the corresponding activity is successful;
and if the sign-in user identifier of the first activity is not in the sign-in user information, determining that the sign-in result of the corresponding activity is sign-in failure.
4. The active batch check-in method of any one of claims 1 to 3, wherein:
the step of obtaining the activity group where the first activity identifier is located and the activity configuration data of the activity group according to the first activity identifier comprises the following steps;
receiving an activity group configured at a check-in client and activity identification of each activity in the activity group;
acquiring sign-in configuration data of each activity according to the activity identifier of each activity in the activity group;
obtaining activity configuration data of the activity group according to the check-in configuration data of each activity;
establishing mapping relations among activity identifications of all activities in the activity group, the activity group and activity configuration data of the activity group;
the step of obtaining the activity group where the first activity identifier is located and the activity configuration data of the activity group according to the first activity identifier includes;
and obtaining an activity group where the first activity identifier is located and activity configuration data of the activity group according to the mapping relation and the first activity identifier.
5. The active batch check-in method of any one of claims 1 to 3, wherein:
the step of obtaining the activity group where the first activity identifier is located and the activity configuration data of the activity group according to the first activity identifier comprises the following steps;
pre-configuring a plurality of activity groups and activity identifications of each activity in each activity group;
obtaining sign-in configuration data of each activity according to the activity identification of each activity in each activity group;
obtaining activity configuration data of each activity group according to the check-in configuration data of each activity;
establishing mapping relations among activity identifications of each activity in each activity group, each activity group and activity configuration data of each activity group;
the step of obtaining the activity group where the first activity identifier is located and the activity configuration data of the activity group according to the first activity identifier includes;
and obtaining an activity group where the first activity identifier is located and activity configuration data of the activity group according to the mapping relation and the first activity identifier.
6. The active batch check-in method of claim 2, further comprising the steps of:
sending the check-in result of each activity in the activity group to a check-in client so as to display the check-in result of each activity on the check-in client;
and updating the check-in data of each activity in the activity group.
7. The active batch check-in method of claim 6, wherein:
the check-in data of the first activity comprises a check-in user identification of the first activity; the step of updating check-in data of each activity in the activity group includes:
acquiring a check-in bitmap corresponding to the check-in user identifier of the first activity; the check-in bitmap is used for indicating bit values of check-in states corresponding to check-in times in valid check-in time periods of the activities in the activity group; wherein, the bit value of the sign-in state is a sign-in state bit value or a sign-out state bit value;
for the activity with the successful check-in result in the activity group, updating the bit value of the activity corresponding to the check-in time of the first activity in the check-in bitmap into the bit value of the checked-in state;
and for the activity of which the check-in result is check-in failure in the activity group, not updating the bit value of the activity corresponding to the check-in time of the first activity in the check-in bitmap.
8. The active batch check-in method of claim 7, wherein:
after the step of updating the check-in data of each activity in the activity group, the method comprises the following steps:
receiving a query request; the query request comprises a check-in user identifier of the first activity and current query time;
acquiring a check-in bitmap corresponding to the check-in user identifier of the first activity;
in a check-in bitmap corresponding to the check-in user identifier of the first activity, acquiring bit values corresponding to check-in times in effective check-in time periods of the activities in the activity group before the current query time, and acquiring corresponding check-in states;
and sending the check-in state to a check-in page of each activity in the activity group for display.
9. The active batch check-in method of claim 8, wherein:
after the step of obtaining the bit value corresponding to each check-in time within the effective check-in time period of each activity in the activity group before the current query time in the check-in bitmap corresponding to the check-in user identifier of the first activity, and obtaining the corresponding check-in state, the method further comprises the following steps:
acquiring the accumulated check-in times and continuous check-in times of each activity in the activity group according to the check-in state;
and sending the accumulated check-in times and the continuous check-in times to a check-in page of each activity in the activity group for display.
10. An active batch check-in device, comprising:
the check-in request receiving module is used for receiving a check-in request triggered on the first activity check-in page; the check-in request comprises a first activity identifier corresponding to the first activity check-in page and check-in data of the first activity;
a configuration data obtaining module, configured to obtain, according to the first activity identifier, an activity group where the first activity identifier is located and activity configuration data of the activity group; the set of activities includes the first activity and at least one second activity; the activity configuration data comprises check-in configuration data of each activity in the activity group;
and the check-in result generation module is used for generating the check-in result of each activity in the activity group according to the check-in data of the first activity and the check-in configuration data of each activity in the activity group.
11. A computer device, comprising: processor, memory and computer program stored in the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 9 are implemented when the processor executes the computer program.
12. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 9.
CN202210301699.XA 2022-03-25 2022-03-25 Activity batch sign-in method and device, computer equipment and storage medium Pending CN114694272A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210301699.XA CN114694272A (en) 2022-03-25 2022-03-25 Activity batch sign-in method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210301699.XA CN114694272A (en) 2022-03-25 2022-03-25 Activity batch sign-in method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114694272A true CN114694272A (en) 2022-07-01

Family

ID=82139029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210301699.XA Pending CN114694272A (en) 2022-03-25 2022-03-25 Activity batch sign-in method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114694272A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104504767A (en) * 2014-11-26 2015-04-08 广东安居宝数码科技股份有限公司 Check-in information verification method and system
US20150287014A1 (en) * 2014-04-08 2015-10-08 Ebay Inc. Managing check in applications using protocol handlers
CN108737339A (en) * 2017-04-19 2018-11-02 腾讯科技(深圳)有限公司 A kind of activity is registered method, user terminal, server and system
CN109218507A (en) * 2017-07-03 2019-01-15 阿里巴巴集团控股有限公司 The methods, devices and systems of task execution
CN110457082A (en) * 2018-05-07 2019-11-15 腾讯科技(深圳)有限公司 The method, apparatus and storage medium that control application program is registered
CN112445984A (en) * 2019-08-14 2021-03-05 腾讯科技(深圳)有限公司 Group sign-in method and device, electronic equipment and storage medium
CN113362031A (en) * 2021-06-07 2021-09-07 广州市奥威亚电子科技有限公司 Activity sign-in method, device, equipment and storage medium
CN113849477A (en) * 2021-08-30 2021-12-28 青岛海尔科技有限公司 Sign-in management method and device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150287014A1 (en) * 2014-04-08 2015-10-08 Ebay Inc. Managing check in applications using protocol handlers
CN104504767A (en) * 2014-11-26 2015-04-08 广东安居宝数码科技股份有限公司 Check-in information verification method and system
CN108737339A (en) * 2017-04-19 2018-11-02 腾讯科技(深圳)有限公司 A kind of activity is registered method, user terminal, server and system
CN109218507A (en) * 2017-07-03 2019-01-15 阿里巴巴集团控股有限公司 The methods, devices and systems of task execution
CN110457082A (en) * 2018-05-07 2019-11-15 腾讯科技(深圳)有限公司 The method, apparatus and storage medium that control application program is registered
CN112445984A (en) * 2019-08-14 2021-03-05 腾讯科技(深圳)有限公司 Group sign-in method and device, electronic equipment and storage medium
CN113362031A (en) * 2021-06-07 2021-09-07 广州市奥威亚电子科技有限公司 Activity sign-in method, device, equipment and storage medium
CN113849477A (en) * 2021-08-30 2021-12-28 青岛海尔科技有限公司 Sign-in management method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN113225572B (en) Page element display method, device and system of live broadcasting room
CN105337984A (en) Account logining method and device
CN1879123A (en) Method and system for distributing data to mobile devices
CN113727130B (en) Message prompting method, system and device for live broadcasting room and computer equipment
US20180376296A1 (en) Event-based interactive device system
CN104375742A (en) Portable electronic device capable of displaying dynamic information when activated, system and method
CN104125485A (en) Method, equipment and system for sharing user information
CN113840154A (en) Live broadcast interaction method and system based on virtual gift and computer equipment
CN113613027B (en) Live broadcast room recommendation method and device and computer equipment
CN114268812B (en) Live broadcast room virtual resource giving method, device, computer equipment and storage medium
CN113596504A (en) Live broadcast room virtual gift presenting method and device and computer equipment
CN113840156A (en) Live broadcast interaction method and device based on virtual gift and computer equipment
CN114666671B (en) Live broadcast praise interaction method, device, equipment and storage medium
CN113824976A (en) Method and device for displaying approach show in live broadcast room and computer equipment
CN113242308A (en) Information pushing method, device, equipment and storage medium
CN113568699A (en) Content display method, device, equipment and storage medium
CN113824984A (en) Virtual gift pipelining display method, system, device and computer equipment
CN113938696A (en) Live broadcast interaction method and system based on user-defined virtual gift and computer equipment
CN113034208A (en) Virtual resource processing method and device, electronic equipment and storage medium
CN114885191A (en) Interaction method, system, device and equipment based on exclusive nickname of live broadcast room
CN114694272A (en) Activity batch sign-in method and device, computer equipment and storage medium
CN114650440A (en) Virtual item sharing method and device for live broadcast room, computer equipment and medium
CN115065838A (en) Live broadcast room cover interaction method, system and device and electronic equipment
CN114760531A (en) Live broadcasting room team interaction method, device, system, equipment and storage medium
CN111107165B (en) Disconnection reconnection method, disconnection reconnection device and computer readable storage medium

Legal Events

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