CN111859127A - Subscription method and device of consumption data and storage medium - Google Patents

Subscription method and device of consumption data and storage medium Download PDF

Info

Publication number
CN111859127A
CN111859127A CN202010670801.4A CN202010670801A CN111859127A CN 111859127 A CN111859127 A CN 111859127A CN 202010670801 A CN202010670801 A CN 202010670801A CN 111859127 A CN111859127 A CN 111859127A
Authority
CN
China
Prior art keywords
target
data
consumption data
subscription
attribute information
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
CN202010670801.4A
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.)
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Haier Uplus Intelligent Technology Beijing 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 Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Haier Uplus Intelligent Technology Beijing Co Ltd
Priority to CN202010670801.4A priority Critical patent/CN111859127A/en
Publication of CN111859127A publication Critical patent/CN111859127A/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a subscription method and device of consumption data and a storage medium. Wherein, the method comprises the following steps: after a subscription platform receives a subscription request triggered by a target user client, receiving a subscription instruction triggered by the subscription platform according to the subscription request; responding to the subscription instruction, and determining target data attribute information corresponding to the target consumption data, wherein the target data attribute information is used for indicating a target data type of the target consumption data, a target data quantity of the target consumption data and a target pushing object of the target consumption data; and filtering the stored consumption data according to the type of the target data, the quantity of the target data and the target pushing object to obtain target consumption data, and pushing the target consumption data to a target user client. The invention solves the technical problem of low subscription efficiency of the consumption data.

Description

Subscription method and device of consumption data and storage medium
Technical Field
The invention relates to the field of computers, in particular to a method and a device for subscribing consumption data and a storage medium.
Background
Kafka is a high-throughput distributed publish-subscribe messaging system that can handle all the action flow data of a consumer in a web site.
In the prior art, in order to enable different people to subscribe different consumption data in Kafka, a consumer needs to subscribe different topics to subscribe the consumption data, and data isolation needs to be realized through the topic in advance. In other words, the subscription of the consumption data needs to be realized based on the subscriptions with different topics, and under the condition that the complexity of the consumption data to be subscribed by the consumer is higher, for example, the consumer needs to subscribe multiple types of same or different topics to realize the subscription with the consumption data in multiple combinations, which further results in lower subscription efficiency of the consumption data.
That is, the related art has a problem that the subscription efficiency for consuming data is low.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a subscription method and device of consumption data and a storage medium, which at least solve the technical problem of low subscription efficiency of the consumption data.
According to an aspect of an embodiment of the present invention, there is provided a subscription method for consuming data, including: after a subscription platform receives a subscription request triggered by a target user client, receiving a subscription instruction triggered by the subscription platform according to the subscription request, wherein the subscription request is used for requesting to push subscribed target consumption data for the target user client; responding to the subscription instruction, determining target data attribute information corresponding to the target consumption data, wherein the target data attribute information is used for indicating a target data type of the target consumption data, a target data quantity of the target consumption data and a target pushing object of the target consumption data; and filtering the stored consumption data according to the attribute information of the target data to obtain the target consumption data, and pushing the target consumption data to the target user client.
According to another aspect of the embodiments of the present invention, there is provided a subscription method for consuming data, including: receiving a subscription request triggered by a target user client, wherein the subscription request is used for requesting to push subscribed target consumption data for the target user client; responding to the subscription request, analyzing the target consumption data to acquire target data attribute information of the target consumption data, wherein the target data attribute information is used for indicating a target data type of the target consumption data, a target data quantity of the target consumption data and a target pushing object of the target consumption data; and generating a subscription instruction according to the target data attribute information of the target consumption data, and sending the subscription instruction to a message pushing platform, wherein the message pushing platform is used for pushing the acquired target consumption data to the target user client.
According to another aspect of the embodiments of the present invention, there is also provided a subscription device for consuming data, including: the first receiving unit is used for receiving a subscription instruction triggered by a subscription platform according to a subscription request after the subscription platform receives the subscription request triggered by a target user client, wherein the subscription request is used for requesting to push subscribed target consumption data for the target user client; a first response unit, configured to determine, in response to the subscription instruction, target data attribute information corresponding to the target consumption data, where the target data attribute information is used to indicate a target data type of the target consumption data, a target data quantity of the target consumption data, and a target pushing object of the target consumption data; and the filtering unit is used for filtering the stored consumption data according to the target data attribute information to obtain the target consumption data and pushing the target consumption data to the target user client.
According to another aspect of the embodiments of the present invention, there is also provided a subscription device for consuming data, including: a second receiving unit, configured to receive a subscription request triggered by a target user client, where the subscription request is used to request that subscribed target consumption data be pushed to the target user client; a second response unit, configured to respond to the subscription request, parse the target consumption data to obtain target data attribute information of the target consumption data, where the target data attribute information is used to indicate a target data type of the target consumption data, a target data quantity of the target consumption data, and a target pushing object of the target consumption data; and the generating unit is used for generating a subscription instruction according to the target data attribute information of the target consumption data and sending the subscription instruction to a message pushing platform, wherein the message pushing platform is used for pushing the acquired target consumption data to the target user client.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the above subscription method for consumption data when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the subscription method for consumption data through the computer program.
In the embodiment of the invention, after a subscription platform receives a subscription request triggered by a target user client, a subscription instruction triggered by the subscription platform according to the subscription request is received; responding to the subscription instruction, and determining target data attribute information corresponding to the target consumption data; filtering the stored consumption data according to the target data attribute information to obtain the target consumption data, and pushing the target consumption data to the target user client; receiving a subscription request triggered by a target user client; responding to the subscription request, analyzing the target consumption data to acquire target data attribute information of the target consumption data; according to the target data attribute information of the target consumption data, a subscription instruction is generated and sent to the message pushing platform, unnecessary consumption data are filtered out directly according to the target data attribute information obtained by responding to the subscription request, and the consumption data are directly pushed to the user client, so that the technical purpose that massive consumption data can be pushed to the corresponding user client in real time and on demand without grouping definition of the consumption data in advance is achieved, the technical effect of reducing the subscription complexity of the consumption data is achieved, the technical effect of improving the subscription efficiency of the consumption data is achieved, and the technical problem that the subscription efficiency of the consumption data is low is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention to a proper form. In the drawings:
FIG. 1 is a schematic diagram of a flow chart of an alternative method of subscribing to consumed data in accordance with an embodiment of the present invention;
FIG. 2 is a schematic diagram of an alternative subscription method for consuming data, according to an embodiment of the invention;
FIG. 3 is a schematic diagram of a flow chart of an alternative method of subscribing to consumed data in accordance with an embodiment of the present invention;
FIG. 4 is a schematic diagram of an alternative subscription method for consuming data in accordance with an embodiment of the invention;
FIG. 5 is a schematic diagram of an alternative subscription method for consuming data according to an embodiment of the invention;
FIG. 6 is a schematic diagram of an alternative subscribing device for consuming data in accordance with an embodiment of the present invention;
FIG. 7 is a schematic diagram of an alternative subscription device for consuming data in accordance with an embodiment of the invention;
FIG. 8 is a schematic diagram of an alternative subscription device for consuming data in accordance with an embodiment of the invention;
FIG. 9 is a schematic diagram of an alternative subscription device for consuming data in accordance with an embodiment of the invention;
FIG. 10 is a schematic diagram of an alternative electronic device according to an embodiment of the invention;
fig. 11 is a schematic structural diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Optionally, as an optional implementation, as shown in fig. 1, the subscription method for consuming data includes:
s102, after receiving a subscription request triggered by a target user client, a subscription platform receives a subscription instruction triggered by the subscription platform according to the subscription request, wherein the subscription request is used for requesting to push subscribed target consumption data for the target user client;
s104, responding to the subscription instruction, and determining target data attribute information corresponding to the target consumption data, wherein the target data attribute information is used for indicating the target data type of the target consumption data, the target data quantity of the target consumption data and the target pushing object of the target consumption data;
and S106, filtering the stored consumption data according to the type of the target data, the quantity of the target data and the target pushing object to obtain target consumption data, and pushing the target consumption data to the target user client.
Optionally, in this embodiment, the subscription method for consuming data may be applied, but not limited to, in a scenario where the message platform Kafka receives a subscription instruction and pushes different data to the target user client. Alternatively, Kafka may be, but is not limited to being, a high throughput distributed publish-subscribe messaging system, and may be, but is not limited to, processing all action flow data consumed in a web site. The subscription platform may include, but is not limited to, a subscription interface for detecting a target user client trigger, and a subscription instruction for storing, caching, and triggering according to a subscription request. The target data attribute information may include, but is not limited to, all data types of the target consumption data, a target data quantity corresponding to each data type of the target consumption data, and a target push object of the target consumption data. The target consumption data is pushed to the target user client, but not limited to, when the subscription platform receives that the security verification triggered by the target user client meets the preset security condition, the target consumption data obtained through filtering is processed into consumption data adaptive to the subscription platform, and the consumption data is pushed to the target user client. Alternatively, the user client may include, but is not limited to, a target program that provides local services to the target user. Optionally, the subscription platform may include, but is not limited to, a system platform for providing a subscription-related service for a user client, such as providing a resource related to a subscription for the user client, storing and/or buffering a subscription request triggered by the user client, and the like, wherein the subscription platform may include, but is not limited to, a subscription interface for detecting a target user client trigger, and a database for storing and buffering a subscription instruction triggered according to the subscription request.
After receiving a subscription request triggered by a target user client, the subscription platform receives a subscription instruction triggered by the subscription platform according to the subscription request, wherein the subscription request is used for requesting to push subscribed target consumption data for the target user client; responding to the subscription instruction, and determining target data attribute information corresponding to the target consumption data, wherein the target data attribute information is used for indicating a target data type of the target consumption data, a target data quantity of the target consumption data and a target pushing object of the target consumption data; and filtering the stored consumption data according to the type of the target data, the quantity of the target data and the target pushing object to obtain target consumption data, and pushing the target consumption data to a target user client.
For further example, as shown in fig. 2, the system includes a message platform kafka 202 and a target user client 204, and includes the following steps: step S202, the message platform kafka 202 receives and responds to a subscription instruction, and further determines target data attribute information corresponding to target consumption data to be pushed according to the subscription instruction, wherein the target data attribute information is used for indicating the type, the quantity, a pushing object and the like of the target consumption data to be pushed; step S204, the message platform kafka 202 filters the stored consumption data according to the type of the target data, the quantity of the target data and the target pushing object, so as to obtain the target consumption data to be pushed and the pushing object (the target user client 204); step S206, pushing the target consumption data to the target user client 204.
According to the embodiment provided by the application, after a subscription request triggered by a target user client is received by a subscription platform, a subscription instruction triggered by the subscription platform according to the subscription request is received, wherein the subscription request is used for requesting to push subscribed target consumption data to the target user client, and target data attribute information corresponding to the target consumption data is determined in response to the subscription instruction, wherein the target data attribute information is used for indicating a target data type of the target consumption data, a target data quantity of the target consumption data and a target push object of the target consumption data; the stored consumption data are filtered according to the type of the target data, the quantity of the target data and the target pushing object to obtain target consumption data, the target consumption data are pushed to a target user client, unnecessary consumption data are filtered out directly according to target data attribute information obtained by responding to the subscription request, and the consumption data are pushed to the user client directly, so that the technical purpose that massive consumption data are pushed to the corresponding user client in real time and on demand without grouping definition of the consumption data in advance is achieved, the technical effect of reducing the subscription complexity of the consumption data is achieved, and the technical effect of improving the subscription efficiency of the consumption data is achieved.
As an optional scheme, filtering the stored consumption data according to the type of the target data, the amount of the target data, and the target push object to obtain the target consumption data includes:
s1, traversing the stored consumption data, and executing the following operations:
s2, acquiring current data attribute information of the current consumption data, comparing the target data type of the current consumption data in the current data attribute information with the target data type, and acquiring a comparison result;
s3, under the condition that the comparison result indicates that the current data attribute information is matched with the target data attribute information, taking the current consumption data of the target data quantity as the target consumption data to be pushed to a target pushing object;
and S4, under the condition that the attribute information of the current data is not matched with the attribute information of the target data, determining that the current consumption data is not the target consumption data, skipping the current consumption data, and acquiring the next consumption data.
It should be noted that, traversing the stored consumption data, the following operations are performed: acquiring current data attribute information of current consumption data, comparing a target data type of the current consumption data in the current data attribute information with the target data type, and acquiring a comparison result; taking the current consumption data of the target data quantity as the target consumption data to be pushed to the target pushing object under the condition that the comparison result indicates that the current data attribute information is matched with the target data attribute information; and under the condition that the attribute information of the current data is not matched with the attribute information of the target data, determining that the current consumption data is not the target consumption data, skipping the current consumption data, and acquiring the next consumption data.
For further example, optionally, taking the message platform kafka as an example, the message platform kafka stores massive consumption data, and the massive consumption data records corresponding data attribute information; after obtaining the attribute information of the target data, traversing the mass consumption data and the corresponding data attribute information, for example, judging whether the data attribute information corresponding to the currently traversed consumption data matches the attribute information of the target data, in the case of matching, using the current consumption data as the target consumption data to be pushed to the target pushing object, in the case of not matching, determining that the current consumption data is not the target consumption data, skipping the current consumption data, and obtaining the next consumption data, wherein the target user client may be, but is not limited to, the target data to be pushed of the target data recorded in the attribute information of the target data.
Through the embodiment provided by the application, the stored consumption data is traversed, and the following operations are executed: acquiring current data attribute information of current consumption data, comparing a target data type of the current consumption data in the current data attribute information with the target data type, and acquiring a comparison result; taking the current consumption data of the target data quantity as the target consumption data to be pushed to the target pushing object under the condition that the comparison result indicates that the current data attribute information is matched with the target data attribute information; and under the condition that the current data attribute information is not matched with the target data attribute information, determining that the current consumption data is not the target consumption data, skipping the current consumption data, and acquiring the next consumption data, thereby achieving the purpose of improving the speed of matching the target data attribute information with the target data attribute information, and realizing the effect of improving the overall efficiency of obtaining the target consumption data.
Optionally, as an optional implementation, as shown in fig. 3, the subscription method for consuming data includes:
s302, receiving a subscription request triggered by a target user client, wherein the subscription request is used for requesting to push subscribed target consumption data for the target user client;
s304, responding to the subscription request, analyzing the target consumption data to obtain target data attribute information of the target consumption data, wherein the target data attribute information is used for indicating a target data type of the target consumption data, a target data quantity of the target consumption data and a target pushing object of the target consumption data;
s306, generating a subscription instruction according to the target data type of the target consumption data, the target data quantity of the target consumption data and the target pushing object of the target consumption data, and sending the subscription instruction to a message pushing platform, wherein the message pushing platform is used for pushing the obtained target consumption data to a target user client.
Optionally, in this embodiment, the subscription method of the consumption data may be, but is not limited to, applied in a scenario where the subscription platform pushes subscribed consumption data for the target user client according to the subscription request. Alternatively, the user client may include, but is not limited to, a target program that provides local services to the target user. Optionally, the subscription platform may include, but is not limited to, a system platform for providing a subscription-related service for a user client, such as providing a resource related to a subscription for the user client, storing and/or buffering a subscription request triggered by the user client, and the like, wherein the subscription platform may include, but is not limited to, a subscription interface for detecting a target user client trigger, and a database for storing and buffering a subscription instruction triggered according to the subscription request. The target data attribute information may include, but is not limited to, all data types of the target consumption data, a target data quantity corresponding to each data type of the target consumption data, and a target push object of the target consumption data. The target consumption data is pushed to the target user client, but not limited to, when the subscription platform receives that the security verification triggered by the target user client meets the preset security condition, the target consumption data obtained through filtering is processed into consumption data adaptive to the subscription platform, and the consumption data is pushed to the target user client. Alternatively, the message push platform may be, but is not limited to, a message push platform Kafka, wherein the message push platform Kafka may be, but is not limited to, a high throughput distributed publish-subscribe messaging system, and may be, but is not limited to, processing all action flow data consumed in a website.
It should be noted that, a subscription request triggered by a target user client is received, where the subscription request is used to request that subscribed target consumption data be pushed to the target user client; responding to the subscription request, analyzing the target consumption data to acquire target data attribute information of the target consumption data, wherein the target data attribute information is used for indicating a target data type of the target consumption data, a target data quantity of the target consumption data and a target pushing object of the target consumption data; and generating a subscription instruction according to the target data attribute information of the target consumption data, and sending the subscription instruction to a message pushing platform, wherein the message pushing platform is used for pushing the acquired target consumption data to a target user client.
For further example, as shown in fig. 4, the target user client 402, the subscription platform 404, and the message pushing platform 406 may specifically include the following steps:
s402, the target user client 402 detects the triggered subscription request and sends the subscription request to the subscription platform 404;
s404, the subscription platform 404 receives the subscription request, further responds to the subscription request, and analyzes the target consumption data corresponding to the subscription request and to be pushed to the target user client 402 so as to obtain the target consumption data attribute information of the target consumption data;
S406, the subscription platform 404 generates a subscription instruction according to the attribute information of the target consumption data, wherein the subscription instruction is used for indicating the type, the quantity and the pushing object of the target consumption data;
s408, the subscription platform 404 sends a subscription instruction to the message pushing platform 406;
s410, the message pushing platform 406 filters out the target consumption data from the stored message data according to the subscription instruction, and pushes the target consumption data to the target user client 402 according to a target pushing object of the target consumption data indicated by the subscription instruction.
According to the embodiment, a subscription request triggered by a target user client is received, wherein the subscription request is used for requesting to push subscribed target consumption data for the target user client; responding to the subscription request, analyzing the target consumption data to acquire target data attribute information of the target consumption data, wherein the target data attribute information is used for indicating a target data type of the target consumption data, a target data quantity of the target consumption data and a target pushing object of the target consumption data; according to the target data attribute information of the target consumption data, a subscription instruction is generated and sent to the message pushing platform, wherein the message pushing platform is used for pushing the obtained target consumption data to the target user client, and the message pushing platform is indicated to directly push the target consumption data to the target user client through the subscription instruction generated according to the target data attribute information obtained by responding to the subscription request, so that the technical purpose that massive consumption data can be pushed to the corresponding user client in real time and on demand without performing grouping definition on the consumption data is achieved, the technical effect of reducing the subscription complexity of the consumption data is achieved, and the technical effect of improving the subscription efficiency of the consumption data is achieved.
As an optional scheme, in response to the subscription request, parsing the target consumption data to obtain target data attribute information of the target consumption data, including:
s1, classifying and registering the target consumption data requested by the subscription request;
s2, searching the registered data records for reference consumption data with the similarity degree with the target consumption data being more than or equal to a first threshold value;
s3, under the condition that the reference consumption data are found, determining that the target consumption data are subscribed, and directly acquiring the target data attribute information of the analyzed target consumption data;
and S4, if the reference consumption data is not found, determining that the target consumption data is not subscribed, and analyzing the target consumption data to obtain the target data type, the target data quantity and the target pushing object of the target consumption data.
It should be noted that, the target consumption data requested by the subscription request is classified and registered; searching reference consumption data with the similarity degree of the target consumption data being more than or equal to a first threshold value in the registered data records; under the condition that the reference consumption data are found, determining that the target consumption data are subscribed, and directly acquiring the target data attribute information of the analyzed target consumption data; and under the condition that the reference consumption data is not found, determining that the target consumption data is not subscribed, and analyzing the target consumption data to obtain the target data type, the target data quantity and the target pushing object of the target consumption data.
By way of further example, as shown in fig. 5, for example, the subscription interface 502 and the database 504 are included, where the subscription interface 502 may be, but is not limited to, a location of a subscription request triggered on a target user client (not shown in the figure), and the database 504 may be, but is not limited to, a data repository in a subscription platform (not shown in the figure). Further, optional steps are shown, for example, as follows:
s502, a subscription platform (not shown in the figure) receives a subscription request triggered on the subscription interface 502, and stores data corresponding to the subscription request in the database 504;
s504, the subscription platform (not shown in the figure) caches data corresponding to the subscription request in a system memory of the subscription platform (not shown in the figure);
s506, the subscription platform (not shown in the figure) performs classified registration on the data corresponding to the subscription request, further searches the registered reference consumption data in the database 504, determines whether there is reference consumption data matched with the data (target consumption data) corresponding to the subscription request, and directly obtains the target data attribute information of the target consumption data (matched reference consumption data) obtained through analysis if there is reference consumption data; if not, executing S508;
s508, determining that the target consumption data is not subscribed, and analyzing the target consumption data to obtain target data attribute information of the target consumption data.
By the embodiment, the target consumption data requested by the subscription request is classified and registered; searching reference consumption data with the similarity degree of the target consumption data being more than or equal to a first threshold value in the registered data records; under the condition that the reference consumption data are found, determining that the target consumption data are subscribed, and directly acquiring the target data attribute information of the analyzed target consumption data; and under the condition that the reference consumption data is not found, determining that the target consumption data is not subscribed, and analyzing the target consumption data to obtain the target data type, the target data quantity and the target pushing object of the target consumption data, so that the technical purpose of improving the processing speed of the subscription request is achieved, and the technical effect of improving the overall processing efficiency of the system is realized.
As an optional scheme, parsing the target consumption data to obtain target data attribute information of the target consumption data includes:
s1, converting the target consumption data according to an agreed data format to obtain data to be processed;
and S2, extracting information of the data to be processed to obtain target data attribute information.
It should be noted that, the target consumption data is converted according to an agreed data format to obtain data to be processed; and extracting information of the data to be processed to obtain target data attribute information.
For further example, optionally, for example, the target consumption data subscribes to 3 refrigerators and 5 color tvs for the user a, optionally, for example, the agreed data format includes data types of refrigerators and color tvs, and then the target consumption data is converted into the refrigerators and the color tvs according to the agreed data format; specifically, the converted to-be-processed data may include, but is not limited to, that the number of refrigerator classes is 3, the number of color tv classes is 5, and the object with push is the client a where the user a is located; and then, the data to be processed is authorized to obtain the attribute information of the target data: the push object is a client A, the types are refrigerator types and color TV types, and the corresponding quantity is refrigerator type 3 and color TV type 5.
According to the embodiment provided by the application, the target consumption data are converted according to the agreed data format to obtain the data to be processed, the information of the data to be processed is extracted to obtain the attribute information of the target data, the target consumption data are converted according to the agreed data format, the technical purpose of improving the adaptability of the target consumption data and further obtaining the attribute information of the target data is achieved, and the technical effect of improving the utilization rate of a system for processing the consumption data is achieved.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiments of the present invention, there is also provided a subscription device for consumption data for implementing the above subscription method for consumption data. As shown in fig. 6, the apparatus includes:
a first receiving unit 602, configured to receive a subscription instruction triggered by a subscription platform according to a subscription request after the subscription platform receives a subscription request triggered by a target user client, where the subscription request is used to request that subscribed target consumption data is pushed to the target user client;
a first responding unit 604, configured to respond to the subscription instruction, and determine target data attribute information corresponding to the target consumption data, where the target data attribute information is used to indicate a target data type of the target consumption data, a target data quantity of the target consumption data, and a target pushing object of the target consumption data;
The filtering unit 606 is configured to filter the stored consumption data according to the type of the target data, the quantity of the target data, and the target pushing object to obtain target consumption data, and push the target consumption data to the target user client.
Optionally, in this embodiment, the subscription device for consuming data may be, but is not limited to, applied in a scenario where the subscription platform pushes subscribed consumption data for the target user client according to the subscription request. Alternatively, the user client may include, but is not limited to, a target program that provides local services to the target user. Optionally, the subscription platform may include, but is not limited to, a system platform for providing a subscription-related service for a user client, such as providing a resource related to a subscription for the user client, storing and/or buffering a subscription request triggered by the user client, and the like, wherein the subscription platform may include, but is not limited to, a subscription interface for detecting a target user client trigger, and a database for storing and buffering a subscription instruction triggered according to the subscription request. The target data attribute information may include, but is not limited to, all data types of the target consumption data, a target data quantity corresponding to each data type of the target consumption data, and a target push object of the target consumption data. The target consumption data is pushed to the target user client, but not limited to, when the subscription platform receives that the security verification triggered by the target user client meets the preset security condition, the target consumption data obtained through filtering is processed into consumption data adaptive to the subscription platform, and the consumption data is pushed to the target user client. Alternatively, the message push platform may be, but is not limited to, a message push platform Kafka, wherein the message push platform Kafka may be, but is not limited to, a high throughput distributed publish-subscribe messaging system, and may be, but is not limited to, processing all action flow data consumed in a website.
It should be noted that, a subscription request triggered by a target user client is received, where the subscription request is used to request that subscribed target consumption data be pushed to the target user client; responding to the subscription request, analyzing the target consumption data to acquire target data attribute information of the target consumption data, wherein the target data attribute information is used for indicating a target data type of the target consumption data, a target data quantity of the target consumption data and a target pushing object of the target consumption data; and generating a subscription instruction according to the target data attribute information of the target consumption data, and sending the subscription instruction to a message pushing platform, wherein the message pushing platform is used for pushing the acquired target consumption data to a target user client.
For a specific embodiment, reference may be made to the example shown in the foregoing subscription method for consuming data, and details are not described herein in this example.
According to the embodiment, a subscription request triggered by a target user client is received, wherein the subscription request is used for requesting to push subscribed target consumption data for the target user client; responding to the subscription request, analyzing the target consumption data to acquire target data attribute information of the target consumption data, wherein the target data attribute information is used for indicating a target data type of the target consumption data, a target data quantity of the target consumption data and a target pushing object of the target consumption data; according to the target data attribute information of the target consumption data, a subscription instruction is generated and sent to the message pushing platform, wherein the message pushing platform is used for pushing the obtained target consumption data to the target user client, and the message pushing platform is indicated to directly push the target consumption data to the target user client through the subscription instruction generated according to the target data attribute information obtained by responding to the subscription request, so that the technical purpose that massive consumption data can be pushed to the corresponding user client in real time and on demand without performing grouping definition on the consumption data is achieved, the technical effect of reducing the subscription complexity of the consumption data is achieved, and the technical effect of improving the subscription efficiency of the consumption data is achieved.
As an alternative, as shown in fig. 7, the filtering unit 606 includes:
a traversal module 702 configured to traverse the stored consumption data and perform the following operations:
an obtaining module 704, configured to obtain current data attribute information of current consumption data, compare a target data type of the current consumption data in the current data attribute information with the target data type, and obtain a comparison result;
a first determining module 706, configured to, when the comparison result indicates that the current data attribute information matches the target data attribute information, use the current consumption data of the target data amount as target consumption data to be pushed to a target pushing object;
a second determining module 708, configured to determine that the current consumption data is not the target consumption data, skip the current consumption data, and obtain the next consumption data when the current data attribute information is not matched with the target data attribute information.
For a specific embodiment, reference may be made to the example shown in the foregoing subscription method for consuming data, and details are not described herein in this example.
According to another aspect of the embodiments of the present invention, there is also provided a subscription device for consumption data for implementing the above subscription method for consumption data. As shown in fig. 8, the apparatus includes:
A second receiving unit 802, configured to receive a subscription request triggered by a target user client, where the subscription request is used to request that subscribed target consumption data be pushed to the target user client;
a second responding unit 804, configured to respond to the subscription request, parse the target consumption data to obtain target data attribute information of the target consumption data, where the target data attribute information is used to indicate a target data type of the target consumption data, a target data quantity of the target consumption data, and a target pushing object of the target consumption data;
the generating unit 806 is configured to generate a subscription instruction according to the target data attribute information of the target consumption data, and send the subscription instruction to a message pushing platform, where the message pushing platform is configured to push the acquired target consumption data to a target user client.
Optionally, in this embodiment, the subscription device for consuming data may be, but is not limited to, applied in a scenario where the subscription platform pushes subscribed consumption data for the target user client according to the subscription request. Alternatively, the user client may include, but is not limited to, a target program that provides local services to the target user. Optionally, the subscription platform may include, but is not limited to, a system platform for providing a subscription-related service for a user client, such as providing a resource related to a subscription for the user client, storing and/or buffering a subscription request triggered by the user client, and the like, wherein the subscription platform may include, but is not limited to, a subscription interface for detecting a target user client trigger, and a database for storing and buffering a subscription instruction triggered according to the subscription request. The target data attribute information may include, but is not limited to, all data types of the target consumption data, a target data quantity corresponding to each data type of the target consumption data, and a target push object of the target consumption data. The target consumption data is pushed to the target user client, but not limited to, when the subscription platform receives that the security verification triggered by the target user client meets the preset security condition, the target consumption data obtained through filtering is processed into consumption data adaptive to the subscription platform, and the consumption data is pushed to the target user client. Alternatively, the message push platform may be, but is not limited to, a message push platform Kafka, wherein the message push platform Kafka may be, but is not limited to, a high throughput distributed publish-subscribe messaging system, and may be, but is not limited to, processing all action flow data consumed in a website.
It should be noted that, a subscription request triggered by a target user client is received, where the subscription request is used to request that subscribed target consumption data be pushed to the target user client; responding to the subscription request, analyzing the target consumption data to acquire target data attribute information of the target consumption data, wherein the target data attribute information is used for indicating a target data type of the target consumption data, a target data quantity of the target consumption data and a target pushing object of the target consumption data; and generating a subscription instruction according to the target data attribute information of the target consumption data, and sending the subscription instruction to a message pushing platform, wherein the message pushing platform is used for pushing the acquired target consumption data to a target user client.
For a specific embodiment, reference may be made to the example shown in the foregoing subscription method for consuming data, and details are not described herein in this example.
According to the embodiment, a subscription request triggered by a target user client is received, wherein the subscription request is used for requesting to push subscribed target consumption data for the target user client; responding to the subscription request, analyzing the target consumption data to acquire target data attribute information of the target consumption data, wherein the target data attribute information is used for indicating a target data type of the target consumption data, a target data quantity of the target consumption data and a target pushing object of the target consumption data; according to the target data attribute information of the target consumption data, a subscription instruction is generated and sent to the message pushing platform, wherein the message pushing platform is used for pushing the obtained target consumption data to the target user client, and the message pushing platform is indicated to directly push the target consumption data to the target user client through the subscription instruction generated according to the target data attribute information obtained by responding to the subscription request, so that the technical purpose that massive consumption data can be pushed to the corresponding user client in real time and on demand without performing grouping definition on the consumption data is achieved, the technical effect of reducing the subscription complexity of the consumption data is achieved, and the technical effect of improving the subscription efficiency of the consumption data is achieved.
As an alternative, as shown in fig. 9, the second response unit 804 includes:
a classification module 902, configured to perform classification registration on the target consumption data requested by the subscription request;
a searching module 904, configured to search the registered data records for reference consumption data with similarity to the target consumption data being greater than or equal to a first threshold;
a third determining module 906, configured to determine that the target consumption data is subscribed when the reference consumption data is found, and directly obtain a target data type, a target data quantity, and a target pushing object of the analyzed target consumption data;
a fourth determining module 908, configured to determine that the target consumption data is not subscribed and parse the target consumption data to obtain the target data attribute information of the target consumption data if the reference consumption data is not found.
For a specific embodiment, reference may be made to the example shown in the foregoing subscription method for consuming data, and details are not described herein in this example.
As an alternative, the fourth determining module 908 includes:
the conversion subunit is used for converting the target consumption data according to an agreed data format to obtain data to be processed;
And the extraction subunit is used for extracting information of the data to be processed to obtain the attribute information of the target data.
For a specific embodiment, reference may be made to the example shown in the foregoing subscription method for consuming data, and details are not described herein in this example.
According to yet another aspect of the embodiments of the present invention, there is also provided an electronic device for implementing the above subscription method for consumption data, as shown in fig. 10, the electronic device includes a memory 1002 and a processor 1004, the memory 1002 stores a computer program, and the processor 1004 is configured to execute the steps in any one of the above method embodiments through the computer program.
Optionally, in this embodiment, the electronic apparatus may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, after receiving a subscription request triggered by a target user client by the subscription platform, receiving a subscription instruction triggered by the subscription platform according to the subscription request, wherein the subscription request is used for requesting to push subscribed target consumption data for the target user client;
S2, responding to the subscription instruction, determining target data attribute information corresponding to the target consumption data, wherein the target data attribute information is used for indicating the target data type of the target consumption data, the target data quantity of the target consumption data and the target pushing object of the target consumption data;
and S3, filtering the stored consumption data according to the target data type, the target data quantity and the target pushing object to obtain target consumption data, and pushing the target consumption data to the target user client.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 10 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 10 is a diagram illustrating a structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 10, or have a different configuration than shown in FIG. 10.
The memory 1002 may be used to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for subscribing to consumption data in the embodiment of the present invention, and the processor 1004 executes various functional applications and data processing by running the software programs and modules stored in the memory 1002, that is, implementing the above-described method for subscribing to consumption data. The memory 1002 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1002 may further include memory located remotely from the processor 1004, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 1002 may be specifically, but not limited to, used to store information such as a subscription request, a subscription instruction, consumption data, and data attribute information. As an example, as shown in fig. 10, the memory 1002 may include, but is not limited to, the first receiving unit 602, the first responding unit 604, and the filtering unit 606 in the subscription device that includes the consumption data. In addition, the data subscription device may further include, but is not limited to, other module units in the data subscription device, which is not described in this example again.
Optionally, the above-mentioned transmission device 1006 is used for receiving or sending data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 1006 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices so as to communicate with the internet or a local area Network. In one example, the transmission device 1006 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In addition, the electronic device further includes: a display 1008 for displaying the above subscription request, subscription instruction, consumption data, data attribute information, and other information; and a connection bus 1010 for connecting the respective module parts in the above-described electronic apparatus.
According to yet another aspect of the embodiments of the present invention, there is also provided an electronic device for implementing the above subscription method for consuming data, as shown in fig. 11, the electronic device includes a memory 1102 and a processor 1104, the memory 1102 stores therein a computer program, and the processor 1104 is configured to execute the steps in any one of the above method embodiments through the computer program.
Optionally, in this embodiment, the electronic apparatus may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, receiving a subscription request triggered by a target user client, wherein the subscription request is used for requesting to push subscribed target consumption data for the target user client;
s2, responding to the subscription request, analyzing the target consumption data to obtain target data attribute information of the target consumption data, wherein the target data attribute information is used for indicating a target data type of the target consumption data, a target data quantity of the target consumption data and a target pushing object of the target consumption data;
and S3, generating a subscription instruction according to the target data type of the target consumption data, the target data quantity of the target consumption data and the target pushing object of the target consumption data, and sending the subscription instruction to a message pushing platform, wherein the message pushing platform is used for pushing the acquired target consumption data to a target user client.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 11 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 11 is a diagram illustrating a structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 11, or have a different configuration than shown in FIG. 11.
The memory 1102 may be used to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for subscribing to consumption data in the embodiment of the present invention, and the processor 1104 executes various functional applications and data processing by executing the software programs and modules stored in the memory 1102, that is, implements the above-mentioned method for subscribing to consumption data. The memory 1102 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1102 may further include memory located remotely from the processor 1104, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 1102 may be specifically, but not limited to, used to store information such as a subscription request, a subscription instruction, consumption data, and data attribute information. As an example, as shown in fig. 11, the memory 1102 may include, but is not limited to, a second receiving unit 802, a second responding unit 804 and a generating unit 806 in the subscription device that includes the consumption data. In addition, the data subscription device may further include, but is not limited to, other module units in the data subscription device, which is not described in this example again.
Optionally, the transmitting device 1106 is used for receiving or transmitting data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 1106 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmission device 1106 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In addition, the electronic device further includes: a display 1108 for displaying the information such as the subscription request, the subscription instruction, the consumption data, and the data attribute information; and a connection bus 1111 for connecting the respective module components in the above-described electronic apparatus.
According to a further aspect of an embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
S1, receiving a subscription request triggered by a target user client, wherein the subscription request is used for requesting to push subscribed target consumption data for the target user client;
s2, responding to the subscription request, analyzing the target consumption data to obtain target data attribute information of the target consumption data, wherein the target data attribute information is used for indicating a target data type of the target consumption data, a target data quantity of the target consumption data and a target pushing object of the target consumption data;
and S3, generating a subscription instruction according to the target data attribute information of the target consumption data, and sending the subscription instruction to a message pushing platform, wherein the message pushing platform is used for pushing the acquired target consumption data to a target user client.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware related to the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including instructions for causing one or more computer devices (which may be personal computers, servers, network devices, or the like) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another 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, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may also 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 foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A subscription method for consuming data, comprising:
after a subscription request triggered by a target user client is received by a subscription platform, receiving a subscription instruction triggered by the subscription platform according to the subscription request, wherein the subscription request is used for requesting to push subscribed target consumption data for the target user client;
Responding to the subscription instruction, and determining target data attribute information corresponding to the target consumption data, wherein the target data attribute information is used for indicating a target data type of the target consumption data, a target data quantity of the target consumption data, and a target pushing object of the target consumption data;
and filtering the stored consumption data according to the type of the target data, the quantity of the target data and the target pushing object to obtain the target consumption data, and pushing the target consumption data to the target user client.
2. The method of claim 1, wherein the filtering the stored consumption data according to the target data attribute information to obtain the target consumption data comprises:
traversing the stored consumption data, performing the following operations:
acquiring current data attribute information of current consumption data, comparing a target data type of the current consumption data in the current data attribute information with the target data type, and acquiring a comparison result;
taking the current consumption data of the target data quantity as the target consumption data to be pushed to the target pushing object under the condition that the comparison result indicates that the current data attribute information is matched with the target data attribute information;
And under the condition that the attribute information of the current data is not matched with the attribute information of the target data, determining that the current consumption data is not the target consumption data, skipping the current consumption data, and acquiring the next consumption data.
3. A subscription method for consuming data, comprising:
receiving a subscription request triggered by a target user client, wherein the subscription request is used for requesting to push subscribed target consumption data for the target user client;
responding to the subscription request, analyzing the target consumption data to acquire target data attribute information of the target consumption data, wherein the target data attribute information is used for indicating a target data type of the target consumption data, a target data quantity of the target consumption data and a target pushing object of the target consumption data;
and generating a subscription instruction according to the type of the target data, the quantity of the target data and the target pushing object, and sending the subscription instruction to a message pushing platform, wherein the message pushing platform is used for pushing the acquired target consumption data to the target user client.
4. The method of claim 3, wherein parsing the target consumption data to obtain target data attribute information of the target consumption data in response to the subscription request comprises:
performing classified registration on the target consumption data requested by the subscription request;
searching reference consumption data with the similarity degree of the target consumption data being more than or equal to a first threshold value in the registered data records;
under the condition that the reference consumption data is found, determining that the target consumption data is subscribed, and directly acquiring the target data type, the target data quantity and the target pushing object of the target consumption data obtained by analysis;
and under the condition that the reference consumption data is not found, determining that the target consumption data is not subscribed, and analyzing the target consumption data to obtain target data attribute information of the target consumption data.
5. The method of claim 3, wherein parsing the target consumption data to obtain target data attribute information of the target consumption data comprises:
converting the target consumption data according to an agreed data format to obtain data to be processed;
And extracting information of the data to be processed to obtain the attribute information of the target data.
6. A subscription device that consumes data, comprising:
the first receiving unit is used for receiving a subscription instruction triggered by a subscription platform according to a subscription request after the subscription platform receives the subscription request triggered by a target user client, wherein the subscription request is used for requesting to push subscribed target consumption data to the target user client;
a first response unit, configured to determine, in response to the subscription instruction, target data attribute information corresponding to the target consumption data, where the target data attribute information is used to indicate a target data type of the target consumption data, a target data quantity of the target consumption data, and a target push object of the target consumption data;
and the filtering unit is used for filtering the stored consumption data according to the type of the target data, the quantity of the target data and the pushing object to obtain the target consumption data and pushing the target consumption data to the target user client.
7. The apparatus of claim 6, wherein the filter unit comprises:
A traversal module for traversing the stored consumption data, performing the following operations:
the acquisition module is used for acquiring current data attribute information of current consumption data, comparing a target data type of the current consumption data in the current data attribute information with the target data type, and acquiring a comparison result;
a first determining module, configured to, when the comparison result indicates that the current data attribute information matches the target data attribute information, use the current consumption data of the target data amount as the target consumption data to be pushed to the target pushing object;
and a second determining module, configured to determine that the current consumption data is not the target consumption data, skip the current consumption data, and obtain next consumption data when the current data attribute information does not match the target data attribute information.
8. A subscription device that consumes data, comprising:
the second receiving unit is used for receiving a subscription request triggered by a target user client, wherein the subscription request is used for requesting to push subscribed target consumption data for the target user client;
A second response unit, configured to respond to the subscription request, parse the target consumption data to obtain target data attribute information of the target consumption data, where the target data attribute information is used to indicate a target data type of the target consumption data, a target data quantity of the target consumption data, and a target push object of the target consumption data;
the generating unit is used for generating a subscription instruction according to the target data type, the target data quantity and the target pushing object of the target consumption data, and sending the subscription instruction to a message pushing platform, wherein the message pushing platform is used for pushing the obtained target consumption data to the target user client.
9. A computer-readable storage medium comprising a stored program, wherein the program when executed performs the method of any of claims 1 to 5.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 5 by means of the computer program.
CN202010670801.4A 2020-07-13 2020-07-13 Subscription method and device of consumption data and storage medium Pending CN111859127A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010670801.4A CN111859127A (en) 2020-07-13 2020-07-13 Subscription method and device of consumption data and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010670801.4A CN111859127A (en) 2020-07-13 2020-07-13 Subscription method and device of consumption data and storage medium

Publications (1)

Publication Number Publication Date
CN111859127A true CN111859127A (en) 2020-10-30

Family

ID=72982937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010670801.4A Pending CN111859127A (en) 2020-07-13 2020-07-13 Subscription method and device of consumption data and storage medium

Country Status (1)

Country Link
CN (1) CN111859127A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113098978A (en) * 2021-04-21 2021-07-09 上海微盟企业发展有限公司 Data transmission method, device and medium
CN114039961A (en) * 2021-10-08 2022-02-11 中移(杭州)信息技术有限公司 Message pushing method, device, server and storage medium based on WebSocket
CN116032849A (en) * 2022-12-22 2023-04-28 中国电信股份有限公司 Data exchange method, device, system and electronic equipment
CN116032849B (en) * 2022-12-22 2024-05-24 中国电信股份有限公司 Data exchange method, device, system and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176795A (en) * 2013-02-04 2013-06-26 中国电子科技集团公司第二十八研究所 Method for applying plug-in technology to data filtering of information distribution software
CN105488223A (en) * 2015-12-28 2016-04-13 中国民航信息网络股份有限公司 Analyzing and subscribing method and system of business data events
CN107465766A (en) * 2017-09-21 2017-12-12 掌阅科技股份有限公司 Information-pushing method, electronic equipment and computer-readable storage medium
CN110717095A (en) * 2019-09-03 2020-01-21 口碑(上海)信息技术有限公司 Service item pushing method and device
CN111026972A (en) * 2019-12-26 2020-04-17 远景智能国际私人投资有限公司 Subscription data pushing method, device, equipment and storage medium in Internet of things

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176795A (en) * 2013-02-04 2013-06-26 中国电子科技集团公司第二十八研究所 Method for applying plug-in technology to data filtering of information distribution software
CN105488223A (en) * 2015-12-28 2016-04-13 中国民航信息网络股份有限公司 Analyzing and subscribing method and system of business data events
CN107465766A (en) * 2017-09-21 2017-12-12 掌阅科技股份有限公司 Information-pushing method, electronic equipment and computer-readable storage medium
CN110717095A (en) * 2019-09-03 2020-01-21 口碑(上海)信息技术有限公司 Service item pushing method and device
CN111026972A (en) * 2019-12-26 2020-04-17 远景智能国际私人投资有限公司 Subscription data pushing method, device, equipment and storage medium in Internet of things

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113098978A (en) * 2021-04-21 2021-07-09 上海微盟企业发展有限公司 Data transmission method, device and medium
CN114039961A (en) * 2021-10-08 2022-02-11 中移(杭州)信息技术有限公司 Message pushing method, device, server and storage medium based on WebSocket
CN116032849A (en) * 2022-12-22 2023-04-28 中国电信股份有限公司 Data exchange method, device, system and electronic equipment
CN116032849B (en) * 2022-12-22 2024-05-24 中国电信股份有限公司 Data exchange method, device, system and electronic equipment

Similar Documents

Publication Publication Date Title
CN103970793B (en) Information query method, client and server
CN105451087A (en) Pushing method, terminals, historical data server and system for barrage information
CN110446273B (en) Networking method and device based on electronic price tags
CN109977296B (en) Information pushing method, device, equipment and storage medium
CN105100032A (en) Method and apparatus for preventing resource steal
CN105827694B (en) Method and device for acquiring network resources
CN105407316A (en) Implementation method for intelligent camera system, intelligent camera system, and network camera
KR20100127215A (en) Multiple-level message filtering
CN107666515B (en) Image processing method and device, computer equipment, computer readable storage medium
CN111859127A (en) Subscription method and device of consumption data and storage medium
CN102118451B (en) Method and device for handling uploaded user resources
CN104639593A (en) Information sharing method and system, browser and server
CN116055551A (en) Information pushing method, device and system, electronic equipment and storage medium
CN103581199A (en) Method and system for showing services in client terminal under multi-screen interaction scene
CN114039961A (en) Message pushing method, device, server and storage medium based on WebSocket
CN110049358B (en) Television-based article pushing method and system
CN103209199B (en) A kind of method and information carrying means of transmission information
CN111080362A (en) Advertisement monitoring system and method
CN107690057B (en) Conference video data interaction method and device
CN113407541B (en) Data acquisition method, data acquisition equipment, storage medium and device
CN106803830B (en) Method, device and system for identifying internet access terminal and User Identity Module (UIM) card
CN115037654A (en) Flow statistical method and device, electronic equipment and readable storage medium
CN111159509B (en) Data processing method and related product
CN114205178A (en) Equipment linkage method and device, storage medium and electronic equipment
Costa-Montenegro et al. Which App? A recommender system of applications in markets by monitoring users' interaction

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