CN103618777A - Method and device for calling client side - Google Patents

Method and device for calling client side Download PDF

Info

Publication number
CN103618777A
CN103618777A CN201310591415.6A CN201310591415A CN103618777A CN 103618777 A CN103618777 A CN 103618777A CN 201310591415 A CN201310591415 A CN 201310591415A CN 103618777 A CN103618777 A CN 103618777A
Authority
CN
China
Prior art keywords
client
bag
relative client
domain name
name
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
CN201310591415.6A
Other languages
Chinese (zh)
Other versions
CN103618777B (en
Inventor
严腾飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310591415.6A priority Critical patent/CN103618777B/en
Publication of CN103618777A publication Critical patent/CN103618777A/en
Priority to US15/038,339 priority patent/US10402464B2/en
Priority to PCT/CN2014/087331 priority patent/WO2015074459A1/en
Application granted granted Critical
Publication of CN103618777B publication Critical patent/CN103618777B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method and device for calling a client side. The method comprises the step of receiving and analyzing a webpage data packet, the step of determining whether a client side corresponding to the analyzing content exists or not according to the analyzing content, and the step of correspondingly calling the corresponding client side according to the determined result. By means of the method and device, whether the corresponding client side exists or not can be found out according to the received webpage data packet, the corresponding client side is called, the beneficial effect of reasonably and efficiently processing the received data is further achieved, a user can share data of different devices, and the user experience is enhanced.

Description

The method and apparatus of client call
Technical field
The present invention relates to internet, applications field, particularly relate to a kind of method and apparatus of client call.
Background technology
Along with the accelerated development of information-intensive society, network data is shared becomes a more and more important part in people's life.For example, people are because some of work need, and carry out transfer of data and share through being everlasting between computer and mobile phone.In this process, many times, the data that user mobile phone receives cannot be opened by right way, cause user in mobile phone, cannot rationally utilize computer transmission to the data of mobile phone, to cellphone subscriber, make troubles, make troubles further to cellphone subscriber's Working Life.
As mentioned above, in prior art, because mobile device lacks the ability that the data that receive are further processed, in the time of a lot of data sharing of user, operate very inconvenient.The problem of this equipment room data sharing inconvenience is brought a lot of inconvenience to user, affects to a great extent user and experiences.
Summary of the invention
In view of the above problems, the present invention has been proposed to a kind of method and corresponding equipment of the client call that overcomes the problems referred to above or address the above problem are at least in part provided.
According to one aspect of the present invention, a kind of method of client call is provided, comprising: receive web data bag and resolve; According to resolving content, determine whether to exist and the corresponding client of this parsing content; According to definite result, described relative client is carried out to respective calls.
Alternatively, described basis determines that result carries out respective calls to described relative client, comprising: if according to described definite result, there is described relative client, call described relative client; If according to described definite result, there is not described relative client, use browser to open corresponding web page.
Alternatively, described reception web data bag is also resolved, and comprising: receive the web data bag forwarding through long connection server and resolve, wherein, carrying the identification information of described web data bag transmitting terminal in described web data bag.
Alternatively, according to resolving content, determine whether to exist relative client, comprising: described web data bag is resolved and obtained web page interlinkage; Utilize preset rules to obtain domain name corresponding to described web page interlinkage; According to domain name, determine whether to exist described relative client.
Alternatively, according to domain name, determine whether to exist described relative client, comprising: according to domain name, in mapping, obtain the data object corresponding with domain name; According to described data object, obtain the bag name of described relative client; According to described bag name, determine whether to exist described relative client.
Alternatively, described mapping comprises: take domain name as keyword, the mapping that the described data object of take generates as value.
Alternatively, according to described bag name, determine whether to exist relative client, comprise: whether transmission query messages is inquired about described relative client to application package name administrative class PackageManager and existed, and wherein, carries the bag name of described relative client in described query messages; Receive the response message that PackageManager returns; If the response message that PackageManager returns is for empty, described relative client does not exist; If the response message that PackageManager returns is not for empty, described relative client exists.
Alternatively, described identification information comprise following one of arbitrarily: the accounts information of user's login of described web data bag transmitting terminal; Unique identification for described web data bag transmitting terminal generation.
Alternatively, described web data bag comprise following one of at least: each network address of collecting in the collection of described web data bag transmitting terminal; The conventional network address of described web data bag transmitting terminal; Described web data bag transmitting terminal is when the network address of front opening; The user data that described web data bag transmitting terminal calls according to user instruction.
According to another aspect of the present invention, a kind of client is provided, comprising: data sink, is configured to receive web data bag; Data parser, is configured to resolve described web data bag; Determiner, is configured to determine whether to exist and the corresponding client of this parsing content according to resolving content, obtains determining result and carrying out respective calls.
Alternatively, described determiner is also configured to: if according to described definite result, there is described relative client, described determiner is opened described relative client; If according to described definite result, there is not described relative client, use browser to open corresponding web page.
Alternatively, described data sink is also configured to: receive the web data bag forwarding through long connection server, wherein, carry the identification information of described web data bag transmitting terminal in described web data bag.
Alternatively, described data parser comprises: domain Name acquisition module, is configured to: described web data bag is resolved and obtained web page interlinkage; Utilize preset rules to obtain domain name corresponding to described web page interlinkage; Bag name acquisition module, is configured to: according to domain name, in mapping, obtain the data object corresponding with domain name; According to described data object, obtain the bag name of described relative client; And determination module, be configured to: whether transmission query messages is inquired about described relative client to application package name administrative class PackageManager and existed, and wherein, carries the bag name of described relative client in described query messages; Receive the response message that PackageManager returns; If the response message that PackageManager returns is for empty, described relative client does not exist; If the response message that PackageManager returns is not for empty, described relative client exists.
Alternatively, described data parser also comprises: generation module, be configured to take domain name as keyword, and take described data object as the described mapping of value generation.
Alternatively, described identification information comprise following one of arbitrarily: the accounts information of user's login of described web data bag transmitting terminal; Unique identification for described web data bag transmitting terminal generation.
Alternatively, described data comprise following one of at least: each network address of collecting in the collection of described web data bag transmitting terminal; The conventional network address of described web data bag transmitting terminal; Described web data bag transmitting terminal is when the network address of front opening; The user data that described web data bag transmitting terminal calls according to user instruction.
According to the embodiment of the present invention, can resolve the web data bag receiving, and according to resolving content, relative client is called, solved in prior art owing to cannot the data that receive being further processed to the problem that causes cannot carrying out at equipment room data sharing.Adopt the embodiment of the present invention to search whether there is relative client according to the web data bag receiving, and call, the data that further reach receiving are carried out the rationally efficient beneficial effect of processing, and facilitate user to share the data between distinct device, promote user and experience.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand technological means of the present invention, and can be implemented according to the content of specification, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
According to the detailed description to the specific embodiment of the invention by reference to the accompanying drawings below, those skilled in the art will understand above-mentioned and other objects, advantage and feature of the present invention more.
Accompanying drawing explanation
By reading below detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing is only for the object of preferred implementation is shown, and do not think limitation of the present invention.And in whole accompanying drawing, by identical reference symbol, represent identical parts.In the accompanying drawings:
Fig. 1 shows the process chart of the method for client call according to an embodiment of the invention;
Fig. 2 shows the process chart of the method for client call in accordance with a preferred embodiment of the present invention; And
Fig. 3 shows the structural representation of client according to an embodiment of the invention.
Embodiment
The algorithm providing at this is intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with demonstration.Various general-purpose systems also can with based on using together with this teaching.According to description above, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.It should be understood that and can utilize various programming languages to realize content of the present invention described here, and the description of above language-specific being done is in order to disclose preferred forms of the present invention.
In correlation technique, mention, because mobile device lacks the ability that the data that receive are further processed, a lot of data of user cannot accomplish to share.This equipment room data cannot be completely shared problem to user, bring a lot of inconvenience, affect to a great extent user and experience.
For solving the problems of the technologies described above, the embodiment of the present invention provides a kind of method of client call.Fig. 1 shows the process chart of the method for client call according to an embodiment of the invention.As shown in Figure 1, this flow process at least comprises that step S102 is to step S106.
Step S102, reception web data bag are also resolved.
Step S104, according to resolving content, determine whether to exist and the corresponding client of this parsing content.
Step S106, the definite result of basis are carried out respective calls to described relative client.
According to the embodiment of the present invention, can resolve the web data bag receiving, and according to resolving content, relative client is called, solved in prior art owing to cannot the data that receive being further processed to the problem causing in equipment room data sharing inconvenience.Adopt the embodiment of the present invention to search whether there is relative client according to the web data bag receiving, and call, the data that further reach receiving are carried out the rationally efficient beneficial effect of processing, and facilitate user to share the data between distinct device, promote user and experience.
As shown in Figure 1, in the embodiment of the present invention, long connection server receives the web data bag that web data bag transmitting terminal sends, and, in this web data bag, carry the identification information of web data bag transmitting terminal.After long connection server receives web data bag, according to the identification information carrying in web data bag, determine web data bag receiving terminal.After web data bag receiving terminal receives web data bag, first perform step S102, the web data bag that acceptance forwards through long connection server, and this web data bag is resolved, secondly, execution step S104, determines whether to exist the client corresponding with this parsing content according to resolving content.Particularly, in the embodiment of the present invention, resolve above-mentioned web data bag and obtain the web page interlinkage corresponding with this web data bag, after obtaining web page interlinkage, according to preset rules, obtain the domain name corresponding with above-mentioned web page interlinkage.
In the embodiment of the present invention, take domain name as keyword, take data object as a mapping of value generation.After obtaining corresponding domain name according to above-mentioned web data bag, in mapping, according to domain name, obtain corresponding data object.In addition, in the embodiment of the present invention, in web data bag receiving terminal, there is the correspondence table of regular update, resolve this correspondence table and can generate corresponding data object, and this data object is kept in above-mentioned mapping.Preferably, in the embodiment of the present invention, data object comprises bag name and the client homepage title of website domain name, website relative client.
As described above, resolve after above-mentioned web data bag obtains corresponding data object, according to this data object, obtain corresponding bag name.After obtaining bag name, whether query messages to application package name administrative class (hereinafter to be referred as the PackageManager) inquiry that embodiment of the present invention transmission carries above-mentioned bag name exists with the corresponding client of above-mentioned web data bag, after PackageManager receives above-mentioned query messages, according to the bag name of carrying in query messages, inquire about corresponding client and whether exist, then return to response message.The embodiment of the present invention continues execution step S106, receives the response message that PackageManager returns.If the response message that PackageManager returns is for empty, do not have relative client, the embodiment of the present invention is used browser to open corresponding webpage, if the response message of returning according to PackageManager, there is relative client, call this relative client.
In the present invention, identification information can be the identity validation information that any user arranges, and can also be that server is any identity validation information that user arranges, and the present invention is not limited this.Preferably, in the embodiment of the present invention, identification information can be the accounts information of user's login of web data bag transmitting terminal, or can be the unique identification that web data bag transmitting terminal generates.
In addition, in the embodiment of the present invention, can be that browser client and micro-letter client receive web data bag by network, can also receive web data bag by other means of communication such as short messages, the present invention's contrast is not limited.Preferably, in the embodiment of the present invention, web data bag comprise following one of at least: the data of the operation that the conventional network address of each network address of collecting in the collection of web data bag transmitting terminal, web data bag transmitting terminal, web data bag transmitting terminal are carried out at this transmitting terminal as the network address of front opening and the user of any web data bag transmitting terminals such as web data that web data bag transmitting terminal calls according to user instruction.Web data bag can be also other data of this transmitting terminal renewal, and the present invention does not do any restriction to this.
Embodiment mono-
Fig. 2 shows the process chart of the method for client call in accordance with a preferred embodiment of the present invention, for supporting the method for above-mentioned any one client call, the method for above-mentioned client call is set forth clearlyer.It should be noted that, in this preferred embodiment, web data bag transmitting terminal is PC client (Personal Computer, hereinafter to be referred as pc client), and web data receiving terminal is cell-phone customer terminal.Referring to Fig. 2, this preferred embodiment at least comprises that step S202 is to step S212.
Step S202, pc client send a web data bag to long connection server.
After step S204, long connection server receive the web data bag sending in step S202, the accounts information logging according to the user of the pc client carrying in this web data bag is sent to corresponding cell-phone customer terminal by this web data bag.
After step S206, cell-phone customer terminal receive web data bag, resolve this web data bag, obtain the domain name corresponding with this web data bag.
Step S208, according to the domain name that gets, obtain the data object corresponding with this domain name, further obtain the bag name of the client corresponding with above-mentioned web data bag, determine in mobile phone, whether there be the client corresponding with above-mentioned web data bag.If there is corresponding client, execution step S210, if there is not corresponding client, execution step S212.
In step S210, mobile phone, have corresponding client, open this client, flow process finishes.
In step S212, mobile phone, do not have corresponding client, open corresponding webpage in above-mentioned cell-phone customer terminal, flow process finishes.
The method of the client call based on above each preferred embodiment provides, based on same inventive concept, the embodiment of the present invention also provides a kind of client, to realize above-mentioned client call method.Fig. 3 shows the structural representation of client according to an embodiment of the invention.
Referring to Fig. 3, the client 300 of the embodiment of the present invention at least comprises: data sink 310, data parser 320 and determiner 330.Now introduce each device of client 300 or the function of composition and the annexation between each several part of the embodiment of the present invention:
Data sink 310, is configured to receive web data bag.
Data parser 320, is configured to resolve described web data bag.
Determiner 330, is configured to determine whether to exist and the corresponding client of this parsing content according to resolving content, obtains determining result and carrying out respective calls.
According to the embodiment of the present invention, can resolve the web data bag receiving, and according to resolving content, relative client is called, solved in prior art owing to cannot the data that receive being further processed to the problem that causes cannot carrying out at equipment room data sharing.Adopt the embodiment of the present invention to search whether there is relative client according to the web data bag receiving, and call, the data that further reach receiving are carried out the rationally efficient beneficial effect of processing, and facilitate user to share the data between distinct device, promote user and experience.
As shown in Figure 3, in the embodiment of the present invention, long connection server receives the web data bag that web data bag transmitting terminal sends, and, in this web data bag, carry the identification information of web data bag transmitting terminal.After long connection server receives web data bag, according to identification information wherein, determine client 300.Data sink 310 in client 300 receives above-mentioned web data bag.After receiving, trigger data parser 320 as shown in Figure 3, the 321 pairs of above-mentioned web data bags of domain Name acquisition module in data parser 320 are resolved and are obtained corresponding domain name.After obtaining the domain name corresponding with web data bag, in the mapping that bag name acquisition module 322 in data parser 320 is preserved in this locality according to above-mentioned domain name, obtain corresponding data object, wherein, the generation module 324 of local mapping of preserving in data parser 320 be take domain name as keyword, take above-mentioned data object as value generation.In the embodiment of the present invention, in web data bag receiving terminal, there is the correspondence table of regular update, resolve this correspondence table and can generate corresponding data object, and this data object is kept in above-mentioned mapping.Preferably, in the embodiment of the present invention, data object comprises bag name and the client homepage title of website domain name, website relative client.
After getting above-mentioned data object, bag name acquisition module obtains the bag name with above-mentioned web data bag object according to this data object, and triggers determination module 323, by determination module 323, determines whether to exist corresponding client.Particularly, whether Query Information to the PackageManager inquiry that determination module 323 transmissions carry above-mentioned bag name exists with the corresponding client of above-mentioned web data bag, after PackageManager receives above-mentioned query messages, according to the bag name of carrying in query messages, inquire about corresponding client and whether exist, and return to the determination module 323 of response message.After determination module 323 in data parser 320 receives above-mentioned response message, trigger determiner 330, by determiner 330, according to above-mentioned response message, carry out corresponding operating.Particularly, if the response message that above-mentioned PackageManager returns is for empty, there is not relative client, determiner 330 is used browser to open corresponding webpage, if the response message of returning according to PackageManager, exists relative client, determiner 330 calls this client.
In the present invention, identification information can be the identity validation information that any user arranges, and can also be that server is any identity validation information that user arranges, and the present invention is not limited this.Preferably, in the embodiment of the present invention, identification information can be the accounts information of user's login of web data bag transmitting terminal, or can be the unique identification that web data bag transmitting terminal generates.
In addition, in the embodiment of the present invention, can be that browser client and micro-letter client receive web data bag by network, can also receive web data bag by other means of communication such as short messages, the present invention's contrast is not limited.Preferably, in the embodiment of the present invention, web data bag comprise following one of at least: the data of the operation that the conventional network address of each network address of collecting in the collection of web data bag transmitting terminal, web data bag transmitting terminal, web data bag transmitting terminal are carried out at this transmitting terminal as the network address of front opening and the user of any web data bag transmitting terminals such as web data that web data bag transmitting terminal calls according to user instruction.Web data bag can be also other data of this transmitting terminal renewal, and the present invention does not do any restriction to this.
According to the combination of above-mentioned any one preferred embodiment or a plurality of preferred embodiments, the embodiment of the present invention can reach following beneficial effect:
According to the embodiment of the present invention, can resolve the web data bag receiving, and according to resolving content, relative client is called, solved in prior art owing to cannot the data that receive being further processed to the problem that causes cannot carrying out at equipment room data sharing.Adopt the embodiment of the present invention to search whether there is relative client according to the web data bag receiving, and call, the data that further reach receiving are carried out the rationally efficient beneficial effect of processing, and facilitate user to share the data between distinct device, promote user and experience.
In the specification that provided herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can not put into practice in the situation that there is no these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is grouped together into single embodiment, figure or sometimes in its description.Yet, the method for the disclosure should be construed to the following intention of reflection: the present invention for required protection requires than the more feature of feature of clearly recording in each claim.Or rather, as reflected in claims below, inventive aspect is to be less than all features of disclosed single embodiment above.Therefore, claims of following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can the module in the equipment in embodiment are adaptively changed and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and can put them into a plurality of submodules or subelement or sub-component in addition.At least some in such feature and/or process or unit are mutually repelling, and can adopt any combination to combine all processes or the unit of disclosed all features in this specification (comprising claim, summary and the accompanying drawing followed) and disclosed any method like this or equipment.Unless clearly statement in addition, in this specification (comprising claim, summary and the accompanying drawing followed) disclosed each feature can be by providing identical, be equal to or the alternative features of similar object replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included in other embodiment, the combination of the feature of different embodiment means within scope of the present invention and forms different embodiment.For example, in claims, the one of any of embodiment required for protection can be used with compound mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, or realizes with the software module moved on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that and can use in practice microprocessor or digital signal processor (DSP) to realize the some or all functions according to the some or all parts in the equipment of the client call of the embodiment of the present invention.The present invention for example can also be embodied as, for carrying out part or all equipment or device program (, computer program and computer program) of method as described herein.Realizing program of the present invention and can be stored on computer-readable medium like this, or can there is the form of one or more signal.Such signal can be downloaded and obtain from internet website, or provides on carrier signal, or provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation that do not depart from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed as element or step in the claims.Being positioned at word " " before element or " one " does not get rid of and has a plurality of such elements.The present invention can be by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to carry out imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title by these word explanations.
So far, those skilled in the art will recognize that, although detailed, illustrate and described a plurality of exemplary embodiment of the present invention herein, but, without departing from the spirit and scope of the present invention, still can directly determine or derive many other modification or the modification that meets the principle of the invention according to content disclosed by the invention.Therefore, scope of the present invention should be understood and regard as and cover all these other modification or modifications.
The method that the embodiment of the invention also discloses an A1. client call, comprising:
Receive web data bag and resolve;
According to resolving content, determine whether to exist and the corresponding client of this parsing content;
According to definite result, described relative client is carried out to respective calls.
A2. according to the method described in A1, wherein, described basis determines that result carries out respective calls to described relative client, comprising:
If according to described definite result, there is described relative client, call described relative client;
If according to described definite result, there is not described relative client, use browser to open corresponding web page.
A3. according to the method described in A1 or A2, wherein, described reception web data bag is also resolved, and comprising:
The web data bag that reception forwards through long connection server is also resolved.
A4. according to the method described in A1 to A3 any one, wherein, according to resolving content, determine whether to exist relative client, comprising:
Described web data bag is resolved and obtained web page interlinkage;
Utilize preset rules to obtain domain name corresponding to described web page interlinkage;
According to domain name, determine whether to exist described relative client.
A5. according to the method described in A4, wherein, according to domain name, determine whether to exist described relative client, comprising:
According to domain name, in mapping, obtain the data object corresponding with domain name;
According to described data object, obtain the bag name of described relative client;
According to described bag name, determine whether to exist described relative client.
A6. according to the method described in A5, wherein, described mapping comprises:
Take domain name as keyword, the mapping that the described data object of take generates as value.
A7. according to the method described in A5 or A6, wherein, according to described bag name, determine whether to exist relative client, comprising:
Whether transmission query messages is inquired about described relative client to application package name administrative class PackageManager and is existed, and wherein, carries the bag name of described relative client in described query messages;
Receive the response message that PackageManager returns;
If the response message that PackageManager returns is for empty, described relative client does not exist;
If the response message that PackageManager returns is not for empty, described relative client exists.
The embodiment of the invention also discloses B8. client, comprising:
Data sink, is configured to receive web data bag;
Data parser, is configured to resolve described web data bag;
Determiner, is configured to determine whether to exist and the corresponding client of this parsing content according to resolving content, obtains determining result and carrying out respective calls.
B9. according to the client described in B8, wherein, described determiner is also configured to:
If according to described definite result, there is described relative client, described determiner is opened described relative client;
If according to described definite result, there is not described relative client, use browser to open corresponding web page.
B10. according to the client described in B8 or B9, wherein, described data sink is also configured to:
The web data bag that reception forwards through long connection server.
B11. according to the client described in B8 to B10 any one, wherein, described data parser comprises:
Domain Name acquisition module, is configured to:
Described web data bag is resolved and obtained web page interlinkage;
Utilize preset rules to obtain domain name corresponding to described web page interlinkage;
Bag name acquisition module, is configured to:
According to domain name, in mapping, obtain the data object corresponding with domain name;
According to described data object, obtain the bag name of described relative client; And
Determination module, is configured to:
Whether transmission query messages is inquired about described relative client to application package name administrative class PackageManager and is existed, and wherein, carries the bag name of described relative client in described query messages;
Receive the response message that PackageManager returns;
If the response message that PackageManager returns is for empty, described relative client does not exist;
If the response message that PackageManager returns is not for empty, described relative client exists.
B12. according to the client described in B11, wherein, described data parser also comprises:
Generation module, is configured to take domain name as keyword, take described data object as the described mapping of value generation.

Claims (10)

1. a method for client call, comprising:
Receive web data bag and resolve;
According to resolving content, determine whether to exist and the corresponding client of this parsing content;
According to definite result, described relative client is carried out to respective calls.
2. method according to claim 1, wherein, described basis determines that result carries out respective calls to described relative client, comprising:
If according to described definite result, there is described relative client, call described relative client;
If according to described definite result, there is not described relative client, use browser to open corresponding web page.
3. method according to claim 1 and 2, wherein, described reception web data bag is also resolved, and comprising:
The web data bag that reception forwards through long connection server is also resolved.
4. according to the method described in claims 1 to 3 any one, wherein, according to resolving content, determine whether to exist relative client, comprising:
Described web data bag is resolved and obtained web page interlinkage;
Utilize preset rules to obtain domain name corresponding to described web page interlinkage;
According to domain name, determine whether to exist described relative client.
5. method according to claim 4, wherein, determines whether to exist described relative client according to domain name, comprising:
According to domain name, in mapping, obtain the data object corresponding with domain name;
According to described data object, obtain the bag name of described relative client;
According to described bag name, determine whether to exist described relative client.
6. method according to claim 5, wherein, described mapping comprises:
Take domain name as keyword, the mapping that the described data object of take generates as value.
7. according to the method described in claim 5 or 6, wherein, according to described bag name, determine whether to exist relative client, comprising:
Whether transmission query messages is inquired about described relative client to application package name administrative class PackageManager and is existed, and wherein, carries the bag name of described relative client in described query messages;
Receive the response message that PackageManager returns;
If the response message that PackageManager returns is for empty, described relative client does not exist;
If the response message that PackageManager returns is not for empty, described relative client exists.
8. a client, comprising:
Data sink, is configured to receive web data bag;
Data parser, is configured to resolve described web data bag;
Determiner, is configured to determine whether to exist and the corresponding client of this parsing content according to resolving content, obtains determining result and carrying out respective calls.
9. client according to claim 8, wherein, described data parser comprises:
Domain Name acquisition module, is configured to:
Described web data bag is resolved and obtained web page interlinkage;
Utilize preset rules to obtain domain name corresponding to described web page interlinkage;
Bag name acquisition module, is configured to:
According to domain name, in mapping, obtain the data object corresponding with domain name;
According to described data object, obtain the bag name of described relative client; And
Determination module, is configured to:
Whether transmission query messages is inquired about described relative client to application package name administrative class PackageManager and is existed, and wherein, carries the bag name of described relative client in described query messages;
Receive the response message that PackageManager returns;
If the response message that PackageManager returns is for empty, described relative client does not exist;
If the response message that PackageManager returns is not for empty, described relative client exists.
10. client according to claim 9, wherein, described data parser also comprises:
Generation module, is configured to take domain name as keyword, take described data object as the described mapping of value generation.
CN201310591415.6A 2013-11-21 2013-11-21 The method and apparatus of client call Active CN103618777B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201310591415.6A CN103618777B (en) 2013-11-21 2013-11-21 The method and apparatus of client call
US15/038,339 US10402464B2 (en) 2013-11-21 2014-09-24 Methods and apparatuses for opening a webpage, invoking a client, and creating a light application
PCT/CN2014/087331 WO2015074459A1 (en) 2013-11-21 2014-09-24 Method and apparatus for opening webpage, invoking client, and creating light app

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310591415.6A CN103618777B (en) 2013-11-21 2013-11-21 The method and apparatus of client call

Publications (2)

Publication Number Publication Date
CN103618777A true CN103618777A (en) 2014-03-05
CN103618777B CN103618777B (en) 2016-07-13

Family

ID=50169481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310591415.6A Active CN103618777B (en) 2013-11-21 2013-11-21 The method and apparatus of client call

Country Status (1)

Country Link
CN (1) CN103618777B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015074459A1 (en) * 2013-11-21 2015-05-28 北京奇虎科技有限公司 Method and apparatus for opening webpage, invoking client, and creating light app
CN105246075A (en) * 2014-07-09 2016-01-13 腾讯科技(深圳)有限公司 Access point connecting method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001073563A1 (en) * 2000-03-24 2001-10-04 Dotrocket, Inc. A system and method for increasing data packet transfer rate in a computer network
CN103297453A (en) * 2012-02-24 2013-09-11 阿里巴巴集团控股有限公司 Method, browser end and system for achieving instant communication
CN103327135A (en) * 2013-06-27 2013-09-25 贝壳网际(北京)安全技术有限公司 Domain name resolution method, device and client

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001073563A1 (en) * 2000-03-24 2001-10-04 Dotrocket, Inc. A system and method for increasing data packet transfer rate in a computer network
CN103297453A (en) * 2012-02-24 2013-09-11 阿里巴巴集团控股有限公司 Method, browser end and system for achieving instant communication
CN103327135A (en) * 2013-06-27 2013-09-25 贝壳网际(北京)安全技术有限公司 Domain name resolution method, device and client

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015074459A1 (en) * 2013-11-21 2015-05-28 北京奇虎科技有限公司 Method and apparatus for opening webpage, invoking client, and creating light app
US10402464B2 (en) 2013-11-21 2019-09-03 Beijing Qihoo Technology Company Limited Methods and apparatuses for opening a webpage, invoking a client, and creating a light application
CN105246075A (en) * 2014-07-09 2016-01-13 腾讯科技(深圳)有限公司 Access point connecting method and device

Also Published As

Publication number Publication date
CN103618777B (en) 2016-07-13

Similar Documents

Publication Publication Date Title
EP3002927B1 (en) Page redirection method, routing device, terminal device and system
CN103150513B (en) The method of the implantation information in interception application program and device
EP2985705A2 (en) Webpage access method and apparatus, and router
US7953862B2 (en) Methods for accessing a phone-based web server with a private IP address and related electronic devices and computer program products
CN105530127A (en) Method for processing network access request by proxy server and proxy server
CN102916983A (en) Protection system for network access behavior
CN102314469A (en) Method for implementing cross-domain request callback
CN103500211A (en) Method and system for providing search services and client side
CN103152355A (en) Method and system for promoting dangerous website and client device
CN105554094A (en) Method and device for data interaction
CN105516333A (en) Interactive method and system based on webpage
CN105608159A (en) Data caching method and device
CN103678568A (en) Method, server and system for providing problem solutions
CN103810268A (en) Search result recommendation information loading method, device and system and URL detection method, device and system
CN105554085A (en) Server connection-based dynamic timeout processing method and device
CN104462500A (en) Method for determining activeness of controls and control processing method and device
CN105553832A (en) Message sending and receiving method and device
CN109561167A (en) A kind of domain name analytic method and device
CN104486397A (en) Method for carrying out data transmission in browser, client and mobile terminal
CN103605676A (en) Search based terminal fault solution, client and system
CN103248627A (en) Method, forward proxy server and system for visiting website resources
CN103618777A (en) Method and device for calling client side
CN103957234A (en) Method for sending download files in browser and browser device
CN104580638A (en) Phone number marking method and device
CN104580639A (en) Information loading method and device based on telephone number

Legal Events

Date Code Title Description
PB01 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
TR01 Transfer of patent right

Effective date of registration: 20220715

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right