CN106131024A - A kind of advertisement is to the accurate method of designated equipment - Google Patents

A kind of advertisement is to the accurate method of designated equipment Download PDF

Info

Publication number
CN106131024A
CN106131024A CN201610564488.XA CN201610564488A CN106131024A CN 106131024 A CN106131024 A CN 106131024A CN 201610564488 A CN201610564488 A CN 201610564488A CN 106131024 A CN106131024 A CN 106131024A
Authority
CN
China
Prior art keywords
advertisement
message
mqtt
subscription
designated equipment
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
CN201610564488.XA
Other languages
Chinese (zh)
Inventor
谢锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changzhou First Information Technology Co Ltd
Original Assignee
Shenzhen Fengju Tyco Electronics 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 Shenzhen Fengju Tyco Electronics Co ltd filed Critical Shenzhen Fengju Tyco Electronics Co ltd
Priority to CN201610564488.XA priority Critical patent/CN106131024A/en
Publication of CN106131024A publication Critical patent/CN106131024A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0435Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply symmetric encryption, i.e. same key used for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding

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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of advertisement accurate method to designated equipment, comprise the following steps: select the resolution of advertising scenarios;Control to be configured is dragged to corresponding position, and the attribute needed for control is set;Preserve advertising scenarios, generate the HTML5 page;Packing is compressed into a ZIP file;Examination & verification is issued and by MQTT protocol propelling information to terminal;Terminal deciphering message also downloads the advertisement ZIP file of compression;Terminal decompresses and plays advertisement.The method of the present invention is simple to operate, reduces the pressure of server, alleviates the service fee of operator, discharges the efficiency of server greatly, decreases the series of problems that server brings.

Description

A kind of advertisement is to the accurate method of designated equipment
Technical field
The present invention relates to internet communication, be specifically related to a kind of advertisement accurate method to designated equipment.
Background technology
In current mechanics of communication, existing digital signage is client-server pattern, and the benefit of this pattern is system One management, unified resource.But drawback is, in the situation operational excellence that terminal is a small amount of, once many will cause to server The biggest pressure, even server are delayed machine.Although can be solved by distributed type assemblies, but this also increases to operator Many expenses, bring great economic pressures to operator.
MQTT communications protocol is limited for a large amount of computing capabilitys, and is operated in the long-range biography of low broadband, insecure network Sensor or the agreement of communication control design, it has the property that
1) use publish/subscribe massage pattern, it is provided that the news release of one-to-many, release application program coupling;
2) the message transmission to load contents shielding;
3) TCP/IP is used to provide network to connect;
4) there are three kinds of news release service quality:
" the most once ", news release is completely dependent on bottom TCP/IP network.Information drop-out or repetition can occur.This rank can For following situation, environmental sensor data, it doesn't matter to lose a read record, sends because the most also having second time.
" at least one times ", it is ensured that message arrive, but message repeat it may happen that.
" for once ", it is ensured that message arrives once.This rank can be used for following situation, in charge system, message Repeat or loss can cause incorrect result.
Small-sized transmission, expense the least (head of regular length is 2 bytes), agreement exchange minimizes, to reduce network flow Amount;
According to the characteristic of mqtt, selecting mqtt agreement to intercut message is an ideal method.
DES (Data Encryption Standard) is packet symmetric cryptographic algorithm.The packet that DES have employed 64 is long Degree and the key length of 56, the input of 64 is obtained the output of 64 by it through a series of conversion.Deciphering then employs phase With step and identical key.The key length of DES is 64, due to the n-th * 8 (n=1,2 ... 8) be check bit, therefore real Border participates in a length of 56 of encryption, and key space contains 2^56 key.
DES algorithm utilizes repeatedly combination replacement algorithm and transposition algorithm, dispersion and the interaction of entanglement, establishment in plain text Becoming the highest ciphertext of Cipher Strength, its encryption and deciphering are same algorithms.
DES algorithm, is a kind of product ciphers, and it mainly have employed the letters such as displacement, replacement, mould two addition on algorithm structure Number, calculates by the way of round function iteration and works.
DES algorithm also can use data replacement technique, mainly has initial permutation IP and inverse initial permutation IP^-1 two kind Type.DES algorithm uses the purpose of in-place computation to be that all forms and all data of original plaintext are all upset rearrangement.And In wheel encryption function, data will all upset rearrangement, simultaneously in terms of data form, by original 32 bit data format, expand Generated is 48 bit data format in order to meet S box group to data length and the requirement of data format specifications.
One group of data message, after a series of nonlinear transformation, is difficult to therefrom derive its process calculated and make Nonlinear combination;If but this group data message uses linear transformation, calculating to be easy for many.At DES algorithm In, the calculating process belonging to nonlinear transformation only has S box, and remaining data calculates and conversion is all belonging to linear transformation, so The security intensity that it is critical only that S box of DES algorithm security.Additionally, S box and displacement IP cooperate, define the strongest robust Dividing and attack and anti-linear attacking ability, wherein resisting differential attacking ability is more higher.
Summary of the invention
The present invention is directed to the problems referred to above, it is provided that the accurate method of a kind of advertisement to designated equipment.
The technical solution used in the present invention is: the accurate method of a kind of advertisement to designated equipment, comprises the following steps:
S1, selects the resolution of advertising scenarios;
S2, is dragged to corresponding position control to be configured, and arranges the attribute needed for control;
S3, preserves advertising scenarios, generates the HTML5 page;
S4, packing is compressed into a ZIP file;
S5, examination & verification is issued and by MQTT protocol propelling information to terminal;
S6, terminal deciphering message also downloads the advertisement ZIP file of compression;
S7, terminal decompresses and plays advertisement.
Further, described step 5 also includes:
S51, connection MQTT:
Generate connection string: specifying IP address and the port numbers of MQTT distribution of Message Agent main frame, port numbers default value is 1883;Connection attribute is set, including client computer mark, subscribe to type, send alive messages interval time;
Create MQTT client objects;
S52, to acting on behalf of topic of subscription: subscription is by MQTT object handles, including two array parameters, i.e. topic of subscription array, Service quality array;
S53, gives out information to digital signage: directly use the api function publish that MQTT provides, it is desirable to provide theme, disappear The parameters such as breath, service quality;
S54, receives the message from agency: for making application receive the message of subscription, creates a readjustment and processes function, and At MQTT client registers;
With MqttSimpleCallback interface create simple interface object, and realize connectionLost, Tri-methods of deliveryComplete and messageArrived;
When the connection with agency surprisingly terminates, just call connectionLost method;If this occurs, then this side Method attempts to reconnect to agency;If connectionLost method cannot reconnect, then can notify visitor by throw exception Family machine reconnects unsuccessfully;
The message of messageArrived method notice system topic of subscription has arrived client;
Whether deliveryComplete method representation sends and completes;
S55, needs des encryption before news release.
Further, described step S6 also includes: after digital signage subscribes to message, and agency issues what digital signage was subscribed to Theme, digital signage receives the message of issue and deciphers.
Further, described step S7 also includes: to correlative code encryption and deciphering.
Advantages of the present invention:
The method of the present invention is simple to operate, reduces the pressure of server, alleviates the service fee of operator, discharge clothes greatly The efficiency of business device, decreases the series of problems that server brings.
In addition to objects, features and advantages described above, the present invention also has other objects, features and advantages. Below with reference to figure, the present invention is further detailed explanation.
Accompanying drawing explanation
The accompanying drawing of the part constituting the application is used for providing a further understanding of the present invention, and the present invention's is schematic real Execute example and illustrate for explaining the present invention, being not intended that inappropriate limitation of the present invention.
Fig. 1 is a kind of advertisement accurate method flow diagram to designated equipment of the present invention.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, right The present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, and It is not used in the restriction present invention.
With reference to Fig. 1, the accurate method of a kind of advertisement as shown in Figure 1 to designated equipment, comprise the following steps:
S1, selects the resolution of advertising scenarios;
S2, is dragged to corresponding position control to be configured, and arranges the attribute needed for control;
S3, preserves advertising scenarios, generates the HTML5 page;
S4, packing is compressed into a ZIP file;
S5, examination & verification is issued and by MQTT protocol propelling information to terminal;
S6, terminal deciphering message also downloads the advertisement ZIP file of compression;
S7, terminal decompresses and plays advertisement.
Described step 5 also includes:
S51, connection MQTT:
Generate connection string: specifying IP address and the port numbers of MQTT distribution of Message Agent main frame, port numbers default value is 1883;Connection attribute is set, including client computer mark, subscribe to type, send alive messages interval time;
Create MQTT client objects;
S52, to acting on behalf of topic of subscription: subscription is by MQTT object handles, including two array parameters, i.e. topic of subscription array, Service quality array;
S53, gives out information to digital signage: directly use the api function publish that MQTT provides, it is desirable to provide theme, disappear The parameters such as breath, service quality;
S54, receives the message from agency: for making application receive the message of subscription, creates a readjustment and processes function, and At MQTT client registers;
With MqttSimpleCallback interface create simple interface object, and realize connectionLost, Tri-methods of deliveryComplete and messageArrived;
When the connection with agency surprisingly terminates, just call connectionLost method;If this occurs, then this side Method attempts to reconnect to agency;If connectionLost method cannot reconnect, then can notify visitor by throw exception Family machine reconnects unsuccessfully;
The message of messageArrived method notice system topic of subscription has arrived client;
Whether deliveryComplete method representation sends and completes;
S55, needs des encryption before news release.
Described step S6 also includes: after digital signage subscribes to message, and agency issues the theme that digital signage is subscribed to, numeral mark Board receives the message of issue and deciphers.
Described step S7 also includes: to correlative code encryption and deciphering.
Advertisement HTML5 webpage of the present invention realizes, and then related resource packing is compressed into a zip file, is pushed to Client, is pressed in local oneself broadcasting by terminal solution, need not take on server resource, do not result in the when of so broadcasting The pressure of server, discharges greatly the efficiency of server, alleviates the service fee of operator, reduce that server brings one Series of problems.
The method of the present invention is simple to operate, reduces the pressure of server, alleviates the service fee of operator, release greatly Put the efficiency of server, decrease the series of problems that server brings.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and Within principle, any modification, equivalent substitution and improvement etc. made, should be included within the scope of the present invention.

Claims (4)

1. an advertisement is to the accurate method of designated equipment, it is characterised in that comprise the following steps:
S1, selects the resolution of advertising scenarios;
S2, is dragged to corresponding position control to be configured, and arranges the attribute needed for control;
S3, preserves advertising scenarios, generates the HTML5 page;
S4, packing is compressed into a ZIP file;
S5, examination & verification is issued and by MQTT protocol propelling information to terminal;
S6, terminal deciphering message also downloads the advertisement ZIP file of compression;
S7, terminal decompresses and plays advertisement.
Advertisement the most according to claim 1 exists to the accurate method of designated equipment, its feature
In, described step 5 also includes:
S51, connection MQTT:
Generate connection string: specifying IP address and the port numbers of MQTT distribution of Message Agent main frame, port numbers default value is 1883;Connection attribute is set, including client computer mark, subscribe to type, send alive messages interval time;
Create MQTT client objects;
S52, to acting on behalf of topic of subscription: subscription is by MQTT object handles, including two array parameters, i.e. topic of subscription array, Service quality array;
S53, gives out information to digital signage: directly use the api function publish that MQTT provides, it is desirable to provide theme, disappear The parameters such as breath, service quality;
S54, receives the message from agency: for making application receive the message of subscription, creates a readjustment and processes function, and At MQTT client registers;
With MqttSimpleCallback interface create simple interface object, and realize connectionLost, Tri-methods of deliveryComplete and messageArrived;
When the connection with agency surprisingly terminates, just call connectionLost method;If this occurs, then this side Method attempts to reconnect to agency;If connectionLost method cannot reconnect, then can notify visitor by throw exception Family machine reconnects unsuccessfully;
The message of messageArrived method notice system topic of subscription has arrived client;
Whether deliveryComplete method representation sends and completes;
S55, needs des encryption before news release.
Advertisement the most according to claim 1 exists to the accurate method of designated equipment, its feature
In, described step S6 also includes: after digital signage subscribes to message, and agency issues the theme that digital signage is subscribed to, numeral mark Board receives the message of issue and deciphers.
Advertisement the most according to claim 1 is to the accurate method of designated equipment, it is characterised in that described step S7 is also Including: to correlative code encryption and deciphering.
CN201610564488.XA 2016-07-15 2016-07-15 A kind of advertisement is to the accurate method of designated equipment Pending CN106131024A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610564488.XA CN106131024A (en) 2016-07-15 2016-07-15 A kind of advertisement is to the accurate method of designated equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610564488.XA CN106131024A (en) 2016-07-15 2016-07-15 A kind of advertisement is to the accurate method of designated equipment

Publications (1)

Publication Number Publication Date
CN106131024A true CN106131024A (en) 2016-11-16

Family

ID=57283979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610564488.XA Pending CN106131024A (en) 2016-07-15 2016-07-15 A kind of advertisement is to the accurate method of designated equipment

Country Status (1)

Country Link
CN (1) CN106131024A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108768998A (en) * 2018-05-24 2018-11-06 王逸人 A kind of intelligent wireless communication system based on SSL encryption
CN110012077A (en) * 2019-03-18 2019-07-12 深圳市迈圈信息技术有限公司 A kind of sign data update method, label and equipment based on Internet of Things

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102339282A (en) * 2010-07-16 2012-02-01 阿里巴巴集团控股有限公司 Method and device for controlling web widget display
CN102681841A (en) * 2012-02-01 2012-09-19 中兴通讯(香港)有限公司 Method and system for developing mobile phone application
WO2012135804A2 (en) * 2011-04-01 2012-10-04 Mixaroo, Inc. System and method for real-time processing, storage, indexing, and delivery of segmented video
WO2015163913A1 (en) * 2014-04-25 2015-10-29 Nokia Technologies Oy Interaction between virtual reality entities and real entities
CN105407365A (en) * 2015-12-07 2016-03-16 深圳市创维软件有限公司 Advertisement data management method and advertisement management server side
WO2016044581A1 (en) * 2014-09-17 2016-03-24 Convida Wireless, Llc Systems and methods for enabling access to third party services via a service layer

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102339282A (en) * 2010-07-16 2012-02-01 阿里巴巴集团控股有限公司 Method and device for controlling web widget display
WO2012135804A2 (en) * 2011-04-01 2012-10-04 Mixaroo, Inc. System and method for real-time processing, storage, indexing, and delivery of segmented video
CN102681841A (en) * 2012-02-01 2012-09-19 中兴通讯(香港)有限公司 Method and system for developing mobile phone application
WO2015163913A1 (en) * 2014-04-25 2015-10-29 Nokia Technologies Oy Interaction between virtual reality entities and real entities
WO2016044581A1 (en) * 2014-09-17 2016-03-24 Convida Wireless, Llc Systems and methods for enabling access to third party services via a service layer
CN105407365A (en) * 2015-12-07 2016-03-16 深圳市创维软件有限公司 Advertisement data management method and advertisement management server side

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108768998A (en) * 2018-05-24 2018-11-06 王逸人 A kind of intelligent wireless communication system based on SSL encryption
CN110012077A (en) * 2019-03-18 2019-07-12 深圳市迈圈信息技术有限公司 A kind of sign data update method, label and equipment based on Internet of Things

Similar Documents

Publication Publication Date Title
CN106210084B (en) A kind of message inserting method based on MQTT
Aljawarneh et al. A resource-efficient encryption algorithm for multimedia big data
US10972908B2 (en) Wireless network connection method, apparatus, and system
CN106131025A (en) A kind of message transmission method in digital signage based on MQTT
CN104468518B (en) Business management method, device and system
CN106850195B (en) Group key negotiation and communication method in instant communication
EP3117590B1 (en) Computer system to support failover in an event stream processing system
CN106250173B (en) A method of message Remote Installation and unloading advertisement based on MQTT
US11323546B2 (en) Executing remote commands
CN102546562A (en) Encrypting and decrypting method and system during transmission of data in web
Rahim et al. Internet based remote desktop using INDY and socket component
CN102137126B (en) System and method for updating web data
Cao A new hybrid chaotic map and its application on image encryption and hiding
CN104144206A (en) Method, system and device for loading interface
CN110311892A (en) A kind of data capture method and server
CN103259787A (en) Safety interactive method of cloud and terminal based on JSON protocol packet in medical field
CN106131024A (en) A kind of advertisement is to the accurate method of designated equipment
Rahman et al. Chaos and logistic map based key generation technique for AES-driven IoT security
CN104683111A (en) Encryption method and system based on MD5
Epishkina et al. A random traffic padding to limit packet size covert channels
CN102523239B (en) A kind of secure sharing method for resource information of Internet of things
CN104506530A (en) Network data processing method and device and data transmission method and device
CN113439414B (en) Preventing fraud in aggregated network measurements
CN108282335A (en) A kind of implementation method of quantum key cloud
Kumar et al. A fully simulatable oblivious transfer scheme using vector decomposition

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20171102

Address after: 213002 Room 302, unit 1, Xintiandi garden, Tianning District, Jiangsu, Changzhou

Applicant after: Xie Feng

Address before: 518000 Guangdong, Shenzhen, Longhua, big waves on the upper side of the new Baiyun Mountain village, Yongfeng new industrial park A district on the third floor of

Applicant before: SHENZHEN FIGIGANTIC ELECTRONIC CO., LTD.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20180209

Address after: 213161 Wujin District, Changzhou City, Jiangsu Province, Changwu Middle Road, No. 18 Changzhou science and Education City, Chuang Yan port 5-504

Applicant after: Changzhou first information technology Co., Ltd.

Address before: 213002 Room 302, unit 1, Xintiandi garden, Tianning District, Jiangsu, Changzhou

Applicant before: Xie Feng

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20161116

RJ01 Rejection of invention patent application after publication