CN102158462A - Method for repairing remote diagnosis by using 2nd Generation (2G) or 3rd Generation (3G) module - Google Patents

Method for repairing remote diagnosis by using 2nd Generation (2G) or 3rd Generation (3G) module Download PDF

Info

Publication number
CN102158462A
CN102158462A CN2010101093749A CN201010109374A CN102158462A CN 102158462 A CN102158462 A CN 102158462A CN 2010101093749 A CN2010101093749 A CN 2010101093749A CN 201010109374 A CN201010109374 A CN 201010109374A CN 102158462 A CN102158462 A CN 102158462A
Authority
CN
China
Prior art keywords
module
server
client
log
diagnostic module
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.)
Granted
Application number
CN2010101093749A
Other languages
Chinese (zh)
Other versions
CN102158462B (en
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.)
Shanghai Simcom Wireless Solutions Co Ltd
Original Assignee
Shanghai Simcom 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 Shanghai Simcom Ltd filed Critical Shanghai Simcom Ltd
Priority to CN201010109374.9A priority Critical patent/CN102158462B/en
Publication of CN102158462A publication Critical patent/CN102158462A/en
Application granted granted Critical
Publication of CN102158462B publication Critical patent/CN102158462B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention relates to a method repairing remote diagnosis by using a 2nd Generation (2G) or 3rd Generation (3G) module, comprising the following steps: 1) a client-side sends a request short message service (SMS) to a server and inputs the login password; 2) the server verifies whether the password is correct, if the password is correct, the step 3) is executed, and if the password is wrong, the step 1) is returned; 3) the client-side requests diagnosis errors and the server; selects a corresponding diagnosis module; 4) the server sends the diagnosis module to the client-side in a file transfer protocol (FTP) mode; 5) the client-side judges whether the downloading is successfully, if the downloading is successful, the step 6) is executed, and if the downloading is unsuccessful, to the step 5) is returned; 6) restarting the client-side, the diagnosis module is operated, a log is captured, and the log is sent to the server in the FTP mode; 7) after the server receives the log, whether the errors are solved is judged, if the errors are solved, the step 8) is executed, and if the errors are not solved, the step 3) is returned; and 8)the client-side updates a software version in a FOTA (Firmware Over The Air) mode. Compared with the prior art, the method has the advantages of low cost and the like.

Description

The method that a kind of 2G or 3G module remote diagnosis are repaired
Technical field
The present invention relates to the method for a kind of remote diagnosis and reparation, especially relate to the method that a kind of 2G or 3G module remote diagnosis are repaired.
Background technology
Wireless module can be made various communication equipments, and the user can make a phone call by it, sends short messages, vehicle-mountedly leads, and remote monitoring and transfer of data etc.During use, the application of merge module sometimes might be in remote countryside, perhaps on the car that moves, like this with regard to feasible diagnostic test to the module comparison difficulty that becomes; If at this time send the technician to often supporting that on the spot very costliness maybe can not realize.Its problem is:
1, expense costliness, the application of flush bonding module may be distributed in various places, and the technical support engineer need arrive the locality and grab log (daily record), deals with problems, and expense is very high.
2, operability not, sometimes the position of module can influence its transmission diagnostic message ability for example, vehicle-mounted module breaks down in moving process, just needs real-time, continuous extracting log, if the neither one system is very inconvenient.
3, accident is handled, and need in time send log to server before the shutdown of module generation problem, so that diagnosis.
Summary of the invention
Purpose of the present invention is exactly the method that provides a kind of cost is low, operability is high 2G or 3G module remote diagnosis to repair in order to overcome the defective that above-mentioned prior art exists.
Purpose of the present invention can be achieved through the following technical solutions:
The method that a kind of 2G or 3G module remote diagnosis are repaired is characterized in that, may further comprise the steps:
1) user end to server sends request SMS (short message), and password is landed in input;
2) whether the server authentication password is correct, if yes, and execution in step 3), if not, return step 1);
3) client-requested diagnostic error, server is selected corresponding diagnostic module;
4) server sends to client by the FTP mode with diagnostic module;
5) client judges whether to download successfully, and if yes, then execution in step 6), if not, return step 5);
6) client is restarted, and the operational diagnostics module, catches log, and the mode of log FTP is sent to server;
7) after server was received, whether misjudgment solved, and if yes, then execution in step 8), if not, return step 3);
8) client is come the update software version by FOTA (downloading software upgrading in the air) mode.
Server in the described step 3) selects corresponding diagnostic module may further comprise the steps:
31) server judge module end 2G module still is the 3G module;
32) if the 2G module, then server selects EmbeddedAT as diagnostic module;
33) if the 3G module, then server selects Lua Script as diagnostic module.
Described step 32) server in selects EmbeddedAT to may further comprise the steps as diagnostic module:
The AT instruction of grabbing various log is encapsulated in each Embedded AT diagnostic module, sends corresponding diagnostic module to client according to the demand of client.
Described step 33) server in selects Lua Script to may further comprise the steps as diagnostic module:
The AT instruction of grabbing various log is encapsulated in each Lua script diagnostic module, sends corresponding diagnostic module to client according to the demand of client.
The demand of described client comprises the cell information of battery capacity, network optimization version, nearest 5 IP addresses.
Compared with prior art, cost of the present invention is low, operability is high, can realize remote diagnosis.
Description of drawings
Fig. 1 is a flow chart of the present invention;
Fig. 2 is a hardware structure diagram of the present invention.
Embodiment
The present invention is described in detail below in conjunction with the drawings and specific embodiments.
Embodiment
As shown in Figure 2, the present invention includes client 1, server 2, network 3, client 1 is connected with server 2 by network 3.
Client 1 mainly contains login function, request diagnostic function, data acquisition function, data storage function, long-range linkage function, data sending function etc.
1) the legal diagnostic system (password confirming) that enters server 2 of login function help module;
2) the request diagnostic function makes what the problem of server understanding client 1 generation is;
When 3) data acquisition function is client 1 operational diagnostics module information is recorded in the log file,
4) data storage function with the log file storage in the NVRAM of module;
5) long-range linkage function is that client 1 is set up TCP/IP with server 2 and is connected;
6) the data sending function is that module sends to server 2 to log file by ftp, and transmission finishes, and server 2 returns the transmission successful information.
Server 2 is mainly by many customer account managements function (discriminating need be grabbed the client 1 of log), data storage function (storage need be grabbed the different software and script file of log), diagnostic task management function (diagnostic module of sending out different for the client of different needs), signal analysis function and far module software upgrade function (FOTA).
As shown in Figure 1, the method that a kind of 2G or 3G module remote diagnosis are repaired may further comprise the steps:
1) user end to server sends request SMS, and password is landed in input;
2) whether the server authentication password is correct, if yes, and execution in step 3), if not, return step 1);
3) client-requested diagnostic error, server is selected corresponding diagnostic module;
4) server sends to client by the FTP mode with diagnostic module;
5) client judges whether to download successfully, and if yes, then execution in step 6), if not, return step 5);
6) client is restarted, and the operational diagnostics module, catches log, and the mode of log FTP is sent to server;
7) after server was received, whether misjudgment solved, and if yes, then execution in step 8), if not, return step 3);
8) client is come the update software version by the FOTA mode.
If client is the 2G module, the method for remote diagnosis and reparation may further comprise the steps:
(1) the AT instruction of grabbing various log is encapsulated in each Embedded AT diagnostic module, sends corresponding diagnostic module to client according to the demand of client.The demand of described client comprises the cell information of battery capacity, network optimization version, nearest 5 IP addresses.
(2) in this Embedded AT diagnostic module, establish the Timer after the start, through the set period of Timer, the EmbeddedAT diagnostic module is operation automatically after the start;
(3) in Embedded AT diagnostic module, the Trace or the log information of each bar AT instruction are kept in the file, file exists among the module NVRAM;
(4) in the EmbeddedAT diagnostic module, set up client 1 and be connected with the TCP/IP of server 2, the log file is passed to server 2 with the ftp mode.
If client is the 3G module, the method for remote diagnosis and reparation may further comprise the steps:
(1) the AT instruction of grabbing various log is encapsulated in each Lua script diagnostic module, sends corresponding diagnostic module to client according to the demand of client.The demand of described client comprises the cell information of battery capacity, network optimization version, nearest 5 IP addresses.
(2) this Lua script is made as Autorun.lua, the operation automatically of start back program;
(3) in Lua script diagnostic module, the log information of each bar AT instruction is kept in the file, file exists among the module NVRAM;
(4) last at lua script, set up client 1 and be connected with the TCP/IP of server 2, this log file is passed to server 2 with the ftp mode.

Claims (5)

1. 2G or the 3G module remote diagnosis method of repairing is characterized in that, may further comprise the steps:
1) user end to server sends request SMS, and password is landed in input;
2) whether the server authentication password is correct, if yes, and execution in step 3), if not, return step 1);
3) client-requested diagnostic error, server is selected corresponding diagnostic module;
4) server sends to client by the FTP mode with diagnostic module;
5) client judges whether to download successfully, and if yes, then execution in step 6), if not, return step 5);
6) client is restarted, and the operational diagnostics module, catches log, and the mode of log FTP is sent to server;
7) after server was received, whether misjudgment solved, and if yes, then execution in step 8), if not, return step 3);
8) client is come the update software version by the FOTA mode.
2. the method that a kind of 2G according to claim 1 or 3G module remote diagnosis are repaired is characterized in that the server in the described step 3) selects corresponding diagnostic module may further comprise the steps:
31) server judge module end 2G module still is the 3G module;
32) if the 2G module, then server selects Embedded AT as diagnostic module;
33) if the 3G module, then server selects Lua Script as diagnostic module.
3. the method that a kind of 2G according to claim 2 or 3G module remote diagnosis are repaired is characterized in that described step 32) in server select Embedded AT to may further comprise the steps as diagnostic module:
The AT instruction of grabbing various log is encapsulated in each Embedded AT diagnostic module, sends corresponding diagnostic module to client according to the demand of client.
4. the method that a kind of 2G according to claim 2 or 3G module remote diagnosis are repaired is characterized in that described step 33) in server select Lua Script to may further comprise the steps as diagnostic module:
The AT instruction of grabbing various log is encapsulated in each Lua script diagnostic module, sends corresponding diagnostic module to client according to the demand of client.
5. according to the method for claim 3 or 4 described a kind of 2G or the reparation of 3G module remote diagnosis, it is characterized in that the demand of described client comprises the cell information of battery capacity, network optimization version, nearest 5 IP addresses.
CN201010109374.9A 2010-02-11 2010-02-11 A kind of method that 2G or 3G module remote diagnosis is repaired Active CN102158462B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010109374.9A CN102158462B (en) 2010-02-11 2010-02-11 A kind of method that 2G or 3G module remote diagnosis is repaired

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010109374.9A CN102158462B (en) 2010-02-11 2010-02-11 A kind of method that 2G or 3G module remote diagnosis is repaired

Publications (2)

Publication Number Publication Date
CN102158462A true CN102158462A (en) 2011-08-17
CN102158462B CN102158462B (en) 2016-01-13

Family

ID=44439648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010109374.9A Active CN102158462B (en) 2010-02-11 2010-02-11 A kind of method that 2G or 3G module remote diagnosis is repaired

Country Status (1)

Country Link
CN (1) CN102158462B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530658A (en) * 2016-01-22 2016-04-27 深圳市中兴物联科技股份有限公司 Remote diagnosis method of wireless communication module, device and system
CN107632918A (en) * 2017-08-30 2018-01-26 中国工商银行股份有限公司 Calculate the monitoring system and method for storage device
CN108055659A (en) * 2017-12-27 2018-05-18 瑞斯康达科技发展股份有限公司 Data processing method and system, the equipment of a kind of terminal device
CN113815549A (en) * 2021-09-26 2021-12-21 上汽通用五菱汽车股份有限公司 Method and device for restarting vehicle user connection unit and computer readable medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1436338A (en) * 2000-06-14 2003-08-13 大金工业株式会社 Method for controlling machine and machine controlled and system for repariring machine
CN1469619A (en) * 2002-07-15 2004-01-21 华为技术有限公司 Automatic upgrading method for business management access point in intelligent network
CN101005638A (en) * 2006-12-20 2007-07-25 康佳集团股份有限公司 Method and system for collecting network optimizing needed data in mobile phone system
CN101166339A (en) * 2006-09-26 2008-04-23 三星电子株式会社 Remote handset diagnostics
CN101472288A (en) * 2007-12-27 2009-07-01 北京摩软科技有限公司 Mobile terminal, method and server for failure diagnosis
CN101505490A (en) * 2009-03-23 2009-08-12 北京泰合佳通信息技术有限公司 Network optimization processing system and method based on smart phone protocol stack
CN101609338A (en) * 2008-06-18 2009-12-23 北京摩软科技有限公司 A kind of method and device to test of embedded device Real-time and Dynamic and localization of fault

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1436338A (en) * 2000-06-14 2003-08-13 大金工业株式会社 Method for controlling machine and machine controlled and system for repariring machine
CN1469619A (en) * 2002-07-15 2004-01-21 华为技术有限公司 Automatic upgrading method for business management access point in intelligent network
CN101166339A (en) * 2006-09-26 2008-04-23 三星电子株式会社 Remote handset diagnostics
CN101005638A (en) * 2006-12-20 2007-07-25 康佳集团股份有限公司 Method and system for collecting network optimizing needed data in mobile phone system
CN101472288A (en) * 2007-12-27 2009-07-01 北京摩软科技有限公司 Mobile terminal, method and server for failure diagnosis
CN101609338A (en) * 2008-06-18 2009-12-23 北京摩软科技有限公司 A kind of method and device to test of embedded device Real-time and Dynamic and localization of fault
CN101505490A (en) * 2009-03-23 2009-08-12 北京泰合佳通信息技术有限公司 Network optimization processing system and method based on smart phone protocol stack

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530658A (en) * 2016-01-22 2016-04-27 深圳市中兴物联科技股份有限公司 Remote diagnosis method of wireless communication module, device and system
CN105530658B (en) * 2016-01-22 2021-04-23 深圳高新兴物联科技有限公司 Remote diagnosis method, device and system for wireless communication module
CN107632918A (en) * 2017-08-30 2018-01-26 中国工商银行股份有限公司 Calculate the monitoring system and method for storage device
CN107632918B (en) * 2017-08-30 2020-09-11 中国工商银行股份有限公司 Monitoring system and method for computing storage equipment
CN108055659A (en) * 2017-12-27 2018-05-18 瑞斯康达科技发展股份有限公司 Data processing method and system, the equipment of a kind of terminal device
CN108055659B (en) * 2017-12-27 2021-02-23 瑞斯康达科技发展股份有限公司 Data processing method, system and equipment of terminal equipment
CN113815549A (en) * 2021-09-26 2021-12-21 上汽通用五菱汽车股份有限公司 Method and device for restarting vehicle user connection unit and computer readable medium

Also Published As

Publication number Publication date
CN102158462B (en) 2016-01-13

Similar Documents

Publication Publication Date Title
CN109164783B (en) Vehicle diagnosis method, apparatus, device, and medium
US20070158404A1 (en) Method and system for management of terminal devices
US10153957B2 (en) Fault diagnosis method, device, and fault diagnosis system
CN101593119B (en) Method and device for firmware over-the-air of exclusive flash memory combined equipment
CN112099829A (en) Vehicle upgrade control method and system, OTA background and vehicle
CN103530199A (en) Software running error repairing method, device and system
EP2456257A1 (en) Method and system for upgrading wireless data card
CN100521616C (en) Method and its system for uploading terminal information in equipment management
CN106648781B (en) Method and system for upgrading remote firmware of communication equipment
CN104424095A (en) Automatic testing method and system of mobile terminal
CN101631324A (en) Mobile terminal fault diagnosis and repair method and mobile terminal thereof
CN110928561B (en) Vehicle controller software version management method and device, vehicle and storage medium
CN110262820A (en) Method, apparatus, system and storage medium based on MQTT protocol realization OTA upgrading
JP7508703B2 (en) Method for managing ECU in vehicle, ECU and readable storage medium
CN102158462A (en) Method for repairing remote diagnosis by using 2nd Generation (2G) or 3rd Generation (3G) module
KR101412289B1 (en) ECU management system and method
CN116382735A (en) Progress display and exception handling method for domain controller upgrading, system and equipment thereof
WO2016086635A1 (en) Network element upgrade management method and apparatus
CN110941252A (en) Vehicle-mounted equipment testing method and system
CN109960657B (en) Test environment deployment method and related device
CN105472005B (en) A kind of ground ATP equipment method for remote updating and system
CN113791800A (en) Automatic parking control module remote upgrading method and system and automobile
JP5287632B2 (en) In-vehicle wireless communication device
CN108965026B (en) Equipment upgrading method, unit system and unit upgrading system
CN113127032A (en) System updating method of train controller

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160301

Address after: 200335 Shanghai city Changning District Admiralty Road No. 633 building A Room 201

Patentee after: SIMCom Wireless Technology (Shanghai) Co., Ltd.

Address before: 200335 Shanghai city Changning District Admiralty Road No. 633 building A

Patentee before: Shanghai SIMCom Ltd.

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20170125

Address after: 200335 Shanghai city Changning District Admiralty Road No. 633 Building 1 layer 6

Patentee after: Shanghai SIMCom Ltd.

Address before: 200335 Shanghai city Changning District Admiralty Road No. 633 building A Room 201

Patentee before: SIMCom Wireless Technology (Shanghai) Co., Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170928

Address after: 200335 Shanghai city Changning District Admiralty Road No. 633 building A Room 201

Patentee after: SIMCom Wireless Technology (Shanghai) Co., Ltd.

Address before: 200335 Shanghai city Changning District Admiralty Road No. 633 Building 1 layer 6

Patentee before: Shanghai SIMCom Ltd.