WO2015110080A1 - 一种数据处理的方法、装置及系统 - Google Patents

一种数据处理的方法、装置及系统 Download PDF

Info

Publication number
WO2015110080A1
WO2015110080A1 PCT/CN2015/071554 CN2015071554W WO2015110080A1 WO 2015110080 A1 WO2015110080 A1 WO 2015110080A1 CN 2015071554 W CN2015071554 W CN 2015071554W WO 2015110080 A1 WO2015110080 A1 WO 2015110080A1
Authority
WO
WIPO (PCT)
Prior art keywords
apn
data service
local area
data
wireless local
Prior art date
Application number
PCT/CN2015/071554
Other languages
English (en)
French (fr)
Inventor
尚兴宏
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP15740929.3A priority Critical patent/EP3099111B1/en
Publication of WO2015110080A1 publication Critical patent/WO2015110080A1/zh
Priority to US15/219,502 priority patent/US10051607B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/02Selection of wireless resources by user or terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • 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
    • H04L61/255Maintenance or indexing of mapping tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Definitions

  • the present invention relates to the field of communications, and in particular, to a data processing method, apparatus, and system.
  • the pressure may be that the cellular network may be a communication network based on a third generation mobile communication technology network or a network based on a fourth generation mobile communication technology.
  • the wireless local area network can be used as a complementary means of the cellular network.
  • the cellular network and the wireless local area network have great differences in network coverage, bandwidth and mobility, and have their own unique advantages, so the cellular can be
  • the network and the wireless LAN are merged to form a heterogeneous network to complement each other to distribute the data service of the cellular network. That is, a part of the data service of the intelligent terminal can be carried in the cellular network, and another part of the data service is carried in the wireless local area network.
  • the data services of all intelligent terminals can only be carried in one network at the same time. For example, when the smart terminal accesses the wireless local area network, the intelligent terminal carries the data on the cellular network. The business is closed accordingly, and all applications such as browsers and video services are connected to the wireless LAN.
  • the user may first modify the operating system on the read-only memory (ROM) of the smart terminal, and obtain the administrator authority of the smart terminal, so that when the smart terminal is connected to the wireless local area network, the cellular network data service is not closed, even if The intelligent terminal has a network concurrency function.
  • the cellular network and the wireless local area network can be concurrently used to form a heterogeneous network, and then the OpenFlow switching module is loaded in the operating system kernel of the intelligent terminal according to the OF (Open Flow) technology.
  • OF Open Flow
  • the open flow control module controls the traffic policy of the intelligent terminal by using the open flow control module, even if part of the data service of the intelligent terminal is carried in the cellular network, and another part of the data service is carried in the wireless local area network.
  • the smart terminals used in implementing heterogeneous networks must be customized smart terminals and lack versatility.
  • Embodiments of the present invention provide a data processing method, apparatus, and system, which can improve the versatility of network concurrency functions on smart terminals.
  • a data processing method for a smart terminal, including:
  • the method further includes: before the transmitting, by the wireless local area network, the data service of the smart terminal in the cellular network that is accessed by the first APN, the method further includes:
  • IP routing table An internet protocol IP routing table is set, and the IP routing table records a default route as a private IP address of the virtual interface.
  • the transmitting, by the wireless local area network, the data service of the smart terminal in the cellular network accessed by the first APN includes:
  • a first data packet where the first data packet is a data packet that needs to be transmitted by using a cellular network that is accessed by the first APN, where the second data packet is required to pass the wireless a data packet transmitted by the local area network, where the offloading strategy records a data service type currently required to be transmitted by the cellular network accessed by the first APN and a data service type that needs to be transmitted by using the wireless local area network;
  • the method further includes:
  • the response time of the first data service is any one of the data services running on the smart terminal, and the data service corresponding to the first data service
  • the type is a data service type that is currently required to be transmitted by the cellular network accessed by the first APN;
  • the traffic offloading policy is updated, and the data service type corresponding to the first data service is There is currently a need for data traffic types to be transmitted over the wireless local area network.
  • the method further includes:
  • the second data service is any one of the data services running on the smart terminal, and the data service type corresponding to the second data service is currently required to pass the The type of data service transmitted by the wireless local area network;
  • the traffic offloading policy is updated, and the data service type corresponding to the second data service is currently required to pass the first The type of data service transmitted by the cellular network accessed by an APN.
  • the transmitting, by the wireless local area network, the data service of the smart terminal in the cellular network accessed by the first APN includes:
  • the data packet received by the virtual interface is sent to the corresponding data service process, where the data packet received by the virtual interface includes a data packet sent by the cellular network accessed by the first APN and data sent by the wireless local area network. package.
  • an intelligent terminal including:
  • a first access unit configured to access a wireless local area network
  • a first establishing unit configured to be a first access point name APN, the first APN being different from a default APN of the smart terminal, where the first APN is used to implement data service access of a cellular network when accessing a wireless local area network ;
  • a second access unit configured to access the cellular network by using the first APN
  • a transmitting unit configured to perform data transmission of the smart terminal in the wireless local area network and the cellular network accessed by the first APN.
  • the smart terminal further includes:
  • a second establishing unit configured to establish a virtual interface, so that the data service can be transmitted to the wireless local area network interface or the cellular network interface of the first APN access by using the virtual interface;
  • a setting unit configured to set an internet protocol IP routing table, where the IP routing table records a default route as a private IP address of the virtual interface.
  • the transmission unit is specifically configured to:
  • a first data packet where the first data packet is a data packet that needs to be transmitted by using a cellular network that is accessed by the first APN, where the second data packet is required to pass the wireless a data packet transmitted by the local area network, where the offloading strategy records a data service type currently required to be transmitted by the cellular network accessed by the first APN and a data service type that needs to be transmitted by using the wireless local area network;
  • the smart terminal further includes:
  • a first acquiring unit configured to acquire a response time of the first data service of the cellular network that is accessed by the first APN, where the first data service is any one of data services running on the smart terminal, where The data service type corresponding to a data service is a data service type that is currently required to be transmitted by the cellular network accessed by the first APN;
  • a first updating unit configured to: if the response time of the cellular network accessed by the first APN to the first data service is greater than or equal to the first threshold, update the traffic off policy, so that the first data in the updated traffic off policy
  • the data service type corresponding to the service is the type of data service currently required to be transmitted through the wireless local area network.
  • the smart terminal further includes:
  • a second acquiring unit configured to acquire a response time of the WLAN to the second data service, where the second data service is any one of data services running on the smart terminal, and the data corresponding to the second data service
  • the service type is a type of data service that needs to be transmitted through the wireless local area network
  • a second update unit configured to: if the response time of the WLAN to the second data service is greater than or equal to the second threshold, update the traffic off policy, so that the data service type corresponding to the second data service in the updated traffic off policy A type of data service that is currently required to be transmitted over the cellular network accessed by the first APN.
  • the transmission unit is specifically configured to:
  • the data packet received by the virtual interface is sent to the corresponding data service process, where the data packet received by the virtual interface includes a data packet sent by the cellular network accessed by the first APN and data sent by the wireless local area network. package.
  • Embodiments of the present invention provide a method, apparatus, and system for data processing.
  • the data processing method includes: accessing a wireless local area network; establishing a first access point name APN, the first APN being different from a default APN of the smart terminal, where the first APN is used to implement access to a wireless local area network Accessing the data service of the cellular network; accessing the cellular network through the first APN; and transmitting the data service of the intelligent terminal in the wireless local area network and the cellular network accessed by the first APN.
  • the smart terminal accesses the wireless local area network, establishes a first APN, accesses the cellular network through the first APN, and performs data service transmission in the wireless local area network and the cellular network accessed by the first APN.
  • the operating system on the read-only memory (ROM) of the smart terminal may not be modified, and the administrator authority of the smart terminal may not be acquired, so that when the smart terminal is connected with the wireless local area network, even the default APN and the cellular network are If the connection is disconnected, the cellular network can also be accessed, so that the intelligent terminal has the network concurrency function, which can improve the versatility of the network concurrency function on the intelligent terminal.
  • FIG. 1 is a flowchart of a data processing method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of another data processing method according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of data transmission according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of still another data processing method according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of data receiving according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an intelligent terminal according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of another smart terminal according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a data processing system according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of another intelligent terminal according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of another data processing system according to an embodiment of the present invention.
  • An embodiment of the present invention provides a data processing method, which is used in an intelligent terminal, as shown in FIG. 1 , and includes:
  • Step 101 Access a wireless local area network.
  • the smart terminal first accesses the cellular network through the default APN (Access Point Name) of the smart terminal, so as to realize the transmission of the data service between the intelligent terminal and the cellular network, and when the smart terminal accesses the wireless After the local area network, the data service carried by the intelligent terminal on the cellular network accessed by the default APN is closed correspondingly, that is, the data service connection with the cellular network is disconnected, and the intelligent terminal only transmits the data service through the wireless local area network.
  • APN Access Point Name
  • the APN is a parameter that needs to be configured when the user accesses the Internet through the smart terminal. It determines the access mode of the user's smart terminal to access the network, and can be used to identify the GPRS (General Packet Radio Service). Type of business. APN is currently divided into two categories, accessing WAP (Wireless Application Protocol) services and service services other than WAP services through GPRS. When the APN accessing the cellular network is different, the cellular network provides different services to the smart terminal according to the corresponding APN. For example, the APN of the smart terminal is set to CMWAP, and the corresponding access is China Mobile Monternet. The APN of the smart terminal is set to In CMNET, the corresponding access is the Internet. The APN is defined and described in detail in the 3GPP specification TS23.003 Clause 9. This embodiment will not be described again.
  • Step 102 Establish a first access point name APN, the first APN and the smart terminal
  • the default APN is different, and the first APN is used to implement data service access of the cellular network when accessing the wireless local area network.
  • Step 103 Access the cellular network by using the first APN.
  • Step 104 Perform data transmission of the smart terminal in the wireless local area network and the cellular network accessed by the first APN.
  • the smart terminal Before performing the data service transmission of the smart terminal in the wireless local area network and the cellular network accessed by the first APN, the smart terminal first establishes a virtual interface, and simultaneously sets an IP (Internet Protocol) routing table, and the IP is The default route of the routing table record is set to the private IP address of the virtual interface, that is, the next hop address recorded in the IP routing table is set to the private IP address of the virtual interface, and the next hop refers to router routing.
  • IP Internet Protocol
  • the next hop that is, the next address that needs to be transmitted, the data service of the smart terminal is routed to the virtual interface according to the IP routing table, so that the data service can be transmitted to the WLAN interface through the virtual interface or a cellular network interface that is accessed by the first APN, and the wireless network interface and the cellular network interface that is accessed by the first APN are physical interfaces of the smart terminal, where the data service of the smart terminal needs to be determined according to a traffic off policy.
  • a wireless local area network or a cellular network accessed by the first APN and accessed according to the wireless local area network or the first APN
  • the smart terminal accesses the wireless local area network
  • the first access point name APN is established, and the first APN accesses the cellular network, and the wireless local area network and the first APN access the cellular network.
  • the operating system on the read-only memory (ROM) of the smart terminal may not be modified, and the administrator authority of the smart terminal may not be acquired, so that the smart terminal is connected to the wireless local area network even if the default is The connection between the APN and the cellular network is disconnected, and the cellular network can also be accessed, so that the intelligent terminal has the network concurrency function, which can effectively improve the versatility of the network concurrency function on the intelligent terminal.
  • An embodiment of the present invention provides a data processing method, which is used in an intelligent terminal, as shown in FIG. 2, and includes:
  • Step 201 Access a wireless local area network.
  • the user interface of the smart terminal is The touch screen has a function of accessing the wireless local area network, and the user can click the access wireless local area network flag (for example, WiFi) that is triggered by the user interface of the smart terminal.
  • the user interface of the smart terminal receives the trigger signal, and the user The smart terminal accesses the wireless local area network of the area covered by the wireless local area network where the user is located.
  • the smart terminal has a button, the user can also press the button to enable the smart terminal to access the wireless local area network.
  • the intelligent terminal can also automatically access the wireless local area network.
  • the embodiments of the present invention are only illustrative, and are not limited thereto.
  • Step 202 Establish a first APN.
  • the data processing method provided by the embodiment of the present invention is implemented by a specific application running on the smart terminal.
  • the embodiment of the present invention assumes that the smart terminal installs the specific application, and the specific application may be a client application, and the smart The user interface of the terminal displays the client application icon.
  • the user can trigger the client application icon displayed by the user interface of the smart terminal, so as to implement the smart terminal.
  • the network concurrent function after the successful triggering, the smart terminal runs the client application to establish a first APN, the first APN is different from the default APN of the smart terminal, and the first APN is used to implement cellular access when the wireless local area network is accessed.
  • the access of the network, the first APN may be an MMS APN (Multimedia Messaging Service Access Point Name), or may be an IMS APN (Internet Protocol Multimedia Subsystem Access Point Name). Access point name), or GPS APN (Global Positioning Sys Tem Access Point Name, global positioning system access point name, etc.
  • MMS APN Multimedia Messaging Service Access Point Name
  • IMS APN Internet Protocol Multimedia Subsystem Access Point Name
  • GPS APN Global Positioning Sys Tem Access Point Name, global positioning system access point name, etc.
  • the MMS APN is usually used to access the cellular network.
  • the default access point name APN can be China Unicom 3gnet, China Telecom Internet.
  • the smart terminal after the smart terminal successfully establishes the first APN, may access the cellular network through the first APN, and the cellular network may be a cellular network adopting the second generation technology or adopting the third Generation of cellular networks, such as GPRS, EDGE (Enhanced Data Rate for Global System for Mobile Communications Evolution) networks, 3G (3rd-generation, third-generation mobile communication technology) networks, and LTE (Long Term Evolution) network.
  • GPRS Global System for Mobile Communications Evolution
  • EDGE Enhanced Data Rate for Global System for Mobile Communications Evolution
  • 3G 3rd-generation, third-generation mobile communication technology
  • LTE Long Term Evolution
  • Step 203 Access the cellular network by using the first APN.
  • the smart terminal When the user is in an area with cellular network coverage, the smart terminal has access to the cellular network function The smart terminal runs the client application. After the first APN is established, the smart terminal accesses the cellular network through the first APN, and the user can trigger the access to the cellular network logo data displayed on the user interface of the smart terminal, so that the smart terminal passes The first APN accesses the cellular network of the area covered by the cellular network in which the user is located.
  • the smart terminal simultaneously accesses the wireless local area network and the cellular network accessed by the first APN, that is, the wireless local area network function and the cellular network function are concurrently performed on the smart terminal, and the wireless local area network and the first APN access the cellular network The transmission of the data service of the intelligent terminal is performed.
  • Step 204 Establish a virtual interface of the smart terminal.
  • the operating system function API Application Programming Interface
  • the operating system function API Application Programming Interface
  • the data packet can be transmitted to the wireless local area network interface or the cellular network interface of the first APN access through the virtual interface, and the wireless local area network interface is implemented by a wireless local area network WIFI chip and a driver, and is a physical interface of the intelligent terminal accessing the wireless local area network.
  • the cellular network interface is implemented by a radio frequency chip or the like, and is a physical interface of the intelligent terminal accessing the cellular network.
  • the IP address of the virtual interface is configured as a private IP address.
  • the private IP address can be Class A, Class B, or Class C.
  • the private IP address of Class A ranges from 10.0.0.0 to 10.255.255.255/8
  • the private IP address of Class B ranges from 172.16.0.0 to 172.11. .255.255/12
  • Class C private IP address range is 192.168.0.0 to 192.168.255.255/16.
  • the embodiment of the present invention may use any private IP address in the range of the C-type private IP address, and different intelligent terminals may use the same private IP address in the range of the C-type private IP address.
  • Step 205 Set an internet protocol IP routing table.
  • the smart terminal configures an IP address of the virtual interface as a private IP address, and sets an IP routing table, that is, sets a default route recorded by the IP routing table to a private IP address of the virtual interface, that is, records the IP routing table.
  • the next hop address is set to the private IP address of the virtual interface.
  • Step 206 Route the data service to the virtual interface.
  • the user can click the application icon displayed on the user interface of the smart terminal, and the smart terminal receives the trigger signal, starts the corresponding application process, and generates a data service.
  • the application process may be a video application process or an instant chat application process.
  • the user can view the view using the smart terminal Frequency or chat.
  • an application process 301 such as a data service generated by an application such as Youku video, is encapsulated by a TCP/IP (Transmission Control Protocol/Internet Protocol) protocol stack 302 to obtain an IP.
  • TCP/IP Transmission Control Protocol/Internet Protocol
  • the data packet of the data service in the form of IP and then the character device driver 304 reads the data packet of the data service in the form of IP from the virtual interface 303, and the client application 305 reads the data service in the IP form from the character device driver 304.
  • a data packet the data packet of the data service in the form of IP enters a user state from a kernel state, and the kernel state (also in a core state) is an execution state in which the user does not have the privilege to operate the smart terminal, and the user state is The user has the privileged execution status of the operation of the smart terminal.
  • the memory space and objects that the process can access are restricted, and the processor occupied by the process can be preempted; while in the kernel state, all memory spaces and objects can be accessed, and the processing of the process is occupied.
  • the machine is not allowed to be preempted.
  • the client application 305 further offloads the data packet of the data service according to the offload policy, so that the data packet of the data service is transmitted to the wireless local area network through the wireless local area network interface 307 or the data is accessed through the cellular network interface 306 accessed by the first APN.
  • the data packet of the service is transmitted to the cellular network accessed by the first APN.
  • Step 207 Determine a first data packet and a second data packet according to a traffic off policy.
  • the offloading policy records a data service type that is currently required to be transmitted by the cellular network that is accessed by the first APN, and a data service type that needs to be transmitted by using the wireless local area network, and the smart terminal can determine the first data packet according to the offloading policy. And a second data packet, where the first data packet is a data packet that needs to be transmitted by using a cellular network that is accessed by the first APN, and the second data packet is a data packet that needs to be transmitted by using the wireless local area network.
  • determining the first data packet and the second data packet according to the traffic distribution policy specifically includes the following steps:
  • Step 2071 Initialize a traffic off policy.
  • the offloading policy records an initial type of data service to be transmitted by the cellular network accessed by the first APN and a type of data service to be transmitted by using the wireless local area network.
  • the data service type includes a browser application, a chat application, a video application, and the like.
  • the smart terminal transmits the video data service through the cellular network accessed by the first APN, and transmits the chat data service through the wireless local area network, and then initializes the traffic off policy.
  • the traffic distribution data record transmits the video data service through the cellular network accessed by the first APN, and transmits the chat data service through the wireless local area network.
  • Step 2072 Determine the first data packet and the second data packet according to the initialized traffic off policy.
  • the first data service is a data service generated by the Youku video application
  • the second data service is a data service generated by the WeChat application
  • the smart terminal transmits the Youku video application data service through the cellular network accessed by the first APN.
  • the WeChat application data service And transmitting the WeChat application data service through the wireless local area network, and then initializing a traffic distribution policy, where the traffic distribution policy records that the Youku video data service is transmitted through the cellular network accessed by the first APN, and the WeChat application data service passes the wireless And transmitting, by the local area network, the first data packet and the second data packet, where the first data packet is a data packet of the Youku video application, and needs to be transmitted by the cellular network accessed by the first APN, The second data packet is a data packet of the WeChat application and needs to be transmitted through the wireless local area network.
  • Step 2073 During the data transmission process, update the traffic distribution policy according to the response time of the network to the data service.
  • the response time of the first data service is a data service type that is currently required to be transmitted by using the first APN. If the response time of the first data service to the first data service is greater than or equal to the first threshold, the traffic offloading policy is updated, and the data service type corresponding to the first data service is Currently, the data service type that is transmitted through the WLAN is required, and the first threshold is a maximum time for the response time of the first data service of the first APN accessing the first data service. Generally, the first threshold may be 5 seconds.
  • the response time is greater than or equal to the second threshold, and the offloading policy is updated, so that the data service type corresponding to the second data service is the data service currently required to be transmitted by the cellular network accessed by the first APN in the updated offloading policy.
  • the second threshold is the maximum time for the response time of the wireless local area network to the second data service. Generally, The second threshold can be 10 seconds.
  • update process may be performed periodically or randomly.
  • the first threshold is a maximum time for the response time of the cellular network that the first APN accesses to the Youku video data service.
  • the first threshold may be 5 seconds, and the smart terminal is You can display whether you need to close the dialog box of Youku video application. Users can choose whether to close the Youku video application, restart the Youku video application process, and also can regain and provide Youku when the Youku video application is not closed.
  • a new link to the website of the video service that is, the smart terminal can automatically reacquire the Youku video, the user can re-view the Youku video, and if the website providing the Youku video has a small text file of data stored on the user's local terminal ( Cookie) function, users can continue to watch from the current viewing progress Video.
  • the cookie refers to the website storing the data on the user's local smart terminal in order to identify the user's identity and perform session tracking, and sometimes uses plural forms of cookies.
  • the smart terminal updates the offloading policy according to the response time of the obtained cellular network accessed by the first APN to the Youku video data service, so that the cool video data service needs to be transmitted through the wireless local area network in the updated offloading policy. . It should be noted that, if the obtained response time of the cellular network accessed by the first APN to the Youku video data service is less than the first threshold, the Youku video data service continues to be transmitted through the cellular network accessed by the first APN. .
  • the smart terminal acquires the response time of the wireless local area network to the data service generated by the WeChat application. If the user is using the WeChat voice chat during the mobile process, the user may not be in the network coverage of the wireless local area network.
  • the response time of the wireless local area network to the WeChat data service is greater than or equal to a second threshold, and the second threshold may be the maximum time for the response time of the wireless local area network to the WeChat data service.
  • the threshold is 10 seconds, the smart terminal can display whether the user needs to close the dialog box of the WeChat application, and the user can select whether to close the WeChat application and restart the WeChat application process.
  • the smart terminal updates the offloading policy according to the obtained response time of the wireless local area network to the WeChat data service, so that the WeChat data service needs to be transmitted through the cellular network accessed by the first APN in the updated offloading policy
  • the smart terminal can acquire the first APN without closing the WeChat application.
  • the link to the cellular network that is accessed also reacquires a new link to the server that provides the WeChat application. It should be noted that if the obtained response time of the wireless local area network to the WeChat data service is less than the second threshold, the WeChat data service continues to be transmitted through the wireless local area network.
  • Step 2074 Determine the first data packet and the second data packet according to the updated traffic distribution policy.
  • the first data packet and the second data packet are determined according to the updated traffic distribution policy, and the data packet that is used by the first APN is required to be transmitted by the first APN.
  • the data packet of the second data packet for the Youku video application needs to be transmitted through the wireless local area network.
  • the updated traffic distribution policy records that the Youku video data service is transmitted through the wireless local area network, and the WeChat application data service is transmitted through the cellular network accessed by the first APN.
  • Step 208 The data packet of the data service is transmitted from the virtual interface to the cellular network interface or the wireless local area network interface accessed by the first APN.
  • the data packet of the data service read by the client application from the character device driver includes the data packet of the WeChat application and the data packet of the Youku video application.
  • the data packet of the current Youku video application is a data packet that needs to be transmitted through the wireless local area network
  • the data packet of the WeChat application is a data packet that needs to be transmitted through the cellular network accessed by the first APN.
  • the smart terminal establishes a socket interface for the WeChat data service and binds to the cellular network interface 306 accessed by the first APN, and then the character device driver 304 reads the virtual interface 303.
  • the data packet of the WeChat application the client application 305 reads the data packet of the WeChat application from the character device driver 304, the data packet of the WeChat application enters the user state from the kernel mode, and transmits the data packet of the WeChat application to the
  • the first APN accesses the cellular network interface 306, and then sends the data packet of the WeChat application to the cellular network accessed by the first APN by using a data proxy (Proxy).
  • the smart terminal establishes a socket interface for the Youku video data service, and binds to the wireless local area network interface 307, and then the character device driver 304 reads the data packet of the Youku video application from the virtual interface 303, and the client application 305 slave character device
  • the driver 304 reads the data packet of the Youku video application, and the data packet of the Youku video application enters the user state from the kernel mode, and transmits the data packet of the Youku video application to the wireless local area network interface 307, and then the Youku video
  • the application's data packets are sent to the WLAN via a data agent (Proxy) in a socket.
  • the intelligent terminal updates the offloading policy according to the response time of the cellular network accessed by the first APN and the wireless local area network to the data service, and then re-routes the data service according to the updated offloading policy.
  • the intelligent terminal splits the data service according to the offloading policy, and can realize the intelligentization and refinement of the data service transmitted on the cellular network and the wireless local area network accessed by the first APN.
  • Step 209 Receive a data packet sent by a cellular network or a wireless local area network accessed by the first APN.
  • the cellular network interface 501 accessed by the first APN receives the data packet of the WeChat application sent by the cellular network accessed by the first APN, and the client application 504 establishes the access by the first APN.
  • the socket interface of the cellular network acquires the data packet of the WeChat application.
  • the client application acquires data packets of different applications through socket interfaces established on different networks.
  • the client application 504 converts the data packet of the WeChat application into a data packet of the WeChat application in the form of IP through a data proxy (Proxy), and the client application 504 writes the data packet of the WeChat application in the IP format to the character device driver 505, in the form of IP.
  • the data packet of the WeChat application enters the kernel state from the user mode, and the character device driver 505 writes the data packet of the WeChat application in the IP form to the virtual interface 506, and the virtual interface 506 passes the data packet of the WeChat application in the IP format through the TCP/IP protocol stack 503. Routed to WeChat application process 507.
  • the client application 504 acquires the data packet of the WeChat application through a socket interface established in the wireless local area network, and the client application 504 passes the data agent ( Proxy) converts the data packet of Youku video application into the data packet of Youku video application in IP form, client application 504 writes the data packet of Youku video application in IP form into character device driver 505, data of Youku video application in IP form The packet enters the kernel mode from the user mode, and the character device driver 505 writes the data packet of the Youku video application in the IP format to the virtual interface 506, and the virtual interface 506 routes the data packet of the Youku video application in the IP format to the TCP/IP protocol stack 503. Youku video application process 507.
  • the data packet received by the virtual interface 505 includes a data packet sent by the cellular network accessed by the first APN and a data packet sent by the wireless local area network.
  • the Youku video application and the WeChat application assumed in the embodiment of the present invention are only illustrative, and the actual application may also be other data service applications, and the Youku video application and the WeChat application can simultaneously access the cellular in the first APN.
  • the transmission on the network can also be transmitted on the WLAN at the same time, which is not limited in this embodiment of the present invention.
  • the data processing method provided by the embodiment of the present invention is applied to an intelligent terminal, and when the smart terminal accesses After the WLAN, the first APN is established, and the first APN is different from the default APN of the smart terminal, and the first APN accesses the cellular network, and then accesses the first APN according to the wireless local area network.
  • the response time and the offloading policy of the data service of the cellular network, the data service of the smart terminal is transmitted in the cellular network in which the first APN is accessed by the wireless local area network, and the prior art is compared with the prior art.
  • the data processing method of the present invention may not modify the operating system on the read-only memory (ROM) of the smart terminal, or obtain the administrator authority of the smart terminal, so that even if the smart terminal is connected to the wireless local area network, even the default APN and the cellular
  • the connection of the network is disconnected, and the cellular network can also be accessed, so that the intelligent terminal has the network concurrency function, which can effectively improve the versatility of the network concurrency function on the intelligent terminal, and can realize the cellular service in which the data service is accessed by the first APN.
  • Intelligent and refined transmission of the network and the wireless local area network and load balancing of the intelligent terminal data stream may not modify the operating system on the read-only memory (ROM) of the smart terminal, or obtain the administrator authority of the smart terminal, so that even if the smart terminal is connected to the wireless local area network, even the default APN and the cellular
  • the network concurrency function which can effectively improve the versatility of the network concurrency function on the intelligent terminal, and can realize the cellular service in which
  • An embodiment of the present invention provides an intelligent terminal 60, as shown in FIG. 6, including:
  • the first access unit 601 is configured to access a wireless local area network.
  • the first establishing unit 602 is configured to establish a first APN, where the first APN is different from the default APN of the smart terminal, and the first APN is used to implement data service access of the cellular network when accessing the wireless local area network.
  • the second access unit 603 is configured to access the cellular network by using the first APN.
  • the transmitting unit 604 is configured to perform data transmission of the smart terminal in the wireless network and the cellular network accessed by the first APN.
  • the first APN is established, and the first APN accesses the cellular network, and the data service is performed on the wireless local area network and the cellular network accessed by the first APN.
  • the operating system on the read-only memory (ROM) of the smart terminal may not be modified, and the administrator authority of the smart terminal may not be acquired, so that even if the smart terminal is connected to the wireless local area network, even the default APN and the cellular network are used.
  • the connection is disconnected, and the cellular network can also be accessed, so that the intelligent terminal has the network concurrency function, which can improve the versatility of the network concurrency function on the intelligent terminal.
  • the smart terminal 60 further includes:
  • the second establishing unit 605 is configured to establish a virtual interface, so that the data service can be transmitted to the wireless local area network interface or the cellular network interface of the first APN access by using the virtual interface.
  • the setting unit 606 is configured to set an internet protocol IP routing table, where the IP routing table records a default route as a private IP address of the virtual interface.
  • the transmission unit 604 is specifically configured to:
  • the traffic offloading policy records a data service type currently required to be transmitted by the cellular network accessed by the first APN, and a data service type that needs to be transmitted by using the wireless local area network.
  • the smart terminal 60 further includes:
  • the first obtaining unit 607 is configured to acquire a response time of the first data service that is accessed by the first APN, and the first data service is any one of data services running on the smart terminal.
  • the data service type corresponding to the first data service is a data service type that is currently required to be transmitted by the cellular network accessed by the first APN.
  • the first update unit 608 is configured to: if the response time of the cellular network accessed by the first APN to the first data service is greater than or equal to the first threshold, update the traffic off policy, so that the updated traffic split policy, the first
  • the data service type corresponding to the data service is a type of data service that needs to be transmitted through the wireless local area network.
  • the smart terminal 60 further includes:
  • the second obtaining unit 609 is configured to acquire a response time of the WLAN to the second data service, where the second data service is any one of data services running on the smart terminal, and the second data service corresponds to
  • the data service type is a type of data service that needs to be transmitted through the wireless local area network.
  • the second update unit 6010 is configured to: if the wireless local area network responds to the second data service
  • the data traffic service type corresponding to the second data service is a data service type that is currently required to be transmitted by the cellular network accessed by the first APN in the updated traffic policy.
  • the transmission unit 604 is specifically configured to:
  • the data packet received by the virtual interface is sent to the corresponding data service process, where the data packet received by the virtual interface includes a data packet sent by the cellular network accessed by the first APN and data sent by the wireless local area network. package.
  • the embodiment of the present invention provides a data processing system 70, as shown in FIG. 8, including:
  • the smart terminal 701 is configured to access a wireless local area network; the first APN is established, and the first APN is different from the default APN of the smart terminal, and the first APN is used to implement cellular access when the wireless local area network is accessed. Accessing the data service of the network; accessing the cellular network through the first APN; and transmitting the data service of the intelligent terminal in the wireless network and the cellular network accessed by the first APN.
  • An embodiment of the present invention provides an intelligent terminal 80, as shown in FIG. 9, including:
  • the processor 801 is configured to access a wireless local area network.
  • the processor 801 is further configured to establish a first APN, where the first APN is different from the default APN of the smart terminal, and the first APN is used to implement data service access of the cellular network when accessing the wireless local area network.
  • the processor 801 is further configured to access the cellular network by using the first APN.
  • the receiver 802 and the transmitter 803 are configured to perform transmission of data services of the smart terminal in the wireless network and the cellular network accessed by the first APN.
  • the smart terminal accesses the wireless local area network
  • the first APN is established, and the first APN accesses the cellular network, and the wireless local area network and the first APN access the cellular network.
  • the operating system on the read-only memory (ROM) of the smart terminal may not be modified, and the administrator authority of the smart terminal may not be acquired, so that the smart terminal is connected to the wireless local area network even if the default is The connection between the APN and the cellular network is disconnected, and the cellular network can also be accessed, so that the intelligent terminal has the network concurrency function, which can improve the versatility of the network concurrency function on the intelligent terminal.
  • the processor 801 is further configured to establish a virtual interface, so that the data service can be transmitted to the wireless local area network interface or the cellular network interface of the first APN access by using the virtual interface.
  • the processor 801 is further configured to set an internet protocol IP routing table, where the IP routing table records a default route as a private IP address of the virtual interface.
  • the processor 801 is specifically configured to:
  • the traffic offloading policy records a data service type currently required to be transmitted by the cellular network accessed by the first APN, and a data service type that needs to be transmitted by using the wireless local area network.
  • the processor 801 is further configured to obtain a response time of the first data service that is performed by the cellular network that is accessed by the first APN, where the first data service is any one of data services running on the smart terminal,
  • the data service type corresponding to the first data service is a data service type that is currently required to be transmitted by the cellular network accessed by the first APN.
  • the processor 801 is further configured to: if the response time of the cellular network accessed by the first APN to the first data service is greater than or equal to the first threshold, update the traffic off policy, so that the updated traffic split policy, the first
  • the data service type corresponding to the data service is a type of data service that needs to be transmitted through the wireless local area network.
  • the processor 801 is further configured to acquire a response time of the WLAN to the second data service, where the second data service is any one of data services running on the smart terminal, and the second data service corresponds to
  • the data service type is a type of data service that needs to be transmitted through the wireless local area network.
  • the processor 801 is further configured to: if the response time of the WLAN to the second data service is greater than or equal to the second threshold, update the traffic off policy, so that the data service corresponding to the second data service in the updated traffic off policy
  • the type is a data service type that is currently required to be transmitted by the cellular network accessed by the first APN.
  • the receiver 802 is further configured to receive, by using a cellular network interface accessed by the first APN, a data packet sent by the cellular network accessed by the first APN.
  • the receiver 802 is further configured to receive, by using the wireless local area network interface, a data packet sent by the wireless local area network.
  • the processor 801 is further configured to write a data packet sent by the cellular network accessed by the first APN to the virtual interface.
  • the processor 801 is further configured to write a data packet sent by the wireless local area network to the virtual interface.
  • the processor 801 is further configured to: forward the data packet received by the virtual interface to the corresponding data service process, where the data packet received by the virtual interface includes a data packet sent by the cellular network accessed by the first APN. And a data packet sent by the wireless local area network.
  • the embodiment of the present invention provides a data processing system 90, as shown in FIG. 10, including:
  • the smart terminal 901 is configured to access a wireless local area network; the first APN is established, and the first APN is different from the default APN of the smart terminal, and the first APN is used to implement cellular access when the wireless local area network is accessed. Accessing the data service of the network; accessing the cellular network through the first APN; and transmitting the data service of the intelligent terminal in the wireless local area network and the cellular network.
  • the smart terminal provided by the embodiment of the present invention, after the smart terminal accesses the wireless local area network, establishes a first APN, and the first APN is different from the default APN of the smart terminal, and accesses the cellular network through the first APN, and then And corresponding to the first APN according to the response time and the offload policy of the wireless local area network and the cellular network accessed by the first APN to the data service,
  • the intelligent terminal according to the embodiment of the present invention may not modify the operating system on the read-only memory (ROM) of the smart terminal, in the accessing the cellular network.
  • ROM read-only memory
  • the administrator authority of the intelligent terminal so that when the smart terminal is connected to the wireless local area network, even if the default APN is disconnected from the cellular network, the cellular network can be accessed, so that the intelligent terminal has the network concurrency function, which can effectively improve the network.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the method includes the steps of the foregoing method embodiments; and the foregoing storage medium includes: a ROM, a RAM, a magnetic disk, or an optical disk, and the like, which can store program codes. medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

一种数据处理的方法、装置与系统,涉及通信领域,能够提高网络并发功能在智能终端上的通用性。所述数据处理的方法,包括:接入无线局域网;建立第一接入点名称APN,所述第一APN与所述智能终端默认的APN不同,所述第一APN用于实现接入无线局域网时蜂窝网络的数据业务接入;通过所述第一APN接入蜂窝网络;在所述无线局域网与所述第一APN接入的蜂窝网络中进行所述智能终端的数据业务的传输。本发明实施例提供的数据处理方法、装置与系统用于处理数据。

Description

一种数据处理的方法、装置及系统 技术领域
本发明涉及通信领域,尤其涉及一种数据处理的方法、装置及系统。
背景技术
随着移动互联网时代的到来和智能终端的快速普及,用户可以使用智能终端进行上网看视频、上网购物等数据业务,这样智能终端所产生的移动数据流量呈现爆发式增长,给蜂窝网络造成了前所未有的压力,所述蜂窝网络可以是基于第三代移动通信技术的网络或基于第四代移动通信技术的网络等通信网络。为了减少蜂窝网络的压力,可以将无线局域网作为蜂窝网络的补充手段,蜂窝网络和无线局域网在网络的覆盖范围、带宽及移动性等方面存在较大差异,有着各自独特的优势,因此可以将蜂窝网络和无线局域网相互融合构成异构网络实现优势互补,来为蜂窝网络的数据业务进行分流,即可以使智能终端的一部分数据业务承载在蜂窝网络,另一部分数据业务承载在无线局域网。但是,目前在蜂窝网络和无线局域网融合过程中,所有智能终端的数据业务在同一时刻往往只能承载在一个网络中,例如当智能终端接入无线局域网后,智能终端承载在蜂窝网络上的数据业务相应关闭,浏览器、视频服务等所有应用均接入无线局域网。
现有技术中,用户可以先修改智能终端只读存储器(ROM)上的操作系统,并获取智能终端的管理员权限,使得当智能终端接上无线局域网后,蜂窝网络数据业务不被关闭,即使智能终端具有网络并发功能,对于该智能终端,蜂窝网络和无线局域网可并发使用构成异构网络,然后根据OF(Open Flow,开放流)技术在智能终端的操作系统内核中加载开放流交换模块和开放流控制模块,通过开放流控制模块来对智能终端的数据业务进行分流策略控制,即使智能终端的一部分数据业务承载在蜂窝网络,另一部分数据业务承载在无线局域网。但是,在实现异构网络时所使用的智能终端必须为定制的智能终端,缺乏通用性。
发明内容
本发明的实施例提供一种数据处理的方法、装置及系统,能够提高网络并发功能在智能终端上的通用性。
为达到上述目的,本发明的实施例采用如下技术方案:
第一方面,提供一种数据处理的方法,用于智能终端,包括:
接入无线局域网;
建立第一APN,所述第一接入点名称APN与所述智能终端默认的APN不同,所述第一APN用于实现接入无线局域网时蜂窝网络的数据业务接入;
通过所述第一APN接入蜂窝网络;
在所述无线局域网与所述第一APN接入的蜂窝网络中进行所述智能终端的数据业务的传输。
结合第一方面,在第一种可实现方式中,
在所述无线局域网与所述第一APN接入的蜂窝网络中进行所述智能终端的数据业务的传输之前,所述方法还包括:
建立虚拟接口,使得所述数据业务能够通过所述虚拟接口传输到无线局域网接口或所述第一APN接入的蜂窝网络接口;
设置互联网协议IP路由表,所述IP路由表记录有默认路由为所述虚拟接口的私有IP地址。
结合第一种可实现方式,在第二种可实现方式中,
所述在所述无线局域网与所述第一APN接入的蜂窝网络中进行所述智能终端的数据业务的传输包括:
根据所述IP路由表将所述数据业务路由到所述虚拟接口;
根据分流策略确定第一数据包和第二数据包,所述第一数据包为需要通过所述第一APN接入的蜂窝网络传输的数据包,所述第二数据包为需要通过所述无线局域网传输的数据包,所述分流策略记录当前需要用所述第一APN接入的蜂窝网络传输的数据业务类型及需要用所述无线局域网传输的数据业务类型;
将所述第一数据包从所述虚拟接口传输到所述第一APN接入的蜂窝网络接口,以便于所述第一数据包通过所述第一APN接入的蜂窝网络接口传输至所述第一APN接入的蜂窝网络;
将所述第二数据包从所述虚拟接口传输到所述无线局域网接口,以便于所述第二数据包通过所述无线局域网接口传输至所述无线局域网。
结合第二种可实现方式,在第三种可实现方式中,
在所述根据分流策略确定第一数据包和第二数据包之前,所述方法还包括:
获取所述第一APN接入的蜂窝网络对第一数据业务的响应时间,所述第一数据业务为智能终端上运行的数据业务中的任意一种,所述第一数据业务对应的数据业务类型为当前需要通过所述第一APN接入的蜂窝网络传输的数据业务类型;
若所述第一APN接入的蜂窝网络对第一数据业务的响应时间大于或等于第一阈值,更新分流策略,使得更新后的分流策略中,所述第一数据业务对应的数据业务类型为当前需要通过所述无线局域网传输的数据业务类型。
结合第二种可实现方式,在第四种可实现方式中,
在所述根据分流策略确定第一数据包和第二数据包之前,所述方法还包括:
获取所述无线局域网对第二数据业务的响应时间,所述第二数据业务为智能终端上运行的数据业务中的任意一种,所述第二数据业务对应的数据业务类型为当前需要通过所述无线局域网传输的数据业务类型;
若所述无线局域网对第二数据业务的响应时间大于或等于第二阈值,更新分流策略,使得更新后的分流策略中,所述第二数据业务对应的数据业务类型为当前需要通过所述第一APN接入的蜂窝网络传输的数据业务类型。
结合第一方面、第一至第四种可实现方式,在第五种可实现方式中,
所述在所述无线局域网与所述第一APN接入的蜂窝网络中进行所述智能终端的数据业务的传输包括:
通过所述第一APN接入的蜂窝网络接口接收所述第一APN接入的蜂窝网络发送的数据包;
通过所述无线局域网接口接收所述无线局域网发送的数据包;
将所述第一APN接入的蜂窝网络发送的数据包写入到所述虚拟接口;
将所述无线局域网发送的数据包写入到所述虚拟接口;
将所述虚拟接口接收的数据包路由到所述相应的数据业务进程,所述虚拟接口接收的数据包包括所述第一APN接入的蜂窝网络发送的数据包和所述无线局域网发送的数据包。
第二方面,提供一种智能终端,包括:
第一接入单元,用于接入无线局域网;
第一建立单元,用于第一接入点名称APN,所述第一APN与所述智能终端默认的APN不同,所述第一APN用于实现接入无线局域网时蜂窝网络的数据业务接入;
第二接入单元,用于通过所述第一APN接入蜂窝网络;
传输单元,用于在所述无线局域网与所述第一APN接入的蜂窝网络中进行所述智能终端的数据业务的传输。
结合第二方面,在第一种可实现方式中,
所述智能终端还包括:
第二建立单元,用于建立虚拟接口,使得所述数据业务能够通过所述虚拟接口传输到无线局域网接口或所述第一APN接入的蜂窝网络接口;
设置单元,用于设置互联网协议IP路由表,所述IP路由表记录有默认路由为所述虚拟接口的私有IP地址。
结合第一种可实现方式,在第二种可实现方式中,
所述传输单元具体用于:
根据所述IP路由表将所述数据业务路由到所述虚拟接口;
根据分流策略确定第一数据包和第二数据包,所述第一数据包为需要通过所述第一APN接入的蜂窝网络传输的数据包,所述第二数据包为需要通过所述无线局域网传输的数据包,所述分流策略记录当前需要用所述第一APN接入的蜂窝网络传输的数据业务类型及需要用所述无线局域网传输的数据业务类型;
将所述第一数据包从所述虚拟接口传输到所述第一APN接入的蜂窝网络接口,以便于所述第一数据包通过所述第一APN接入的蜂窝网络接口传输至所述第一APN接入的蜂窝网络;
将所述第二数据包从所述虚拟接口传输到所述无线局域网接口,以便于所述第二数据包通过所述无线局域网接口传输至所述无线局域网。
结合第二种可实现方式,在第三种可实现方式中,
所述智能终端还包括:
第一获取单元,用于获取所述第一APN接入的蜂窝网络对第一数据业务的响应时间,所述第一数据业务为智能终端上运行的数据业务中的任意一种,所述第一数据业务对应的数据业务类型为当前需要通过所述第一APN接入的蜂窝网络传输的数据业务类型;
第一更新单元,用于若所述第一APN接入的蜂窝网络对第一数据业务的响应时间大于或等于第一阈值,更新分流策略,使得更新后的分流策略中,所述第一数据业务对应的数据业务类型为当前需要通过所述无线局域网传输的数据业务类型。
结合第二种可实现方式,在第四种可实现方式中,
所述智能终端还包括:
第二获取单元,用于获取所述无线局域网对第二数据业务的响应时间,所述第二数据业务为智能终端上运行的数据业务中的任意一种,所述第二数据业务对应的数据业务类型为当前需要通过所述无线局域网传输的数据业务类型;
第二更新单元,用于若所述无线局域网对第二数据业务的响应时间大于或等于第二阈值,更新分流策略,使得更新后的分流策略中,所述第二数据业务对应的数据业务类型为当前需要通过所述第一APN接入的蜂窝网络传输的数据业务类型。
结合第二方面、第一至第四种可实现方式,在第五种可实现方式中,
所述传输单元具体用于:
通过所述第一APN接入的蜂窝网络接口接收所述第一APN接入的蜂窝网络发送的数据包;
通过所述无线局域网接口接收所述无线局域网发送的数据包;
将所述第一APN接入的蜂窝网络发送的数据包写入到所述虚拟接口;
将所述无线局域网发送的数据包写入到所述虚拟接口;
将所述虚拟接口接收的数据包路由到所述相应的数据业务进程,所述虚拟接口接收的数据包包括所述第一APN接入的蜂窝网络发送的数据包和所述无线局域网发送的数据包。
本发明的实施例提供一种数据处理的方法、装置与系统。所述数据处理方法,包括:接入无线局域网;建立第一接入点名称APN,所述第一APN与所述智能终端默认的APN不同,所述第一APN用于实现接入无线局域网时蜂窝网络的数据业务接入;通过所述第一APN接入蜂窝网络;在所述无线局域网与所述第一APN接入的蜂窝网络中进行所述智能终端的数据业务的传输。这样一来,智能终端在接入无线局域网,建立第一APN,通过所述第一APN接入蜂窝网络,在所述无线局域网与所述第一APN接入的蜂窝网络中进行数据业务的传输,相对于现有技术,可以不修改智能终端只读存储器(ROM)上的操作系统,也不必获取智能终端的管理员权限,使得智能终端与无线局域网连接时,即使默认的APN与蜂窝网络的连接断开,也可以接入蜂窝网络,使智能终端具有网络并发功能,能够提高网络并发功能在智能终端上的通用性。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供一种数据处理方法流程图;
图2为本发明实施例提供另一种数据处理方法流程图;
图3为本发明实施例提供一种数据发送流程图;
图4为本发明实施例提供又一种数据处理方法流程图;
图5为本发明实施例提供一种数据接收流程图;
图6为本发明实施例提供一种智能终端结构示意图;
图7为本发明实施例提供另一种智能终端结构示意图;
图8为本发明实施例提供一种数据处理系统示意图;
图9为本发明实施例提供又一种智能终端结构示意图;
图10为本发明实施例提供另一种数据处理系统示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例提供一种数据处理的方法,用于智能终端,如图1所示,包括:
步骤101、接入无线局域网。
在本发明实施例中假设智能终端先通过智能终端默认的APN(Access Point Name,接入点名称)接入蜂窝网络,实现智能终端与蜂窝网络之间数据业务的传输,当智能终端接入无线局域网后,智能终端承载在默认的APN接入的蜂窝网络上的数据业务会相应关闭,即断开了与蜂窝网络的数据业务连接,则智能终端只通过无线局域网进行数据业务的传输。
所述APN是用户在通过智能终端上网时需要配置的一个参数,它决定了用户的智能终端通过哪种接入方式来访问网络,可以用来标识GPRS(General Packet Radio Service,通用分组无线服务)的业务种类。APN目前分为两大类,通过GPRS访问WAP(Wireless Application Protocol,无线应用协议)业务和除了WAP业务以外的服务业务。当接入蜂窝网络的APN不同时,蜂窝网络会根据相应的APN对智能终端提供不同的业务,例如,智能终端的APN设置为CMWAP,对应访问的是中国移动梦网,智能终端的APN设置为CMNET时,对应访问的是互连网。APN在3GPP规范TS23.003 Clause 9中进行了详细定义及说明,本实施例对此不再赘述。
步骤102、建立第一接入点名称APN,所述第一APN与所述智能终端 默认的APN不同,所述第一APN用于实现接入无线局域网时蜂窝网络的数据业务接入。
步骤103、通过所述第一APN接入蜂窝网络。
步骤104、在所述无线局域网与所述第一APN接入的蜂窝网络中进行所述智能终端的数据业务的传输。
在无线局域网与第一APN接入的蜂窝网络中进行所述智能终端的数据业务的传输之前,该智能终端先建立虚拟接口,同时设置IP(Internet Protocol,互联网协议)路由表,将所述IP路由表记录的默认路由设置为所述虚拟接口的私有IP地址,即将所述IP路由表记录的下一跳地址设置为所述虚拟接口的私有IP地址,所述下一跳就是指路由器路由选择的下面一次跳跃,即需要将数据包传输的下一个地址,根据该IP路由表将智能终端的数据业务路由到所述虚拟接口,使得所述数据业务能够通过该虚拟接口传输到无线局域网接口或第一APN接入的蜂窝网络接口,所述无线局域网接口和第一APN接入的蜂窝网络接口为该智能终端的物理接口,其中,需要根据分流策略来确定所述智能终端的数据业务承载在无线局域网或第一APN接入的蜂窝网络,并根据无线局域网或第一APN接入的蜂窝网络对该智能终端的数据业务的响应时间来分流。
这样一来,智能终端在接入无线局域网之后,建立第一接入点名称APN,通过所述第一APN接入蜂窝网络,在所述无线局域网与所述第一APN接入的蜂窝网络中进行数据业务的传输,相对于现有技术,可以不修改智能终端只读存储器(ROM)上的操作系统,也不必获取智能终端的管理员权限,使得智能终端与无线局域网连接时,即使默认的APN与蜂窝网络的连接断开,也可以接入蜂窝网络,使智能终端具有网络并发功能,能够有效提高网络并发功能在智能终端上的通用性。
本发明实施例提供一种数据处理的方法,用于智能终端,如图2所示,包括:
步骤201、接入无线局域网。
当用户处于具有无线局域网覆盖的区域时,假设智能终端的用户界面为 触摸屏,且具有接入无线局域网功能,则用户可以单击触发该智能终端的用户界面显示的接入无线局域网标志(例如WiFi),触发成功后,智能终端的用户界面接收该触发信号,将该智能终端接入用户所处的无线局域网覆盖的区域的该无线局域网。实际应用中,若智能终端有按键,用户还可以按压所述按键,使所述智能终端接入无线局域网。智能终端还可自动接入无线局域网。本发明实施例只是示意性说明,对此不作限定。
步骤202、建立第一APN。
本发明实施例提供的数据处理的方法是由运行在智能终端上的特定应用来实现的,本发明实施例假设智能终端安装该特定应用,所述特定应用可以是客户端应用,则所述智能终端的用户界面显示该客户端应用图标,当用户需要使智能终端在异构网络中进行数据传输时,用户可以触发该智能终端的用户界面显示的客户端应用图标,以便于实现该智能终端的网络并发功能,触发成功后,该智能终端运行客户端应用程序,建立第一APN,所述第一APN与该智能终端默认的APN不同,所述第一APN用于实现接入无线局域网时蜂窝网络的接入,所述第一APN可以是MMS APN(Multimedia Messaging Service Access Point Name,多媒体信息服务接入点名称),还可以是IMS APN(Internet Protocol Multimedia Subsystem Access Point Name,互联网协议多媒体子系统接入点名称),或GPS APN(Global Positioning System Access Point Name,全球定位系统接入点名称)等,实际应用中,通常使用MMS APN接入蜂窝网络,通常情况下,所述默认的接入点名称APN可以是中国联通3gnet、中国电信互联网ctnet、中国移动互联网cmnet等,当该智能终端成功建立所述第一APN后,可以通过该第一APN接入蜂窝网络,所述蜂窝网络可以是采用第二代技术的蜂窝网络或采用第三代技术的蜂窝网络,例如GPRS、EDGE(Enhanced Data Rate for Global System for Mobile Communications Evolution,增强型数据速率全球移动通信系统演进)网络、3G(3rd-generation,第三代移动通信技术)网络和LTE(Long Term Evolution,长期演进)网络等。
步骤203、通过第一APN接入蜂窝网络。
当用户处于具有蜂窝网络覆盖的区域时,智能终端具有接入蜂窝网络功 能,该智能终端运行客户端应用,建立第一APN后,智能终端通过第一APN接入蜂窝网络,则用户可以触发智能终端的用户界面显示的接入蜂窝网络标志数据上网,使智能终端通过第一APN接入用户所处的蜂窝网络覆盖的区域的蜂窝网络。此时,智能终端同时接入无线局域网和第一APN接入的蜂窝网络,即在智能终端上无线局域网功能和蜂窝网络功能并发,在所述无线局域网与所述第一APN接入的蜂窝网络中进行该智能终端的数据业务的传输。
步骤204、建立智能终端的虚拟接口。
通过智能终端上安装的客户端应用,调用该智能终端的操作系统函数API(Application Programming Interface,应用程序编程接口)在内核态建立虚拟接口,所述虚拟接口用于将该智能终端的数据业务的数据包能够通过该虚拟接口传输到无线局域网接口或所述第一APN接入的蜂窝网络接口,所述无线局域网接口由无线局域网WIFI芯片和驱动实现,是该智能终端接入无线局域网的物理接口,所述蜂窝网络接口由射频芯片等实现,是该智能终端接入蜂窝网络的物理接口。同时,将该虚拟接口的IP地址配置为私有IP地址。通常情况下,所述私有IP地址可以是A类、B类或C类,A类私有IP地址范围为10.0.0.0~10.255.255.255/8,B类私有IP地址的范围为172.16.0.0~172.31.255.255/12,C类私有IP地址的范围为192.168.0.0~192.168.255.255/16。在实际应用中,本发明实施例可以使用C类私有IP地址的范围内任意一个私有IP地址,且不同的智能终端可以使用C类私有IP地址的范围内相同的私有IP地址。
步骤205、设置互联网协议IP路由表。
该智能终端将所述虚拟接口的IP地址配置为私有IP地址,设置IP路由表,即将该IP路由表记录的默认路由设置为所述虚拟接口的私有IP地址,即将所述IP路由表记录的下一跳地址设置为所述虚拟接口的私有IP地址。
步骤206、将数据业务路由到虚拟接口。
用户可以单击触发智能终端的用户界面显示的应用图标,该智能终端接收该触发信号,启动相应的应用进程,产生数据业务,所述应用进程可以是视频类应用进程或即时聊天类应用进程等,则用户可以使用智能终端观看视 频或聊天。示例的,如图3所示,将应用进程301,如优酷视频等应用产生的数据业务经过TCP/IP(Transmission Control Protocol/Internet Protocol,传输控制协议/互联网协议)协议栈302封装后,得到IP形式的数据业务的数据包,根据所述IP路由表记录的下一跳地址将所述IP形式的数据业务的数据包路由到所述虚拟接口303,此时该虚拟接口303接收到不同的应用的IP形式的数据业务的数据包,然后字符设备驱动304从虚拟接口303读取所述IP形式的数据业务的数据包,客户端应用305从字符设备驱动304读取所述IP形式的数据业务的数据包,所述IP形式的数据业务的数据包从内核态进入用户态,所述内核态(又成核心态)为用户不具有特权对智能终端进行操作的执行状态,所述用户态为用户具有特权对智能终端进行操作的执行状态。在用户态执行时,进程所能访问的内存空间和对象受到限制,进程占用的处理机是可被抢占的;而在内核态执行时,则能访问所有的内存空间和对象,进程占用的处理机是不允许被抢占的。该客户端应用305再根据分流策略对数据业务的数据包进行分流,使得通过无线局域网接口307将数据业务的数据包传输至无线局域网或通过所述第一APN接入的蜂窝网络接口306将数据业务的数据包传输至第一APN接入的蜂窝网络。
步骤207、根据分流策略确定第一数据包和第二数据包。
所述分流策略记录当前需要用所述第一APN接入的蜂窝网络传输的数据业务类型及需要用所述无线局域网传输的数据业务类型,智能终端根据该分流策略即可以确定第一数据包和第二数据包,所述第一数据包为需要通过所述第一APN接入的蜂窝网络传输的数据包,所述第二数据包为需要通过所述无线局域网传输的数据包。
示例的,根据分流策略确定第一数据包和第二数据包,如图4所示,具体包括以下步骤:
步骤2071、初始化分流策略。
所述分流策略记录初始的需要用所述第一APN接入的蜂窝网络传输的数据业务类型及需要用所述无线局域网传输的数据业务类型。所述数据业务类型包括浏览器类应用、聊天类应用、视频类应用等。
示例的,假设第一数据业务为视频类应用产生的数据业务,第二数据业 务为聊天类应用产生的数据业务,该智能终端将视频类数据业务通过所述第一APN接入的蜂窝网络传输,将聊天类数据业务通过所述无线局域网传输,则初始化分流策略,所述分流策略记录将视频类数据业务通过所述第一APN接入的蜂窝网络传输,将聊天类数据业务通过所述无线局域网传输。
步骤2072、根据初始化的分流策略确定第一数据包和第二数据包。
具体的,假设第一数据业务为优酷视频应用产生的数据业务,第二数据业务为微信应用产生的数据业务,该智能终端将优酷视频应用数据业务通过所述第一APN接入的蜂窝网络传输,将微信应用数据业务通过所述无线局域网传输,则初始化分流策略,所述分流策略记录将优酷视频数据业务通过所述第一APN接入的蜂窝网络传输,将微信应用数据业务通过所述无线局域网传输,则根据初始化的分流策略确定第一数据包和第二数据包,所述第一数据包为优酷视频应用的数据包,需要通过所述第一APN接入的蜂窝网络传输,所述第二数据包为微信应用的数据包,需要通过所述无线局域网传输。
步骤2073、在数据传输过程中,根据网络对数据业务的响应时间更新分流策略。
获取所述第一APN接入的蜂窝网络对第一数据业务的响应时间,所述第一数据业务对应的数据业务类型为当前需要通过所述第一APN接入的蜂窝网络传输的数据业务类型,若该第一APN接入的蜂窝网络对第一数据业务的响应时间大于或等于第一阈值,更新分流策略,使得更新后的分流策略中,所述第一数据业务对应的数据业务类型为当前需要通过所述无线局域网传输的数据业务类型,所述第一阈值为第一APN接入的蜂窝网络对第一数据业务的响应时间的最长时间,通常情况下,该第一阈值可以为5秒。
获取所述无线局域网对第二数据业务的响应时间,所述第二数据业务对应的数据业务类型为当前需要通过所述无线局域网传输的数据业务类型,若所述无线局域网对第二数据业务的响应时间大于或等于第二阈值,更新分流策略,使得更新后的分流策略中,所述第二数据业务对应的数据业务类型为当前需要通过所述第一APN接入的蜂窝网络传输的数据业务类型。所述第二阈值为无线局域网对第二数据业务的响应时间的最长时间,通常情况下, 该第二阈值可以为10秒。
需要说明的是,所述更新过程可以是周期进行的,也可以是随机进行的。
示例的,假设该智能终端获取所述第一APN接入的蜂窝网络对优酷视频应用产生的数据业务的响应时间,若该第一APN接入的蜂窝网络对优酷视频数据业务的响应时间大于或等于第一阈值,所述第一阈值可以为第一APN接入的蜂窝网络对优酷视频数据业务的响应时间的最长时间,通常情况下,所述第一阈值可以为5秒,则智能终端可以显示是否需要关闭优酷视频应用的对话框,用户可以自主选择确定是否需要关闭优酷视频应用,重新启动优酷视频应用进程,还可以在不关闭优酷视频应用时,智能终端可以重新获取到与提供优酷视频业务的网站的新链接,即智能终端可以自动重新获取到优酷视频,用户可以重新观看所述优酷视频,且若提供所述优酷视频的网站具有储存在用户本地终端上的数据小型文本文件(Cookie)功能,用户可以从当前的观看进度继续观看优酷视频。所述Cookie指网站为了辨别用户身份、进行会话跟踪而储存用户本地智能终端上的数据,有时也用复数形式Cookies。该智能终端根据获取到的所述第一APN接入的蜂窝网络对优酷视频数据业务的响应时间更新分流策略,使得更新后的分流策略中,所述优酷视频数据业务需要通过所述无线局域网传输。需要说明的是,若获取到的所述第一APN接入的蜂窝网络对优酷视频数据业务的响应时间小于第一阈值,则优酷视频数据业务继续通过所述第一APN接入的蜂窝网络传输。
假设该智能终端获取所述无线局域网对微信应用产生的数据业务的响应时间,若用户在移动的过程中在用微信进行语音聊天,此时用户有可能已不在所述无线局域网的网络覆盖范围内,则所述无线局域网对微信数据业务的响应时间大于或等于第二阈值,所述第二阈值可以为所述无线局域网对微信数据业务的响应时间的最长时间,通常情况下,所述第二阈值为10秒,则智能终端可以显示是否需要用户关闭微信应用的对话框,用户可以自主选择确定是否需要关闭微信应用,重新启动微信应用进程。若该智能终端根据获取到的所述无线局域网对微信数据业务的响应时间更新分流策略,使得更新后的分流策略中,微信数据业务需要通过所述第一APN接入的蜂窝网络传输,则可以在不关闭微信应用的情况下,智能终端可以获取到与第一APN 接入的蜂窝网络的链接,也重新获取到与提供微信应用的服务器的新链接。需要说明的是,若获取到的所述无线局域网对微信数据业务的响应时间小于第二阈值,则微信数据业务继续通过所述无线局域网传输。
步骤2074、根据更新后的分流策略确定第一数据包和第二数据包。
示例的,根据更新后的分流策略确定第一数据包和第二数据包,假设所述第一数据包为微信应用的数据包则需要通过所述第一APN接入的蜂窝网络传输,所述第二数据包为优酷视频应用的数据包则需要通过所述无线局域网传输。所述更新后的分流策略记录将优酷视频数据业务通过所述无线局域网传输,将微信应用数据业务通过所述第一APN接入的蜂窝网络传输。
步骤208、将数据业务的数据包从虚拟接口传输到第一APN接入的蜂窝网络接口或无线局域网接口。
假设客户端应用从字符设备驱动读取的数据业务的数据包包括微信应用的数据包和优酷视频应用的数据包,当前优酷视频应用的数据包为需要通过所述无线局域网传输的数据包,当前微信应用的数据包为需要通过所述第一APN接入的蜂窝网络传输的数据包。如图3所示,该智能终端针对微信数据业务建立套接字(socket)接口,并绑定到第一APN接入的蜂窝网络接口306,然后字符设备驱动304从虚拟接口303读取所述微信应用的数据包,客户端应用305从字符设备驱动304读取所述微信应用的数据包,所述微信应用的数据包从内核态进入用户态,将所述微信应用的数据包传输到所述第一APN接入的蜂窝网络接口306,再将微信应用的数据包通过数据代理(Proxy)以套接字的方式发送至所述第一APN接入的蜂窝网络。
该智能终端针对优酷视频数据业务建立套接字接口,并绑定到无线局域网接口307,然后字符设备驱动304从虚拟接口303读取所述优酷视频应用的数据包,客户端应用305从字符设备驱动304读取所述优酷视频应用的数据包,所述优酷视频应用的数据包从内核态进入用户态,将所述优酷视频应用的数据包传输到所述无线局域网接口307,再将优酷视频应用的数据包通过数据代理(Proxy)以套接字的方式发送至无线局域网。
这样一来,智能终端根据第一APN接入的蜂窝网络和无线局域网对数据业务的响应时间更新分流策略,再根据更新后的分流策略将数据业务重新 分流,相对于现有技术,智能终端根据分流策略对数据业务进行分流,能够实现数据业务在第一APN接入的蜂窝网络和无线局域网上传输的智能化和精细化。
步骤209、接收第一APN接入的蜂窝网络或无线局域网发送的数据包。
如图5所示,假设通过所述第一APN接入的蜂窝网络接口501接收第一APN接入的蜂窝网络发送的微信应用的数据包,客户端应用504通过建立在第一APN接入的蜂窝网络的套接字(socket)接口获取微信应用的数据包,实际应用中,客户端应用通过建立在不同网络的套接字接口获取不同应用的数据包。客户端应用504通过数据代理(Proxy)将微信应用的数据包转化为IP形式的微信应用的数据包,客户端应用504将IP形式的微信应用的数据包写入字符设备驱动505,IP形式的微信应用的数据包从用户态进入内核态,字符设备驱动505将IP形式的微信应用的数据包写入虚拟接口506,虚拟接口506将IP形式的微信应用的数据包通过TCP/IP协议栈503路由到微信应用进程507。
假设通过无线局域网接口502接收无线局域网发送的优酷视频应用的数据包,客户端应用504通过建立在无线局域网的套接字(socket)接口获取微信应用的数据包,客户端应用504通过数据代理(Proxy)将优酷视频应用的数据包转化为IP形式的优酷视频应用的数据包,客户端应用504将IP形式的优酷视频应用的数据包写入字符设备驱动505,IP形式的优酷视频应用的数据包从用户态进入内核态,字符设备驱动505将IP形式的优酷视频应用的数据包写入虚拟接口506,虚拟接口506将IP形式的优酷视频应用的数据包通过TCP/IP协议栈503路由到优酷视频应用进程507。所述虚拟接口505接收的数据包包括所述第一APN接入的蜂窝网络发送的数据包和所述无线局域网发送的数据包。
需要说明是的,本发明实施例假设的优酷视频应用和微信应用只是示意性说明,实际应用中还可以是其他数据业务应用,且优酷视频应用和微信应用可以同时在第一APN接入的蜂窝网络上传输,也可以同时在无线局域网上传输,本发明实施例对此不做限定。
本发明实施例提供的数据处理方法,应用于智能终端,当智能终端接入 无线局域网后,建立第一APN,所述第一APN与所述智能终端默认的APN不同,通过所述第一APN接入蜂窝网络,再根据所述无线局域网与所述第一APN接入的蜂窝网络对数据业务的响应时间和分流策略,在所述无线局域网与所述蜂窝网络所述第一APN接入的蜂窝网络中进行所述智能终端的数据业务的传输,相对于现有技术,本发明所述的数据处理方法用户可以不修改智能终端只读存储器(ROM)上的操作系统,也不必获取智能终端的管理员权限,使得智能终端与无线局域网连接时,即使默认的APN与蜂窝网络的连接断开,也可以接入蜂窝网络,使智能终端具有网络并发功能,能够有效提高网络并发功能在智能终端上的通用性,且能够实现数据业务在所述第一APN接入的蜂窝网络和所述无线局域网上传输的智能化、精细化和实现智能终端数据流的负载均衡。
本发明实施例提供一种智能终端60,如图6所示,包括:
第一接入单元601,用于接入无线局域网。
第一建立单元602,用于建立第一APN,所述第一APN与所述智能终端默认的APN不同,所述第一APN用于实现接入无线局域网时蜂窝网络的数据业务接入。
第二接入单元603,用于通过所述第一APN接入蜂窝网络。
传输单元604,用于在所述无线局域网与所述第一APN接入的蜂窝网络中进行所述智能终端的数据业务的传输。
这样一来,智能终端在接入无线局域网后,建立第一APN,通过所述第一APN接入蜂窝网络,在所述无线局域网与所述第一APN接入的蜂窝网络中进行数据业务的传输,相对于现有技术,可以不修改智能终端只读存储器(ROM)上的操作系统,也不必获取智能终端的管理员权限,使得智能终端与无线局域网连接时,即使默认的APN与蜂窝网络的连接断开,也可以接入蜂窝网络,使智能终端具有网络并发功能,能够提高网络并发功能在智能终端上的通用性。
如图7所示,所述智能终端60还包括:
第二建立单元605,用于建立虚拟接口,使得所述数据业务能够通过所述虚拟接口传输到无线局域网接口或所述第一APN接入的蜂窝网络接口。
设置单元606,用于设置互联网协议IP路由表,所述IP路由表记录有默认路由为所述虚拟接口的私有IP地址。
所述传输单元604具体用于:
根据所述IP路由表将所述数据业务路由到所述虚拟接口。
根据分流策略确定第一数据包和第二数据包,所述第一数据包为需要通过所述第一APN接入的蜂窝网络传输的数据包,所述第二数据包为需要通过所述无线局域网传输的数据包,所述分流策略记录当前需要用所述第一APN接入的蜂窝网络传输的数据业务类型及需要用所述无线局域网传输的数据业务类型。
将所述第一数据包从所述虚拟接口传输到所述第一APN接入的蜂窝网络接口,以便于所述第一数据包通过所述第一APN接入的蜂窝网络接口传输至所述第一APN接入的蜂窝网络。
将所述第二数据包从所述虚拟接口传输到所述无线局域网接口,以便于所述第二数据包通过所述无线局域网接口传输至所述无线局域网。
所述智能终端60还包括:
第一获取单元607,用于获取所述第一APN接入的蜂窝网络对第一数据业务的响应时间,所述第一数据业务为智能终端上运行的数据业务中的任意一种,所述第一数据业务对应的数据业务类型为当前需要通过所述第一APN接入的蜂窝网络传输的数据业务类型。
第一更新单元608,用于若所述第一APN接入的蜂窝网络对第一数据业务的响应时间大于或等于第一阈值,更新分流策略,使得更新后的分流策略中,所述第一数据业务对应的数据业务类型为当前需要通过所述无线局域网传输的数据业务类型。
所述智能终端60还包括:
第二获取单元609,用于获取所述无线局域网对第二数据业务的响应时间,所述第二数据业务为智能终端上运行的数据业务中的任意一种,所述第二数据业务对应的数据业务类型为当前需要通过所述无线局域网传输的数据业务类型。
第二更新单元6010,用于若所述无线局域网对第二数据业务的响应时间 大于或等于第二阈值,更新分流策略,使得更新后的分流策略中,所述第二数据业务对应的数据业务类型为当前需要通过所述第一APN接入的蜂窝网络传输的数据业务类型。
所述传输单元604具体用于:
通过所述第一APN接入的蜂窝网络接口接收所述第一APN接入的蜂窝网络发送的数据包。
通过所述无线局域网接口接收所述无线局域网发送的数据包。
将所述第一APN接入的蜂窝网络发送的数据包写入到所述虚拟接口。
将所述无线局域网发送的数据包写入到所述虚拟接口。
将所述虚拟接口接收的数据包路由到所述相应的数据业务进程,所述虚拟接口接收的数据包包括所述第一APN接入的蜂窝网络发送的数据包和所述无线局域网发送的数据包。
本发明实施例提供一种数据处理系统70,如图8所示,包括:
智能终端701,所述智能终端701用于接入无线局域网;建立第一APN,所述第一APN与所述智能终端默认的APN不同,所述第一APN用于实现接入无线局域网时蜂窝网络的数据业务接入;通过所述第一APN接入蜂窝网络;在所述无线局域网与所述第一APN接入的蜂窝网络中进行所述智能终端的数据业务的传输。
本发明实施例提供一种智能终端80,如图9所示,包括:
处理器801,用于接入无线局域网。
所述处理器801还用于建立第一APN,所述第一APN与所述智能终端默认的APN不同,所述第一APN用于实现接入无线局域网时蜂窝网络的数据业务接入。
所述处理器801还用于通过所述第一APN接入蜂窝网络。
接收机802和发射机803,所述接收机802和所述发射机803用于在所述无线局域网与所述第一APN接入的蜂窝网络中进行所述智能终端的数据业务的传输。
这样一来,智能终端在接入无线局域网后,建立第一APN,通过所述第一APN接入蜂窝网络,在所述无线局域网与所述第一APN接入的蜂窝网络 中进行数据业务的传输,相对于现有技术,可以不修改智能终端只读存储器(ROM)上的操作系统,也不必获取智能终端的管理员权限,使得智能终端与无线局域网连接时,即使默认的APN与蜂窝网络的连接断开,也可以接入蜂窝网络,使智能终端具有网络并发功能,能够提高网络并发功能在智能终端上的通用性。
所述处理器801还用于建立虚拟接口,使得所述数据业务能够通过所述虚拟接口传输到无线局域网接口或所述第一APN接入的蜂窝网络接口。
所述处理器801还用于设置互联网协议IP路由表,所述IP路由表记录有默认路由为所述虚拟接口的私有IP地址。
所述处理器801具体用于:
根据所述IP路由表将所述数据业务路由到所述虚拟接口。
根据分流策略确定第一数据包和第二数据包,所述第一数据包为需要通过所述第一APN接入的蜂窝网络传输的数据包,所述第二数据包为需要通过所述无线局域网传输的数据包,所述分流策略记录当前需要用所述第一APN接入的蜂窝网络传输的数据业务类型及需要用所述无线局域网传输的数据业务类型。
将所述第一数据包从所述虚拟接口传输到所述第一APN接入的蜂窝网络接口,以便于所述第一数据包通过所述第一APN接入的蜂窝网络接口传输至所述第一APN接入的蜂窝网络。
将所述第二数据包从所述虚拟接口传输到所述无线局域网接口,以便于所述第二数据包通过所述无线局域网接口传输至所述无线局域网。
所述处理器801还用于获取所述第一APN接入的蜂窝网络对第一数据业务的响应时间,所述第一数据业务为智能终端上运行的数据业务中的任意一种,所述第一数据业务对应的数据业务类型为当前需要通过所述第一APN接入的蜂窝网络传输的数据业务类型。
所述处理器801还用于若所述第一APN接入的蜂窝网络对第一数据业务的响应时间大于或等于第一阈值,更新分流策略,使得更新后的分流策略中,所述第一数据业务对应的数据业务类型为当前需要通过所述无线局域网传输的数据业务类型。
所述处理器801还用于获取所述无线局域网对第二数据业务的响应时间,所述第二数据业务为智能终端上运行的数据业务中的任意一种,所述第二数据业务对应的数据业务类型为当前需要通过所述无线局域网传输的数据业务类型。
所述处理器801还用于若所述无线局域网对第二数据业务的响应时间大于或等于第二阈值,更新分流策略,使得更新后的分流策略中,所述第二数据业务对应的数据业务类型为当前需要通过所述第一APN接入的蜂窝网络传输的数据业务类型。
所述接收机802还用于通过所述第一APN接入的蜂窝网络接口接收所述第一APN接入的蜂窝网络发送的数据包。
所述接收机802还用于通过所述无线局域网接口接收所述无线局域网发送的数据包。
所述处理器801还用于将所述第一APN接入的蜂窝网络发送的数据包写入到所述虚拟接口。
所述处理器801还用于将所述无线局域网发送的数据包写入到所述虚拟接口。
所述处理器801还用于将所述虚拟接口接收的数据包路由到所述相应的数据业务进程,所述虚拟接口接收的数据包包括所述第一APN接入的蜂窝网络发送的数据包和所述无线局域网发送的数据包。
本发明实施例提供一种数据处理系统90,如图10所示,包括:
智能终端901,所述智能终端901用于接入无线局域网;建立第一APN,所述第一APN与所述智能终端默认的APN不同,所述第一APN用于实现接入无线局域网时蜂窝网络的数据业务接入;通过所述第一APN接入蜂窝网络;在所述无线局域网与所述蜂窝网络中进行所述智能终端的数据业务的传输。
本发明实施例提供的智能终端,当智能终端接入无线局域网后,建立第一APN,所述第一APN与所述智能终端默认的APN不同,通过所述第一APN接入蜂窝网络,再根据所述无线局域网与所述第一APN接入的蜂窝网络对数据业务的响应时间和分流策略,在所述无线局域网与所述第一APN 接入的蜂窝网络中进行所述智能终端的数据业务的传输,相对于现有技术,本发明实施例所述的智能终端,用户可以不修改智能终端只读存储器(ROM)上的操作系统,也不必获取智能终端的管理员权限,使得智能终端与无线局域网连接时,即使默认的APN与蜂窝网络的连接断开,也可以接入蜂窝网络,使智能终端具有网络并发功能,能够有效提高网络并发功能在智能终端上的通用性,且能够实现数据业务在所述蜂窝网络和所述无线局域网上传输的智能化和精细化。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理包括,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的 介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。

Claims (12)

  1. 一种数据处理的方法,用于智能终端,其特征在于,包括:
    接入无线局域网;
    建立第一接入点名称APN,所述第一APN与所述智能终端默认的APN不同,所述第一APN用于实现接入无线局域网时蜂窝网络的数据业务接入;
    通过所述第一APN接入蜂窝网络;
    在所述无线局域网与所述第一APN接入的蜂窝网络中进行所述智能终端的数据业务的传输。
  2. 根据权利要求1所述的方法,其特征在于,
    在所述无线局域网与所述第一APN接入的蜂窝网络中进行所述智能终端的数据业务的传输之前,所述方法还包括:
    建立虚拟接口,使得所述数据业务能够通过所述虚拟接口传输到无线局域网接口或所述第一APN接入的蜂窝网络接口;
    设置互联网协议IP路由表,所述IP路由表记录有默认路由为所述虚拟接口的私有IP地址。
  3. 根据权利要求2所述的方法,其特征在于,
    所述在所述无线局域网与所述第一APN接入的蜂窝网络中进行所述智能终端的数据业务的传输包括:
    根据所述IP路由表将所述数据业务路由到所述虚拟接口;
    根据分流策略确定第一数据包和第二数据包,所述第一数据包为需要通过所述第一APN接入的蜂窝网络传输的数据包,所述第二数据包为需要通过所述无线局域网传输的数据包,所述分流策略记录当前需要用所述第一APN接入的蜂窝网络传输的数据业务类型及需要用所述无线局域网传输的数据业务类型;
    将所述第一数据包从所述虚拟接口传输到所述第一APN接入的蜂窝网络接口,以便于所述第一数据包通过所述第一APN接入的蜂窝网络接口传输至所述第一APN接入的蜂窝网络;
    将所述第二数据包从所述虚拟接口传输到所述无线局域网接口,以便于所述第二数据包通过所述无线局域网接口传输至所述无线局域网。
  4. 根据权利要求3所述的方法,其特征在于,
    在所述根据分流策略确定第一数据包和第二数据包之前,所述方法还包括:
    获取所述第一APN接入的蜂窝网络对第一数据业务的响应时间,所述第一数据业务为智能终端上运行的数据业务中的任意一种,所述第一数据业务对应的数据业务类型为当前需要通过所述第一APN接入的蜂窝网络传输的数据业务类型;
    若所述第一APN接入的蜂窝网络对第一数据业务的响应时间大于或等于第一阈值,更新分流策略,使得更新后的分流策略中,所述第一数据业务对应的数据业务类型为当前需要通过所述无线局域网传输的数据业务类型。
  5. 根据权利要求3所述的方法,其特征在于,
    在所述根据分流策略确定第一数据包和第二数据包之前,所述方法还包括:
    获取所述无线局域网对第二数据业务的响应时间,所述第二数据业务为智能终端上运行的数据业务中的任意一种,所述第二数据业务对应的数据业务类型为当前需要通过所述无线局域网传输的数据业务类型;
    若所述无线局域网对第二数据业务的响应时间大于或等于第二阈值,更新分流策略,使得更新后的分流策略中,所述第二数据业务对应的数据业务类型为当前需要通过所述第一APN接入的蜂窝网络传输的数据业务类型。
  6. 根据权利要求2-5任意一项权利要求所述的方法,其特征在于,
    所述在所述无线局域网与所述第一APN接入的蜂窝网络中进行所述智能终端的数据业务的传输包括:
    通过所述第一APN接入的蜂窝网络接口接收所述第一APN接入的蜂窝网络发送的数据包;
    通过所述无线局域网接口接收所述无线局域网发送的数据包;
    将所述第一APN接入的蜂窝网络发送的数据包写入到所述虚拟接口;
    将所述无线局域网发送的数据包写入到所述虚拟接口;
    将所述虚拟接口接收的数据包路由到所述相应的数据业务进程,所述虚拟接口接收的数据包包括所述第一APN接入的蜂窝网络发送的数据包和所 述无线局域网发送的数据包。
  7. 一种智能终端,其特征在于,包括:
    第一接入单元,用于接入无线局域网;
    第一建立单元,用于建立第一接入点名称APN,所述第一APN与所述智能终端默认的APN不同,所述第一APN用于实现接入无线局域网时蜂窝网络的数据业务接入;
    第二接入单元,用于通过所述第一APN接入蜂窝网络;
    传输单元,用于在所述无线局域网与所述第一APN接入的蜂窝网络中进行所述智能终端的数据业务的传输。
  8. 根据权利要求7所述的智能终端,其特征在于,
    所述智能终端还包括:
    第二建立单元,用于建立虚拟接口,使得所述数据业务能够通过所述虚拟接口传输到无线局域网接口或所述第一APN接入的蜂窝网络接口;
    设置单元,用于设置互联网协议IP路由表,所述IP路由表记录有默认路由为所述虚拟接口的私有IP地址。
  9. 根据权利要求8所述的智能终端,其特征在于,
    所述传输单元具体用于:
    根据所述IP路由表将所述数据业务路由到所述虚拟接口;
    根据分流策略确定第一数据包和第二数据包,所述第一数据包为需要通过所述第一APN接入的蜂窝网络传输的数据包,所述第二数据包为需要通过所述无线局域网传输的数据包,所述分流策略记录当前需要用所述第一APN接入的蜂窝网络传输的数据业务类型及需要用所述无线局域网传输的数据业务类型;
    将所述第一数据包从所述虚拟接口传输到所述第一APN接入的蜂窝网络接口,以便于所述第一数据包通过所述第一APN接入的蜂窝网络接口传输至所述第一APN接入的蜂窝网络;
    将所述第二数据包从所述虚拟接口传输到所述无线局域网接口,以便于所述第二数据包通过所述无线局域网接口传输至所述无线局域网。
  10. 根据权利要求9所述的智能终端,其特征在于,
    所述智能终端还包括:
    第一获取单元,用于获取所述第一APN接入的蜂窝网络对第一数据业务的响应时间,所述第一数据业务为智能终端上运行的数据业务中的任意一种,所述第一数据业务对应的数据业务类型为当前需要通过所述第一APN接入的蜂窝网络传输的数据业务类型;
    第一更新单元,用于若所述第一APN接入的蜂窝网络对第一数据业务的响应时间大于或等于第一阈值,更新分流策略,使得更新后的分流策略中,所述第一数据业务对应的数据业务类型为当前需要通过所述无线局域网传输的数据业务类型。
  11. 根据权利要求9所述的智能终端,其特征在于,
    所述智能终端还包括:
    第二获取单元,用于获取所述无线局域网对第二数据业务的响应时间,所述第二数据业务为智能终端上运行的数据业务中的任意一种,所述第二数据业务对应的数据业务类型为当前需要通过所述无线局域网传输的数据业务类型;
    第二更新单元,用于若所述无线局域网对第二数据业务的响应时间大于或等于第二阈值,更新分流策略,使得更新后的分流策略中,所述第二数据业务对应的数据业务类型为当前需要通过所述第一APN接入的蜂窝网络传输的数据业务类型。
  12. 根据权利要求8至11任意一项权利要求所述的智能终端,其特征在于,
    所述传输单元具体用于:
    通过所述第一APN接入的蜂窝网络接口接收所述第一APN接入的蜂窝网络发送的数据包;
    通过所述无线局域网接口接收所述无线局域网发送的数据包;
    将所述第一APN接入的蜂窝网络发送的数据包写入到所述虚拟接口;
    将所述无线局域网发送的数据包写入到所述虚拟接口;
    将所述虚拟接口接收的数据包路由到所述相应的数据业务进程,所述虚拟接口接收的数据包包括所述第一APN接入的蜂窝网络发送的数据包和所 述无线局域网发送的数据包。
PCT/CN2015/071554 2014-01-26 2015-01-26 一种数据处理的方法、装置及系统 WO2015110080A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP15740929.3A EP3099111B1 (en) 2014-01-26 2015-01-26 Data processing method, device and system
US15/219,502 US10051607B2 (en) 2014-01-26 2016-07-26 Data processing method, apparatus and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410036975.XA CN103763754B (zh) 2014-01-26 2014-01-26 一种数据处理的方法、装置及系统
CN201410036975.X 2014-01-26

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/219,502 Continuation US10051607B2 (en) 2014-01-26 2016-07-26 Data processing method, apparatus and system

Publications (1)

Publication Number Publication Date
WO2015110080A1 true WO2015110080A1 (zh) 2015-07-30

Family

ID=50530897

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/071554 WO2015110080A1 (zh) 2014-01-26 2015-01-26 一种数据处理的方法、装置及系统

Country Status (4)

Country Link
US (1) US10051607B2 (zh)
EP (1) EP3099111B1 (zh)
CN (1) CN103763754B (zh)
WO (1) WO2015110080A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763754B (zh) 2014-01-26 2017-07-14 华为技术有限公司 一种数据处理的方法、装置及系统
CN106576285B (zh) * 2014-07-21 2020-09-04 华为技术有限公司 一种apn配置方法、用户设备和配置服务器
US10285110B2 (en) * 2014-11-04 2019-05-07 At&T Intellectual Property I, L.P. Intelligent traffic routing
CN108432291B (zh) * 2015-12-31 2021-01-29 华为技术有限公司 数据业务的管理方法及设备
CN106357907A (zh) * 2016-09-21 2017-01-25 西安中科创达软件有限公司 一种数据图标的显示方法及移动终端
US10949538B2 (en) * 2016-10-18 2021-03-16 Hewlett-Packard Development Company, L.P. Operating system installations using uniform resource locators from radio frequency identification chips
CN108494893B (zh) * 2018-03-23 2021-09-07 青岛海信移动通信技术股份有限公司 一种数据传输的方法与设备
CN111935661A (zh) * 2020-06-23 2020-11-13 国网陕西省电力公司电力科学研究院 基于无线数据apn专网技术的智能监测系统及方法
CN115250481A (zh) * 2021-04-25 2022-10-28 中国联合网络通信集团有限公司 根据业务需求自动适配网络的方法、终端及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101562814A (zh) * 2009-05-15 2009-10-21 中兴通讯股份有限公司 一种第三代网络的接入方法及系统
CN103441996A (zh) * 2013-08-16 2013-12-11 上海理工大学 并发传输文件的方法及系统
US20140023041A1 (en) * 2012-07-23 2014-01-23 Qualcomm Incorporated Systems and methods supporting wlan-wwan mobility in devices
CN103763754A (zh) * 2014-01-26 2014-04-30 华为技术有限公司 一种数据处理的方法、装置及系统

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DK1271896T3 (da) 2001-06-18 2004-11-29 Swisscom Mobile Ag Fremgangsmåde og system til mobile IP-knudepunkter i heterogene netværk
WO2008052580A1 (en) * 2006-10-31 2008-05-08 Telecom Italia S.P.A. Management of seamless handover between different communication systems in an ip dual-mode terminal
CN101909326B (zh) * 2010-08-17 2014-08-13 中兴通讯股份有限公司 一种接入点的选择方法及装置
CN102595502A (zh) * 2012-02-02 2012-07-18 中兴通讯股份有限公司 一种进行负载均衡的多模移动终端及方法
WO2013150500A2 (en) * 2012-04-05 2013-10-10 Telefonaktiebolaget L M Ericsson (Publ) Qci based offloading
CN103338482B (zh) * 2013-07-24 2016-08-24 成都西加云杉科技有限公司 分流数据传输方法、传输设备以及用户终端
CN103533609B (zh) * 2013-10-10 2016-07-06 成都达信通通讯设备有限公司 移动终端多apn网络通道并发网络系统及其创建方法
CN103533668B (zh) * 2013-10-10 2016-06-22 成都达信通通讯设备有限公司 有序管理多路apn并发联网数据传输通道的方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101562814A (zh) * 2009-05-15 2009-10-21 中兴通讯股份有限公司 一种第三代网络的接入方法及系统
US20140023041A1 (en) * 2012-07-23 2014-01-23 Qualcomm Incorporated Systems and methods supporting wlan-wwan mobility in devices
CN103441996A (zh) * 2013-08-16 2013-12-11 上海理工大学 并发传输文件的方法及系统
CN103763754A (zh) * 2014-01-26 2014-04-30 华为技术有限公司 一种数据处理的方法、装置及系统

Also Published As

Publication number Publication date
CN103763754A (zh) 2014-04-30
EP3099111A4 (en) 2017-02-22
CN103763754B (zh) 2017-07-14
EP3099111A1 (en) 2016-11-30
US20160338015A1 (en) 2016-11-17
EP3099111B1 (en) 2018-08-22
US10051607B2 (en) 2018-08-14

Similar Documents

Publication Publication Date Title
WO2015110080A1 (zh) 一种数据处理的方法、装置及系统
CN116232667A (zh) 用于边缘计算服务的方法及其电子装置
US20220217611A1 (en) Service Configuration Method, Communication Apparatus, and Communication System
EP4024956A1 (en) Communication method, apparatus, and system
KR101863690B1 (ko) 통신들에서 서비스 오프로딩
US11184953B2 (en) Systems and methods for providing low latency services via an evolved packet core network
US20180091581A1 (en) Method of switching download mode, control method thereof and control system thereof
US11297532B2 (en) Legacy network maximum transmission unit isolation capability through deployment of a flexible maximum transmission unit packet core design
US11310658B2 (en) Method and apparatus for determining status of terminal device, and device
US11950128B2 (en) Edge offloading in a mobile network having a converged core architecture
US11438942B2 (en) Method for establishing tunnel between local gateways, and gateway
WO2022033521A1 (zh) 会话更新方法、终端和网络侧设备
US20180176340A1 (en) Data transmission method, and related device and system
WO2017157314A1 (zh) 基于本地卸载的监听方法及装置
US20230216798A1 (en) Data Steering Method and Apparatus
WO2017031722A1 (zh) 网络连接的切换方法及装置
WO2024017167A1 (zh) 规则处理方法、通信设备及网络侧设备
WO2024032499A1 (zh) Dns查询方法及通信设备
WO2024041422A1 (zh) 通信方法、装置、终端及核心网节点
KR102120869B1 (ko) 액세스 노드에 의한 애플리케이션 호스팅 방법 및 장치
WO2024061205A1 (zh) 参数获取方法、装置、第一网络功能及第二网络功能
WO2023241614A1 (zh) Ims服务获取方法、终端、网络侧设备及介质
WO2024061143A1 (zh) 应用程序确定方法、装置、终端及服务器
WO2023143414A1 (zh) 数据传输、配置方法、装置、终端及网络侧设备
US20240187977A1 (en) Method for Transmitting Service Flow by Means of Multiple Ues, and Device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15740929

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2015740929

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2015740929

Country of ref document: EP