CN110445846A - A kind of intelligent charging spot judges the method and system of repeated communications with management platform - Google Patents

A kind of intelligent charging spot judges the method and system of repeated communications with management platform Download PDF

Info

Publication number
CN110445846A
CN110445846A CN201910649879.5A CN201910649879A CN110445846A CN 110445846 A CN110445846 A CN 110445846A CN 201910649879 A CN201910649879 A CN 201910649879A CN 110445846 A CN110445846 A CN 110445846A
Authority
CN
China
Prior art keywords
management platform
uuid
data
intelligent charging
charging spot
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
CN201910649879.5A
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.)
Fujian Star Network Intelligent Software Co Ltd
Original Assignee
Fujian Star Network Intelligent Software 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 Fujian Star Network Intelligent Software Co Ltd filed Critical Fujian Star Network Intelligent Software Co Ltd
Priority to CN201910649879.5A priority Critical patent/CN110445846A/en
Publication of CN110445846A publication Critical patent/CN110445846A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Abstract

The present invention provides a kind of intelligent charging spot and management platform judges the method for repeated communications, comprising: 1, UUID data are taken in each business datum;2, the business datum with UUID data is sent to management platform by intelligent charging spot;3, it after management platform receives business datum, extracts and parses UUID data;4, UUID data are sent to mysql database, UUID data is indexed;5, determine whether UUID data are successfully written in mysql database, and write state is fed back into management platform;6, management platform is controlled according to write state stops or continues subsequent business operation process, meanwhile, write state is informed that intelligent charging spot, intelligent charging spot also control it according to write state and terminate or continue subsequent business operation process by management platform.The present invention provides a kind of intelligent charging spot and management platform judges the system of repeated communications, prevents business from repeating bring economic loss.

Description

A kind of intelligent charging spot judges the method and system of repeated communications with management platform
Technical field
The present invention relates to data communications method more particularly to a kind of intelligent charging spots between intelligent charging spot and management platform The method and system of repeated communications are judged with management platform.
Background technique
At present intelligent charging spot and management Platform communication mode have very much, have http protocol communication, udp protocol communication, There are also custom protocol communication, these communication protocols can be interacted normally.
In communication process, network congestion situation is frequently found, and data packet can be deposited in one piece, after a while Management platform can be arrived at simultaneously, if without effective mechanism to determine whether duplicate data, this can bring much serious ask Topic.Such as: Data duplication, business repeat.This can bring irremediable economic loss.So this problem is each intelligence Energy charging pile and management platform will consider the problems of.
It is most of on the market to realize intelligent charging spot and management Platform communication, but how to judge whether data repeat Mechanism or fewer or be not carried out the mechanism for judging repeated data.Such as: http communication, http communication is to have reality in itself Existing question-response mechanism, but does not guarantee that artificial maloperation repeats to initiate to lead to repeated communications.Udp communication, udp are communicated to judgement Repeated communications mechanism is no.So providing a kind of judge whether repeat mechanism is necessary to business datum.
Summary of the invention
One of the technical problem to be solved in the present invention, be to provide a kind of intelligent charging spot and management platform judgement repeat it is logical The method of letter can judge data polyisomenism in repeated communications, and prevent business from repeating and be brought Economic loss.
One of problem of the invention is achieved in that
A kind of method that intelligent charging spot judges repeated communications with management platform, includes the following steps:
Step 1 takes UUID data in each business datum of intelligent charging spot, and the create-rule of the UUID data is certainly Row setting;
Business datum with UUID data is sent to management platform by step 2, the intelligent charging spot;
After step 3, the management platform receive the business datum with UUID data, extracts and parse UUID number According to;
The UUID data are sent to mysql database by step 4, according to mysql after the mysql database reception Database is indexed UUID data;
Step 5 determines whether the UUID data are successfully written in mysql database according to indexed results, and will sentence The write state of the UUID data after fixed feeds back to management platform;
Step 6, the management platform control its stopping according to write state or continue subsequent business operation process, together When, write state is informed that intelligent charging spot, the intelligent charging spot also control its end according to write state by the management platform Only or continue subsequent business operation process.
Further, the step 2 specifically:
There is plural transmission channel, the intelligent charging spot will have between the intelligent charging spot and management platform The different business data of UUID data are transferred to management platform by different transmission channels.
Further, the step 5 specifically:
Judge whether the UUID data have existed in mysql database according to indexed results, if so, explanation should UUID data have repeated, which is that can not be successfully written mysql database, i.e., the write state of UUID data is to write Enter failure, the corresponding business datum of the UUID data occurs to repeat to upload;If not, illustrating that the UUID data do not repeat, directly The UUID data are written to mysql database, i.e. the write state of UUID data is to be written successfully, and the UUID data are corresponding Business datum does not repeat to upload;Then the write state of the UUID data is fed back into management platform.
Further, the step 6 specifically:
If the write state that the management platform obtains UUID data is that UUID can not be successfully written mysql database In, then the management platform will stop its subsequent business operation process;Meanwhile write state is informed intelligence by the management platform Energy charging pile, the intelligent charging spot will also terminate its subsequent business operation process, and it is corresponding not retransmit the UUID data Business datum;If the write state that the management platform obtains UUID data is that UUID is successfully written into mysql data In library, then the management platform will continue its subsequent business operation process;Meanwhile the management platform informs write state Intelligent charging spot, the intelligent charging spot will also continue its subsequent business operation process.
Further, the intelligent charging spot is communicated with management platform by mqtt communication protocol;The mysql number Index type according to library includes simple index, unique index, full-text index, single-row index, multiple row index and combined index.
The second technical problem to be solved by the present invention, be to provide a kind of intelligent charging spot and management platform judgement repeat it is logical The system of letter can judge data polyisomenism in repeated communications, and prevent business from repeating and be brought Economic loss.
The two of problem of the invention, are achieved in that
The system that a kind of intelligent charging spot judges repeated communications with management platform, comprising:
Mark data implant module, for taking UUID data in each business datum of intelligent charging spot, the UUID The create-rule sets itself of data;
Business datum with UUID data is sent to management for the intelligent charging spot by business datum sending module Platform;
Mark data parsing module extracts after receiving the business datum with UUID data for the management platform And parse UUID data;
Mark data index module, for the UUID data to be sent to mysql database, the mysql database UUID data are indexed according to mysql database after reception;
Write state judgment module, for determining whether the UUID data are successfully written mysql according to indexed results In database, and the write state of the UUID data after judgement is fed back into management platform;
Write state notification module controls it according to write state for the management platform and stops or continue subsequent industry Business operating process, meanwhile, write state is informed intelligent charging spot by the management platform, and the intelligent charging spot is also according to write-in State controls it and terminates or continue subsequent business operation process.
Further, the business datum sending module specifically:
There is plural transmission channel, the intelligent charging spot will have between the intelligent charging spot and management platform The different business data of UUID data are transferred to management platform by different transmission channels.
Further, said write condition judgment module, specifically:
Judge whether the UUID data have existed in mysql database according to indexed results, if so, explanation should UUID data have repeated, which is that can not be successfully written mysql database, i.e., the write state of UUID data is to write Enter failure, the corresponding business datum of the UUID data occurs to repeat to upload;If not, illustrating that the UUID data do not repeat, directly The UUID data are written to mysql database, i.e. the write state of UUID data is to be written successfully, and the UUID data are corresponding Business datum does not repeat to upload;Then the write state of the UUID data is fed back into management platform.
Further, said write state notifying module specifically:
If the write state that the management platform obtains UUID data is that UUID can not be successfully written mysql database In, then the management platform will stop its subsequent business operation process;Meanwhile write state is informed intelligence by the management platform Energy charging pile, the intelligent charging spot will also terminate its subsequent business operation process, and it is corresponding not retransmit the UUID data Business datum;If the write state that the management platform obtains UUID data is that UUID is successfully written into mysql data In library, then the management platform will continue its subsequent business operation process;Meanwhile the management platform informs write state Intelligent charging spot, the intelligent charging spot will also continue its subsequent business operation process.
Further, the intelligent charging spot is communicated with management platform by mqtt communication protocol;The mysql number Index type according to library includes simple index, unique index, full-text index, single-row index, multiple row index and combined index.
The present invention has the advantages that the present invention adds UUID data in each business datum, it can be with unique identification not With business datum, and UUID data are indexed by mysql database, pa is according to judging whether UUID data have deposited To determine whether the corresponding business datum of UUID data occurs to repeat to upload, if repeating to upload, intelligent charge is being informed Stake, and stop follow-up business operation, prevent economic loss caused by repeating business operation.
Detailed description of the invention
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the method execution flow chart that a kind of intelligent charging spot of the present invention and management platform judge repeated communications.
Fig. 2 is the interactive process figure between intelligent charging spot in the present invention, management platform and mysql database.
Fig. 3 is a kind of structural schematic diagram for the system that intelligent charging spot and management platform of the invention judge repeated communications.
Specific embodiment
To be clearer and more comprehensible the present invention, now with a preferred embodiment, and attached drawing is cooperated to be described in detail below.
As depicted in figs. 1 and 2, a kind of intelligent charging spot of the invention and management platform judge the method for repeated communications, packet Include following steps:
Step 1 takes UUID data in each business datum of intelligent charging spot, and the create-rule of the UUID data is certainly Row setting;UUID is the abbreviation of Universally Unique Identifier (Universally Unique Identifier), is that a kind of software is built The standard of structure is woven in a part in distributed computing environment field also for Open Software Foundation's group.Its purpose is to allow distribution All elements in system can have unique identification information, the finger without doing identification information by central control terminal It is fixed.In this way, which everyone can create the UUID not conflicted with other people;By adding one in each business datum UUID data, it is ensured that the uniqueness of each business datum, convenient for identifying and judgeing for each business datum;
Business datum with UUID data is sent to management platform by step 2, the intelligent charging spot, and the intelligence is filled Electric stake is communicated with management platform by mqtt communication protocol, and MQTT is an Internet of Things transmission association by the leading exploitation of IBM View, it is designed to the publish/subscribe formula message transmission of lightweight, it is intended in low bandwidth and unstable network environment Internet of things equipment provides reliable network service.Its core design thought is to increase income, is reliable, is light and handy, is simple, has following master Several characteristics wanted: 1. very small communication overheads (the smallest message size is 2 bytes);2. supporting various popular programming languages (including C, Java, Ruby, Python etc.) and wieldy client;3. supporting publication/pre-determined model, simplifies and apply journey The exploitation of sequence;4. providing three kinds of different messages grade of deliveries, message can be arrived at the destination on demand, adapts in unstable operation Network transmission demand;
The step specifically:
There is plural transmission channel, the intelligent charging spot will have between the intelligent charging spot and management platform The different business data of UUID data are transferred to management platform by different transmission channels;Due to being sent to pipe from intelligent charging spot There are many business datum of platform, quick in order to transmit, and can establish a plurality of transmission channel, and one or more business datums can be with It is effectively transmitted by a transmission channel, so that not interfere with each other between the transmission of multiple business datums, is effectively improved Efficiency of transmission;
After step 3, the management platform receive the business datum with UUID data, extracted simultaneously from the business datum Parse UUID data, the unique identifier that the corresponding business datum of a UUID data, i.e. UUID data are business datum;
The UUID data are sent to mysql database by step 4, according to mysql after the mysql database reception Database is indexed UUID data;The index type of the mysql database includes simple index, unique index, full text Index, single-row index, multiple row index and combined index;The foundation of MySQL index is critically important for the efficient operation of MySQL , index can greatly improve the retrieval rate of MySQL.Draw an analogy, if hold water design and using index If MySQL is a Lamborghini, then the MySQL without design and use index is exactly a pedicab;
Step 5 determines whether the UUID data are successfully written in mysql database according to indexed results, and will sentence The write state of the UUID data after fixed feeds back to management platform;The step specifically:
Judge whether the UUID data have existed in mysql database according to indexed results, if so, explanation should UUID data have repeated, which is that can not be successfully written mysql database, i.e., the write state of UUID data is to write Enter failure, the corresponding business datum of the UUID data occurs to repeat to upload;If not, illustrating that the UUID data do not repeat, directly The UUID data are written to mysql database, i.e. the write state of UUID data is to be written successfully, and the UUID data are corresponding Business datum does not repeat to upload;Then the write state of the UUID data is fed back into management platform;
Step 6, the management platform control its stopping according to write state or continue subsequent business operation process, together When, write state is informed that intelligent charging spot, the intelligent charging spot also control its end according to write state by the management platform Only or continue subsequent business operation process;The step specifically:
If the write state that the management platform obtains UUID data is that UUID can not be successfully written mysql database In, then the management platform will stop its subsequent business operation process;Meanwhile write state is informed intelligence by the management platform Energy charging pile, the intelligent charging spot will also terminate its subsequent business operation process, and it is corresponding not retransmit the UUID data Business datum;If the write state that the management platform obtains UUID data is that UUID is successfully written into mysql data In library, then the management platform will continue its subsequent business operation process;Meanwhile the management platform informs write state Intelligent charging spot, the intelligent charging spot will also continue its subsequent business operation process.
Such as: business datum is to supplement telephone expenses with money for certain phone number, if communication does not repeat, manages platform and executes clearing This business task of some customer charge, intelligent charging spot execute this business task of charge filling;If communication repeats, management is flat Platform stops clearing customer charge business, and intelligent charging spot also stops this business task of charge filling, avoids intelligence in this way and fills Electric stake is possible to repeat this business task of charge filling, would not also cause unnecessary economic loss.
As shown in figure 3, a kind of intelligent charging spot of the invention and management platform judge the system of repeated communications, comprising:
Mark data implant module, for taking UUID data in each business datum of intelligent charging spot, the UUID The create-rule sets itself of data;UUID is Universally Unique Identifier (Universally Unique Identifier) Abbreviation, is a kind of standard of software construction, a part in distributed computing environment field is also woven in for Open Software Foundation's group. Its purpose is all elements allowed in distributed system, can have unique identification information, without passing through central control terminal To do the specified of identification information.In this way, which everyone can create the UUID not conflicted with other people;By in each industry A UUID data are added in data of being engaged in, it is ensured that the uniqueness of each business datum, convenient for the identification of each business datum And judgement;
Business datum with UUID data is sent to management for the intelligent charging spot by business datum sending module Platform, the intelligent charging spot are communicated with management platform by mqtt communication protocol, and MQTT is one by the leading exploitation of IBM Internet of Things transport protocol, it is designed to the publish/subscribe formula message transmission of lightweight, it is intended to for low bandwidth and unstable Network environment in internet of things equipment reliable network service is provided.Its core design thought be open source, it is reliable, light and handy, Simply, there is following main several characteristics: 1. very small communication overheads (the smallest message size is 2 bytes);2. supporting Various prevalence programming languages (including C, Java, Ruby, Python etc.) and wieldy client;3. support publication/pre- Cover half type simplifies the exploitation of application program;4. providing three kinds of different messages grade of deliveries, message can be arrived at the destination on demand, Adapt to the network transmission demand in unstable operation;
The business datum sending module specifically:
There is plural transmission channel, the intelligent charging spot will have between the intelligent charging spot and management platform The different business data of UUID data are transferred to management platform by different transmission channels;Due to being sent to pipe from intelligent charging spot There are many business datum of platform, quick in order to transmit, and can establish a plurality of transmission channel, and one or more business datums can be with It is effectively transmitted by a transmission channel, so that not interfere with each other between the transmission of multiple business datums, is effectively improved Efficiency of transmission;
Mark data parsing module, after receiving the business datum with UUID data for the management platform, from this UUID data are extracted and parsed in business datum, and the corresponding business datum of a UUID data, i.e. UUID data are business The unique identifier of data;
Mark data index module, for the UUID data to be sent to mysql database, the mysql database UUID data are indexed according to mysql database after reception;The index type of the mysql database includes common rope Draw, unique index, full-text index, single-row index, multiple row indexes and combined index;Height of the foundation of MySQL index for MySQL Effect operation be it is critically important, index can greatly improve the retrieval rate of MySQL.It draws an analogy, if holding water design simultaneously And if using the MySQL of index being a Lamborghini, then the MySQL without design and use index is exactly a manpower Tricycle;
Write state judgment module, for determining whether the UUID data are successfully written mysql according to indexed results In database, and the write state of the UUID data after judgement is fed back into management platform;The write state judgment module Specifically:
Judge whether the UUID data have existed in mysql database according to indexed results, if so, explanation should UUID data have repeated, which is that can not be successfully written mysql database, i.e., the write state of UUID data is to write Enter failure, the corresponding business datum of the UUID data occurs to repeat to upload;If not, illustrating that the UUID data do not repeat, directly The UUID data are written to mysql database, i.e. the write state of UUID data is to be written successfully, and the UUID data are corresponding Business datum does not repeat to upload;Then the write state of the UUID data is fed back into management platform;
Write state notification module controls it according to write state for the management platform and stops or continue subsequent industry Business operating process, meanwhile, write state is informed intelligent charging spot by the management platform, and the intelligent charging spot is also according to write-in State controls it and terminates or continue subsequent business operation process;The write state notification module specifically:
If the write state that the management platform obtains UUID data is that UUID can not be successfully written mysql database In, then the management platform will stop its subsequent business operation process;Meanwhile write state is informed intelligence by the management platform Energy charging pile, the intelligent charging spot will also terminate its subsequent business operation process, and it is corresponding not retransmit the UUID data Business datum;If the write state that the management platform obtains UUID data is that UUID is successfully written into mysql data In library, then the management platform will continue its subsequent business operation process;Meanwhile the management platform informs write state Intelligent charging spot, the intelligent charging spot will also continue its subsequent business operation process.
Such as: business datum is to supplement telephone expenses with money for certain phone number, if communication does not repeat, manages platform and executes clearing This business task of some customer charge, intelligent charging spot execute this business task of charge filling;If communication repeats, management is flat Platform stops clearing customer charge business, and intelligent charging spot also stops this business task of charge filling, avoids intelligence in this way and fills Electric stake is possible to repeat this business task of charge filling, would not also cause unnecessary economic loss.
In the present invention, the data communicated first are in addition to business datum will also take UUID data, then intelligent charging spot root It is submitted to management platform according to mqtt communication protocol, manages platform priority processing UUID data, takes progress after UUID data The write-in of mysql database.The column of UUID record will do unique index, that is, this unique index whether to judge UUID data Uniquely, intelligent charging spot and management platform are solved in network congestion, under complications, how to judge that business datum is It is no to repeat to upload.If it is repetitive data packet, the business operation of itself can be terminated by managing platform, can also inform intelligent charging spot end Only follow-up business operates, and management platform is wanted to notify that this data of intelligent charging spot are duplicate, processed data packets.
Management platform receive business datum judge out whether repeated data, be that repeated data just not continue to hold down Other operations of row, the present invention is to guarantee the uniqueness of business datum by UUID data.
Intelligent charging spot network condition is very bad under normal conditions, and network congestion is serious, and repetition is not known certainly after giving out a contract for a project The case where oneself gives out a contract for a project.Intelligent charging spot discovery management platform return is duplicate data packet, and at this moment intelligent charging spot is known that number According to having had sent, without retransmiting.
Although specific embodiments of the present invention have been described above, those familiar with the art should be managed Solution, we are merely exemplary described specific embodiment, rather than for the restriction to the scope of the present invention, it is familiar with this The technical staff in field should be covered of the invention according to modification and variation equivalent made by spirit of the invention In scope of the claimed protection.

Claims (10)

1. a kind of method that intelligent charging spot and management platform judge repeated communications, characterized by the following steps:
Step 1 takes UUID data in each business datum of intelligent charging spot, and the create-rule of the UUID data is voluntarily set It is fixed;
Business datum with UUID data is sent to management platform by step 2, the intelligent charging spot;
After step 3, the management platform receive the business datum with UUID data, extracts and parse UUID data;
The UUID data are sent to mysql database by step 4, according to mysql data after the mysql database reception Library is indexed UUID data;
Step 5 determines whether the UUID data are successfully written in mysql database according to indexed results, and will be after judgement The write states of the UUID data feed back to management platform;
Step 6, the management platform control its stopping according to write state or continue subsequent business operation process, meanwhile, institute State management platform and write state informed into intelligent charging spot, the intelligent charging spot also according to write state control its terminate or after Continue subsequent business operation process.
2. the method that a kind of intelligent charging spot as described in claim 1 and management platform judge repeated communications, it is characterised in that: The step 2 specifically:
There is plural transmission channel, the intelligent charging spot will have UUID number between the intelligent charging spot and management platform According to different business data be transferred to management platform by different transmission channels.
3. the method that a kind of intelligent charging spot as described in claim 1 and management platform judge repeated communications, it is characterised in that: The step 5 specifically:
Judge whether the UUID data have existed in mysql database according to indexed results, if so, illustrating the UUID number According to having repeated, which is that can not be successfully written mysql database, i.e., the write state of UUID data is that write-in is lost It loses, the corresponding business datum of the UUID data occurs to repeat to upload;If not, illustrate that the UUID data do not repeat, it directly should UUID data are written to mysql database, i.e. the write state of UUID data is to be written successfully, the corresponding business of UUID data Data do not repeat to upload;Then the write state of the UUID data is fed back into management platform.
4. the method that a kind of intelligent charging spot as described in claim 1 and management platform judge repeated communications, it is characterised in that: The step 6 specifically:
If the write state that the management platform obtains UUID data is that UUID can not be successfully written in mysql database, Then the management platform will stop its subsequent business operation process;Meanwhile write state is informed intelligence by the management platform Charging pile, the intelligent charging spot will also terminate its subsequent business operation process, and it is corresponding not retransmit the UUID data Business datum;If the write state that the management platform obtains UUID data is that UUID is successfully written into mysql database In, then the management platform will continue its subsequent business operation process;Meanwhile write state is informed intelligence by the management platform Energy charging pile, the intelligent charging spot will also continue its subsequent business operation process.
5. the method that a kind of intelligent charging spot as described in claim 1 and management platform judge repeated communications, it is characterised in that: Intelligent charging spot is communicated with management platform by mqtt communication protocol;The index type of the mysql database includes general Logical index, unique index, full-text index, single-row index, multiple row index and combined index.
6. the system that a kind of intelligent charging spot and management platform judge repeated communications, it is characterised in that: include:
Mark data implant module, for taking UUID data in each business datum of intelligent charging spot, the UUID data Create-rule sets itself;
Business datum with UUID data is sent to management for the intelligent charging spot and put down by business datum sending module Platform;
Mark data parsing module is extracted and is solved after receiving the business datum with UUID data for the management platform UUID data are precipitated;
Mark data index module, for the UUID data to be sent to mysql database, the mysql database is received UUID data are indexed according to mysql database afterwards;
Write state judgment module, for determining whether the UUID data are successfully written mysql data according to indexed results In library, and the write state of the UUID data after judgement is fed back into management platform;
Write state notification module controls it according to write state for the management platform and stops or continue subsequent business behaviour Make process, meanwhile, write state is informed intelligent charging spot by the management platform, and the intelligent charging spot is also according to write state It controls it and terminates or continue subsequent business operation process.
7. the system that a kind of intelligent charging spot as claimed in claim 6 and management platform judge repeated communications, it is characterised in that: The business datum sending module specifically:
There is plural transmission channel, the intelligent charging spot will have UUID number between the intelligent charging spot and management platform According to different business data be transferred to management platform by different transmission channels.
8. the system that a kind of intelligent charging spot as claimed in claim 6 and management platform judge repeated communications, it is characterised in that: Said write condition judgment module, specifically:
Judge whether the UUID data have existed in mysql database according to indexed results, if so, illustrating the UUID number According to having repeated, which is that can not be successfully written mysql database, i.e., the write state of UUID data is that write-in is lost It loses, the corresponding business datum of the UUID data occurs to repeat to upload;If not, illustrate that the UUID data do not repeat, it directly should UUID data are written to mysql database, i.e. the write state of UUID data is to be written successfully, the corresponding business of UUID data Data do not repeat to upload;Then the write state of the UUID data is fed back into management platform.
9. the system that a kind of intelligent charging spot as claimed in claim 6 and management platform judge repeated communications, it is characterised in that: Said write state notifying module specifically:
If the write state that the management platform obtains UUID data is that UUID can not be successfully written in mysql database, Then the management platform will stop its subsequent business operation process;Meanwhile write state is informed intelligence by the management platform Charging pile, the intelligent charging spot will also terminate its subsequent business operation process, and it is corresponding not retransmit the UUID data Business datum;If the write state that the management platform obtains UUID data is that UUID is successfully written into mysql database In, then the management platform will continue its subsequent business operation process;Meanwhile write state is informed intelligence by the management platform Energy charging pile, the intelligent charging spot will also continue its subsequent business operation process.
10. the system that a kind of intelligent charging spot as claimed in claim 6 and management platform judge repeated communications, feature exist In: the intelligent charging spot is communicated with management platform by mqtt communication protocol;The index type of the mysql database Including simple index, unique index, full-text index, single-row index, multiple row index and combined index.
CN201910649879.5A 2019-07-18 2019-07-18 A kind of intelligent charging spot judges the method and system of repeated communications with management platform Pending CN110445846A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910649879.5A CN110445846A (en) 2019-07-18 2019-07-18 A kind of intelligent charging spot judges the method and system of repeated communications with management platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910649879.5A CN110445846A (en) 2019-07-18 2019-07-18 A kind of intelligent charging spot judges the method and system of repeated communications with management platform

Publications (1)

Publication Number Publication Date
CN110445846A true CN110445846A (en) 2019-11-12

Family

ID=68430801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910649879.5A Pending CN110445846A (en) 2019-07-18 2019-07-18 A kind of intelligent charging spot judges the method and system of repeated communications with management platform

Country Status (1)

Country Link
CN (1) CN110445846A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282500A (en) * 2007-04-02 2008-10-08 中国移动通信集团山东有限公司 Control method and system for increment service supporting multiple access modes
CN103310334A (en) * 2012-03-16 2013-09-18 阿里巴巴集团控股有限公司 Business processing method and device
US20140067772A1 (en) * 2012-08-31 2014-03-06 Nokia Corporation Methods, apparatuses and computer program products for achieving eventual consistency between a key value store and a text index
CN107229455A (en) * 2016-03-24 2017-10-03 阿里巴巴集团控股有限公司 A kind of method for processing business, apparatus and system
CN110019125A (en) * 2017-11-27 2019-07-16 北京京东尚科信息技术有限公司 The method and apparatus of data base administration

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282500A (en) * 2007-04-02 2008-10-08 中国移动通信集团山东有限公司 Control method and system for increment service supporting multiple access modes
CN103310334A (en) * 2012-03-16 2013-09-18 阿里巴巴集团控股有限公司 Business processing method and device
US20140067772A1 (en) * 2012-08-31 2014-03-06 Nokia Corporation Methods, apparatuses and computer program products for achieving eventual consistency between a key value store and a text index
CN107229455A (en) * 2016-03-24 2017-10-03 阿里巴巴集团控股有限公司 A kind of method for processing business, apparatus and system
CN110019125A (en) * 2017-11-27 2019-07-16 北京京东尚科信息技术有限公司 The method and apparatus of data base administration

Similar Documents

Publication Publication Date Title
US7152094B1 (en) Middleware brokering system adapter
CN110069354A (en) The full link trace method of micro services and micro services framework
CN107483276B (en) Processing method, device and the sending down service platform of business
US7216181B1 (en) Middleware brokering system
CN104092719B (en) Document transmission method, device and distributed cluster file system
CN101072167B (en) Method and system for transmitting information through communication system
EP0599480A1 (en) Communication in a computer network
CN101729386B (en) Flow control method and device based on token scheduling
WO1999055042A1 (en) System and method for establishing a multicast message delivery error recovery tree in a digital network
CN109582335A (en) It is a kind of without interrupt storage cluster node online upgrading method, device and equipment
US9007944B2 (en) One-to-many and many-to-one communications on a network
CN112398673A (en) Upgrading method, communication equipment and computer readable storage medium
CN104023072A (en) Device and method for pushing data
CN106059936B (en) The method and device of cloud system Multicast File
CN109614110A (en) A kind of method and apparatus that message-oriented middleware concentrates deployment
CN112994938B (en) Optical network unit upgrading system and method
CN106993043A (en) Data communication system and method based on agency
CN106530438B (en) A kind of real-time automobile data recorder collecting method of magnanimity and system
CN107066341B (en) Event routing framework and method between software modules
CN102571545A (en) Method and device for transmitting information in IPv4 (Internet Protocol vision 4) network
CN110445846A (en) A kind of intelligent charging spot judges the method and system of repeated communications with management platform
CN112995700A (en) Method and device for processing electronic resources and electronic equipment
CN106775818A (en) ECU upgrade methods and ECU updating apparatus based on CAN
CN107580349A (en) A kind of reorientation method and device
CN110138668A (en) Stream description processing method and processing device, network entity and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191112

RJ01 Rejection of invention patent application after publication