CN102882941A - Uniform and simple communication practical training server - Google Patents

Uniform and simple communication practical training server Download PDF

Info

Publication number
CN102882941A
CN102882941A CN2012103354259A CN201210335425A CN102882941A CN 102882941 A CN102882941 A CN 102882941A CN 2012103354259 A CN2012103354259 A CN 2012103354259A CN 201210335425 A CN201210335425 A CN 201210335425A CN 102882941 A CN102882941 A CN 102882941A
Authority
CN
China
Prior art keywords
data
request
server
communication
jetty
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
CN2012103354259A
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.)
Nantong Zhixiang Information Technology Co.,Ltd.
Shanghai Ultrawise Information Technology Co.,Ltd.
Original Assignee
NANTONG ZHIXIANG INFORMATION TECHNOLOGY CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NANTONG ZHIXIANG INFORMATION TECHNOLOGY CO LTD filed Critical NANTONG ZHIXIANG INFORMATION TECHNOLOGY CO LTD
Priority to CN2012103354259A priority Critical patent/CN102882941A/en
Publication of CN102882941A publication Critical patent/CN102882941A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention provides a uniform and simple communication practical training server, which comprises a communication server running management module for acquiring data parameters of a global system for mobile communication (GSM) communication module through a telephone type application program interface (API) in an android system, wherein a server is established through an API in a Jetty component; and when receiving a data request, the server makes a response to the corresponding request and sends the acquired data parameters of the GSM communication module to equipment sending the data request. By adopting a Continuations mechanism in the Jetty, an asynchronous Servlet function is realized; furthermore, by using an IO multiplexing connector in the Jetty, the server can parallelly serve a plurality of requests with relatively low cost; and data interaction between a mobile terminal and a personal computer (PC) end as well as between one mobile terminal and another mobile terminal is realized through simple communication.

Description

A kind ofly unify brief communication real training server
Technical field
The invention provides a kind of brief communication real training server of unifying, belong to the communication network technology field.
Background technology
Along with the development of information age, the information interchange between different departments, different regions progressively increases, and the communication that develops into of computer networking technology provides guarantee.When a large amount of spatial datas appears on the network, in the face of diversified data format, relate to the problem of data sharing and data transaction with regard to needs.Wherein, data sharing is to allow can read his personal data and carry out various operations and analysis the different local users that use different computers, different software, make between computer and the computer and realize data sharing by computer networking technology, yet in order to realize the data sharing of mobile terminal and host computer PC, mobile terminal and mobile terminal, just need a kind of mobile terminal to realize the equipment of data interaction by easy communication eventually and between PC end, portable terminal and the portable terminal, but also lack the technical scheme that addresses this problem in the prior art.
Summary of the invention
The present invention realizes the problem of the equipment of data interaction by easy communication eventually and between PC end, portable terminal and the portable terminal for a kind of mobile terminal that lacks that solves existing mechanics of communication existence, and then a kind of brief communication real training server of unifying is provided.For this reason, the present invention proposes following technical scheme:
A kind ofly unify brief communication real training server, comprising:
Communication server operational management module, be used for obtaining by the API of Android system telephone type the data parameters of GSM communication module, create server by the API in the Jetty assembly again, after described server receives request of data, the corresponding request of response, and the data parameters of the GSM communication module that gets access to sent to the equipment that sends described request of data.
The present invention adopts that the mechanism of Continuations realizes asynchronous Servlet function among the Jetty, use in addition the multiplexed connector of IO among the Jetty, so that server can spend a plurality of requests of concurrent service of less resource, realized realizing data interaction by easy communication between mobile terminal end and PC end, portable terminal and the portable terminal.
Description of drawings
Fig. 1 is the structural representation of the brief communication real training server of the unification that provides of the specific embodiment of the present invention;
Fig. 2 is that the brief communication real training server of will unifying that the specific embodiment of the present invention provides is applied to schematic diagram in the communication system;
Fig. 3 is the structural representation of the mobile terminal equipment that provides of the specific embodiment of the present invention.
Embodiment
Jetty is http server and the javax.servlet container being realized, increased income by Java, it not only is used as a stand-alone service software (such as Tomcat), and the characteristic such as its assembly (Componet) design, the low coupling of high cohesion, high scalability so that Jetty be highly susceptible to as embedded instrument use, in the middle of this field has been successfully applied to a plurality of products.Jetty supports HTTP1.1, has well realized Servlet2.4/2.5, Jsp2.0/2.1 standard and JEE part standard.The instrument of the various available part that Jetty provides and these parts of assembling, so that Jetty is actively flexible when server disposes, and also also very convenient when Jetty used as instrument.Simultaneously Jetty is based on Apache Licence 2.0 and the issue of Eclipse Public License 1.0 open source protocol, so you can use it local arbitrarily, and can be used for commercial activity in the gratis.
The specific embodiment of the present invention just is being based on the Jetty assembly a kind of brief communication real training server of unifying is provided, comprise communication server operational management module, be used for obtaining by the API of Android system telephone type the data parameters of GSM communication module, create server by the API in the Jetty assembly again, after described server receives request of data, the corresponding request of response, and the data parameters of the GSM communication module that gets access to sent to the equipment that sends described request of data.
Concrete, communication server operational management module mainly realizes two functions: first function is to detect the data parameters of GSM communication module; Second function is that server is managed.Its running is: obtain the data parameters of GSM communication module by utilizing the API of telephone type in the Android system, then the API in utilizing the Jetty assembly creates a server.After PC or mobile terminal were connected to server and request of data is arranged, the corresponding request of server response sent to the request end to the data parameters of the GSM communication module that gets access to.
Wherein, the structure of communication server operational management module comprises as shown in Figure 1:
The connexon module is used for the receive data request, according to the HTTP/1.1 agreement described request of data is packaged as and processes request and the corresponding object that submodule can be identified, and send to the processing submodule;
Process submodule, be used for the request of data of reception, and described request of data is carried out content response;
Thread pool, be used to the connexon module and process submodule the receive data request is provided, with request of data packing and the thread that the data request carried out content response.
The specific works process of communication server operational management module comprises the server process request process: at first the connexon module is received a request, the connexon module is packaged as request of data according to the HTTP/1.1 agreement and processes request and the response object that submodule can be identified, then the thread pool that provides with Server distributes a thread to remove carry out to process submodule to call, and allow process submodule to data request process and respond.
The below realizes data interaction between mobile terminal and the host computer PC with the brief communication real training server of the unification that this embodiment is provided as server, as shown in Figure 2, in two mobile terminals and a host computer PC, be respectively arranged with a communication real training server that unification is brief.The hardware configuration of mobile terminal equipment adopts the CortexA8 processor as shown in Figure 1, and this processor first item is based on the application processor of ARMv7 framework, is that the performance of ARM exploitation is the highest, the processor of tool power efficiency.The speed of Cortex-A8 processor can be regulated to surpassing in the scope of 1GHz at 600MHz, can satisfy the demand of this device, and communication module is selected the SIM900A(GSM/GPRS of SIMCOM company module), the band LCD display.Aspect software, consider from aspects such as practicality, operability and costs, determine to adopt the android operating system of increasing income.Android is a kind of take the open source code operating system of Linux as the basis, mainly is used in portable equipment.Its system architecture is the same with other operating system, adopted the framework of layering, and along with the fast development of Android, nowadays allowed the developer to develop the Android application program with multiple programming language, and can only use Java to develop the single situation of Android application program before no longer being, thereby be subject to numerous developers' welcome, become open operating system truly.Can visit server by IE in host computer PC, then show the data parameters that gsm module gets access at IE, perhaps carry out data access by special software by http protocol.When mobile terminal and host computer PC are all opened service, then host computer PC can be by the computer network access mobile terminal server and obtain corresponding data; The mobile terminal too can and obtain corresponding data by the server in the computer network access computer; Also can mutually access by computer network between mobile terminal and other mobile terminal simultaneously.
The technical scheme that this embodiment provides adopts the mechanism of Continuations among the Jetty to realize asynchronous Servlet function, use in addition the multiplexed connector of IO among the Jetty, so that server can spend a plurality of requests of concurrent service of less resource, realized realizing data interaction by easy communication between mobile terminal end and PC end, portable terminal and the portable terminal.
The above; only for the better embodiment of the present invention, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.

Claims (2)

1. the communication real training server that unification is brief is characterized in that, comprising:
Communication server operational management module, be used for obtaining by the API of Android system telephone type the data parameters of GSM communication module, create server by the API in the Jetty assembly again, after described server receives request of data, the corresponding request of response, and the data parameters of the GSM communication module that gets access to sent to the equipment that sends described request of data.
2. the brief communication real training server of unification according to claim 1 is characterized in that, described communication server operational management module comprises:
The connexon module is used for the receive data request, according to the HTTP/1.1 agreement described request of data is packaged as and processes request and the corresponding object that submodule can be identified, and send to the processing submodule;
Process submodule, be used for the request of data of reception, and described request of data is carried out content response;
Thread pool, be used to the connexon module and process submodule the receive data request is provided, with request of data packing and the thread that the data request carried out content response.
CN2012103354259A 2012-09-12 2012-09-12 Uniform and simple communication practical training server Pending CN102882941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012103354259A CN102882941A (en) 2012-09-12 2012-09-12 Uniform and simple communication practical training server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012103354259A CN102882941A (en) 2012-09-12 2012-09-12 Uniform and simple communication practical training server

Publications (1)

Publication Number Publication Date
CN102882941A true CN102882941A (en) 2013-01-16

Family

ID=47484083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012103354259A Pending CN102882941A (en) 2012-09-12 2012-09-12 Uniform and simple communication practical training server

Country Status (1)

Country Link
CN (1) CN102882941A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092704A (en) * 2013-01-22 2013-05-08 福建工程学院 Communication method of Android platform and iFIX platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1120712A1 (en) * 1999-06-30 2001-08-01 Suntory Limited Web application system having session management/distributed management function and mechanism for operating the same
CN1604547A (en) * 2003-09-30 2005-04-06 华为技术有限公司 Management method for wireless LAN service usage by mobile subscriber
CN1829344A (en) * 2005-07-29 2006-09-06 华为技术有限公司 Parameter allocating system and method for mobile station
CN101511077A (en) * 2009-03-25 2009-08-19 大唐微电子技术有限公司 Method, system and device capable of holding industry application aerial download

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1120712A1 (en) * 1999-06-30 2001-08-01 Suntory Limited Web application system having session management/distributed management function and mechanism for operating the same
CN1604547A (en) * 2003-09-30 2005-04-06 华为技术有限公司 Management method for wireless LAN service usage by mobile subscriber
CN1829344A (en) * 2005-07-29 2006-09-06 华为技术有限公司 Parameter allocating system and method for mobile station
CN101511077A (en) * 2009-03-25 2009-08-19 大唐微电子技术有限公司 Method, system and device capable of holding industry application aerial download

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092704A (en) * 2013-01-22 2013-05-08 福建工程学院 Communication method of Android platform and iFIX platform

Similar Documents

Publication Publication Date Title
US7467389B2 (en) System and methodology providing service invocation for occasionally connected computing devices
CN110489101B (en) Interface simulation method, system, medium and electronic equipment
Qutqut et al. Comprehensive survey of the IoT open‐source OSs
Biswas et al. Efficient mobile cloud computing through computation offloading
US9134980B1 (en) Compiler optimization in a computing environment
CN103092581A (en) Method and device for setting up Web front-end local development environment
CN109873735B (en) Performance test method and device for H5 page and computer equipment
US10216601B2 (en) Agent dynamic service
CN109542427A (en) A kind of system customization method, apparatus and electronic equipment and storage medium
CN109413140B (en) Remote automatic upgrading method for PACS server
CN110069308A (en) The page starts method, apparatus, electronic equipment and storage medium
CN103677970A (en) System and method for achieving combination display of terminal local desktop and far-end virtual desktop
KR20150062198A (en) System and method for job execution in conjunction with cloud storage
CN101800910B (en) Simulation system, PC side simulator and mobile phone side agent client
CN112988569A (en) Method and system for viewing micro-service request response based on nginx
CN102882941A (en) Uniform and simple communication practical training server
CN112445691A (en) Non-invasive intelligent contract performance detection method and device
CN112905931B (en) Page information display method and device, electronic equipment and storage medium
CN113986466A (en) Cloud computing-oriented GPU virtualization system and method
Zhang et al. Towards a contextual and scalable automated-testing service for mobile apps
Krikelis Mobile multimedia: shaping the Infoverse
Horey A programming framework for integrating web-based spatiotemporal sensor data with MapReduce capabilities
KR20130044278A (en) Virtual device cloud network system and method for providing applications on heterogeneous device platform
Naik et al. A Framework for Mobile Cloud Computing
WO2023169157A1 (en) Sub application running method and apparatus, electronic device, program product, and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: SHANGHAI ULTRAWISE INFORMATION TECHNOLOGY CO.,LTD.

Free format text: FORMER OWNER: NANTONG ZHIXIANG INFORMATION TECHNOLOGY CO., LTD.

Effective date: 20140227

Owner name: NANTONG ZHIXIANG INFORMATION TECHNOLOGY CO., LTD.

Effective date: 20140227

COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 226003 NANTONG, JIANGSU PROVINCE TO: 200436 ZHABEI, SHANGHAI

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

Effective date of registration: 20140227

Address after: 200436 Shanghai City, Zhabei District Jiang Road, No. three, building 8, building 128

Applicant after: Shanghai Ultrawise Information Technology Co.,Ltd.

Applicant after: Nantong Zhixiang Information Technology Co.,Ltd.

Address before: 226003 No. 900, Yongxing Avenue, Gangzha District, Jiangsu, Nantong

Applicant before: Nantong Zhixiang Information Technology Co.,Ltd.

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130116