CN114257628A - Registration response type data pushing method and system, electronic equipment and storage medium - Google Patents

Registration response type data pushing method and system, electronic equipment and storage medium Download PDF

Info

Publication number
CN114257628A
CN114257628A CN202111294246.0A CN202111294246A CN114257628A CN 114257628 A CN114257628 A CN 114257628A CN 202111294246 A CN202111294246 A CN 202111294246A CN 114257628 A CN114257628 A CN 114257628A
Authority
CN
China
Prior art keywords
client
registration
request data
map container
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
CN202111294246.0A
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.)
Beijing Si Tech Information Technology Co Ltd
Original Assignee
Beijing Si Tech Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Si Tech Information Technology Co Ltd filed Critical Beijing Si Tech Information Technology Co Ltd
Priority to CN202111294246.0A priority Critical patent/CN114257628A/en
Publication of CN114257628A publication Critical patent/CN114257628A/en
Pending legal-status Critical Current

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/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Storage Device Security (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a registration response type data pushing method and system, electronic equipment and a storage medium, belonging to the technical field of data pushing, wherein when a user establishes connection with a server through a client for the first time, the user requests data to be sent to a registration center; the registration center associates the request data with the corresponding information one by one, and is arranged in a timing scheduling program and used for accessing the registration center at regular time so that the registration center sends the information to the client; the registry comprises a first map container and a second map container, wherein the first map container is used for storing the request data, and the second map container is used for storing the information corresponding to the request data. The invention effectively solves the problems of single dimensionality and poor expansibility of server data push, ensures the timeliness and stability of the push message, and improves the performance of the system for concurrently processing the push message.

Description

Registration response type data pushing method and system, electronic equipment and storage medium
Technical Field
The invention belongs to the technical field of data pushing, and particularly relates to a registration response type data pushing method and system, electronic equipment and a storage medium.
Background
The conventional large visualization screens are developed by customizing data with single dimensionality and return data with single dimensionality, and the data drilling subdivision is supported by independently developing corresponding interfaces, so that the large visualization screens are all customized and new large screens are developed for jumping when page delivery is involved. Therefore, the reusability and expandability of the visualization system are influenced, and the business requirements of users cannot be flexibly supported.
Disclosure of Invention
In view of the foregoing problems, the present invention provides a registration response type data pushing method and system, an electronic device, and a storage medium, wherein the method includes:
when a user establishes connection with a server through a client for the first time, user request data are sent to a registration center;
the registration center associates the request data with the corresponding information one by one, and the registration center is arranged in a timing scheduling program and used for accessing the registration center at regular time so that the registration center sends the information to the client;
the registry comprises a first map container and a second map container, wherein the first map container is used for storing the request data, and the second map container is used for storing information corresponding to the request data; and accessing the registration center regularly, after the request data is triggered, establishing socket connection between the server and the corresponding client, calling a hook function to analyze and screen the request data in the first map container, and pushing corresponding information in the second map container to the client.
Preferably, the timing scheduler sets an access frequency in advance.
Preferably, the pushing the corresponding information in the second map container to the client further includes:
the information is processed by adopting a bidirectional encryption algorithm and a Gzip compression algorithm;
and after receiving the information, the client decrypts the information by adopting a decryption algorithm and calls a Gzip decompression algorithm to decompress and restore the information.
Preferably, the client logs in by registration-responsive authentication.
The embodiment of the invention provides a system for pushing registration response type data, which comprises:
the system comprises a registration module, a server and a client, wherein the registration module is used for sending user request data to a registration center when a user establishes connection with the server through the client for the first time, and the registration center associates the request data with corresponding information one by one;
the timing calling module is used for accessing the registration center at a timing so that the registration center sends information to the client;
the registry comprises a first map container and a second map container, wherein the first map container is used for storing the request data, and the second map container is used for storing information corresponding to the request data; and accessing the registration center regularly, after the request data is triggered, establishing socket connection between the server and the corresponding client, calling a hook function to analyze and screen the request data in the first map container, and pushing corresponding information in the second map container to the client.
An embodiment of the present invention provides an electronic device, which includes at least one processing unit and at least one storage unit, where the storage unit stores a program, and when the program is executed by the processing unit, the processing unit is enabled to execute the method described above.
An embodiment of the present invention provides a computer-readable storage medium, which stores a computer program executable by an electronic device, and when the program runs on the electronic device, the program causes the electronic device to execute the method described above.
Compared with the prior art, the invention has the beneficial effects that:
the invention effectively solves the problems of single dimensionality and poor expansibility of server data push, ensures the timeliness and stability of the push message, and improves the performance of the system for concurrently processing the push message.
Drawings
Fig. 1 is a schematic flow chart of a registration-responsive data pushing method provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
Referring to fig. 1, the present invention provides a registration-responsive data pushing method, including:
when a user establishes connection with a server through a client for the first time, user request data are sent to a registration center;
the registration center associates the request data with the corresponding information one by one, and is arranged in a timing scheduling program and used for accessing the registration center at regular time so that the registration center sends the information to the client;
the registry comprises a first map container and a second map container, wherein the first map container is used for storing request data and merging the same requests, and the second map container is used for storing information corresponding to the request data; and accessing the registration center regularly, after the request data are taken out, establishing socket connection between the server and the corresponding client, calling a hook function to analyze and screen the request data in the first map container, and pushing the corresponding information in the second map container to the client.
Further, the timing scheduler presets the access frequency, for example, once for 2 seconds.
Still further, pushing the corresponding information in the second map container to the client further includes:
the information is processed by adopting a bidirectional encryption algorithm and a Gzip compression algorithm;
and after receiving the information, the client decrypts the information by adopting a decryption algorithm and calls a Gzip decompression algorithm to decompress and restore the information.
In this embodiment, the client logs in through registration-responsive authentication.
The embodiment of the invention provides a system for pushing registration response type data, which comprises:
the registration module is used for sending user request data to a registration center when a user establishes connection with a server through a client for the first time, and the registration center associates the request data with corresponding information one by one;
the timing calling module is used for accessing the registration center at regular time so that the registration center sends information to the client;
the registry comprises a first map container and a second map container, wherein the first map container is used for storing request data, and the second map container is used for storing information corresponding to the request data; and accessing the registration center regularly, after the request data are taken out, establishing socket connection between the server and the corresponding client, calling a hook function to analyze and screen the request data in the first map container, and pushing the corresponding information in the second map container to the client.
An embodiment of the present invention provides an electronic device, which includes at least one processing unit and at least one storage unit, where the storage unit stores a program, and when the program is executed by the processing unit, the processing unit is enabled to execute the method.
An embodiment of the present invention provides a computer-readable storage medium, which stores a computer program executable by an electronic device, and when the program runs on the electronic device, the electronic device is caused to execute the method described above.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (7)

1. A registration-responsive data push method, comprising:
when a user establishes connection with a server through a client for the first time, user request data are sent to a registration center;
the registration center associates the request data with the corresponding information one by one, and the registration center is arranged in a timing scheduling program and used for accessing the registration center at regular time so that the registration center sends the information to the client;
the registry comprises a first map container and a second map container, wherein the first map container is used for storing the request data, and the second map container is used for storing information corresponding to the request data; and accessing the registration center regularly, after the request data is triggered, establishing socket connection between the server and the corresponding client, calling a hook function to analyze and screen the request data in the first map container, and pushing corresponding information in the second map container to the client.
2. The registration-responsive data push method of claim 1, wherein the timing scheduler presets an access frequency.
3. The registration-responsive data pushing method of claim 2, wherein pushing the corresponding information in the second map container to the client further comprises:
the information is processed by adopting a bidirectional encryption algorithm and a Gzip compression algorithm;
and after receiving the information, the client decrypts the information by adopting a decryption algorithm and calls a Gzip decompression algorithm to decompress and restore the information.
4. The registration-responsive data push method of claim 3, wherein the client logs in through registration-responsive authentication.
5. A registration-responsive data push system, comprising:
the system comprises a registration module, a server and a client, wherein the registration module is used for sending user request data to a registration center when a user establishes connection with the server through the client for the first time, and the registration center associates the request data with corresponding information one by one;
the timing calling module is used for accessing the registration center at a timing so that the registration center sends information to the client;
the registry comprises a first map container and a second map container, wherein the first map container is used for storing the request data, and the second map container is used for storing information corresponding to the request data; and accessing the registration center regularly, after the request data is triggered, establishing socket connection between the server and the corresponding client, calling a hook function to analyze and screen the request data in the first map container, and pushing corresponding information in the second map container to the client.
6. An electronic device, comprising at least one processing unit and at least one memory unit, wherein the memory unit stores a computer program that, when executed by the processing unit, causes the processing unit to perform the method of any of claims 1 to 4.
7. A storage medium storing a computer program executable by an electronic device, the program, when run on the electronic device, causing the electronic device to perform the method of any one of claims 1 to 4.
CN202111294246.0A 2021-11-03 2021-11-03 Registration response type data pushing method and system, electronic equipment and storage medium Pending CN114257628A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111294246.0A CN114257628A (en) 2021-11-03 2021-11-03 Registration response type data pushing method and system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111294246.0A CN114257628A (en) 2021-11-03 2021-11-03 Registration response type data pushing method and system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114257628A true CN114257628A (en) 2022-03-29

Family

ID=80792321

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111294246.0A Pending CN114257628A (en) 2021-11-03 2021-11-03 Registration response type data pushing method and system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114257628A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1599901A (en) * 2001-10-02 2005-03-23 茨特里克斯系统公司 Methods for distributed program execution with file-type association in a client-server network
CN103095732A (en) * 2013-03-01 2013-05-08 畅捷通信息技术股份有限公司 Information push system and information push method
US20140012997A1 (en) * 2012-07-05 2014-01-09 Sap Ag Dynamic client registration for server push events in long polling scenarios
CN110162687A (en) * 2019-05-06 2019-08-23 海马云(天津)信息技术有限公司 Data grab method and system in a kind of application of Android

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1599901A (en) * 2001-10-02 2005-03-23 茨特里克斯系统公司 Methods for distributed program execution with file-type association in a client-server network
US20140012997A1 (en) * 2012-07-05 2014-01-09 Sap Ag Dynamic client registration for server push events in long polling scenarios
CN103095732A (en) * 2013-03-01 2013-05-08 畅捷通信息技术股份有限公司 Information push system and information push method
CN110162687A (en) * 2019-05-06 2019-08-23 海马云(天津)信息技术有限公司 Data grab method and system in a kind of application of Android

Similar Documents

Publication Publication Date Title
EP3484125B1 (en) Method and device for scheduling interface of hybrid cloud
CN107743616B (en) Endpoint management system providing application programming interface proxy services
EP2682863B1 (en) Installing applications remotely
CN102349062B (en) Method and system for synchronizing browser caches across devices and web services
US8965958B2 (en) File fetch from a remote client device
US9544288B2 (en) Messaging gateway
US10127401B2 (en) Redacting restricted content in files
CN108345632A (en) Call method, device, equipment and the computer readable storage medium of the H5 pages
US9317681B2 (en) Information processing apparatus, information processing method, and computer program product
EP2788886B1 (en) Access to supplemental data based on identifier derived from corresponding primary application data
US20170147462A1 (en) Agent dynamic service
US20120179840A1 (en) System and method for distributed content transformation
US11882154B2 (en) Template representation of security resources
CN109992406A (en) The method and client that picture requesting method, response picture are requested
CN110795741A (en) Method and device for carrying out security processing on data
US9128886B2 (en) Computer implemented method, computer system, electronic interface, mobile computing device and computer readable medium
CN113609147A (en) Data sharing method and device and electronic equipment
CN106130951B (en) Application store service management method and device
CN102769663B (en) Server, method and system for transmitting information
CN112685201A (en) Government affair service access control method and device
CN108345627A (en) The newer method, apparatus of local cache data, readable storage medium storing program for executing and equipment
JP7144819B1 (en) Programs, computers, systems and methods
CN114257628A (en) Registration response type data pushing method and system, electronic equipment and storage medium
WO2022247226A1 (en) Applet monitoring method and device
CN112823349A (en) Data processing method, data processing device, electronic equipment and storage medium

Legal Events

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