CN113068206A - Information processing method and device - Google Patents

Information processing method and device Download PDF

Info

Publication number
CN113068206A
CN113068206A CN202110346112.2A CN202110346112A CN113068206A CN 113068206 A CN113068206 A CN 113068206A CN 202110346112 A CN202110346112 A CN 202110346112A CN 113068206 A CN113068206 A CN 113068206A
Authority
CN
China
Prior art keywords
data
network type
network
address
type
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
CN202110346112.2A
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202110346112.2A priority Critical patent/CN113068206A/en
Publication of CN113068206A publication Critical patent/CN113068206A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • 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/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application provides an information processing method and device, wherein the method is applied to network equipment and comprises the following steps: acquiring data to be sent; wherein the configuration attribute information of the data is based on a second network type transport protocol setting; judging the network type suitable for sending the data according to the destination IP address of the received data; and if the data is determined to be suitable for the first network type, modifying the configuration attribute information of the data based on the transmission protocol of the first network type and then sending the modified configuration attribute information through the first network type. According to the information processing method of the embodiment of the application, when the network equipment is simultaneously accessed into two network types, the situation that data cannot be transmitted can be avoided, flexible processing can be realized according to the destination IP address of the received data, and data interaction between the two network types is realized.

Description

Information processing method and device
Technical Field
The present application relates to the field of network communication technologies, and in particular, to an information processing method and apparatus.
Background
With the development of network communication technology, electronic devices such as tablet computers and the like are continuously updated. When the electronic equipment is used for carrying out flow transmission, if the WIFI is available, the electronic equipment can be automatically connected with the WIFI to carry out data transmission. However, when the electronic device is connected to the ethernet through the cable after being connected to the WIFI network, data of the WIFI network and data of the ethernet cannot be interacted with each other, so that a user cannot transmit data to the terminal device in the ethernet when transmitting data through the WIFI.
Disclosure of Invention
In view of the foregoing problems in the prior art, the present application provides an information processing method and apparatus, and the technical solution adopted in the embodiments of the present application is as follows:
in one aspect, an embodiment of the present application provides an information processing method, which is applied to a network device, where configuration attribute information of the network device is set based on a second network type transport protocol, and the method includes:
acquiring data to be sent;
judging the network type suitable for sending the data according to the destination IP address of the received data;
and if the data is determined to be suitable for the first network type, modifying the configuration attribute information of the network equipment based on the transmission protocol of the first network type and then sending the data.
In some embodiments, the determining, according to the destination IP address of the received data, a network type suitable for sending the data includes:
and if the destination IP address is suitable for the first network type, judging that the data is suitable for the first network type.
In some embodiments, the configuration attribute information of the network device includes at least: gateway, subnet mask and DNS;
the modifying the configuration attribute information of the network device based on the transmission protocol of the first network type includes:
and correspondingly modifying the gateway, the subnet mask and the DNS according to the destination IP address.
In some embodiments, the information processing method further includes:
and if the terminal equipment receiving the data is connected with the network equipment through the first network type, modifying the transmission rule of the data in a link layer so as to send the data to the terminal equipment.
In some embodiments, the rule for transmitting the data at the link layer at least comprises:
route type, prefix, priority.
In some embodiments, the information processing method further includes: and dynamically setting the IP network segment, the subnet mask and the routing rule related to the first network type through broadcast updating.
In some embodiments, the information processing method further includes: and setting a state machine to send the reported information about the network type in real time.
In some embodiments, the display status of each network type, and icons and prompts for corresponding status are set by the state machine.
In some embodiments, the first network type is ethernet and the second network type is WIFI.
On the other hand, an embodiment of the present application further provides an information processing apparatus, including:
the acquisition module is configured to acquire data to be transmitted; wherein the configuration attribute information of the data is based on a second network type transport protocol setting;
the judging module is configured to judge the network type suitable for sending the data according to the destination IP address of the received data;
and the sending module is configured to send the modified configuration attribute information of the data through the first network type based on a transmission protocol of the first network type if the data is determined to be suitable for the first network type.
The embodiment of the present application further provides an electronic device, which at least includes a memory, a processor and a bus, where the memory stores machine-readable instructions executable by the processor, and when the electronic device runs, the processor and the memory communicate with each other through the bus, and when the machine-readable instructions are executed by the processor, the steps of the method provided in any embodiment of the present application are performed.
Embodiments of the present application further provide a storage medium carrying one or more programs which, when executed by a processor, implement the steps of the method provided in any of the embodiments of the present application.
In the embodiment of the application, the network type applicable to the data to be sent is judged based on the destination IP address for receiving the data to be sent, and when the network type applicable is the judgment result of the first network type, the configuration attribute information of the network device can be modified so as to transmit the data through the first network type. According to the information processing method of the embodiment of the application, when the network equipment is simultaneously accessed into two network types, the situation that data cannot be transmitted can be avoided, flexible processing can be realized according to the destination IP address of the received data, and data interaction between the two network types is realized.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present disclosure, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of an exemplary scenario provided herein;
fig. 2 is a flowchart of an information processing method provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings of the embodiments of the present application. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the application without any inventive step, are within the scope of protection of the application.
Unless defined otherwise, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this application belongs. As used in this application, the terms "first," "second," and the like do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
Detailed descriptions of known functions and known components are omitted in the present application in order to keep the following description of the embodiments of the present application clear and concise.
Fig. 1 is a schematic diagram of an exemplary scenario of the present application, and referring to fig. 1, in practical application, the information processing method of the present application may be applied to a network device. The network device may be a tablet computer, a network adapter (not shown) in a computer or the like in the first terminal, so that these first terminal devices can communicate with any other terminal device or server in various types of networks. For example, through the network device, a first terminal can communicate with any one of second terminals in a first network type, such as a network camera; while also communicating with any third terminal (not shown) or any server in the second network type. The arrows shown in fig. 1 may represent data transmission between the first terminal and the server or the second terminal.
In some specific implementation manners, if the first terminal is simultaneously accessed to the two networks of the first network type and the second network type, when the user sets a network device of the first terminal, for example, a network adapter, the user may set the relevant configuration attribute information based on a transmission protocol of one of the network types as needed, so as to perform data transmission through the one of the network types. The configuration attribute information of the network device includes some important parameter information, such as: a DNS (Domain Name System) address, a gateway IP address, a subnet mask, and the like. For example, the first network type is selected to be preferentially used for data transmission, and the configuration attribute information of the network device is set according to the transmission protocol of the first network type. Or when the second network type is selected to be preferentially used for data transmission, the configuration attribute information of the network equipment is correspondingly set according to the transmission protocol of the second network type.
In the application, when accessing to two networks of a first network type and a second network type simultaneously, configuration attribute information of network equipment in a first terminal is set according to a transmission protocol of the second network type, so that a network of the second network type is preferentially used for data transmission. In one specific implementation manner, further, the default route of the first network type and the default route of the second network type are deleted, and then the second gateway of the second network type is set as the default route, so that after the setting is completed, the first terminal can perform communication and corresponding data transmission through the network of the second network type.
Further, in order to communicate with a device in the first network type, in one specific implementation manner, an IP corresponding to a second terminal in the first network type may be added as a white list, so that when communicating with the second terminal in the white list, a network of the first network type may be used for data transmission; and when the terminal equipment is communicated with other terminal equipment which is not in the white list, the network of the second network type is used for data transmission. In another specific implementation manner, a first gateway of the first network type may also be added as a route, so that when communicating with a terminal device corresponding to an IP address under the route, a network of the first network type may also be used for data transmission; and when the terminal equipment corresponding to the IP address under the default route carries out communication, the network of the second network type is used for carrying out data transmission.
An embodiment of the present application provides an information processing method, which is shown in fig. 2, and the method specifically includes the following steps:
and S100, acquiring data to be transmitted.
In this step, the data to be transmitted is data to be transmitted by the first terminal through the network device. In this embodiment of the application, the first terminal preferentially uses the network of the second network type to transmit data, so that when the network device transmits data to be transmitted, the network device encapsulates the data to be transmitted based on the transmission protocol corresponding to the second network type to transmit the data to other terminals in the second network type, such as a third terminal or a server side, through a corresponding route of the second network type, so as to complete a data transmission process. However, if the receiving device is another terminal device in the first network type, for example, a second terminal, the first terminal and the second terminal cannot communicate through the network of the second network type because the second terminal is not in the network of the second network type, and thus the data to be transmitted cannot be transmitted to the second terminal. In order to avoid that the data to be sent cannot be transmitted, the data to be sent needs to be acquired through the network device, so that when the receiving device is a device in the first network type, the data to be sent can be sent to the corresponding target device after being processed.
S200, according to the destination IP address of the received data, judging the network type suitable for sending the data.
In this step, after the data to be sent is obtained, the network type to which the data is applicable can be identified according to the destination IP address of the receiving end of the data. In one specific implementation, the network type to which the data is applicable may be determined according to whether a destination IP address of the received data is included in a white list compared with the white list of preset IP addresses. Illustratively, the preset IP address white list of the first network type includes: 192.168.0.10, 192.168.0.19, 192.168.0.38 … …, etc., if the target IP address of the received data is 192.168.0.10, which matches with one of the IP addresses in the white list, the network type of the data is the first network type; and if the target IP address for receiving the data is not in the white list, the network type applicable to the data is a second network type. In another specific implementation manner, the corresponding routing table may be matched according to the destination IP address of the received data, and when the destination IP address is matched with the routing table of the first network type, the network type to which the data is applicable is the first network type; and when the data is not matched with the routing table of the first network type, the network type suitable for the data is the second network type. Illustratively, the added first gateway of the first network type is 192.168.0.1, and if the target IP address of the received data is 192.168.0.10, the data is matched with the first gateway, and the network type to which the data is applicable is the first network type; and if the target IP address of the received data is 10.3.90.65 and is not matched with the first gateway, the network type suitable for the data is the second network type.
After the network type to which the data is applicable is determined, for example, when the network type to which the data is applicable is a second network type, the network device may directly transmit the data through the second network type, and send the data to other terminals in the second network type, such as a third terminal or a server side, thereby completing a data transmission process. However, if the network type to which the data is adapted is the first network type, the network device cannot directly transmit the data through the second network type, and the data can be transmitted and sent after being correspondingly processed.
S300, if the data is determined to be suitable for the first network type, the configuration attribute information of the network equipment is modified based on the transmission protocol of the first network type, and then the data is sent.
In this step, when it is determined that the data is applicable to the first network type, the configuration attribute information of the network device is modified correspondingly according to the transmission protocol corresponding to the first network type, including modifying information such as a gateway IP address, a subnet mask, and a DNS, and after the modification is completed, the network device can send the data through a route of the first network type, thereby sending the data to a corresponding terminal device in the first network type.
In this embodiment, the network type to which the data to be transmitted is applicable is determined based on the destination IP address for receiving the data to be transmitted, and when the determined result is that the network type to which the data to be transmitted is the first network type, the configuration attribute information of the network device may be modified to transmit the data via the first network type. According to the information processing method of the embodiment of the application, when the network equipment is simultaneously accessed into two network types, the situation that data cannot be transmitted can be avoided, flexible processing can be realized according to the destination IP address of the received data, and data interaction between the two network types is realized.
In some embodiments, the determining, according to the destination IP address of the received data, a network type suitable for sending the data includes: and if the destination IP address is suitable for the first network type, judging that the data is suitable for the first network type. In this embodiment, the network type to which the data is applicable may be determined according to whether the destination IP address of the received data is included in a white list compared with the white list of preset IP addresses. For example, the set white list of IP addresses of the first network type includes: 192.168.0.10, 192.168.0.19, 192.168.0.38 … …, etc., if the target IP address of the received data is 192.168.0.10, which matches one of the IP addresses in the white list, the network type of the data is the first network type.
In some embodiments, the configuration attribute information of the network device includes some important parameter information, for example, including: gateway IP address, subnet mask, and DNS address. In the application, the configuration attribute information of the network device is set based on a transmission protocol of a second network type, and when it is determined that the data is suitable for the first network type, the configuration attribute information of the network device is correspondingly modified according to the transmission protocol of the first network type, so that the data can be transmitted through the first network type, the gateway IP address is correspondingly modified into the gateway IP address of the first network type according to the target IP address, and the corresponding subnet mask and DNS information are modified at the same time, so that the data can be transmitted through the gateway IP address of the first network type and sent to other terminal devices in the first network type.
In some embodiments, the information processing method further includes: and if the terminal equipment receiving the data is connected with the network equipment through the first network type, modifying the transmission rule of the data in a link layer so as to send the data to the terminal equipment. In the application, the first terminal preferentially uses the network of the second network type to transmit data, and at this time, the transmission rule in the link layer of the network device is matched with the second network type. Specifically, when the first terminal sends the data through the network device, the corresponding terminal device that receives the data may be determined according to the destination IP address that receives the data. In one specific implementation manner, when the terminal device is another terminal device in the first network type, for example, a second terminal, at this time, the second terminal is connected to the network device through the first network type. In order to transmit the data to the second terminal in the first network type, the network device modifies the transmission rule of the link layer accordingly to match the first network type, so that the data can be transmitted to the second terminal through the link layer.
During the transmission process of the link layer, it needs to search to determine the next hop device for data transmission. In some embodiments, the rule for transmitting the data at the link layer at least comprises: the routing type, prefix, priority, and according to the transmission rule, the network device may determine the next hop device accordingly. For example, when the network device transmits the data to the second terminal device in the first network type, the network device needs to select a corresponding route type based on the first network type, match a corresponding route prefix according to the IP address of the second terminal device, and adjust the priority of the corresponding route, so as to send the data through the corresponding route preferentially. Therefore, when the network equipment transmits data, the data can be sent to the next hop equipment in the first network type through the corresponding route, and finally the data is sent to the second terminal equipment in the first network type.
In some embodiments, the information processing method further includes: and dynamically setting the IP network segment, the subnet mask and the routing rule related to the first network type through broadcast updating. In this embodiment, after the terminal device in the first network type updates the relevant parameter information through dynamic configuration, the updated information such as the IP network segment, the subnet mask, and the routing rule may be notified through the broadcast packet, so that other terminal devices may update the corresponding information table in time, and thus, when transmitting data, the data may be transmitted through the updated IP network segment or IP address, subnet mask, and routing rule. In another specific implementation manner, for example, when there is a fourth terminal device accessing the first network type, the relevant parameters may be configured in real time through a dynamic configuration protocol, including: and after configuration, the information such as the IP network segment, the subnet mask, the routing rule and the like is updated to the information tables of other terminal equipment through broadcasting, and at the moment, the information table of the first terminal can also be updated correspondingly. Therefore, the first terminal can transmit data to the fourth terminal device based on the information such as the IP network segment or the IP address, the subnet mask, and the routing rule in the information table.
In some embodiments, the information processing method further includes: and setting a state machine to send the reported information about the network type in real time. And when the networks of various types are accessed, the state machine is used for acquiring the real-time access state of the networks. In this embodiment, based on the obtained access states of the networks of the respective types, the state machine may report the access state to the first terminal in real time, or a specific application program in the first terminal.
In some specific embodiments, the display status of each network type, and the icon and the prompt corresponding to the status may be set by the state machine. For example, when the network device performs data transmission via the second network type, the state machine may set a state that shows that the second network type is connected, may simultaneously display an icon of the second network type, and may set a prompt that data transmission via the second network type is being performed. When the network device is switched to perform data transmission through the first network type, the state machine can be used for correspondingly adjusting, setting and displaying the connected state of the first network type, and simultaneously displaying the icon of the first network type and the prompt words such as data transmission through the first network type.
In some embodiments, the first network type is ethernet and the second network type is WIFI. In a specific implementation manner, the configuration attribute information of the network device of the first terminal is configured based on a transmission protocol of WIFI. According to the configuration attribute information, the network equipment can perform data transmission through the WIFI network. The first terminal sends data through the network equipment, and judges the network type suitable for the data according to the destination IP address of the data to be sent. For example, when the destination IP address is 192.168.0.10 and matches one IP address in the preset IP address white list of the first network type, it may be determined that the data is suitable for the first network type to be transmitted. When the data is suitable for being sent by the first network attack element, configuration attribute information of the network device is correspondingly modified based on a transmission protocol of the first network type, for example, a gateway IP address, a subnet mask, DNS information and the like are correspondingly modified, so that the data is transmitted through the first network type. When the data is transmitted to the link layer, the next hop device cannot be determined by the transmission rule corresponding to the second network type, and the transmission rule of the link layer, such as parameter information of the routing type, the prefix, the priority and the like, needs to be modified based on the first network type. After modifying the parameter information, the network device can select a route type corresponding to the first network type, match a corresponding route prefix according to the IP address of the terminal device receiving the data, and adjust the priority of the corresponding route so as to send the data through the corresponding route preferentially. In this way, the network device can preferentially select a corresponding route, send the data to the next hop device in the first network type, and finally send the data to the terminal device in the first network type.
Based on the same inventive concept, an embodiment of the present application further provides an information processing apparatus, as shown in fig. 3, the information processing apparatus including:
an obtaining module 10 configured to obtain data to be sent;
a judging module 20, configured to judge a network type suitable for sending the data according to a destination IP address of the received data;
the sending module 30 is configured to, if it is determined that the data is applicable to the first network type, send the data after modifying the configuration attribute information of the network device based on a transmission protocol of the first network type.
The information processing apparatus in the embodiment of the present application can implement the information processing method mentioned in any embodiment of the present application through its configured functional module.
The embodiment of the present application further provides an electronic device, which at least includes a memory 901, a processor 902, and a bus (not shown), where a schematic structural diagram of the electronic device may be as shown in fig. 4, the memory 901 stores machine-readable instructions executable by the processor 902, when the electronic device runs, the processor 902 and the memory 901 communicate through the bus, and the machine-readable instructions, when executed by the processor, perform the steps of the information processing method provided in any embodiment of the present application.
Since the electronic device described in the embodiment of the present application is an electronic device provided with a memory for implementing the information processing method disclosed in the embodiment of the present application, based on the information processing method described in the embodiment of the present application, a person skilled in the art can understand the structure and the modification of the electronic device described in the embodiment of the present application, and thus details are not described here.
The embodiments of the present application further provide a storage medium carrying one or more programs which, when executed by a processor, implement the steps of the information processing method provided in any of the embodiments of the present application.
The storage medium in the present embodiment may be one contained in an electronic device/system; or may exist alone without being assembled into an electronic device/system. The storage medium carries one or more programs which, when executed, implement the steps of the information processing method provided according to the embodiment of the present application.
According to embodiments of the present application, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. Optionally, the specific examples in this embodiment may refer to examples described in any embodiment of this application, and this embodiment is not described herein again. It will be apparent to those skilled in the art that the modules or steps of the present application described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present application is not limited to any specific combination of hardware and software.
Moreover, although exemplary embodiments have been described herein, the scope thereof includes any and all embodiments based on the present application with equivalent elements, modifications, omissions, combinations (e.g., of various embodiments across), adaptations or alterations. The elements of the claims are to be interpreted broadly based on the language employed in the claims and not limited to examples described in the present specification or during the prosecution of the application, which examples are to be construed as non-exclusive. It is intended, therefore, that the specification and examples be considered as exemplary only, with a true scope and spirit being indicated by the following claims and their full scope of equivalents.
The above description is intended to be illustrative and not restrictive. For example, the above-described examples (or one or more versions thereof) may be used in combination with each other. For example, other embodiments may be used by those of ordinary skill in the art upon reading the above description. In addition, in the above detailed description, various features may be grouped together to streamline the application. This should not be interpreted as an intention that a disclosed feature not claimed is essential to any claim. Rather, subject matter of the present application can lie in less than all features of a particular disclosed embodiment. Thus, the following claims are hereby incorporated into the detailed description as examples or embodiments, with each claim standing on its own as a separate embodiment, and it is contemplated that these embodiments may be combined with each other in various combinations or permutations. The scope of the application should be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
The embodiments of the present application have been described in detail, but the present application is not limited to these specific embodiments, and those skilled in the art can make various modifications and modified embodiments based on the concept of the present application, and these modifications and modified embodiments should fall within the scope of the present application.

Claims (10)

1. An information processing method applied to a network device, wherein configuration attribute information of the network device is set based on a second network type transmission protocol, the method comprises the following steps:
acquiring data to be sent;
judging the network type suitable for sending the data according to the destination IP address of the received data;
and if the data is determined to be suitable for the first network type, modifying the configuration attribute information of the network equipment based on the transmission protocol of the first network type and then sending the data.
2. The method of claim 1, wherein the determining a network type suitable for transmitting the data according to a destination IP address of the received data comprises:
and if the destination IP address is suitable for the first network type, judging that the data is suitable for the first network type.
3. The method of claim 1, wherein the configuration attribute information of the network device comprises at least: gateway, subnet mask and DNS;
the modifying the configuration attribute information of the network device based on the transmission protocol of the first network type includes:
and correspondingly modifying the gateway, the subnet mask and the DNS according to the destination IP address.
4. The method of claim 1, further comprising:
and if the terminal equipment receiving the data is connected with the network equipment through the first network type, modifying the transmission rule of the data in a link layer so as to send the data to the terminal equipment.
5. The method of claim 4, wherein the transmission rule of the data at the link layer at least comprises:
route type, prefix, priority.
6. The method of claim 1, further comprising: and dynamically setting the IP network segment, the subnet mask and the routing rule related to the first network type through broadcast updating.
7. The method of claim 1, further comprising: and setting a state machine to send the reported information about the network type in real time.
8. The method of claim 7, wherein the display status of each network type, and icons and prompts for corresponding status are set by the state machine.
9. The method of any of claims 1-8, wherein the first network type is an ethernet network and the second network type is a WIFI network.
10. An information processing apparatus, comprising:
the acquisition module is configured to acquire data to be transmitted;
the judging module is configured to judge the network type suitable for sending the data according to the destination IP address of the received data;
and the sending module is configured to send the data after modifying the configuration attribute information of the network equipment based on a transmission protocol of the first network type if the data is determined to be suitable for the first network type.
CN202110346112.2A 2021-03-31 2021-03-31 Information processing method and device Pending CN113068206A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110346112.2A CN113068206A (en) 2021-03-31 2021-03-31 Information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110346112.2A CN113068206A (en) 2021-03-31 2021-03-31 Information processing method and device

Publications (1)

Publication Number Publication Date
CN113068206A true CN113068206A (en) 2021-07-02

Family

ID=76565131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110346112.2A Pending CN113068206A (en) 2021-03-31 2021-03-31 Information processing method and device

Country Status (1)

Country Link
CN (1) CN113068206A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729388A (en) * 2008-10-22 2010-06-09 华为技术有限公司 Method, media gateway and network system for realizing network address conversion
US20200007423A1 (en) * 2018-06-29 2020-01-02 Wipro Limited Method and system for analyzing protocol message sequence communicated over a network
CN110875896A (en) * 2018-08-29 2020-03-10 阿里巴巴集团控股有限公司 Message processing method and device and electronic equipment
CN111327672A (en) * 2019-12-18 2020-06-23 珠海奔图电子有限公司 Data transmission control method, control device and mobile terminal
CN111934970A (en) * 2020-08-06 2020-11-13 北京字节跳动网络技术有限公司 Data transmission method, device and system
CN112333028A (en) * 2020-11-20 2021-02-05 南京创维信息技术研究院有限公司 Dynamic processing method, device, terminal and medium for multi-network coexistence

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729388A (en) * 2008-10-22 2010-06-09 华为技术有限公司 Method, media gateway and network system for realizing network address conversion
US20200007423A1 (en) * 2018-06-29 2020-01-02 Wipro Limited Method and system for analyzing protocol message sequence communicated over a network
CN110875896A (en) * 2018-08-29 2020-03-10 阿里巴巴集团控股有限公司 Message processing method and device and electronic equipment
CN111327672A (en) * 2019-12-18 2020-06-23 珠海奔图电子有限公司 Data transmission control method, control device and mobile terminal
CN111934970A (en) * 2020-08-06 2020-11-13 北京字节跳动网络技术有限公司 Data transmission method, device and system
CN112333028A (en) * 2020-11-20 2021-02-05 南京创维信息技术研究院有限公司 Dynamic processing method, device, terminal and medium for multi-network coexistence

Similar Documents

Publication Publication Date Title
CN103581299B (en) Service scheduling method, apparatus and system
CN111460460B (en) Task access method, device, proxy server and machine-readable storage medium
US6424654B1 (en) Network system and DHCP server selection method
CN103108089B (en) Connection establishment management method of network system and related system thereof
CN104219127A (en) Creation method and device of virtual network instance
CN109156046B (en) Home gateway and method for forwarding service thereof
CN105323173A (en) Network rule entry setting method and device
CN113595897B (en) Path detection method and device
CN106412680B (en) Multi-screen control method and device
CN110198229B (en) Network configuration method and device, storage medium and electronic device
CN111327531B (en) VDC-based routing configuration method, device, equipment and readable storage medium
CN112333017B (en) Service configuration method, device, equipment and storage medium
CN109547350B (en) Route learning method and gateway equipment
CN106507414B (en) Message forwarding method and device
US10075354B2 (en) Identification of servers by common wide area network addresses
CN111245918A (en) Service request transmission method and device
CN112953833B (en) Method, system and gateway equipment for realizing three-layer route forwarding based on network bridge
US8456671B2 (en) Communication system, information storage device, management device, and terminal device
CN113068206A (en) Information processing method and device
CN115174310B (en) PDN dialing and configuration method, system, device, equipment and storage medium
CN107682271B (en) Method and device for generating routing line
CN105721314A (en) Method and equipment for sending data packet
CN106470252B (en) The method and communication terminal of application program inquiry IP address
CN105306353A (en) Method, equipment and system for forwarding message
CN104410572B (en) The route table generating method and device of a kind of digital reception device

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