CN106953920A - A kind of intelligent socket system and its network-building method - Google Patents

A kind of intelligent socket system and its network-building method Download PDF

Info

Publication number
CN106953920A
CN106953920A CN201710182982.4A CN201710182982A CN106953920A CN 106953920 A CN106953920 A CN 106953920A CN 201710182982 A CN201710182982 A CN 201710182982A CN 106953920 A CN106953920 A CN 106953920A
Authority
CN
China
Prior art keywords
bit
circulation
data
smart jack
service 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
CN201710182982.4A
Other languages
Chinese (zh)
Inventor
高峰
张罗平
岳阳
曾嵘
赵伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
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 Tsinghua University filed Critical Tsinghua University
Publication of CN106953920A publication Critical patent/CN106953920A/en
Pending legal-status Critical Current

Links

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/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
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F15/00Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity
    • G07F15/003Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity for electricity
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/665Structural association with built-in electrical component with built-in electronic circuit
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/665Structural association with built-in electrical component with built-in electronic circuit
    • H01R13/6691Structural association with built-in electrical component with built-in electronic circuit with built-in signalling means
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/70Structural association with built-in electrical component with built-in switch
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/10Current supply arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of intelligent socket system and its network-building method, it is related to public electricity-using and smart home field, solves the technical problem that smart jack in the prior art does not possess electric quantity metering function, management is inconvenient, identification process is complicated.The intelligent socket system of the application includes multiple smart jacks, software platform system service equipment and client, software platform system service equipment passes through smart jack gathered data, after the software interface of client is entered, carry out payment selection, and connected after paying successfully with software platform system service equipment, software platform system service equipment control smart jack is powered.The present invention is applied to power supply service.

Description

A kind of intelligent socket system and its network-building method
Technical field
The present invention relates to public electricity-using and smart home field, and in particular to a kind of intelligent socket system and its networking side Method.
Background technology
At present, the smart jack of prevalence, most of only switch control on the market, does not possess electric quantity metering function;Intelligence Unique code of the socket in management platform system is inside of electronic component code, and management is inconvenient;In addition, user can not use The method of mobile phone barcode scanning recognizes specific corresponding smart jack, i.e., various electricity consumption occasions temporarily recognize intelligence using Quick Response Code The function of energy socket.
The content of the invention
It is an object of the invention to provide a kind of intelligent socket system and its network-building method, inserted for solving existing intelligence The technical problem that seat does not possess electric quantity metering function, management is inconvenient, identification process is complicated.
To reach above-mentioned purpose, intelligent socket system of the invention is adopted the following technical scheme that:
The intelligent socket system includes multiple smart jacks, software platform system service equipment and client, software platform System service equipment is by smart jack gathered data, after the software interface of client is entered, and carries out payment selection, and in branch Connected after paying successfully with software platform system service equipment, software platform system service equipment control smart jack is powered;Each Include single-chip microcomputer, remote control switch, ammeter metering module and wireless communication module, single-chip microcomputer and long-range control inside smart jack Make and include a unique Quick Response Code ID outside switch, the connection of ammeter metering module, wireless communication module, smart jack;Wirelessly There is communication module unique number ID to be corresponded with the Quick Response Code ID outside smart jack;Software platform system service equipment is led to The data that wireless communication module gathers smart jack are crossed, the software interface of client is entered by scanning Quick Response Code ID.
Alternatively, software platform system service equipment includes wireless base station platform and data management platform, and wireless base station is put down Platform and data management platform are carried out data transmission by standard TCP/IP Internet protocols.
Alternatively, the communication technology of wireless communication module is one in LoRa, Wifi, ZigBee, EnOcean or BLE Plant or a variety of.
System is divided into application layer, system services layer and physical layer by the intelligent socket system of the present invention, with low-power consumption, low Bandwidth, remote advantage;Include ammeter metering module, the metering available for the electricity electricity charge inside smart jack;Software platform System service equipment can be managed by Quick Response Code ID or wireless communication module ID to smart jack, and pass through radio communication Module gathers the data of smart jack;User is recognized by Quick Response Code can enter the software interface of client, easy to use, fast It is prompt.
The present invention also provides a kind of network-building method of intelligent socket system, it is adaptable to intelligent socket system as described above, Comprise the following steps:
Quick Response Code ID outside step S1, each smart jack of scanning, into the software interface of client, and in client Software interface carry out payment selection mode, and paid;
Step S2, pay successfully after, client is connected with software platform system service equipment;
After step S3, client are connected with software platform system service equipment, software platform system service equipment with it is each Smart jack distinguishes wireless connection;
After step S4, software platform system service equipment are connected with smart jack, the control of software platform system service equipment Smart jack is powered, and passes through each smart jack gathered data.
Alternatively, software platform system service equipment includes soft in wireless base station platform and data management platform, step S3 It is specially wireless base station platform and each smart jack that part plateform system service equipment distinguishes wireless connection with each smart jack Wireless connection;Software platform system service equipment is specially that data pipe is patted by each smart jack gathered data in step S4 Platform is acquired data by smart jack, and data management platform carries out storage, inquiry, classification and the storage of data.
Alternatively, between software platform system service equipment and each smart jack and software platform system service is set Data are encrypted and decrypted by the standby bi-directional that data are carried out between client in data transmission applications layer.
Alternatively, when carrying out bi-directional to data, shifting processing is circulated to each byte;Data are encrypted When, using left cyclic shift method, when data are decrypted, using right cyclic shift method, left cyclic shift method and the right side Cyclic shift method is corresponding.
Alternatively, left cyclic shift method includes left circulation one bit method, two bit methods of left circulation, left circulation three Bit method, four bit methods of left circulation, five bit methods of left circulation, seven bit methods of six bit methods of left circulation and left circulation; Right cyclic shift method includes right circulation one bit method, two bit methods of right circulation, three bit methods of right circulation, right circulation four Position bit method, five bit methods of right circulation, seven bit methods of six bit methods of right circulation and right circulation;The method of data encryption with The method of data deciphering is corresponded, i.e. one bit method of one bit method of left circulation and right circulation is corresponding, left two ratios of circulation Two bit methods of special method and right circulation are corresponding, and three bit methods of three bit methods of left circulation and right circulation are corresponding, left circulation four Four bit methods of bit method and right circulation are corresponding, and five bit methods of five bit methods of left circulation and right circulation are corresponding, left circulation six Six bit methods of position bit method and right circulation are corresponding, and seven bit methods of seven bit methods of left circulation and right circulation are corresponding.
Alternatively, in intelligent socket system, seven kinds of left cyclic shift methods and seven kinds of right cyclic shift methods make simultaneously With, but the data ciphering method of each smart jack can only correspond to one kind in seven kinds of left cyclic shift methods.
Alternatively, software platform system service equipment communicates preceding, it is necessary to inquire about the numbering ID of wireless communication module each, Confirm the left cyclic shift method of the data encryption of each smart jack, it is ensured that software platform system service equipment is correctly decrypted.
The network-building method of the intelligent socket system of the present invention, with low-power consumption, low bandwidth, remote advantage;User is led to Cross client and smart jack can be used, charging uses the electric energy that smart jack is provided, provided the user a kind of new electricity consumption Service mode.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments described in application, for those of ordinary skill in the art, can also obtain other according to these accompanying drawings Accompanying drawing.
Fig. 1 is the structural representation of the intelligent socket system of the present invention;
Fig. 2 is the internal structure schematic diagram of the smart jack of the present invention;
Fig. 3 is the structural representation of the software platform system service equipment of the present invention;
Fig. 4 is the flow chart of the network-building method of the intelligent socket system of the present invention.
Description of reference numerals:
1-smart jack;2-software platform system service equipment;3-client;11-single-chip microcomputer;12-remote control Switch;13-ammeter metering module;14-wireless communication module;21-wireless base station platform;22-data management platform.
Embodiment
With reference to the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on the present invention In embodiment, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Embodiment one
Fig. 1 is the structural representation of the intelligent socket system of the present invention, as shown in figure 1, the intelligent socket system of the present invention Including multiple smart jacks 1, software platform system service equipment 2 and client 3, software platform system service equipment 2 passes through intelligence The energy gathered data of socket 1, after the software interface of client 3 is entered, carries out payment selection, and flat with software after paying successfully Platform system service equipment 2 is connected, and the control smart jack 1 of software platform system service equipment 2 is powered.Include electricity consumption during payment selection Amount is quantified or power consumption two kinds of way of paying of timing.The client 3 of intelligent socket system is embodied as the application journey in mobile phone Sequence or wechat small routine, in the following description, client 3 are described as the application program of client 3.
Wherein, each inside of smart jack 1 includes single-chip microcomputer 11, remote control switch 12, ammeter metering module 13 and nothing Line communication module 14, Fig. 2 is the internal structure schematic diagram of the smart jack of the present invention, as shown in Fig. 2 single-chip microcomputer 11 and long-range control System switch 12, ammeter metering module 13, wireless communication module 14 are connected, and the outside of smart jack 1 includes a unique Quick Response Code ID;There is wireless communication module 14 unique number ID to be corresponded with the Quick Response Code ID outside smart jack 1;Software platform system Service equipment 2 gathers the data of smart jack 1 by wireless communication module 14, by scanning Quick Response Code ID into client 3 Software interface.Scanning Quick Response Code ID mode is to carry out take pictures barcode scanning identification, such as mobile phone A PP or wechat using optical camera Small routine.
System is divided into application layer, system services layer and physical layer by the intelligent socket system of the present invention, with low-power consumption, low Bandwidth, remote advantage;The inside of smart jack 1 includes ammeter metering module 13, the metering available for the electricity electricity charge;Software is put down Platform system service equipment 2 can be managed by Quick Response Code ID or wireless communication module ID to smart jack 1, and by wireless Communication module 14 gathers the data of smart jack 1;User is recognized by Quick Response Code can enter the software interface of client 3, make With convenient, fast.
It is to be understood that the create-rule of the Quick Response Code ID outside smart jack 1 is to be based on wireless communication module ID, press According to the generation of single-chip microcomputer built-in encryption algorithm.The Quick Response Code ID of smart jack 1, with uniqueness and consistency, is being produced once generating After product are produced in enormous quantities, it can be called by system data and realize various applications.
Alternatively, Fig. 3 is the structural representation of the software platform system service equipment of the present invention, as shown in figure 3, software is flat Platform system service equipment 2 includes wireless base station platform 21 and data management platform 22, and wireless base station platform 21 and data management are flat Platform 22 is carried out data transmission by standard TCP/IP Internet protocols.Wireless base station platform 21 is wireless with each smart jack 1 Communication module 14 is carried out data transmission by wireless communication technology.Data management platform 22 carries out the storage, inquiry, classification of data And storage.The content of data specifically include the position of smart jack 1, the unique number ID of the wireless communication module 14 of smart jack 1, The information such as Quick Response Code ID, customer location, electricity consumption duration, power consumption, payment expense outside smart jack 1.Data management platform 22 can also provide the grouping management of smart jack 1, and Group administrators can carry out power consumption to single smart jack 1 in group, total Expense, electricity consumption duration distribution curve carry out query statistic, provide based on period, the electricity consumption energy consumption data of day, week, month, year Contrast.Group administrators also can carry out above statistical query to multiple smart jacks 1 selected in group with electric energy consumption sum.Adopt Wireless communication technology is the one or more in LoRa, Wifi, ZigBee, EnOcean or BLE.
It is noted that LoRa technologies have remote, low-power consumption, multinode, the characteristic of low cost, using LoRa without Line communication technology reduces the networking operation complexity of intelligent socket system, reduces O&M operation difficulty, relative to Wifi, ZigBee, EnOcean or BLE wireless communication technology, can lift tens times of communication coverage, realize large-scale business Industry is runed.
Preferably, software platform system service equipment 2 also includes data backup interface, the operation number for preserving backup According to, it is ensured that the security of intelligent socket system operation.Meanwhile, data backup interface can also be used to carry out other business.
User scans the Quick Response Code ID of smart jack 1 by camera when using smart jack 1, starts client 3 Application program, into after application program, payment selection is carried out in software interface, way of paying are selected, and after paying successfully, software The remote control switch 12 of the control smart jack 1 of plateform system service equipment 2 switches on power, and starts electric-using time recording.Power consumption is expired Or timing it is full when, smart jack 1 disconnects the power supply of remote control switch 12 automatically, stops service.
System is divided into application layer, system services layer and physical layer by the intelligent socket system of the present invention, with low-power consumption, low Bandwidth, remote advantage.
The intelligent socket system of the present invention is on the one hand, it is ensured that the numbering ID of each smart jack uniqueness, is counting greatly During according to computing, it is capable of the position of quickly and easily positioning intelligent socket 1, realizes a variety of Internet of Things applications;Pass through software platform system The management of system service equipment 2, constructs a kind of new electric energy Management and Operation Model;On the one hand, two outside smart jack 1 are passed through Code ID is tieed up, user can be directly entered the application program of client 3, realize various business applications;On the other hand, intelligence is passed through The Data Encryption Transmission of energy socket and the Internet, applications layer of software platform system service equipment 2, improves intelligent socket system Security, enhance the data seal of intelligent socket system.
Embodiment two
Fig. 4 is the flow chart of the network-building method of the intelligent socket system of the present invention, as shown in figure 4, the intelligence of the present invention is inserted The network-building method of base system comprises the following steps:
Quick Response Code ID outside step S1, each smart jack 1 of scanning, into the software interface of client 3, and in client The software interface at end 3 carries out payment selection mode, and is paid;
Step S2, pay successfully after, client 3 is connected with software platform system service equipment 2;
After step S3, client 3 are connected with software platform system service equipment 2, software platform system service equipment 2 with it is every Individual smart jack 1 distinguishes wireless connection;
After step S4, software platform system service equipment 2 are connected with smart jack 1, software platform system service equipment 2 is controlled Smart jack 1 processed is powered, and passes through each gathered data of smart jack 1.
Wherein, in step S1 payment selection mode include that power consumption is quantitative or power consumption regularly, user can according to oneself Need to select way of paying.
Alternatively, software platform system service equipment 2 includes wireless base station platform 21 and data management platform 22, step S3 It is specially wireless base station platform 21 and each that middle software platform system service equipment 2 distinguishes wireless connection with each smart jack 1 The wireless connection of smart jack 1;Software platform system service equipment 2 is specific by each gathered data of smart jack 1 in step S4 Data are acquired by smart jack 1 for data management platform 22, data management platform 22 carry out the storages of data, inquiry, Classification and storage.The wireless communication module 14 of wireless base station platform 21 and each smart jack 1 is carried out by wireless communication technology Data transfer.The wireless communication technology used is the one or more in LoRa, Wifi, ZigBee, EnOcean or BLE.
It is noted that LoRa technologies have remote, low-power consumption, multinode, the characteristic of low cost, using LoRa without Line communication technology reduces the networking operation complexity of intelligent socket system, reduces O&M operation difficulty, relative to Wifi, ZigBee, EnOcean or BLE wireless communication technology, can lift tens times of communication coverage, realize large-scale business Industry is runed.
Exemplarily, the content of the data of collection specifically includes the position of smart jack 1, the radio communication mold of smart jack 1 Quick Response Code ID, customer location, electricity consumption duration, power consumption, payment expense outside the unique number ID of block 14, smart jack 1 etc. Information.Data management platform 22 can also provide the grouping management of smart jack 1, and Group administrators can insert to single intelligence in group Seat carries out power consumption, total cost, electricity consumption duration distribution curve and carries out query statistic, provides based on period, day, week, month, year The contrast of electricity consumption energy consumption data.Group administrators also can to multiple smart jacks selected in group carried out with electric energy consumption sum with Upper statistical query.
Preferably, the network-building method of intelligent socket system is also preserved including the use of software platform system service equipment 2 and backed up Operation data.Specially software platform system service equipment 2 also includes data backup interface, the operation number for preserving backup According to.Data backup interface ensure that the security of intelligent socket system operation.
It is worth explaining, using the Internet, applications layer transparent transmission between software platform system service equipment 2 and smart jack 1 Pattern carries out the bi-directional of data, and the new method encryption and decryption being had by oneself to data.The encryption and decryption of the present invention Method improve the security of intelligent socket system, enhance the data seal of intelligent socket system.Software platform system The bi-directional of data is carried out between service equipment 2 and each smart jack 1, data are encrypted in data transmission applications layer And decryption.Between software platform system service equipment 2 and client 3 using SSL (Security Socket Layer) often The bi-directional that encryption mode carries out data is advised, data are encrypted and decrypted.
When carrying out bi-directional to data between software platform system service equipment 2 and smart jack 1, each byte is entered The processing of row cyclic shift;When specially data being encrypted, using left cyclic shift method, when data are decrypted, adopt With right cyclic shift method, left cyclic shift method is corresponding with right cyclic shift method.Transmit byte number and the Internet, applications Layer transparent transmission mode is consistent, not change data byte quantity.Each byte is made up of 8 bits, and left cyclic shift method includes a left side Circulate bit method, two bit methods of left circulation, three bit methods of left circulation, four bit methods of left circulation, a left circulation five Bit method, seven bit methods of six bit methods of left circulation and left circulation;Right cyclic shift method include one bit method of right circulation, Right circulation two bit methods, three bit methods of right circulation, four bit methods of right circulation, five bit methods of right circulation, right circulations six Position seven bit methods of bit method and right circulation;The method of data encryption and the method for data deciphering are corresponded, i.e., left circulation one One bit method of position bit method and right circulation is corresponding, and two bit methods of two bit methods of left circulation and right circulation are corresponding, left circulation Three bit methods of three bit methods and right circulation are corresponding, and four bit methods of four bit methods of left circulation and right circulation are corresponding, Zuo Xun Five bit methods of five bit methods of ring and right circulation are corresponding, and six bit methods of six bit methods of left circulation and right circulation are corresponding, left Circulate seven bit methods of seven bit methods and right circulation corresponding.
Specifically, it is described by taking left one bit method encryption of circulation as an example, each byte is made up of 8 bits, by word 8 bits of section are high-order to be arranged in left order according to bit7, bit6, bit5, bit4, bit3, bit2, bit1, bit0, left Circulating a bit method is:One bit of left circulation, performs left cyclic shift once, bit0 binary numeral is put into Bit1, bit2 is put into by bit1 binary numeral, and similar process bit3 to bit6, last bit7 binary numeral are put Enter bit0.Left circulation two bit methods, three bit methods of left circulation, four bit methods of left circulation, left circulation five bit methods, a left sides Circulation seven bit methods of six bit methods and left circulation are also that byte is handled according to one bit method of left circulation, i.e., a left side is followed Two bit methods of ring are two bits of left circulation, perform left cyclic shift twice;Left three bit methods of circulation are left circulation three Bit, the left cyclic shift of execution three times;Left four bit methods of circulation are four bits of left circulation, the left cyclic shift of execution four times; Left five bit methods of circulation are five bits of left circulation, the left cyclic shift of execution five times;Left six bit methods of circulation are left circulation Six bits, the left cyclic shift of execution six times;Left seven bit methods of circulation are seven bits of left circulation, perform left cyclic shift seven It is secondary.
Wherein, seven kinds of right cyclic shift methods are corresponded with corresponding left cyclic shift method, to circulate one with left It is described exemplified by bit method one bit method of corresponding right circulation, each byte is made up of 8 bits, during decryption, by byte 8 bits bit7, bit6, bit5, bit4, bit3, bit2, bit1, bit0, high-order to be arranged in left order, right circulation one Position bit method be:One bit of right circulation, performs right cyclic shift once, bit7 binary numeral is put into bit6, will Bit6 binary numeral is put into bit5, and similar process bit4 to bit1, last bit0 binary numeral are put into bit7. Right circulation two bit methods, three bit methods of right circulation, four bit methods of right circulation, five bit methods of right circulation, right circulations six Position seven bit methods of bit method and right circulation are also that byte is handled according to one bit method of right circulation, i.e., right circulation two Bit method is two bits of right circulation, performs right cyclic shift twice;Right three bit methods of circulation are three bits of right circulation, are held The right cyclic shift of row three times;Right four bit methods of circulation are four bits of right circulation, the right cyclic shift of execution four times;Right circulation five Position bit method is five bits of right circulation, the right cyclic shift of execution five times;Right six bit methods of circulation are six bits of right circulation, Perform right cyclic shift six times;Right seven bit methods of circulation are seven bits of right circulation, the right cyclic shift of execution seven times.
Which user plant left cyclic shift method encryption using, which kind right cyclic shift method of correspondence during decryption.
It should be noted that in intelligent socket system, seven kinds of left cyclic shift methods and seven kinds of right cyclic shift methods Use simultaneously, but the data ciphering method of each smart jack 1 can only correspond to one kind in seven kinds of left cyclic shift methods.Often The left cyclic shift method of individual smart jack 1 is one kind in this seven kinds left cyclic shift methods, this seven kinds of left cyclic shift sides Method is used at the same time in multiple smart jacks 1.When transmitting data, in smart jack 1 and software platform system service equipment 2 Between reach an agreement, i.e. smart jack 1 one kind in left cyclic shift method chosen when dispatching from the factory, clearly, and embody On the numbering ID of the wireless communication module 14 of smart jack 1, realized by the single-chip microcomputer 11 of smart jack 1, and be stored in software In the data management platform 22 of plateform system service equipment 2, i.e., recorded and recognized by data management platform 22 in networking.
In other words, after the numbering ID of the wireless communication module 14 of smart jack 1 is determined, the left circulation of smart jack 1 is moved Position method is determined that.Software platform system service equipment 2 is before communicating, it is necessary to inquire about the wireless communication module of smart jack 1 14 numbering ID, confirms the type of the left cyclic shift method of the smart jack 1, it is ensured that software platform system service equipment is correct Decryption.
The internal memory that the method for the encryption and decryption takes the single-chip microcomputer 11 of each smart jack 1 can be ignored, and take The internal memory of software platform system service equipment 2 can also ignore.It is real on the premise of intelligent socket system cost is not increased I.e. show the data encryption of the data application layer of smart jack 1.
System is divided into application layer, system services layer and physical layer by the network-building method of the intelligent socket system of the present invention, is had There are low-power consumption, low bandwidth, remote advantage.User is that smart jack can be used by client, and charging uses smart jack The electric energy of offer, has provided the user a kind of new power supply service pattern.
Although having been described for the preferred embodiment of the application, those skilled in the art once know basic creation Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent Select embodiment and fall into having altered and changing for the application scope.Obviously, those skilled in the art can be to the application Various changes and modification are carried out without departing from spirit and scope.So, if these modifications and modification of the application Belong within the scope of the application claim and its equivalent technologies, then the application is also intended to exist comprising these changes and modification It is interior.

Claims (10)

1. a kind of intelligent socket system, it is characterised in that including:
Multiple smart jacks, software platform system service equipment and client, software platform system service equipment are inserted by intelligence Seat gathered data, enter client software interface after, carry out payment selection, and after paying successfully with software platform system Service equipment is connected, and software platform system service equipment control smart jack is powered;
Include single-chip microcomputer, remote control switch, ammeter metering module and wireless communication module, single-chip microcomputer inside each smart jack It is connected with remote control switch, ammeter metering module, wireless communication module, a unique Quick Response Code is included outside smart jack ID;There is wireless communication module unique number ID to be corresponded with the Quick Response Code ID outside smart jack;Software platform system takes Equipment of being engaged in gathers the data of smart jack by wireless communication module, and software circle of client is entered by scanning Quick Response Code ID Face.
2. intelligent socket system as claimed in claim 1, it is characterised in that software platform system service equipment includes wireless base Platform and data management platform, wireless base station platform and data management platform enter line number by standard TCP/IP Internet protocols According to transmission.
3. intelligent socket system as claimed in claim 1, it is characterised in that the communication technology of wireless communication module be LoRa, One or more in Wifi, ZigBee, EnOcean or BLE.
4. a kind of network-building method of intelligent socket system, it is adaptable to the intelligent socket system as described in claim 1-3, its feature It is to comprise the following steps:
Quick Response Code ID outside step S1, each smart jack of scanning, into the software interface of client, and in the soft of client Part interface carries out payment selection mode, and is paid;
Step S2, pay successfully after, client is connected with software platform system service equipment;
After step S3, client are connected with software platform system service equipment, software platform system service equipment and each intelligence Socket distinguishes wireless connection;
After step S4, software platform system service equipment are connected with smart jack, software platform system service equipment control intelligence Socket is powered, and passes through each smart jack gathered data.
5. the network-building method of intelligent socket system as claimed in claim 4, it is characterised in that software platform system service equipment Including wireless base station platform and data management platform, software platform system service equipment is distinguished with each smart jack in step S3 Wireless connection is specially wireless base station platform and each smart jack wireless connection;Software platform system service equipment in step S4 It is specially that data management platform is acquired data by smart jack by each smart jack gathered data, data pipe is patted Platform carries out storage, inquiry, classification and the storage of data.
6. the network-building method of the intelligent socket system as described in claim 4 or 5, it is characterised in that software platform system service The two-way biography of data is carried out between equipment and each smart jack and between software platform system service equipment and client Pass, data are encrypted and decrypted in data transmission applications layer.
7. the network-building method of intelligent socket system as claimed in claim 6, it is characterised in that bi-directional is carried out to data When, shifting processing is circulated to each byte;When data are encrypted, using left cyclic shift method, data are carried out During decryption, using right cyclic shift method, left cyclic shift method is corresponding with right cyclic shift method.
8. the network-building method of intelligent socket system as claimed in claim 7, it is characterised in that left cyclic shift method includes a left side Circulate bit method, two bit methods of left circulation, three bit methods of left circulation, four bit methods of left circulation, a left circulation five Bit method, seven bit methods of six bit methods of left circulation and left circulation;Right cyclic shift method include one bit method of right circulation, Right circulation two bit methods, three bit methods of right circulation, four bit methods of right circulation, five bit methods of right circulation, right circulations six Position seven bit methods of bit method and right circulation;The method of data encryption and the method for data deciphering are corresponded, i.e., left circulation one One bit method of position bit method and right circulation is corresponding, and two bit methods of two bit methods of left circulation and right circulation are corresponding, left circulation Three bit methods of three bit methods and right circulation are corresponding, and four bit methods of four bit methods of left circulation and right circulation are corresponding, Zuo Xun Five bit methods of five bit methods of ring and right circulation are corresponding, and six bit methods of six bit methods of left circulation and right circulation are corresponding, left Circulate seven bit methods of seven bit methods and right circulation corresponding.
9. the network-building method of intelligent socket system as claimed in claim 8, it is characterised in that in intelligent socket system, seven Plant left cyclic shift method and seven kinds of right cyclic shift methods are used simultaneously, but the data ciphering method of each smart jack is only One kind in energy seven kinds of left cyclic shift methods of correspondence.
10. the network-building method of intelligent socket system as claimed in claim 9, it is characterised in that software platform system service is set Standby preceding, it is necessary to inquire about the numbering ID of wireless communication module in each communication, a left side for the data encryption of each smart jack of confirmation is followed Ring displacement method, it is ensured that software platform system service equipment is correctly decrypted.
CN201710182982.4A 2017-03-14 2017-03-24 A kind of intelligent socket system and its network-building method Pending CN106953920A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710149528 2017-03-14
CN2017101495289 2017-03-14

Publications (1)

Publication Number Publication Date
CN106953920A true CN106953920A (en) 2017-07-14

Family

ID=59473393

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710182982.4A Pending CN106953920A (en) 2017-03-14 2017-03-24 A kind of intelligent socket system and its network-building method

Country Status (1)

Country Link
CN (1) CN106953920A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009821A (en) * 2017-12-20 2018-05-08 安徽幸福售电有限公司 The method to set up of self-service long-range power purchase
CN108257309A (en) * 2017-12-20 2018-07-06 安徽幸福售电有限公司 The setting method that electric power is rented temporarily
CN108471008A (en) * 2018-04-04 2018-08-31 汪浩然 A kind of intelligent electric power common nun
CN108508787A (en) * 2017-09-05 2018-09-07 武汉盛硕电子有限公司 A kind of intelligent socket system and management method of principal and subordinate's configuration management
CN116405340A (en) * 2023-05-23 2023-07-07 深圳市奇点物联科技有限公司 Intelligent socket control system and method based on wireless local area network

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104793572A (en) * 2014-01-17 2015-07-22 上海新物科技有限公司 Smart socket management method and system
CN104900030A (en) * 2015-05-08 2015-09-09 国家电网公司 Wireless power meter reading system based on two-dimensional code data transmission
CN104898453A (en) * 2015-06-30 2015-09-09 成都众山科技有限公司 Intelligent housing system based on Internet of Things

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104793572A (en) * 2014-01-17 2015-07-22 上海新物科技有限公司 Smart socket management method and system
CN104900030A (en) * 2015-05-08 2015-09-09 国家电网公司 Wireless power meter reading system based on two-dimensional code data transmission
CN104898453A (en) * 2015-06-30 2015-09-09 成都众山科技有限公司 Intelligent housing system based on Internet of Things

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108508787A (en) * 2017-09-05 2018-09-07 武汉盛硕电子有限公司 A kind of intelligent socket system and management method of principal and subordinate's configuration management
CN108009821A (en) * 2017-12-20 2018-05-08 安徽幸福售电有限公司 The method to set up of self-service long-range power purchase
CN108257309A (en) * 2017-12-20 2018-07-06 安徽幸福售电有限公司 The setting method that electric power is rented temporarily
CN108471008A (en) * 2018-04-04 2018-08-31 汪浩然 A kind of intelligent electric power common nun
CN116405340A (en) * 2023-05-23 2023-07-07 深圳市奇点物联科技有限公司 Intelligent socket control system and method based on wireless local area network
CN116405340B (en) * 2023-05-23 2023-08-18 深圳市奇点物联科技有限公司 Intelligent socket control system and method based on wireless local area network

Similar Documents

Publication Publication Date Title
CN106953920A (en) A kind of intelligent socket system and its network-building method
CN102779283B (en) A kind of device, system and method realizing SIM card read-write
CN102843278A (en) Intelligent home network system, and register control device and household appliance registering method thereof
CN102651165A (en) Wireless learning type infrared repeating system and working method thereof
CN104243295A (en) Intelligent gateway device based on double-network mixed communication
CN108400589B (en) Cloud power natural gas ecosystem based on graphene
CN204650738U (en) A kind of ammeter ' s reading meter acquisition terminal
CN106205105A (en) The data concentrator of multiple data form
CN107579775A (en) A kind of data transmission method, device, mobile terminal and storage medium
CN202906942U (en) Intelligent home network system and register control device thereof
CN205230330U (en) Trun into bluetooth to ultra -red conversion equipment
CN104408906A (en) TD-LTE (time division long term evolution) wireless communication concentrator and electric meter data acquisition method
CN101620777A (en) Communication device of remote meter reading system
CN104021470B (en) Wireless communication-based mobile payment system and mobile payment method
CN203134009U (en) Near field communication (NFC) gas meter
CN107240242A (en) A kind of wireless kilowatt meter reading-out system and method based on micropower wireless network
CN111818157A (en) Internet of things smart card and application system and application method thereof
CN201188651Y (en) Smart card with wireless communication function and smart card system using the same
CN206270971U (en) A kind of secure readers
CN110572185A (en) intelligent household energy real-time detection device and method based on HPLC technology
CN105139627A (en) Electricity utilization information self-adaptive mixed carrier wave acquisition system and method
CN208636689U (en) A kind of configurable device based on Internet of Things
CN203455946U (en) Automatic collection system of power consumption
CN105389865B (en) Shorten the digital signal method of sending and receiving and mobile terminal of sending time
CN204479932U (en) Smart bluetooth home appliance

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170714