CN102685303A - Communication method and device - Google Patents

Communication method and device Download PDF

Info

Publication number
CN102685303A
CN102685303A CN2011100562096A CN201110056209A CN102685303A CN 102685303 A CN102685303 A CN 102685303A CN 2011100562096 A CN2011100562096 A CN 2011100562096A CN 201110056209 A CN201110056209 A CN 201110056209A CN 102685303 A CN102685303 A CN 102685303A
Authority
CN
China
Prior art keywords
application program
mobile phone
interface
browser
phone browser
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.)
Granted
Application number
CN2011100562096A
Other languages
Chinese (zh)
Other versions
CN102685303B (en
Inventor
赵峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201110056209.6A priority Critical patent/CN102685303B/en
Publication of CN102685303A publication Critical patent/CN102685303A/en
Application granted granted Critical
Publication of CN102685303B publication Critical patent/CN102685303B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a communication method and a communication device, which belong to the technical field of communication. The method comprises the steps as follows: when a user uses an application program in a mobile phone, a mobile phone browser in the mobile phone receives an interface calling request, which is transmitted by the application program; and the mobile phone browser executes interaction between the interface and the application program or supplies service to the application program. The device is integrated in the mobile phone and comprises a receiving module and a processing module. According to the invention, the interface is provided by the mobile phone browser and called by the application program so as to achieve interaction between the mobile phone browser and the application program or supply service to the application program, wherein the called interface of the mobile phone browser is open, so that the calling and interaction requirements of other application programs in the mobile phone to the mobile phone browser can be satisfied.

Description

Communication means and device
Technical field
The present invention relates to communication technical field, particularly a kind of communication means and device.
Background technology
Along with the fast development of mobile phone terminal software, call with mutual demand more and more between application software in the mobile phone and the mobile phone browser.Mobile phone browser is Web (World Wide Web; The World Wide Web (WWW))/WAP (Wireless Application Protocol; WAP) browser in the cell-phone customer terminal; It can send various requests to the Web/WAP server, and hypertext information and the various multimedia data format of sending from server made an explanation, shows and play.
Usually, the operating system in the mobile phone all can carry a browser, browses when service when in mobile phone, calling, and accomplishes through the browser control part that Embedded Operating System carries, to realize function such as user's browsing page.But the function that this browser provides is very limited, can't realize all that like functions such as network service, Event Service calling interface is dumb, can't realize the two-way interactive of application program and browser, and it is bigger to take the resource of system.
Also there is at present mobile phone browser, more service can be provided, but the calling interface of this mobile phone browser is nonopen, can't satisfy other application program the calling and interaction demand in the mobile phone this mobile phone browser by the special exploitation of software developer.
Summary of the invention
In order to solve prior art problems, the embodiment of the invention provides a kind of communication means and device.Said technical scheme is following:
On the one hand, a kind of communication means, said method comprises:
When the user used application program in mobile phone, the mobile phone browser in the said mobile phone received the request of the calling interface that said application program sends;
Said mobile phone browser carries out said interface and said application program carries out perhaps for said application program service being provided alternately.
Wherein, said mobile phone browser carries out said interface and said application program carries out perhaps for said application program service being provided alternately, comprising:
Said mobile phone browser is verified the application identities of said application program; Whether the communication identifier of distributing to said application program with said mobile phone browser matees; If then carry out said interface and said application program and carry out perhaps service being provided alternately for said application program.
Wherein, it is that said application program provides service that said mobile phone browser is carried out said interface, comprising:
If said interface is the user identity service, then said mobile phone browser pulls the application program identification tabulation from network side;
Said mobile phone browser judges that the application identities of said application program is whether in said application program identification tabulation, if then carrying out said interface is that said application program provides service.
Wherein, said mobile phone browser is carried out said interface and said application program carries out comprising alternately:
If said interface is a registered events, then said mobile phone browser is monitored the incident that comprises in the said interface, and after listening to said incident, notifies said application program.
Wherein, said mobile phone browser is carried out said interface and said application program carries out comprising alternately:
If said interface is for the request of sending and comprise the browser control command, then said mobile phone browser is carried out corresponding browser operation according to said browser control command;
Perhaps, if said interface is asked for transmission and comprised data to be transmitted, then said mobile phone browser sends to network side with said data to be transmitted, and the data that network side returns are sent to said application program.
Wherein, said method also comprises:
If said mobile phone browser is received the concurrent request of a plurality of calling interfaces, then concurrent request of the said a plurality of calling interfaces of buffer memory etc. is pending.
Wherein, the mobile phone browser in the said mobile phone receives the request of the calling interface that said application program sends, and further comprises:
If said mobile phone browser does not start, then said mobile phone browser starts with quick mode.
On the other hand, a kind of communicator is integrated in the mobile phone, and said device comprises:
Receiver module, be used for when the user when said mobile phone uses application program, receive the request of the calling interface that said application program sends;
Processing module is used to carry out said interface and said application program and carries out perhaps for said application program service being provided alternately.
Wherein, said processing module comprises:
The first checking processing unit; Be used to verify the application identities of said application program, whether the communication identifier of distributing to said application program with said device matees, if; Then carrying out said interface and said application program carries out perhaps for said application program service being provided alternately.
Wherein, said processing module comprises:
The second checking processing unit; If be used for said interface is the user identity service, then pulls application program identification tabulation from network side, and whether the application identities of judging said application program is in said application program identification tabulation; If then carrying out said interface is that said application program provides service.
Wherein, said processing module comprises:
The location registration process unit is a registered events if be used for said interface, then the incident that comprises in the said interface is monitored, and after listening to said incident, is notified said application program.
Wherein, said processing module comprises:
Corresponding browser operation if be used for said interface for the request of sending and comprise the browser control command, then according to said browser control command, is carried out in the interaction process unit; Perhaps, if said interface is asked for transmission and comprised data to be transmitted, then said data to be transmitted is sent to network side, and the data that network side returns are sent to said application program.
Wherein, said device also comprises:
Cache module, if be used for the concurrent request that said receiver module is received a plurality of calling interfaces, then concurrent request of the said a plurality of calling interfaces of buffer memory etc. is pending.
Wherein, said device also is used for when said receiver module is received the request of said calling interface, if do not start, then starts with quick mode.
The beneficial effect of the technical scheme that the embodiment of the invention provides is: through mobile phone browser interface is provided; By this interface of application call; Realized that mobile phone browser and application program carry out alternately, perhaps for application program provides service, wherein; The calling interface of mobile phone browser is open, can satisfy other application program the calling and interaction demand this mobile phone browser in the mobile phone.
Description of drawings
Fig. 1 is the communication means flow chart that the embodiment of the invention 1 provides;
Fig. 2 is first kind of communication means flow chart that the embodiment of the invention 2 provides;
Fig. 3 is second kind of communication means flow chart that the embodiment of the invention 2 provides;
Fig. 4 is the third communication means flow chart that the embodiment of the invention 2 provides;
Fig. 5 is the 4th kind of communication means flow chart that the embodiment of the invention 2 provides;
Fig. 6 is a kind of communication apparatus structure figure that the embodiment of the invention 3 provides;
Fig. 7 is the another kind of communication apparatus structure figure that the embodiment of the invention 3 provides.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, will combine accompanying drawing that embodiment of the present invention is done to describe in detail further below.
Embodiment 1
Referring to Fig. 1, present embodiment provides a kind of communication means, comprising:
101: when the user uses application program in mobile phone, the request of the calling interface that the mobile phone browser reception application program in the mobile phone is sent;
102: mobile phone browser executive's interface and application program carry out perhaps for application program service being provided alternately.
In the mobile phone that present embodiment relates to mobile phone browser is installed; This mobile phone browser is not the browser that mobile phone operating system carries; But the mobile phone browser of independent installation; Can communicate with the application program in the mobile phone, unless specifically stated otherwise, the mobile phone browser that the embodiment of the invention relates to all is meant the mobile phone browser of this independent installation.Wherein, the application program of communicating by letter with said mobile phone browser can be any application program of installing in the mobile phone, and the embodiment of the invention is not done concrete qualification to this.
Alternatively; Mobile phone browser executive's interface and application program carry out perhaps for application program provides service, comprising: the application identities of mobile phone browser verifying application programs alternately; Whether the communication identifier of distributing to application program with mobile phone browser matees; If then executive's interface and application program carry out perhaps for application program service being provided alternately.
Usually; Application program in the mobile phone is when communicating by letter with mobile phone browser, if communicate for the first time, then mobile phone browser can be communication identifier of this application assigned; As the ID that communicates by letter; Be used for follow-up this application program and mobile phone browser and communicate, and all can carry this communication identifier when communicating by letter at every turn, to make things convenient for this application program of mobile phone browser identification.
The application identities of application program is meant the unique identification that each application program has, and is used for this application of sign.Each application program all has this unique application identities after exploitation is accomplished.Application program can be notified this application identities to mobile phone browser when communicating with mobile phone browser, and mobile phone browser can mate the communication identifier of this application identities and this application program usually, with the convenient identity of confirming this application program.
In the present embodiment, if the interface of application call is the user identity service, like service relevant etc. with the QQ number of the account; Then mobile phone browser can also carry out authentication earlier further; If authentication is passed through, executive's interface is that application program provides service again, and is specific as follows:
If the interface of application call is the user identity service; Then mobile phone browser pulls the application program identification tabulation from network side; Whether the application identities of judging application program is in this application program identification tabulation, if then executive's interface is that application program provides service.Wherein, application program identification tabulation is generally the application program identification that can communicate the safely tabulation of network side setting, and only the application in this tabulation just can the calling party identity service, thereby guarantees the fail safe of communicating by letter.In addition, in order to improve fail safe further, can also be in the server dynamic-configuration security strategy of network side, the mode of employing private cipher key is accomplished the checking of application identity.
Alternatively, mobile phone browser executive's interface and application program carry out can comprising alternately:
If the interface of application call is a registered events, then mobile phone browser is monitored the incident that comprises in this interface, and after the incident of listening to notification application.
Alternatively, mobile phone browser executive's interface and application program carry out can comprising alternately:
If the interface of application call is for the request of sending and comprise the browser control command, then mobile phone browser is carried out corresponding browser operation according to this browser control command; Perhaps, if the interface of application call is asked for transmission and comprised data to be transmitted, then mobile phone browser sends to network side with data to be transmitted, and the data that network side returns are sent to application program.
In the present embodiment, further, said method can also comprise: if mobile phone browser is received the concurrent request of a plurality of calling interfaces, then concurrent request of a plurality of calling interfaces of buffer memory etc. is pending.
In the present embodiment, the request of the calling interface that the mobile phone browser reception application program in the mobile phone is sent, further comprise: if mobile phone browser does not start, then mobile phone browser starts with quick mode.
The said method that present embodiment provides; Through mobile phone browser interface is provided,, has realized that mobile phone browser and application program carry out alternately by this interface of application call; Perhaps service is provided for application program; Wherein, the calling interface of mobile phone browser is open, can satisfy other application program the calling and interaction demand this mobile phone browser in the mobile phone.
Embodiment 2
Referring to Fig. 2, present embodiment provides a kind of communication means, comprising:
201: when the user uses application program in mobile phone, the request of the calling interface that the mobile phone browser reception application program in the mobile phone is sent;
202: if this interface is a registered events, the incident that then comprises in the mobile phone browser docking port is monitored, and after the incident of listening to notification application.
Wherein, the incident that comprises in the interface can have multiple, and the embodiment of the invention is not done concrete qualification to this.
Referring to Fig. 3, present embodiment also provides a kind of communication means, comprising:
301: when the user uses application program in mobile phone, the request of the calling interface that the mobile phone browser reception application program in the mobile phone is sent;
302: if this interface is asked for transmission and comprised the browser control command, then mobile phone browser is carried out corresponding browser operation according to the browser control command.
Wherein, the browser control command includes but not limited to: the starting hand-set browser, close mobile phone browser or the like.
Referring to Fig. 4, present embodiment also provides a kind of communication means, comprising:
401: when the user uses application program in mobile phone, the request of the calling interface that the mobile phone browser reception application program in the mobile phone is sent;
402: if this interface is asked for transmission and comprised data to be transmitted, then mobile phone browser sends to network side with data to be transmitted, and the data that network side returns are sent to application program.
Referring to Fig. 5, present embodiment also provides a kind of communication means, comprising:
501: when the user uses application program in mobile phone, the request of the calling interface that the mobile phone browser reception application program in the mobile phone is sent;
502: if this interface is a service interface, then this interface of mobile phone browser execution is that application program provides service.
Wherein, mobile phone browser is that the service that application program provides includes but not limited to: browse service, search service, user interface service, network service, identity service or the like, the embodiment of the invention is not done concrete qualification to this.
Following mask body illustrates various interface and the function corresponding that mobile phone browser provides; Following code is the interface that mobile phone browser provides; Wherein each kind of interface can be integrated into communication module and be encapsulated in the mobile phone browser, so that the communication function with application program to be provided.Correspondingly, the application program in the mobile phone has also encapsulated this communication module, thus the various interface that can the calling mobile phone browser provides, to realize and the communicating by letter of mobile phone browser.Particularly, the interface definition in the said communication module is following:
Figure BDA0000049380560000061
Figure BDA0000049380560000071
Figure BDA0000049380560000081
Wherein, TQBExtensionEventType is an event type; Include but not limited to: browser close event, browser open event, connection event, closing application program incident and application program open event or the like, the embodiment of the invention are not done concrete qualification to this.TQBExtensionRequestType is a request type, includes but not limited to: request communication identifier, responding communication sign or the like, the embodiment of the invention is not done concrete qualification to this.TServiceType is a COS; Be compatible forward set of service to define; Include but not limited to: Connection Service, user interface service, search service, browse service, service condition service and authentication service or the like, the embodiment of the invention is not done concrete qualification to this.
RegisterEvent () interface is the registered events interface; Parameter comprises event type, and communication identifier etc., when this interface of application call; Mobile phone browser can be monitored the incident that comprises in this interface, and after listening to this incident notification application.
SendRequestL () interface is for sending request interface, and parameter comprises request type, and communication identifier etc., can be used to carry out browser operation or transmit data.Wherein, if this interface of application call and when comprising the browser control command, then mobile phone browser is carried out corresponding browser operation according to this browser control command; If this interface of application call and when comprising data to be transmitted, then mobile phone browser sends to network side with data to be transmitted, and the data that network side returns are sent to application program.In addition; Transmission request interface in the present embodiment has also encapsulated sequencing method and unserializing method, is used for communicating pair the transmission data are carried out serializing and unserializing, can realize any growth data and order and need not to revise interface; Keep interface stable, edition compatibility.For example; Application program is specified data to be sent, and these data send to mobile phone browser in the application program side after sending the request interface serializing, and mobile phone browser carries out unserializing through transmission interface to the data of receiving; Be transferred to the server of network side then; If server has data to return, send to application program through after the serializing again, after receiving, application program obtains desired data through unserializing.
GetService () interface is for obtaining service interface, and parameter comprises COS, is used to provide various services.When this interface of application call, mobile phone browser according to comprising COS be that application program provides different services.Wherein, if the result that the GetService interface returns shows then that for empty this service is unavailable, application program can be done corresponding processing, thereby can guarantee good compatibility and autgmentability.
In addition, it is the version interface that Version () interface also is provided, and is used for the processing of version compatibility.When application program is opened; At first can load above-mentioned various interface; Whether visit mobile phone browser if desired, then can call this version interface earlier, be the browser of edition compatibility through this interface check mobile phone browser; If edition compatibility then calls other interface and mobile phone browser and carries out mutual or access services; If incompatible version; Then trigger the browser version upgrading,, then call other interface and mobile phone browser and carry out mutual or access services if browser version is upgraded successfully; If browser version upgrading is unsuccessful, then the browser that carries of calling mobile phone operating system communicates.
Alternatively; In the present embodiment, mobile phone browser can also be before carrying out perhaps for application program service being provided alternately with application program, and application programs is verified; Especially when the application access user identity is served; Verify further that through pull the application program identification tabulation from network side detailed process repeats no more with the description among the embodiment 1 here.
In addition, possibly occur the scene of the concurrent visit mobile phone browser of a plurality of application programs in the mobile phone in the present embodiment, normally carry out with communicating by letter of each application program, can adopt caching mechanism to carry out response process in order to guarantee mobile phone browser, specific as follows:
When mobile phone browser was received the concurrent request of a plurality of calling interfaces, the concurrent request of these a plurality of calling interfaces of buffer memory etc. were pending.Mobile phone browser can be handled a plurality of requests of buffer memory one by one, and the order of processing can be sequential processes, perhaps handles according to priority orders, and the embodiment of the invention is not done concrete qualification to this.
In addition; When the application access mobile phone browser; The scene that mobile phone browser does not also start possibly occur, also need the regular hour because mobile phone browser starts, in order to save the time of wait; Solve mobile phone browser and start slow problem, the quick mode that present embodiment also provides mobile phone browser to start.Generally, mobile phone browser can start with normal mode, and when application access mobile phone browser and mobile phone browser did not also start, mobile phone browser can start with quick mode.Compare with normal mode, when quick mode started, mobile phone browser can load I running environment and necessary service; To reach the effect of quick startup; As reduced and dodged screen, loading section picture and resource, the system service that only reservation is necessary loads and is waited for by the loading that request is served; Thereby can respond the services request of caller fast, improve response speed.This double mode Starting mode, the response application program has greatly improved response speed to the visit of mobile phone browser more quickly and easily, has promoted user experience.
The said method that present embodiment provides provides safety open interface through mobile phone browser, by this interface of application call, has realized that mobile phone browser and application program carry out perhaps for application program service being provided alternately.Wherein, The calling interface of mobile phone browser is open; Can satisfy application program the calling and interaction demand in the mobile phone to this mobile phone browser; And this interface provides service and keeps compatible with the mode of loose coupling, through encapsulation of data serializing and unserializing method, has made things convenient for the mutual of any order of expansion and data.Verify through application programs, realized reliable secure communication mode, further verify, strengthened calling the fail safe with interprocess communication, protection subscriber data and privacy through application program identification tabulation.Provide mobile phone browser double mode Starting mode, the response application program has greatly improved response speed to the visit of mobile phone browser more quickly and easily, has promoted user experience.
Embodiment 3
Referring to Fig. 6, present embodiment provides a kind of communicator, is integrated in the mobile phone, comprising:
Receiver module 601, be used for when the user when mobile phone uses application program, receive the request of the calling interface that application program sends;
Processing module 602 is used for executive's interface and application program and carries out perhaps for application program service being provided alternately.
The communicator that present embodiment provides has encapsulated the interface that can be called by the third party, unified IPC (Inter-Process Communication, interprocess communication) data communication encapsulation is provided and IPC is provided data management.This communicator can be integrated in the mobile phone browser in the mobile phone, various services and interface interchange are provided, and third-party application program has also correspondingly been integrated the communicator of this opening, and directly the calling mobile phone browser is visited the service that it provides.
Referring to Fig. 7; In the present embodiment, processing module 602 comprises: first verifies processing unit 602a, is used for the application identities of verifying application programs; Whether the communication identifier of distributing to application program with communicator matees; If then executive's interface and application program carry out perhaps for application program service being provided alternately; And/or,
Processing module 602 comprises: the second checking processing unit 602b; If being used for the interface of application call is the user identity service; Then pull the application program identification tabulation from network side; Whether the application identities of judging application program is in the application program identification tabulation, if then executive's interface is that application program provides service; And/or,
Processing module 602 comprises: location registration process unit 602c is a registered events if be used for the interface of application call, and the incident that then comprises in the docking port is monitored, and after the incident of listening to notification application; And/or,
Processing module 602 comprises: interaction process unit 602d, if the interface that is used for application call for the request of sending and comprise the browser control command, then according to the browser control command, is carried out corresponding browser operation; Perhaps, if the interface of application call is asked for transmission and comprised data to be transmitted, then data to be transmitted is sent to network side, and the data that network side returns are sent to application program.
In the present embodiment, above-mentioned communicator can also comprise:
Cache module 603, if be used for the concurrent request that receiver module 601 is received a plurality of calling interfaces, then concurrent request of a plurality of calling interfaces of buffer memory etc. is pending.
In the present embodiment, above-mentioned communicator also is used for when receiver module 601 is received the request of calling interface, if do not start, then starts with quick mode.
The device that present embodiment provides; Specifically can be integrated in the mobile phone browser, this mobile phone browser is installed in the mobile phone, on this communicator, can implement the method among above-mentioned arbitrary method embodiment; Its concrete implementation procedure sees method embodiment for details, repeats no more here.
The above-mentioned communicator that present embodiment provides through providing safety open interface, by this interface of application call, has realized that mobile phone browser and application program carry out perhaps for application program service being provided alternately.Wherein, Above-mentioned calling interface is open; Can satisfy application program the calling and interaction demand in the mobile phone to this mobile phone browser; And this interface provides service and keeps compatible with the mode of loose coupling, through encapsulation of data serializing and unserializing method, has made things convenient for the mutual of any order of expansion and data.Verify through application programs, realized reliable secure communication mode, further verify, strengthened calling the fail safe with interprocess communication, protection subscriber data and privacy through application program identification tabulation.Provide mobile phone browser double mode Starting mode, the response application program has greatly improved response speed to the visit of mobile phone browser more quickly and easily, has promoted user experience.
Need to prove at last; One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method; Be to instruct relevant hardware to accomplish through computer program; Described program can be stored in the computer read/write memory medium, and this program can comprise the flow process like the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (ROM) or stores memory body (RAM) etc. at random.
Each functional unit in the embodiment of the invention can be integrated in the processing module, also can be that the independent physics in each unit exists, and also can be integrated in the module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, also can adopt the form of software function module to realize.If said integrated module realizes with the form of software function module and during as independently production marketing or use, also can be stored in the computer read/write memory medium.The above-mentioned storage medium of mentioning can be a read-only memory, disk or CD etc.Above-mentioned each device or system can carry out the method among the correlation method embodiment.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. a communication means is characterized in that, said method comprises:
When the user used application program in mobile phone, the mobile phone browser in the said mobile phone received the request of the calling interface that said application program sends;
Said mobile phone browser carries out said interface and said application program carries out perhaps for said application program service being provided alternately.
2. method according to claim 1 is characterized in that, said mobile phone browser carries out said interface and said application program carries out perhaps for said application program service being provided alternately, comprising:
Said mobile phone browser is verified the application identities of said application program; Whether the communication identifier of distributing to said application program with said mobile phone browser matees; If then carry out said interface and said application program and carry out perhaps service being provided alternately for said application program.
3. method according to claim 1 is characterized in that, it is that said application program provides service that said mobile phone browser is carried out said interface, comprising:
If said interface is the user identity service, then said mobile phone browser pulls the application program identification tabulation from network side;
Said mobile phone browser judges that the application identities of said application program is whether in said application program identification tabulation, if then carrying out said interface is that said application program provides service.
4. method according to claim 1 is characterized in that, said mobile phone browser carries out said interface and said application program carries out comprising alternately:
If said interface is a registered events, then said mobile phone browser is monitored the incident that comprises in the said interface, and after listening to said incident, notifies said application program.
5. method according to claim 1 is characterized in that, said mobile phone browser carries out said interface and said application program carries out comprising alternately:
If said interface is for the request of sending and comprise the browser control command, then said mobile phone browser is carried out corresponding browser operation according to said browser control command;
Perhaps, if said interface is asked for transmission and comprised data to be transmitted, then said mobile phone browser sends to network side with said data to be transmitted, and the data that network side returns are sent to said application program.
6. method according to claim 1 is characterized in that, said method also comprises:
If said mobile phone browser is received the concurrent request of a plurality of calling interfaces, then concurrent request of the said a plurality of calling interfaces of buffer memory etc. is pending.
7. method according to claim 1 is characterized in that, the mobile phone browser in the said mobile phone receives the request of the calling interface that said application program sends, and further comprises:
If said mobile phone browser does not start, then said mobile phone browser starts with quick mode.
8. a communicator is integrated in the mobile phone, it is characterized in that, said device comprises:
Receiver module, be used for when the user when said mobile phone uses application program, receive the request of the calling interface that said application program sends;
Processing module is used to carry out said interface and said application program and carries out perhaps for said application program service being provided alternately.
9. device according to claim 8 is characterized in that, said processing module comprises:
The first checking processing unit; Be used to verify the application identities of said application program, whether the communication identifier of distributing to said application program with said device matees, if; Then carrying out said interface and said application program carries out perhaps for said application program service being provided alternately.
10. device according to claim 8 is characterized in that, said processing module comprises:
The second checking processing unit; If be used for said interface is the user identity service, then pulls application program identification tabulation from network side, and whether the application identities of judging said application program is in said application program identification tabulation; If then carrying out said interface is that said application program provides service.
11. device according to claim 8 is characterized in that, said processing module comprises:
The location registration process unit is a registered events if be used for said interface, then the incident that comprises in the said interface is monitored, and after listening to said incident, is notified said application program.
12. device according to claim 8 is characterized in that, said processing module comprises:
Corresponding browser operation if be used for said interface for the request of sending and comprise the browser control command, then according to said browser control command, is carried out in the interaction process unit; Perhaps, if said interface is asked for transmission and comprised data to be transmitted, then said data to be transmitted is sent to network side, and the data that network side returns are sent to said application program.
13. device according to claim 8 is characterized in that, said device also comprises:
Cache module, if be used for the concurrent request that said receiver module is received a plurality of calling interfaces, then concurrent request of the said a plurality of calling interfaces of buffer memory etc. is pending.
14. device according to claim 8 is characterized in that, said device also is used for when said receiver module is received the request of said calling interface, if do not start, then starts with quick mode.
CN201110056209.6A 2011-03-09 2011-03-09 Communication means and device Active CN102685303B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110056209.6A CN102685303B (en) 2011-03-09 2011-03-09 Communication means and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110056209.6A CN102685303B (en) 2011-03-09 2011-03-09 Communication means and device

Publications (2)

Publication Number Publication Date
CN102685303A true CN102685303A (en) 2012-09-19
CN102685303B CN102685303B (en) 2016-06-08

Family

ID=46816647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110056209.6A Active CN102685303B (en) 2011-03-09 2011-03-09 Communication means and device

Country Status (1)

Country Link
CN (1) CN102685303B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312801A (en) * 2013-06-05 2013-09-18 上海西本网络科技有限公司 Application devices, interaction method and system for data between application devices and server
CN103345483A (en) * 2013-06-20 2013-10-09 深圳市同洲电子股份有限公司 Browser communication method and device
CN104079707A (en) * 2013-03-28 2014-10-01 联想(北京)有限公司 Communication method and electronic equipment
CN104079990A (en) * 2014-06-27 2014-10-01 北京奇虎科技有限公司 Video playing method, browser and downloading tool
WO2015176352A1 (en) * 2014-05-22 2015-11-26 中兴通讯股份有限公司 Android system-based method and device for information exchange between applications
CN105933347A (en) * 2016-06-29 2016-09-07 天脉聚源(北京)传媒科技有限公司 Method and device for acquiring data resources in application program
CN112925589A (en) * 2019-12-06 2021-06-08 腾讯科技(深圳)有限公司 Calling method and device of expansion interface
CN117076160A (en) * 2023-10-16 2023-11-17 腾讯科技(深圳)有限公司 Component calling method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106576A (en) * 2007-08-10 2008-01-16 腾讯科技(深圳)有限公司 A wireless application system and method for mobile terminal
CN101287245A (en) * 2008-05-29 2008-10-15 德信无线通讯科技(北京)有限公司 Network switching method and device based on browser
CN101667115A (en) * 2008-09-02 2010-03-10 中国移动通信集团公司 Terminal, system and method for deploying client application

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106576A (en) * 2007-08-10 2008-01-16 腾讯科技(深圳)有限公司 A wireless application system and method for mobile terminal
CN101287245A (en) * 2008-05-29 2008-10-15 德信无线通讯科技(北京)有限公司 Network switching method and device based on browser
CN101667115A (en) * 2008-09-02 2010-03-10 中国移动通信集团公司 Terminal, system and method for deploying client application

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079707A (en) * 2013-03-28 2014-10-01 联想(北京)有限公司 Communication method and electronic equipment
CN103312801A (en) * 2013-06-05 2013-09-18 上海西本网络科技有限公司 Application devices, interaction method and system for data between application devices and server
CN103345483A (en) * 2013-06-20 2013-10-09 深圳市同洲电子股份有限公司 Browser communication method and device
WO2015176352A1 (en) * 2014-05-22 2015-11-26 中兴通讯股份有限公司 Android system-based method and device for information exchange between applications
CN104079990A (en) * 2014-06-27 2014-10-01 北京奇虎科技有限公司 Video playing method, browser and downloading tool
CN104079990B (en) * 2014-06-27 2017-10-31 北京奇虎科技有限公司 Video broadcasting method, browser and download tool
CN105933347A (en) * 2016-06-29 2016-09-07 天脉聚源(北京)传媒科技有限公司 Method and device for acquiring data resources in application program
CN105933347B (en) * 2016-06-29 2019-03-19 天脉聚源(北京)传媒科技有限公司 A kind of method and device of data resource in acquisition application program
CN112925589A (en) * 2019-12-06 2021-06-08 腾讯科技(深圳)有限公司 Calling method and device of expansion interface
CN112925589B (en) * 2019-12-06 2023-10-17 深圳市雅阅科技有限公司 Calling method and device of expansion interface
CN117076160A (en) * 2023-10-16 2023-11-17 腾讯科技(深圳)有限公司 Component calling method, device, equipment and storage medium
CN117076160B (en) * 2023-10-16 2024-01-26 腾讯科技(深圳)有限公司 Component calling method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN102685303B (en) 2016-06-08

Similar Documents

Publication Publication Date Title
CN102685303A (en) Communication method and device
US7149510B2 (en) Security access manager in middleware
JP4598354B2 (en) COMMUNICATION SYSTEM, RELAY DEVICE, AND COMMUNICATION CONTROL METHOD
CA2605120C (en) Method and system for hosting and executing a component application
CN101115078B (en) System for developing mobile communications terminal equipment
CN102984225A (en) Over-the-air subscriptions of mobile devices
WO2012122884A1 (en) Open plug-in management platform and plug-in management method implemented on browser
KR100579759B1 (en) Server processing of interactive screens for a wireless device
JP2005518015A (en) Middleware service layer for platform systems for mobile terminals
US8666940B2 (en) Method and apparatus for communicating data between computer devices
EP1271902B1 (en) Method and device for limiting call accompanying execution of application
CN101568104A (en) System and method for handshaking between wireless devices and servers
JP2011205672A (en) Platform system for mobile terminal
WO2009157493A1 (en) Information processing system, server device, information device for personal use, and access managing method
US20060205385A1 (en) System and method for applying an OMA DRM permission model to Java MIDP applications
CN109889468B (en) Network data transmission method, system, device, equipment and storage medium
AU2005218288A1 (en) Execution of unverified programs in a wireless device operating environment
CN103209392A (en) Cross-process and multi-application massage pushing method and device
US7672978B2 (en) Handling of content in a data processing device
US20020129122A1 (en) Storage operating data control system
CN101158898A (en) Terminal system based on java
KR20070117767A (en) System and method for remote controlling mobile telecommunication terminal
CN112565340B (en) Service scheduling method, device, computer system and medium for distributed application
CN110389791B (en) Component scheduling method, device, equipment and storage medium
US9384344B2 (en) Authorizing local application activity using remotely defined security data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant