CN110247995A - A kind of the server pointing method and system of communicating terminal - Google Patents

A kind of the server pointing method and system of communicating terminal Download PDF

Info

Publication number
CN110247995A
CN110247995A CN201910460623.XA CN201910460623A CN110247995A CN 110247995 A CN110247995 A CN 110247995A CN 201910460623 A CN201910460623 A CN 201910460623A CN 110247995 A CN110247995 A CN 110247995A
Authority
CN
China
Prior art keywords
address
eeprom
communicating terminal
issued
default
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
CN201910460623.XA
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.)
FJ Motor Group Yudo New Energy Automobile Co Ltd
Original Assignee
FJ Motor Group Yudo New Energy Automobile 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 FJ Motor Group Yudo New Energy Automobile Co Ltd filed Critical FJ Motor Group Yudo New Energy Automobile Co Ltd
Priority to CN201910460623.XA priority Critical patent/CN110247995A/en
Publication of CN110247995A publication Critical patent/CN110247995A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5053Lease time; Renewal aspects
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1023Server selection for load balancing based on a hash applied to IP addresses or costs

Abstract

The present invention relates to vehicular field, in particular to the server pointing method and system of a kind of communicating terminal.The server pointing method of a kind of communicating terminal, comprising steps of activating two IP address being preset in communicating terminal EEPROM by diagnostic service;Obtain the IP address that remote service issues, judge whether the IP address is one of them in two IP address in EEPROM, if the IP address is one of them in two IP address in EEPROM, IP direction is carried out according to the IP address issued and jumps switching, and sets the IP address issued to first IP of default.Through the above steps, it is ensured that the IP address illegally issued cannot respond, and then the safety for protecting IP to switch;And set the IP address issued to first IP of default, the switching at runtime of IP is realized, and then realize the load balancing of platform different IP addresses server.

Description

A kind of the server pointing method and system of communicating terminal
Technical field
The present invention relates to vehicular field, in particular to the server pointing method and system of a kind of communicating terminal.
Background technique
Vehicle requires to go to connect national platform by enterprise platform in activation, and enterprise platform may be arranged Have multiple IP address, in the prior art, some by the communication terminal address of vehicle is directly defaulted as enterprise one of them IP address, this will lead to some address in enterprise and corresponds to multiple vehicles, cause load imbalance, some setting vehicle communication terminals It can carry out corresponding to by the IP address received and jump (though solving the problems, such as load imbalance in this way), and there are one for this mode A problem, if the IP address that vehicle receives be from malice send, may cause vehicle and maliciously controlled, safety without Method is protected.There has been no a methods can solve the problems, such as two above simultaneously at present.
Summary of the invention
For this reason, it may be necessary to provide a kind of server pointing method of communicating terminal, to solve IP switching load imbalance and The problem of IP switch safety, specific technical solution are as follows:
A kind of server pointing method of communicating terminal, comprising steps of being preset at communicating terminal by diagnostic service activation Two IP address in EEPROM;The IP address that remote service issues is obtained, judges whether the IP address is in EEPROM One of them in two IP address, if the IP address is one of them in two IP address in EEPROM, under The IP address of hair carries out IP direction and jumps switching, and sets the IP address issued to first IP of default;If the IP Location is not one of them in two IP address in EEPROM, then ignores the IP address issued, does not do any IP address and jumps Handover operation.
Further, before described " activating two IP address being preset in communicating terminal EEPROM by diagnostic service ", Preset three IP address in communicating terminal are further comprised the steps of:, one is default ip address, and the default ip address is set to journey On sequence Flash, other two IP address is set in EEPROM.
Further, it further comprises the steps of: and the IP address being set in EEPROM is read or rewritten by diagnostic service.
In order to solve the above technical problems, additionally providing a kind of server pointing system of communicating terminal, specific technical solution It is as follows:
A kind of server pointing system of communicating terminal, comprising: diagnostic module, IP address judgment module and IP direction jump Module;The diagnostic module is used for: two IP address that activation is preset in communicating terminal EEPROM;The IP address judges mould Block is used for: being obtained the IP address that issues of remote service, is judged whether the IP address is in two IP address in EEPROM One of them;The IP is directed toward jump module and is used for: if the IP address is wherein one in two IP address in EEPROM It is a, IP direction is carried out according to the IP address issued and jumps switching, and sets the IP address issued to first IP of default.
It further, further include IP address setup module;The IP address setup module is used for: preset in communicating terminal Three IP address, one is default ip address, and the default ip address is set on program Flash, other two IP address is set It is placed in EEPROM.
Further, the diagnostic module is also used to: reading or rewrite the IP address being set in EEPROM.
The beneficial effects of the present invention are: being obtained remote by pre-setting two IP address in communicating terminal EEPROM The IP address of journey service down distributing judges whether the IP address is one of them in two be set in advance in EEPROM, If one of them in two, IP direction is just carried out according to the IP address issued and jumps switching, first when IP address is preparatory Just will do it for setting operates in next step, it is ensured that the IP address illegally issued cannot respond, and then IP is protected to switch Safety;And set the IP address issued to first IP of default, the switching at runtime of IP is realized, and then realize platform The load balancing of different IP addresses server.
Further, pre-set two IP address are stored in EEPROM, it is ensured that even if power-off IP address Information will not lose.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the server pointing method of communicating terminal described in specific embodiment;
Fig. 2 is a kind of module diagram of the server pointing system of communicating terminal described in specific embodiment.
Description of symbols:
200, the server pointing system of a kind of communicating terminal,
201, diagnostic module,
202, IP address judgment module,
203, IP is directed toward jump module.
Specific embodiment
Technology contents, construction feature, the objects and the effects for detailed description technical solution, below in conjunction with specific reality It applies example and attached drawing is cooperated to be explained in detail.
Referring to Fig. 1, in the present embodiment, a kind of specific embodiment of the server pointing method of communicating terminal is such as Under:
Step S101: two IP address being preset in communicating terminal EEPROM are activated by diagnostic service.
Step S102: the IP address that remote service issues is obtained.
Step S103: do you judge that the IP address is one of them in two IP address in EEPROM?
If the IP address is one of them in two IP address in EEPROM, S104 is thened follow the steps: under The IP address of hair carries out IP direction and jumps switching, and sets the IP address issued to first IP of default.
If the IP address is not one of them in two IP address in EEPROM, thens follow the steps S105: ignoring The IP address issued does not do any IP address and jumps handover operation.
It should be noted that before above-mentioned steps, in the present embodiment, preset three IP in communicating terminal Location, one is default ip address, and the default ip address is set on program Flash, other two IP address is set to In EEPROM.Wherein default ip address can not be changed, other two, which is set to the IP address in EEPROM, can pass through diagnostic service It reads, rewrite IP, and can be activated by diagnostic service.
After activating IP by diagnostic service, after two available states of IP upon activation, obtain what remote service issued IP address, the IP that issues received is compared with two IP address in write-in EEPROM before this for communicating terminal, if the IP Address is one of them in two IP address in EEPROM, carries out IP direction according to the IP address issued and jumps switching, and Set the IP address issued to first IP of default;And if the IP address is not in two IP address in EEPROM One of them, then ignore the IP address issued, does not do any IP address and jumps handover operation.
By pre-setting two IP address in communicating terminal EEPROM, the IP address that remote service issues is obtained, Judge whether the IP address is one of them in two be set in advance in EEPROM, if wherein one in two It is a, IP direction is just carried out according to the IP address that issues and jumps switching, first when IP address is just will do it down of pre-setting Single stepping, it is ensured that the IP address illegally issued cannot respond, and then the safety for protecting IP to switch;And it will issue IP address is set as first IP of default, realizes the switching at runtime of IP, and then realize platform different IP addresses server Load balancing.
Referring to Fig. 2, in the present embodiment, a kind of specific embodiment party of the server pointing system 200 of communicating terminal Formula is as follows:
A kind of server pointing system 200 of communicating terminal, comprising: diagnostic module 201,202 and of IP address judgment module IP is directed toward jump module 203;The diagnostic module 201 is used for: two IP address that activation is preset in communicating terminal EEPROM; The IP address judgment module 202 is used for: being obtained the IP address that remote service issues, is judged whether the IP address is EEPROM One of them in two interior IP address;The IP is directed toward jump module 203 and is used for: if the IP address is in EEPROM One of them in two IP address carries out IP direction according to the IP address issued and jumps switching, and the IP address issued is set It is set to first IP of default.
It further, further include IP address setup module;The IP address setup module is used for: preset in communicating terminal Three IP address, one is default ip address, and the default ip address is set on program Flash, other two IP address is set It is placed in EEPROM.
Further, the diagnostic module 201 is also used to: reading or rewrite the IP address being set in EEPROM.
Two IP address are pre-set in communicating terminal EEPROM by IP address setup module, are sentenced by IP address Disconnected module 202 obtains the IP address that remote service issues, and judges whether the IP address is two be set in advance in EEPROM One of them in a just carries out IP direction according to the IP address issued and jumps switching, first if one of them in two When IP address is that the next step that just will do it pre-set operates, it is ensured that the IP address illegally issued cannot respond, into And the safety for protecting IP to switch;And setting the IP address issued to first IP of default, the dynamic for realizing IP is cut It changes, and then realizes the load balancing of platform different IP addresses server.
It should be noted that being not intended to limit although the various embodiments described above have been described herein Scope of patent protection of the invention.Therefore, it based on innovative idea of the invention, change that embodiment described herein is carried out and is repaired Change, or using equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content, it directly or indirectly will be with Upper technical solution is used in other related technical areas, is included within scope of patent protection of the invention.

Claims (6)

1. a kind of server pointing method of communicating terminal, which is characterized in that comprising steps of
Two IP address being preset in communicating terminal EEPROM are activated by diagnostic service;
Obtain the IP address that issues of remote service, judge the IP address whether be in two IP address in EEPROM wherein One, if the IP address is one of them in two IP address in EEPROM, IP is carried out according to the IP address issued and is referred to Switch to jumping, and sets the IP address issued to first IP of default;
If the IP address is not one of them in two IP address in EEPROM, ignores the IP address issued, do not do Any IP address jumps handover operation.
2. a kind of server pointing method of communicating terminal according to claim 1, which is characterized in that described " by examining Disconnected Service Activation is preset at two IP address in communicating terminal EEPROM " before, it further comprises the steps of:
Preset three IP address in communicating terminal, one is default ip address, and the default ip address is set to program Flash On, other two IP address is set in EEPROM.
3. a kind of server pointing method of communicating terminal according to claim 2, which is characterized in that further comprise the steps of:
The IP address being set in EEPROM is read or rewritten by diagnostic service.
4. a kind of server pointing system of communicating terminal characterized by comprising diagnostic module, IP address judgment module and IP is directed toward jump module;
The diagnostic module is used for: two IP address that activation is preset in communicating terminal EEPROM;
The IP address judgment module is used for: obtain the IP address that issues of remote service, judge the IP address whether be One of them in two IP address in EEPROM;
The IP is directed toward jump module and is used for: if the IP address is one of them in two IP address in EEPROM, root IP direction is carried out according to the IP address issued and jumps switching, and sets the IP address issued to first IP of default.
5. a kind of server pointing system of communicating terminal according to claim 4, which is characterized in that further include IP address Setup module;
The IP address setup module is used for: preset three IP address in communicating terminal, and one is default ip address, described silent Recognize IP address to be set on program Flash, other two IP address is set in EEPROM.
6. a kind of server pointing system of communicating terminal according to claim 5, which is characterized in that
The diagnostic module is also used to: reading or rewrite the IP address being set in EEPROM.
CN201910460623.XA 2019-05-30 2019-05-30 A kind of the server pointing method and system of communicating terminal Pending CN110247995A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910460623.XA CN110247995A (en) 2019-05-30 2019-05-30 A kind of the server pointing method and system of communicating terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910460623.XA CN110247995A (en) 2019-05-30 2019-05-30 A kind of the server pointing method and system of communicating terminal

Publications (1)

Publication Number Publication Date
CN110247995A true CN110247995A (en) 2019-09-17

Family

ID=67885341

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910460623.XA Pending CN110247995A (en) 2019-05-30 2019-05-30 A kind of the server pointing method and system of communicating terminal

Country Status (1)

Country Link
CN (1) CN110247995A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004007182A (en) * 2002-05-31 2004-01-08 Denso Corp Communication terminal and setting method therefor
US20100263024A1 (en) * 2009-04-09 2010-10-14 Honeywell International Inc. Methods, apparatus and systems for accessing vehicle operational data using an intelligent network router
CN102510399A (en) * 2011-10-31 2012-06-20 深圳市赛格导航科技股份有限公司 Method for selecting service centers intelligently
CN104883374A (en) * 2014-02-28 2015-09-02 惠州市德赛西威汽车电子有限公司 On-vehicle remote data terminal and processing method thereof
CN108173856A (en) * 2017-12-28 2018-06-15 北京奇虎科技有限公司 Vehicle communication data safety detection method, device and car-mounted terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004007182A (en) * 2002-05-31 2004-01-08 Denso Corp Communication terminal and setting method therefor
US20100263024A1 (en) * 2009-04-09 2010-10-14 Honeywell International Inc. Methods, apparatus and systems for accessing vehicle operational data using an intelligent network router
CN102510399A (en) * 2011-10-31 2012-06-20 深圳市赛格导航科技股份有限公司 Method for selecting service centers intelligently
CN104883374A (en) * 2014-02-28 2015-09-02 惠州市德赛西威汽车电子有限公司 On-vehicle remote data terminal and processing method thereof
CN108173856A (en) * 2017-12-28 2018-06-15 北京奇虎科技有限公司 Vehicle communication data safety detection method, device and car-mounted terminal

Similar Documents

Publication Publication Date Title
JP6812444B2 (en) Embedded subscriber identification module with communication profile
US20140378055A1 (en) Pairing a wireless devices within a vehicle
CN111542081B (en) Communication switching method and device and Internet of things communication module
US8423017B2 (en) Automatic updating of a preferred roaming list stored in a vehicle telematics unit
CN104507181A (en) Dual-card dual-standby conversation method, dual-card dual-standby conversation device and dual-card dual-standby conversation terminal
CN110719372B (en) Method, device and system for remote communication with vehicle
CN210666775U (en) Tamper-resistant device for embedded universal integrated circuit card and electronic device
CN111683371B (en) Intelligent household appliance network distribution method, intelligent household appliance, mobile terminal and medium
CN111314902A (en) Method and device for adaptively configuring parameters of terminal of Internet of vehicles
CN101841365B (en) Terminal apparatus and communication system
CN106094512A (en) Self-adapting start sequence for vehicle infotainment system
CN103873439B (en) The method and electronic equipment of a kind of networking
CN110268412A (en) Communication control unit, communication system and communication control method
CN110247995A (en) A kind of the server pointing method and system of communicating terminal
US9591488B2 (en) Contents management for mobile station having runtime environment
CN105764054A (en) Method for network detection based on embedded intelligent card and terminal thereof
CN108791188A (en) The control method of vehicle, apparatus and system
CN111372224A (en) Method, device and equipment for sharing seed code number by eSIM (embedded subscriber identity Module)
CN104918230A (en) Card writing method, device and system
CN113301531A (en) Network access system, method and device for vehicle automatic driving test
CN114285657A (en) Firewall security policy change verification method and device
CN105472125A (en) Information processing method and electronic device
CN1191552C (en) Data carrier having option means
CN112803957B (en) Data processing method and system, embedded user card and terminal
US20170070253A1 (en) Configurable communications module

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: 20190917