CN107872341A - Configure the method and device of gateway device - Google Patents
Configure the method and device of gateway device Download PDFInfo
- Publication number
- CN107872341A CN107872341A CN201610855728.1A CN201610855728A CN107872341A CN 107872341 A CN107872341 A CN 107872341A CN 201610855728 A CN201610855728 A CN 201610855728A CN 107872341 A CN107872341 A CN 107872341A
- Authority
- CN
- China
- Prior art keywords
- configuration
- direct
- gateway device
- phonetic order
- command information
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0806—Configuration setting for initial configuration or provisioning, e.g. plug-and-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
Abstract
The invention provides a kind of method and device for configuring gateway device, this method includes:Receive the phonetic order for being configured to gateway device;The configuration-direct for being configured to gateway device is sent to gateway device according to phonetic order.Be that the configuration to gateway device can be achieved according to phonetic order by the present invention, to solve configuration gateway device difficulty big, it is inconvenient for operation the problem of, and then facilitate the effect of gateway device configuration operation.
Description
Technical field
The present invention relates to the communications field, in particular to a kind of method and device for configuring gateway device.
Background technology
In actual life, can all there be a gateway device in general family, some configurations for setting router often occur, also
The page of opening router is needed, the respective items of corresponding page is found, could set.And for most people, family road
By this equipment of device, typically buying would not see that explanation is told a story, so the also page is not known substantially, when encountering problems
Specification can only be looked for or play customer service.Even if the router page can be opened by knowing, it is also desirable to gone after router shell on the back to look for and logged in
Password etc, the operation such as also such as shut down, restart are troublesome in poeration if router is not aside.
The method that prior art is realized at present is that mobile phone passes through WLAN (Wireless Local Area
Network, referred to as WLAN) the connection terminal landing WEBUI such as gtw gprses equipment, mobile phone interfaces, then find corresponding
The page after be configured, if shutdown directly go manually shutdown etc..Existing technical scheme is inconvenient.For example want to change
Wireless Fidelity (Wireless Fidelity, referred to as wifi) password, it is also necessary to which login page looks for the ground of modification wifi passwords
Side, or shutdown etc., again not at one's side, so increasing difficulty for user's operation, operation is also inconvenient for router.
In view of the above-mentioned problems, effective solution is not suggested that in correlation technique.
The content of the invention
The embodiments of the invention provide a kind of method and device for configuring gateway device, at least to solve to set in correlation technique
Put the problem of gateway device difficulty is big, inconvenient for operation.
According to one embodiment of present invention, there is provided a kind of method for configuring gateway device, including:Receive for institute
State the phonetic order that gateway device is configured;Sent according to the phonetic order to the gateway device for the gateway
Equipment carries out the configuration-direct of the configuration.
Alternatively, sent according to the phonetic order to the gateway device for matching somebody with somebody described in gateway device progress
The configuration-direct put includes:The phonetic order is converted into command information;Indicate that the voice refers to according to the command information
The indicated configuration of order;After confirmation instruction is received, the command information is packaged into the configuration-direct, wherein, it is described
Confirm that instruction is used to indicate that the configuration indicated by the phonetic order is errorless;The configuration-direct is sent into the gateway to set
It is standby.
Alternatively, the command information is packaged into the configuration-direct includes:By protocol stack by the command information
The configuration-direct is packaged into, wherein, the configuration-direct includes following information:Source network Protocol IP address, purpose IP address,
The command information.
Alternatively, before the configuration-direct is sent into the gateway device, in addition to:By LAN with it is described
Gateway device connects;The configuration-direct is sent into the gateway device includes:The configuration is referred to by the LAN
Order is sent to the gateway device.
According to another embodiment of the invention, a kind of method for configuring gateway device is also provided, including:Receiving terminal root
The configuration-direct sent according to phonetic order;The gateway device is configured according to the configuration-direct.
Alternatively, carrying out configuration to the gateway device according to the configuration-direct includes:According to predefined structure solution
The configuration-direct is analysed, wherein, the configuration-direct includes following information:Source network Protocol IP address, purpose IP address, instruction
Information;The gateway device is configured according to the command information.
Alternatively, parsing the configuration-direct includes:Determine to predefine structure corresponding to the configuration-direct;According to institute
State predefined structure and parse the configuration-direct.
Alternatively, before the configuration-direct that the terminal is sent according to the phonetic order is received, in addition to:It is logical
LAN is crossed to be connected with the terminal;Receiving the configuration-direct that the terminal is sent according to the phonetic order includes:It is logical
Cross the LAN and receive the configuration-direct that the terminal is sent according to the phonetic order.
According to another embodiment of the invention, a kind of device for configuring gateway device is also provided, including:First receives mould
Block, for receiving the phonetic order for being used for being configured to the gateway device;First sending module, for according to the voice
Instruct the configuration-direct sent to the gateway device for carrying out the configuration to the gateway device.
Alternatively, first sending module includes:Conversion unit, for the phonetic order to be converted into instruction letter
Breath;Indicating member, for the configuration according to indicated by the command information instruction phonetic order;Encapsulation unit, for
After receiving confirmation instruction, the command information is packaged into the configuration-direct, wherein, it is described to confirm that instruction is used to indicate institute
The configuration stated indicated by phonetic order is errorless;Transmitting element, for the configuration-direct to be sent into the gateway device.
Alternatively, the encapsulation unit includes:Subelement is encapsulated, for the command information being packaged into by protocol stack
The configuration-direct, wherein, the configuration-direct includes following information:Source network Protocol IP address, purpose IP address, the finger
Make information.
According to another embodiment of the invention, there is provided a kind of device for configuring gateway device, including:Second receives
Module, the configuration-direct sent for receiving terminal according to phonetic order;Configuration module, for according to the configuration-direct to institute
Gateway device is stated to be configured.
Alternatively, the configuration module includes:Resolution unit, refer to for parsing the configuration according to predefined structure
Order, wherein, the configuration-direct includes following information:Source network Protocol IP address, purpose IP address, command information;Configuration is single
Member, for being configured according to the command information to the gateway device.
According to still another embodiment of the invention, a kind of storage medium is additionally provided.The storage medium is arranged to storage and used
The program code of each step more than performing.
By the present invention, due to receiving the phonetic order for being used for being configured to gateway device;According to phonetic order to net
Pass equipment sends the configuration-direct for being configured to gateway device, therefore, can be achieved to set gateway according to phonetic order
Standby configuration, can solve the problems, such as that configuration gateway device difficulty is big, inconvenient for operation, reach and facilitate gateway device configuration operation
Effect.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair
Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the hardware block diagram of the mobile terminal of the method for the configuration gateway device of the embodiment of the present invention;
Fig. 2 is the flow chart (one) of configuration gateway device according to embodiments of the present invention;
Fig. 3 is the flow chart (two) of configuration gateway device according to embodiments of the present invention;
Fig. 4 is the conceptual scheme according to this specific embodiment;
Fig. 5 is the overall plan flow chart according to this specific embodiment;
Fig. 6 is the initialization module flow chart according to this specific embodiment;
Fig. 7 is the schematic diagram according to the sound identification module of this specific embodiment;
Fig. 8 is the schematic diagram according to the IP data packet formats of this specific embodiment;
Fig. 9 is the structured flowchart (one) of the device of configuration gateway device according to embodiments of the present invention;
Figure 10 is the structural frames of the first sending module 904 of the device of configuration gateway device according to embodiments of the present invention
Figure;
Figure 11 is the structured flowchart (two) of the device of configuration gateway device according to embodiments of the present invention;
Figure 12 is the structured flowchart of the configuration module 1104 of the device of configuration gateway device according to embodiments of the present invention.
Embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that do not conflicting
In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, "
Two " etc. be for distinguishing similar object, without for describing specific order or precedence.
The embodiment of the method that the embodiment of the present application one is provided can be in mobile terminal, terminal or similar fortune
Calculate and performed in device.Exemplified by running on mobile terminals, Fig. 1 is the shifting of the method for the configuration gateway device of the embodiment of the present invention
The hardware block diagram of dynamic terminal.As shown in figure 1, mobile terminal 10 can include one or more (one is only shown in Fig. 1)
(processor 102 can include but is not limited to Micro-processor MCV or PLD FPGA etc. processing dress to processor 102
Put), the memory 104 for data storage and the transmitting device 106 for communication function.Those of ordinary skill in the art
It is appreciated that the structure shown in Fig. 1 is only to illustrate, it does not cause to limit to the structure of above-mentioned electronic installation.It is for example, mobile whole
End 10 may also include more either less components than shown in Fig. 1 or have the configuration different from shown in Fig. 1.
Memory 104 can be used for the software program and module of storage application software, such as the gateway in the embodiment of the present invention
Programmed instruction/module corresponding to the method for device configuration, processor 102 are stored in the software journey in memory 104 by operation
Sequence and module, so as to perform various function application and data processing, that is, realize above-mentioned method.Memory 104 may include
High speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory or its
His non-volatile solid state memory.In some instances, memory 104 can further comprise remotely setting relative to processor 102
The memory put, these remote memories can pass through network connection to mobile terminal 10.The example of above-mentioned network is included but not
It is limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Transmitting device 106 is used to data are received or sent via a network.Above-mentioned network instantiation may include
The wireless network that the communication providerses of mobile terminal 10 provide.In an example, transmitting device 106 includes a Network adaptation
Device (Network Interface Controller, referred to as NIC), its can be connected by base station with other network equipments so as to
It can be communicated with internet.In an example, transmitting device 106 can be that radio frequency (Radio Frequency, is referred to as
RF) module, it is used to wirelessly be communicated with internet.
A kind of method for configuring gateway device is provided in the present embodiment, and Fig. 2 is configuration according to embodiments of the present invention
The flow chart (one) of gateway device, as shown in Fig. 2 the flow comprises the following steps:
Step S202, receive the phonetic order for being configured to above-mentioned gateway device;
Step S204, sent according to above-mentioned phonetic order to above-mentioned gateway device for above-mentioned to the progress of above-mentioned gateway device
The configuration-direct of configuration.
By above-mentioned steps, it is that the configuration to gateway device can be achieved according to phonetic order, solves gateway device configuration
Difficulty is big, it is inconvenient for operation the problem of, improve gateway device configuration operation convenience.
Alternatively, the executive agent of above-mentioned steps can be terminal (for example, mobile phone) etc., but not limited to this.
In an optional embodiment, sent according to above-mentioned phonetic order to above-mentioned gateway device for above-mentioned gateway
The configuration-direct that equipment carries out above-mentioned configuration includes:Above-mentioned phonetic order is converted into command information;According to above-mentioned command information
Indicate the configuration indicated by above-mentioned phonetic order;After confirmation instruction is received, above-mentioned command information is packaged into above-mentioned configuration
Instruction, wherein, above-mentioned confirmation is indicated for indicating that the configuration indicated by above-mentioned phonetic order is errorless;Above-mentioned configuration-direct is sent
To above-mentioned gateway device.In the present embodiment, terminal recognition phonetic order, phonetic order is converted into command information and deposited
Store up, the command information of storage is packaged into configuration-direct after confirmation instruction is received is sent to gateway device.
In an optional embodiment, above-mentioned command information is packaged into above-mentioned configuration-direct includes:Pass through protocol stack
Above-mentioned command information is packaged into above-mentioned configuration-direct, wherein, above-mentioned configuration-direct includes following information:Source network protocol IP
Location, purpose IP address, above-mentioned command information.In the present embodiment, phonetic order is parsed into command information by terminal, and can be by
Command information is packaged according to predetermined packaged type, command information is packaged into configuration-direct, wherein, the configuration-direct can
In the form of being IP packets.In the present embodiment, the source address of configuration-direct could be arranged to the IP address of above-mentioned terminal, mesh
Address could be arranged to the IP address of gateway device, and above-mentioned command information in filling is also needed in the configuration-direct,
So as to which source address, destination address, command information are packaged into IP packets.
In an optional embodiment, before above-mentioned configuration-direct is sent into above-mentioned gateway device, in addition to:It is logical
LAN is crossed to be connected with above-mentioned gateway device;Above-mentioned configuration-direct is sent into above-mentioned gateway device includes:Pass through above-mentioned local
Above-mentioned configuration-direct is sent to above-mentioned gateway device by net.In the present embodiment, terminal and gateway device may be constructed an office
Domain net, therefore, it can be communicated between terminal and gateway device by LAN.
The method for providing the configuration gateway device of another kind in the present embodiment, Fig. 3 is according to embodiments of the present invention
The flow chart (two) of gateway device is configured, as shown in figure 3, the flow comprises the following steps:
Step S302, the configuration-direct that receiving terminal is sent according to phonetic order;
Step S304, above-mentioned gateway device is configured according to above-mentioned configuration-direct.
By above-mentioned steps, the configuration signal sent by receiving terminal, can complete to set gateway according to configuration signal
Standby configuration, i.e., configuration to gateway device is completed according to phonetic order, it is big to solve gateway device configuration difficulty, operation not side
Just the problem of, the convenience of configuration gateway device operation is improved.
Alternatively, the executive agent of above-mentioned steps can be gateway device (for example, router) etc., but not limited to this.
In an optional embodiment, carrying out configuration to above-mentioned gateway device according to above-mentioned configuration-direct can include:
Above-mentioned configuration-direct is parsed according to predefined structure, wherein, above-mentioned configuration-direct includes following information:Source network protocol IP
Location, purpose IP address, command information;Above-mentioned gateway device is configured according to above-mentioned command information.In the present embodiment, net
Close equipment configuration-direct reach application layer after, according to predefined structure parse in configuration-direct command information (
Can be instruction field), the command process module command information parsed being sent in gateway device, command process module
Corresponding function Processing Interface can be called to handle and configure gateway device.
In an optional embodiment, parsing above-mentioned configuration-direct includes:Determine to make a reservation for corresponding to above-mentioned configuration-direct
Adopted structure;Above-mentioned configuration-direct is parsed according to above-mentioned predefined structure.
In an optional embodiment, in the above-mentioned configuration-direct that the above-mentioned terminal of reception is sent according to above-mentioned phonetic order
Before, in addition to:It is connected by LAN with above-mentioned terminal;Above-mentioned terminal is received according to what above-mentioned phonetic order was sent above-mentioned to be matched somebody with somebody
Putting instruction includes:The above-mentioned configuration-direct sent by the above-mentioned terminal of above-mentioned LAN reception according to above-mentioned phonetic order.At this
In embodiment, terminal and Network Management Equipment form LAN, communicated by LAN (such as the configuration sent by LAN
Instruction).
Below so that terminal is mobile phone as an example, the present invention will be described in conjunction with specific embodiments:
Specific embodiment 1:
Fig. 4 is the conceptual scheme according to this specific embodiment, as shown in figure 4, by being installed on mobile phone or intelligent terminal
Application program (Application, referred to as APP), mobile phone or other intelligent terminals form a LAN with intelligent gateway,
APP is installed on mobile phone or intelligent terminal (corresponding above-mentioned terminal), this APP mainly includes acoustic control module, command information processing module.
Wherein, acoustic control module mainly includes phonetic storage and sound identification module, and command information processing module includes package module and hair
Module is sent, phonetic order is parsed post package into customized IP packets, the source address of IP bags is filled out as oneself by package module
IP address, destination address is filled out into the IP address for intelligent gateway device, then issued IP bags by LAN by sending module
Intelligent gateway device.Intelligent gateway device is provided with receiving module and unpacks module, and command process module, intelligent gateway receive certainly
By unpacking after definition IP packets, user instruction part therein (corresponding above-mentioned command information) is parsed, inputs to instruction
Processing module, command process module call respective function interface handle and configure accordingly.Fig. 5 is according to this specific implementation
The overall plan flow chart of example, as shown in figure 5, this specific embodiment realizes that step is as follows:
Step 1:Developing intellectual resource acoustic control APP, binding gtw gprses (corresponding above-mentioned gateway device) address, for installing
On the mobile terminals such as mobile phone, intelligent terminal.
Step 2:The mobile terminals such as mobile phone install APP, and mobile terminal passes through WLAN connection gtw gprses equipment.In intelligence
Acoustic control APP mating interface, including receiving module are developed on energy gateway, unpacks module and command process module.
Step 3:User is sent by sound against the microphone on mobile phone and instructed.
Step 4:Acoustic control module receives voice messaging, and calls sound identification module to carry out speech recognition, parse user
Phonetic order, and instruction is passed to voice storage module.
Step 5:Voice storage module understands phonetic order, calls player to repeat to reply phonetic order, treats that user confirms
Instruct it is errorless after instruction passed into command information processing module.
Step 6:Command information processing module includes package module and sending module, after package module parses phonetic order
Customized IP packets are packaged into, insert corresponding IP address, are transmitted to sending module, IP bags are passed through LAN by sending module
Issue intelligent gateway device.
Step 7:Exploitation sends the corresponding interface of command information processing to acoustic control APP on intelligent gateway, main to include connecing
Module is received, unpacks module and command process module.
Step 8:Intelligent gateway is received after self-defined IP packets by unpacking, and plucks out user instruction part therein, defeated
Enter to command process module, command process module can call corresponding function Processing Interface, handle and configure accordingly.
The scheme of the present embodiment is simple and practical, it is often more important that can be user-friendly.
Specific embodiment 2:
Gateway device, a kind of intelligent gateway acoustic control based on LAN proposed in the present embodiment are operated in order to facilitate user
Collocation method and system, including initialization module, the configuration module of mobile terminal, acoustic control module, command information processing module, intelligence
Receiving module, unpacking and command process module on energy gateway device.
Fig. 6 is the initialization module flow chart according to this specific embodiment, as shown in fig. 6, the master that initialization module is related to
Content is wanted to be mounted in the exploitation that mobile phone steps on the APP of mobile terminal, this APP can be adapted to current main-stream Android system (can also
Be adapted to other operating systems) mobile terminal.Test checking after upload to specify website (or perhaps specify official clothes
Be engaged in device) on for user download installation.
The download and installation of to the effect that completing APP of mobile terminal configuration module.Download and pay from official website
Software emulation APP, attaches it to mobile terminal.
Fig. 7 is according to the schematic diagram of the sound identification module of this specific embodiment, as shown in fig. 7, acoustic control module is mainly wrapped
Containing phonetic storage and sound identification module, sound identification module (can pass through microphone for identifying, receiving user speech instruction
Identification receives user speech instruction), and instruction is passed to voice storage module;Voice storage module understands phonetic order, will
Phonetic order is converted into the recognizable command information of equipment, and repeats back to multiple phonetic order and (can repeat playing language by loudspeaker
Sound instructs), confirm to pass to command information processing module after instruction is errorless;Command information processing module includes package module and hair
Module is sent, phonetic order is parsed post package into customized IP packets, is transmitted to sending module, sending module by package module
IP packets are issued into intelligent gateway device by LAN.
Receiving module on intelligent gateway, the main self-defined IP bags completed receiving terminal apparatus and sent by LAN,
IP data packet formats represent user speech instruction transitional information as shown in figure 8, wherein carrying data (corresponding above-mentioned command information) only.
Unpacking module is sent it to after customized IP packets are received.
It is after receiving the IP packets that receiving module forwards, to parse user instruction therein to unpack module main task
Part, the instruction parsed is then sent to command process module.
After command process module receives instruction, corresponding function Processing Interface can be called, handle and configure accordingly.
It is as follows to implement step:
Step 1:User instructs to the mobile phone transmission voice for being provided with above APP, please by the gateway IP of intelligent gateway device
It is arranged to 192.168.X.X;
Step 2:Sound identification module identification, after receiving user speech instruction, and instruction is passed to phonetic storage mould
Block;Voice storage module understands phonetic order, and repeats back to multiple phonetic order, confirms to pass at command information after instruction is errorless
Manage module;
Step 3:Command information processing module includes package module and sending module, and package module parses phonetic order
Afterwards, customized IP packets are packaged into by protocol stack, defined with such as figure 8 above form, x.x.x.x is that source IP address is mobile phone
IP address, target ip address 192.168.0.1, i.e. intelligent gateway IP address, wherein only carry data division be exactly basis
Sending module is transmitted to after IP agreement definition.
Step 4:IP packets are issued intelligent gateway device by sending module by LAN.
Step 5:After receiving module in intelligent gateway device receives customized IP packets, intelligent gateway can first remove IP
Protocol header, transport layer is then passed along, transport layer removes the protocol header of transport layer and is transferred to application layer, reaches application
After layer, according to pre-defined structure, user instruction field is found, and take out.
Step 6:Corresponding function Processing Interface is called, handle and configure accordingly.For example, acoustic control configures intelligent network
The gateway address of equipment is closed, function eventually calls system (" ifconfig br0 by calling layer by layer
192.168.0.1”)。
By the present embodiment, acoustic control operation home gateway is more easily, simply.
Additionally provide in the present embodiment it is a kind of configure gateway device device, the device be used for realize above-described embodiment and
Preferred embodiment, repeating no more for explanation was carried out.As used below, term " module " can realize predetermined work(
The combination of the software and/or hardware of energy.Although device described by following examples is preferably realized with software, firmly
Part, or the realization of the combination of software and hardware is also what may and be contemplated.
Fig. 9 is the structured flowchart (one) of the device of configuration gateway device according to embodiments of the present invention, as shown in figure 9, should
Device can include:First receiving module 902 (corresponding above-mentioned acoustic control module) and (the corresponding above-mentioned transmission of the first sending module 904
Module), the device is illustrated below:
First receiving module 902, for receiving the phonetic order for being used for being configured to above-mentioned gateway device;First sends
Module 904, above-mentioned first receiving module 902 is connected to, is used for for being sent according to above-mentioned phonetic order to above-mentioned gateway device
The configuration-direct of above-mentioned configuration is carried out to above-mentioned gateway device.
Figure 10 is the structural frames of the first sending module 904 of the device of configuration gateway device according to embodiments of the present invention
Figure, as shown in Figure 10, first sending module 904 includes:Conversion unit 1002 (voice storage module in correspondence), indicating member
1004th, encapsulation unit 1006 (corresponding above-mentioned package module), transmitting element 1008, say to the first sending module 904 below
It is bright:
Conversion unit 1002, for above-mentioned phonetic order to be converted into command information;Indicating member 1004, it is connected to above-mentioned
Conversion unit 1002, for the configuration according to indicated by the above-mentioned phonetic order of above-mentioned command information instruction;Encapsulation unit 1006, even
Above-mentioned indicating member 1004 is connected to, for after confirmation instruction is received, above-mentioned command information to be packaged into above-mentioned configuration-direct,
Wherein, above-mentioned confirmation is indicated for indicating that the configuration indicated by above-mentioned phonetic order is errorless;Transmitting element 1008, it is connected to above-mentioned
Encapsulation unit 1006, for above-mentioned configuration-direct to be sent into above-mentioned gateway device.
In an optional embodiment, above-mentioned encapsulation unit can include:Subelement is encapsulated, for being incited somebody to action by protocol stack
Above-mentioned command information is packaged into above-mentioned configuration-direct, wherein, above-mentioned configuration-direct includes following information:Source network protocol IP
Location, purpose IP address, above-mentioned command information.
In an optional embodiment, before above-mentioned configuration-direct is sent into above-mentioned gateway device, it can also wrap
Include:It is connected by LAN with above-mentioned gateway device;Above-mentioned transmitting element 1008 in the following manner will be by above-mentioned configuration-direct
It is sent to above-mentioned gateway device:Above-mentioned configuration-direct is sent to by above-mentioned gateway device by above-mentioned LAN.
Figure 11 is the structured flowchart (two) of the device of configuration gateway device according to embodiments of the present invention, as shown in figure 11,
The device can include:Second receiving module 1102 (corresponding above-mentioned receiving module) and (the corresponding above-mentioned instruction of configuration module 1104
Processing module), the device is illustrated below:
Second receiving module 1102, the configuration-direct sent for receiving terminal according to phonetic order;Configuration module 1104,
Above-mentioned second receiving module 1102 is connected to, for being configured according to above-mentioned configuration-direct to above-mentioned gateway device.
Figure 12 is the structured flowchart of the configuration module 1104 of the device of configuration gateway device according to embodiments of the present invention, such as
Shown in Figure 12, the configuration module 1104 can include:Resolution unit 1202 (corresponding above-mentioned unpacking module) and dispensing unit 1204,
Configuration module 1104 is illustrated below:
Resolution unit 1202, for parsing above-mentioned configuration-direct according to predefined structure, wherein, above-mentioned configuration-direct can
With including following information:Source network Protocol IP address, purpose IP address, command information;Dispensing unit 1204, it is connected to above-mentioned solution
Unit 1202 is analysed, for being configured according to above-mentioned command information to above-mentioned gateway device.
In an optional embodiment, above-mentioned resolution unit parses above-mentioned configuration-direct in the following manner:On it is determined that
State and structure is predefined corresponding to configuration-direct;Above-mentioned configuration-direct is parsed according to above-mentioned predefined structure.
In an optional embodiment, in the above-mentioned configuration-direct that the above-mentioned terminal of reception is sent according to above-mentioned phonetic order
Before, can also include:It is connected by LAN with above-mentioned terminal;
Second receiving module 1102 receives above-mentioned terminal and above-mentioned matched somebody with somebody according to what above-mentioned phonetic order was sent in the following manner
Put instruction:The above-mentioned configuration-direct sent by the above-mentioned terminal of above-mentioned LAN reception according to above-mentioned phonetic order.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but a lot
In the case of the former be more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to existing
The part that technology contributes can be embodied in the form of software product, and the computer software product is stored in a storage
In medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, calculate
Machine, server, or network equipment etc.) perform method described in each embodiment of the present invention.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong
Cross in the following manner realization, but not limited to this:Above-mentioned module is respectively positioned in same processor;Or above-mentioned modules are with any
The form of combination is located in different processors respectively.
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can
The program code for performing each step above to be arranged to storage to be used for.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only storage (Read-
Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard
Disk, magnetic disc or CD etc. are various can be with the medium of store program codes.
Alternatively, in the present embodiment, processor performs each step above according to the program code stored in storage medium
Suddenly.
Alternatively, the specific example in the present embodiment may be referred to described in above-described embodiment and optional embodiment
Example, the present embodiment will not be repeated here.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general
Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and formed
Network on, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to they are stored
Performed in the storage device by computing device, and in some cases, can be with different from shown in order execution herein
The step of going out or describing, they are either fabricated to each integrated circuit modules respectively or by multiple modules in them or
Step is fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific hardware and software combination.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.
Claims (13)
- A kind of 1. method for configuring gateway device, it is characterised in that including:Receive the phonetic order for being configured to the gateway device;The configuration sent according to the phonetic order to the gateway device for carrying out the configuration to the gateway device refers to Order.
- 2. according to the method for claim 1, it is characterised in that sent and used to the gateway device according to the phonetic order Include in the configuration-direct that the configuration is carried out to the gateway device:The phonetic order is converted into command information;Configuration according to indicated by the command information indicates the phonetic order;After confirmation instruction is received, the command information is packaged into the configuration-direct, wherein, the confirmation instruction is used for Indicate that the configuration indicated by the phonetic order is errorless;The configuration-direct is sent to the gateway device.
- 3. according to the method for claim 2, it is characterised in that the command information is packaged into the configuration-direct bag Include:The command information is packaged into by the configuration-direct by protocol stack, wherein, the configuration-direct includes following information: Source network Protocol IP address, purpose IP address, the command information.
- 4. according to the method for claim 2, it is characterised in thatBefore the configuration-direct is sent into the gateway device, in addition to:Connected by LAN and the gateway device Connect;The configuration-direct is sent into the gateway device includes:The configuration-direct is sent to by institute by the LAN State gateway device.
- A kind of 5. method for configuring gateway device, it is characterised in that including:The configuration-direct that receiving terminal is sent according to phonetic order;The gateway device is configured according to the configuration-direct.
- 6. according to the method for claim 5, it is characterised in that the gateway device is matched somebody with somebody according to the configuration-direct Put including:The configuration-direct is parsed according to predefined structure, wherein, the configuration-direct includes following information:Source network agreement IP address, purpose IP address, command information;The gateway device is configured according to the command information.
- 7. according to the method for claim 6, it is characterised in that parsing the configuration-direct includes:Determine to predefine structure corresponding to the configuration-direct;The configuration-direct is parsed according to the predefined structure.
- 8. according to the method for claim 5, it is characterised in thatBefore the configuration-direct that the terminal is sent according to the phonetic order is received, in addition to:By LAN with The terminal connection;Receiving the configuration-direct that the terminal is sent according to the phonetic order includes:By described in LAN reception The configuration-direct that terminal is sent according to the phonetic order.
- A kind of 9. device for configuring gateway device, it is characterised in that including:First receiving module, for receiving the phonetic order for being used for being configured to the gateway device;First sending module, for being sent according to the phonetic order to the gateway device for being carried out to the gateway device The configuration-direct of the configuration.
- 10. device according to claim 9, it is characterised in that first sending module includes:Conversion unit, for the phonetic order to be converted into command information;Indicating member, for the configuration according to indicated by the command information instruction phonetic order;Encapsulation unit, for after confirmation instruction is received, the command information to be packaged into the configuration-direct, wherein, institute Confirmation instruction is stated to be used to indicate that the configuration indicated by the phonetic order is errorless;Transmitting element, for the configuration-direct to be sent into the gateway device.
- 11. device according to claim 10, it is characterised in that the encapsulation unit includes:Subelement is encapsulated, for the command information to be packaged into the configuration-direct by protocol stack, wherein, the configuration refers to Order includes following information:Source network Protocol IP address, purpose IP address, the command information.
- A kind of 12. device for configuring gateway device, it is characterised in that including:Second receiving module, the configuration-direct sent for receiving terminal according to phonetic order;Configuration module, for being configured according to the configuration-direct to the gateway device.
- 13. device according to claim 12, it is characterised in that the configuration module includes:Resolution unit, for parsing the configuration-direct according to predefined structure, wherein, the configuration-direct includes following letter Breath:Source network Protocol IP address, purpose IP address, command information;Dispensing unit, for being configured according to the command information to the gateway device.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610855728.1A CN107872341A (en) | 2016-09-27 | 2016-09-27 | Configure the method and device of gateway device |
PCT/CN2017/091328 WO2018059051A1 (en) | 2016-09-27 | 2017-06-30 | Method and apparatus for configuring gateway device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610855728.1A CN107872341A (en) | 2016-09-27 | 2016-09-27 | Configure the method and device of gateway device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107872341A true CN107872341A (en) | 2018-04-03 |
Family
ID=61750901
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610855728.1A Pending CN107872341A (en) | 2016-09-27 | 2016-09-27 | Configure the method and device of gateway device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107872341A (en) |
WO (1) | WO2018059051A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110071825A (en) * | 2019-03-29 | 2019-07-30 | 上海电气分布式能源科技有限公司 | A kind of LoRa network system parameters remote configuration method and device |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111867153B (en) * | 2020-06-12 | 2023-02-03 | 青岛海信智慧生活科技股份有限公司 | Terminal, gateway equipment and data processing method |
CN115883287A (en) * | 2021-09-29 | 2023-03-31 | 青岛海尔科技有限公司 | Method and device for determining scene operation gateway, storage medium and electronic device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101557318A (en) * | 2009-05-27 | 2009-10-14 | 深圳华为通信技术有限公司 | Configuration method of network terminal and network terminal |
CN102830687A (en) * | 2012-09-24 | 2012-12-19 | 杨炙龙 | Intelligent home control system and method |
CN103281581A (en) * | 2013-05-31 | 2013-09-04 | 成都三零凯天通信实业有限公司 | Human-computer interaction system and method controlling IP set-top box through smart phone voice |
CN103434462A (en) * | 2013-08-26 | 2013-12-11 | 浙江吉利汽车研究院有限公司 | Automobile intelligent control method and control system |
CN104214890A (en) * | 2014-01-20 | 2014-12-17 | 美的集团股份有限公司 | Air conditioner and method for controlling air supply thereof by voice |
CN104795065A (en) * | 2015-04-30 | 2015-07-22 | 北京车音网科技有限公司 | Method for increasing speech recognition rate and electronic device |
US20160226823A1 (en) * | 2006-12-29 | 2016-08-04 | Prodea Systems, Inc. | Voice control of endpoint devices through a multi-services gateway device at the user premises |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090204407A1 (en) * | 2008-02-08 | 2009-08-13 | Shields T Russell | System and method for processing a spoken request from a user |
CN101729700A (en) * | 2008-10-29 | 2010-06-09 | 华枫信通(北京)科技有限公司 | Comprehensive internal communication system and communication method for voice control |
-
2016
- 2016-09-27 CN CN201610855728.1A patent/CN107872341A/en active Pending
-
2017
- 2017-06-30 WO PCT/CN2017/091328 patent/WO2018059051A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160226823A1 (en) * | 2006-12-29 | 2016-08-04 | Prodea Systems, Inc. | Voice control of endpoint devices through a multi-services gateway device at the user premises |
CN101557318A (en) * | 2009-05-27 | 2009-10-14 | 深圳华为通信技术有限公司 | Configuration method of network terminal and network terminal |
CN102830687A (en) * | 2012-09-24 | 2012-12-19 | 杨炙龙 | Intelligent home control system and method |
CN103281581A (en) * | 2013-05-31 | 2013-09-04 | 成都三零凯天通信实业有限公司 | Human-computer interaction system and method controlling IP set-top box through smart phone voice |
CN103434462A (en) * | 2013-08-26 | 2013-12-11 | 浙江吉利汽车研究院有限公司 | Automobile intelligent control method and control system |
CN104214890A (en) * | 2014-01-20 | 2014-12-17 | 美的集团股份有限公司 | Air conditioner and method for controlling air supply thereof by voice |
CN104795065A (en) * | 2015-04-30 | 2015-07-22 | 北京车音网科技有限公司 | Method for increasing speech recognition rate and electronic device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110071825A (en) * | 2019-03-29 | 2019-07-30 | 上海电气分布式能源科技有限公司 | A kind of LoRa network system parameters remote configuration method and device |
Also Published As
Publication number | Publication date |
---|---|
WO2018059051A1 (en) | 2018-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104272672B (en) | Providing services to virtual overlay network traffic | |
CN109218261B (en) | Data processing method and data processing device | |
CN108111523B (en) | Data transmission method and device | |
CN108494817A (en) | Data transmission method, relevant apparatus and system | |
CN112104490B (en) | Network communication method and device based on cloud server and electronic device | |
US20220159092A1 (en) | User interface for configuring device-specific iot applications | |
CN110417766A (en) | A kind of method and apparatus of protocol analysis | |
CN107872341A (en) | Configure the method and device of gateway device | |
US20220321566A1 (en) | Optimized data-over-cable service interface specifications filter processing for batches of data packets using a single access control list lookup | |
CN107948077B (en) | Method and device for forwarding data message | |
JP2008278529A (en) | Method and system for transparent transmission of data traffic between data processing devices, corresponding computer program product, and corresponding computer-readable storage medium | |
CN102299834A (en) | Data sharing method, equipment and system for local area network | |
CN112333019A (en) | Router configuration and test method and system and readable storage medium | |
US20190260631A1 (en) | Deployable linear bitwise protocol transfromation | |
CN114584582B (en) | In-vehicle message processing method and device, vehicle-mounted terminal and storage medium | |
EP2827550A1 (en) | Loadable flexible protocol profiles | |
CN109545208A (en) | The control method and device of voice, storage medium, electronic device | |
CN109166205B (en) | Parking lot access control system, adaptation method and Internet of things gateway | |
CN107454199A (en) | The method, apparatus and system of communication protocol access | |
CN107295156A (en) | A kind of terminal, device server, network message processing method and system | |
CN110275701A (en) | Data processing method, device, medium and calculating equipment | |
CN115277450A (en) | OPNET-based virtual-real combined heterogeneous communication network fusion system and application | |
CN104506896B (en) | The operation processing method and device of smart television | |
CN113641518A (en) | Service calling method, device and storage medium | |
Monfared et al. | Software defined wireless access for a two-tier cloud system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180403 |
|
RJ01 | Rejection of invention patent application after publication |