CN112954065A - Data pushing method and device, electronic equipment and storage medium - Google Patents

Data pushing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112954065A
CN112954065A CN202110216179.4A CN202110216179A CN112954065A CN 112954065 A CN112954065 A CN 112954065A CN 202110216179 A CN202110216179 A CN 202110216179A CN 112954065 A CN112954065 A CN 112954065A
Authority
CN
China
Prior art keywords
data
pushing
pushed
push
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.)
Granted
Application number
CN202110216179.4A
Other languages
Chinese (zh)
Other versions
CN112954065B (en
Inventor
林惠武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Entropy Technology Co Ltd
Original Assignee
Xiamen Entropy 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 Xiamen Entropy Technology Co Ltd filed Critical Xiamen Entropy Technology Co Ltd
Priority to CN202110216179.4A priority Critical patent/CN112954065B/en
Publication of CN112954065A publication Critical patent/CN112954065A/en
Application granted granted Critical
Publication of CN112954065B publication Critical patent/CN112954065B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a data pushing method, a data pushing device, electronic equipment and a storage medium, wherein the method comprises the following steps: receiving equipment data uploaded by a preset equipment terminal; converting the equipment data into service data through a preset service module; extracting a key and a data type from the business data; pushing and verifying the service data according to the key and the data type to obtain data to be pushed; and pushing the data to be pushed. After receiving device data uploaded by a preset device end, the device data are converted into service data carrying a secret key and a data type; therefore, the encryption condition and the pushing type of the business data can be determined according to the data type and the secret key, and whether the business data is used as the data to be pushed currently is determined to be pushed or not, so that the safety and the real-time performance of data pushing are realized.

Description

Data pushing method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of data pushing technologies, and in particular, to a data pushing method and apparatus, an electronic device, and a storage medium.
Background
Data push is similar to a data callback function in an open platform, and most open platforms have the function, but the open platforms in the market at present can only meet the requirement of subscribing. Thereby causing the following problems to occur.
1) When the data concurrency is large, the more urgent data cannot be pushed to a third party in real time;
2) the third party user cannot independently determine an encryption mode and a secret key, and the safety is poor;
3) in the data pushing process, unnecessary data are easily pushed to a third party together, so that the data processing pressure of the third party is increased;
4) when a third party occupies the pushing resource due to abnormal data receiving service, the data pushing of other third parties is affected.
Disclosure of Invention
The invention provides a data pushing method, a data pushing device, electronic equipment and a storage medium, which are used for solving the technical problems that an open platform in the prior art can only meet the requirement of subscribing and cannot ensure the real-time performance and the safety of data pushing.
The invention provides a data pushing method which is applied to an open platform of cloud equipment, and the method comprises the following steps:
receiving equipment data uploaded by a preset equipment terminal;
converting the equipment data into service data through a preset service module;
extracting a key and a data type from the service data;
carrying out pushing verification on the service data according to the secret key and the data type to obtain data to be pushed;
and pushing the data to be pushed.
Optionally, the step of performing push verification on the service data according to the key and the data type to obtain data to be pushed includes:
inquiring corresponding application information according to the secret key;
when the application information is inquired, enabling information is detected in the application information;
when the enabling information is detected, push opening information is detected in the application information;
when the push starting information is detected, inquiring the push setting of the service data in the application information;
and when the push setting is inquired, matching the data grade corresponding to the data type, and adding the service data into the message queue corresponding to the data grade to be used as the data to be pushed.
Optionally, the step of pushing the data to be pushed includes:
attribution information is extracted from the data to be pushed, and pushing configuration of an application corresponding to the data to be pushed is determined according to the attribution information;
and pushing the data to be pushed to a third party terminal corresponding to the application according to the pushing configuration.
Optionally, after the step of pushing the data to be pushed to a preset third party terminal according to the pushing configuration, the method further includes:
judging whether the data to be pushed is pushed successfully or not;
if not, transferring the data to be pushed from the pushing queue to a preset deadlock queue, and carrying out secondary pushing through the deadlock queue;
and when the secondary pushing fails, storing the data to be pushed to a preset transfer station data table, sending a preset mail to the third-party terminal, and triggering a timed pushing operation.
The invention also provides a data pushing device, which is applied to the cloud end equipment open platform, and the device comprises:
the device data receiving module is used for receiving device data uploaded by a preset device end;
the service data conversion module is used for converting the equipment data into service data through a preset service module;
the key and data type extraction module is used for extracting a key and a data type from the service data;
the data to be pushed generating module is used for carrying out pushing verification on the service data according to the secret key and the data type to obtain data to be pushed;
and the pushing module is used for pushing the data to be pushed.
Optionally, the to-be-pushed data generating module includes:
the application information query submodule is used for querying corresponding application information according to the secret key;
the enabling information detection sub-module is used for detecting enabling information in the application information when the application information is inquired;
the push opening information detection submodule is used for detecting push opening information in the application information when the enabling information is detected;
the push setting query submodule is used for querying the push setting of the service data in the application information when the push starting information is detected;
and the data to be pushed generation submodule is used for matching the data grade corresponding to the data type when the pushing setting is inquired, and adding the service data into the message queue corresponding to the data grade to be used as the data to be pushed.
Optionally, the pushing module includes:
the push configuration determining submodule is used for extracting attribution information from the data to be pushed and determining the push configuration of the application corresponding to the data to be pushed according to the attribution information;
and the pushing submodule pushes the data to be pushed to a third-party terminal corresponding to the application according to the pushing configuration.
Optionally, the apparatus further comprises:
the judging module is used for judging whether the data to be pushed is pushed successfully or not;
the secondary pushing module is used for transferring the data to be pushed from the pushing queue to a preset credit line queue and carrying out secondary pushing through the credit line queue if the data to be pushed is not in the preset credit line queue;
and the transfer storage module is used for storing the data to be pushed to a preset transfer station data table, sending a preset mail to the third-party terminal and triggering a timing pushing operation when the secondary pushing fails.
The invention also provides an electronic device comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the data pushing method according to any one of the above instructions in the program code.
The present invention also provides a computer-readable storage medium for storing program code for performing the data push method as described in any one of the above.
According to the technical scheme, the invention has the following advantages: after receiving device data uploaded by a preset device end, the device data are converted into service data carrying a secret key and a data type; therefore, the encryption condition and the pushing type of the business data can be determined according to the data type and the secret key, and whether the business data is used as the data to be pushed currently is determined to be pushed or not, so that the safety and the real-time performance of data pushing are realized.
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 only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating steps of a data pushing method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of a data pushing method according to another embodiment of the present invention;
fig. 3 is a flowchart of a data pushing method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a data pushing apparatus according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a data pushing method, a data pushing device, electronic equipment and a storage medium, which are used for solving the technical problems that an open platform in the prior art can only meet the requirement of subscribing and cannot ensure the real-time performance and the safety of data pushing.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below 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.
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of a data pushing method according to an embodiment of the present invention.
The invention provides a data pushing method, which is applied to an open platform of cloud equipment and specifically comprises the following steps:
step 101, receiving equipment data uploaded by a preset equipment terminal;
in the embodiment of the invention, the preset equipment end can be used for card punching equipment, access control equipment and the like, is used for employee attendance checking, access control management and the like, and can send corresponding equipment data to the cloud equipment open platform for data processing. Wherein, the equipment data can include attendance record, entrance guard's record of coming in and going out etc..
Step 102, converting the equipment data into service data through a preset service module;
after receiving the device data, the cloud device open platform can process the device data through the proxy server and the rule engine and then reach the service module, and the service module can add attribution information in the device data to generate service data; and then calling a data pushing interface provided by a pushing center, and sending the service data to the data pushing interface.
The proxy server is responsible for receiving the equipment data and authenticating the equipment data, and when the authentication is passed, the equipment data is forwarded to the rule engine; the rule engine comprises operations of equipment data conversion and forwarding, equipment data of the same type of business can be converted into one data format, and for example, all attendance data can be converted into the same data format.
It should be noted that there may be a plurality of service modules, such as an equipment management module, an attendance module, and an access control module. Different device data are processed by the corresponding service module. For example, the basic event message of the equipment is sent to the equipment management module for processing, and the attendance record is sent to the attendance module for processing.
103, extracting a key and a data type from the business data;
after the push center of the cloud device open platform receives the service data, the key (appKey) and the data type (sid) can be extracted from the message body of the service data.
Wherein, appKey is used for interface authentication and data authentication.
Step 104, carrying out pushing verification on the service data according to the secret key and the data type to obtain data to be pushed;
after the key and the data type are obtained, push verification can be performed based on the key and the data type to determine the data to be pushed which meets the push requirement.
And 105, pushing the data to be pushed.
After the data to be pushed is obtained, the data to be pushed can be pushed to a target receiving object.
After receiving device data uploaded by a preset device end, the device data are converted into service data carrying a secret key and a data type; therefore, the encryption condition and the pushing type of the business data can be determined according to the data type and the secret key, and whether the business data is used as the data to be pushed currently is determined to be pushed or not, so that the safety and the real-time performance of data pushing are realized.
Referring to fig. 2, fig. 2 is a flowchart illustrating a data pushing method according to another embodiment of the present invention. The method specifically comprises the following steps:
step 201, receiving device data uploaded by a preset device terminal;
step 202, converting the device data into service data through a preset service module;
step 203, extracting a key and a data type from the business data;
the steps 201-203 are the same as the steps 101-103, and the description of the steps 101-103 can be referred to specifically, and the embodiment of the present invention is not repeated.
Step 204, pushing and verifying the service data according to the key and the data type to obtain data to be pushed;
in the embodiment of the invention, after the cloud device open platform obtains the key and the data type, pushing verification can be performed based on the key and the data type to determine the data to be pushed which meets the pushing requirement.
In one example, step 204 may include the following sub-steps:
s41, inquiring corresponding application information according to the key;
s42, when the application information is inquired, enabling information is detected in the application information;
s43, when the enabling information is detected, push opening information is detected in the application information;
s44, when the push opening information is detected, inquiring the push setting of the service data in the application information;
and S45, when the push setting is inquired, matching the data grade corresponding to the data type, and adding the service data into the message queue corresponding to the data grade as the data to be pushed.
In the specific implementation, after a pushing center of an open platform of a pushing cloud device receives service data, firstly, service data appKey and sid are obtained, application information of corresponding applications is inquired according to appKey, whether the applications exist is detected, if the applications exist, whether the applications are started is detected, if the applications do not exist, the application is ended, and if the applications do not exist, whether an application pushing switch is opened is detected; if the pushing type of the cloud equipment open platform does not contain the data type of the service data, the pushing is finished, if the pushing type of the data is set, whether the pushing setting of the data is set by the application or not is detected, and specifically, whether the pushing type of the cloud equipment open platform contains the data type of the service data or not can be judged; if the conditions are not met, the process is ended, if the conditions are met, the data grades corresponding to the sids of the service data are matched, the service data are added into the message queues corresponding to the data grades to be used as data to be pushed, and the data are pushed in sequence according to the pushing sequence of the message queues.
In the embodiment of the present invention, an application may be understood as a scene or a sandbox, and the appKey and AppSecret attributes are included in the application and are used for interface authentication and data authentication.
The data grade refers to a grade defined according to the degree of urgency of the data, and different grades correspond to different pushing routes.
It should be noted that the message queue may use RabbitMQ, and may also use other message middleware, and the present invention is not limited in this respect.
Step 205, extracting attribution information from the data to be pushed, and determining pushing configuration of an application corresponding to the data to be pushed according to the attribution information;
and step 206, pushing the data to be pushed to the third party terminal corresponding to the application according to the pushing configuration.
In the embodiment of the invention, after the message queue takes the data to be pushed, the application to which the data to be pushed belongs can be acquired from the message body of the data to be pushed, and the pushing configuration in the application is retrieved for real-time pushing.
The third party refers to a third party developer, namely an application developer accessing to the cloud device open platform.
In a specific implementation, before pushing, a url needs to be assembled and a message body needs to be generated, where the url may be composed of a base address and a signature authentication parameter, and the specification is as follows:
$ 3rdCallBackUrl }? the parameters are defined in table 1:
Figure BDA0002953870320000071
TABLE 1
The message body can be divided into plaintext and ciphertext, wherein the ciphertext is a key which determines whether to start encryption and corresponding setting according to the requirement of a third party on data security. In one example, the entire data to be pushed may be plaintext for encryption. Its corresponding plaintext message specification may be as follows:
Figure BDA0002953870320000081
further, after the data to be pushed is pushed, it needs to be determined whether the pushing is successful or not, so as to determine whether to push again, specifically, the process may include the following steps:
step 207, judging whether the data to be pushed is successfully pushed;
step 208, if not, transferring the data to be pushed from the pushing queue to a preset deadlock queue, and performing secondary pushing through the deadlock queue;
and 209, when the secondary pushing fails, storing the data to be pushed to a preset transfer station data table, sending a preset mail to the third-party terminal, and triggering a timed pushing operation.
In the embodiment of the invention, the transfer station is used for storing the data to be pushed which is failed in pushing and is not archived, and is used for attempting pushing within the transfer validity period so as to avoid data loss.
In a specific implementation, when it is detected that the data to be pushed is successfully pushed, the data to be pushed can be removed from the message queue; and when the pushing failure of the data to be pushed is detected, carrying out secondary real-time pushing on the data to be pushed. It should be noted that, in order to avoid the main push queue occupying too long, the data failed in the first push may be added to the corresponding deadlock queue for the second push. The process can avoid that a certain third party occupies the pushing resource abnormally due to the data receiving service and influences the data pushing of other third parties.
If the second pushing fails, the data to be pushed can be stored in a preset transfer station data table, and a preset mail is triggered to be pushed to a third-party terminal. The preset mail can be used for notifying a third party of a message of failed sending of the data to be pushed. Further, to avoid that the data to be pushed which fails to be pushed is accumulated in the data table of the transfer station for a long time, the lifetime of the data in the transfer station may be set, for example, 48 hours, and if the data to be pushed is not successfully pushed to the third party terminal within 48 hours, the data to be pushed may be directly archived and deleted from the transfer station. Further, the platform may choose to try to push multiple times in the survival time, and if the pushing is successful, the pushing is directly deleted from the transfer station, and if the pushing is failed, the platform still survives in the transfer station until the next pushing is successful or the storage time reaches the survival time node. In addition, the third party may also choose to actively trigger the push of the data to be pushed again, which is not specifically limited by the present invention.
After receiving device data uploaded by a preset device end, the device data are converted into service data carrying a secret key and a data type; therefore, the encryption condition and the pushing type of the business data can be determined according to the data type and the secret key, and whether the business data is used as the data to be pushed currently is determined to be pushed or not, so that the safety and the real-time performance of data pushing are realized.
It should be noted that, in the embodiment of the present invention, in order to implement data push, a third party needs to perform basic configuration. The method specifically comprises the following steps:
1. registering to become a developer, creating an application and obtaining a secret key;
2. entering application setting data push related configuration, comprising the following steps:
a) configuring url addresses of received data
b) Signature authentication
And setting url request signature authentication token for filtering illegal requests, and optionally configuring whether to use the token or not by a third party.
c) Data encryption switch for setting encryption key
The configuration item is optional, a third party can perform data encryption configuration according to the data security level requirement, select whether encryption is needed, and configure a corresponding encryption key, and here, a fixed algorithm (such as AES128(AES/ECB/PKCS5Padding)) can be directly agreed by a platform, or an optional algorithm can be provided.
d) Pushing data items
According to the actual requirements of the third party, data needing to be pushed by the platform is selected, and the platform can push the data to the third party according to the corresponding selection and the requirements.
Note: after the data push configuration is completed, the configuration is clipped in the memory db (redis) for fast retrieval during subsequent push, thereby improving performance.
3. Starting a data receiving service;
4. adding equipment and connecting equipment.
After the basic configuration is completed, the data pushing operation can be performed.
For ease of understanding, embodiments of the present invention are described below by way of specific examples:
referring to fig. 3, fig. 3 is a flowchart of a data pushing method according to an embodiment of the present invention.
When the cloud equipment open platform receives the equipment data, pushing the data to be pushed to a third party in real time;
if the pushing execution result is successful, the data to be pushed exits the message queue, and the pushing is finished;
if the pushing execution result is failure, attempting the second real-time pushing;
if the execution result of the second real-time pushing is successful, the data to be pushed exits the message queue, and the pushing is finished;
if the execution result of the second real-time pushing is failure, storing the data to be pushed into a transfer station data table;
assuming that the data in the transfer station data table has a survival time of 48 hours, push attempts can be made on the data to be pushed within the survival time, wherein the push attempts include untimely and indefinite push attempts and third-party manually triggered push;
if the execution result of the push attempt at the indefinite and indefinite points is successful, deleting the data table of the transfer station in the data to be pushed, and finishing the push; if the execution result is failure, no processing is performed, and pushing is waited for next time;
if the execution result of the manual pushing triggered by the third party is successful, deleting the data to be pushed from the transfer station data table, and finishing pushing;
and if the data to be pushed in the survival period is not pushed successfully, deleting the data to be pushed from the data table of the transfer station, and finishing pushing.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a data pushing device according to an embodiment of the present invention.
The embodiment of the invention provides a data pushing device, which is applied to an open platform of cloud equipment, and comprises the following components:
the device data receiving module 401 is configured to receive device data uploaded by a preset device side;
a service data conversion module 402, configured to convert the device data into service data through a preset service module;
a key and data type extracting module 403, configured to extract a key and a data type from the service data;
a to-be-pushed data generating module 404, configured to perform pushing verification on the service data according to the key and the data type, so as to obtain to-be-pushed data;
a pushing module 405, configured to push the data to be pushed.
In this embodiment of the present invention, the to-be-pushed data generating module 404 includes:
the application information query submodule is used for querying corresponding application information according to the secret key;
the enabling information detection sub-module is used for detecting enabling information in the application information when the application information is inquired;
the push opening information detection submodule is used for detecting push opening information in the application information when the enabling information is detected;
the push setting query submodule is used for querying the push setting of the service data in the application information when the push starting information is detected;
and the data to be pushed generation submodule is used for matching the data grade corresponding to the data type when the pushing setting is inquired, and adding the service data into the message queue corresponding to the data grade to be used as the data to be pushed.
In this embodiment of the present invention, the pushing module 405 includes:
the push configuration determining submodule is used for extracting attribution information from the data to be pushed and determining the push configuration of the application corresponding to the data to be pushed according to the attribution information;
and the pushing submodule pushes the data to be pushed to a third-party terminal corresponding to the application according to the pushing configuration.
In an embodiment of the present invention, the apparatus further includes:
the judging module is used for judging whether the data to be pushed is pushed successfully or not;
the secondary pushing module is used for transferring the data to be pushed from the pushing queue to a preset credit line queue and carrying out secondary pushing through the credit line queue if the data to be pushed is not in the preset credit line queue;
and the transfer storage module is used for storing the data to be pushed to a preset transfer station data table, sending a preset mail to the third-party terminal and triggering a timing pushing operation when the secondary pushing fails.
An embodiment of the present invention further provides an electronic device, where the device includes a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the data pushing method according to any embodiment of the present invention according to instructions in the program code.
The embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium is used for storing a program code, and the program code is used for executing the data push method according to any embodiment of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A data pushing method is applied to an open platform of cloud equipment, and comprises the following steps:
receiving equipment data uploaded by a preset equipment terminal;
converting the equipment data into service data through a preset service module;
extracting a key and a data type from the service data;
carrying out pushing verification on the service data according to the secret key and the data type to obtain data to be pushed;
and pushing the data to be pushed.
2. The method according to claim 1, wherein the step of performing push verification on the service data according to the key and the data type to obtain data to be pushed includes:
inquiring corresponding application information according to the secret key;
when the application information is inquired, enabling information is detected in the application information;
when the enabling information is detected, push opening information is detected in the application information;
when the push starting information is detected, inquiring the push setting of the service data in the application information;
and when the push setting is inquired, matching the data grade corresponding to the data type, and adding the service data into the message queue corresponding to the data grade to be used as the data to be pushed.
3. The method according to claim 2, wherein the step of pushing the data to be pushed comprises:
attribution information is extracted from the data to be pushed, and pushing configuration of an application corresponding to the data to be pushed is determined according to the attribution information;
and pushing the data to be pushed to a third party terminal corresponding to the application according to the pushing configuration.
4. The method according to claim 3, wherein after the step of pushing the data to be pushed to a preset third party terminal according to the pushing configuration, the method further comprises:
judging whether the data to be pushed is pushed successfully or not;
if not, transferring the data to be pushed from the pushing queue to a preset deadlock queue, and carrying out secondary pushing through the deadlock queue;
and when the secondary pushing fails, storing the data to be pushed to a preset transfer station data table, sending a preset mail to the third-party terminal, and triggering a timed pushing operation.
5. The utility model provides a data push device which characterized in that is applied to open platform of high in the clouds equipment, the device include:
the device data receiving module is used for receiving device data uploaded by a preset device end;
the service data conversion module is used for converting the equipment data into service data through a preset service module;
the key and data type extraction module is used for extracting a key and a data type from the service data;
the data to be pushed generating module is used for carrying out pushing verification on the service data according to the secret key and the data type to obtain data to be pushed;
and the pushing module is used for pushing the data to be pushed.
6. The apparatus of claim 5, wherein the to-be-pushed data generation module comprises:
the application information query submodule is used for querying corresponding application information according to the secret key;
the enabling information detection sub-module is used for detecting enabling information in the application information when the application information is inquired;
the push opening information detection submodule is used for detecting push opening information in the application information when the enabling information is detected;
the push setting query submodule is used for querying the push setting of the service data in the application information when the push starting information is detected;
and the data to be pushed generation submodule is used for matching the data grade corresponding to the data type when the pushing setting is inquired, and adding the service data into the message queue corresponding to the data grade to be used as the data to be pushed.
7. The apparatus of claim 6, wherein the pushing module comprises:
the push configuration determining submodule is used for extracting attribution information from the data to be pushed and determining the push configuration of the application corresponding to the data to be pushed according to the attribution information;
and the pushing submodule pushes the data to be pushed to a third-party terminal corresponding to the application according to the pushing configuration.
8. The apparatus of claim 7, further comprising:
the judging module is used for judging whether the data to be pushed is pushed successfully or not;
the secondary pushing module is used for transferring the data to be pushed from the pushing queue to a preset credit line queue and carrying out secondary pushing through the credit line queue if the data to be pushed is not in the preset credit line queue;
and the transfer storage module is used for storing the data to be pushed to a preset transfer station data table, sending a preset mail to the third-party terminal and triggering a timing pushing operation when the secondary pushing fails.
9. An electronic device, comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the data pushing method of any one of claims 1-4 according to instructions in the program code.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium is configured to store a program code for executing the data push method of any of claims 1-4.
CN202110216179.4A 2021-02-26 2021-02-26 Data pushing method and device, electronic equipment and storage medium Active CN112954065B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110216179.4A CN112954065B (en) 2021-02-26 2021-02-26 Data pushing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110216179.4A CN112954065B (en) 2021-02-26 2021-02-26 Data pushing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112954065A true CN112954065A (en) 2021-06-11
CN112954065B CN112954065B (en) 2023-12-29

Family

ID=76246376

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110216179.4A Active CN112954065B (en) 2021-02-26 2021-02-26 Data pushing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112954065B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104636249A (en) * 2013-11-15 2015-05-20 中国移动通信集团公司 Generation system and method of debugging information of application program
CN105577602A (en) * 2014-10-08 2016-05-11 阿里巴巴集团控股有限公司 Data pushing method and data pushing device based on open application programming interface
CN106201585A (en) * 2016-06-28 2016-12-07 乐视控股(北京)有限公司 A kind of Notification Method and electronic equipment
WO2017113961A1 (en) * 2015-12-30 2017-07-06 努比亚技术有限公司 Data encryption apparatus and method, and storage medium
CN107911393A (en) * 2017-12-28 2018-04-13 北京明朝万达科技股份有限公司 A kind of data safety management system and method
US20180176230A1 (en) * 2015-08-25 2018-06-21 Huawei Technologies Co., Ltd. Data packet transmission method, apparatus, and system, and node device
CN108833101A (en) * 2018-09-28 2018-11-16 腾讯科技(深圳)有限公司 Data transmission method, internet of things equipment and the authentication platform of internet of things equipment
CN108876581A (en) * 2018-07-19 2018-11-23 武汉杰威鑫创软件技术有限公司 A kind of financial management system
CN109635187A (en) * 2018-11-26 2019-04-16 平安科技(深圳)有限公司 Information push method, device, computer equipment and storage medium
CN109995643A (en) * 2017-12-29 2019-07-09 中国移动通信集团河南有限公司 Business mail push method and device
CN110287041A (en) * 2019-06-28 2019-09-27 苏州亿歌网络科技有限公司 A kind of business datum sending method, device, equipment and storage medium
CN110460674A (en) * 2019-08-21 2019-11-15 中国工商银行股份有限公司 A kind of information-pushing method, apparatus and system
US20200127859A1 (en) * 2018-10-22 2020-04-23 Ming-Tsung Chen Communication system using two kinds of keys
CN111565218A (en) * 2020-04-08 2020-08-21 深圳数联天下智能科技有限公司 Data processing method and electronic equipment

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104636249A (en) * 2013-11-15 2015-05-20 中国移动通信集团公司 Generation system and method of debugging information of application program
CN105577602A (en) * 2014-10-08 2016-05-11 阿里巴巴集团控股有限公司 Data pushing method and data pushing device based on open application programming interface
US20180176230A1 (en) * 2015-08-25 2018-06-21 Huawei Technologies Co., Ltd. Data packet transmission method, apparatus, and system, and node device
WO2017113961A1 (en) * 2015-12-30 2017-07-06 努比亚技术有限公司 Data encryption apparatus and method, and storage medium
CN106201585A (en) * 2016-06-28 2016-12-07 乐视控股(北京)有限公司 A kind of Notification Method and electronic equipment
CN107911393A (en) * 2017-12-28 2018-04-13 北京明朝万达科技股份有限公司 A kind of data safety management system and method
CN109995643A (en) * 2017-12-29 2019-07-09 中国移动通信集团河南有限公司 Business mail push method and device
CN108876581A (en) * 2018-07-19 2018-11-23 武汉杰威鑫创软件技术有限公司 A kind of financial management system
CN108833101A (en) * 2018-09-28 2018-11-16 腾讯科技(深圳)有限公司 Data transmission method, internet of things equipment and the authentication platform of internet of things equipment
US20200127859A1 (en) * 2018-10-22 2020-04-23 Ming-Tsung Chen Communication system using two kinds of keys
CN109635187A (en) * 2018-11-26 2019-04-16 平安科技(深圳)有限公司 Information push method, device, computer equipment and storage medium
CN110287041A (en) * 2019-06-28 2019-09-27 苏州亿歌网络科技有限公司 A kind of business datum sending method, device, equipment and storage medium
CN110460674A (en) * 2019-08-21 2019-11-15 中国工商银行股份有限公司 A kind of information-pushing method, apparatus and system
CN111565218A (en) * 2020-04-08 2020-08-21 深圳数联天下智能科技有限公司 Data processing method and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李晓丽: "基于大数据分析的数字电视智能终端精准消息推送系统", 中国优秀硕士学位论文全文数据库(信息科技辑), no. 2019, pages 138 - 341 *
黄爽;黄必清;: "云制造平台安全体系架构", 计算机集成制造系统, no. 04, pages 851 - 861 *

Also Published As

Publication number Publication date
CN112954065B (en) 2023-12-29

Similar Documents

Publication Publication Date Title
CN105468948B (en) A method of authentication is carried out by social networks
CN106549902B (en) Method and device for identifying suspicious users
CN109688186B (en) Data interaction method, device, equipment and readable storage medium
CN109657107B (en) Terminal matching method and device based on third-party application
CN104980402B (en) Method and device for identifying malicious operation
CN108055238A (en) A kind of account verification method and system
JP6629973B2 (en) Method and apparatus for recognizing a service request to change a mobile phone number
CN110032846B (en) Identity data anti-misuse method and device and electronic equipment
CN110955677A (en) Identity verification method, device and system
CN108366176A (en) A kind of charging method of terminal applies, apparatus and system
CN114268461B (en) User identity authentication method, device, server, terminal and storage medium
CN107872446B (en) Communication account management method and device and server
CN108900525B (en) Processing method and device for verification code request
CN105184559B (en) A kind of payment system and method
CN111104685B (en) Dynamic updating method and device for two-dimension code
CN1980457A (en) Network-side alarm-realizing method
CN106921626B (en) User registration method and device
CN112954065A (en) Data pushing method and device, electronic equipment and storage medium
CN108965335B (en) Method for preventing malicious access to login interface, electronic device and computer medium
CN105512563A (en) Method and device for determining trusted device, and method and device for risk release
CN112541810A (en) Risk handling method and device for business data and computer readable storage medium
CN107704557B (en) Processing method and device for operating mutually exclusive data, computer equipment and storage medium
CN108270567B (en) Message source verification method, device and system and message sending method and device
CN110728504A (en) Data processing method, device and equipment of block chain and readable storage medium
CN110647757A (en) Data processing method based on intelligent contract and related device

Legal Events

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