CN2674775Y - Domestic gateway access apparatus based on J2ME - Google Patents

Domestic gateway access apparatus based on J2ME Download PDF

Info

Publication number
CN2674775Y
CN2674775Y CN200420024835.2U CN200420024835U CN2674775Y CN 2674775 Y CN2674775 Y CN 2674775Y CN 200420024835 U CN200420024835 U CN 200420024835U CN 2674775 Y CN2674775 Y CN 2674775Y
Authority
CN
China
Prior art keywords
j2me
client
server
memory
gateway access
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.)
Expired - Fee Related
Application number
CN200420024835.2U
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.)
Nanjing University
Original Assignee
Nanjing 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 Nanjing University filed Critical Nanjing University
Priority to CN200420024835.2U priority Critical patent/CN2674775Y/en
Application granted granted Critical
Publication of CN2674775Y publication Critical patent/CN2674775Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

A domestic gateway access apparatus based on J2ME of the utility model adopts a server-client structure. A motherboard at the end of a server is constructed basing on a CPU. The motherboard is provided with Ethernet, COM, a memory and a digital I/O component. An ROM memory-which is composed of two blocks of 8M SDRAM-of a system adopts an FLASH memory. An Ethernet controller comprises a send interruption IRQ13 and a receive interruption IRQ14. Two asynchronous serial ports broaden by UART built-in by S3C4510B on a board are respectively set into RS232 and RS485. A COM1 comprises a send interruption IRQ3 and a receive interruption IRQ4. The utility model is highly intelligent. A user can enter a family gate by a personal mobile phone, view the status information of domestic electric appliances and control their operation in real time. The utility model is low in cost.

Description

Home gateway access device based on J2ME
One, technical field
The utility model relates to a kind of home gateway of wireless access.Promptly based on the home gateway access device of J2ME.
Two, background technology
The definition of home gateway is: one with network information equipment in the family and the intelligent gateway between the intelligent broadband Access Network.A very important function of home gateway is the information household appliances in the integrated and managing family, and Internet is provided interface, makes the user can remote access and control information household electrical appliances.The user is had by the major technique that Internet inserts home gateway:
1. develop special signal procedure, and be installed in remote computer.When being mobile, shortcoming needs with program with at one's side underaction.
2. be embedded in the web server at home gateway, long-range by browsing page visit home gateway.This mode flexibility ratio increases greatly, but depends on computer, can't communicate by letter in the occasion that does not have computer.
3. use Bluetooth technology.But need the supporting terminal equipment of exploitation, cost is higher, and communication distance is limited.
4. pass through phone.This mode uses voice to diffuse information, and directly perceived inadequately, interactivity is bad, is difficult to play a role in the mutual occasion of complexity.
J2ME is Java 2 miniature editions.Usually the hardware of operation J2ME program only uses a small amount of internal memory (tens K) to realize Java Virtual Machine, so be commonly called as " K-Java ".J2ME is the up-to-date masterpiece of SUN, is the new lover of Java series.Because run on the equipment of wireless connections network usually, be referred to as Wireless Java again.J2ME has been the method for common statement in the industry.
Three, summary of the invention
The purpose of this utility model is: design one family gateway, the information household appliances integrated and managing family is interior, and based on of the access of J2ME technology realization mobile phone to home network, make the user insert home network with carry-on mobile phone at any time, the software of far call home gateway, the state information of real time inspection intelligent appliance equipment is also controlled their operation.
Implementation of the present utility model is: adopt the client-server structure, server end is based on the motherboard of ARM7CPU design, design has ports such as Ethernet, RS232, RS485 and digital I/O on motherboard, is connected with the smart machine in the family and the network equipment; Transplant ucLinux operating system and thttpd web server; Client is a user's mobile phone.Client is called GPRS on the J2ME platform network connects, and initiates to connect and submit to instruction or request msg; Server is mutual by thttpd and client, carries out the instruction that the user sends by client; System realizes a kind of Digital Signature Algorithm based on public key cryptography mechanism of optimization at the fail safe of wireless access.
Particularly the RAM memory is made up of the SDRAM of two 8Mbyte; IRQ13 is interrupted in the transmission of ethernet controller, receives to interrupt IRQ14; By built-in two asynchronous serial ports of UART expansion of S3C4510B, be configured to RS232 and RS485 standard respectively on the plate, IRQ3 is interrupted in the transmission of COM1, receives to interrupt IRQ4.
Characteristics of the present utility model are:
A. provide highly intelligent, the user just can insert home gateway by the mobile phone of self, and the state information of real time inspection home appliance is also controlled their operation.
B. with low cost, server end makes up based on the S3C4510B flush bonding processor of high integration, through design optimization, saves the hardware cost expense, and the operating system of transplanting on the server end is the ucLinux of open source code, saves the software cost expense.The hardware foundation of client is a mobile phone of supporting J2ME, and at present a lot of people have had so carry-on equipment, do not need input cost once more.
C. easy to use, comfortable.System is in customer end adopted advanced person's airmanship, the graphical interfaces close friend of realization, directly perceived.
D. fail safe is good, and system realizes a kind of safety approach, prevents malicious attack.
Four, description of drawings
Fig. 1 is the utility model server host board hardware block diagram and control circuit figure
Fig. 2 is the utility model client software structured flowchart
Fig. 3 is the utility model NODE data structure diagram
Fig. 4 is the utility model transmission flow figure
Fig. 5 receives flow chart for the utility model
Five, embodiment
System adopts the client-server structure, and server end is based on the motherboard that ARM7 CPU makes up, and design has ports such as Ethernet, RS232, RS485 and digital I/O on motherboard, and transplants ucLinux operating system and thttpd web server.Client is user's mobile phone.Client is called GPRS on the J2ME platform network connects, and initiates to connect and submit to instruction or request msg; Server is mutual by thttpd and client, carries out the instruction that the user sends by client.
1. server end (home gateway)
The CPU of native system adopts 32 embedded microprocessor S3C4510B.This chip is based on the ARM7 kernel, and in peripheral components and resources such as inner integrated ethernet controller, UART, programmable I/Os, satisfies the needs that native system is controlled cost.
1) memory
The ROM memory of system adopts the FLASH memory, comprises the U1 of a 512Kbyte and the U2 of a 2Mbyte.U1 is in order to guidance system, and U2 deposits program and data.The RAM memory is formed 32bit by the SDRAM of two 8Mbyte, altogether the ram space of 16Mbyte.
2) Ethernet interface
Ethernet interface on the system host board is the external physical interfaces of the integrated 10/100Mbps ethernet controller of S3C4510B, sends to interrupt IRQ13, receives and interrupts IRQ14.The operating system of system loading realizes ICP/IP protocol at Ethernet interface, is connected with network.
3)UART
The S3C4510B chip integration becomes 2 UART Universal Asynchronous Receiver Transmitter (UART0 and UART1), respectively 2 asynchronous serial port COM1 and COM2 on the respective panels.Wherein COM1 is configured to RS232, and COM2 is configured to RS485, is connected with the equipment of various criterion respectively.The software of system will be realized MODBUS and MODBUS PLUS agreement at these two ports, can directly network with the equipment that uses these two standard agreements.IRQ3 is interrupted in the transmission of COM1, receives to interrupt IRQ4, I/O base address 0x4EEE000;
IRQ5 is interrupted in the transmission of COM2, receives to interrupt IRQ6, base address 0x3EEF000.
4)I/O
S3C4510B has 18 programmable Is/O mouth, expands away respectively, and directly the conduct illumination waits the control signal of switchgear.
5) lcd driver
System adopts PCF8566 as lcd driver, this chip is integrated necessary functional circuits such as LCD biasing circuit, LCD voltage selector, display random access memory, display latch device.In native system, adopt the design of two PCF8566 cascades, with the support that realizes extensive LCD is shown.Synchronous signal line SYNC will guarantee between two PCF8566 of cascade correct synchronously.SYNC is an input and output pin, and PCF8566 guarantees that the SYNC line begins and at all SYNC of supervision At All Other Times lines, the PCF8566 in cascade loses synchronously at last at effective backplane signal, the SYNC recovery that will keep by first PCF8566.
6) server software design
On system host board, transplant ucLinux operating system,, and realize that Ethernet connects by ucLinux management COM port.System transplantation thttpd web server, with mutual with client.When server via Ethernet receives the html document that client transmits, call corresponding program executable operations by CGI (CGI(Common gateway interface)).
2. client (mobile phone)
1) software configuration
Client software is made up of above several sections, and GUI is the graphical interfaces with user interactions; The Connect module connects and server interaction by the network that J2ME calls GPRS; RMS is the data structure of storage intermediate data, and RMS is safeguarded by main program, is the core of whole system.GUI puts into RMS with user's instruction, is extracted by main program, and packing and call the Connect module according to communication protocol sends, the result that Connect reception server end returns, main program extracts data to protocol analysis, puts into RMS and notifies GUI, and GUI is the retrieval user information of interest from RMS.
2) institutional framework of user interface
Because in the home gateway of reality is used, need data, the warning message of monitoring various, realizing on the CLDC resource-constrained equipment that complicated interface level and the navigation between the interface are difficult, at this situation, the tree-model of design as right figure, the node definition of tree is the data structure of Node type, and each user interface is all inherited from certain node of setting.Preserve the address of father node, child node in the Node structure, Point points to previous address of node of opening.This model can use the various searching algorithms of tree to realize navigation easily, and close friend's the user interface and the speed of service of faster procedure are provided.
3 system safety
In all networked devices, safety is an important problem.The network security problem here is mainly reflected on the integrality that prevents malicious attack and assurance transfer of data.Because the client (mobile phone) of native system is the equipment of resource-constrained, in the monitoring program of operation complexity, there are not enough computing capabilitys to cooperate server to use the conventional point-to-point security technique of this class of SSL, HTTPS again.Native system uses a kind of Digital Signature Algorithm based on public key cryptography mechanism of optimization.
In the Digital Signature Algorithm that uses public-key, each side of client and server has a PKI and a private key, can't extrapolate private key from PKI, and can only be deciphered by corresponding public key with the message of encrypted private key.In this algorithm, for reducing the expense of calculating, message when transmit leg sends message, at first uses the MD5 one-way Hash algorithm to generate the eap-message digest of 128 regular lengths with expressly sending, and digital signature is just realized by the eap-message digest that generates.The characteristics of hashing algorithm are that any two different inputs can not produce two identical outputs.Therefore, a message that is modified can not have identical hashed value.Transmit leg is encrypted (signature) again together with expressly sending with private key with eap-message digest.The recipient recomputates summary expressly, and with the PKI of transmit leg the eap-message digest of receiving is deciphered, and coincide as both, can guarantee that this informed source is credible, verifies by data integrity simultaneously.Another advantage of this algorithm is can effectively prevent to block to attack.In blocking attack, the assailant scolds server by filling out with the PKI request of forging, to exhaust its computational resource.Because this algorithm when receiving message, will at first verify expressly whether produce correct abstract, if this summary does not match, then refusal calls the PKI decipherment algorithm, and this message is abandoned.
The algorithm of this security mechanism is less demanding to the computing capability of equipment, nearly all computing cost is used for eap-message digest, and the one-way hash function computational speed that generates eap-message digest is very fast, is well suited for mobile telephone equipment, the flow chart of this algorithm such as Fig. 3 and Fig. 4.

Claims (4)

1, based on the home gateway access device of J2ME, adopt the client-server structure, the server end motherboard makes up based on CPU, it is characterized in that: on motherboard, be provided with Ethernet, COM, memory and digital I/O parts, the ROM memory of system adopts the FLASH memory, and the RAM memory is made up of two SDRAM; Ethernet controller, send and interrupt IRQ13, receive and interrupt IRQ14; By built-in two asynchronous serial ports of UART expansion of S3C4510B, be configured to RS232 and RS485 standard respectively on the plate, IRQ3 is interrupted in the transmission of COM1, receive and interrupt IRQ4, I/O base address 0x4EEE000, IRQ5 is interrupted in the transmission of COM2, receive and interrupt IRQ6, base address 0x3EEF000; Lcd driver on the plate is two PCF8566 cascade drivers.
2,, it is characterized in that the RAM memory is made up of the SDRAM of two 8Mbyte by the described home gateway access device of claim 1 based on J2ME.
3, by the described home gateway access device of claim 1 based on J2ME, it is characterized in that client server on the J2ME platform is mutual by thttpd and client, carry out the instruction that the user sends by client.
4, by the described home gateway access device of claim 1 based on J2ME, it is characterized in that on mobile phone, being graphical interfaces, define a tree-model, the Node data structure that each contact of tree all is, in this data structure, preserved father node, child node and, the previous address of node that is opened.
CN200420024835.2U 2004-02-20 2004-02-20 Domestic gateway access apparatus based on J2ME Expired - Fee Related CN2674775Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200420024835.2U CN2674775Y (en) 2004-02-20 2004-02-20 Domestic gateway access apparatus based on J2ME

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200420024835.2U CN2674775Y (en) 2004-02-20 2004-02-20 Domestic gateway access apparatus based on J2ME

Publications (1)

Publication Number Publication Date
CN2674775Y true CN2674775Y (en) 2005-01-26

Family

ID=34483526

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200420024835.2U Expired - Fee Related CN2674775Y (en) 2004-02-20 2004-02-20 Domestic gateway access apparatus based on J2ME

Country Status (1)

Country Link
CN (1) CN2674775Y (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945381A (en) * 2009-07-06 2011-01-12 北京中电华大电子设计有限责任公司 Wireless fidelity with UART interface
CN101502067B (en) * 2006-08-15 2011-07-13 中兴通讯股份有限公司 A home gateway network store system and the network accessing method thereof
US8538409B2 (en) 2010-01-21 2013-09-17 Zte Corporation Home appliance remote control method and wireless network card
CN103945571A (en) * 2014-04-04 2014-07-23 南京理工大学 Wireless gateway equipment
CN106647443A (en) * 2016-10-31 2017-05-10 杭州优稳自动化系统有限公司 Intelligent controller cascade method
US10574484B2 (en) 2013-08-20 2020-02-25 Huawei Technologies Co., Ltd. Method for implementing residential gateway service function, and server
CN112329037A (en) * 2020-11-10 2021-02-05 交控科技股份有限公司 Data acquisition method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101502067B (en) * 2006-08-15 2011-07-13 中兴通讯股份有限公司 A home gateway network store system and the network accessing method thereof
CN101945381A (en) * 2009-07-06 2011-01-12 北京中电华大电子设计有限责任公司 Wireless fidelity with UART interface
US8538409B2 (en) 2010-01-21 2013-09-17 Zte Corporation Home appliance remote control method and wireless network card
US10574484B2 (en) 2013-08-20 2020-02-25 Huawei Technologies Co., Ltd. Method for implementing residential gateway service function, and server
US11128493B2 (en) 2013-08-20 2021-09-21 Huawei Technologies Co., Ltd. Method for implementing residential gateway service function, and server
CN103945571A (en) * 2014-04-04 2014-07-23 南京理工大学 Wireless gateway equipment
CN106647443A (en) * 2016-10-31 2017-05-10 杭州优稳自动化系统有限公司 Intelligent controller cascade method
CN112329037A (en) * 2020-11-10 2021-02-05 交控科技股份有限公司 Data acquisition method and device

Similar Documents

Publication Publication Date Title
CN104836821B (en) A kind of network accelerating method based on router device, device and equipment
CN104054316B (en) Systems and methods for conducting load balancing on SMS center and building virtual private network
EP1233636A2 (en) System and method for over the air configuration security
CN109951546B (en) Transaction request processing method, device, equipment and medium based on intelligent contract
CN102291437A (en) System and method for realizing application of cross-platform internet
US20150101028A1 (en) Secure capability negotiation between a client and server
CN102447720A (en) Method for remotely controlling personal computer (PC) by mobile phone
CN2674775Y (en) Domestic gateway access apparatus based on J2ME
WO2023011274A1 (en) Communication protocol conversion method, and device, system, and gateway device
TW201438498A (en) Wireless network system and connecting method thereof
CN103973785A (en) Log reading system based on P2P and method thereof
US20190334876A1 (en) Unbounded sessions for secure communications
CN112653664A (en) High-safety and reliable data exchange system and method between networks
KR102678671B1 (en) Data processing methods, servers, client devices and media for security authentication
JP2004252642A (en) Method, device, server, and client of virus detection
CN109660564B (en) Cloud computing-based dynamic internet of things unlocking system
Khan et al. Software architecture and algorithm for reliable RPC for geo-distributed mobile computing systems
Sahni et al. Web apis for internet of things
CN106452753B (en) Method for constructing terminal trusted platform in cloud computing environment
CN110941412A (en) Method, system and terminal for realizing multi-terminal animation co-browsing based on imaging
CN110519160A (en) Things-internet gateway multimode communication means, device and computer readable storage medium
Arvandy et al. Design of secure iot platform for smart home system
CN102148869A (en) Method and device for JAVA application to transfer information to local
Li Design of smart home cloud server
CN112491614A (en) Online automatic validation method and system for configuration information of embedded equipment

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee