CN107426327A - A kind of link switch-over method and device - Google Patents

A kind of link switch-over method and device Download PDF

Info

Publication number
CN107426327A
CN107426327A CN201710660786.3A CN201710660786A CN107426327A CN 107426327 A CN107426327 A CN 107426327A CN 201710660786 A CN201710660786 A CN 201710660786A CN 107426327 A CN107426327 A CN 107426327A
Authority
CN
China
Prior art keywords
link
switching
service
link switching
configuration file
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
CN201710660786.3A
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.)
Beijing Lajin Zhongbo Technology Co ltd
Original Assignee
Wuxi Tvmining Juyuan Media 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 Wuxi Tvmining Juyuan Media Technology Co Ltd filed Critical Wuxi Tvmining Juyuan Media Technology Co Ltd
Priority to CN201710660786.3A priority Critical patent/CN107426327A/en
Publication of CN107426327A publication Critical patent/CN107426327A/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/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0681Configuration of triggering conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection

Abstract

The invention discloses a kind of link switch-over method and device.Methods described includes:When receiving the link switching request of equipment transmission, link switching configuration file corresponding with link switching request is automatically generated;According to the link switching configuration file, equipment Target Link as corresponding to current ink automatically switches to the link switching request is controlled.Pass through technical scheme, when receiving the link switching request of equipment transmission, by automatically generating link switching configuration file corresponding with link switching request, and then according to link switching configuration file, control device Target Link as corresponding to current ink automatically switches to link switching request, can be achieved to make equipment automatic switchover link, so, both manual switching link had been avoided, has improved link switching efficiency again.

Description

A kind of link switch-over method and device
Technical field
The present invention relates to communication technical field, more particularly to a kind of link switch-over method and device.
Background technology
At present, user is when obtaining data, it is often necessary to cross-server fetch evidence, and cross-server access according to when, often Often there is the problem of needing handoff links because link is unstable, but in correlation technique, when carrying out link switching, often need User's manual switching link is wanted, address, the main frame information of the link of the link for needing to switch such as is manually entered, could complete The switching of link, and to not only increase user manually operated for this this link switching mode, also make it that link switching is less efficient.
The content of the invention
The present invention provides a kind of link switch-over method and device, to receive the link switching request of equipment transmission When, link switching configuration file corresponding with link switching request can be automatically generated, and then match somebody with somebody according to the link switching File is put, equipment Target Link as corresponding to current ink automatically switches to the link switching request is controlled, so as to real The automatic switchover of existing link, had both avoided manual switching link, and had improved link switching efficiency again.
The present invention provides a kind of link switch-over method, including:
When receiving the link switching request of equipment transmission, automatically generate and the corresponding link of link switching request Handover configurations file;
According to the link switching configuration file, the equipment is controlled to automatically switch to the link switching by current ink Target Link corresponding to request.
In one embodiment, it is described when receiving the link switching request of equipment transmission, automatically generate and the chain The corresponding link switching configuration file of road handover request, including:
When receiving the link switching request, the link switching request is parsed, obtains the chain of the current ink The link identification of line and the Target Link;
According to the link identification of the current ink and the link identification of the Target Link, generate the link switching and match somebody with somebody Put file.
In one embodiment, the link switching configuration file includes at least one of following information:
Host address corresponding to the link identification of the Target Link, the Target Link, switch to the Target Link When need the service restarted.
In one embodiment, need to restart when the link switching configuration file includes switching to the Target Link Service when, it is described to automatically generate link switching configuration file corresponding with link switching request, including:
Determine the current service being currently running on the current ink;
It is determined that be pre-configured with link switching when need the preset service type restarted;
When being defined as switching to the Target Link by the service for meeting the preset service type in the current service Need the service restarted.
In one embodiment, it is described according to the link switching configuration file, control the equipment by current ink from Move and switch to Target Link corresponding to the link switching request, including:
The link switching configuration file is sent to main frame corresponding to the host address, to control the main frame to pass through The Target Link provides service for the equipment, and restarts the service for needing to restart.
The present invention also provides a kind of link switching device, including:
Generation module, for when receiving the link switching request of equipment transmission, automatically generating and the link switching Ask corresponding link switching configuration file;
Control module, for according to the link switching configuration file, controlling the equipment to be automatically switched by current ink To Target Link corresponding to link switching request.
In one embodiment, the generation module includes:
Analyzing sub-module, for when receiving the link switching request, parsing the link switching request, obtaining institute State the link identification of current ink and the link identification of the Target Link;
Submodule is generated, it is raw for the link identification according to the current ink and the link identification of the Target Link Into the link switching configuration file.
In one embodiment, the link switching configuration file includes at least one of following information:
Host address corresponding to the link identification of the Target Link, the Target Link, switch to the Target Link When need the service restarted.
In one embodiment, the generation module includes:
First determination sub-module, for being needed when the link switching configuration file includes and switches to the Target Link During the service restarted, the current service being currently running on the current ink is determined;
Second determination sub-module, for determine to be pre-configured with link switching when need the preset service type restarted;
3rd determination sub-module, for the service for meeting the preset service type in the current service to be defined as cutting The service restarted is needed when shifting to the Target Link.
In one embodiment, the control module includes:
Sending submodule, for the link switching configuration file to be sent to main frame corresponding to the host address, with Control the main frame to provide service by the Target Link for the equipment, and restart the service for needing to restart.
The technical scheme provided by this disclosed embodiment can include the following benefits:
When receiving the link switching request of equipment transmission, by automatically generating and the corresponding link of link switching request Handover configurations file, and then according to link switching configuration file, control device automatically switches to link switching by current ink please Corresponding Target Link is sought, can be achieved to make equipment automatic switchover link, so, both avoided manual switching link, and improved again Link switching efficiency.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write Specifically noted structure is realized and obtained in book, claims and accompanying drawing.
Below by drawings and examples, technical scheme is described in further detail.
Brief description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and a part for constitution instruction, the reality with the present invention Apply example to be used to explain the present invention together, be not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of link switch-over method according to an exemplary embodiment.
Fig. 2 is the flow chart of another link switch-over method according to an exemplary embodiment.
Fig. 3 is a kind of block diagram of link switching device according to an exemplary embodiment.
Fig. 4 is the block diagram of another link switching device according to an exemplary embodiment.
Embodiment
The preferred embodiments of the present invention are illustrated below in conjunction with accompanying drawing, it will be appreciated that described herein preferred real Apply example to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
In order to solve the above-mentioned technical problem, the embodiment of the present disclosure provides a kind of link switch-over method, and this method is applied to In link switching program, system or device, its executive agent can be O&M server etc., as shown in figure 1, step S101 and step Rapid S102, wherein:
In step S101, when receiving the link switching request of equipment transmission, automatically generate and asked with link switching Corresponding link switching configuration file;
The equipment can be the terminals such as mobile phone or a server.
In step s 102, link is automatically switched to by current ink and cut according to link switching configuration file, control device Change Target Link corresponding to request.
When receiving the link switching request of equipment transmission, by automatically generating and the corresponding link of link switching request Handover configurations file, and then according to link switching configuration file, control device automatically switches to link switching by current ink please Corresponding Target Link is sought, can be achieved to make equipment automatic switchover link, so, both avoided manual switching link, and improved again Link switching efficiency.
As shown in Fig. 2 in one embodiment, the step S101 shown in above-mentioned Fig. 1, that is, receiving the chain of equipment transmission During the handover request of road, link switching configuration file corresponding with link switching request is automatically generated, including:
In step s 201, when receiving link switching request, link handover request is parsed, obtains the chain of current ink The link identification of line and Target Link;
In step S202, according to the link identification of current ink and the link identification of Target Link, link switching is generated Configuration file.
When generating link switching configuration file, link handover request can be parsed automatically, to obtain the link of current ink The link identification of mark and Target Link, and then according to the link identification of current ink and the link identification of Target Link, generation Link switching configuration file, so as to realize the automatic switchover to link by way of automatically generating link switching configuration file.
In one embodiment, link switching configuration file includes at least one of following information:
Host address corresponding to the link identification of Target Link, Target Link, need what is restarted when switching to Target Link Service.
Link switching configuration file includes but is not limited to above- mentioned information, for example, it is also possible to the service restarted including needs Most short startup time, boot sequence etc.;
The link identification of Target Link is for the unique mark Target Link, and the link identification of current ink is also used for only One identifies the current ink;
Host address corresponding to Target Link can be one or more, and when host address corresponding to Target Link includes When multiple, any one host address may be selected, either one host address of stability highest or frequency of use highest.
In one embodiment, the service restarted is needed when link switching configuration file includes switching to Target Link When, link switching configuration file corresponding with link switching request is automatically generated, including:
Determine the current service being currently running on current ink;
It is determined that be pre-configured with link switching when need the preset service type restarted;
The clothes that needs are restarted when being defined as switching to Target Link by the service for meeting preset service type in current service Business.
When it is determined that needing the service restarted, it may be determined that the current service being currently running on current ink, and then determine pre- The preset service type restarted is needed during the link switching first configured, in order to which preset service type will be met in current service Service automatically determines the service that needs are restarted during to switch to Target Link, so after Target Link is switched to, it is only necessary to weight The service that these needs are restarted is opened, and other service holdings can and need not restart.
In one embodiment, link is automatically switched to by current ink according to link switching configuration file, control device Target Link corresponding to handover request, including:
Link switching configuration file is sent to main frame corresponding to host address, using control main frame by Target Link to set Standby offer service, and restart the service for needing to restart.
When controlling the equipment to switch to Target Link, the link switching configuration file can be automatically sent to host address Corresponding main frame, service is provided as equipment by Target Link using control main frame, and restart the service for needing to restart, so as to automatic The switching of link is realized, improves link switching efficiency.
As shown in figure 3, the present invention also provides a kind of link switching device, including:
Generation module 301, it is configured as, when receiving the link switching request of equipment transmission, automatically generating and cutting with link Change the corresponding link switching configuration file of request;
Control module 302, it is configured as being automatically switched to by current ink according to link switching configuration file, control device Target Link corresponding to link switching request.
As shown in figure 4, in one embodiment, generation module 301 can include:
Analyzing sub-module 3011, it is configured as, when receiving link switching request, parsing link handover request, being worked as The link identification of preceding link and the link identification of Target Link;
Submodule 3012 is generated, is configured as the link identification of the link identification and Target Link according to current ink, it is raw Into link handover configurations file.
In one embodiment, link switching configuration file includes at least one of following information:
Host address corresponding to the link identification of Target Link, Target Link, need what is restarted when switching to Target Link Service.
In one embodiment, generation module includes:
First determination sub-module, it is configured as needing to restart when link switching configuration file includes switching to Target Link Service when, determine the current service being currently running on current ink;
Second determination sub-module, it is configured to determine that the preset service class that needs are restarted during the link switching being pre-configured with Type;
3rd determination sub-module, it is configured as being defined as switching to by the service for meeting preset service type in current service The service restarted is needed during Target Link.
In one embodiment, control module includes:
Sending submodule, it is configured as sending link switching configuration file to main frame corresponding to host address, with control Main frame provides service by Target Link for equipment, and restarts the service for needing to restart.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Finally, the link switching device in the present invention is applied to equipment equipment.For example, it may be mobile phone, computer, Digital broadcast equipment, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant Deng.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more The shape for the computer program product that usable storage medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (10)

  1. A kind of 1. link switch-over method, it is characterised in that including:
    When receiving the link switching request of equipment transmission, automatically generate and the corresponding link switching of link switching request Configuration file;
    According to the link switching configuration file, control the equipment to automatically switch to the link switching by current ink and ask Corresponding Target Link.
  2. 2. according to the method for claim 1, it is characterised in that
    It is described receive equipment transmission link switching request when, automatically generate and the corresponding link of link switching request Handover configurations file, including:
    When receiving the link switching request, the link switching request is parsed, obtains the chain road sign of the current ink Know the link identification with the Target Link;
    According to the link identification of the current ink and the link identification of the Target Link, the link switching configuration text is generated Part.
  3. 3. according to the method for claim 1, it is characterised in that
    The link switching configuration file includes at least one of following information:
    Host address corresponding to the link identification of the Target Link, the Target Link, need when switching to the Target Link The service to be restarted.
  4. 4. according to the method for claim 3, it is characterised in that
    It is described automatic raw when needing the service restarted when the link switching configuration file includes switching to the Target Link Into link switching configuration file corresponding with link switching request, including:
    Determine the current service being currently running on the current ink;
    It is determined that be pre-configured with link switching when need the preset service type restarted;
    Needs when being defined as switching to the Target Link by the service for meeting the preset service type in the current service The service restarted.
  5. 5. the method according to claim 3 or 4, it is characterised in that described according to the link switching configuration file, control Equipment Target Link as corresponding to current ink automatically switches to the link switching request, including:
    The link switching configuration file is sent to main frame corresponding to the host address, it is described to control the main frame to pass through Target Link provides service for the equipment, and restarts the service for needing to restart.
  6. A kind of 6. link switching device, it is characterised in that including:
    Generation module, for when receiving the link switching request of equipment transmission, automatically generating and being asked with the link switching Corresponding link switching configuration file;
    Control module, for according to the link switching configuration file, controlling the equipment to automatically switch to institute by current ink State Target Link corresponding to link switching request.
  7. 7. device according to claim 6, it is characterised in that
    The generation module includes:
    Analyzing sub-module, for when receiving the link switching request, parsing the link switching request, obtaining described work as The link identification of the link identification of preceding link and the Target Link;
    Submodule is generated, for the link identification according to the current ink and the link identification of the Target Link, generates institute State link switching configuration file.
  8. 8. device according to claim 6, it is characterised in that
    The link switching configuration file includes at least one of following information:
    Host address corresponding to the link identification of the Target Link, the Target Link, need when switching to the Target Link The service to be restarted.
  9. 9. device according to claim 8, it is characterised in that
    The generation module includes:
    First determination sub-module, for needing to restart when the link switching configuration file includes switching to the Target Link Service when, determine the current service being currently running on the current ink;
    Second determination sub-module, for determine to be pre-configured with link switching when need the preset service type restarted;
    3rd determination sub-module, for the service for meeting the preset service type in the current service to be defined as switching to The service restarted is needed during the Target Link.
  10. 10. device according to claim 8 or claim 9, it is characterised in that the control module includes:
    Sending submodule, for the link switching configuration file to be sent to main frame corresponding to the host address, with control The main frame provides service by the Target Link for the equipment, and restarts the service for needing to restart.
CN201710660786.3A 2017-08-04 2017-08-04 A kind of link switch-over method and device Pending CN107426327A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710660786.3A CN107426327A (en) 2017-08-04 2017-08-04 A kind of link switch-over method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710660786.3A CN107426327A (en) 2017-08-04 2017-08-04 A kind of link switch-over method and device

Publications (1)

Publication Number Publication Date
CN107426327A true CN107426327A (en) 2017-12-01

Family

ID=60436540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710660786.3A Pending CN107426327A (en) 2017-08-04 2017-08-04 A kind of link switch-over method and device

Country Status (1)

Country Link
CN (1) CN107426327A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257701A (en) * 2007-03-02 2008-09-03 华为技术有限公司 Method and device for operating chain circuit in isomerization network switch
CN102075279A (en) * 2011-01-27 2011-05-25 杭州华三通信技术有限公司 Configuration method and equipment for auto protocol switch (APS) working mode
CN104901834A (en) * 2015-05-20 2015-09-09 广东睿江科技有限公司 Method and system for automatically switching between network servers
US20160192422A1 (en) * 2013-08-29 2016-06-30 China Academy Of Telecommunications Technology Communication switching and establishing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257701A (en) * 2007-03-02 2008-09-03 华为技术有限公司 Method and device for operating chain circuit in isomerization network switch
CN102075279A (en) * 2011-01-27 2011-05-25 杭州华三通信技术有限公司 Configuration method and equipment for auto protocol switch (APS) working mode
US20160192422A1 (en) * 2013-08-29 2016-06-30 China Academy Of Telecommunications Technology Communication switching and establishing method and device
CN104901834A (en) * 2015-05-20 2015-09-09 广东睿江科技有限公司 Method and system for automatically switching between network servers

Similar Documents

Publication Publication Date Title
US20130130726A1 (en) Method for sharing terminal location and terminal device
EP3720189B1 (en) Data routing method and terminal
CN106155869A (en) The running background control method of terminal applies and device thereof
CN104540176B (en) Wireless network access method, device and terminal
CN105677265A (en) Display method and terminal
CN105554537A (en) Control method and control device
CN106776039A (en) A kind of data processing method and device
WO2015117445A1 (en) Method and device for processing task window
CN111970359A (en) Front-end non-service architecture system based on node
KR20170028380A (en) Trunking communication service processing method, core network device, ue and storage medium
CN105511273B (en) A kind of client operation management method and client
CN107222618A (en) Terminal screenshotss method and device
CN102333280A (en) Business secret key renewing method and system and business processing server
CN104915168B (en) A kind of information processing method and electronic equipment
CN105094860A (en) Terminal software online upgrade method and device
CN106327143A (en) Method and apparatus for node in flow
CN111782260B (en) Gray level distribution method and gray level distribution device
CN107426327A (en) A kind of link switch-over method and device
CN116366565A (en) Speed limiting mode switching method and device, electronic equipment and storage medium
CN104699240A (en) Control method and electronic equipment
CN113076166A (en) Method and device for processing page
CN104616197A (en) Separable query transaction data scheduling method and apparatus
CN109147789A (en) The voice response method and device of household appliance
CN104751327B (en) A kind of method and apparatus of activation card application
CN114003388A (en) Method and device for determining task parameters of big data computing engine

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
TA01 Transfer of patent application right

Effective date of registration: 20221025

Address after: Room 1602, 16th Floor, Building 18, Yard 6, Wenhuayuan West Road, Beijing Economic and Technological Development Zone, Daxing District, Beijing 100176

Applicant after: Beijing Lajin Zhongbo Technology Co.,Ltd.

Address before: Floor 5, Sagittarius Block A, Jiangsu Software Outsourcing Industrial Park, Wuxi New District, Jiangsu Province, 214000

Applicant before: WUXI TVMINING MEDIA SCIENCE & TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20171201

WD01 Invention patent application deemed withdrawn after publication