CN108156220A - Communication means and device - Google Patents

Communication means and device Download PDF

Info

Publication number
CN108156220A
CN108156220A CN201711262144.4A CN201711262144A CN108156220A CN 108156220 A CN108156220 A CN 108156220A CN 201711262144 A CN201711262144 A CN 201711262144A CN 108156220 A CN108156220 A CN 108156220A
Authority
CN
China
Prior art keywords
target
domain name
message
character
name request
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
CN201711262144.4A
Other languages
Chinese (zh)
Other versions
CN108156220B (en
Inventor
董红光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711262144.4A priority Critical patent/CN108156220B/en
Publication of CN108156220A publication Critical patent/CN108156220A/en
Application granted granted Critical
Publication of CN108156220B publication Critical patent/CN108156220B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/148Migration or transfer of sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/30Managing network names, e.g. use of aliases or nicknames
    • H04L61/3015Name registration, generation or assignment
    • H04L61/3025Domain name generation or assignment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a kind of communication means and device, wherein, the method includes:Obtain target domain name request message, the target domain name request message carries target message information, the target message is used to indicate the operation of operating system performance objective, wherein, the target domain name request meets the call format of domain name request, for performing the first operation, the object run is the operation except first operation for domain name request;Obtain the target message information that the target domain name request message carries;Based on the target message information, target component is extracted;It is operated according to the target component performance objective.The disclosure enhances the function of operating system, improves the user experience of terminal by extracting target component from target domain name request message.

Description

Communication means and device
Technical field
This disclosure relates to the communications field more particularly to communication means and device.
Background technology
With the development of computer communication technology, various application software have brought fabulous communication experiences.
In the relevant technologies, can by using add API (Application Programming Interface, application Program Interfaces) mode come realize application between redirecting.For example, in the case where adding corresponding api interface using A, use Family triggering one in application A for jumping to the link of another application, can jump to another application by the api interface Such as using page in one of B.But if using the api interface is not added in A, the page jump work(between above application Can be unavailable, influence the user experience of terminal.
Invention content
To overcome the problems in correlation technique, the embodiment of the present disclosure provides a kind of communication means and device.
According to the embodiment of the present disclosure in a first aspect, providing a kind of communication means, the method is used for terminal, the method Including:
Target domain name request message is obtained, the target domain name request message carries target message information, and the target disappears Breath is used to indicate the operation of operating system performance objective, wherein, the target domain name request meets the call format of domain name request, institute State domain name request for perform first operation, the object run be it is described first operate except operation;
Obtain the target message information that the target domain name request message carries;
Based on the target message information, target component is extracted;
It is operated according to the target component performance objective.
Optionally, the method further includes:
When meeting preset trigger condition, the target message information is obtained;
According to the correspondence between preset message character and domain name character, target message character is converted into aiming field Name character, the target message character is the character included by the target message information;
By the aiming field name character according to default legal Domain Name Form registering sites, target domain name is generated;
The target domain name request message is generated based on the target domain name;
The target domain name request message is sent to operating system.
Optionally, it is described that the target domain name request message is generated based on the target domain name, including:
If the total number of the aiming field name character is more than preset value, the target domain name is compressed;
Based on the compressed target domain name generation target domain name request message.
Optionally, the acquisition target domain name request message, including:
Target domain name request message is obtained by the description components in operating system.
Optionally, the description components include any one of following:
Default domain name system or fire wall.
Optionally, the target message information for obtaining the target domain name request message and carrying, including:
The target message information of the target domain name request message carrying is obtained by the default domain name system;Or
The target domain name request message is forwarded to presetting message service in the default domain name system or the fire wall Afterwards, the target message information that the target domain name request message as described in the presetting message service acquisition carries.
Optionally, the target message information for obtaining the target domain name request message and carrying, including:
According to the correspondence between preset message character and domain name character, aiming field name character is converted into target and is disappeared Character is ceased, the aiming field name character is the character included by the target domain name request message;
Obtain the target message information indicated by the target message character.
Optionally, the method further includes:
The aiming field name character is verified, obtains check results;
If the check results pass through for verification, perform and described aiming field name character is converted into target message character The step of.
Optionally, it is described that the aiming field name character is verified, check results are obtained, including:
If the aiming field name character meets preset check formula, it is determined that check results pass through for verification, otherwise Determine that the check results do not pass through for verification.
Optionally, it is described to be operated according to target component performance objective, including:
Intended application is opened according to the target component, wherein, the target component includes at least:The intended application Identity.
Optionally, it is described that intended application is opened according to the target component, including:
Determine whether the intended application is locally installed according to the identity of the intended application;
If local do not install the intended application, the intended application is downloaded and installed;
The intended application is opened according to the target component by default application platform.
According to the second aspect of the embodiment of the present disclosure, a kind of communication means is provided, applied to web service end, the method Including:
Target message information is converted into aiming field name character;
Target domain-name information is generated based on the aiming field name character;
The target domain name solicited message or the target domain name message based on target domain-name information generation are placed in mesh It marks in webpage and virtual Domain Name is set to ask instruction information in the target webpage, the virtual Domain Name request instruction information is used In instruction terminal detect meet preset trigger condition when, send the target domain name request to the operating system of the terminal Message;
Wherein, the target domain name request meets the call format of domain name request, and domain name request is for execution first Operation, the target message are used to indicate the operation of operating system performance objective, and the object run is except first operation Operation.
Optionally, the method further includes:
It will carry in the target domain-name information or the target domain name request message generated based on the target domain-name information One and the virtual Domain Name request instruction information the target webpage be sent to the terminal.
According to the third aspect of the embodiment of the present disclosure, a kind of communication means is provided, applied to web service end, the method Including:
Target message information is placed in target webpage and virtual Domain Name is set to ask instruction letter in the target webpage Breath, the virtual Domain Name solicited message are used to indicate terminal and generate mesh according to the target message information in the target webpage It marks domain name request message and sends the target domain name request message to the operating system of the terminal;
Wherein, the target message is used to indicate the operation of operating system performance objective, and the target domain name request meets domain The call format of name request, for performing the first operation, the object run is except first operation for domain name request Operation.
Optionally, the method further includes:
The target webpage for carrying the target message information and the virtual Domain Name solicited message is sent to described Terminal.
According to the fourth aspect of the embodiment of the present disclosure, a kind of communication means is provided, applied to webpage client, the method Including:
When detecting preset trigger condition, the virtual Domain Name request instruction information in webpage is obtained from the webpage Target message information;
Target message character is converted into aiming field name character, the target message character is the target message information institute Including character;
Target domain name request message is generated based on the aiming field name character;The target domain name request meets domain name request Call format, domain name request for perform it is described first operation;
The target domain name request message is sent to the operating system for the terminal for installing the webpage client.
According to a fifth aspect of the embodiments of the present disclosure, a kind of communication device is provided, described device is used for terminal, described device Including:
First acquisition module is configured as obtaining target domain name request message, and the target domain name request message carries mesh Information is marked, the target message is used to indicate the operation of operating system performance objective, wherein, the target domain name request meets The call format of domain name request, for performing the first operation, the object run is first operation for domain name request Outer operation;
Second acquisition module is configured as obtaining the target message information that the target domain name request message carries;
Extraction module is configured as, based on the target message information, extracting target component;
Execution module is configured as being operated according to the target component performance objective.
Optionally, described device further includes:
Third acquisition module is configured as when meeting preset trigger condition, obtains the target message information;
Modular converter is configured as, according to the correspondence between preset message character and domain name character, target being disappeared Breath character is converted to aiming field name character, and the target message character is the character included by the target message information;
First generation module is configured as the aiming field name character generating mesh according to default legal Domain Name Form registering sites Mark domain name;
Second generation module is configured as generating the target domain name request message based on the target domain name;
Sending module is configured as sending the target domain name request message to operating system.
Optionally, second generation module includes:
Submodule is compressed, if the total number for being configured as the aiming field name character is more than preset value, to the mesh Mark domain name is compressed;
Submodule is generated, is configured as based on the compressed target domain name generation target domain name request message.
Optionally, first acquisition module includes:
First acquisition submodule is configured as obtaining target domain name request message by the description components in operating system.
Optionally, the description components include any one of following:
Default domain name system or fire wall.
Optionally, second acquisition module includes following any submodule:
Second acquisition submodule is configured as obtaining the target domain name request message carrying by the default domain name system Target message information;
Third acquisition submodule is configured as forwarding the target domain name in the default domain name system or the fire wall After request message is serviced to presetting message, the target of target domain name request message carrying as described in the presetting message service acquisition Information.
Optionally, second acquisition module includes:
Transform subblock is configured as according to the correspondence between preset message character and domain name character, by target Domain name character is converted to target message character, and the aiming field name character is the word included by the target domain name request message Symbol;
4th acquisition submodule is configured as obtaining the target message information indicated by the target message character.
Optionally, described device further includes:
Correction verification module is configured as verifying the aiming field name character, obtains check results;
Control module passes through for verification if being configured as the check results, controls the transform subblock by mesh Mark domain name character is converted to target message character.
Optionally, the correction verification module includes:
Submodule is verified, if being configured as the aiming field name character meets preset check formula, it is determined that verification As a result pass through for verification, otherwise determine that the check results do not pass through for verification.
Optionally, the execution module includes:
Implementation sub-module is configured as opening intended application according to the target component, wherein, the target component is at least Including:The identity of the intended application.
Optionally, the implementation sub-module includes:
Determination unit is configured as determining that locally whether installing the target answers according to the identity of the intended application With;
The intended application is downloaded and installed to first execution unit if being configured as locally not installing the intended application,;
Second execution unit, being configured as should according to the target component opening target by default application platform With.
According to the 6th of the embodiment of the present disclosure the aspect, a kind of communication device is provided, applied to web service end, described device Including:
Second modular converter is configured as target message information being converted to aiming field name character;
Third generation module is configured as generating target domain-name information based on the aiming field name character;
First setup module is configured as giving birth to by the target domain name solicited message or based on the target domain-name information Into target domain name message be placed in target webpage and in the target webpage set virtual Domain Name ask instruction information, it is described Virtual Domain Name request instruction information be used to indicate terminal detect meet preset trigger condition when, to the operation system of the terminal System sends the target domain name request message;
Wherein, the target domain name request meets the call format of domain name request, and domain name request is for execution first Operation, the target message are used to indicate the operation of operating system performance objective, and the object run is except first operation Operation.
Optionally, described device further includes:
Second sending module is configured as that the target domain-name information will be carried or is generated based on the target domain-name information Target domain name request message in one and the virtual Domain Name request instruction information the target webpage be sent to institute State terminal.
According to the 7th of the embodiment of the present disclosure the aspect, a kind of communication device is provided, applied to web service end, described device Including:
Second setup module is configured as that target message information is placed in target webpage and is set in the target webpage Virtual Domain Name request instruction information is put, the virtual Domain Name solicited message is used to indicate terminal according to the institute in the target webpage It states target message information generation target domain name request message and sends the target domain name request to the operating system of the terminal Message;
Wherein, the target message is used to indicate the operation of operating system performance objective, and the target domain name request meets domain The call format of name request, for performing the first operation, the object run is except first operation for domain name request Operation.
Optionally, described device further includes:
Third sending module is configured as the institute that will carry the target message information and the virtual Domain Name solicited message It states target webpage and is sent to the terminal.
According to the eighth aspect of the embodiment of the present disclosure, a kind of communication device is provided, applied to webpage client, described device Including:
Third acquisition module is configured as when detecting preset trigger condition, the virtual Domain Name request in webpage Indicate that information obtains target message information from the webpage;
Third modular converter is configured as target message character being converted to aiming field name character, the target message word Symbol is the character included by the target message information;
4th generation module is configured as generating target domain name request message based on the aiming field name character;The mesh Mark domain name request meets the call format of domain name request, and domain name request operates for performing described first;
Third sending module is configured as the target domain name request message being sent to the installation webpage client The operating system of terminal.
According to the 9th of the embodiment of the present disclosure the aspect, a kind of computer readable storage medium is provided, the storage medium is deposited Computer program is contained, the computer program is used to perform above-mentioned first aspect, second aspect, the third aspect or fourth aspect Communication means described in either side.
According to the tenth of the embodiment of the present disclosure the aspect, a kind of communication device is provided, described device is used for terminal, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Target domain name request message is obtained, the target domain name request message carries target message information, and the target disappears Breath is used to indicate the operation of operating system performance objective, wherein, the target domain name request meets the call format of domain name request, institute State domain name request for perform first operation, the object run be it is described first operate except operation;
Obtain the target message information that the target domain name request message carries;
Based on the target message information, target component is extracted;
It is operated according to the target component performance objective.
According to the tenth of the embodiment of the present disclosure the on the one hand, a kind of communication device is provided, described device is used for web service end, Including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Target message information is converted into aiming field name character;
Based on the corresponding target domain name generation generation target domain-name information of the aiming field name character;
The target domain name solicited message or the target domain name message based on target domain-name information generation are placed in mesh It marks in webpage and virtual Domain Name is set to ask instruction information in the target webpage, the virtual Domain Name request instruction information is used In instruction terminal detect meet preset trigger condition when, send the target domain name request to the operating system of the terminal Message;
Wherein, the target domain name request meets the call format of domain name request, and domain name request is for execution first Operation, the target message are used to indicate the operation of operating system performance objective, and the object run is except first operation Operation.
According to the 12nd of the embodiment of the present disclosure the aspect, a kind of communication device is provided, described device is used for web service end, Including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Target message information is placed in target webpage and virtual Domain Name is set to ask instruction letter in the target webpage Breath, the virtual Domain Name solicited message are used to indicate terminal and generate mesh according to the target message information in the target webpage It marks domain name request message and sends the target domain name request message to the operating system of the terminal;
Wherein, the target message is used to indicate the operation of operating system performance objective, and the target domain name request meets domain The call format of name request, for performing the first operation, the object run is except first operation for domain name request Operation.
According to the 13rd of the embodiment of the present disclosure the aspect, a kind of communication device is provided, described device is used for webpage client, Including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
When detecting preset trigger condition, the virtual Domain Name request instruction information in webpage is obtained from the webpage Target message information;
Target message character is converted into aiming field name character, the target message character is the target message information institute Including character;
Target domain name request message is generated based on the aiming field name character;The target domain name request meets domain name request Call format, domain name request for perform it is described first operation;
The target domain name request message is sent to the operating system for the terminal for installing the webpage client.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the embodiment of the present disclosure, terminal can be after target domain name request message be obtained, and obtaining the target domain name please The target message information that message is asked to carry, so as to be based on the target message information, to extract target component, and according to the mesh Mark the operation of parameter performance objective.In the above process, can target component be extracted by target domain name request message, so as to indicate to grasp Make the operation of system performance objective, wherein aiming field name request meets the call format of domain name request, domain name request is used In performing the first operation, the object run is the operation except first operation.Operation system is enhanced by the above process The function of system improves the user experience of terminal.
In the embodiment of the present disclosure, optionally, terminal can obtain target message information when meeting trigger condition, so as to Character included by target message information can be subsequently converted to aiming field name character, disappeared so as to generate target domain name request Breath.Realize easy, availability height.
In the embodiment of the present disclosure, the webpage client of terminal can be after target message information be obtained, by the target Character code included by information is into aiming field name character.Or can also be that domain name conversion journey is carried in target webpage Sequence is programmed the character included by target message information as the domain name conversion program, so as to obtain aiming field name character sequence Row.It is possible to further which the aiming field name character is pressed by the domain name conversion program of webpage client or target webpage carrying According to default legal Domain Name Form registering sites, target domain name is generated.The target domain name generation target domain name request message is based ultimately upon, and The target domain name request message is sent to operating system.It by the above process, can be by webpage client or target webpage The domain name conversion program of carrying automatically generates target domain name request message, described so as to be carried by target domain name request message Target message information.
In the embodiment of the present disclosure, optionally, when generating target domain name request message based on target domain name, if aiming field The number of name character has been more than preset value, then target domain name can be compressed, so as to based on the compressed aiming field Name generation target domain name request message.By being compressed to target domain name, the number of characters of target domain name is effectively shortened, just It is transmitted in the target domain name request message being subsequently generated.
It, please in the domain name conversion program generation target domain name that webpage client or target webpage carry in the embodiment of the present disclosure After seeking message, the target domain name request message can be obtained by the description components of operating system.Optionally, the preset group Part can be default domain name system or fire wall.It by the above process, can be on the basis for not increasing the hardware facility in terminal On, the target domain name request message of carrying target message information is obtained by the description components of operating system, enhances operating system Function.In the embodiment of the present disclosure, after operating system gets target domain name request message, it can be obtained by default domain name system Take target message information that target domain name request message carries or can be by the default domain name system or fire wall by the mesh Mark domain name request message is transmitted to presetting message service, and the target domain name request message is obtained by the presetting message service The target message information of middle carrying.By the above process, it can automatically be obtained by operating system and be taken in target domain name request message The target message information of band so as to which performance objective operates, enhances the function of operating system, improves the user experience of terminal.
It, can be by default domain name system or presetting message service according to preset message character and domain in the embodiment of the present disclosure Correspondence between name character, target component character is converted to by aiming field name character.Wherein, the aiming field name character is Character included by the target domain name request message.Further, it is possible to obtain indicated by the target message character Target message information.Realize the purpose for obtaining the target message information that the target domain name request message carries.
During the disclosure is implemented, it is alternatively possible to aiming field name character is verified, after check results pass through for verification, Aiming field name character is just converted into target message character.Ensure the accuracy of the target message information obtained.
In the embodiment of the present disclosure, when being operated according to target component performance objective, the object run can open mesh The operation of application is marked, correspondingly, target component includes at least the identity of the intended application.Further, if locally not The intended application is installed, then downloads and install the intended application, and the intended application is directly opened by default application platform.Eventually End can voluntarily install or update, installation process foreground after server-side gets the compressed package of intended application from the background Invisible, renewal process can not also be presented to the user on foreground, improved the intelligence degree of terminal, improved user's body It tests.
In the embodiment of the present disclosure, after target message information being converted to aiming field name character by web service end, Target domain-name information is generated based on the aiming field name character, so as to by the target domain-name information or based on the aiming field The target domain name request message of name information generation is placed in target webpage and virtual Domain Name is set to ask in the target webpage Indicate information.By the above process, target domain-name information can be directly generated by web service end, terminal can be preset meeting During trigger condition, can aiming field name request message be generated or directly by the target webpage based on target domain-name information In target domain name request message issue operating system.The flow of webpage client is simplified, equally enhances operating system Performance.
In the embodiment of the present disclosure, target message information can also be placed in target webpage, and in mesh by web service end It marks setting virtual Domain Name in webpage and asks instruction information.Terminal can be according to the target message information in the target webpage by mesh Character included by target message information is converted to target by the self-contained domain name conversion program of mark webpage or webpage client After domain name character, target domain name request message is generated based on the aiming field name character, so as to which target message information be sent to Operating system.The above process is that target message information is placed in target webpage, by webpage client according to target message information Target domain name request message is generated, is then forwarded to operating system, so that operating system performance objective operates, enhances operating system Performance.
It should be understood that above general description and following detailed description are only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
Attached drawing herein is incorporated into specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and for explaining the principle of the disclosure together with specification.
Fig. 1 is according to a kind of communication means flow chart shown in an exemplary embodiment.
Fig. 2 is according to another communication means flow chart shown in an exemplary embodiment.
Fig. 3 A to Fig. 3 D are according to the communication scenes schematic diagram shown in an exemplary embodiment.
Fig. 4 is according to another communication means flow chart shown in an exemplary embodiment.
Fig. 5 is according to another communication means flow chart shown in an exemplary embodiment.
Fig. 6 is according to another communication means flow chart shown in an exemplary embodiment.
Fig. 7 is according to another communication means flow chart shown in an exemplary embodiment.
Fig. 8 is according to another communication means flow chart shown in an exemplary embodiment.
Fig. 9 is according to another communication means flow chart shown in an exemplary embodiment.
Figure 10 is according to another communication means flow chart shown in an exemplary embodiment.
Figure 11 is according to another communication means flow chart shown in an exemplary embodiment.
Figure 12 is according to a kind of communication device block diagram shown in an exemplary embodiment.
Figure 13 is according to another communication device block diagram shown in an exemplary embodiment.
Figure 14 is according to another communication device block diagram shown in an exemplary embodiment.
Figure 15 is according to another communication device block diagram shown in an exemplary embodiment.
Figure 16 is according to another communication device block diagram shown in an exemplary embodiment.
Figure 17 is according to another communication device block diagram shown in an exemplary embodiment.
Figure 18 is according to another communication device block diagram shown in an exemplary embodiment.
Figure 19 is according to another communication device block diagram shown in an exemplary embodiment.
Figure 20 is according to another communication device block diagram shown in an exemplary embodiment.
Figure 21 is according to another communication device block diagram shown in an exemplary embodiment.
Figure 22 is according to another communication device block diagram shown in an exemplary embodiment.
Figure 23 is according to another communication device block diagram shown in an exemplary embodiment.
Figure 24 is according to another communication device block diagram shown in an exemplary embodiment.
Figure 25 is according to another communication device block diagram shown in an exemplary embodiment.
Figure 26 is according to another communication device block diagram shown in an exemplary embodiment.
Figure 27 is an a kind of structure diagram for communication device of the disclosure according to an exemplary embodiment.
Figure 28 is the structure diagram that another kind of the disclosure according to an exemplary embodiment is used for communication device.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
It is only merely for the purpose of description specific embodiment in the term that the disclosure uses, and is not intended to be limiting the disclosure. " one kind " of singulative used in disclosure and the accompanying claims book, " described " and "the" are also intended to including majority Form, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to and wraps Containing one or more associated list items purposes, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from In the case of disclosure range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
First the technical principle of the disclosure and technique effect are illustrated below:
In the communication means that the disclosure provides, for the webpage client of webpage such as browser or other networks to be presented Agency service program such as Michat, wechat etc., without add api interface (Application Programming Interface, Application programming interface), it is possible to target message information is carried in target domain name request message, is smoothly transferred to operation System so that operating system can extract target ginseng from the target message information that above-mentioned target domain name request message carries Number, so as to be operated according to above-mentioned target component performance objective.Wherein, the target domain name request meet domain name request form will It asks, for performing the first operation, such as domain name mapping operation, the object run is first operation for domain name request Outer operation, such as open intended application or perform a kind of order, such as perform shutdown, restart, start timer order, specifically How performance objective operation is referred to the relevant technologies, belongs to operating system and/or ability that the application installed thereon has, this It is open that the type of object run is not restricted.
In the relevant technologies, presetting communication protocol allows operating system ability opening of the webpage client limited kinds to net Page.That is, in relevant communication protocol, the carrier type that operating system can receive message from webpage is limited, such as can To include:Network request, clipbook information, picture format file, audio format file etc..
And in the disclosure, then it can be used as the carrier of carrying target message information by target domain name request message, so as to Indicate the operation of operating system performance objective.It realizes and further types of operation is performed come trigger action system by webpage, enhance The function of operating system effectively improves the user experience of terminal.
Present disclose provides a kind of communication means, with reference to Fig. 1 according to a kind of communication means shown in an exemplary embodiment Flow chart, this method may comprise steps of:
In a step 101, target domain name request message is obtained, the target domain name request message carries target message letter Breath, the target message are used to indicate the operation of operating system performance objective, wherein, the target domain name request meets domain name request Call format, domain name request for perform first operation, the object run be it is described first operation except operation;
In a step 102, the target message information that the target domain name request message carries is obtained;
In step 103, based on the target message information, target component is extracted;
At step 104, it is operated according to the target component performance objective.
In above-described embodiment, terminal can obtain the target domain name request after target domain name request message is obtained The target message information that message carries, so as to be based on the target message information, to extract target component, and according to the target Parameter performance objective operates.In the above process, can target component be extracted by target domain name request message, so as to indicate to operate System performance objective operates, wherein aiming field name request meets the call format of domain name request, domain name request is used for The first operation is performed, the object run is the operation except first operation.Operating system is enhanced by the above process Function, improve the user experience of terminal.
For step 101, can target domain name request message, further, institute be generated by the webpage client in terminal The description components that the target domain name request message can be sent in terminal operating system by webpage client are stated, by described pre- If component obtains target domain name request message.Optionally, the description components can be default domain name system or fire wall.
It or in the embodiments of the present disclosure, can also be by the self-contained program of target webpage, such as domain name conversion program Deng generation target domain name request message;It or can also be by web service end by target domain-name information or based on target domain-name information The target domain name request message of generation is directly inserted in target webpage, will subsequently be introduced and be taken by target webpage itself and webpage The process of business end generation, details are not described herein.In this embodiment, only by action subject for webpage client, to carry out Exemplary illustration.
Wherein, the process of webpage client generation target domain name request message is referred to shown in Fig. 2, and Fig. 2 is according to Fig. 1 Another communication means shown on the basis of illustrated embodiment, above-mentioned communication means can also include:
In step 201, when meeting preset trigger condition, the target message information is obtained;
In this step, webpage client can be corresponding with the trigger condition to obtain when determining to meet trigger condition Target message information.
Optionally, the preset trigger condition can be predeterminable event trigger condition, such as default interface element is triggered, The default interface element can be default virtual key, such as shown in Fig. 3 A;Or default display elements can be URL Location, such as shown in Fig. 3 B;Or default display elements can also be image link, such as shown in Fig. 3 C and Fig. 3 D.
In addition, the preset trigger condition can also be deliberate action trigger condition or preset time trigger condition, such as It is loaded with preset web or loading preset web reaches preset duration etc..
In the embodiment of the present disclosure, can target message be got, such as can be by mesh by the target message information It marks information and carries out assembly, so as to obtain target message;Or it is inquired by the index included by target message information So as to obtain the target message.In the embodiment of the present disclosure, the target message information can be the whole of the target message Or part;Or can also be information associated with all or part of the target message, such as with the target message The corresponding index of all or part;Or the target message information can also be at least one of target component.It is optional Ground, target component can include the identity of intended application, such as APP ID;It can also include other information, such as the page Title, i.e. details page title;Page parameter, i.e. details page parameter etc.;Or the target component can also be object run Concrete operations indicate information.
In step 202, according to the correspondence between preset message character and domain name character, by target message character Aiming field name character is converted to, the target message character is the character that the target message information includes;
In the embodiment of the present disclosure, since the word not permitted in some Domain Name Form registering sites may be included in target message character Symbol, for example, if target message character includes:AppID=abc123, but do not allow to occur as "=" in Domain Name Form registering sites Character, the target domain name generated in this way can not be predetermined domain name system identification.Therefore, it is necessary to convert target message character For the permitted aiming field name character of Domain Name Form registering sites.
When the target message character is converted to aiming field name character, message character and domain name word can be pre-set Correspondence between symbol, such as shown in table 1.
Message character Domain name character
A aaa
D ddd
= egl
a a
…… ……
Table 1
In this step, the target message character can be converted into aiming field name character according to table 1 by webpage client. Wherein, the target message character is exactly the character included by the target message information.
In step 203, the aiming field name character is generated into target domain name according to default legal Domain Name Form registering sites;
In this step, webpage client can be raw according to default legal Domain Name Form registering sites after aiming field name character is obtained Into the target domain name.
For example, the aiming field name character includes:Aaabsdergeqlabc123, then presetting legal Domain Name Form registering sites can be with It is www. aiming field name character .com or www. aiming field name characters .net etc., then current application can generate The target domain name of www.aaabsdergeqlabc123.com.
In step 204, the target domain name request message is generated based on the target domain name.
In this step, webpage client can generate target domain name request according to the relevant technologies based on the target domain name Message sends the target domain name request message by data packet.
In one embodiment, the total number of aiming field name character may be more, if more than preset value, the preset value Can be the maximum value of carry-on number of characters in a data packet, then webpage client can be first according to the relevant technologies pair Target domain name is compressed, so as to generate target domain name request message based on compressed target domain name.
In step 205, the target domain name request message is sent to operating system.
In this step, webpage client, can be according to the relevant technologies by described in after target domain name request message is generated Target domain name request message is sent to operating system.
Step 101 is performed at this time, can obtain the target domain name request message by the description components in operating system.Its In, description components can be set in the domain name transmission channel of operating system, be have target domain name request identification function pre- If system, the default domain name system of Hook functions is such as had additional;Or the description components can be disposed on operating system One newly-increased service routine or hang over outside the service in existing operating system component such as domain name component or fire wall into Journey, the disclosure do not limit this.
For above-mentioned steps 102, the description components in operating system after the target domain name request message is got, The target message information that can be directly acquired the target domain name request message by presetting domain name system and be carried, can also be by presetting Target domain name request message is transmitted to presetting message service by domain name system or fire wall, is obtained by the presetting message service The target message information that the target domain name request message carries.It in the embodiments of the present disclosure, can be by description components to receiving To all domain name request message be identified, if identifying above-mentioned target domain name request message, continue to execute step 102;Remaining domain name request message can be according to the existing flow in the relevant technologies, by presetting domain name system by domain name request message After requested domain name is converted to IP address, then the filtering for passing through fire wall, the server corresponding to the IP address is accessed.
In the relevant technologies, the more powerful webpage client of some functions can directly pass through domain name request message UDP (User Datagram Protocol, User Datagram Protocol) packets are directly sent out without the domain name system in operating system Fire wall is given, is directly filtered by fire wall, is transmitted to the corresponding server of UDP packets.
In one embodiment of the disclosure, if above-mentioned description components are the default fire prevention with target domain name request identification function Wall component, whether the domain name request sent out according to application program such as webpage client is by DNS component, the default firewall component The process of identification target domain name request can include following at least two embodiment:
Identification method one, application program can first pass around the DNS component in operating system
Assuming that the operating system of above-mentioned user terminal is Android android system, in the relevant technologies, application program needs to grasp When making system and performing the first operation as carried out domain name mapping according to domain-name information, the domain name request that sends out can first pass around operation system Domain name request is sent to above-mentioned DNS component by the DNS component of system, i.e. application program first, in Android system, above-mentioned DNS groups Part can be the service routine of entitled Netd, above-mentioned Netd service routines to be asked to believe the domain name that current domain name request includes Breath carries out domain name mapping, such as parses corresponding IP address.Wherein, above-mentioned Netd service routines are specially born in android system Blame the backstage daemon of network management and control.
Later, Netd service routines can search the DNS information for being locally stored and caching such as the presets list, which can To include:The correspondence of domain-name information and IP address searches the corresponding IP address of above-mentioned domain-name information;If Netd service routines Corresponding IP address locally can be being searched, which is sent to application program.If Netd service routines are searched locally It seeks less than corresponding IP address, above-mentioned domain name request can be sent through default firewall component to preconfigured dns server.
During Netd service routines send current domain name request to default dns server, above-mentioned default fire wall Component can identify whether current domain name request belongs to target domain name request.
Identification method two, application program send domain name request without operating system DNS component
In another embodiment of the disclosure, application program can be through default firewall component directly to preconfigured DNS Server sends domain name request, and external dns server is asked to perform the first behaviour according to the domain-name information that domain name request includes Make as carried out domain name mapping.That is, in the embodiment of the present disclosure, the domain name request that application program is sent out is without operating system DNS component.Then when the domain name request that application program is sent out passes through above-mentioned default firewall component, it can be identified and whether belong to In target domain name request.
In the disclosure, webpage client can disappear the target domain name request after target domain name request message is generated Breath is sent to default domain name system, and all domain name request message received can be identified in the default domain name system, Obtain the target message information entrained by the target domain name request message identified;Or it is identified by the default domain name system After target domain name request message, which is transmitted to presetting message service, then obtained by presetting message service Take the target message information entrained by the target domain name request message;Or webpage client can be by the target domain name request Message is transmitted directly to fire wall without default domain name system, is received by service processes in the fire wall to all Domain name request message is identified, and the target domain name request message that will identify that is transmitted to presetting message service, thus by Target message information described in presetting message service acquisition entrained by target domain name request message.
In the embodiment of the present disclosure, when all domain name request message are identified in description components, it can be determined that current domain name Whether the domain name corresponding to request message has default characteristic information.It is alternatively possible to by whether judging the target domain name Meet preset format, to determine whether target domain name has default characteristic information.The preset format includes but not limited to:Target The total number of character included by domain name is preset characters number, and the character that predeterminated position is located in target domain name is predetermined word Symbol etc..It or can also be by whether judging the domain name by specially treated, such as the processing procedures such as compression or encryption, to judge Whether domain name has default characteristic information.
If domain name has default characteristic information, the description components can identify current domain name request message For target domain name request message, further can the mesh wherein carried be obtained by default domain name system or presetting message service Mark information.
In the embodiment of the present disclosure, with reference to shown in Fig. 4, Fig. 4 is the another kind shown on the basis of embodiment according to Fig. 1 Communication means, step 102 can include:
In step 102-1, according to the correspondence between preset message character and domain name character, by aiming field name Symbol is converted to target message character, and the aiming field name character is the character included by the target domain name request message;
In this step, preset domain name system or presetting message service can be according to the correspondence of table 1, by the aiming field Name character is converted to target message character again.
For example, aiming field name character includes:Www.aaabsdergeqlabc123.com, the mesh being converted to according to table 1 Mark message character includes:Ap p I D=a b c 123.
In step 102-2, the target message information indicated by the target message character is obtained.
In this step, default domain name system or presetting message service can obtain the institute indicated by the target message character State target message information.
It in one embodiment, can be to aiming field name in order to ensure the accuracy of target message information subsequently obtained Symbol is verified, and after verification passes through, aiming field name character just is converted to target message character.With reference to shown in Fig. 5, Fig. 5 is According to another communication means shown on the basis of embodiment illustrated in fig. 4, above-mentioned communication means can also include:
In step 105, the aiming field name character is verified, obtains check results.
In this step, can school first be carried out to aiming field name character by the default domain name system or presetting message service It tests, obtains check results.
It is alternatively possible to judge whether the aiming field name character meets preset check formula, if it is satisfied, then determining Check results pass through for verification.For example, aiming field name character can be converted to corresponding number, if former target domain names The sum of number corresponding to character is equal to the number corresponding to last aiming field name character, it is determined that aiming field name character is expired The preset check formula of foot.
In the embodiments of the present disclosure, before whether can also meeting preset check formula judging aiming field name character, Whether the length value for first judging aiming field name character is preset length value, aiming field name character whether according to default Domain Name Form registering sites into Capable coding.Meet above-mentioned condition in aiming field name character and then judge whether aiming field name character meets preset verification Formula.
After check results pass through for verification, step 102-1 is performed, the aiming field name character is converted into target and is disappeared Character is ceased, the accurate efficiency for obtaining target component character can be improved.
It should be noted that default domain name system or presetting message service are obtaining the target domain name request message carrying Target message information before, if webpage client presses target domain name when generating target domain name request message Contracting, then preset domain name system or presetting message service need target domain name in the target domain name request message is got it Afterwards, target domain name according to the relevant technologies is unziped it, and then target message is determined according to the target domain name that decompression obtains Information.
For above-mentioned steps 103, domain name system or presetting message service are preset after target message information is got, it can Target component is extracted to be further based on the target message information.
In this step, it presets domain name system or presetting message service can be according to the relevant technologies, according to the mesh got Information is marked, extracts target component, determines currently to need the object run performed.
It should be noted that if target message information includes at least one of target component, i.e. target domain name request Target component is directly carried in message, then step 102 and 103 can be merged into same step.
It, can be by default domain name system or presetting message service control operations system according to target for above-mentioned steps 104 Parameter carrys out performance objective operation.Wherein, the object run is an operation except the first operation, can open target to answer With, shut down, restart, start the operations such as timer, specifically how performance objective operation is referred to the relevant technologies, belongs to operation system The ability that system and/or the application installed thereon have.
It, can be by presetting domain name system if target component includes the identity of intended application in the embodiment of the present disclosure The target component is sent to application platform by system or the presetting message service.The application platform is according to the intended application Identity, open intended application.
In the embodiment of the present disclosure, optionally, which can be the platform being mounted directly in an operating system, operation System can be Android, IOS etc.;Or application platform can be some applications, such as wechat, Alipay, QQ etc. or described Application platform can be browser.
In the embodiment of the present disclosure, intended application can be in the relevant technologies, and what installation process needed that user triggers manually should With or a kind of new opplication, application in the new opplication and the relevant technologies difference lies in:Installation process is in user terminal Running background.
That is terminal can voluntarily installed or updated, peace after server-side gets the compressed package of new opplication from the background Dress process foreground is invisible, and renewal process can not also be presented to the user on foreground.
If intended application belongs to the application in the relevant technologies, in the terminal in the case of installation targets application, above-mentioned step Rapid 104 implementation process can be:
The identity of intended application of the application platform in above-mentioned target component starts intended application, for example, opening Using the login of homepage or opening intended application or enrollment page etc..
In the case of further including other information in target component, the destination application having been turned on can also be according to above-mentioned Information perform corresponding operating, such as open intended application interior page, such as in electric business platform a merchandising details page;Or Person plays audio, video file etc. in default interface;Either pop up default dialog box etc..
If not installing above-mentioned intended application in user terminal, can be reminded under user using modes such as shops by opening Carry installation targets application;Alternatively, target message is abandoned.
If target component includes the operation instruction information for being used to indicate reboot operation or power-off operation, can be by pre- If target component is transmitted directly to operating system, then perform reboot operation by operating system by domain name system or presetting message service Or power-off operation.Optionally, time point information is further included in the target component, then operating system can reach target ginseng When counting indicated time point, reboot operation or power-off operation are performed.
Currently, it can also include being used to indicate the other information of operating system performance objective operation in target component, specifically How performance objective operation is referred to the relevant technologies, belongs to operating system and/or ability that the application installed thereon has, this It is open that this is not limited.
In the above-described embodiments, target domain name request message is generated by webpage client, in the embodiments of the present disclosure, Optionally, the target domain name request message can also be generated by web service end.With reference to shown in Fig. 6, Fig. 6 is real according to one Another communication means exemplified is applied, the communication means is used for web service end, can include:
In step 301, target message information is converted into aiming field name character;
In step 302, target domain-name information is generated based on the aiming field name character;
In step 303, the target domain-name information or the target domain name generated based on the target domain-name information are asked Message is asked to be placed in target webpage and virtual Domain Name is set to ask instruction information in the target webpage, the virtual Domain Name please Ask instruction information be used to indicate terminal detect meet preset trigger condition when, to the terminal operating system send described in Target domain name request message;
Wherein, the target domain name request meets the call format of domain name request, and domain name request is for execution first Operation, the target message are used to indicate the operation of operating system performance objective, and the object run is except first operation Operation.
In above-described embodiment, after target message information being converted to aiming field name character by web service end, base Target domain-name information is generated in the aiming field name character, so as to by the target domain-name information or based on the target domain name The target domain name request message of information generation is placed in target webpage and virtual Domain Name is set to ask to refer in the target webpage Show information.By the above process, target domain-name information can be directly generated by web service end, terminal can meet default touch During clockwork spring part, can aiming field name request message be generated or directly will be in the target webpage based on target domain-name information Target domain name request message issue operating system.The flow of webpage client is simplified, equally enhances the property of operating system Energy.
For above-mentioned steps 301, the target message can serve to indicate that the operating system performance objective operation of terminal, institute It is the operation except the first operation to state object run;The target message information can then be used for obtaining the target message, example Such as can target message information be subjected to assembly, so as to obtain target message;Or the rope included by by target message information Row inquiry is introduced so as to obtain described target message etc..
In this step, webpage client can be according to the correspondence between preset message character and domain name character, certainly It is dynamic that the target message character to prestore is converted into aiming field name character.
For above-mentioned steps 302, web service end can be based on the aiming field name character according to the relevant technologies, described in generation Target domain-name information.Such as aiming field name character can be combined or added preset characters according to preset order, such as Or the rear acquisition target domain-name information such as com www..
For above-mentioned steps 303, webpage client directly provides a kind of target webpage, which can be somebody's turn to do to display The operating system of the user terminal of target webpage is transmitted the target domain-name information or is transmitted based on the target domain-name information The target domain name request message of generation.
In the embodiment of the present disclosure, web service end by above-mentioned target domain-name information or can be transmitted according to preset protocol Target domain name request message based on target domain-name information generation is loaded in the web page code of target webpage.It in addition, should Web service end can also load virtual Domain Name request instruction information, the virtual Domain Name request instruction information in web page code It can detect that sending the target domain name to the operating system of the terminal please when meeting preset trigger condition with instruction terminal Seek message.
With reference to shown in Fig. 7, Fig. 7 is according to another communication means shown in embodiment illustrated in fig. 6, and the communication means is also It can include:
Step 304, the target domain name that will be carried the target domain-name information or be generated based on the target domain-name information is asked Ask one in message and the virtual Domain Name request instruction information the target webpage be sent to the terminal.
In this step, web service end can will carry the target domain-name information and the void according to the relevant technologies The target webpage for intending domain name request instruction information is sent to terminal;Or the web service end can be by the aiming field Name request message and the target webpage of virtual Domain Name request instruction information are sent to terminal.
It is possible to further when terminal detects and meets preset trigger condition, for example, default interface element be triggered plus It has carried the target webpage or the loading target webpage reaches preset duration etc., the target is obtained by webpage client Target domain-name information in webpage, so as to generate target domain name request message based on the target domain-name information;Or the net Page client can directly acquire target domain name request message.And the target domain name request message is sent to the operation system of terminal System obtains the target message information carried in the target domain name request message by the description components of operating system, and then Based on the target message information, target component is extracted, and operate according to the target component performance objective.Terminal operating system The above process be referred to step 101 to step 104, details are not described herein.
In the above-described embodiments, it provides by the mode of web service end generation target domain name request message, in the disclosure In embodiment, target message information can also be only placed in target webpage by web service end, be carried in itself by target webpage Program, such as domain name conversion program generate the target domain name request message.The communication means can include:
In step 401, target message information is placed in target webpage and virtual Domain is set in the target webpage Name request instruction information, the virtual Domain Name solicited message are used to indicate terminal and disappear according to the target in the target webpage It ceases information generation target domain name request message and sends the target domain name request message to the operating system of the terminal;
Wherein, the target message is used to indicate the operation of operating system performance objective, and the target domain name request meets domain The call format of name request, for performing the first operation, the object run is except first operation for domain name request Operation.
In this step, target message information can be directly placed in target webpage by web service end, and in the target Virtual Domain Name is set to ask instruction information in webpage.
With reference to shown in Fig. 8, Fig. 8 is to implement another communication means exemplified according to one, and the communication means can be with Including:
Step 402, the target webpage for carrying the target message information and the virtual Domain Name solicited message is sent out Give the terminal.
In this step, web service end can will carry the target message information and the virtual Domain Name solicited message The target webpage is sent to the terminal.
Terminal is after the target webpage is received, if it is determined that currently meet preset trigger condition, then it can be by mesh The above procedure that mark webpage carries generates aiming field name request message automatically according to the target message information, generating process with The process that webpage client and web service end generate target domain name request message according to target message information is identical, herein no longer It repeats.
It, can be by webpage client by the target domain name request message after target webpage generation target domain name request message The operating system of terminal is sent, then as described in being carried in the description components acquisition target domain name request message of operating system Target message information, and then based on the target message information, target component is extracted, and according to the target component performance objective Operation.The above process of terminal operating system is referred to step 101 to step 104, and details are not described herein.
In another embodiment, web service end, can be by terminal after target message information is placed in target webpage When meeting preset trigger condition, aiming field name request message is generated according to target message information by webpage client.Reference Shown in Fig. 9, Fig. 9 is to implement another communication means exemplified according to one, and the communication means can be used for webpage client, It can include:
In step 501, when detecting preset trigger condition, virtual Domain Name in webpage request instruction information from The webpage obtains target message information;
In step 502, target message character is converted into aiming field name character, the target message character is the mesh Mark the character included by information;
In step 503, target domain name request message is generated based on the aiming field name character;The target domain name request Meet the call format of domain name request, domain name request operates for performing described first;
In step 504, the target domain name request message is sent to the behaviour for the terminal for installing the webpage client Make system.
In above-described embodiment, the webpage client of terminal can after the target webpage for receiving the push of web service end, It detects whether to meet preset trigger condition, when meeting the preset trigger condition, the virtual Domain Name in the webpage please Instruction information is asked to obtain target message information from the webpage.And then according to pair between preset message character and domain name character It should be related to, the character included by target message information is converted into aiming field name character.So as to based on the aiming field name character After generation meets the target domain name of Domain Name Form registering sites, target domain name request message is generated, and by the target according to the target domain name Domain name request message is sent to the operating system of terminal, and the target domain name request message is obtained by the description components of operating system The target message information of middle carrying, and then based on the target message information, target component is extracted, and according to the target Parameter performance objective operates.The above process of terminal operating system is referred to step 101 to step 104, and details are not described herein.
With reference to shown in Figure 10, Figure 10 is to implement another communication means exemplified according to one, and the communication means can be with Including:
In step 601, webpage client obtains target message information when meeting preset trigger condition.
Wherein, webpage client is the application that webpage can be presented, such as browser or other web agents etc..
In step 602, webpage client is according to the correspondence between preset message character and domain name character, by mesh Mark message character is converted to aiming field name character;Wherein, the target message character is included by the target message information Character.
In step 603, webpage client generates mesh by the aiming field name character according to default legal Domain Name Form registering sites Mark domain name.
In step 604, webpage client is based on target domain name and generates target domain name request message.
In step 605, the target domain name request message is sent to the default domain in operating system by webpage client Name system.
In step 606, the default domain name system judges whether is domain name corresponding to the target domain name request message Has default characteristic information.
In step 607, default domain name system will be provided with the target domain name request message transmission of default characteristic information Give presetting message service.
In step 608, the presetting message service verifies aiming field name character, obtains check results.
Wherein, the aiming field name character is the character included by the target domain name request message.
In step 609, when the check results pass through for verification, the presetting message service is according to preset message word Correspondence between symbol and domain name character, target message character is converted to by aiming field name character.
In step 610, target message information of the presetting message service according to indicated by the target message character Extract target component.
In step 611, the presetting message service indicates the operation of operating system performance objective according to the target component.
It is of course also possible to above-mentioned default domain name system can be changed to fire wall.
In above-described embodiment, webpage client automatically generates target domain name request message when meeting preset trigger condition. The target domain name request message is sent to default domain name system or fire wall, the default domain name system by the webpage client The target domain name request message is transmitted to presetting message service by system or fire wall again.By the presetting message service from described After extracting the target component in target domain name request message, operating system performance objective is indicated according to the target component Operation.By the above process, by extracting target component from target domain name request message, the function of operating system is enhanced, Improve the user experience of terminal.In the above-described embodiments, target domain name request message can also be generated by web service end, eventually After webpage client on end directly obtains target domain name request message by target webpage, the target domain name request is disappeared Breath is sent to the default domain name system in operating system, and subsequent step is identical to step 611 with step 606.
Or web service end carries target message information in target webpage, is determining to meet default triggering item by terminal During part, by target webpage by included program be based on the target message Automatic generation of information target domain name request message or Person generates aiming field name request message by webpage client based on the target message information in the target webpage, further Ground, the default domain name system being sent to the target domain name request message by webpage client in operating system, subsequent step It is identical to step 611 with step 606.
With reference to shown in Figure 11, Figure 11 is to implement another communication means exemplified according to one, and the communication means can be with Including:
In step 701, webpage client obtains target message information when meeting preset trigger condition.
In a step 702, webpage client is according to the correspondence between preset message character and domain name character, by mesh Mark message character is converted to aiming field name character.
Wherein, the target message character is the character included by the target message information.
In step 703, the aiming field name character according to default legal Domain Name Form registering sites, is generated mesh by webpage client Mark domain name.
In step 704, webpage client is based on target domain name and generates target domain name request message.
In step 705, the target domain name request message is sent to default domain name system by webpage client.
In step 706, the default domain name system judges whether is domain name corresponding to the target domain name request message Has default characteristic information.
It is described if the corresponding domain name of the target domain name request message has default characteristic information in step 707 Default domain name system verifies aiming field name character, obtains check results.
Wherein, the aiming field name character is the character included by the target domain name.
Optionally, default domain name system can verify the target domain name for meeting preset format, obtain check results.
In step 708, when the check results pass through for verification, the default domain name system is according to preset message word Correspondence between symbol and domain name character, target message character is converted to by aiming field name character.
In step 709, default domain name system target message information according to indicated by the target message character.
In step 720, the default domain name system indicates the operation of operating system performance objective according to the target component.
In above-described embodiment, webpage client automatically generates target domain name request when determining to meet preset trigger condition Message.The target domain name request message is sent to default domain name system by the webpage client, by the default domain name system After system extracts the target component from the target domain name request message, operating system is controlled according to the target component Performance objective operates.By the above process, by extracting target component from target domain name request message, operating system is enhanced Function, improve the user experience of terminal.
In the above-described embodiments, can also target domain name request message be generated by web service end, the webpage visitor in terminal After family end directly obtains target domain name request message by target webpage, the target domain name request message is sent to operation Default domain name system in system, subsequent step are identical to step 710 with step 706.
Or web service end carries target message information in target webpage, is determining to meet default triggering item by terminal During part, it is based on by the programming automatic generation target domain name request message of target webpage carrying or by webpage client described Target message information in target webpage generates aiming field name request message, further, by webpage client by the mesh Mark domain name request message is sent to the default domain name system in operating system, and subsequent step is identical to step 710 with step 706.
For aforementioned each method embodiment, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but It is that those skilled in the art should know, the disclosure is not limited by described sequence of movement, because according to the disclosure, certain A little steps may be used other sequences or be carried out at the same time.
Secondly, those skilled in the art should also know, embodiment described in this description belongs to alternative embodiment, Necessary to involved action and the module not necessarily disclosure.
Corresponding with aforementioned applications function realizing method embodiment, the disclosure additionally provides application function realization device and phase The embodiment for the terminal answered.
With reference to Figure 12 according to a kind of communication device block diagram shown in an exemplary embodiment, described device is used for terminal, packet It includes:
First acquisition module 810 is configured as obtaining target domain name request message, and the target domain name request message carries Target message information, the target message are used to indicate the operation of operating system performance objective, wherein, the target domain name request symbol The call format of domain name request is closed, for performing the first operation, the object run is first operation for domain name request Except operation;
Second acquisition module 820 is configured as obtaining the target message information that the target domain name request message carries;
Extraction module 830 is configured as, based on the target message information, extracting target component;
Execution module 840 is configured as being operated according to the target component performance objective.
With reference to Figure 13 according to another communication device block diagram shown in an exemplary embodiment, implement in Figure 12 shown devices On the basis of example, described device further includes:
Third acquisition module 850 is configured as when meeting preset trigger condition, obtains the target message information;
First modular converter 860 is configured as according to the correspondence between preset message character and domain name character, will Target message character is converted to aiming field name character, and the target message character is the word included by the target message information Symbol;
First generation module 870 is configured as the aiming field name character according to default legal Domain Name Form registering sites, generation Target domain name;
Second generation module 880 is configured as generating the target domain name request message based on the target domain name;
First sending module 890 is configured as sending the target domain name request message to operating system.
With reference to Figure 14 according to another communication device block diagram shown in an exemplary embodiment, implement in Figure 13 shown devices On the basis of example, second generation module 880 includes:
Submodule 881 is compressed, if the total number for being configured as the aiming field name character is more than preset value, to described Target domain name is compressed;
Submodule 882 is generated, is configured as based on the compressed target domain name generation target domain name request message.
With reference to Figure 15 according to another communication device block diagram shown in an exemplary embodiment, implement in Figure 12 shown devices On the basis of example, first acquisition module 810 includes:
First acquisition submodule 811 is configured as obtaining target domain name request message by the description components in operating system.
Optionally, the description components include any one of following:Default domain name system or fire wall.
With reference to Figure 16 according to another communication device block diagram shown in an exemplary embodiment, implement in Figure 12 shown devices On the basis of example, second acquisition module 820 includes following any submodule:
Second acquisition submodule 821 is configured as obtaining the target domain name request message by the default domain name system The target message information of carrying;
Third acquisition submodule 822 is configured as forwarding the target in the default domain name system or the fire wall After domain name request message is serviced to presetting message, target domain name request message carries as described in the presetting message service acquisition Target message information.
With reference to Figure 17 according to another communication device block diagram shown in an exemplary embodiment, implement in Figure 12 shown devices On the basis of example, second acquisition module 820 includes:
Transform subblock 823 is configured as according to the correspondence between preset message character and domain name character, by mesh Mark domain name character is converted to target message character, and the aiming field name character is the word included by the target domain name request message Symbol;
4th acquisition submodule 824 is configured as obtaining the target message letter indicated by the target message character Breath.
With reference to Figure 18 according to another communication device block diagram shown in an exemplary embodiment, implement in Figure 17 shown devices On the basis of example, described device further includes:
Correction verification module 910 is configured as verifying the aiming field name character, obtains check results;
Control module 920 passes through if being configured as the check results for verification, controls the transform subblock will Aiming field name character is converted to target message character.
With reference to Figure 19 according to another communication device block diagram shown in an exemplary embodiment, implement in Figure 18 shown devices On the basis of example, the correction verification module 910 includes:
Submodule 911 is verified, if being configured as the aiming field name character meets preset check formula, it is determined that school It tests result for verification to pass through, otherwise determines that the check results do not pass through for verification.
With reference to Figure 20 according to another communication device block diagram shown in an exemplary embodiment, implement in Figure 12 shown devices On the basis of example, the execution module 840 includes:
Implementation sub-module 841 is configured as opening intended application according to the target component, wherein, the target component It includes at least:The identity of the intended application.
With reference to Figure 21 according to another communication device block diagram shown in an exemplary embodiment, implement in Figure 20 shown devices On the basis of example, the implementation sub-module 841 includes:
Determination unit 8411 is configured as determining locally whether install the mesh according to the identity of the intended application Mark application;
The target is downloaded and installed to first execution unit 8412 if being configured as locally not installing the intended application, Using;
Second execution unit 8413 is configured as opening the target according to the target component by default application platform Using.
With reference to Figure 22 according to a kind of communication device block diagram shown in an exemplary embodiment, described device is used for web service End, including:
Second modular converter 1010 is configured as target message information being converted to aiming field name character;
Third generation module 1020 is configured as generating target domain-name information based on the aiming field name character;
First setup module 1030 is configured as giving birth to by the target domain-name information or based on the target domain-name information Into target domain name request message be placed in target webpage and in the target webpage set virtual Domain Name ask instruction information, Virtual Domain Name request instruction information be used to indicate terminal detect meet preset trigger condition when, to the behaviour of the terminal Make system and send the target domain name request message;
Wherein, the target domain name request meets the call format of domain name request, and domain name request is for execution first Operation, the target message are used to indicate the operation of operating system performance objective, and the object run is except first operation Operation.
With reference to Figure 23 according to another communication device block diagram shown in an exemplary embodiment, implement in Figure 22 shown devices On the basis of example, described device further includes:
Second sending module 1040 is configured as that the target domain-name information will be carried or based on the target domain-name information One and the target webpage transmission of virtual Domain Name request instruction information in the target domain name request message of generation To the terminal.
With reference to Figure 24 according to a kind of communication device block diagram shown in an exemplary embodiment, described device is used for web service End, including:
Second setup module 1110 is configured as target message information being placed in target webpage and in the target webpage Middle setting virtual Domain Name asks instruction information, and the virtual Domain Name solicited message is used to indicate terminal according in the target webpage Target message information generation target domain name request message and send the target domain name to the operating system of the terminal Request message;
Wherein, the target message is used to indicate the operation of operating system performance objective, and the target domain name request meets domain The call format of name request, for performing the first operation, the object run is except first operation for domain name request Operation.
With reference to Figure 25 according to another communication device block diagram shown in an exemplary embodiment, implement in Figure 24 shown devices On the basis of example, described device further includes:
Third sending module 1120 is configured as that the target message information and the virtual Domain Name solicited message will be carried The target webpage be sent to the terminal.
With reference to Figure 26 according to a kind of communication device block diagram shown in an exemplary embodiment, described device is used for webpage client End, including:
Third acquisition module 1210 is configured as when detecting preset trigger condition, the virtual Domain Name in webpage Request instruction information obtains target message information from the webpage;
Third modular converter 1220 is configured as target message character being converted to aiming field name character, and the target disappears Breath character is the character included by the target message information;
4th generation module 1230 is configured as generating target domain name request message based on the aiming field name character;Institute The call format that target domain name request meets domain name request is stated, domain name request operates for performing described first;
Third sending module 1240 is configured as the target domain name request message being sent to the installation webpage client The operating system of the terminal at end.
For device embodiment, since it corresponds essentially to embodiment of the method, so related part is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein above-mentioned be used as separating component The unit of explanation may or may not be physically separate, and the component shown as unit can be or can also It is not physical unit, you can be located at a place or can also be distributed in multiple network element.It can be according to reality It needs that some or all of module therein is selected to realize the purpose of disclosure scheme.Those of ordinary skill in the art are not paying In the case of going out creative work, you can to understand and implement.
Correspondingly, the embodiment of the present disclosure additionally provides a kind of computer readable storage medium, the storage medium is stored with Computer program, the computer program are used to perform any of the above-described communication means.
Correspondingly, the embodiment of the present disclosure additionally provides a kind of communication device, described device is used for terminal, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Target domain name request message is obtained, the target domain name request message carries target message information, and the target disappears Breath is used to indicate the operation of operating system performance objective, wherein, the target domain name request meets the call format of domain name request, institute State domain name request for perform first operation, the object run be it is described first operate except operation;
Obtain the target message information that the target domain name request message carries;
Based on the target message information, target component is extracted;
It is operated according to the target component performance objective.
Figure 27 is the structure diagram according to a kind of communication device shown in an exemplary embodiment.As shown in figure 27, root A kind of communication device 2700 shown according to an exemplary embodiment, the device 2700 can be computers, and mobile phone, number is extensively Broadcast the terminals such as terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant.
With reference to Figure 27, device 2700 can include following one or more components:Processing component 2701, memory 2702, Power supply module 2703, multimedia component 2704, audio component 2705, the interface 2706 of input/output (I/O), sensor module 2707 and communication component 2708.
The integrated operation of 2701 usual control device 2700 of processing component, such as with display, call, data communication, Camera operation and record operate associated operation.Processing component 2701 can be performed including one or more processors 2709 Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 2701 can include one or more moulds Block, convenient for the interaction between processing component 2701 and other components.For example, processing component 2701 can include multi-media module, To facilitate the interaction between multimedia component 2704 and processing component 2701.
Memory 2702 is configured as storing various types of data to support the operation in device 2700.These data Example is included for the instruction of any application program or method that is operated on device 2700, contact data, telephone book data, Message, picture, video etc..Memory 2702 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Power supply module 2703 provides electric power for the various assemblies of device 2700.Power supply module 2703 can include power management System, one or more power supplys and other generates, manages and distributes electric power associated component with for device 2700.
Multimedia component 2704 is included in the screen of one output interface of offer between described device 2700 and user. In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch and passes Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or slide dynamic The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, it is more Media component 2704 includes a front camera and/or rear camera.When device 2700 is in operation mode, mould is such as shot When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 2705 is configured as output and/or input audio signal.For example, audio component 2705 includes a wheat Gram wind (MIC), when device 2700 is in operation mode, during such as call model, logging mode and speech recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 2702 or via communication Component 2708 is sent.In some embodiments, audio component 2705 further includes a loud speaker, for exports audio signal.
I/O interfaces 2706 provide interface, above-mentioned peripheral interface module between processing component 2701 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor module 2707 includes one or more sensors, and the state for providing various aspects for device 2700 is commented Estimate.For example, sensor module 2707 can detect opening/closed state of device 2700, the relative positioning of component, such as institute The display and keypad that component is device 2700 are stated, sensor module 2707 can be with detection device 2700 or device 2,700 1 The position change of a component, the existence or non-existence that user contacts with device 2700,2700 orientation of device or acceleration/deceleration and dress Put 2700 temperature change.Sensor module 2707 can include proximity sensor, be configured in no any physics It is detected the presence of nearby objects during contact.Sensor module 2707 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 2708 is configured to facilitate the communication of wired or wireless way between device 2700 and miscellaneous equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by putting 2700,2G or 3G or combination thereof.It is exemplary at one In embodiment, communication component 2708 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 2708 further includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 2700 can be by one or more application application-specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electron component are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 2702 of instruction, above-metioned instruction can be performed to complete the above method by the processor 2709 of device 2700.Example Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
Wherein, when the instruction in the storage medium is performed by the processor so that device 2700 is able to carry out State communication means.
Correspondingly, the embodiment of the present disclosure additionally provides a kind of communication device, described device is used for web service end, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Target message information is converted into aiming field name character;
Target domain-name information is generated based on the aiming field name character;
The target domain-name information or the target domain name request message based on target domain-name information generation are placed in mesh It marks in webpage and virtual Domain Name is set to ask instruction information in the target webpage, the virtual Domain Name request instruction information is used In instruction terminal detect meet preset trigger condition when, send the target domain name request to the operating system of the terminal Message;
Wherein, the target domain name request meets the call format of domain name request, and domain name request is for execution first Operation, the target message are used to indicate the operation of operating system performance objective, and the object run is except first operation Operation.
Correspondingly, the embodiment of the present disclosure additionally provides a kind of communication device, described device is used for web service end, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Target message information is placed in target webpage and virtual Domain Name is set to ask instruction letter in the target webpage Breath, the virtual Domain Name solicited message are used to indicate terminal and generate mesh according to the target message information in the target webpage It marks domain name request message and sends the target domain name request message to the operating system of the terminal;
Wherein, the target message is used to indicate the operation of operating system performance objective, and the target domain name request meets domain The call format of name request, for performing the first operation, the object run is except first operation for domain name request Operation.
Correspondingly, the embodiment of the present disclosure additionally provides a kind of communication device, described device is used for webpage client, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
When detecting preset trigger condition, the virtual Domain Name request instruction information in webpage is obtained from the webpage Target message information;
Target message character is converted into aiming field name character, the target message character is the target message information institute Including character;
Target domain name request message is generated based on the aiming field name character;The target domain name request meets domain name request Call format, domain name request for perform it is described first operation;
The target domain name request message is sent to the operating system for the terminal for installing the webpage client.
As shown in figure 28, Figure 28 is the structural representation according to a kind of communication device 2800 shown in an exemplary embodiment Figure.For example, device 2800 may be provided as a web service end.With reference to Figure 28, device 2800 includes processing component 2822, Further comprise one or more processors and as the memory resource representated by memory 2842, it can be by for storing Manage the instruction of the execution of component 2822, such as application program.The application program stored in memory 2842 can include one or It is more than one each correspond to the module of one group of instruction.In addition, processing component 2822 is configured as execute instruction, to perform Above-mentioned communication means.
Device 2800 can also include a power supply module 2826 and be configured as the power management of executive device 2800, one Wired or wireless network interface 2850 is configured as device 2800 being connected to network and input and output (I/O) interface 2858.Device 2800 can be operated based on the operating system for being stored in memory 2842, such as Android, IOS, Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Wherein, when the instruction in the memory 2842 is performed by the processing component 2822 so that 4200 energy of device Enough perform the above-mentioned communication means for web service end.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein Its embodiment.The disclosure is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as illustratively, and the true scope and spirit of the disclosure are by following Claim point out.
The foregoing is merely the preferred embodiment of the disclosure, not limiting the disclosure, all essences in the disclosure God and any modification, equivalent substitution, improvement and etc. within principle, done, should be included within the scope of disclosure protection.

Claims (37)

1. a kind of communication means, which is characterized in that the method is used for terminal, the method includes:
Target domain name request message is obtained, the target domain name request message carries target message information, and the target message is used In instruction operating system performance objective operation, wherein, the target domain name request meets the call format of domain name request, the domain For performing the first operation, the object run is the operation except first operation for name request;
Obtain the target message information that the target domain name request message carries;
Based on the target message information, target component is extracted;
It is operated according to the target component performance objective.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
When meeting preset trigger condition, the target message information is obtained;
According to the correspondence between preset message character and domain name character, target message character is converted into aiming field name Symbol, the target message character is the character included by the target message information;
By the aiming field name character according to default legal Domain Name Form registering sites, target domain name is generated;
The target domain name request message is generated based on the target domain name;
The target domain name request message is sent to operating system.
3. according to the method described in claim 2, it is characterized in that, described generate the target domain name based on the target domain name Request message, including:
If the total number of the aiming field name character is more than preset value, the target domain name is compressed;
Based on the compressed target domain name generation target domain name request message.
4. according to the method described in claim 1, it is characterized in that, it is described acquisition target domain name request message, including:
Target domain name request message is obtained by the description components in operating system.
5. according to the method described in claim 4, it is characterized in that, the description components include following any one:
Default domain name system or fire wall.
6. the according to the method described in claim 5, it is characterized in that, mesh for obtaining the target domain name request message and carrying Information is marked, including:
The target message information of the target domain name request message carrying is obtained by the default domain name system;Or
After the default domain name system or the fire wall forward the target domain name request message to be serviced to presetting message, by The target message information that target domain name request message described in the presetting message service acquisition carries.
7. the according to the method described in claim 1, it is characterized in that, mesh for obtaining the target domain name request message and carrying Information is marked, including:
According to the correspondence between preset message character and domain name character, aiming field name character is converted into target message word Symbol, the aiming field name character is the character included by the target domain name request message;
Obtain the target message information indicated by the target message character.
8. the method according to the description of claim 7 is characterized in that the method further includes:
The aiming field name character is verified, obtains check results;
If the check results pass through for verification, the step that aiming field name character is converted to target message character is performed Suddenly.
9. according to the method described in claim 8, it is characterized in that, described verify the aiming field name character, obtain Check results, including:
If the aiming field name character meets preset check formula, it is determined that check results pass through for verification, otherwise determine The check results do not pass through for verification.
10. according to the method described in claim 1, it is characterized in that, it is described according to target component performance objective operate, including:
Intended application is opened according to the target component, wherein, the target component includes at least:The identity of the intended application Mark.
11. according to the method described in claim 10, it is characterized in that, it is described according to the target component open intended application, Including:
Determine whether the intended application is locally installed according to the identity of the intended application;
If local do not install the intended application, the intended application is downloaded and installed;
The intended application is opened according to the target component by default application platform.
12. a kind of communication means, which is characterized in that applied to web service end, the method includes:
Target message information is converted into aiming field name character;
Target domain-name information is generated based on the aiming field name character;
The target domain-name information or the target domain name request message based on target domain-name information generation are placed in target network In page, and virtual Domain Name is set to ask instruction information in the target webpage, the virtual Domain Name request instruction information is used for Instruction terminal detect meet preset trigger condition when, send the target domain name request to the operating system of the terminal and disappear Breath;
Wherein, the target domain name request meets the call format of domain name request, and domain name request operates for performing first, The target message is used to indicate the operation of operating system performance objective, and the object run is the behaviour except first operation Make.
13. according to the method for claim 12, which is characterized in that the method further includes:
One in the target domain-name information or the target domain name request message generated based on the target domain-name information will be carried Item and the target webpage of virtual Domain Name request instruction information are sent to the terminal.
14. a kind of communication means, which is characterized in that applied to web service end, the method includes:
Target message information is placed in target webpage and virtual Domain Name is set to ask instruction information, institute in the target webpage It states virtual Domain Name solicited message and is used to indicate terminal according to the target message information generation aiming field in the target webpage Name request message simultaneously sends the target domain name request message to the operating system of the terminal;
Wherein, the target message is used to indicate the operation of operating system performance objective, and the target domain name request meets domain name please The call format asked, for performing the first operation, the object run is the behaviour except first operation for domain name request Make.
15. according to the method for claim 14, which is characterized in that the method further includes:
The target webpage for carrying the target message information and the virtual Domain Name solicited message is sent to the terminal.
16. a kind of communication means, which is characterized in that applied to webpage client, the method includes:
When detecting preset trigger condition, the virtual Domain Name request instruction information in webpage obtains target from the webpage Information;
Target message character is converted into aiming field name character, the target message character is included by the target message information Character;
Target domain name request message is generated based on the aiming field name character;The target domain name request meets the lattice of domain name request Formula requirement, domain name request operate for performing described first;
The target domain name request message is sent to the operating system for the terminal for installing the webpage client.
17. a kind of communication device, which is characterized in that described device is used for terminal, and described device includes:
First acquisition module is configured as obtaining target domain name request message, and the target domain name request message carries target and disappears Information is ceased, the target message is used to indicate the operation of operating system performance objective, wherein, the target domain name request meets domain name The call format of request, for performing the first operation, the object run is except first operation for domain name request Operation;
Second acquisition module is configured as obtaining the target message information that the target domain name request message carries;
Extraction module is configured as, based on the target message information, extracting target component;
Execution module is configured as being operated according to the target component performance objective.
18. device according to claim 17, which is characterized in that described device further includes:
Third acquisition module is configured as when meeting preset trigger condition, obtains the target message information;
First modular converter is configured as, according to the correspondence between preset message character and domain name character, target being disappeared Breath character is converted to aiming field name character, and the target message character is the character included by the target message information;
First generation module is configured as the aiming field name character generating aiming field according to default legal Domain Name Form registering sites Name;
Second generation module is configured as generating the target domain name request message based on the target domain name;
First sending module is configured as sending the target domain name request message to operating system.
19. device according to claim 18, which is characterized in that second generation module includes:
Submodule is compressed, if the total number for being configured as the aiming field name character is more than preset value, to the aiming field Name is compressed;
Submodule is generated, is configured as based on the compressed target domain name generation target domain name request message.
20. device according to claim 17, which is characterized in that first acquisition module includes:
First acquisition submodule is configured as obtaining target domain name request message by the description components in operating system.
21. device according to claim 20, which is characterized in that the description components include any one of following:
Default domain name system or fire wall.
22. device according to claim 21, which is characterized in that second acquisition module includes following any submodule Block:
Second acquisition submodule is configured as the mesh for being obtained the target domain name request message by the default domain name system and being carried Mark information;
Third acquisition submodule is configured as forwarding the target domain name request in the default domain name system or the fire wall After message is serviced to presetting message, the target message of target domain name request message carrying as described in the presetting message service acquisition Information.
23. device according to claim 17, which is characterized in that second acquisition module includes:
Transform subblock is configured as according to the correspondence between preset message character and domain name character, by target domain name Character is converted to target message character, and the aiming field name character is the character included by the target domain name request message;
4th acquisition submodule is configured as obtaining the target message information indicated by the target message character.
24. device according to claim 23, which is characterized in that described device further includes:
Correction verification module is configured as verifying the aiming field name character, obtains check results;
Control module passes through for verification if being configured as the check results, controls the transform subblock by aiming field Name character is converted to target message character.
25. device according to claim 24, which is characterized in that the correction verification module includes:
Submodule is verified, if being configured as the aiming field name character meets preset check formula, it is determined that check results Pass through for verification, otherwise determine that the check results do not pass through for verification.
26. device according to claim 17, which is characterized in that the execution module includes:
Implementation sub-module is configured as opening intended application according to the target component, wherein, the target component is at least wrapped It includes:The identity of the intended application.
27. device according to claim 26, which is characterized in that the implementation sub-module includes:
Determination unit is configured as determining locally whether install the intended application according to the identity of the intended application;
The intended application is downloaded and installed to first execution unit if being configured as locally not installing the intended application,;
Second execution unit is configured as opening the intended application according to the target component by default application platform.
28. a kind of communication device, which is characterized in that applied to web service end, described device includes:
Second modular converter is configured as target message information being converted to aiming field name character;
Third generation module is configured as generating target domain-name information based on the aiming field name character;
First setup module is configured as what is generated by the target domain name solicited message or based on the target domain-name information Target domain name message is placed in target webpage and virtual Domain Name is set to ask instruction information in the target webpage, described virtual Domain name request instruction information be used to indicate terminal detect meet preset trigger condition when, to the terminal operating system send out Send the target domain name request message;
Wherein, the target domain name request meets the call format of domain name request, and domain name request operates for performing first, The target message is used to indicate the operation of operating system performance objective, and the object run is the behaviour except first operation Make.
29. device according to claim 28, which is characterized in that described device further includes:
Second sending module is configured as the mesh that will be carried the target domain-name information or generated based on the target domain-name information The target webpage for marking one in domain name request message and virtual Domain Name request instruction information is sent to the end End.
30. a kind of communication device, which is characterized in that applied to web service end, described device includes:
Second setup module is configured as target message information being placed in target webpage and be set in the target webpage empty Intend domain name request instruction information, the virtual Domain Name solicited message is used to indicate terminal according to the mesh in the target webpage It marks information generation target domain name request message and sends the target domain name request message to the operating system of the terminal;
Wherein, the target message is used to indicate the operation of operating system performance objective, and the target domain name request meets domain name please The call format asked, for performing the first operation, the object run is the behaviour except first operation for domain name request Make.
31. device according to claim 30, which is characterized in that described device further includes:
Third sending module is configured as the mesh that will carry the target message information and the virtual Domain Name solicited message Mark webpage is sent to the terminal.
32. a kind of communication device, which is characterized in that applied to webpage client, described device includes:
Third acquisition module is configured as when detecting preset trigger condition, the virtual Domain Name request instruction in webpage Information obtains target message information from the webpage;
Third modular converter is configured as target message character being converted to aiming field name character, and the target message character is Character included by the target message information;
4th generation module is configured as generating target domain name request message based on the aiming field name character;The aiming field Name request meets the call format of domain name request, and domain name request operates for performing described first;
Third sending module is configured as the target domain name request message being sent to the terminal for installing the webpage client Operating system.
33. a kind of computer readable storage medium, which is characterized in that the storage medium is stored with computer program, the meter Calculation machine program is used to perform any communication means of the claims 1-16.
34. a kind of communication device, which is characterized in that described device is used for terminal, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Target domain name request message is obtained, the target domain name request message carries target message information, and the target message is used In instruction operating system performance objective operation, wherein, the target domain name request meets the call format of domain name request, the domain For performing the first operation, the object run is the operation except first operation for name request;
Obtain the target message information that the target domain name request message carries;
Based on the target message information, target component is extracted;
It is operated according to the target component performance objective.
35. a kind of communication device, which is characterized in that described device is used for web service end, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Target message information is converted into aiming field name character;
Target domain-name information is generated based on the aiming field name character;
The target domain name solicited message or the target domain name message based on target domain-name information generation are placed in target network Virtual Domain Name is set to ask instruction information in page and in the target webpage, the virtual Domain Name asks instruction information for referring to Show terminal detect meet preset trigger condition when, send the target domain name request to the operating system of the terminal and disappear Breath;
Wherein, the target domain name request meets the call format of domain name request, and domain name request operates for performing first, The target message is used to indicate the operation of operating system performance objective, and the object run is the behaviour except first operation Make.
36. a kind of communication device, which is characterized in that described device is used for web service end, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Target message information is placed in target webpage and virtual Domain Name is set to ask instruction information, institute in the target webpage It states virtual Domain Name solicited message and is used to indicate terminal according to the target message information generation aiming field in the target webpage Name request message simultaneously sends the target domain name request message to the operating system of the terminal;
Wherein, the target message is used to indicate the operation of operating system performance objective, and the target domain name request meets domain name please The call format asked, for performing the first operation, the object run is the behaviour except first operation for domain name request Make.
37. a kind of communication device, which is characterized in that described device is used for webpage client, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
When detecting preset trigger condition, the virtual Domain Name request instruction information in webpage obtains target from the webpage Information;
Target message character is converted into aiming field name character, the target message character is included by the target message information Character;
Target domain name request message is generated based on the aiming field name character;The target domain name request meets the lattice of domain name request Formula requirement, domain name request operate for performing described first;
The target domain name request message is sent to the operating system for the terminal for installing the webpage client.
CN201711262144.4A 2017-12-04 2017-12-04 Communication method and device Active CN108156220B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711262144.4A CN108156220B (en) 2017-12-04 2017-12-04 Communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711262144.4A CN108156220B (en) 2017-12-04 2017-12-04 Communication method and device

Publications (2)

Publication Number Publication Date
CN108156220A true CN108156220A (en) 2018-06-12
CN108156220B CN108156220B (en) 2021-12-03

Family

ID=62466453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711262144.4A Active CN108156220B (en) 2017-12-04 2017-12-04 Communication method and device

Country Status (1)

Country Link
CN (1) CN108156220B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924136A (en) * 2018-07-03 2018-11-30 北京小米移动软件有限公司 Authorization and authentication method, device and storage medium
CN109714425A (en) * 2018-12-29 2019-05-03 北京小米移动软件有限公司 Communication means and device
CN110618768A (en) * 2019-03-18 2019-12-27 北京无限光场科技有限公司 Information presentation method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073953A (en) * 2009-11-24 2011-05-25 阿里巴巴集团控股有限公司 On-line payment method and system
CN103559211A (en) * 2013-10-10 2014-02-05 北京奇虎科技有限公司 Web information processing method, web information processing device and browser
US20140098786A1 (en) * 2012-10-08 2014-04-10 Electronics And Telecommunications Research Institute Apparatus and method for controlling session mobility, and apparatus and method for registering ip multimedia subsystem
CN104125258A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Page Jump method, terminal, server and system
CN104283841A (en) * 2013-07-02 2015-01-14 阿里巴巴集团控股有限公司 Method, device and system for carrying out service access control on third-party application
US20150237158A1 (en) * 2012-03-31 2015-08-20 Beijing Qihoo Technology Company Limited Method and system for accessing website
CN105763630A (en) * 2016-04-12 2016-07-13 百度在线网络技术(北京)有限公司 Information pushing method and device applied to mobile terminal
CN106503134A (en) * 2016-10-19 2017-03-15 广东欧珀移动通信有限公司 Browser jumps to the method for data synchronization and device of application program
CN106940674A (en) * 2016-01-05 2017-07-11 阿里巴巴集团控股有限公司 The triggering method and device of object event in a kind of mobile terminal
CN107423324A (en) * 2017-03-31 2017-12-01 北京小米移动软件有限公司 Access method, device and the equipment of webpage

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073953A (en) * 2009-11-24 2011-05-25 阿里巴巴集团控股有限公司 On-line payment method and system
US20150237158A1 (en) * 2012-03-31 2015-08-20 Beijing Qihoo Technology Company Limited Method and system for accessing website
US20140098786A1 (en) * 2012-10-08 2014-04-10 Electronics And Telecommunications Research Institute Apparatus and method for controlling session mobility, and apparatus and method for registering ip multimedia subsystem
CN104125258A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Page Jump method, terminal, server and system
CN104283841A (en) * 2013-07-02 2015-01-14 阿里巴巴集团控股有限公司 Method, device and system for carrying out service access control on third-party application
CN103559211A (en) * 2013-10-10 2014-02-05 北京奇虎科技有限公司 Web information processing method, web information processing device and browser
CN106940674A (en) * 2016-01-05 2017-07-11 阿里巴巴集团控股有限公司 The triggering method and device of object event in a kind of mobile terminal
CN105763630A (en) * 2016-04-12 2016-07-13 百度在线网络技术(北京)有限公司 Information pushing method and device applied to mobile terminal
CN106503134A (en) * 2016-10-19 2017-03-15 广东欧珀移动通信有限公司 Browser jumps to the method for data synchronization and device of application program
CN107423324A (en) * 2017-03-31 2017-12-01 北京小米移动软件有限公司 Access method, device and the equipment of webpage

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924136A (en) * 2018-07-03 2018-11-30 北京小米移动软件有限公司 Authorization and authentication method, device and storage medium
CN108924136B (en) * 2018-07-03 2021-01-15 北京小米移动软件有限公司 Authorization authentication method, device and storage medium
CN109714425A (en) * 2018-12-29 2019-05-03 北京小米移动软件有限公司 Communication means and device
CN110618768A (en) * 2019-03-18 2019-12-27 北京无限光场科技有限公司 Information presentation method and device

Also Published As

Publication number Publication date
CN108156220B (en) 2021-12-03

Similar Documents

Publication Publication Date Title
CN104270404B (en) A kind of login method and device based on terminal iidentification
CN104780155B (en) Apparatus bound method and device
EP2975821B1 (en) Network connection method and apparatus
CN105072178B (en) Cell-phone number binding information acquisition methods and device
CN103986969B (en) application management method, device and system
CN104980580B (en) Short message inspection method and device
CN105512545B (en) Access rights management method and device
CN109219036B (en) Method and device for unbinding equipment and electronic equipment
CN108156221B (en) Communication method and device and electronic equipment
CN105263126B (en) Short-message verification method, apparatus and system
CN108040095A (en) Communication means, device and electronic equipment
CN108156220A (en) Communication means and device
CN109005096A (en) Using exchange method and device
CN108063804A (en) Communication means and device
CN107301242A (en) Method, device and the storage medium of page jump
CN108156271A (en) Communication means, device and electronic equipment
CN107220059A (en) The display methods and device of application interface
CN107948660A (en) The method and device of Video coding adaptation
CN108205455B (en) Application function implementation method and device and terminal
CN109814942A (en) A kind of parameter processing method and device
CN105095372A (en) Method and apparatus for obtaining search result
CN106792442A (en) data migration method and device
CN111338971A (en) Application testing method and device, electronic equipment and storage medium
CN111526129B (en) Information reporting method and device
CN108737588A (en) Domain name analytic method and device

Legal Events

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