CN106130908B - Message transmitting method and device, intelligent terminal - Google Patents

Message transmitting method and device, intelligent terminal Download PDF

Info

Publication number
CN106130908B
CN106130908B CN201610391391.3A CN201610391391A CN106130908B CN 106130908 B CN106130908 B CN 106130908B CN 201610391391 A CN201610391391 A CN 201610391391A CN 106130908 B CN106130908 B CN 106130908B
Authority
CN
China
Prior art keywords
message
equipment
interface module
address translation
address
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.)
Active
Application number
CN201610391391.3A
Other languages
Chinese (zh)
Other versions
CN106130908A (en
Inventor
冯超
杨晓星
杨冬东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610391391.3A priority Critical patent/CN106130908B/en
Publication of CN106130908A publication Critical patent/CN106130908A/en
Application granted granted Critical
Publication of CN106130908B publication Critical patent/CN106130908B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses

Abstract

The disclosure is directed to a kind of message transmitting methods and device, intelligent terminal, and wherein method includes: to receive the first message, and first message is sent by the second equipment for accessing the first equipment, and first equipment is the Network access hotspot of the second equipment;Except the inner nuclear layer of first equipment, network address translation is carried out to first message, obtains the second message, second message carries the address information after conversion;The second message for carrying the address information is sent to outer net.The disclosure reduces address conversion to the power consumption of intelligent terminal, improves message transferring speed.

Description

Message transmitting method and device, intelligent terminal
Technical field
This disclosure relates to smart machine technology more particularly to a kind of message transmitting method and device, intelligent terminal.
Background technique
Many intelligent terminals all support itself to become online hot spot (that is, access point an AP, Access at present Point), mobile phone is allowed to become hot spot for example, Android phone can also provide, other terminals access the mobile phone hot spot and carry out Net, and can choose on mobile phone the setting WLAN hot spot under " network share " or USB to share the multiple networks such as network total Enjoy mode.It is this using intelligent terminal as hot spot in a manner of, be by the data connection of terminal to internet, all connection terminals Client transmitting-receiving message also require to handle by mobile phone.
It takes the mobile phone as an example, each client of access mobile phone hot spot may be in a local area network, and the number through mobile phone Will go into wide area network according to the message that net is sent to internet, message by local area network to wide area network when, need to carry out address conversion, For example, by the IP address conversion of local area network at the IP address of wide area network, i.e., common NAT (Network Address Translation, network address translation).In the related technology, above-mentioned address conversion is executed by mobile phone, for example, some access hand The message that the terminal of machine hot spot is sent, mobile phone can carry out the message to be transmitted to internet after address conversion again, and usual mobile phone It is that address conversion is carried out by the network protocol stack in kernel, this makes mobile phone power consumption than more serious, and heavy load also reduces The forwarding speed of message.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides a kind of message transmitting method and device, intelligent terminal, To reduce address conversion to the power consumption of intelligent terminal, and improve message transferring speed.
According to the first aspect of the embodiments of the present disclosure, a kind of message transmitting method is provided, comprising:
The first message is received, first message is sent by the second equipment for accessing the first equipment, and first equipment is The Network access hotspot of second equipment;
Except the inner nuclear layer of first equipment, network address translation is carried out to first message, obtains the second report Text, second message carry the address information after conversion;
The second message for carrying the address information is sent to outer net.
According to the second aspect of an embodiment of the present disclosure, a kind of message transmitting device is provided, comprising:
Message receiving module, for receiving the first message, first message is sent out by the second equipment for accessing the first equipment It send, first equipment is the Network access hotspot of the second equipment;
Message processing module (MPM), for except the inner nuclear layer of first equipment, with carrying out network to first message Location conversion, obtains the second message, and second message carries the address information after conversion;
Message sending module, the second message for that will carry the address information are sent to outer net.
According to the third aspect of an embodiment of the present disclosure, a kind of intelligent terminal is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to: receive the first message, first message by access the first equipment second Equipment is sent, and first equipment is the Network access hotspot of the second equipment;Except the inner nuclear layer of the first equipment, reported to first Text carries out network address translation, obtains the second message, and second message carries the address information after conversion;It will carry describedly Second message of location information is sent to outer net.
The technical scheme provided by this disclosed embodiment can include the following benefits: pass through the inner nuclear layer in equipment Except kernel, NAT address conversion is carried out to message, so that the processing of the address conversion does not have to using inner nuclear layer, equipment The available rest of CPU reduces address conversion to the power consumption of intelligent terminal, and improves message transferring speed.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is a kind of message forwarding path schematic diagram shown according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of message transmitting method shown according to an exemplary embodiment;
Fig. 3 is a kind of structural schematic diagram of message transmitting device shown according to an exemplary embodiment;
Fig. 4 is a kind of structural schematic diagram of message transmitting device shown according to an exemplary embodiment;
Fig. 5 is a kind of block diagram of intelligent terminal shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
A kind of mode by intelligent terminal as Network access hotspot AP, will be so that people's online be more convenient, for example, people Can be outdoors using some smart phone as Network access hotspot, other terminals can access the mobile phone hot spot and carry out Net.This mode can be by being arranged shared network implementations in mobile phone.
By taking intelligent terminal is mobile phone as an example, Fig. 1 illustrates a kind of part system frame of mobile phone, as shown in Figure 1, mobile phone Hardware layer hardware may include entrance interface module 11 and outlet interface module 12.Wherein, entrance interface module 11 can be with It is in mobile phone starting " network share " setting (for example, it may be USB is shared or WLAN hot spot is arranged), mobile phone is in systems The interface module of registration, for example, the entrance interface module 11 can be rndis0 in USB sharing mode;In the shared side WLAN In formula, which can be wlan0.
It can also include outlet interface module 12 in the hardware layer hardware of mobile phone, which is message It is sent to the outer net i.e. interface of internet internet from mobile phone, for example, some terminal is linked into the mobile phone hot spot, mobile phone can be incited somebody to action The message that terminal is sent is sent to internet, i.e., is forwarded to internet from the outlet interface module 12, realizes the online of terminal.Example Such as, which can be rmnet_data0.Message is in mobile phone i.e. in entrance interface module 11 and outlet network interface card Interaction between module 12, mobile phone can be linked into client (the i.e. access mobile phone of mobile phone hot spot by entrance interface module 11 The terminal of hot spot) send message, finally by message from outlet interface module 12 be sent to internet.
The received message of mobile phone can be the message in local area network, and internet is wide area network, and therefore, message is in mobile phone Network address translation NAT will be carried out, i.e., after entrance interface module 11 receives message, will be sent out message by exporting interface module 12 Toward before outer net, need to carry out address conversion to message in mobile phone.The embodiment of the present disclosure provide message transmitting method, be When describing intelligent terminal as Network access hotspot, when receiving the message that the other equipment for accessing the hot spot are sent, how The process for transmitting the message carries out the implementation procedure of network address translation NAT including intelligent terminal to message, it is therefore an objective to reduce ground The power consumption to mobile phone is converted in location, improves message transferring speed.
Fig. 2 describes the flow chart of the message transmitting method of the embodiment of the present disclosure, as shown in Figure 2, comprising:
In step 201, the first message is received, first message is sent by the second equipment for accessing the first equipment, institute State the Network access hotspot that the first equipment is the second equipment.
In step 202, except the inner nuclear layer of first equipment, network address is carried out to first message and is turned It changes, obtains the second message, second message carries the address information after conversion.
In step 203, the second message for carrying the address information is sent to outer net.
In conjunction with message transmitting method shown in Fig. 2 from the point of view of Fig. 1: in the present example, for example, the first equipment can be mobile phone, The mobile phone as Network access hotspot, the second equipment can be access the mobile phone hot spot other equipment, such as other mobile phones or Computer etc..The message that second equipment is sent to outer net is required by the first equipment i.e. forwarding of mobile phone hot spot, and will also be at this After carrying out NAT address conversion in mobile phone hot spot, then issue to outer net.
In this example, the message that the second equipment is sent to the first equipment is by entrance interface module 11 to outlet interface module 12 Between will pass through NAT address conversion, the path that can usually walk is: being received by the entrance interface module 11 of hardware layer hardware After message, which passes through kernel layers, NAT conversion is carried out by kernel protocol stack in the network layer of kernel, after NAT conversion Message again from kernel be forwarded to outlet interface module 12, message is sent to outer net by outlet interface module 12.But it is this Mode carries out address conversion by the network protocol stack of kernel, will lead to CPU can not suspend mode, power consumption is than more serious, and CPU Bear larger but also the forwarding speed of message reduces.
And in the message transmitting method of the embodiment of the present disclosure, another paths are set as message address conversion.Such as Fig. 1 Shown in arrow, after entrance interface module 11 receives message, the message is without inner nuclear layer kernel, but except inner nuclear layer, Outlet interface module 12 is sent to by entrance interface module 11, and outlet interface module is sent to by entrance interface module 11 in message On 12 this paths, network address translation is carried out to message.What i.e. message was walked be in Fig. 1 shown in arrow without kernel Path.
As shown in Figure 1, carrying out address conversion in the route shown by arrows of the embodiment of the present disclosure, can be according to caching Address translation table executes.For example, still by taking mobile phone hot spot as an example, if the message that the second equipment that mobile phone receives is sent is known as First message, the message characteristic in available first message, which for example may include: the source port of message, source IP, destination port, destination IP can be determined as the conversion port and conversion IP that first message is converted into according to these information, Wherein, conversion IP can be the IP address in the wide area network after NAT conversion, and the IP address in the wide area network can be mobile phone The IP address of data network interface, conversion port can be to be distinguished for the message to different second equipment.Therefore, caching The message characteristic that in address translation table may include: above-mentioned first message and the address information after corresponding address conversion, should Address information is, for example, conversion port and conversion IP.Thus it can carry out ground according to the message characteristic of the first message received Location conversion.Message after above-mentioned network address translation NAT can be known as to the second message, outlet interface module can incite somebody to action Second message of the address information after carrying conversion is sent to outer net.
In one example, the address translation table cached used in address above mentioned conversion, can store in entrance network interface card Module is executed by entrance interface module and is handled the address conversion of the first message, for example, entrance interface module is to the received One Receive message message characteristic, and address conversion is carried out according to the address translation table of message characteristic and caching, then address is turned The second message after changing is sent to outlet interface module.
Alternatively, in another example, can also be that address translation table is stored in outlet interface module, by outlet network interface card mould Block executes the address conversion to the first message.For example, entrance interface module is after receiving the first message, it can be by the first message It is sent to outlet interface module, is converted to second by the message characteristic row address of going forward side by side that outlet interface module obtains the first message Message, and the second message is sent to outer net.
As above it is only exemplary embodiment, however, it is not limited to this, and other modes can also be used in specific implementation. In addition, the address translation table of caching can be and generate and store as follows: for example, some second equipment is sent First message, when first message is the message that second equipment received for the first time is sent, which can still walk Fig. 1 Shown in by kernel network protocol stack carry out address conversion path, kernel can be by the message information after conversion (message information may include the address information etc. after the message characteristic of the first message, conversion) be sent to entrance interface module or Person exports interface module, stores the corresponding address conversion list item of the first message in the address translation table of caching by these modules, The address conversion list item may include: the first message that above-mentioned kernel is sent message characteristic and corresponding address conversion Address information afterwards.It, can be according to such as reporting in this way when subsequent non-first message for the first time for receiving the transmission of the second equipment again Literary feature carries out address conversion according to the address conversion list item of the caching by entrance interface module or outlet interface module, and It does not need using kernel.
It can see by the description of above-mentioned address conversion method, pass through the transmission path by hardware layer shown in FIG. 1 By entrance interface module transmitting message to outlet interface module, address conversion can be made not need using kernel, no longer It is handled with CPU, so as to increase the dormancy time of CPU, offloading the CPU, so that the power consumption of mobile phone reduces, and CPU The reduction of burden can also be improved the forwarding speed of message.
In addition, can delete the unused address of some long-times in order to save the memory space of buffer address conversion table and turn Change list item.For example, if not receiving the first message with certain message characteristic, then by described by predetermined time interval The corresponding address conversion list item of first message is deleted in address translation table.
The embodiment of the present disclosure additionally provides a kind of message transmitting device, for example, the device can be set and connect in as network Enter the first equipment of hot spot, so that the first equipment can execute the message transmitting method of the embodiment of the present disclosure.As shown in figure 3, The apparatus may include: message receiving module 31, message processing module (MPM) 32 and message sending module 33.
Message receiving module 31, for receive the first message, first message by access the first equipment the second equipment It sends, first equipment is the Network access hotspot of the second equipment;
Message processing module (MPM) 32, for carrying out network to first message except the inner nuclear layer of first equipment Address conversion, obtains the second message, and second message carries the address information after conversion;
Message sending module 33, the second message for that will carry the address information are sent to outer net.
In one example, as shown in figure 4, the device can also include: address conversion module 34, for for receiving After the first message sent for the first time to second equipment, by the kernel protocol stack in the first device core layer, to institute It states the first message and carries out network address translation.Further include: list item management module 35, for increasing in the address translation table of caching The corresponding address conversion list item of first message, the message characteristic and the ground after conversion that the address conversion list item includes the first message The corresponding relationship of location information, for carrying out network address translation according to the corresponding relationship.
In one example, list item management module 35 is also used to do not receiving described first by predetermined time interval When message, then by deleting the corresponding address conversion list item of first message in the address translation table.
Fig. 5 is a kind of block diagram of intelligent terminal 500 shown according to an exemplary embodiment.For example, device 500 can be Smart phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices, body-building are set It is standby, personal digital assistant etc..
Referring to Fig. 5, device 500 may include following one or more components: processing component 502, memory 508, power supply Component 506, multimedia component 508, audio component 510, the interface 512 of input/output (I/O), sensor module 514, and Communication component 516.
The integrated operation of the usual control device 500 of processing component 502, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing element 502 may include that one or more processors 520 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 502 may include one or more modules, just Interaction between processing component 502 and other assemblies.For example, processing component 502 may include multi-media module, it is more to facilitate Interaction between media component 508 and processing component 502.
Memory 508 is configured as storing various types of data to support the operation in equipment 500.These data are shown Example includes the instruction of any application or method for operating on device 500, contact data, and telephone book data disappears Breath, picture, video etc..Memory 508 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Electric power assembly 506 provides electric power for the various assemblies of device 500.Electric power assembly 506 may include power management system System, one or more power supplys and other with for device 500 generate, manage, and distribute the associated component of electric power.
Multimedia component 508 includes the screen of one output interface of offer between described device 500 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 508 includes a front camera and/or rear camera.When equipment 500 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 510 is configured as output and/or input audio signal.For example, audio component 510 includes a Mike Wind (MIC), when device 500 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 508 or via communication set Part 516 is sent.In some embodiments, audio component 510 further includes a loudspeaker, is used for output audio signal.
I/O interface 512 provides interface between processing component 502 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 514 includes one or more sensors, and the state for providing various aspects for device 500 is commented Estimate.For example, sensor module 514 can detecte the state that opens/closes of equipment 500, and the relative positioning of component, for example, it is described Component is the display and keypad of device 500, and sensor module 514 can be with 500 1 components of detection device 500 or device Position change, the existence or non-existence that user contacts with device 500,500 orientation of device or acceleration/deceleration and device 500 Temperature change.Sensor module 514 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 514 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 516 is configured to facilitate the communication of wired or wireless way between device 500 and other equipment.Device 500 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 516 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 516 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 500 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In addition, in an exemplary embodiment of the disclosure, additionally providing a kind of non-transitory computer including instruction can Storage medium, the memory for example including instruction are read, above-metioned instruction can be executed by the processor of device to complete the above method, example As this method comprises: receiving the first message, first message is sent by the second equipment for accessing the first equipment, and described first sets Standby is the Network access hotspot of the second equipment;Except the inner nuclear layer of the first equipment, network address translation is carried out to the first message, The second message is obtained, second message carries the address information after conversion;The second message hair of the address information will be carried It send to outer net.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD- ROM, tape, floppy disk and optical data storage devices etc..
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (10)

1. a kind of message transmitting method, which is characterized in that the described method includes:
The first message is received, first message is sent by the second equipment for accessing the first equipment, and first equipment is second The Network access hotspot of equipment;
Except the inner nuclear layer of first equipment, network address translation is carried out to first message, obtains the second message, institute It states the second message and carries the address information after conversion;
The second message for carrying the address information is sent to outer net;
After receiving the first message that second equipment is sent for the first time, assisted by the kernel in the first device core layer Stack is discussed, network address translation is carried out to first message;
Increase the corresponding address conversion list item of the first message in the address translation table of caching, the address conversion list item includes the The message characteristic of one message and the corresponding relationship of the address information after conversion, for according to corresponding relationship progress network Location conversion.
2. the method according to claim 1, wherein
First message is received by the entrance interface module of first equipment, and second message is by first equipment Interface module is exported to send.
3. according to the method described in claim 2, it is characterized in that, described except the inner nuclear layer of first equipment, to institute It states the first message and carries out network address translation, obtain the second message, comprising:
The entrance interface module carries out network address translation to first message, obtains according to the address translation table of caching Second message, the address translation table are stored in the entrance interface module;
The method also includes: second message is sent to described by the entrance interface module after obtaining the second message Export interface module.
4. according to the method described in claim 2, it is characterized in that, the method also includes: the entrance interface module is connecing After receiving the first message, first message is sent to the outlet interface module;
It is described that network address translation is carried out to first message, obtains the second message except the inner nuclear layer of the first equipment, packet It includes:
The outlet interface module carries out network address translation to first message, obtains according to the address translation table of caching Second message, the address translation table are stored in the outlet interface module.
5. the method according to claim 1, wherein the method also includes:
If not receiving first message by predetermined time interval, by deleting first report in the address translation table The corresponding address conversion list item of text.
6. a kind of message transmitting device, which is characterized in that described device includes:
Message receiving module, for receiving the first message, first message is sent by the second equipment for accessing the first equipment, institute State the Network access hotspot that the first equipment is the second equipment;
Message processing module (MPM), for carrying out network address to first message and turning except the inner nuclear layer of first equipment It changes, obtains the second message, second message carries the address information after conversion;
Message sending module, the second message for that will carry the address information are sent to outer net;
Address conversion module, for being set by described first after receiving the first message that second equipment is sent for the first time Kernel protocol stack in standby inner nuclear layer carries out network address translation to first message;
List item management module, it is described for increasing the corresponding address conversion list item of the first message in the address translation table of caching Address conversion list item includes the message characteristic of the first message and the corresponding relationship of the address information after conversion, for according to Corresponding relationship carries out network address translation.
7. device according to claim 6, which is characterized in that
The list item management module is also used to when not receiving first message by predetermined time interval, then by described The corresponding address conversion list item of first message is deleted in address translation table.
8. a kind of intelligent terminal characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to: receive the first message, first message by access the first equipment the second equipment It sends, first equipment is the Network access hotspot of the second equipment;Except the inner nuclear layer of the first equipment, to the first message into Row network address translation, obtains the second message, and second message carries the address information after conversion;The address letter will be carried Second message of breath is sent to outer net;
After receiving the first message that second equipment is sent for the first time, assisted by the kernel in the first device core layer Stack is discussed, network address translation is carried out to first message;
Increase the corresponding address conversion list item of the first message in the address translation table of caching, the address conversion list item includes the The message characteristic of one message and the corresponding relationship of the address information after conversion, for according to corresponding relationship progress network Location conversion.
9. intelligent terminal according to claim 8, which is characterized in that the intelligent terminal include: entrance interface module and Export interface module;
The entrance interface module carries out network address translation to the first message, obtains for the address translation table according to caching Second message, the address translation table is stored in the entrance interface module, and the second message is sent to the outlet network interface card Module;
The outlet interface module, the second message for that will carry the address information are sent to outer net.
10. intelligent terminal according to claim 8, which is characterized in that the intelligent terminal include: entrance interface module and Export interface module;
The entrance interface module, for first message received to be sent to the outlet interface module;
The outlet interface module carries out network address translation to first message for the address translation table according to caching, The second message is obtained, the address translation table is stored in the outlet interface module, and will carry the second of the address information Message is sent to outer net.
CN201610391391.3A 2016-06-03 2016-06-03 Message transmitting method and device, intelligent terminal Active CN106130908B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610391391.3A CN106130908B (en) 2016-06-03 2016-06-03 Message transmitting method and device, intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610391391.3A CN106130908B (en) 2016-06-03 2016-06-03 Message transmitting method and device, intelligent terminal

Publications (2)

Publication Number Publication Date
CN106130908A CN106130908A (en) 2016-11-16
CN106130908B true CN106130908B (en) 2019-08-06

Family

ID=57270044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610391391.3A Active CN106130908B (en) 2016-06-03 2016-06-03 Message transmitting method and device, intelligent terminal

Country Status (1)

Country Link
CN (1) CN106130908B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713524A (en) * 2016-12-28 2017-05-24 迈普通信技术股份有限公司 AP device, network address conversion method and communication system
US20180234535A1 (en) * 2017-02-10 2018-08-16 Mediatek Inc. Method and apparatus for communication
CN109922164B (en) * 2019-02-12 2022-07-26 Oppo广东移动通信有限公司 Address translation method and device and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002152256A (en) * 2000-11-09 2002-05-24 Sony Corp Address converter and its method
US7111060B2 (en) * 2000-03-14 2006-09-19 Aep Networks, Inc. Apparatus and accompanying methods for providing, through a centralized server site, a secure, cost-effective, web-enabled, integrated virtual office environment remotely accessible through a network-connected web browser
CN101262425A (en) * 2008-04-28 2008-09-10 艾诺通信***(苏州)有限责任公司 Multi-cast forward method based on network address translation
US9148402B2 (en) * 2013-12-06 2015-09-29 Qualcomm Innovation Center, Inc. Systems, methods, and apparatus for full-cone and address restricted cone network address translation using hardware acceleration

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7111060B2 (en) * 2000-03-14 2006-09-19 Aep Networks, Inc. Apparatus and accompanying methods for providing, through a centralized server site, a secure, cost-effective, web-enabled, integrated virtual office environment remotely accessible through a network-connected web browser
JP2002152256A (en) * 2000-11-09 2002-05-24 Sony Corp Address converter and its method
CN101262425A (en) * 2008-04-28 2008-09-10 艾诺通信***(苏州)有限责任公司 Multi-cast forward method based on network address translation
US9148402B2 (en) * 2013-12-06 2015-09-29 Qualcomm Innovation Center, Inc. Systems, methods, and apparatus for full-cone and address restricted cone network address translation using hardware acceleration

Also Published As

Publication number Publication date
CN106130908A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
CN105933899B (en) The cut-in method and device of wireless access point
CN105163366B (en) Wireless network connecting method and device
CN105407473B (en) WLAN finds method and device
CN106375479B (en) Data sharing method and device
CN105468767B (en) Card information acquisition methods and device
CN105516508A (en) Method and device for activating virtual SIM card
CN106101307B (en) Mobile terminal
CN107079310A (en) Obtain, send the method and device of system information
CN106028375A (en) Method and device for prompting network switching and terminal device
CN105049416A (en) Method and apparatus for accessing to wifi network
CN106209800A (en) Equipment Authority sharing method and apparatus
CN106128478A (en) Voice broadcast method and device
CN105100355A (en) Method and device for identifying calling user
CN104464238A (en) Method and device for controlling operation between mobile terminals
CN105636176A (en) Network sharing method and device
CN107071862A (en) Account binding method and device and smart machine
CN106130908B (en) Message transmitting method and device, intelligent terminal
CN106096011A (en) Method for picture sharing and device
CN104883385B (en) Rich media file transmission method and device
CN104796463B (en) Time display method, device and terminal in social application
CN109075856A (en) flight path configuration method and device
CN109451830A (en) Cell type indicating means and device
CN106535192A (en) Method and device for realizing access of smart equipment to router and mobile terminal
CN104363166B (en) Instant communicating method, device and intelligent terminal
KR101952178B1 (en) Mobile terminal and cloud system using the mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant