CN115238198A - Method and device for pushing file information - Google Patents

Method and device for pushing file information Download PDF

Info

Publication number
CN115238198A
CN115238198A CN202211169591.6A CN202211169591A CN115238198A CN 115238198 A CN115238198 A CN 115238198A CN 202211169591 A CN202211169591 A CN 202211169591A CN 115238198 A CN115238198 A CN 115238198A
Authority
CN
China
Prior art keywords
target
configuration
activity
item
activity item
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
CN202211169591.6A
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.)
Jiangsu Yincheng Network Technology Co Ltd
Original Assignee
Jiangsu Yincheng Network 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 Jiangsu Yincheng Network Technology Co Ltd filed Critical Jiangsu Yincheng Network Technology Co Ltd
Priority to CN202211169591.6A priority Critical patent/CN115238198A/en
Publication of CN115238198A publication Critical patent/CN115238198A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a file information pushing method and a file information pushing device, which are applied to a server running with an activity system, wherein the server comprises a main service end and an operation service end, and the main service end stores configuration data of at least one first target activity item; the configuration data is determined through an activity item configuration page provided by a main service end, and the configuration data comprises an activity identifier of a first target activity item, an index parameter of the first target activity item and a file of the first target activity item; the method specifically comprises the following steps: acquiring user data of an active system through a main service end; determining a target file corresponding to a target user according to the user data and configuration data of a first target activity item stored by a main service end; and pushing the target file to a client corresponding to the target user through the operation server. In the invention, the target file is configured in the activity item configuration page in advance, and the pushing can be carried out only by selecting the corresponding target file in the activity item configuration page without re-online, so that the data pushing is convenient and fast.

Description

Method and device for pushing file information
Technical Field
The invention relates to the technical field of information pushing, in particular to a method and a device for pushing file information.
Background
With more and more marketing activities of companies, other promotion scenes irrelevant to specific activities exist in daily operation, and most of the activity promotion and the scene promotion adopt a customized popup window mode to remind users at present.
However, the file contents of the customized popup window in the prior art are all fixed, if the contents need to be modified, the file contents need to be re-online after the contents are modified by the foreground end, and the repeated online is troublesome. In addition, if a plurality of achievement values are required to be set to guide the user to participate in the marketing activity, so that after the user finishes the achievement values, the user is prompted by dynamically displaying the file contents through the popup window, at the moment, the customized popup window contents corresponding to each achievement value are inconsistent, if the pushed contents are re-modified for each achievement value and then the popup window is re-on-line, the modification is troublesome, and therefore, the prior art cannot quickly execute the customized popup window operation.
Disclosure of Invention
In view of the above, the present invention provides a method and an apparatus for pushing document information, which do not need to modify a document for user data or activity items and then re-connect the document, so that data pushing is fast and simple.
In a first aspect, an embodiment of the present invention provides a document information pushing method, which is applied to a server running an activity system, where the server includes a main service end and an operation service end, where the main service end stores configuration data of at least one first target activity item; the configuration data is determined through an activity item configuration page provided by the main service terminal, and the configuration data comprises an activity identifier of the first target activity item, index parameters of the first target activity item and a file of the first target activity item; the method comprises the following steps: acquiring user data of an active system through a main service end; the user data comprises a second target activity item and a completion progress parameter of the second target activity item, which are respectively corresponding to a plurality of users; determining a target file corresponding to a target user according to the user data and configuration data of a first target activity item stored by a main service end; and pushing the target file to a client corresponding to the target user through the operation server.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the method further includes: providing an activity item configuration page through a main service terminal; the activity item configuration page comprises an activity identification configuration item, an index parameter configuration item and a file configuration item; and responding to the configuration operation aiming at the activity item configuration page, and generating and storing configuration data of a first target activity item corresponding to the configuration operation.
With reference to the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where the index parameter configuration item includes multiple index parameter sub-items; in response to the configuration operation for the activity item configuration page, generating and storing configuration data of a first target activity item corresponding to the configuration operation comprises: in response to a first configuration operation for identifying a configuration item for an activity in an activity item configuration page, determining identification information of a first target activity item according to the first configuration operation; responding to a second configuration operation corresponding to the current index parameter sub-item in the activity item configuration page, and determining the current index parameter of the first target activity item according to the second configuration operation; and responding to a third configuration operation aiming at the pattern configuration item in the activity item configuration page, and determining the pattern corresponding to the current index parameter of the first target activity item according to the third configuration operation.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the document configuration item is configured with an update control, and the method further includes: responding to the file updating operation aiming at the updating control, and updating the file of the first target activity item according to the file updating operation; wherein, the file updating operation comprises file online editing operation and/or file replacing operation.
With reference to the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where the step of determining, according to the user data and the configuration data of the first target activity item stored by the primary service end, a target file corresponding to the target user includes: for the user data of each user, searching a to-be-selected activity item matched with a second target activity item of the user data and a plurality of index parameters of the to-be-selected activity item in configuration data of a first target activity item stored by a main service terminal; and if a target index parameter matched with the completion progress parameter of the second target activity item exists in the index parameters of the activity items to be selected, determining the user as a target user, and determining the target file corresponding to the target index parameter as the target file corresponding to the target user.
With reference to the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, where parameter values of a plurality of index parameters of the first target activity item are different, and the parameter values of each index parameter are configured according to a preset arrangement order, where the arrangement order includes an order from small to large; the method further comprises the following steps: judging whether the activity completion progress parameter of the second target activity item is consistent with the parameter value of the current index parameter or not based on the arrangement sequence aiming at each index parameter; if so, determining the current index parameter as a target index parameter matched with the activity completion progress parameter.
With reference to the first aspect, an embodiment of the present invention provides a sixth possible implementation manner of the first aspect, where pushing, by an operation server, a target file to a client corresponding to a target user includes: setting configuration data to take effect; and pushing the target file corresponding to the target user to an operation server, wherein the operation server is used for pushing the target file to a client of the target user when monitoring that the target user is on line.
With reference to the first aspect, an embodiment of the present invention provides a seventh possible implementation manner of the first aspect, where a push record table corresponding to an operation server is stored in a server, and the push record table is used to store a push record corresponding to a target file; after the step of determining the target file corresponding to the target user, the method further comprises: inquiring whether a push record corresponding to the target file is stored in the push record table; if not, the step of pushing the target file to the client corresponding to the target user through the operation server is executed.
With reference to the first aspect, an embodiment of the present invention provides an eighth possible implementation manner of the first aspect, where the first target activity item includes a system pull-new activity, and the index parameter of the first target activity item includes a pull-new number and/or a pull-new frequency.
In a second aspect, an embodiment of the present invention further provides a document information pushing apparatus, where the apparatus is applied to a server running an activity system, and the server includes a main service end and an operation service end, where the main service end stores configuration data of at least one first target activity item; the configuration data is determined through an activity item configuration page provided by a main service end, and the configuration data comprises an activity identifier of a first target activity item, an index parameter of the first target activity item and a file of the first target activity item; the device includes: the data acquisition module is used for acquiring the user data of the active system through the main service terminal; the user data comprises a second target activity item and a completion progress parameter of the second target activity item, which are respectively corresponding to a plurality of users; the data determining module is used for determining a target file corresponding to a target user according to the user data and the configuration data of the first target activity item stored by the main service terminal; and the output module is used for pushing the target file to a client corresponding to the target user through the operation server.
The embodiment of the invention has the following beneficial effects: the invention provides a file information pushing method and device, which are characterized in that user data of an activity system are obtained through a main service end, a target file corresponding to a target user is determined from configuration data stored by the main service end based on the user data, and the corresponding target file is provided for the target user, wherein the target file is from an activity item configuration page provided by the main service end, the target file is configured in the activity item configuration page in advance, when the target file to be pushed changes, only data of a file item in the activity item configuration page is selected as the target file, and the file information pushing method and device do not need to be on line again after file modification is carried out on the user data or the activity item. In addition, when the activity item comprises a plurality of achievement values, namely, the activity item comprises a plurality of index parameters, the invention can also directly select the corresponding target file according to the completion progress parameters corresponding to the target user, and the data push is quick and convenient.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a document information pushing method according to an embodiment of the present invention;
fig. 2 is a flowchart of another document information pushing method according to an embodiment of the present invention;
fig. 3 is a flowchart of another document information pushing method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a document information pushing device according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of another document information pushing apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a server according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of an activity item configuration page according to an embodiment of the present invention;
FIG. 8 is a flow chart of information communication corresponding to an active system according to an embodiment of the present invention;
fig. 9 is a flowchart of information pushing according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. 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.
With more and more marketing activities of companies, other propaganda and promotion scenes irrelevant to specific activities exist in daily operation, and most of the activity propaganda and scene promotion currently adopt a customized popup window mode to remind users.
However, the file contents of the customized popup window in the prior art are all fixed, if the contents need to be modified, the file contents need to be re-online after the contents are modified by the foreground end, and the repeated online is troublesome. In addition, if a plurality of achievement values are required to be set to guide the user to participate in the marketing activity, so that after the user finishes the achievement values, the user is prompted by dynamically displaying the file contents through the popup window, at the moment, the customized popup window contents corresponding to each achievement value are inconsistent, if the pushed contents are re-modified for each achievement value and then the popup window is re-on-line, the modification is troublesome, and therefore, the prior art cannot quickly execute the customized popup window operation.
Based on this, the method and the device for pushing the document information provided by the embodiment of the invention do not need to be online again after document modification is carried out on user data or activity items, and the data pushing is fast, simple and convenient.
To facilitate understanding of the present embodiment, first, a detailed description is given to a document information pushing method disclosed in an embodiment of the present invention, and fig. 1 illustrates a flowchart of a document information pushing method provided in an embodiment of the present invention, where the method is applied to a server running an activity system, and the server includes a primary service end and an operation service end, where the primary service end stores configuration data of at least one first target activity item; the configuration data is determined through an activity item configuration page provided by a main service end, and the configuration data comprises an activity identifier of a first target activity item, an index parameter of the first target activity item and a file of the first target activity item;
specifically, as shown in fig. 1, a flowchart of a document information pushing method includes the following steps:
and step S102, acquiring the user data of the active system through the main service terminal.
User data corresponding to the users are stored in a main service end of the server running the activity system, wherein the user data comprise second target activity items and completion progress parameters of the second target activity items corresponding to the users respectively; in a specific implementation, the activity system run by the server is configured with a plurality of activities, the second target activity item corresponding to each user may include one or more different activities in the activity system, and the activities in which each user participates may be different, so the activity system further counts the corresponding completion values of each user in the corresponding activities.
At this time, the second target activity item in which the current user participates may be determined according to the user data in the activity system, and the completion progress corresponding to the current user participating in the activity may be determined according to the completion progress parameter of the second target activity item.
And step S104, determining a target file corresponding to the target user according to the user data and the configuration data of the first target activity item stored by the main service terminal.
And after obtaining a second target activity item corresponding to the current user and a completion progress parameter corresponding to the second target activity item, determining a target file corresponding to the target user according to the configuration data of the first target activity item stored by the main service terminal.
The main service end stores multiple first target activity items and configuration data corresponding to each first target activity item, and the configuration data may include different configuration contents, and the configuration data includes file information corresponding to different completion progress parameters.
Specifically, after the second target activity item is obtained, the second target activity item is compared with the first target activity item, so that specific activity information of the first target activity item corresponding to the second target activity item can be determined, and then specific file information content can be obtained by comparing the completion progress parameter corresponding to the second target activity item with the configuration data of the first target activity item.
And step S106, pushing the target file to a client corresponding to the target user through the operation server.
After the file information content corresponding to the completion progress parameter is obtained, the determined target file can be pushed to the client corresponding to the target user through the operation server, so that the target user can know the progress completion condition of the activity of the target user.
The file information pushing method provided by the embodiment of the invention comprises the steps of obtaining user data of an activity system through a main service end, determining a target file corresponding to a target user according to the user data and configuration data of a first target activity item stored by the main service end, and pushing the target file to a client corresponding to the target user through an operation service end. The target file is from an activity item configuration page provided by a main service end, the target file is configured in the activity item configuration page in advance, when the target file to be pushed is changed, only the data of the file item in the activity item configuration page is selected as the target file, the file modification of user data or activity items is not needed, and then the online operation is carried out, so that the data pushing is rapid and convenient.
For convenience of understanding, on the basis of fig. 1, another filing information pushing method is further provided in an embodiment of the present invention, where the embodiment of the present invention is directed to introduce a configuration method of configuration data of a first target activity item stored by a primary service end, fig. 2 shows a flowchart of another filing information pushing method, and as shown in fig. 2, the flowchart of another filing information pushing method includes the following steps:
and step S202, providing an activity item configuration page through the main service terminal.
Step S204, responding to the configuration operation aiming at the activity item configuration page, and generating and storing configuration data of a first target activity item corresponding to the configuration operation.
The configuration data of the first target activity item of the main service end is from an activity item configuration page, and the activity item configuration page is provided by the main service end. The activity item configuration page comprises an activity identification configuration item, an index parameter configuration item and a file configuration item, corresponding configuration content can be configured in each configuration item of the activity item configuration page to obtain a relatively complete activity item configuration page, and then configuration data of a corresponding first target activity item can be obtained from the activity item configuration page.
The activity identifier configuration item may be configured with activity identifiers corresponding to different activities, and the index parameter configuration item may also include a plurality of index parameter sub-items corresponding to the current activity identifier. In specific implementation, an activity identifier of an activity corresponding to a current configuration requirement may be configured in an activity identifier configuration item according to the current configuration requirement, then an index parameter sub-item of the activity identifier corresponding to the configuration requirement is configured in an index parameter configuration item, and then scenario information corresponding to the current index parameter sub-item is configured in a scenario configuration item, at this time, configuration data of a first target activity item corresponding to the current configuration requirement is obtained.
Further, the configuration data of the first target activity item may be configured for multiple times to obtain different activity identifiers, and multiple index parameter sub-items corresponding to each activity identifier and the case information corresponding to each index parameter sub-item.
Further, when configuring the configuration data, the configuration data may be configured according to a configuration operation of the configuration page for the activity item. The configuration operation of the activity item configuration page comprises a first configuration operation for identifying a configuration item aiming at an activity in the activity item configuration page, a second configuration operation corresponding to a current index parameter sub item in the activity item configuration page, and a third configuration operation for configuring a pattern configuration item in the activity item configuration page.
At the moment, responding to a first configuration operation aiming at an activity identification configuration item in an activity item configuration page, and determining identification information of a first target activity item according to the first configuration operation; responding to a second configuration operation corresponding to a current index parameter sub item in the activity item configuration page, and determining a current index parameter of a first target activity item according to the second configuration operation; and responding to a third configuration operation aiming at the pattern configuration item in the activity item configuration page, and determining the pattern corresponding to the current index parameter of the first target activity item according to the third configuration operation.
In specific implementation, a background manager may configure, according to a preset activity configuration requirement, an activity identifier corresponding to the activity configuration requirement, such as an activity name of a current activity, in an activity identifier configuration item of an activity configuration page, at this time, the background manager configures, in a management background corresponding to the activity configuration page, an activity identifier of an activity corresponding to the activity configuration requirement in an activity item configuration page of a main service end, so as to obtain identifier information corresponding to the activity, that is, identifier information of the first target activity item; then, according to the index parameter requirement in the activity configuration requirement, configuring the index parameter configuration item corresponding to the current identification information, for example, the index parameter requirement corresponding to the activity in the activity configuration requirement may include a refresh number requirement or a refresh frequency index, at this time, configuring the refresh number requirement or the refresh frequency index in the index parameter configuration item corresponding to the current identification information, and obtaining the index parameter configuration result corresponding to the identification information; and then the file information corresponding to the index parameter requirement in the activity configuration requirement is configured in the file configuration item corresponding to the current index parameter configuration item to obtain the file corresponding to the current index parameter of the first target activity item.
For convenience of understanding, fig. 7 illustrates an activity item configuration page schematic diagram provided in an embodiment of the present invention, where an activity identifier configuration box, a corresponding index parameter configuration box, and a push document configuration box are illustrated in the activity item configuration page schematic diagram. The activity identifier configuration box in fig. 7 may also be an activity name configuration box, and an activity name corresponding to a configuration requirement may be configured in the activity identifier configuration box, and the indicator parameter configuration box in fig. 7 is used to configure an activity achievement value of an activity corresponding to the activity name. When the configuration data of the first target activity item is configured, corresponding contents are respectively configured in each configuration frame, and after the configuration is confirmed to be correct, a storage button in the activity configuration page is triggered, so that the data configuration can be completed. When a plurality of index parameters are configured for the current activity identifier, the contents in the index parameter configuration frame and the contents in the pushed document configuration frame are modified according to configuration requirements, and after each index parameter and the corresponding pushed document are configured, a storage button is triggered, so that the configuration of the current index parameters and the document thereof can be completed.
Furthermore, the index parameters corresponding to the pull-up activities may include multiple types, and when configuring the index parameter configuration items, multiple pull-up value requirements or pull-up frequency indexes corresponding to the pull-up activities may also be implemented through multiple configurations, and when configuring the activity item configuration page each time, the configuration process is executed only for one of the index parameters and the corresponding case, so as to ensure the accuracy of the configuration.
Furthermore, the document configuration item is configured with an update control, and the embodiment of the present invention may also update the document of the first target activity item according to the document update operation in response to the document update operation for the update control; wherein, the file updating operation comprises file online editing operation and/or file replacing operation. Specifically, when the activity configuration requirement changes, a background manager may modify or edit the document corresponding to the changed identification information, for example, modify the document information of the document configuration item corresponding to the original index parameter, and after the document is modified or edited, trigger the update control corresponding to the activity configuration page to perform the update operation on the document corresponding to the update control, and after the update control is triggered, push the updated document to the foreground of the activity configuration page for display.
According to the other method for pushing the document information, which is provided by the embodiment of the invention, the activity identification, the activity index parameter and the pushed document are configured in the background by adding the background configuration mode, and when a certain pushed document needs to be modified according to the use condition, the update button can be triggered after the management background corresponding to the activity item configuration page is modified, so that the foreground display of the activity configuration page is pushed, and the trouble of repeatedly uploading the document can be reduced.
Further, on the basis of fig. 1 and fig. 2, another filing information pushing method is further provided in the embodiment of the present invention, which mainly aims to explain specific steps of determining a target filing corresponding to a target user according to user data and configuration data of a first target activity item stored by a primary service end, and fig. 3 shows a flowchart of another filing information pushing method provided in the embodiment of the present invention, for example, the flowchart of another filing information pushing method shown in fig. 3, where the method includes:
step S302, user data of the active system is obtained through the main service terminal.
In a specific implementation, the user data, that is, the pull new data of the user side, includes a user id, an active mark, a pull new quantity, and the like, an open source Message agent MQ (Message Queue, MQ for short) is configured in the main service side, a user side active system of the active system counts a corresponding completion value of each user in a corresponding activity, when the pull new data of a user changes, the user side pushes the pull new data accumulated by the user to the RabbitMQ for the main service side to store the pull new data of the user side of the user, and when the system is used specifically, the main service side obtains the user data in the relevant activity by consuming the data in the RabbitMQ.
Step S304, for the user data of each user, searching a to-be-selected activity item matched with a second target activity item of the user data and a plurality of index parameters of the to-be-selected activity item in the configuration data of the first target activity item stored by the main service terminal.
In specific implementation, it is required to compare whether an activity identifier of a second target activity item of user data of a certain user in the RabbitMQ is consistent with an activity identifier of a first target activity item stored by the main service end, and if so, determine that the current first target activity item is an activity to be selected corresponding to the user data, at this time, determine a plurality of corresponding index parameters for the activity to be selected, so as to determine a target index parameter meeting the user data from the plurality of index parameters according to the user data.
Step S306, if a target index parameter matched with the completion progress parameter of the second target activity item exists in the index parameters of the activity item to be selected, determining the user as a target user, and determining the target file corresponding to the target index parameter as the target file corresponding to the target user.
The user data comprises a second target activity item participated by the user and a completion progress parameter corresponding to the second target activity item, when a target index parameter matched with the completion progress parameter exists in the index parameters, the current user finishes a certain activity index corresponding to the first target activity item, and at the moment, a target file corresponding to the current target index parameter is pushed to the target user according to the target index parameter.
Further, the parameter values of the index parameters of the first target activity item are different, and the parameter values of each index parameter are configured according to a preset arrangement sequence, wherein the arrangement sequence includes a small-to-large sequence; the embodiment of the invention also judges whether the activity completion progress parameter of the second target activity item is consistent with the parameter value of the current index parameter or not based on the arrangement sequence aiming at each index parameter; if so, determining the current index parameter as a target index parameter matched with the activity completion progress parameter.
Specifically, it is required to determine whether the activity completion progress parameter corresponding to the second target activity item of the target user reaches the achievement value of the first target activity item, so as to push the case information corresponding to the achievement value to the target user, wherein different case information corresponds to different case information, so that the activity completion progress parameter is required to be sequentially compared with each of the index parameters having the arrangement order, and it is required to determine whether the activity completion progress parameter meets the current index parameter. If the activity completion progress parameter meets the current index parameter, the case corresponding to the index parameter can be determined as the case information pushed to the target user. If the activity item to be selected matched with the second target activity item of the user data or any index parameter of the activity item to be selected is not inquired in the configuration data of the first target activity item stored at the main service end, it indicates that the user does not meet any activity index corresponding to any activity, and at this time, the file information is not pushed to the client corresponding to the user.
Step S308, inquiring whether the push record corresponding to the target file is stored in the push record table.
Step S310, if not, the target file is pushed to the client corresponding to the target user through the operation server.
Specifically, the document information is usually pushed to an operation server of the active system by the main service, and when the target user logs in the client, the operation server pushes the document information to the client of the target user.
The operation server also corresponds to a push record table, the push record table is stored in the server, and the push record table is used for storing push records corresponding to the target file; after determining the document information pushed to the target user, it may be first queried whether a push record corresponding to the target document is stored in the push record table, and when there is no corresponding push record, the target document is pushed to the client corresponding to the target user through the operation server.
In specific implementation, after the activity identifier, the index parameter and the pushed case content corresponding to the index parameter are configured in the activity item configuration page, the case content is also configured with the display link corresponding to the activity identifier.
Furthermore, an effective button is also configured at each file configuration item, after configuration item configuration is completed, the state of the current pushed file is defaulted to be an invalid state, after the target file is determined, the effective button in the active item configuration page is triggered to modify the pushed file state to be immediately effective, and at the moment, the target file is directly pushed to the operation server.
During specific implementation, the operation server monitors the target user to be online, when the target user is online, the activity system inquires whether the operation server has a pushed document to be displayed, and if so, the target document is displayed to the target user. For convenience of understanding, the document information may be prompt information corresponding to the target user meeting the target index parameter, for example, the index parameter may be 2 new users, and at this time, the document information may be "2 new users have been invited today, and then 3 people are invited to reward for upgrading".
The first target activity item includes a system pull-up activity, and at this time, the index parameter of the first target activity item includes a pull-up amount and/or a pull-up frequency. Therefore, the activity identifier corresponding to the system pull-up activity may be configured at the activity identifier configuration item according to a preset configuration requirement, and a pull-up quantity index corresponding to the configuration requirement corresponding to the pull-up activity or a pull-up frequency index may be configured at the index parameter configuration item, where the pull-up frequency index is used to indicate a pull-up quantity requirement index in a preset time period, and then, corresponding document information is determined based on the current pull-up quantity or pull-up frequency, and the corresponding document information is configured in the document configuration item corresponding to the corresponding index parameter configuration item.
For convenience of understanding, fig. 8 shows an information communication flow diagram corresponding to an activity system, and as shown in fig. 8, an embodiment of the present invention configures a first target activity item and its corresponding index parameter and file information in a push file system, and stores each configuration information in the push file system. Wherein, the file pushing system is configured at the main service end. Furthermore, each user corresponding to the client of the active system continuously accumulates the update quantity, the background of the client counts the update quantity corresponding to each user, and the active system pushes the user data corresponding to each user to the RabbitMQ corresponding to the main service end in an accumulated manner.
At the moment, different user data of different users are stored in the RabbitMQ, when the pushed file information is determined according to the user data, the user data in the RabbitMQ is consumed through the main service terminal, whether the user data reaches the corresponding index parameter is judged according to the configuration information, when the activity completion progress parameter corresponding to the user data reaches a certain index parameter, an interface is called, and the file information corresponding to the index parameter is pushed to the operation service terminal of the activity system.
Then, when the target user logs in the client system, the operation server monitors the login information corresponding to the client, at the moment, the operation server inquires whether the push file information corresponding to the current target user is stored in the operation server, and if so, the push file information corresponding to the target user is fed back to the client front-end page of the target user.
In a specific implementation, fig. 9 shows a corresponding information pushing flow chart when a target user logs in an active system, as shown in fig. 9, when the target user logs in the active system, a client master station of the active system queries a pushing task corresponding to the target user in an operation server, then the operation server queries a pushing content corresponding to the target user, and if the operation server includes the pushing content corresponding to the target user, a login popup window is directly displayed for the target user according to the pushing task corresponding to the pushing content.
The push content is determined according to whether the number of the target user corresponding to the number of the new users is equal to any one index parameter, if the number of the new users is equal to any one index parameter, the main service end outputs the push content corresponding to the index parameter to the operation service end, and the operation service end establishes a related push task; otherwise, the main service end will not output the push content to the operation service end, and the operation service end will not establish the push task. The number of the new users corresponding to the target user is obtained by the background of the client side, the user data of the target user is fed back to the main service side, and the new users are obtained by the calculation of the main service side.
In another method for pushing the document information, provided by the embodiment of the present invention, multiple index parameters corresponding to the activity identifier are configured, and the document information is configured for each index parameter, and in a specific implementation, the document pushing can be completed only by determining a matched target index parameter according to an activity completion progress parameter corresponding to a target user and then modifying the state of the corresponding document into an effective state, so that the information pushing is fast, simple and convenient.
Further, on the basis of the above embodiment, the embodiment of the present invention further provides a document information pushing device, and fig. 4 shows a schematic structural diagram of the document information pushing device. Specifically, as shown in fig. 4, a schematic structural diagram of a document information pushing device includes:
a data obtaining module 401, configured to obtain user data of the active system through the main service end.
And the data determining module 402 is configured to determine a target pattern corresponding to the target user according to the user data and the configuration data of the first target activity item stored by the primary service end.
And an output module 403, configured to push the target file to a client corresponding to the target user through the operation server.
According to the file information pushing device provided by the embodiment of the invention, the data acquisition module is used for acquiring the user data, the data determination module is used for determining the target file corresponding to the target user according to the user data and the configuration data of the first target activity item stored by the main service end, and then the output module is used for pushing the target file to the client corresponding to the target user through the operation service end. When the target file to be pushed is changed, only the data of the file item in the activity item configuration page is selected as the target file, and the file is not required to be re-online after the file is modified according to the user data or the activity item, so that the data is pushed quickly, conveniently and simply.
Further, on the basis of fig. 4, another filing information pushing apparatus is further provided in the embodiment of the present invention, fig. 5 shows a schematic structural diagram of the another filing information pushing apparatus provided in the embodiment of the present invention, for example, the schematic structural diagram of the another filing information pushing apparatus shown in fig. 5, the apparatus further includes a data configuration module 404, configured to provide an activity item configuration page through a primary service end; and responding to the configuration operation aiming at the activity item configuration page, and generating and storing configuration data of a first target activity item corresponding to the configuration operation.
The data configuration module 404 is further configured to, in response to a first configuration operation for identifying a configuration item for an activity in the activity item configuration page, determine identification information of a first target activity item according to the first configuration operation; responding to a second configuration operation corresponding to the current index parameter sub-item in the activity item configuration page, and determining the current index parameter of the first target activity item according to the second configuration operation; and responding to a third configuration operation aiming at the pattern configuration item in the activity item configuration page, and determining the pattern corresponding to the current index parameter of the first target activity item according to the third configuration operation.
The apparatus further includes a data update module 405, configured to update the pattern of the first target activity item according to the pattern update operation in response to the pattern update operation for the update control.
The data determining module 402 is further configured to, for the user data of each user, search, in the configuration data of the first target activity item stored at the main service end, an activity item to be selected that is matched with a second target activity item of the user data and multiple index parameters of the activity item to be selected; and if a target index parameter matched with the completion progress parameter of the second target activity item exists in the index parameters of the activity items to be selected, determining the user as a target user, and determining the target file corresponding to the target index parameter as the target file corresponding to the target user.
The device further comprises an index parameter determining module 406, configured to sequentially compare whether an activity completion progress parameter of the second target activity item is greater than each ordered index parameter in the to-be-selected activity item; and determining the current index parameter as a target index parameter matched with the activity completion progress parameter until the activity completion progress parameter is larger than the current index parameter.
An output module 403, further configured to set the configuration data to take effect; and pushing the target file corresponding to the target user to an operation server, wherein the operation server is used for pushing the target file to a client of the target user when monitoring that the target user is on line.
The device further comprises a record query module 407, configured to query whether a push record corresponding to the target document is stored in the push record table; if not, the step of pushing the target file to the client corresponding to the target user through the operation server is executed.
According to the other document information pushing device provided by the embodiment of the invention, the activity identification, various index parameters and documents thereof are configured on the activity item configuration page, after the configuration is completed, the corresponding pushed document is automatically judged according to the user data, and the document pushing can be completed by modifying the state of the corresponding document into the effective state, so that the information pushing is quick, convenient and simple.
The document information pushing device provided by the embodiment of the invention has the same technical characteristics as the document information pushing method provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
An embodiment of the present invention further provides a server, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method shown in any one of fig. 1 to 3 when executing the computer program.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor, and the computer program performs the steps of the method shown in any one of fig. 1 to 3.
An embodiment of the present invention further provides a schematic structural diagram of a server, as shown in fig. 6, which is the schematic structural diagram of the server, where the server includes a processor 61 and a memory 60, the memory 60 stores computer-executable instructions that can be executed by the processor 61, and the processor 61 executes the computer-executable instructions to implement the method shown in any one of fig. 1 to fig. 3.
In the embodiment shown in fig. 6, the server further comprises a bus 62 and a communication interface 63, wherein the processor 61, the communication interface 63 and the memory 60 are connected by the bus 62.
The Memory 60 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 63 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used. The bus 62 may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus 62 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one double-headed arrow is shown in FIG. 6, but this does not indicate only one bus or one type of bus.
The processor 61 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 61. The Processor 61 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and the processor 61 reads information in the memory and, in combination with hardware thereof, performs the method shown in any one of fig. 1 to 3.
The computer program product of the method and the device for pushing the document information provided by the embodiment of the present invention includes a computer readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, and will not be described herein again.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working process of the system and the apparatus described above may refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood in specific cases for those skilled in the art.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: those skilled in the art can still make modifications or changes to the embodiments described in the foregoing embodiments, or make equivalent substitutions for some features, within the scope of the disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. The file information pushing method is applied to a server running an activity system, and the server comprises a main service side and an operation service side, wherein the main service side stores configuration data of at least one first target activity item; the configuration data is determined through an activity item configuration page provided by the main service terminal, and the configuration data comprises an activity identifier of the first target activity item, an index parameter of the first target activity item and a file of the first target activity item; the method comprises the following steps:
acquiring user data of the active system through the main service terminal; the user data comprises a second target activity item and a completion progress parameter of the second target activity item, which are respectively corresponding to a plurality of users;
determining a target file corresponding to a target user according to the user data and configuration data of a first target activity item stored by the main service terminal;
and pushing the target file to a client corresponding to the target user through the operation server.
2. The method of claim 1, further comprising:
providing the activity item configuration page through the main service terminal; the activity item configuration page comprises an activity identification configuration item, an index parameter configuration item and a case configuration item;
and responding to the configuration operation aiming at the activity item configuration page, and generating and storing configuration data of a first target activity item corresponding to the configuration operation.
3. The method of claim 2, wherein the metric parameter configuration items comprise a plurality of metric parameter sub-items;
in response to the configuration operation on the activity item configuration page, generating and storing configuration data of a first target activity item corresponding to the configuration operation comprises:
responding to a first configuration operation of an activity identification configuration item in the activity item configuration page, and determining identification information of a first target activity item according to the first configuration operation;
responding to a second configuration operation corresponding to a current index parameter sub item in the activity item configuration page, and determining a current index parameter of a first target activity item according to the second configuration operation;
responding to a third configuration operation aiming at the case configuration items in the activity item configuration page, and determining the case corresponding to the current index parameter of the first target activity item according to the third configuration operation.
4. The method of claim 2, wherein the paperwork configuration item is configured with an update control, the method further comprising:
in response to the file updating operation aiming at the updating control, updating the file of the first target activity item according to the file updating operation;
wherein, the file updating operation comprises file online editing operation and/or file replacing operation.
5. The method according to claim 3, wherein the step of determining the target documentation corresponding to the target user according to the user data and the configuration data of the first target activity item stored by the main service side comprises:
for the user data of each user, searching a candidate activity item matched with a second target activity item of the user data and a plurality of index parameters of the candidate activity item in configuration data of a first target activity item stored by the main service terminal;
and if a target index parameter matched with the completion progress parameter of the second target activity item exists in the plurality of index parameters of the activity item to be selected, determining the user as a target user, and determining a target file corresponding to the target index parameter as a target file corresponding to the target user.
6. The method according to claim 5, wherein the parameter values of the index parameters of the first target activity item are different, and the parameter values of each index parameter are configured according to a preset arrangement sequence, wherein the arrangement sequence comprises a small-to-large order;
the method further comprises the following steps:
judging whether the activity completion progress parameter of the second target activity item is consistent with the parameter value of the current index parameter or not based on the arrangement sequence aiming at each index parameter;
if yes, the current index parameter is determined as a target index parameter matched with the activity completion progress parameter.
7. The method of claim 1, wherein pushing the target document to the client corresponding to the target user through the operation server comprises: setting the configuration data to take effect;
and pushing the target file corresponding to the target user to the operation server, wherein the operation server is used for pushing the target file to a client of the target user when monitoring that the target user is online.
8. The method according to claim 1, wherein a push record table corresponding to the operation server is stored in the server, and the push record table is used for storing a push record corresponding to the target document;
after the step of determining the target file corresponding to the target user, the method further comprises:
inquiring whether a push record corresponding to the target file is stored in the push record table;
if not, the step of pushing the target file to the client corresponding to the target user through the operation server is executed.
9. The method of claim 1, wherein the first target activity item comprises a system pull-up activity, and wherein the metric parameter of the first target activity item comprises a pull-up amount and/or a pull-up frequency.
10. The file information pushing device is applied to a server running an activity system, and comprises a main service side and an operation service side, wherein the main service side stores configuration data of at least one first target activity item; the configuration data is determined through an activity item configuration page provided by the main service terminal, and the configuration data comprises an activity identifier of the first target activity item, an index parameter of the first target activity item and a file of the first target activity item; the device comprises:
the data acquisition module is used for acquiring the user data of the activity system through the main service terminal; the user data comprise a second target activity item and a completion progress parameter of the second target activity item, which are respectively corresponding to a plurality of users;
the data determining module is used for determining a target file corresponding to a target user according to the user data and configuration data of a first target activity item stored by the main service terminal;
and the output module is used for pushing the target file to a client corresponding to the target user through the operation server.
CN202211169591.6A 2022-09-26 2022-09-26 Method and device for pushing file information Pending CN115238198A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211169591.6A CN115238198A (en) 2022-09-26 2022-09-26 Method and device for pushing file information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211169591.6A CN115238198A (en) 2022-09-26 2022-09-26 Method and device for pushing file information

Publications (1)

Publication Number Publication Date
CN115238198A true CN115238198A (en) 2022-10-25

Family

ID=83667440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211169591.6A Pending CN115238198A (en) 2022-09-26 2022-09-26 Method and device for pushing file information

Country Status (1)

Country Link
CN (1) CN115238198A (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984271A (en) * 2012-12-12 2013-03-20 北京奇虎科技有限公司 Client and method for message push
CN106998274A (en) * 2016-12-12 2017-08-01 深圳大宇无限科技有限公司 Application message method for pushing and device
US20180268431A1 (en) * 2017-03-20 2018-09-20 The Board Of Regents Of The Nevada System Of Higher Education On Behalf Of The University Of Ne Methods And Systems For Redeeming Points For Recommended Awards
CN108764994A (en) * 2018-05-24 2018-11-06 深圳前海桔子信息技术有限公司 A kind of user behavior guidance method, device, server and storage medium
CN110516155A (en) * 2019-08-29 2019-11-29 深圳市云积分科技有限公司 Marketing strategy generation method and system
CN110675202A (en) * 2019-10-11 2020-01-10 秒针信息技术有限公司 Public account promotion method and device, electronic equipment and computer readable storage medium
CN110807650A (en) * 2019-09-26 2020-02-18 北京淇瑀信息科技有限公司 New financial product user invitation method and system
CN111064655A (en) * 2019-12-17 2020-04-24 北京每日优鲜电子商务有限公司 Template message pushing method, device, equipment and storage medium
CN111814034A (en) * 2019-07-04 2020-10-23 北京嘀嘀无限科技发展有限公司 Information processing method, information processing apparatus, storage medium, and electronic device
CN112346608A (en) * 2020-09-25 2021-02-09 北京淇瑀信息科技有限公司 Page display method and device based on business activity result display and electronic equipment
CN112418927A (en) * 2020-11-19 2021-02-26 北京顺达同行科技有限公司 Discount information recommendation method and device, computer equipment and storage medium
CN112766998A (en) * 2019-11-04 2021-05-07 腾讯科技(深圳)有限公司 Data processing method and device for business activities
CN113744020A (en) * 2021-01-15 2021-12-03 北京沃东天骏信息技术有限公司 Commodity file processing method and device, electronic equipment and storage medium
CN114581142A (en) * 2022-03-07 2022-06-03 首约科技(北京)有限公司 Method for improving user activity of network appointment platform
CN114896003A (en) * 2022-04-13 2022-08-12 青岛海尔科技有限公司 Page configuration method and device, storage medium and electronic device

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984271A (en) * 2012-12-12 2013-03-20 北京奇虎科技有限公司 Client and method for message push
CN106998274A (en) * 2016-12-12 2017-08-01 深圳大宇无限科技有限公司 Application message method for pushing and device
US20180268431A1 (en) * 2017-03-20 2018-09-20 The Board Of Regents Of The Nevada System Of Higher Education On Behalf Of The University Of Ne Methods And Systems For Redeeming Points For Recommended Awards
CN108764994A (en) * 2018-05-24 2018-11-06 深圳前海桔子信息技术有限公司 A kind of user behavior guidance method, device, server and storage medium
CN111814034A (en) * 2019-07-04 2020-10-23 北京嘀嘀无限科技发展有限公司 Information processing method, information processing apparatus, storage medium, and electronic device
CN110516155A (en) * 2019-08-29 2019-11-29 深圳市云积分科技有限公司 Marketing strategy generation method and system
CN110807650A (en) * 2019-09-26 2020-02-18 北京淇瑀信息科技有限公司 New financial product user invitation method and system
CN110675202A (en) * 2019-10-11 2020-01-10 秒针信息技术有限公司 Public account promotion method and device, electronic equipment and computer readable storage medium
CN112766998A (en) * 2019-11-04 2021-05-07 腾讯科技(深圳)有限公司 Data processing method and device for business activities
CN111064655A (en) * 2019-12-17 2020-04-24 北京每日优鲜电子商务有限公司 Template message pushing method, device, equipment and storage medium
CN112346608A (en) * 2020-09-25 2021-02-09 北京淇瑀信息科技有限公司 Page display method and device based on business activity result display and electronic equipment
CN112418927A (en) * 2020-11-19 2021-02-26 北京顺达同行科技有限公司 Discount information recommendation method and device, computer equipment and storage medium
CN113744020A (en) * 2021-01-15 2021-12-03 北京沃东天骏信息技术有限公司 Commodity file processing method and device, electronic equipment and storage medium
CN114581142A (en) * 2022-03-07 2022-06-03 首约科技(北京)有限公司 Method for improving user activity of network appointment platform
CN114896003A (en) * 2022-04-13 2022-08-12 青岛海尔科技有限公司 Page configuration method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN109597974B (en) Report generation method and device
WO2020087386A1 (en) Content recommendation method and device, mobile terminal, and server
CN110807085B (en) Fault information query method and device, storage medium and electronic device
CN110399586B (en) Automatic processing method, device, equipment and medium for web interface element
CN107305527B (en) Code file processing method and device
US11062350B2 (en) Method, apparatus, and device for monitoring promotion status data, and non-volatile computer storage medium
CN109670091A (en) A kind of metadata intelligent maintenance method and apparatus based on data standard
US20220284020A1 (en) Data processing method, apparatus, and system
CN113256340A (en) Task execution method and device and electronic equipment
CN110941634A (en) Data processing method and device, storage medium and electronic device
CN110046235B (en) Knowledge base assessment method, device and equipment
CN113609409B (en) Method and system for recommending browsing information, electronic equipment and storage medium
CN111124891A (en) Access state detection method and device, storage medium and electronic device
CN109710827B (en) Picture attribute management method and device, picture server and business processing terminal
CN117874033A (en) Database sub-table method and device, electronic equipment and storage medium
CN112187622B (en) Instant message display method and device and server
CN112836124A (en) Image data acquisition method and device, electronic equipment and storage medium
CN115238198A (en) Method and device for pushing file information
CN114039878B (en) Network request processing method and device, electronic equipment and storage medium
CN112069258B (en) Transaction progress management method and device and distributed database
CN112860700B (en) Data table generation method and device, storage medium and electronic device
CN114817152A (en) Method and system for querying slice file
CN111090670B (en) Data pre-aggregation method, system, computing device and storage medium
CN110502557B (en) Data importing method, device, computer equipment and storage medium
CN110674330B (en) Expression management method and device, electronic equipment and 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20221025