CN108156221A - Communication means, device and electronic equipment - Google Patents

Communication means, device and electronic equipment Download PDF

Info

Publication number
CN108156221A
CN108156221A CN201711262914.5A CN201711262914A CN108156221A CN 108156221 A CN108156221 A CN 108156221A CN 201711262914 A CN201711262914 A CN 201711262914A CN 108156221 A CN108156221 A CN 108156221A
Authority
CN
China
Prior art keywords
target
identification information
target message
domain name
message
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
CN201711262914.5A
Other languages
Chinese (zh)
Other versions
CN108156221B (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 CN201711262914.5A priority Critical patent/CN108156221B/en
Publication of CN108156221A publication Critical patent/CN108156221A/en
Application granted granted Critical
Publication of CN108156221B publication Critical patent/CN108156221B/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/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 is directed to a kind of communication means, device and electronic equipment, this method includes:By target domain name request corresponding to the identification information of operating system acquisition target message, the target message is used to indicate the operation of operating system performance objective;Identification information based on target message described in the target domain name acquisition request;The target message is determined based on the identification information;The object run is performed according to the target message.The technical solution of the disclosure can enhance the function of operating system, improve the user experience of terminal device.Also, since target domain name request is generated according to the identification information of target message, the problem of the requirement in the relevant technologies to domain-name information can be closed to avoid form, the length violation due to target message, domain name request can not be generated.

Description

Communication means, device and electronic equipment
Technical field
This disclosure relates to a kind of field of communication technology more particularly to communication means, device and electronic equipment.
Background technology
With the development of computer communication technology, various webpages and locally applied software have brought fabulous communication Experience.The message channel provided by external network proxy services such as browser, webpage can send access system money to operating system The request in source.Redirecting between applying is can also be achieved by adding api interface.For example, in the browsing for being adapted to Deeplink technologies In device, some webpage operated in the browser performs an object run Jing Guo operating system, such as jumps to local answer With the request of software, browser can forward the request to operating system, locally applied soft to be jumped to by operating system Part.But if not adding api interface in browser, above-mentioned function can not be realized, 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, device and electronics and sets It is standby, to solve the deficiency in the relevant technologies.
According to the embodiment of the present disclosure in a first aspect, provide a kind of communication means, including:
By target domain name request corresponding to the identification information of operating system acquisition target message, the target message is used for Indicate the operation of operating system performance objective;
Identification information based on target message described in the target domain name acquisition request;
The target message is determined based on the identification information;
The object run is performed according to the target message.
In one embodiment, target domain name corresponding to the identification information by operating system acquisition target message please It asks, including:
Obtain target domain name request corresponding to identification information that webpage is sent by webpage client, target message, institute It states target domain name request bag and includes the target domain-name information generated according to the identification information of the target message.
In one embodiment, target domain name request corresponding to the identification information by operating system acquisition target message Before, the method further includes:
When detecting preset trigger condition, the identification information of target message is obtained;
Domain name character conversion is carried out to the identification information, obtains target character sequence;
The corresponding target domain name request of the target message is generated according to the target character sequence, the target domain name please It asks including at least the target character sequence;
The target domain name request is sent to the operating system.
In one embodiment, the identification information for obtaining target message, including:
Obtain the target message;
The identification information of the target message is determined based on the correspondence of target message and identification information.
In one embodiment, the correspondence based on target message and identification information determines the mark of the target message Know information, including:
The target message is sent to server-side, the server-side is used for corresponding with identification information based on target message Relationship determines the identification information of the target message;
Receive the identification information that the server-side returns.
In one embodiment, it is described to be asked according to the corresponding target domain name of the target character sequence generation target message It asks, including:
Target domain-name information is determined according to the target character sequence, the target domain-name information has default feature letter Breath;
The target domain name request is generated according to the target domain-name information.
In one embodiment, the identification information based on target message described in the target domain name acquisition request, including:
The target domain name request of webpage client transmission is identified by description components;
The corresponding target domain-name information of the target message is determined according to the target domain name request;
The identification information of the target message is parsed based on the target domain-name information.
In one embodiment, the target domain name request that webpage client transmission is identified by description components, including:
The target domain name request of webpage client transmission is identified by presetting DNS interfaces or firewall component.
In one embodiment, the target domain name request that webpage client transmission is identified by description components, including:
The domain name request of webpage client transmission is received by description components, domain name request includes domain-name information;
Determine whether have default characteristic information in domain name information, the default characteristic information is used to identify the current field Name information carries the identification information of target message;
If it is determined that having the default characteristic information in domain name information, then domain name request is determined as aiming field Name request.
In one embodiment, the method further includes:
The target domain-name information is sent to presetting message service;
By the mark for parsing the target message described in the presetting message service execution based on the target domain-name information The step of knowing information.
In one embodiment, the identification information that the target message is parsed based on the target domain-name information, including:
Target character sequence is determined according to the target domain-name information;
The identification information of the target message is determined according to the target character sequence.
In one embodiment, it is described that the target message is determined based on the identification information, including:
Based on the correspondence between target message and identification information, target message corresponding to the identification information is inquired.
In one embodiment, the correspondence based between target message and identification information inquires the mark letter Corresponding target message is ceased, including:
The identification information is sent to server-side, the server-side is used for corresponding with identification information based on target message Relationship determines target message corresponding to the identification information;
Receive the target message that the server-side returns.
In one embodiment, the method further includes:
If it is determined that the operation for obtaining the target message is completed in effectively acquisition duration, then perform described in the basis Target message performs the step of object run.
In one embodiment, the target domain name request meets the call format of domain name request, and domain name request is used for The first operation is performed, the object run is the operation except the described first operation.
In one embodiment, it is described that the object run is performed according to the target message, including:
Intended application parameter is extracted from the target message;
The intended application is opened according to the intended application parameter.
In one embodiment, the intended application parameter includes at least the identity of the intended application;
It is described that intended application is opened according to the intended application parameter, including:
Determine whether the intended application is locally installed according to the identity;
If local do not install the intended application, the intended application is downloaded and installed;
The intended application is opened according to the target message 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 server, including:
The target message that the webpage of receiving terminal apparatus is sent by webpage client, the target message are the webpage The message obtained when detecting preset trigger condition;
Determine the corresponding identification information of the target message, and it is corresponding with the identification information to store the target message Relationship;
The identification information is sent to the webpage or the webpage client, for being generated according to the identification information Target domain name request;
Receive the identification information that the operating system of the terminal device is sent;
Target message corresponding to the identification information is inquired based on the correspondence;
The target message is sent to the operating system, the operating system is used to indicate and is held according to the target message The row object run.
In one embodiment, the method further includes:
If it is determined that inquiring the target message is completed in effective query duration, then perform described to the operating system The step of sending the target message.
According to the third aspect of the embodiment of the present disclosure, a kind of communication device is provided, including:
Domain name request acquisition module, for obtaining target domain name corresponding to the identification information of target message by operating system Request, the target message are used to indicate the operation of operating system performance objective;
Identification information acquisition module, for the identification information based on target message described in the target domain name acquisition request;
Target message determining module, for determining the target message based on the identification information;
Object run execution module, for performing the object run according to the target message.
In one embodiment, domain name acquisition request module, including:
Domain name request acquiring unit, for obtaining the identification information of webpage is sent by webpage client target message Corresponding target domain name request, the target domain name request bag include the aiming field generated according to the identification information of the target message Name information.
In one embodiment, described device further includes:Domain name request generation module and domain name request sending module;
Domain name requests to generate module, including:
Identification information obtaining unit, for when detecting preset trigger condition, obtaining the identification information of target message;
Domain name character conversion unit for carrying out domain name character conversion to the identification information, obtains target character sequence;
Domain name request generation unit, for generating the corresponding aiming field of the target message according to the target character sequence Name request, the target domain name request include at least the target character sequence;
Domain name request sending module is used to the target domain name request being sent to the operating system.
In one embodiment, the identification information obtaining unit is additionally operable to:
Obtain the target message;
The identification information of the target message is determined based on the correspondence of target message and identification information.
In one embodiment, the identification information obtaining unit is additionally operable to:
The target message is sent to server-side, the server-side is used for corresponding with identification information based on target message Relationship determines the identification information of the target message;
Receive the identification information that the server-side returns.
In one embodiment, domain name requests to generate unit and is additionally operable to:
Target domain-name information is determined according to the target character sequence, the target domain-name information has default feature letter Breath;
The target domain name request is generated according to the target domain-name information.
In one embodiment, the identification information acquisition module, including:
Domain name request recognition unit, for identifying the target domain name request of webpage client transmission by description components;
Domain-name information determination unit, for determining the corresponding aiming field of the target message according to the target domain name request Name information;
Identification information resolution unit, for parsing the identification information of the target message based on the target domain-name information.
In one embodiment, domain name request recognition unit is additionally operable to know by default DNS interfaces or firewall component The target domain name request that other webpage client is sent.
In one embodiment, domain name request recognition unit is additionally operable to:
The domain name request of webpage client transmission is received by description components, domain name request includes domain-name information;
Determine whether have default characteristic information in domain name information, the default characteristic information is used to identify the current field Name information carries the identification information of target message;
When determining to have the default characteristic information in domain name information, domain name request is determined as aiming field Name request.
In one embodiment, the identification information acquisition module, further includes:
Domain-name information transmitting element, for the target domain-name information to be sent to presetting message service;
The identification information resolution unit is additionally operable to by being based on the aiming field described in the presetting message service execution The step of name information parses the identification information of the target message.
In one embodiment, the identification information resolution unit is additionally operable to:
Target character sequence is determined according to the target domain-name information;
The identification information of the target message is determined according to the target character sequence.
In one embodiment, the target message determining module, is additionally operable to based between target message and identification information Correspondence inquires target message corresponding to the identification information.
In one embodiment, the target message determining module, including:
Identification information transmitting element, for the identification information to be sent to server-side, the server-side is used for based on mesh Mark message and the correspondence of the identification information target message that determine the identification information corresponding;
Target message receiving unit, for receiving the identification information that the server-side returns.
In one embodiment, the object run execution module is additionally operable to determine that the operation of the acquisition target message is When being completed in effectively acquisition duration, the described the step of object run is performed according to the target message is performed.
In one embodiment, the target domain name request meets the call format of domain name request, and domain name request is used for The first operation is performed, the object run is the operation except the described first operation.
In one embodiment, the object run execution module further includes:
Application parameter extraction unit, for extracting intended application parameter from the target message;
Intended application opening unit, for opening intended application according to the target message, wherein, the target message is extremely Include the identity of the intended application less.
In one embodiment, the intended application opening unit is additionally operable to:
Determine whether the intended application is locally installed according to the identity;
If local do not install the intended application, the intended application is downloaded and installed;
The intended application is opened according to the target message by default application platform.
According to the fourth aspect of the embodiment of the present disclosure, a kind of communication device is provided, including:
Target message receiving module, for the target message that is sent by webpage client of webpage of receiving terminal apparatus, The target message is the message that the webpage is obtained when detecting preset trigger condition;
Mark determines memory module, for determining the corresponding identification information of the target message, and stores the target and disappears The correspondence of breath and the identification information;
Identification information sending module for the identification information to be sent to the webpage or the webpage client, is used According to identification information generation target domain name request;
Identification information receiving module, for receiving the identification information of the operating system of terminal device transmission;
Target message enquiry module, for inquiring target message corresponding to the identification information based on the correspondence;
Target message sending module for sending the target message to the operating system, is used to indicate the operation System performs the object run according to the target message.
In one embodiment, it is effective that the target message sending module, which is additionally operable to when the determining inquiry target message, Inquire duration in complete when, perform it is described to the operating system send the target message the step of.
According to a fifth aspect of the embodiments of the present disclosure, a kind of electronic equipment is provided, the electronic equipment includes:
Processor;
It is configured as the memory of storage processor-executable instruction;
Wherein, the processor is configured as:
By target domain name request corresponding to the identification information of operating system acquisition target message, the target message is used for Indicate the operation of operating system performance objective;
Identification information based on target message described in the target domain name acquisition request;
The target message is determined based on the identification information;
The object run is performed according to the target message.
According to the 6th of the embodiment of the present disclosure the aspect, a kind of computer readable storage medium is provided, is stored thereon with calculating Machine program, the program are realized when being processed by the processor:
By target domain name request corresponding to the identification information of operating system acquisition target message, the target message is used for Indicate the operation of operating system performance objective;
Identification information based on target message described in the target domain name acquisition request;
The target message is determined based on the identification information;
The object run is performed according to the target message.
The technical scheme provided by this disclosed embodiment can include the following benefits:
By above-described embodiment it is found that the disclosure passes through aiming field corresponding to the identification information of operating system acquisition target message Name request, and based on the identification information of target message described in the target domain name acquisition request and based on the identification information It determines the target message, and then the object run is performed according to the target message, the function of operating system can be enhanced, Improve the user experience of terminal device.Also, since target domain name request is generated according to the identification information of target message, The requirement in the relevant technologies to domain-name information can be closed to avoid form, the length violation due to target message, domain name can not be generated The problem of request.
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 the flow chart according to a kind of communication means shown in the first exemplary embodiment;
Fig. 2 is the flow chart according to a kind of communication means shown in the second exemplary embodiment;
Fig. 3 is the flow chart according to a kind of communication means shown in third exemplary embodiment;
Fig. 4 is the flow chart according to the identification information for how obtaining target message shown in an exemplary embodiment;
The flow chart of Fig. 5 is how what is shown according to a further exemplary embodiment the to obtain identification information of target message;
Fig. 6 is according to the flow for how generating the corresponding target domain name request of target message shown in an exemplary embodiment Figure;
Fig. 7 be according to shown in an exemplary embodiment how based on target domain name acquisition request target message mark letter The flow chart of breath;
Fig. 8 be show according to a further exemplary embodiment how the mark based on target domain name acquisition request target message The flow chart of information;
Fig. 9 be according to shown in an exemplary embodiment how by description components identify webpage client send target The flow chart of domain name request;
Figure 10 be according to shown in an exemplary embodiment how based on target domain-name information parsing target message mark The flow chart of information;
Figure 11 is the flow chart according to the identification information for how parsing target message shown in an exemplary embodiment;
Figure 12 is the flow chart according to a kind of communication means shown in the 4th exemplary embodiment;
Figure 13 be according to shown in an exemplary embodiment how the stream based on target message corresponding to inquiry identification information Cheng Tu;
Figure 14 is the flow chart according to a kind of communication means shown in the 5th exemplary embodiment;
Figure 15 is how according to the target message to perform the object run according to shown in an exemplary embodiment Flow chart;
Figure 16 be according to shown in an exemplary embodiment how according to the target message open intended application flow Figure;
Figure 17 is the flow chart according to a kind of communication means shown in the 6th exemplary embodiment;
Figure 18 is the flow chart according to a kind of communication means shown in the 7th exemplary embodiment;
Figure 19 A are a kind of application scenarios schematic diagrams of application interaction of the disclosure according to an exemplary embodiment;
Figure 19 B are a kind of application scenarios schematic diagrams of application interaction in the relevant technologies;
Figure 20 is the structure diagram according to a kind of communication device shown in an exemplary embodiment;
Figure 21 is the structure diagram of a kind of communication device shown according to a further exemplary embodiment;
Figure 22 is the structure diagram according to a kind of communication device applied to server-side shown in an exemplary embodiment;
Figure 23 is the block diagram according to a kind of electronic equipment shown in an exemplary embodiment.
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.
Present disclose provides a kind of communication means, the executive agent being related to includes:Terminal device is installed in the terminal device The client of domain name request can be sent by having, such as can show the client software of webpage, for example, Web browser or other External network proxy services such as Michat, wechat etc., are referred to as webpage client in the disclosure.Operation of the client to terminal device System sends the identification information of the target message of Domain Name Form registering sites so that operating system can utilize identification information to obtain corresponding mesh Message is marked, and then according to a kind of object run of target message execution, for example shut down, start a timer, open a kind of answer It is operated etc. with program etc., specifically how performance objective operation is referred to the relevant technologies, belongs to operating system and/or installs thereon The ability that has of application.
Fig. 1 is the flow chart according to a kind of communication means shown in an exemplary embodiment;The embodiment can be used for end End equipment (such as mobile phone, tablet computer, personal computer etc.), as shown in Figure 1, this method includes the following steps S11-S14:
S11:Pass through target domain name request corresponding to the identification information of operating system acquisition target message, the target message It is used to indicate the operation of operating system performance objective.
In one embodiment, terminal device obtains the target domain name request by operating system, the target domain name request The webpage that can be but be not limited in terminal device and (shown by webpage client) is generated according to the identification information of target message Domain name request.Due to target domain name request be generated according to the identification information of target message rather than directly according to target Message generation, thus can close in the relevant technologies and domain-name information is wanted to avoid form, the length violation due to target message The problem of asking, domain name request can not be generated.
In one embodiment, the target domain name request meets the call format of domain name request, and domain name request is used for The first operation is performed, the object run is the operation except the described first operation.
For example, the target domain name request can be used for operating system execution domain name mapping is asked to operate, and target Predetermined registration operation in addition to operating to be operated except domain name mapping.
S12:Identification information based on target message described in the target domain name acquisition request.
In one embodiment, the operating system can obtain the mark by being parsed to target domain name request Information.
In the relevant technologies, webpage after operating system sends domain name request, expects operating system by webpage client Description components such as DNS (Domain Name System, domain name system) components believe the domain name that above-mentioned domain name request includes Breath, resolves to corresponding IP address, so as to the subsequent terminal equipment network equipment corresponding with the IP address (such as network service Device) network connection is established, such as TCP (Transmission Control Protocol, transmission control protocol) connections, Jin Erji Information is transmitted in above-mentioned network connection and the above-mentioned network equipment.It can that is, being contained in domain name request in the relevant technologies To parse the domain-name information of corresponding IP address.
In one embodiment, target domain name request is the carrier as target message, wherein can not include can parse Go out the domain-name information of corresponding IP address.
In one embodiment, the concrete mode of operating system parsing target domain name request may refer to shown in following Fig. 7-11 Embodiment, herein first without repeating.
S13:The target message is determined based on the identification information.
In one embodiment, the operating system can be based on the mark and believe after the identification information for obtaining target message Breath determines target message.
In one embodiment, the operating system determines that the concrete mode of target message may refer to down based on identification information Embodiment illustrated in fig. 12 is stated, herein first without repeating.
S14:The object run is performed according to the target message.
It in one embodiment, can be according to pre-set target message and mesh after operating system determines target message The correspondence of operation is marked, determines the corresponding object run of the target message, and then perform the object run.
In one embodiment, the concrete mode of operating system performance objective operation may refer to implement shown in following Figure 15 Example, herein first without repeating.
By above-described embodiment it is found that the disclosure passes through aiming field corresponding to the identification information of operating system acquisition target message Name request, and based on the identification information of target message described in the target domain name acquisition request and based on the identification information It determines the target message, and then the object run is performed according to the target message, the function of operating system can be enhanced, Improve the user experience of terminal device.Also, since target domain name request is generated according to the identification information of target message, The requirement in the relevant technologies to domain-name information can be closed to avoid form, the length violation due to target message, domain name can not be generated The problem of request.
Fig. 2 is the flow chart according to a kind of communication means shown in the second exemplary embodiment;The embodiment can be used for Terminal device (such as mobile phone, tablet computer, personal computer etc.), as shown in Fig. 2, this method includes the following steps S21-S24:
S21:Obtaining target domain name corresponding to identification information that webpage is sent by webpage client, target message please It asks.
Wherein, the target domain name request bag is included believes according to the target domain name that the identification information of the target message generates Breath, the target message are used to indicate the operation of operating system performance objective.
In one embodiment, operating system obtains the target domain name that the webpage in terminal device is sent by webpage client Request.For example, the webpage in terminal device according to the identification information of target message after target domain name request is generated, by this Target domain name request is sent to operating system by webpage client.
S22:Identification information based on target message described in the target domain name acquisition request.
S23:The target message is determined based on the identification information.
S24:The object run is performed according to the target message.
Wherein, step S22-S24 is identical with the step S12-S14 in aforementioned embodiment illustrated in fig. 1, and relevant explanation explanation can With referring to previous embodiment, herein without repeating.
By above-described embodiment it is found that the disclosure obtains webpage is sent by webpage client, target by operating system Target domain name request corresponding to the identification information of message, and based on the mark of target message described in the target domain name acquisition request Information and the target message is determined based on the identification information, and then the target is performed according to the target message and is grasped Make, webpage in terminal device can be made to perform object run Jing Guo operating system not by whether adding api interface and limited, Improve the user experience of terminal device.
Fig. 3 is the flow chart according to a kind of communication means shown in third exemplary embodiment;The embodiment can be used for Terminal device (such as mobile phone, tablet computer, personal computer etc.), as shown in figure 3, this method includes the following steps S31-S38:
S31:When detecting preset trigger condition, the identification information of target message is obtained.
In one embodiment, the webpage in terminal device obtains the mark of target message when detecting preset trigger condition Know information.
In one embodiment, each target message has an identification information, which can be used for distinguishing the target Message and other target messages.
In one embodiment, when determining to meet preset trigger condition, the target message is determined by the webpage Identification information.
In one embodiment, above-mentioned preset trigger condition can be pre-set user trigger action.Above-mentioned pre-set user triggering Operation can be that user triggers deliberate action to the predeterminable area in current web page, for example click one in current web page The operations such as virtual push button, image link, alternatively, the predeterminable area in current web page has done the operations such as default gesture motion.
In one embodiment, above-mentioned preset trigger condition can also be a trigger condition preset in webpage, not directly It connects and shows as user's trigger action, for example, the events such as loading webpage, alternatively, the conditions such as preset duration that current web page is opened.With For above-mentioned preset duration is a hour, correspondingly, current web page determines after detecting that opening duration reaches a hour The identification information of target message to be sent.
In one embodiment, current web page determines the identification information of target message according to preset trigger condition, can include Following two situations:
The first situation presets the identification information of target message in current web page, when the webpage detects default touch During clockwork spring part, the identification information of target message can be exported according to above-mentioned trigger condition.
The second situation does not have the identification information of preset target message in current web page, is detecting preset trigger condition When, requested webpage server-side generates the identification information of target message in real time.
When the webpage detects preset trigger condition, a message request is sent to web service end, which please Seek the identification information for generating a target message in real time for requested webpage server-side.Web service termination receives above-mentioned message please After asking, the identification information for generating a target message is simultaneously sent to webpage, so that webpage can be in real-time update webpage information Get above-mentioned identification information.
Wherein, above-mentioned current web page can be HTTP (Hypertext Transfer Protocol, Hyper text transfer association View) (Secure Hypertext Transfer Protocol, safety are super literary by webpage under communication pattern or HTTPS This transport protocol) webpage under communication pattern.
In one embodiment, the mode of the identification information of target message is obtained referring also to embodiment described in Fig. 4, herein First without repeating.
S32:Domain name character conversion is carried out to the identification information, obtains target character sequence.
In one embodiment, the webpage can carry out domain name character conversion to the identification information, obtain target character Sequence.It is provided according to domain name agreement, domain-name information needs are made of the character in preset characters space.Under normal circumstances, webpage The identification information of determining target message may not be to be made of the character in above-mentioned default domain name character space, thus need by Each character in the identification information of above-mentioned target message is converted to domain name character, obtains the target character sequence.
S33:The corresponding target domain name request of the target message, the aiming field are generated according to the target character sequence Name request includes at least the target character sequence.
In one embodiment, the webpage can generate after target character sequence is obtained according to the target character sequence Target domain name request.
It is worth noting that, the executive agent of step S32, S33 in the present embodiment can be webpage or webpage client End, alternatively, can be server-side.In one embodiment, it when the webpage in terminal device is when detecting preset trigger condition, obtains The identification information of target message is taken, which can be sent to server-side, the server-side to be asked to be believed according to the mark Breath performs step S32, S33 generation target domain name request, and then after server-side generates target domain name request, can be by the target Domain name request returns to the webpage.
In one embodiment, the concrete mode of generation target domain name request may refer to following embodiment illustrated in fig. 6, herein First without repeating.
S34:The target domain name request is sent to the operating system.
S35:Pass through target domain name request corresponding to the identification information of operating system acquisition target message, the target message It is used to indicate the operation of operating system performance objective.
S36:Identification information based on target message described in the target domain name acquisition request.
S37:The target message is determined based on the identification information.
S38:The object run is performed according to the target message.
Wherein, step S35-S38 is identical with the step S11-S14 in aforementioned embodiment illustrated in fig. 1, and relevant explanation explanation can With referring to previous embodiment, herein without repeating.
Seen from the above description, the mark that the embodiment of the present disclosure passes through the acquisition target message when detecting preset trigger condition Know information, and domain name character conversion is carried out to the identification information, target character sequence is obtained, further according to the target character sequence The corresponding target domain name request of target message described in column-generation, and then the target domain name request is sent to the operation and is System, can make operating system receive the target domain name request that webpage is generated according to the identification information of target message, to pass through It states operating system and obtains the target message, and the corresponding object run of performance objective message from domain name request, it can be with Enhance the function of operating system, the object run that the webpage operated in the browser is performed Jing Guo operating system is made not browsed Whether device adds the limitation of api interface, improves the user experience of terminal device.Also, since target message is converted to mark Information is known to generate the request of aiming field name, can be closed in the relevant technologies to avoid form, the length violation of target message and domain name is believed The requirement of breath and the trouble that could generate domain-name information need to be further processed, can simplify generation target domain name request flow, Improve communication efficiency.
Fig. 4 is the flow chart according to the identification information for how obtaining target message shown in an exemplary embodiment;This reality Example is applied on the basis of above-described embodiment, to be illustrated for how obtaining the identification information of target message.Such as Fig. 4 It is shown, the identification information of target message is obtained described in above-mentioned steps S31, may comprise steps of S41-S42:
S41:Obtain the target message.
In one embodiment, when determining to meet preset trigger condition, the target message is determined by the webpage.
In one embodiment, the explanation of above-mentioned preset trigger condition may refer to aforementioned embodiment illustrated in fig. 3, herein Without repeating.
In one embodiment, current web page determines target message according to preset trigger condition, can include following two feelings Condition:
The first situation presets target message in current web page, can when the webpage detects preset trigger condition To export corresponding target message according to above-mentioned trigger condition.
The second situation does not have preset target message, when detecting preset trigger condition, requested webpage in current web page Server-side generates a target message in real time.
When the webpage detects preset trigger condition, a message request is sent to web service end, which please It asks and generates a target message in real time for requested webpage server-side.After web service termination receives above-mentioned message request, generation One target message is simultaneously sent to webpage, so that webpage can get above-mentioned target message in real-time update webpage information.
S42:The identification information of the target message is determined based on the correspondence of target message and identification information.
It in one embodiment, can be according to pre-stored target message and identification information after target message is obtained Correspondence inquires the identification information of the target message.
In one embodiment, above-mentioned correspondence can be as shown in following table one:
Table one
Target message xleid abcde ……
Identification information 0 1 ……
For example, if the target message obtained is " xleid ", the mark of the target message can be determined according to table one Information " 0 ".
In one embodiment, the mark of above-mentioned correspondence inquiry target message that can be locally stored according to terminal device Information.For example, after the webpage obtains target message, can the target be inquired according to the correspondence being locally stored The identification information of message.
In one embodiment, can also be believed according to the mark of above-mentioned correspondence inquiry target message that server-side stores Breath, specifically may refer to embodiment illustrated in fig. 5, herein first without repeating.
Seen from the above description, the embodiment of the present disclosure is by obtaining the target message, and based on target message and identifies The correspondence of information determines the identification information of the target message, can realize the mark for quickly and accurately obtaining target message Know information, and then the rate of generation target domain name request can be improved.It is generated since target message is converted to identification information Target domain name request can close in the relevant technologies and the requirement of domain-name information is needed to avoid form, the length violation of target message The trouble of domain-name information could be generated by being further processed, and can simplify the flow of generation target domain name request, improve communication efficiency.
The flow chart of Fig. 5 is how what is shown according to a further exemplary embodiment the to obtain identification information of target message;This Embodiment is on the basis of above-mentioned implementation, to be illustrated for how obtaining the identification information of target message.Such as Fig. 5 Shown, the correspondence described in step S42 based on target message and identification information determines the identification information of the target message, It may comprise steps of S51-S52:
S51:The target message is sent to server-side, the server-side is used for based on target message and identification information Correspondence determines the identification information of the target message;
In one embodiment, the target message of acquisition is sent to server-side by the webpage, so that the server-side is according to upper State the identification information that correspondence determines target message.Wherein, the server-side can be a server, or one Server cluster.
In one embodiment, the explanation of the correspondence may refer to embodiment described in above-mentioned Fig. 4, herein not into Row repeats.
S52:Receive the identification information that the server-side returns.
In one embodiment, server-side is inquired the correspondence being locally stored, is obtained according to the target message received To the identification information of the target message, and the identification information is returned to the webpage in terminal device.
In one embodiment, server-side and terminal device can pass through wireless network connection.
Seen from the above description, the embodiment of the present disclosure by target message by being sent to server-side, so that server-side is used for The identification information of the target message is determined, and then receive the server-side based on the correspondence of target message and identification information The identification information returned can realize the identification information for quickly and accurately obtaining target message, and then can improve generation The rate of target domain name request.The request of aiming field name is generated since target message is converted to identification information, it can be to avoid mesh Form, the length violation of mark message, which close to be further processed the requirement of domain-name information in the relevant technologies, could generate domain name letter The trouble of breath can simplify the flow of generation target domain name request, improve communication efficiency.
Fig. 6 is according to the flow for how generating the corresponding target domain name request of target message shown in an exemplary embodiment Figure;The present embodiment in the above-described embodiments, is carried out exemplary for how generating the corresponding target domain name request of target message Explanation.As shown in fig. 6, the corresponding mesh of the target message is generated according to the target character sequence described in above-mentioned steps S33 Domain name request is marked, includes the following steps S61-S62:
S61:Target domain-name information is determined according to the target character sequence, the target domain-name information has default feature Information.
In one embodiment, above-mentioned default characteristic information, which belongs to for identifying current domain name request, carries target message The domain name request of identification information, different from the domain name request in the relevant technologies.
In one embodiment, above-mentioned default characteristic information can be that default condition code, predetermined encryption mode etc. have mark The information of effect.Assuming that adding default condition code " --- " into target character sequence, the first character information, first word are obtained Information is accorded with as there is provided the target character sequences after preset property information.Embodiment shown in Figure 4, if target message The identification information " 0 " of " xleid " is converted to target character sequence " abc " by domain name character, then to the target character sequence After the default condition code " --- " of " abc " addition, the first character information " abc--- " can be obtained.
In one embodiment, the process for determining target domain-name information according to target character sequence can include following two feelings Condition:
Situation one:If above-mentioned first character information meets default Domain Name Form registering sites, directly first character information is determined For target domain-name information.
It, can be straight if Domain Name Form registering sites as defined in the following DNS Protocol of its satisfaction by taking the first character information " abc--- " as an example It connects and is determined as target domain-name information, is i.e. the target domain-name information of step S61 outputs is " abc--- ".
Situation two:If above-mentioned first character information is unsatisfactory for default Domain Name Form registering sites, default domain name identification information is added to, Obtain target domain-name information.
Still by taking the first character information " abc--- " as an example, according to the regulation of related DNS Protocol, it can be wrapped in domain-name information It includes:Top level domain such as " .com " " .net " " .cn " " .org ".Then in one embodiment, the first character information can be directed to The default domain name identification information such as top level domain " .com " of " abc--- " addition, generates a target domain-name information " abc--- .com”。
S62:The target domain name request is generated according to the target domain-name information.
In one embodiment, the target domain name request that current web page can be generated based on above-mentioned target domain-name information, The target domain name request meets the call format of domain name request, for example, a network linking address can be expressed as, such as Https://abc---.com or Http:The information such as //abc---.com.Wherein, domain name request is generally used for request operation system System carries out domain name request preset first operation, such as parsing operation.
The above process describes the generating process of a target domain name request, similarly, can be to other target character sequences Step S61-S62 is performed, so as to generate corresponding target domain name request.For example, according to three target character sequences " ab ", " cd " And " e ", three target domain name requests are generated, as shown in Table 2:
Table two
Target character sequence Target domain name request
abc Https://abc---.com
cd2 Https://cd2---.com
e3 Https://e3---.com
Seen from the above description, the embodiment of the present disclosure according to target character sequence by determining target domain-name information, and root The target domain name request is generated according to the target domain-name information, the rate of generation target domain name request can be improved, simplifies mesh The generating process of domain name request is marked, and then improves communication efficiency.
Fig. 7 be according to shown in an exemplary embodiment how based on target domain name acquisition request target message mark letter The flow chart of breath;The present embodiment is on the basis of above-described embodiment, with how based on target domain name acquisition request target message It is illustrated for identification information.As shown in fig. 7, it is obtained described in above-mentioned steps S12 based on the target domain name request The identification information of the target message is taken, may comprise steps of S71-S73:
S71:The target domain name request of webpage client transmission is identified by description components.
In one embodiment, show that above-mentioned target domain name request is sent to operation system by the webpage client of current web page System, above-mentioned target domain name request is identified by the description components in operating system.
In one embodiment, above-mentioned description components are set in the domain name transmission channel of operating system, can be with mesh The newly-increased service routine marked the preset interface of domain name request identification function or be disposed in operating system, can also It is the service processes hung over outside in existing operating system component, the present embodiment does not limit this.
In one embodiment, can be joined by way of the target domain name request that description components identify webpage client transmission Fig. 8, embodiment illustrated in fig. 9 are seen below, herein first without repeating.
S72:The corresponding target domain-name information of the target message is determined according to the target domain name request.
It in one embodiment, can be from mesh after the description components in operating system identify above-mentioned target domain name request The corresponding target domain-name information of the target message is extracted in mark domain name request.
It in one embodiment, should since target domain name request can be the domain name request that is generated according to target domain-name information Target domain name request includes target domain-name information, thus corresponding target domain name letter can be extracted from target domain name request Breath.Referring to above-mentioned embodiment illustrated in fig. 6, if target domain name request is " Https://abc---.com ", then can be from the target Target domain-name information " abc---.com " is extracted in domain name request.
S73:The identification information of the target message is parsed based on the target domain-name information.
In one embodiment, since target domain-name information can be believed according to the domain name that the identification information of target message generates Breath, which includes the identification information of target message, thus can parse target from target domain-name information The identification information of message.
In one embodiment, it if target domain-name information " abc---.com ", can be parsed from the target domain-name information Go out the identification information " 0 " of target message.
In one embodiment, the analysis mode of target domain-name information may refer to following embodiment illustrated in fig. 11, herein first Without repeating.
Seen from the above description, the embodiment of the present disclosure identifies that the target domain name that webpage client is sent please by description components It asks, and the corresponding target domain-name information of the target message is determined according to the target domain name request, and then based on the target Domain-name information parses the identification information of the target message, can realize the mark based on target domain name acquisition request target message Information, it is ensured that parse the rate of the identification information of target message, and then improve communication efficiency.
Fig. 8 be show according to a further exemplary embodiment how the mark based on target domain name acquisition request target message The flow chart of information, the present embodiment is on the basis of above-described embodiment, still how to be disappeared based on target domain name acquisition request target It is illustrated for the identification information of breath.It as shown in figure 8, please based on the target domain name described in above-mentioned steps S12 The identification information for obtaining the target message is sought, may comprise steps of S81-S83:
S81:The target domain name request of webpage client transmission is identified by presetting DNS interfaces or firewall component.
In one embodiment, show that above-mentioned target domain name request is sent to operation system by the webpage client of current web page System, above-mentioned target domain name request is identified by the default DNS interfaces in operating system or firewall component.
In one embodiment, above-mentioned default DNS interfaces or firewall component are set to the domain name transmission channel of operating system On, it can be the preset interface with target domain name request identification function, such as have additional the DNS interfaces of Hook functions, either A newly-increased service routine being set in operating system or the clothes in the DNS component of existing operating system are hung over outside Business process, the present embodiment do not limit this.
In the present embodiment, domain name can be sent by default DNS interfaces or firewall component from webpage client, a large amount of In request, target domain name request is identified, which includes target domain-name information.
Compared with the DNS interfaces in the relevant technologies, default DNS interfaces or firewall component in the embodiment of the present disclosure are added The ability of identification target domain name request.
Since DNS interfaces belong to original component of operating system, the present embodiment can carry out parameter to original DNS interfaces and match It puts or increases preset function such as Hook functions, the ability that DNS interfaces is made to have identification target domain name request is new without adding Component, save equipment cost.
S82:The corresponding target domain-name information of the target message is determined according to the target domain name request.
S83:The identification information of the target message is parsed based on the target domain-name information.
Wherein, step S82-S83 is identical with the step S72-S73 in aforementioned embodiment illustrated in fig. 7, and relevant explanation explanation can With referring to previous embodiment, herein without repeating.
Seen from the above description, the embodiment of the present disclosure is sent out by default DNS interfaces or firewall component from webpage client In domain name requests send, a large amount of, target domain name request is identified, since DNS interfaces belong to original component of operating system, this reality Original DNS interfaces can be carried out parameter configuration or increase preset function by applying example, and DNS interfaces is made to have identification target domain name please The ability asked without adding new component, saves equipment cost.
Fig. 9 be according to shown in an exemplary embodiment how by description components identify webpage client send target The flow chart of domain name request;The present embodiment is on the basis of above-described embodiment, how to identify webpage client by description components It is illustrated for the target domain name request that end is sent.As shown in figure 9, known described in step S71 by description components The target domain name request that other webpage client is sent, can include:
S91:The domain name request of webpage client transmission is received by description components, domain name request includes domain name letter Breath.
In one embodiment, it is assumed that webpage client is browser, and each webpage can be by browser to operating system Default DNS interfaces or firewall component send domain name request.
In one embodiment, above-mentioned domain name request can be true domain name request, that is, ask DNS component by domain-name information Resolve to IP address;It can also be above-mentioned target domain name request, i.e., not ask DNS component according to domain-name information lookup IP Location.
S92:Determine whether have default characteristic information in domain name information, the default characteristic information is worked as identifying Preceding domain-name information carries the identification information of target message.
In one embodiment, the default characteristic information is used to identify the mark that current domain-name information carries target message Information.
In one embodiment, above-mentioned default DNS interfaces or firewall component often receive a domain name request, can be first It detects in the domain-name information that the domain name request includes and whether has default characteristic information, than such as whether including default condition code “---”。
S93:If it is determined that having the default characteristic information in domain name information, then domain name request is determined as mesh Mark domain name request.
In one embodiment, however, it is determined that comprising the default characteristic information " --- " in domain name information, then by the domain Name request is determined as target domain name request;If not comprising the default characteristic information " --- ", it is determined that current domain name request is true Real domain name request, and then the domain name request is sent to the corresponding IP address of DNS module polls domain-name informations.
Seen from the above description, the embodiment of the present disclosure receives the domain name request of webpage client transmission by description components, And determine whether have default characteristic information in domain name information, and then described default when determining to have in domain name information During characteristic information, domain name request is determined as target domain name request, can be accurately distinguished by detecting default characteristic information True domain name request and target domain name request, and then improve the efficiency of subsequent communications.
Figure 10 be according to shown in an exemplary embodiment how based on target domain-name information parsing target message mark The flow chart of information;The present embodiment is on the basis of above-described embodiment, how to be based on target domain name acquisition request target message Identification information for illustrate.As shown in fig. 7, the target domain name request is based on described in above-mentioned steps S12 The identification information of the target message is obtained, may comprise steps of S101-S104:
S101:The target domain name request of webpage client transmission is identified by description components.
S102:The corresponding target domain-name information of the target message is determined according to the target domain name request.
Wherein, step S101-S102 is identical with the step S71-S72 in aforementioned embodiment illustrated in fig. 7, relevant explanation explanation Aforementioned embodiment illustrated in fig. 7 is may refer to, is no longer repeated herein.
S103:The target domain-name information is sent to presetting message service.
In one embodiment, shown presetting message service according to target domain-name information for determining the corresponding mark of target message Know information.
In one embodiment, it after operating system identifies target domain-name information by listening components, can will identify that The parsing of target domain-name information preset message Message services is transferred to perform.
S104:The mark that the target message is parsed based on the target domain-name information by the presetting message service is believed Breath.
In one embodiment, the target domain-name information that the operating system will identify that by listening components is sent to above-mentioned Message is serviced, and is parsed with the target domain-name information identified by described in the presetting message service execution Duis Operation.
In one embodiment, the concrete mode parsed to the target domain-name information identified may refer to following Embodiment illustrated in fig. 11, herein first without being described in detail.
Seen from the above description, the present embodiment is sent to presetting message by the target domain-name information that will identify that and takes Business, and the operation that the target domain-name information identified by described in the presetting message service execution Duis is parsed, can The identification process of target domain-name information and resolving are decoupled with realizing, so that listening components are only responsible for target domain-name information It is identified, it is not responsible that target domain-name information is parsed, so as to improve the detection efficiency of target domain-name information.
Figure 11 is the flow chart according to the identification information for how parsing target message shown in an exemplary embodiment;This reality Example is applied on the basis of above-described embodiment, to be illustrated for how parsing the identification information of target message.Such as figure Shown in 11, the identification information of the target message is parsed described in step S73 based on the target domain-name information, can include with Lower step S111-S112:
S111:Target character sequence is determined according to the target domain-name information.
In one embodiment, since target domain-name information can be believed according to the domain name that the identification information of target message generates Breath, which includes the identification information of target message, thus can parse target from target domain-name information The identification information of message.It, can be from this if target domain-name information " abc---.com " referring also to above-mentioned embodiment illustrated in fig. 6 The first character information " abc--- " is parsed in target domain-name information, and then default condition code is removed to first character information After " --- ", target character sequence " abc " is obtained.
S112:The identification information of the target message is determined according to the target character sequence.
It in one embodiment, can be according to default decoding process (with domain name word after above-mentioned target character sequence is determined Symbol conversion regime is corresponding) the target character sequence is decoded, obtain the identification information of target message.
In one embodiment, the target character SEQUENCE Example in step S111 is continued to use, is determining above-mentioned target character sequence After row, the target character sequence can be solved according to default decoding process (corresponding with domain name character conversion regime) Code, obtains the identification information " 0 " of target message.
Seen from the above description, the embodiment of the present disclosure is according to the target domain-name information by determining target character sequence, And the identification information of the target message is determined according to the target character sequence, it can realize and be parsed based on target domain-name information The identification information of target message, it is ensured that parse the rate of the identification information of target message, and then improve communication efficiency.
Figure 12 is the flow chart according to a kind of communication means shown in the 4th exemplary embodiment;The embodiment can be used for Terminal device (such as mobile phone, tablet computer, personal computer etc.), as shown in figure 12, this method includes the following steps S121- S124:
S121:By target domain name request corresponding to the identification information of operating system acquisition target message, the target disappears Breath is used to indicate the operation of operating system performance objective.
S122:Identification information based on target message described in the target domain name acquisition request.
S123:Based on the correspondence between target message and identification information, target corresponding to the identification information is inquired Message.
It in one embodiment, can be according to pre-stored target message and identification information after identification information is obtained Correspondence inquires the identification information of the target message.
In one embodiment, above-mentioned correspondence may refer to upper table one.For example, if the identification information obtained is " 0 " can then determine target message corresponding to the identification information " xleid " according to table one.
In one embodiment, the above-mentioned correspondence inquiry mark letter that operating system can be locally stored according to terminal device Cease corresponding target message.It for example, can be according to local after the operating system obtains the identification information of target message The correspondence of storage inquires the corresponding target message of the information.
It in one embodiment, can also be according to target corresponding to the above-mentioned correspondence inquiry identification information that server-side stores Message, concrete mode may refer to embodiment illustrated in fig. 13, herein first without repeating.
Seen from the above description, the embodiment of the present disclosure is by based on the correspondence between target message and identification information, Target message corresponding to the identification information is inquired, can corresponding target message rapidly be determined according to identification information, and then The rate subsequently operated according to target message performance objective can be improved.
Figure 13 be according to shown in an exemplary embodiment how the stream based on target message corresponding to inquiry identification information Cheng Tu;The present embodiment on the basis of above-described embodiment, for how based on target message corresponding to inquiry identification information into Row exemplary illustration based on the correspondence between target message and identification information described in step S123, inquires the mark The corresponding target message of information, includes the following steps S131-S132:
S131:The identification information is sent to server-side, the server-side is used for based on target message and identification information Correspondence determine target message corresponding to the identification information.
Wherein, the server-side can be a server, or a server cluster.
In one embodiment, above-mentioned correspondence may refer to upper table one.
In one embodiment, the identification information of acquisition is sent to server-side by the operating system, so that the server-side root Target message corresponding to identification information is determined according to above-mentioned correspondence, and then is received the target that the server-side returns and disappeared Breath.
For example, the identification information " 0 " of acquisition is sent to server-side, then server-side can root by the operating system Target message corresponding to the identification information " xleid " is determined according to table one.
S132:Receive the target message that the server-side returns.
It in one embodiment, can be with after server-side determines corresponding target message according to the identification information received The target message is returned to the operating system of terminal device.
In one embodiment, server-side and terminal device can pass through wireless network connection.
Seen from the above description, the embodiment of the present disclosure by the identification information by being sent to server-side, so that server-side The target message that determine the identification information based on target message and the correspondence of identification information corresponding, and then receive the clothes It is engaged in the identification information that end returns, the efficiency that target message is determined according to identification information can be improved, and then after can improving The continuous rate operated according to target message performance objective.
Figure 14 is the flow chart according to a kind of communication means shown in the 5th exemplary embodiment;The embodiment can be used for Terminal device (such as mobile phone, tablet computer, personal computer etc.), as shown in figure 14, this method includes the following steps S141- S144:
S141:By target domain name request corresponding to the identification information of operating system acquisition target message, the target disappears Breath is used to indicate the operation of operating system performance objective.
S142:Identification information based on target message described in the target domain name acquisition request.
S143:The target message is determined based on the identification information.
Wherein, step S141-S143 is identical with the step S11-S13 in aforementioned embodiment illustrated in fig. 1, relevant explanation explanation Previous embodiment is may refer to, herein without repeating.
S144:If it is determined that the operation for obtaining the target message is completed in effectively acquisition duration, then according to the mesh It marks message and performs the object run.
In one embodiment, in the generation phase of target domain name request, for example, when the identification information for obtaining target message (either when target domain name requests to generate or when sending target domain name request to operating system, which moment specifically chosen Can be according to actual needs configured by user or developer), a timestamp can be generated.Further, when described When operating system determines target message based on the identification information, actually obtaining for the target message is determined based on above-mentioned timestamp The time is taken, and then the practical acquisition time is compared with effectively obtaining duration, to determine whether the target message is having Effect, which obtains, to be completed to obtain in duration, if so, performing the object run according to the target message;If it is not, then abandon the mesh Mark message.
It in one embodiment, can also be in the generation phase of target domain name request, when the identification information for obtaining target message When (either when target domain name requests to generate or to operating system send target domain name request when, when which specifically being chosen Quarter can be according to actual needs configured by user or developer), start a timer, duration is effectively obtained when reaching When, determine that the operating system determines whether the operation of target message is completed based on the identification information, if so, according to described Target message performs the object run;If it is not, it can then abandon the target message.
Seen from the above description, the present embodiment is by determining whether the operation for obtaining target message is effectively being obtained in the time It completes, when the acquisition for determining target message, which operates, not to be completed within the effectively acquisition time, determines that the target message is out of date, it will The target message abandons, and is not operated according to the target message performance objective, and when the acquisition operation for determining target message be It effectively obtains when being completed in the time, determines that the target message is effective, operated according to the target message performance objective, it can effective mistake Processing time long target message is filtered, ensures that performance objective operates within a short period of time, effectively promotes user experience.
After operating system parses target message, it can also be operated according to target message performance objective, the object run Belong to the operation except corresponding first operation of the domain name request in the relevant technologies, i.e., non-domain name mapping operation.Above-mentioned target behaviour Work can be jump to intended application or it is other operation such as perform a kind of order, for example, performing shutdown, restarting, start The operations such as timer, the disclosure are not restricted the type of object run.Specifically how performance objective operates operating system, such as How to shut down, how to restart, how to start timer etc., be referred to the relevant technologies, belong to operating system and/or install thereon The ability that has of application, the disclosure is no longer described in detail.
It illustrates how to operate (referring to following figures based on target message performance objective for how opening intended application below 15 illustrated embodiments).
Figure 15 is how according to the target message to perform the object run according to shown in an exemplary embodiment Flow chart;The present embodiment is on the basis of above-described embodiment, by the object run of execution to be shown for opening intended application Example property explanation.As shown in figure 15, it is above-mentioned to be operated according to the target message performance objective, it can include:
S151:Intended application parameter is extracted from the target message;
In one embodiment, the operating system of terminal device can be after target message be got, from the target message The intended application parameter included is extracted, which can be used for opening corresponding intended application.
S152:The intended application is opened according to the intended application parameter.
In one embodiment, the operating system of terminal device can open the target according to the intended application parameter of extraction Using.The intended application can be with mounted application or uninstalled new opplication in terminal device.
In one embodiment, if intended application belongs to mounted application, operating system can be answered according to above-mentioned target Start intended application with the identity of the intended application in parameter, for example, opening using homepage or opening stepping on for intended application Record or enrollment page etc..
In one embodiment, if further including other information in intended application parameter, the destination application having been turned on may be used also To perform corresponding operating according to above- mentioned information, the interior page of intended application, such as merchandising in electric business platform are such as opened Details page;Alternatively, play audio, video file etc. in default interface;Either pop up default dialog box etc..
In one embodiment, if not installing above-mentioned intended application in terminal device, operating system can pass through opening User is reminded to download installation targets application using modes such as shops;Alternatively, target message is abandoned.
In one embodiment, if intended application belongs to uninstalled new opplication, referring to Figure 16 according to an exemplary embodiment How what is shown opens the flow chart of the intended application according to the intended application parameter.As shown in figure 16, above-mentioned target should The identity of the intended application is included at least with parameter;
On this basis, the intended application is opened according to the intended application parameter described in above-mentioned steps S152, it can To include the following steps S161-S163:
S161:Determine whether the intended application is locally installed according to the identity.
In one embodiment, operating system can be by preset new opplication platform, that is, new opplication service software, according to mesh The identity of mark application determines whether terminal device is locally equipped with above-mentioned new opplication.For example, the identity according to intended application Mark traversal has installed new opplication list, determines whether terminal device is locally equipped with above-mentioned target new opplication.
S162:If local do not install the intended application, the intended application is downloaded and installed.
In one embodiment, as determined locally not installing above-mentioned target new opplication, above-mentioned new opplication platform can trigger end End equipment downloads the compressed package of target new opplication automatically, to install above-mentioned target new opplication.In one embodiment, terminal device obtains After getting the compressed package of new opplication, it can voluntarily install or update from the background, installation process foreground is invisible, updated Journey can not also be presented to the user on foreground.
S163:The intended application is opened according to the intended application parameter by default application platform.
In one embodiment, application platform is preset after new opplication installation kit or updated data package is got, Ke Yizhi Operation new application is connect, opens target new opplication.
In one embodiment, above-mentioned default application platform is the service routine being preset in terminal device, above-mentioned new opplication Platform can be set to as a kind of system software in operating system;Still by taking smart mobile phone as an example, which puts down terminal device Platform can have been set when mobile phone dispatches from the factory.Above-mentioned default application platform can also be used as upper application software independent operating In terminal device, the disclosure does not limit its installation position.
In one embodiment, above-mentioned default application platform can be opened according to the application parameter of any intended application Corresponding intended application, that is, new opplication.The process that above-mentioned default application platform opens new opplication can be direct operation new opplication Installation or update compressed package, open the new opplication interface specified of intended application parameter, for example, the home interface of new opplication or its In interior page.
In one embodiment, it is assumed that default application platform is to run the service routine C of a variety of new opplications, above-mentioned intended application It is entitled:A kind of new opplication of caricature is seen soon, then service routine C can be as unrestrained in seen soon according to the intended application parameter got The identity of APP is drawn, directly opens and sees caricature soon.
Seen from the above description, the present embodiment, can be first according to mesh after operating system gets intended application parameter The identity of mark application determines whether user terminal is currently equipped with above-mentioned intended application, if not having, can download peace automatically The data packet of intended application is filled, and intended application is opened according to intended application parameter by default application platform, realizes target The automatic of application installs and accurately redirects, and jump procedure carries out information exchange without user and terminal, improves the intelligence using interaction Degree can be changed, further promote end-user experience.
Figure 17 is the flow chart according to a kind of communication means shown in the 6th exemplary embodiment;The embodiment can be used for Server-side.As shown in figure 17, this method includes the following steps S171-S176:
S171:The target message that the webpage of receiving terminal apparatus is sent by webpage client, the target message are institute State the message that webpage is obtained when detecting preset trigger condition.
In one embodiment, when the webpage in terminal device is when detecting preset trigger condition, determine that above-mentioned target disappears Breath, and pass through webpage client and the target message is sent to server-side.
In one embodiment, the server-side can be a server, or a server cluster.
S172:It determines the corresponding identification information of the target message, and stores the target message and the identification information Correspondence.
In one embodiment, server-side can determine the corresponding identification information of target message according to preset algorithm, for example, can To determine the preset table for storing above-mentioned correspondence, and the preset table is determined as target message from Major key is increased Identification information.
For example, as shown in Table 1, first object message " xleid " and the first mark have been stored in current preset table The correspondence of information " 0 " is known, if server-side is currently received the second target message that webpage is sent by web service end Second target message " abcde " is then recorded in above-mentioned preset table by " abcde ", so can by the preset table from Increase Major key " 1 " and be determined as the second identifier information of the second target message " abcde ", and can by store the preset table come Store second target message and the correspondence of second identifier information.
S173:The identification information is sent to the webpage or the webpage client, for believing according to the mark Breath generation target domain name request.
In one embodiment, if determining above-mentioned identification information is sent to webpage by above-mentioned server-side, which can be with Above-mentioned target domain name request is generated according to the identification information, specific generating process may refer to implement shown in above-mentioned Fig. 3 or Fig. 6 Example, herein without repeating.
S174:Receive the identification information that the operating system of the terminal device is sent.
In one embodiment, when the operating system of terminal device goes out above-mentioned mark according to the target domain name request analysis received After knowing information, which can be sent to server-side, wherein, the resolving of target domain name request may refer to above-mentioned Fig. 7-embodiment illustrated in fig. 11, herein without repeating.
S175:Target message corresponding to the identification information is inquired based on the correspondence.
It in one embodiment, can be with base after server-side receives the identification information of operating system transmission of terminal device In the target message and the correspondence of identification information that are locally stored, target message corresponding to the identification information, correlation solution are inquired It releases explanation and may refer to embodiment illustrated in fig. 13, herein without repeating.
S176:The target message is sent to the operating system, is used to indicate the operating system according to the target Message performs the object run.
In one embodiment, after server-side inquires target message, which can be sent to the terminal and set Standby operating system, to indicate that operating system performs corresponding object run according to the target message, related object run is held The relevant explanation explanation of row process may refer to Figure 15, embodiment illustrated in fig. 16, herein without repeating.
Seen from the above description, the target that the webpage of embodiment of the present disclosure receiving terminal apparatus is sent by webpage client Message determines the corresponding identification information of the target message, and stores target message pass corresponding with the identification information System, and the identification information is sent to the webpage or the webpage client, receive the operating system of the terminal device The identification information of transmission, and then target message corresponding to the identification information is inquired based on the correspondence, with to the behaviour Make system and send the target message, the function of the operating system of terminal device can be enhanced, make to operate in the browser The object run that webpage performs Jing Guo operating system is not limited by whether browser adds api interface, improves terminal device User experience.
Figure 18 is the flow chart according to a kind of communication means shown in the 7th exemplary embodiment;The embodiment can be used for Server-side.As shown in figure 18, this method includes the following steps S181-S186:
S181:The target message that the webpage of receiving terminal apparatus is sent by webpage client, the target message are institute State the message that webpage is obtained when detecting preset trigger condition.
S182:It determines the corresponding identification information of the target message, and stores the target message and the identification information Correspondence.
S183:The identification information is sent to the webpage or the webpage client, for believing according to the mark Breath generation target domain name request.
S184:Receive the identification information that the operating system of the terminal device is sent.
S185:Target message corresponding to the identification information is inquired based on the correspondence.
Wherein, step S181-S185 is identical with the step S171-S175 in embodiment described in earlier figures 17, relevant explanation Illustrate to may refer to previous embodiment, herein without repeating.
S186:If it is determined that inquiring the target message is completed in effective query duration, then sent out to the operating system Send the target message.
In one embodiment, it when the server-side stores the correspondence of target message and identification information, can generate One timestamp, when the server-side inquires target message corresponding to the identification information based on the correspondence, based on upper The actual queries time that timestamp determines the target message is stated, and then the actual queries time and effective query duration are carried out Comparison, to determine whether the target message is completed to inquire in effective query duration, if so, being sent to the operating system The target message;If it is not, it can then abandon the target message.
In one embodiment, it can also be opened when the server-side stores the correspondence of target message and identification information A dynamic timer, when reaching effective query duration, determines whether current goal message is completed to inquire, if so, to the behaviour Make system and send the target message;If it is not, it can then abandon the target message.
Seen from the above description, whether the present embodiment is by determining the operation of inquiry target message within the effective query time It completes, when the inquiry operation for determining target message is not completed within the effective query time, determines that the target message is out of date, it can The target message to be abandoned, the target message is not sent to the operating system, and when the inquiry for determining target message Operation is when being completed within the effective query time, determines that the target message is effective, then sends the target to the operating system Message, can effectively filter out processing time long target message, and guarantee sends target message, effectively carries within a short period of time Rise user experience.
In a kind of communication means that the disclosure provides, when webpage detects preset trigger condition, webpage visitor can be passed through Family end face sends the mark letter of the target message of Domain Name Form registering sites to the operating system of terminal device to the DNS interfaces of operating system Breath so that operating system can utilize identification information to obtain corresponding target message, and then perform one kind according to the target message Object run, such as operation such as shutdown, one timer of startup, a kind of application program of opening etc., specifically how performance objective is grasped The relevant technologies are referred to, belong to operating system and/or ability that the application installed thereon has.Below journey is applied to open It is illustrated for the application scenarios of sequence.
Figure 19 A are the application scenarios schematic diagrams according to a kind of communication means shown in an exemplary embodiment;Such as Figure 19 A institutes Show, when user clicks the link of an intended application page (for example, knowing in the browser page 1001 of smart mobile phone 100 The link of daily paper), then meet preset trigger condition, browser page can perform JS (javascript) script on backstage, JS scripts be responsible for obtain webpage send target message (target message include intended application to be opened intended application join Number).JS scripts determine corresponding identification information according to the target message, and then generate target domain name according to the identification information and ask It asks.JS scripts send the domain name request Jing Guo operating system by system interface, and the domain name request is by being set to operation system During default listening components (such as DNS) in system, it is monitored and is identified as target domain name request.Listening components are preset by the target Domain name request is sent to preset Message services and carries out intended application parameter extraction, and later, intended application parameter is sent to Default application platform, that is, intended application platform;Default application platform knows one in application according to above-mentioned intended application parameter opening A details page, for example know daily paper details page 1002, it is presented to the user.
Figure 19 B are a kind of application scenarios schematic diagrams of communication means in the relevant technologies;As shown in Figure 19 B, in related skill In art, if clicking the link of " knowing daily paper " in browser page 1001, browser can be first according to the api interface added The floating window 1003 that a prompting user selects unfolding mode is first popped up, prompts the unfolding mode of user's selection target page.It is above-mentioned Include for the page open mode of user's selection:Using unfolding mode, browser unfolding mode, it is also possible to including other modes, It is to know that applies knows daily paper interface that not only can not intended application interface directly be presented for user.If browser is not added Api interface, then can not realize from browser to know application redirect.
Seen from the above description, in the communication means of the present embodiment, when user wants to utilize certain operated in the browser During a webpage performance objective operation (such as jumping to locally applied software), the operating system of user terminal can be detected comprising mark Know the target domain name request of information, and then extract the identification information, and determine target message (mesh corresponding to the identification information Mark message includes the intended application parameter of intended application to be opened), and the intended application parameter is sent into default application and is put down Platform presets application platform by this and opens intended application for user, do not limited by whether both sides' application adds api interface, i.e., Can intended application directly be jumped to from current application, the version, configuration to both sides' application software are not required, i.e., both sides are applied Compatibility be not required, the user experience of terminal can be promoted.Also, belong to the situation of above-mentioned new opplication in intended application Under, for a user, when the chain that the intended application page is clicked in the page of the user in an application interface such as Web browser After connecing, user terminal can directly and accurately jump to the specified page of intended application, intermediate without other human-computer interactions, save User carries out process and the time of human-computer interaction with terminal, further promotes the user experience of terminal.
Figure 20 is the structure diagram according to a kind of communication device shown in an exemplary embodiment;As shown in figure 20, the dress Put including:Domain name request acquisition module 110, identification information acquisition module 120, target message determining module 130 and target behaviour Make execution module 140, wherein:
Domain name request acquisition module 110, for obtaining target corresponding to the identification information of target message by operating system Domain name request, the target message are used to indicate the operation of operating system performance objective;
Identification information acquisition module 120, for being believed based on the mark of target message described in the target domain name acquisition request Breath;
Target message determining module 130, for determining the target message based on the identification information;
Object run execution module 140, for performing the object run according to the target message.
Figure 21 is the structure diagram of a kind of communication device shown according to a further exemplary embodiment;Wherein, domain name request Acquisition module 230, identification information acquisition module 240, target message determining module 250 and object run execution module 260 with Domain name request acquisition module 110, identification information acquisition module 120, target message determining module 130 and mesh in earlier figures 20 The function of marking operation executing module 140 is identical, herein without repeating.As shown in figure 21, domain name request acquisition module 230, can To include:
Domain name request acquiring unit 231, for obtaining mark letter that webpage is sent by webpage client, target message Corresponding target domain name request is ceased, the target domain name request bag includes the target generated according to the identification information of the target message Domain-name information.
In one embodiment, which can also include:Domain name request generation module 210 and domain name request sending module 220;
Domain name request generation module 210 can include:
Identification information obtaining unit 211, for when detecting preset trigger condition, obtaining the mark of target message letter Breath;
Domain name character conversion unit 212 for carrying out domain name character conversion to the identification information, obtains target character sequence Row;
Domain name request generation unit 213, for generating the corresponding mesh of the target message according to the target character sequence Domain name request is marked, the target domain name request includes at least the target character sequence;
Domain name request sending module is used to the target domain name request being sent to the operating system.
In one embodiment, identification information obtaining unit 211 can be also used for:
Obtain the target message;
The identification information of the target message is determined based on the correspondence of target message and identification information.
In one embodiment, identification information obtaining unit 211 can be also used for:
The target message is sent to server-side, the server-side is used for corresponding with identification information based on target message Relationship determines the identification information of the target message;
Receive the identification information that the server-side returns.
In one embodiment, domain name request generation unit 213 can be also used for:
Target domain-name information is determined according to the target character sequence, the target domain-name information has default feature letter Breath;
The target domain name request is generated according to the target domain-name information.
In one embodiment, identification information acquisition module 240 can include:
Domain name request recognition unit 241, for identifying the target domain name request of webpage client transmission by description components;
Domain-name information determination unit 242, for determining the corresponding mesh of the target message according to the target domain name request Mark domain-name information;
Identification information resolution unit 244, for parsing the mark letter of the target message based on the target domain-name information Breath.
In one embodiment, domain name request recognition unit 241 can be also used for through default DNS interfaces or firewall component Identify the target domain name request that webpage client is sent.
In one embodiment, domain name request recognition unit 241 can be also used for:
The domain name request of webpage client transmission is received by description components, domain name request includes domain-name information;
Determine whether have default characteristic information in domain name information, the default characteristic information is used to identify the current field Name information carries the identification information of target message;
When determining to have the default characteristic information in domain name information, domain name request is determined as aiming field Name request.
In one embodiment, identification information acquisition module 240 can also include:
Domain-name information transmitting element 243, for the target domain-name information to be sent to presetting message service;
Identification information resolution unit 244 is additionally operable to by being based on the target domain name described in the presetting message service execution Information parses the step of identification information of the target message.
In one embodiment, identification information resolution unit 244 can be also used for:
Target character sequence is determined according to the target domain-name information;
The identification information of the target message is determined according to the target character sequence.
In one embodiment, target message determining module 250 can be also used for being based between target message and identification information Correspondence, inquire target message corresponding to the identification information.
In one embodiment, target message determining module 250, including:
Identification information transmitting element 251, for the identification information to be sent to server-side, the server-side is used to be based on Target message and the correspondence of the identification information target message that determine the identification information corresponding;
Target message receiving unit 252, for receiving the target message that the server-side returns.
In one embodiment, object run execution module 260 is additionally operable to determine that the operation of the acquisition target message is When being completed in effectively acquisition duration, the described the step of object run is performed according to the target message is performed.
In one embodiment, for the target domain name request for performing the first operation, the object run is described first Operation except operation.
In one embodiment, object run execution module 260 can also include:
Application parameter extraction unit 261, for extracting intended application parameter from the target message;
Intended application opening unit 262, for opening intended application according to the target message, wherein, the target disappears Breath is including at least the identity of the intended application.
In one embodiment, intended application opening unit 262 can be also used for:
Determine whether the intended application is locally installed according to the identity;
If local do not install the intended application, the intended application is downloaded and installed;
The intended application is opened according to the target message by default application platform.
Figure 22 is the structure diagram according to a kind of communication device applied to server-side shown in an exemplary embodiment;Such as Shown in Figure 22, which includes:
Target message receiving module 310 is disappeared for the webpage of receiving terminal apparatus by the target that webpage client is sent Breath, the target message are the message that the webpage is obtained when detecting preset trigger condition;
Mark determines memory module 320, for determining the corresponding identification information of the target message, and stores the target Message and the correspondence of the identification information;
Identification information sending module 330, for the identification information to be sent to the webpage or the webpage client, For generating target domain name request according to the identification information;
Identification information receiving module 340, for receiving the identification information of the operating system of terminal device transmission;
Target message enquiry module 350 disappears for inquiring target corresponding to the identification information based on the correspondence Breath;
Target message sending module 360 for sending the target message to the operating system, is used to indicate the behaviour Make system and the object run is performed according to the target message.
In one embodiment, target message sending module 360 can be also used for when determine the inquiry target message be When completing in effective query duration, perform it is described to the operating system send the target message the step of.
About the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 23 is the block diagram according to a kind of electronic equipment shown in an exemplary embodiment.For example, device 300 can be moved Mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building are set It is standby, personal digital assistant etc..
With reference to Figure 23, device 700 can include following one or more components:Processing component 702, memory 704, power supply Component 706, multimedia component 708, audio component 710, the interface 712 of input/output (I/O), sensor module 714 and Communication component 716.
The integrated operation of 702 usual control device 700 of processing component, such as with display, call, data communication, phase Machine operates and record operates associated operation.Processing element 702 can refer to including one or more processors 320 to perform It enables, to perform all or part of the steps of the methods described above.In addition, processing component 702 can include one or more modules, just Interaction between processing component 702 and other assemblies.For example, processing component 702 can include multi-media module, it is more to facilitate Interaction between media component 708 and processing component 702.
Memory 704 is configured as storing various types of data to support the operation in equipment 700.These data are shown Example includes the instruction of any application program or method for being operated on device 700, contact data, and telephone book data disappears Breath, picture, video etc..Memory 704 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Electric power assembly 706 provides electric power for the various assemblies of device 700.Electric power assembly 706 can include power management system System, one or more power supplys and other generate, manage and distribute electric power associated component with for device 700.
Multimedia component 708 is included in the screen of one output interface of offer between described device 700 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 708 includes a front camera and/or rear camera.When device 700 is in operation mode, such as screening-mode or During video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 710 is configured as output and/or input audio signal.For example, audio component 710 includes a Mike Wind (MIC), when device 700 is in operation mode, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The received audio signal can be further stored in memory 704 or via communication set Part 716 is sent.In some embodiments, audio component 710 further includes a loud speaker, for exports audio signal.
I/O interfaces 712 provide interface between processing component 702 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor module 714 includes one or more sensors, and the state for providing various aspects for device 700 is commented Estimate.For example, sensor module 714 can detect opening/closed state of device 700, and the relative positioning of component, for example, it is described Component is the display and keypad of device 700, and sensor module 714 can be with 700 1 components of detection device 700 or device Position change, the existence or non-existence that user contacts with device 700,700 orientation of device or acceleration/deceleration and device 700 Temperature change.Sensor module 714 can include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 714 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 716 is configured to facilitate the communication of wired or wireless way between device 700 and other equipment.Device 700 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation In example, communication component 716 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 716 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 700 can be believed by one or more application application-specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing above-mentioned communication means.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 704 of instruction, above-metioned instruction can be performed to complete above-mentioned communication means by the processor 320 of device 700.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..
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure disclosed herein Its embodiment.This application 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 is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claim.

Claims (40)

1. a kind of communication means, which is characterized in that including:
By target domain name request corresponding to the identification information of operating system acquisition target message, the target message is used to indicate Operating system performance objective operates;
Identification information based on target message described in the target domain name acquisition request;
The target message is determined based on the identification information;
The object run is performed according to the target message.
2. according to the method described in claim 1, it is characterized in that, the mark that target message is obtained by operating system is believed Corresponding target domain name request is ceased, including:
Obtain target domain name request corresponding to identification information that webpage is sent by webpage client, target message, the mesh Mark domain name request includes the target domain-name information generated according to the identification information of the target message.
3. according to the method described in claim 1, it is characterized in that, the mark that target message is obtained by operating system is believed Before ceasing corresponding target domain name request, the method further includes:
When detecting preset trigger condition, the identification information of target message is obtained;
Domain name character conversion is carried out to the identification information, obtains target character sequence;
The corresponding target domain name request of the target message is generated according to the target character sequence, the target domain name request is extremely Include the target character sequence less;
The target domain name request is sent to the operating system.
4. according to the method described in claim 3, it is characterized in that, it is described obtain target message identification information, including:
Obtain the target message;
The identification information of the target message is determined based on the correspondence of target message and identification information.
5. the according to the method described in claim 4, it is characterized in that, correspondence based on target message and identification information Determine the identification information of the target message, including:
The target message is sent to server-side, the server-side is used for the correspondence based on target message and identification information Determine the identification information of the target message;
Receive the identification information that the server-side returns.
6. according to the method described in claim 3, it is characterized in that, described generate the target according to the target character sequence The corresponding target domain name request of message, including:
Target domain-name information is determined according to the target character sequence, the target domain-name information has default characteristic information;
The target domain name request is generated according to the target domain-name information.
7. according to the method described in claim 1, it is characterized in that, described be based on target described in the target domain name acquisition request The identification information of message, including:
The target domain name request of webpage client transmission is identified by description components;
The corresponding target domain-name information of the target message is determined according to the target domain name request;
The identification information of the target message is parsed based on the target domain-name information.
8. the method according to the description of claim 7 is characterized in that described identify what webpage client was sent by description components Target domain name request, including:
The target domain name request of webpage client transmission is identified by presetting DNS interfaces or firewall component.
9. the method according to the description of claim 7 is characterized in that described identify what webpage client was sent by description components Target domain name request, including:
The domain name request of webpage client transmission is received by description components, domain name request includes domain-name information;
Determine whether have default characteristic information in domain name information, the default characteristic information is believed for identifying current domain name Breath carries the identification information of target message;
If it is determined that having the default characteristic information in domain name information, then domain name request is determined as target domain name please It asks.
10. the method according to the description of claim 7 is characterized in that the method further includes:
The target domain-name information is sent to presetting message service;
Believed by the mark for parsing the target message described in the presetting message service execution based on the target domain-name information The step of breath.
11. the method according to the description of claim 7 is characterized in that described parse the mesh based on the target domain-name information The identification information of message is marked, including:
Target character sequence is determined according to the target domain-name information;
The identification information of the target message is determined according to the target character sequence.
12. according to the method described in claim 1, it is characterized in that, described determine that the target disappears based on the identification information Breath, including:
Based on the correspondence between target message and identification information, target message corresponding to the identification information is inquired.
13. according to the method for claim 12, which is characterized in that pair based between target message and identification information It should be related to, inquire target message corresponding to the identification information, including:
The identification information is sent to server-side, the server-side is used for the correspondence based on target message and identification information Determine target message corresponding to the identification information;
Receive the target message that the server-side returns.
14. according to the method described in claim 1, it is characterized in that, the method further includes:
If it is determined that the operation for obtaining the target message is completed in effectively acquisition duration, then perform described according to the target Message performs the step of object run.
15. according to the method described in claim 1, it is characterized in that, the target domain name request meets the form of domain name request It is required that domain name request, for performing the first operation, the object run is the operation except the described first operation.
16. according to the method described in claim 1, it is characterized in that, described perform the target behaviour according to the target message Make, including:
Intended application parameter is extracted from the target message;
The intended application is opened according to the intended application parameter.
17. according to the method for claim 16, which is characterized in that the intended application parameter should including at least the target Identity;
It is described that intended application is opened according to the intended application parameter, including:
Determine whether the intended application is locally installed according to the identity;
If local do not install the intended application, the intended application is downloaded and installed;
The intended application is opened according to the target message by default application platform.
18. a kind of communication means, applied to server, which is characterized in that including:
The target message that the webpage of receiving terminal apparatus is sent by webpage client, the target message are being examined for the webpage Measure the message obtained during preset trigger condition;
It determines the corresponding identification information of the target message, and stores target message pass corresponding with the identification information System;
The identification information is sent to the webpage or the webpage client, for generating target according to the identification information Domain name request;
Receive the identification information that the operating system of the terminal device is sent;
Target message corresponding to the identification information is inquired based on the correspondence;
The target message is sent to the operating system, the operating system is used to indicate and institute is performed according to the target message State object run.
19. according to the method for claim 18, which is characterized in that the method further includes:
If it is determined that inquiring the target message is completed in effective query duration, then perform described to operating system transmission The step of target message.
20. a kind of communication device, which is characterized in that including:
Domain name request acquisition module, please for obtaining target domain name corresponding to the identification information of target message by operating system It asks, the target message is used to indicate the operation of operating system performance objective;
Identification information acquisition module, for the identification information based on target message described in the target domain name acquisition request;
Target message determining module, for determining the target message based on the identification information;
Object run execution module, for performing the object run according to the target message.
21. device according to claim 20, which is characterized in that domain name acquisition request module, including:
Domain name request acquiring unit corresponds to for obtaining identification information that webpage is sent by webpage client, target message Target domain name request, the target domain name request bag includes the target domain name generated according to the identification information of the target message and believes Breath.
22. device according to claim 20, which is characterized in that described device further includes:Domain name request generation module and Domain name request sending module;
Domain name requests to generate module, including:
Identification information obtaining unit, for when detecting preset trigger condition, obtaining the identification information of target message;
Domain name character conversion unit for carrying out domain name character conversion to the identification information, obtains target character sequence;
Domain name request generation unit, please for generating the corresponding target domain name of the target message according to the target character sequence It asks, the target domain name request includes at least the target character sequence;
Domain name request sending module is used to the target domain name request being sent to the operating system.
23. device according to claim 22, which is characterized in that the identification information obtaining unit is additionally operable to:
Obtain the target message;
The identification information of the target message is determined based on the correspondence of target message and identification information.
24. device according to claim 23, which is characterized in that the identification information obtaining unit is additionally operable to:
The target message is sent to server-side, the server-side is used for the correspondence based on target message and identification information Determine the identification information of the target message;
Receive the identification information that the server-side returns.
25. device according to claim 22, which is characterized in that domain name requests to generate unit and is additionally operable to:
Target domain-name information is determined according to the target character sequence, the target domain-name information has default characteristic information;
The target domain name request is generated according to the target domain-name information.
26. device according to claim 20, which is characterized in that the identification information acquisition module, including:
Domain name request recognition unit, for identifying the target domain name request of webpage client transmission by description components;
Domain-name information determination unit, for determining that the corresponding target domain name of the target message is believed according to the target domain name request Breath;
Identification information resolution unit, for parsing the identification information of the target message based on the target domain-name information.
27. device according to claim 26, which is characterized in that domain name request recognition unit is additionally operable to by default The target domain name request that DNS interfaces or firewall component identification webpage client are sent.
28. device according to claim 26, which is characterized in that domain name request recognition unit is additionally operable to:
The domain name request of webpage client transmission is received by description components, domain name request includes domain-name information;
Determine whether have default characteristic information in domain name information, the default characteristic information is believed for identifying current domain name Breath carries the identification information of target message;
When determining to have the default characteristic information in domain name information, domain name request is determined as target domain name please It asks.
29. device according to claim 26, which is characterized in that the identification information acquisition module further includes:
Domain-name information transmitting element, for the target domain-name information to be sent to presetting message service;
The identification information resolution unit is additionally operable to believe by being based on the target domain name described in the presetting message service execution Breath parses the step of identification information of the target message.
30. device according to claim 26, which is characterized in that the identification information resolution unit is additionally operable to:
Target character sequence is determined according to the target domain-name information;
The identification information of the target message is determined according to the target character sequence.
31. device according to claim 20, which is characterized in that the target message determining module is additionally operable to based on mesh The correspondence between message and identification information is marked, inquires target message corresponding to the identification information.
32. device according to claim 31, which is characterized in that the target message determining module, including:
Identification information transmitting element, for the identification information to be sent to server-side, the server-side is used to disappear based on target It ceases and the correspondence of the identification information target message that determine the identification information corresponding;
Target message receiving unit, for receiving the identification information that the server-side returns.
33. device according to claim 20, which is characterized in that the object run execution module is additionally operable to work as and determines to obtain The operation for taking the target message is when being completed in effectively acquisition duration, is performed described according to performing the target message The step of object run.
34. device according to claim 20, which is characterized in that the target domain name request meets the form of domain name request It is required that domain name request, for performing the first operation, the object run is the operation except the described first operation.
35. device according to claim 20, which is characterized in that the object run execution module further includes:
Application parameter extraction unit, for extracting intended application parameter from the target message;
Intended application opening unit, for opening intended application according to the target message, wherein, the target message at least wraps Include the identity of the intended application.
36. device according to claim 35, which is characterized in that the intended application opening unit is additionally operable to:
Determine whether the intended application is locally installed according to the identity;
If local do not install the intended application, the intended application is downloaded and installed;
The intended application is opened according to the target message by default application platform.
37. a kind of communication device, which is characterized in that including:
Target message receiving module, it is described for the target message that is sent by webpage client of webpage of receiving terminal apparatus Target message is the message that the webpage is obtained when detecting preset trigger condition;
Mark determine memory module, for determining the corresponding identification information of the target message, and store the target message with The correspondence of the identification information;
Identification information sending module, for the identification information to be sent to the webpage or the webpage client, for root Target domain name request is generated according to the identification information;
Identification information receiving module, for receiving the identification information of the operating system of terminal device transmission;
Target message enquiry module, for inquiring target message corresponding to the identification information based on the correspondence;
Target message sending module for sending the target message to the operating system, is used to indicate the operating system The object run is performed according to the target message.
38. the device according to claim 37, which is characterized in that the target message sending module is additionally operable to work as and determines to look into It is when being completed in effective query duration to ask the target message, is performed described to the operating system transmission target message The step of.
39. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor;
It is configured as the memory of storage processor-executable instruction;
Wherein, the processor is configured as:
By target domain name request corresponding to the identification information of operating system acquisition target message, the target message is used to indicate Operating system performance objective operates;
Identification information based on target message described in the target domain name acquisition request;
The target message is determined based on the identification information;
The object run is performed according to the target message.
40. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor It is realized during processing:
By target domain name request corresponding to the identification information of operating system acquisition target message, the target message is used to indicate Operating system performance objective operates;
Identification information based on target message described in the target domain name acquisition request;
The target message is determined based on the identification information;
The object run is performed according to the target message.
CN201711262914.5A 2017-12-04 2017-12-04 Communication method and device and electronic equipment Active CN108156221B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711262914.5A CN108156221B (en) 2017-12-04 2017-12-04 Communication method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711262914.5A CN108156221B (en) 2017-12-04 2017-12-04 Communication method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN108156221A true CN108156221A (en) 2018-06-12
CN108156221B CN108156221B (en) 2021-05-04

Family

ID=62466394

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711262914.5A Active CN108156221B (en) 2017-12-04 2017-12-04 Communication method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN108156221B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833585A (en) * 2018-07-03 2018-11-16 北京小米移动软件有限公司 Information interacting method, device and storage medium
CN108924136A (en) * 2018-07-03 2018-11-30 北京小米移动软件有限公司 Authorization and authentication method, device and storage medium
CN108965413A (en) * 2018-07-03 2018-12-07 北京小米移动软件有限公司 Information interacting method, device and storage medium
CN109739662A (en) * 2018-12-29 2019-05-10 北京小米移动软件有限公司 Communication means and device
US11593409B2 (en) 2021-02-19 2023-02-28 Glean Technologies, Inc. Permissions-aware search with intelligent activity tracking and scoring across group hierarchies
US11790104B2 (en) 2021-02-18 2023-10-17 Glean Technologies, Inc. Permissions-aware search with document verification
US11797612B2 (en) 2021-09-29 2023-10-24 Glean Technologies, Inc. Identification of permissions-aware enterprise-specific term substitutions
US11995135B2 (en) 2021-02-18 2024-05-28 Glean Technologies, Inc. Permissions-aware search with user suggested results

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6608615B1 (en) * 2000-09-19 2003-08-19 Intel Corporation Passive gaze-driven browsing
CN103558988A (en) * 2013-01-26 2014-02-05 广州市沃希信息科技有限公司 Electronic equipment communication method and system
CN105183881A (en) * 2015-09-23 2015-12-23 百度在线网络技术(北京)有限公司 Information query method and device
CN105260262A (en) * 2015-09-14 2016-01-20 联想(北京)有限公司 Information display method, electronic equipment and electronic device
CN105701232A (en) * 2016-02-03 2016-06-22 北京中搜网络技术股份有限公司 Hypertext link list pushing system based on APP information data
CN106503134A (en) * 2016-10-19 2017-03-15 广东欧珀移动通信有限公司 Browser jumps to the method for data synchronization and device of application program
CN106528657A (en) * 2016-10-19 2017-03-22 广东欧珀移动通信有限公司 Control method and device for browser skipping to application program
CN106528659A (en) * 2016-10-19 2017-03-22 广东欧珀移动通信有限公司 A control method and device for jumping from a browser to an application program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6608615B1 (en) * 2000-09-19 2003-08-19 Intel Corporation Passive gaze-driven browsing
CN103558988A (en) * 2013-01-26 2014-02-05 广州市沃希信息科技有限公司 Electronic equipment communication method and system
CN105260262A (en) * 2015-09-14 2016-01-20 联想(北京)有限公司 Information display method, electronic equipment and electronic device
CN105183881A (en) * 2015-09-23 2015-12-23 百度在线网络技术(北京)有限公司 Information query method and device
CN105701232A (en) * 2016-02-03 2016-06-22 北京中搜网络技术股份有限公司 Hypertext link list pushing system based on APP information data
CN106503134A (en) * 2016-10-19 2017-03-15 广东欧珀移动通信有限公司 Browser jumps to the method for data synchronization and device of application program
CN106528657A (en) * 2016-10-19 2017-03-22 广东欧珀移动通信有限公司 Control method and device for browser skipping to application program
CN106528659A (en) * 2016-10-19 2017-03-22 广东欧珀移动通信有限公司 A control method and device for jumping from a browser to an application program

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833585A (en) * 2018-07-03 2018-11-16 北京小米移动软件有限公司 Information interacting method, device and storage medium
CN108924136A (en) * 2018-07-03 2018-11-30 北京小米移动软件有限公司 Authorization and authentication method, device and storage medium
CN108965413A (en) * 2018-07-03 2018-12-07 北京小米移动软件有限公司 Information interacting method, device and storage medium
CN108924136B (en) * 2018-07-03 2021-01-15 北京小米移动软件有限公司 Authorization authentication method, device and storage medium
CN108833585B (en) * 2018-07-03 2021-06-29 北京小米移动软件有限公司 Information interaction method and device and storage medium
CN108965413B (en) * 2018-07-03 2021-08-03 北京小米移动软件有限公司 Information interaction method and device and storage medium
CN109739662A (en) * 2018-12-29 2019-05-10 北京小米移动软件有限公司 Communication means and device
US11790104B2 (en) 2021-02-18 2023-10-17 Glean Technologies, Inc. Permissions-aware search with document verification
US11995135B2 (en) 2021-02-18 2024-05-28 Glean Technologies, Inc. Permissions-aware search with user suggested results
US11593409B2 (en) 2021-02-19 2023-02-28 Glean Technologies, Inc. Permissions-aware search with intelligent activity tracking and scoring across group hierarchies
US11797612B2 (en) 2021-09-29 2023-10-24 Glean Technologies, Inc. Identification of permissions-aware enterprise-specific term substitutions

Also Published As

Publication number Publication date
CN108156221B (en) 2021-05-04

Similar Documents

Publication Publication Date Title
CN108156221A (en) Communication means, device and electronic equipment
CN108040095A (en) Communication means, device and electronic equipment
CN107222369A (en) Recognition methods, device, switch and the storage medium of application program
CN109005096B (en) Application interaction method and device
CN108156271A (en) Communication means, device and electronic equipment
CN108040091A (en) Data processing method, device and storage medium
CN103870551B (en) The method and apparatus that a kind of cross-domain data obtains
CN107577352A (en) Terminal access method, device and the electronic equipment and storage medium of home appliance
CN108063804A (en) Communication means and device
CN108390944A (en) Information interacting method and device
CN108600529A (en) Information interacting method, device and computer readable storage medium
CN107220059A (en) The display methods and device of application interface
CN106792442A (en) data migration method and device
CN108205455B (en) Application function implementation method and device and terminal
CN109525652A (en) Information sharing method, device, equipment and storage medium
CN106413129A (en) Method and device for binding terminal to intelligent equipment
CN105183493A (en) Display method and device of network information
CN106452914B (en) Method for configuring routers and device
CN108156220A (en) Communication means and device
CN109218375B (en) Application interaction method and device
CN109714425A (en) Communication means and device
CN108737588A (en) Domain name analytic method and device
CN104991857A (en) Method and apparatus for trace debugging
CN104158851B (en) A kind of dissemination system of Network, method and apparatus
CN107257318A (en) Control method, device and the computer-readable recording medium of electronic equipment

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