CN102427609A - Communicating method, device and system applied to multiple access points - Google Patents

Communicating method, device and system applied to multiple access points Download PDF

Info

Publication number
CN102427609A
CN102427609A CN2011104002680A CN201110400268A CN102427609A CN 102427609 A CN102427609 A CN 102427609A CN 2011104002680 A CN2011104002680 A CN 2011104002680A CN 201110400268 A CN201110400268 A CN 201110400268A CN 102427609 A CN102427609 A CN 102427609A
Authority
CN
China
Prior art keywords
communication
access point
communication access
presets
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011104002680A
Other languages
Chinese (zh)
Inventor
蒋宏敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
World (Shanghai) Technology Development Co., Ltd.
Original Assignee
Shenzhen Temobi Science and Technology 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 Shenzhen Temobi Science and Technology Co Ltd filed Critical Shenzhen Temobi Science and Technology Co Ltd
Priority to CN2011104002680A priority Critical patent/CN102427609A/en
Publication of CN102427609A publication Critical patent/CN102427609A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a communicating method applied to multiple access points. The method comprises the following steps: receiving a communication command, and judging whether a current preset communication access point is a first communication access point or not according to the communication command, if so, calling a first communication port and communication function packaging of the preset first communication access point through a first port to build communication connection. The invention also provides a communicating device applied to the multiple access points, which is characterized by comprising a receiving unit, a control unit and a first communication unit. According to the invention, the communication command and the preset communication access point are combined to be judged, so that two communication access points of cmwap and cmnet are packaged, a uniform communication layer port is submitted to upper-layer application, a process that a system automatically judges the communication access points is solved, communication layer modules between different network communication access points are uniformed, and thus the two communication access points can be conveniently switched on an application layer without adjusting codes of the application layer.

Description

A kind of means of communication, Apparatus and system that is applicable to multiple access point
Technical field
The present invention relates to the mobile Internet field, relate in particular to a kind of means of communication, Apparatus and system that is applicable to multiple access point.
Background technology
In the prior art, when the user connects through network by mobile terminal, adopt cmwap and two kinds of communication access points of cmnet.
Cmwap and cmnet are two GPRS access waies.The former sets up for mobile phone WAP online, and the latter utilizes the GPRS service on net for PC, notebook computer, PDA etc.They do not have any difference on implementation, but because the location is different, so compare with CMNET, CMWAP has just had partly restriction.
For both location of difference from use, network provider has been done certain restriction to CMWAP, shows that mainly CMWAP can only visit the IP (10.0.0.172) in the GPRS network when inserting, and can't be through route visit Internet.(possibly there is not this restriction in the mobile network in minority area.) we browse the HTTP Proxy service implementing that the webpage on the Internet provides through WAP gateway agreement or it with CMWAP.
Because the difference of application facet; When visiting the mobile network through different communication access points; Application layer need provide different communication identification codes to different communication access points; Cause the mobile Internet service provider different communication identification codes to be provided like this, improved the development and maintenance work of mobile Internet enterprise greatly, increased exploitation and maintenance cost same service.
Therefore, need provide a kind of use application layer that one cover code only need be provided, just can under cmwap and two kinds of accesses of cmnet access point, freely switch, to reduce the development and maintenance cost of enterprise.
Summary of the invention
The purpose of the embodiment of the invention is to propose a kind of means of communication, device and terminal that is applicable to two kinds of communication access points.
The present invention provides a kind of means of communication that are applicable to multiple access point, and described method comprises:
Receive communication instruction,
Judge according to described communication instruction whether the current communication access point that presets is the first communication access point, if first communication interface of the first communication access point that then presets through first interface interchange and communication function encapsulation are set up communication and connected.
The present invention also provides a kind of communication device that is applicable to multiple access point, and described device comprises: receiving element, judging unit, first communication unit;
Described receiving element is used to receive communication instruction;
Control unit is used for judging according to described communication instruction whether the current communication access point that presets is the first communication access point; If then call first communication interface and the communication encapsulation function of the first communication access point that presets in first communication unit, set up communication and connect;
First communication unit is used to preset first communication interface and the communication encapsulation function of the first communication access point
The present invention judges through communication instruction is combined with the communication access point that presets; Make two kinds of communication access points of cmwap and cmnet encapsulate; Upper layer application is submitted to unified Communication Layer interface, and resolution system is judged the process of communication access point automatically, has unified the Communication Layer module between the heterogeneous networks communication access point; Make application layer can switch 2 kinds of communication access points easily, need the code of application layer not adjusted.
Description of drawings
Fig. 1 is the means of communication flow chart that is applicable to multiple access point of the embodiment of the invention 1;
Fig. 2 is the communication device structural representation that is applicable to multiple access point of the embodiment of the invention 2.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and embodiment, the present invention is further elaborated, for the ease of explanation, only show the part relevant with the embodiment of the invention.Should be appreciated that the specific embodiment that this place is described, only be used to explain the present invention, not in order to restriction the present invention.
The present invention judges through communication instruction is combined with the communication access point that presets; Cmwap and two kinds of communication access points of cmnet are encapsulated; Upper layer application is submitted to unified Communication Layer interface, and resolution system is judged the process of communication access point automatically, has unified the Communication Layer module between the heterogeneous networks communication access point; Make application layer can switch 2 kinds of communication access points easily, need the code of application layer not adjusted.
Embodiment one
The present invention provides a kind of means of communication that are applicable to multiple access point, and referring to Fig. 1, this method is specially:
Step 101: receive communication instruction; Current communication access point is set in advance, and preserves setting;
Step 102: judge according to described communication instruction whether the current communication access point that presets is the first communication access point; If then execution in step 103; Execution in step 104 then if not;
Step 103: call first communication interface and the communication function encapsulation of the first communication access point that presets, set up communication and connect;
Step 104: current communication access point is the second communication access point, calls second communication interface and the communication function encapsulation of the second communication access point that presets, and sets up communication and connects.
The first communication access point described in this method can be cmwap communication access point, and the described second communication access point can be cmnet communication access point.
Wherein, the method for in the step 102 " judging that according to described communication instruction whether current communication access point is the first communication access point " can for:
Preset the corresponding relation of the described communication instruction and the first communication access point, the second communication access point; According to described communication instruction; To described corresponding relation, search corresponding communication access point; If described communication instruction is corresponding to the first communication access point, then judging current communication access point is the first communication access point.
Embodiment 2, and the present invention also provides a kind of communication device that is applicable to multiple access point, and referring to Fig. 2, this device comprises: receiving element, control unit, first communication unit;
Described receiving element is used to receive communication instruction;
Control unit is used for judging according to described communication instruction whether the current communication access point that presets is the first communication access point; If then call first communication interface and the communication encapsulation function of the first communication access point that presets in first communication unit, set up communication and connect;
First communication unit is used to preset first communication interface and the communication encapsulation function of the first communication access point.
Wherein, described device can further include second communication unit;
Described control unit is further used for, and when judging the current communication access point that presets and be the second communication access point, calls second communication interface and the communication encapsulation function of the second communication access point that presets in second communication unit, sets up communication and connects;
Described second communication unit is used to preset first communication interface and the communication encapsulation function of the first communication access point.
Wherein, described control unit comprises: memory cell, map unit;
Memory cell is used to preset the corresponding relation of the described communication instruction and the first communication access point, the second communication access point;
Map unit; Be used for according to described communication instruction; To described corresponding relation, search corresponding communication access point, corresponding to the first communication access point, then judging current communication access point is the first communication access point as if described communication instruction; Call first communication interface and the communication encapsulation function of the first communication access point that presets in first communication unit, set up communication and connect; If described communication instruction is corresponding to the second communication access point; Then when judging the current communication access point that presets and be the second communication access point; Call second communication interface and the communication encapsulation function of the second communication access point that presets in second communication unit, set up communication and connect.
Wherein the first communication access point described in this device can be cmwap communication access point; The described second communication access point can be cmnet communication access point.
The present invention is through cmwap and two kinds of communication access points of cmnet are encapsulated; Upper layer application is submitted to unified Communication Layer interface; Resolution system is judged the process of communication access point automatically; Unified the Communication Layer module between the heterogeneous networks communication access point, made application layer can switch 2 kinds of communication access points easily, need the code of application layer not adjusted.
Those having ordinary skill in the art will appreciate that; All or part of step in realization the foregoing description method can be accomplished through the program command related hardware; Described program can be stored in the computer read/write memory medium, and described storage medium can be ROM, RAM, disk, CD etc.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. means of communication that are applicable to multiple access point is characterized in that, described method comprises:
Receive communication instruction,
Judge according to described communication instruction whether the current communication access point that presets is the first communication access point, if first communication interface of the first communication access point that then presets through first interface interchange and communication function encapsulation are set up communication and connected.
2. the means of communication that are applicable to multiple access point according to claim 1 is characterized in that,
Described " judging that according to described communication instruction whether current communication access point is the first communication access point " is specially:
Preset the corresponding relation of the described communication instruction and the first communication access point, the second communication access point; According to described communication instruction; To described corresponding relation, search corresponding communication access point; If described communication instruction is corresponding to the first communication access point, then judging current communication access point is the first communication access point.
3. the means of communication that are applicable to multiple access point according to claim 2; It is characterized in that; When judging that the current communication access point that presets is not the first communication access point; Second communication interface of the second communication access point that then presets through first interface interchange and communication function encapsulation are set up communication and are connected.
4. according to one of them described means of communication that are applicable to multiple access point of claim 1 to 3, it is characterized in that the described first communication access point is a cmwap communication access point; The described second communication access point is a cmnet communication access point.
5. a communication device that is applicable to multiple access point is characterized in that, described device comprises: receiving element, control unit, first communication unit;
Described receiving element is used to receive communication instruction;
Control unit is used for judging according to described communication instruction whether the current communication access point that presets is the first communication access point; If then call first communication interface and the communication encapsulation function of the first communication access point that presets in first communication unit, set up communication and connect;
First communication unit is used to preset first communication interface and the communication encapsulation function of the first communication access point.
6. the communication device that is applicable to multiple access point according to claim 5 is characterized in that described device further comprises second communication unit;
Described control unit is further used for, and when judging the current communication access point that presets and be the second communication access point, calls second communication interface and the communication encapsulation function of the second communication access point that presets in second communication unit, sets up communication and connects;
Described second communication unit is used to preset first communication interface and the communication encapsulation function of the first communication access point.
7. the communication device that is applicable to multiple access point according to claim 6 is characterized in that, described control unit comprises: memory cell, map unit;
Memory cell is used to preset the corresponding relation of the described communication instruction and the first communication access point, the second communication access point;
Map unit; Be used for according to described communication instruction; To described corresponding relation, search corresponding communication access point, corresponding to the first communication access point, then judging current communication access point is the first communication access point as if described communication instruction; Call first communication interface and the communication encapsulation function of the first communication access point that presets in first communication unit, set up communication and connect; If described communication instruction is corresponding to the second communication access point; Then when judging the current communication access point that presets and be the second communication access point; Call second communication interface and the communication encapsulation function of the second communication access point that presets in second communication unit, set up communication and connect.
8. according to one of them described communication device that is applicable to multiple access point of claim 5 to 7, it is characterized in that the described first communication access point is a cmwap communication access point; The described second communication access point is a cmnet communication access point.
9. communication system that is applicable to multiple access point, this system comprises one of them described communication device that is applicable to multiple access point of claim 5 to 8.
CN2011104002680A 2011-12-06 2011-12-06 Communicating method, device and system applied to multiple access points Pending CN102427609A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104002680A CN102427609A (en) 2011-12-06 2011-12-06 Communicating method, device and system applied to multiple access points

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104002680A CN102427609A (en) 2011-12-06 2011-12-06 Communicating method, device and system applied to multiple access points

Publications (1)

Publication Number Publication Date
CN102427609A true CN102427609A (en) 2012-04-25

Family

ID=45961538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104002680A Pending CN102427609A (en) 2011-12-06 2011-12-06 Communicating method, device and system applied to multiple access points

Country Status (1)

Country Link
CN (1) CN102427609A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103648134A (en) * 2013-11-26 2014-03-19 小米科技有限责任公司 Access point switching method, access point switching device and mobile terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340449A (en) * 2008-08-15 2009-01-07 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for obtaining network access information
CN102056329A (en) * 2009-11-04 2011-05-11 中国移动通信集团公司 Method and device for connecting and managing multiple APs (access points)
CN102238149A (en) * 2010-05-05 2011-11-09 华为技术有限公司 Method, device and system for terminal to access to services

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340449A (en) * 2008-08-15 2009-01-07 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for obtaining network access information
CN102056329A (en) * 2009-11-04 2011-05-11 中国移动通信集团公司 Method and device for connecting and managing multiple APs (access points)
CN102238149A (en) * 2010-05-05 2011-11-09 华为技术有限公司 Method, device and system for terminal to access to services

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103648134A (en) * 2013-11-26 2014-03-19 小米科技有限责任公司 Access point switching method, access point switching device and mobile terminal
CN103648134B (en) * 2013-11-26 2017-03-01 小米科技有限责任公司 The method of switching access point, device and mobile terminal

Similar Documents

Publication Publication Date Title
CN102917339B (en) Methods, device and system for realization and communication of virtual subscriber identity module
CN105472595B (en) Mobile radio communication device, server and method for controlling them
CN102868998A (en) Method and device for visiting businesses of internet of things
CN104581785A (en) Wireless network testing method, testing device and mobile terminal
CN103249173A (en) Mobile Internet access equipment and method thereof
CN102148876A (en) Access point switching method and device on iOS
WO2016173349A1 (en) Network access method and mobile communications terminal
CN105187534A (en) Information backup equipment and method, and information backup system
CN103106094A (en) File opening method and intelligent mobile terminal
CN103177104A (en) Searching method and device of application program
CN102378162A (en) M2M (Machine-to-Machine) terminal, and system and method for M2M terminal remote management
CN105657781A (en) Method and device for accessing WiFi network
CN104123380A (en) Webpage access method and device
CN102799460A (en) Business developing system, method and business operating system and method
CN103581889A (en) Method and system for automatically updating network configuration parameters
CN102438288A (en) APN (Access Point Name) switch method and system as well as mobile terminal
CN103425647A (en) Method and system for webpage seamless browsing
CN104349372B (en) Stationkeeping ability call method and system and location-based service gateway
CN101272293A (en) Network testing method and device
CN105204891A (en) Download method and download device during shutdown of mobile terminal and mobile terminal
CN101795478A (en) Method for data bypass, network side equipment and access gateway
CN102932968B (en) The method of data card and data card networking
CN102427609A (en) Communicating method, device and system applied to multiple access points
CN103781046A (en) One-card soft dual-standby incoming call identification method for soft SIM card and communication terminal
CN105930188A (en) Method for virtualizing multiple mobile devices in single mobile device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 19, building 18, Changhong technology building, 518057 South twelve Road, South tech Zone, Nanshan District hi tech Zone, Guangdong, Shenzhen

Applicant after: SHENZHEN TEMOBI TECHNOLOGY CO., LTD.

Address before: 19, building 18, Changhong technology building, 518057 South twelve Road, South tech Zone, Nanshan District hi tech Zone, Guangdong, Shenzhen

Applicant before: Shenzhen Temobi Science & Tech Development Co.,Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHENZHEN TEMOBI SCIENCE + TECHNOLOGY CO., LTD. TO: SHENZHEN RONGCHANG TIANXIA TECHNOLOGY CO., LTD.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: RONGCHUANG TIANXIA (SHANGHAI) TECHNOLOGY DEVELOPME

Free format text: FORMER OWNER: SHENZHEN RONGCHANG TIANXIA TECHNOLOGY CO., LTD.

Effective date: 20150610

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20150610

Address after: 200433 Shanghai City, Yangpu District Wei Road No. 6 room 502-8

Applicant after: World (Shanghai) Technology Development Co., Ltd.

Address before: 19, building 18, Changhong technology building, 518057 South twelve Road, South tech Zone, Nanshan District hi tech Zone, Guangdong, Shenzhen

Applicant before: SHENZHEN TEMOBI TECHNOLOGY CO., LTD.

WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120425

WD01 Invention patent application deemed withdrawn after publication