Embodiment
For making the purpose of this utility model, technical scheme and advantage clearer, the utility model execution mode is described in further detail below in conjunction with accompanying drawing.
Embodiment 1
Referring to Fig. 1, in order to solve the problem of network card equipment batch upgrade, realization reduces cost, improve the efficient of a plurality of network card equipment upgradings, present embodiment provides a kind of system of network card equipment upgrading, Fig. 1 is the structural representation of described system, and described system comprises: the network card equipment that links to each other with terminal equipment, wherein said network card equipment are a plurality of;
Described network card equipment is after joining same multicast group or broadcasting group with described terminal equipment; Receive multicast message or broadcasting packet that described terminal equipment sends, the upgrade file that needs when carrying the network card equipment upgrading in described multicast message or the broadcasting packet; Resolve the described upgrade file that carries in described multicast message or the broadcasting packet, and according to described upgrade file upgrading.
Wherein, described multicast message comprises the address information of being specified the network card equipment that receives this multicast message by described terminal equipment, and the network card equipment of described designated receiving group message and described terminal equipment are in same multicast group; Described IP address allocated belongs to same multicast group or belongs to same broadcasting group.
The system of the network card equipment upgrading that present embodiment provides, be connected to terminal equipment by a plurality of network card equipments, and the message that carries upgrade file that sends of the mode receiving terminal apparatus by multicast or broadcasting, the upgrade file in the analytic message, and the operation upgrade file, finish upgrading.Realized a plurality of network card equipments are upgraded, solved the problem of network card equipment batch upgrade, not only improved the efficient of a plurality of network card equipment upgradings, also reduced upgrade cost.
Embodiment 2
Present embodiment provides a kind of system of network card equipment upgrading, present embodiment is PC with the terminal equipment, network card equipment is that USB Dongle class network card equipment is an example, described system sends multicast message by the multicast mode to a plurality of network card equipments, a plurality of network card equipment receiving group messages are also set up upgrade file, finish upgrading, particular content sees for details as follows:
Referring to Fig. 2, the network card equipment upgrading model that Fig. 2 provides for present embodiment, as upgrade shown in the model, the utility model embodiment is an example with USB Dongle network card equipment, realize the network card equipment upgrading of one-to-many, need to use dynamic host configuration protocol DHCP (Dynamic Host Configuration Protocol), by DHCP is each network card equipment distributing IP address, because of the Dongle of USB shown in the model is a kind of equipment that the broadband wireless communications function is provided, so the reception and the emission of the physical layer specific implementation radio signal in the model; And LAN protocol can allow a plurality of network card equipments directly to link up with suitable transmission rate; Utilization transmission control protocol or user datagram protocol realize the network card equipment upgrading by software programming.
Referring to Fig. 3, the network card equipment upgrading flow chart that Fig. 3 provides for present embodiment when this network card equipment is realized upgrading, integratedly on network card equipment is in advance accepted upgrade file by the multicast mode, realize the multicast upgrading program of upgrade function, operation network card equipment ROMPaq on the terminal equipment; Escalation process comprises:
301: a plurality of USB Dongle network card equipments are connected on the PC by USB HUB (hub) cascade, and start.
Simulate a plurality of network card equipment icons on the PC this moment; Present embodiment is that example describes with 3 network card equipments, is respectively network interface card 1, network interface card 2 and network interface card 3.
302: the network card equipment that is connected on the PC enters upgrade mode by triggering, the last operation of PC network card equipment ROMPaq, integrated DHCP Server function in this network card equipment ROMPaq, and has an adding multicast group, send the function of multicast message, PC is by network card equipment ROMPaq each network card equipment distributing IP address for connecting.
Wherein, the triggering mode that network card equipment enters upgrade mode can have multiple, for example: at the interface except the icon that shows each network card equipment, can also be in the interface button of configure trigger upgrading, by clicking the selected network card equipment that will upgrade of this button, thereby realize triggering network card equipment and enter upgrade mode, the utility model embodiment does not do concrete the qualification to triggering mode.
Because of integrated DHCP Server function in the network card equipment ROMPaq, can distribute an interim IP address for each network card equipment of simulating out, each IP address of distributing all belongs to same multicast group, and guarantee to distribute to the IP address difference of each network card equipment, this IP address and network card equipment itself safeguard the IP address, and the IP address of PC belongs to the same network segment, so that PC can discern each network card equipment, guarantee that each network card equipment and terminal equipment can add same multicast group; In the present embodiment, if the IP address of the PC that is connected with network card equipment is 192.168.1.6, think that network interface card 1 IP address allocated is 192.168.1.1, for network interface card 2 IP address allocated are 192.168.1.2, for network interface card 3 IP address allocated are that 192.168.1.3 is that example describes.
303: each network card equipment all adds specific multicast group.
Because of each network card equipment integrated in advance can accept upgrade file by the multicast mode, realize the multicast upgrading program of upgrade function, so each network card equipment can add specific multicast group.
Present embodiment all adds multicast group A with 3 network card equipments, and the address of multicast group A is that 224.0.1.1 is an example, will form a multicast member table like this, referring to table 1:
Table 1
User name |
The IP address |
Affiliated multicast group |
Network interface card 1 |
192.168.1.1 |
A |
Network interface card 2 |
192.168.1.2 |
A |
Network interface card 3 |
192.168.1.3 |
A |
Multicast member table as shown in table 1 has member's network interface card 1, network interface card 2 and network interface card 3 among the multicast group A.
304: because of the network card equipment ROMPaq among the PC has the function that adds multicast group, PC is by adding the multicast group at network card equipment place, to the network card equipment transmission multicast message of appointment, the upgrade file that needs when carrying the network card equipment upgrading in the multicast message.
All network card equipments and PC join specific multicast group A, so PC can pass through multicast protocol, network card equipment in same multicast group sends multicast message, PC is when sending multicast message, can specify the network card equipment that receives this multicast message, comprise the address information of network card equipment of designated receiving group message and network card equipment required upgrade file when upgrading in the multicast message; Wherein, want in a real network, to realize the forwarding of multicast packet, must move the multicast routing protocol of interoperable on each interconnect equipment, multicast routing protocol can be divided into: igmpinternet, dense mode agreement, sparse mode protocol and link-state protocol; The multicast user, promptly each network card equipment adds multicast group by IGMP (Internet Group ManagementProtocol, igmpinternet).In the present embodiment, PC detects network interface card 1, network interface card 2 and network interface card 3, respectively each network interface card is sent multicast message, do not limit multicast routing protocol particularly, multicast packet is the temporary ip address that each network card equipment of simulating out distributes by DHCP server, is sent to all members of multicast group.Because be form transmission data by multicast, so only need duplicate a identical packet, not only improved data-transmission efficiency, also reduce network and congested possibility occurred, thereby improved upgrading efficient.
305: each network card equipment receiving group message, resolve the upgrade file in the multicast message, and move this upgrade file, finish upgrading.
Each network card equipment can detect the multicast message that PC sends over, receive this multicast message after, multicast message is resolved, parse required upgrade file of when upgrading, and move this upgrade file, thereby finish upgrading.
The system of the network card equipment upgrading that present embodiment provides, accept upgrade file by integrated on network card equipment in advance by the multicast mode, realize the multicast upgrading program of upgrade function, and on PC, use integrated DHCPserver function, and has an adding multicast group, send the network card equipment ROMPaq of multicast message function, on hardware, pass through USB HUB cascade, a PC connects many USB Dongle kind equipments, each USB Dongle series products is accepted multicast packets, set up upgrade file, realize software upgrading product.
Above system is in the network card equipment escalation process, not only can send upgrade file to a plurality of network card equipments by the multicast mode, can also adopt the mode of broadcasting, realization is to the upgrading of a plurality of network card equipments, under the situation of broadcasting, PC all belongs to same broadcasting group for each network card equipment IP address allocated, to guarantee that each network card equipment can add same broadcasting group with PC, PC is when sending broadcasting packet, by Radio Broadcasting Agreements, the member of each broadcasting group can both receive the broadcasting packet that PC sends, thereby further realizes the upgrading to a plurality of network card equipments, process is similar, repeats no more.
Present embodiment is cascaded to PC by a plurality of network card equipments and starts, and joins same multicast group with PC, receives the multicast message that PC sends, and the upgrade file in parsing and the operation multicast message is finished upgrading; Thereby realized upgrading, not only improved the efficient of a plurality of network card equipment upgradings, also solved the problem of network card equipment batch upgrade, reduced upgrade cost a plurality of network card equipments.
Embodiment 3
Referring to Fig. 4, present embodiment provides a kind of system of network card equipment upgrading, and this system comprises:
Network card equipment 401 and terminal equipment 402; Network card equipment 401 is a plurality of, integrated DHCP Server function in the terminal equipment 402;
Network card equipment 401 comprises:
Link block is connected to terminal equipment and startup;
Add module, link to each other with link block, after being connected to terminal equipment, terminal equipment adds same multicast group or broadcasting group;
Receiver module links to each other with the adding module, after joining same multicast group or broadcasting group with terminal equipment, and multicast message or broadcasting packet that receiving terminal apparatus sends, the upgrade file that needs when carrying the network card equipment upgrading in multicast message or the broadcasting packet;
Parsing module links to each other with receiver module, resolves the upgrade file in multicast message or the broadcasting packet;
The upgrading module links to each other with parsing module, is used for the upgrade file upgrading that parses according to parsing module;
Terminal equipment 402 comprises:
Link block is connected with network card equipment;
Add module, link to each other, after being connected to network card equipment, join same multicast group or broadcasting group with network card equipment with link block;
Sending module, link to each other with the adding module, after adding same multicast group or broadcasting group with network card equipment, send multicast message or broadcasting packet to network card equipment, make network card equipment according to the upgrading of the upgrade file in multicast message or the broadcasting packet, the upgrade file that needs when carrying the network card equipment upgrading in multicast message or the broadcasting packet.
Terminal equipment 402 also comprises:
Distribution module, link to each other with the link block of terminal equipment, integrated Dynamic Host Configuration Protocol server DHCPServer function, enable DHCP Server function, be each the network card equipment distributing IP address that connects, IP address and network card equipment safeguard the IP address, and terminal equipment IP address belongs to the same network segment, and all inequality.
The system that present embodiment provides, network card equipment is by being connected to terminal equipment and starting, multicast message or broadcasting packet that receiving terminal apparatus sends, upgrade file in the analytic message, and after moving this upgrade file, finish upgrading, thereby finished upgrading to a plurality of network card equipments, not only improve the efficient of a plurality of network card equipment upgradings, also solved the problem of network card equipment batch upgrade.
Embodiment 4
Referring to Fig. 5, present embodiment provides a kind of network card equipment, and this network card equipment comprises:
Link block 501 is connected to terminal equipment;
Add module 502, link to each other, after being connected to terminal equipment, join same multicast group or broadcasting group with terminal equipment with link block;
Receiver module 503 links to each other with the adding module, after joining same multicast group or broadcasting group with terminal equipment, and multicast message or broadcasting packet that receiving terminal apparatus sends, the upgrade file that needs when carrying the network card equipment upgrading in multicast message or the broadcasting packet;
Parsing module 504 links to each other with receiver module, resolves the upgrade file in multicast message or the broadcasting packet;
Upgrading module 505 links to each other with parsing module, upgrades according to the upgrade file that parsing module 504 parses.
The network card equipment that present embodiment provides, after being connected to terminal equipment, have with terminal equipment and add same multicast group or broadcasting group, and the function of receiving group message or broadcasting packet, parse the upgrade file in multicast message or the broadcasting packet, and move this upgrade file, finish upgrading, have the effect that realization is upgraded simultaneously to a plurality of network card equipments, not only improved the efficient of a plurality of network card equipment upgradings, also solved the problem of network card equipment batch upgrade.
Embodiment 5
Referring to Fig. 6, present embodiment provides a kind of terminal equipment, and this terminal equipment comprises:
Link block 601 is connected with network card equipment;
Add module 602, link to each other, after being connected to network card equipment, join same multicast group or broadcasting group with network card equipment with link block 601;
Sending module 603, link to each other with adding module 602, after joining same multicast group or broadcasting group with network card equipment, send multicast message or broadcasting packet to network card equipment, make network card equipment according to the upgrading of the upgrade file in multicast message or the broadcasting packet, the upgrade file that needs when carrying the network card equipment upgrading in multicast message or the broadcasting packet.
Wherein, sending module 603 sends to multicast message, comprises the address information of being specified the network card equipment that receives this multicast message by terminal equipment, and appointed network card equipment and terminal equipment are in same multicast group;
IP address allocated belongs to same multicast group or belongs to same broadcasting group.
Distribution module 604, link to each other with link block 601, integrated Dynamic Host Configuration Protocol server DHCPServer function, enable DHCP Server function, be each the network card equipment distributing IP address that connects, IP address and network card equipment safeguard the IP address, and terminal equipment IP address belongs to the same network segment, and all inequality.
Terminal equipment in the present embodiment is by being connected and adding same multicast group or broadcasting group with network card equipment, send multicast message or broadcasting packet to network card equipment, for network card equipment provides upgrade file, thereby realize that a plurality of network card equipments upgrade simultaneously, not only improve the efficient of a plurality of network card equipment upgradings, also solved the problem of network card equipment batch upgrade.
Above-mentioned the utility model embodiment is only with at WiMAX (World Interoperability ForMicrowave Access, World Interoperability for Microwave Access, WiMax) is applied as the explanation that example is carried out on the data card, similarly, the method that the utility model embodiment provides also is applicable to WCDMA (Wideband Code DivisionMultiple Access, WCDMA mobile communication system), TD-SCDMA (TimeDivision-Synchronous Code Division Multiple Access, the CDMA (Code Division Multiple Access) that time-division is synchronous), CDMA2000 (Code Division Multiple Access, code division multiple access).
All or part of content in the technical scheme that above embodiment provides can realize that its software program is stored in the storage medium that can read by software programming, storage medium for example: the hard disk in the computer, CD or floppy disk.
The above only is preferred embodiment of the present utility model, and is in order to restriction the utility model, not all within spirit of the present utility model and principle, any modification of being done, is equal to replacement, improvement etc., all should be included within the protection range of the present utility model.