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

Communication means, device and electronic equipment Download PDF

Info

Publication number
CN108040095A
CN108040095A CN201711260997.4A CN201711260997A CN108040095A CN 108040095 A CN108040095 A CN 108040095A CN 201711260997 A CN201711260997 A CN 201711260997A CN 108040095 A CN108040095 A CN 108040095A
Authority
CN
China
Prior art keywords
message
sub
target
domain name
identification information
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
CN201711260997.4A
Other languages
Chinese (zh)
Other versions
CN108040095B (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 CN202011165822.7A priority Critical patent/CN112291338B/en
Priority to CN201711260997.4A priority patent/CN108040095B/en
Publication of CN108040095A publication Critical patent/CN108040095A/en
Application granted granted Critical
Publication of CN108040095B publication Critical patent/CN108040095B/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/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

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:The corresponding target domain name request of target message is obtained by operating system;Based on the target domain name request, the described first sub- message is obtained in the first way, and obtains the described second sub- message in a second manner;The object run is performed according to the described first sub- message and the second sub- message.The disclosure can strengthen the function of operating system, improve the user experience of terminal device.And, since target message is divided into two sub- message for needing quick response and quick response being not required, the first quick obtaining in one way of operating system to the sub- message for needing quick response can thus be passed through, obtain the sub- message that quick response is not required during performance objective operates in another way again, obtained without waiting for two sub- message and finish ability performance objective operation, communication efficiency can be improved.

Description

Communication means, device and electronic equipment
Technical field
This disclosure relates to field of communication technology, more particularly to a kind of 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 can be also realized by adding api interface.For example, it is being adapted to browsing for 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.
The content of the invention
To overcome problem present 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 correlation technique.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of communication means, including:
The corresponding target domain name request of target message is obtained by operating system, the target message is used to indicate operation system Performance objective of uniting operates, and the target message includes without the first of quick response the sub- message and needs the second son of quick response Message;
Based on the target domain name request, the described first sub- message is obtained in the first way, and obtain in a second manner The second sub- message;
The object run is performed according to the described first sub- message and the second sub- message.
In one embodiment, it is described that the corresponding target domain name request of target message is obtained by operating system, including:
Obtain webpage is sent by webpage client, the corresponding target domain name request of target message, the target domain name Request includes the target domain-name information generated according to the target message.
In one embodiment, it is described before the corresponding target domain name request by operating system acquisition target message Method further includes:
When detecting preset trigger condition, the identification information of the first sub- message and the second sub- message are obtained;
Domain name character conversion is carried out respectively to the identification information and the second sub- message, obtains target character sequence;
The target domain name request is generated according to the target character sequence, the target domain name request includes at least described Target character sequence;
The target domain name request is sent to the operating system.
In one embodiment, the identification information for obtaining the first sub- message and the second sub- message, including:
Obtain the target message;
Based on the content of the target message, the first sub- message and second son are determined from the target message Message;
Correspondence based on the first sub- message and identification information determines the identification information of the described first sub- message.
In one embodiment, it is described that the target domain name request is generated according to the target character sequence, including:
Target domain-name information is determined according to the target character sequence, the target domain-name information possesses default feature letter Breath;
The target domain name request is generated according to the target domain-name information.
In one embodiment, it is described to be based on the target domain name request, the described first sub- message is obtained in the first way, with And the described second sub- message is obtained in a second manner, 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;
Based on the target domain-name information, the described first sub- message is parsed in the first way, and parse in a second manner The second sub- message.
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 default 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 possess default characteristic information in domain name information, the default characteristic information is used to identify the current field Name information carries target message;
If it is determined that possessing 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 being based on the target domain-name information described in the presetting message service execution, described is parsed in the first way One sub- message, and the step of parse the second sub- message in a second manner.
In one embodiment, it is described to be based on the target domain-name information, the described first sub- message is parsed in the first way, with And the described second sub- message is parsed in a second manner, including:
Target character sequence is determined according to the target domain-name information;
The first sub- character string and the second sub- character string are determined from the target character sequence according to preset rules;
The first sub- message is parsed based on the described first sub- character string;
The second sub- message is parsed based on the described second sub- character string.
In one embodiment, it is described according to preset rules from the target character sequence determine the first sub- character string and Second sub- character string, including:
According to preset characters position, the first sub- character string and the second sub- character sequence are determined from the target character sequence Row.
In one embodiment, it is described that the first sub- message is parsed based on the described first sub- character string, including:
The identification information of the described first sub- message is determined according to the described first sub- character string;
Based on the correspondence between the first sub- message and identification information, inquire about the first son corresponding to the identification information and disappear Breath.
In one embodiment, it is described that the second sub- message is parsed based on the described second sub- character string, including:
Described second sub- character string is decoded into by the described second sub- message using default decoding process.
In one embodiment, the method further includes:
If it is determined that obtaining the first sub- message and the second sub- message is completed in default obtain in duration, then perform It is described according to the described first sub- message and the step of the second sub- message performs the object run.
It is in one embodiment, described according to the described first sub- message and the second sub- message performs the object run, Including:
Intended application parameter is extracted from the described first sub- message and the second sub- 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;
The extraction intended application parameter from the described first sub- message and the second sub- message, including:
The identity of the intended application is extracted from the described second sub- message.
In one embodiment, it is described that the 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, there is provided a kind of communication means, including:
The first sub- message that the webpage of receiving terminal apparatus is sent by webpage client, the first sub- message are target Message in message without quick response, that the target message obtains for the webpage when detecting preset trigger condition, For indicating the message of operating system performance objective operation, the second sub- message, second son are further included in the target message Message is to need the message of quick response;
Determine the corresponding identification information of the described first sub- message, and store the identification information and the described first sub- message Correspondence;
The identification information is sent to the webpage or the webpage client, for webpage client according to the mark Know information and the second sub- message generation target domain name request;
Receive the identification information that the operating system of the terminal device is sent;
First sub- message corresponding to the identification information is inquired about based on the correspondence;
The first sub- message is sent to the operating system, for indicating operating system according to the described first sub- message, And the described second sub- message based on the target domain name acquisition request performs the object run.
In one embodiment, the method further includes:
If it is determined that the inquiry first sub- message is completed in default inquiry duration, then perform described to the operation system System sends the step of first sub- message.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of communicator, including:
Domain name request acquisition module, it is described for obtaining the corresponding target domain name request of target message by operating system Target message is used to indicate that operating system performance objective operates, and the target message includes disappearing without the first son of quick response Cease and need the second sub- message of quick response;
Sub- message capturing module, for based on the target domain name request, obtaining the described first sub- message in the first way, And the described second sub- message is obtained in a second manner;
Object run execution module, for performing the target according to the described first sub- message and the second sub- message and grasping Make.
In one embodiment, domain name acquisition request module, including:
Domain name request acquiring unit, for obtaining webpage is sent by webpage client, the corresponding target of target message Domain name request, the target domain name request bag include the target domain-name information generated according to the target message.
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 the first sub- message With the described second sub- message;
Domain name character conversion unit, turns for carrying out domain name character respectively to the identification information and the second sub- message Change, obtain target character sequence;
Domain name request generation unit, for generating the target domain name request, the mesh according to the target character sequence Mark 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, the identification information obtaining unit, is additionally operable to:
Obtain the target message;
Based on the content of the target message, the first sub- message and second son are determined from the target message Message;
Correspondence based on the first sub- message and identification information determines the identification information of the described first sub- message.
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 possesses default feature letter Breath;
The target domain name request is generated according to the target domain-name information.
In one embodiment, the sub- message capturing 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 based on the target domain-name information, parsing first son in the first way and disappearing Breath, and the described second sub- message is parsed in a second manner.
In one embodiment, domain name request recognition unit is additionally operable to by default DNS interfaces or default fire wall group The target domain name request that part identification 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 possess default characteristic information in domain name information, the default characteristic information is used to identify the current field Name information carries target message;
When possessing the default characteristic information in definite domain name information, domain name request is determined as aiming field Name request.
In one embodiment, the sub- message capturing 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 Name information, the step of parsing the described first sub- message in the first way, and parse the second sub- message in a second manner.
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 first sub- character string and the second sub- character string are determined from the target character sequence according to preset rules;
The first sub- message is parsed based on the described first sub- character string;
The second sub- message is parsed based on the described second sub- character string.
In one embodiment, the identification information resolution unit, is additionally operable to:
According to preset characters position, the first sub- character string and the second sub- character sequence are determined from the target character sequence Row.
In one embodiment, the identification information resolution unit, is additionally operable to:
The identification information of the described first sub- message is determined according to the described first sub- character string;
Based on the correspondence between the first sub- message and identification information, inquire about the first son corresponding to the identification information and disappear Breath.
In one embodiment, the identification information resolution unit, is additionally operable to:
Described second sub- character string is decoded into by the described second sub- message using default decoding process.
In one embodiment, the object run execution module is additionally operable to when determining to obtain the first sub- message and described Second sub- message is when being completed in default acquisition duration, to perform described according to the described first sub- message and the second sub- message The step of performing the object run.
In one embodiment, the object run execution module, including:
Application parameter extraction unit, for extracting intended application ginseng from the described first sub- message and the second sub- message Number;
Intended application opening unit, for opening the intended application according to the intended application parameter.
In one embodiment, the intended application parameter includes at least the identity of the intended application;
The application parameter extraction unit is additionally operable to extract the identity mark of the intended application from the described second sub- message Know.
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, there is provided a kind of communicator, including:
Sub- message reception module, the first sub- message that the webpage for receiving terminal apparatus is sent by webpage client, The first sub- message is message without quick response in target message, the target message for the webpage detect it is pre- If message obtained during trigger condition, for indicating the operation of operating system performance objective, the is further included in the target message Two sub- message, the second sub- message is to need the message of quick response;
Mark determines memory module, for determining the corresponding identification information of the described first sub- message, and stores the mark The correspondence of information and the described first sub- message;
Identification information sending module, for the identification information to be sent to the webpage or the webpage client, is used According to the identification information and the second sub- message generation target domain name request;
Identification information receiving module, the identification information that the operating system for receiving the terminal device is sent;
Sub- information query module, for inquiring about the first sub- message corresponding to the identification information based on the correspondence;
Sub- message transmission module, for sending the first sub- message to the operating system, for indicating operating system According to the described first sub- message, and the described second sub- message execution target behaviour based on the target domain name acquisition request Make.
In one embodiment, the sub- message transmission module is additionally operable to when the definite inquiry first sub- message is default Inquire about duration in complete when, perform it is described to the operating system send the first sub- message the step of.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a kind of electronic equipment, the electronic equipment include:
Processor;
It is configured as the memory of storage processor-executable instruction;
Wherein, the processor is configured as:
The corresponding target domain name request of target message is obtained by operating system, the target message is used to indicate operation system Performance objective of uniting operates, and the target message includes without the first of quick response the sub- message and needs the second son of quick response Message;
Based on the target domain name request, the described first sub- message is obtained in the first way, and obtain in a second manner The second sub- message;
The object run is performed according to the described first sub- message and the second sub- message.
According to the 6th of the embodiment of the present disclosure the aspect, there is provided a kind of computer-readable recording medium, is stored thereon with calculating Machine program, the program are realized when being processed by the processor:
The corresponding target domain name request of target message is obtained by operating system, the target message is used to indicate operation system Performance objective of uniting operates, and the target message includes without the first of quick response the sub- message and needs the second son of quick response Message;
Based on the target domain name request, the described first sub- message is obtained in the first way, and obtain in a second manner The second sub- message;
The object run is performed according to the described first sub- message and the second sub- message.
The technical scheme provided by this disclosed embodiment can include the following benefits:
From above-described embodiment, the disclosure obtains the corresponding target domain name request of target message by operating system, and Based on the target domain name request, the described first sub- message is obtained in the first way, and obtain described second in a second manner Sub- message, and then the object run is performed according to the described first sub- message and the second sub- message, operation system can be strengthened The function of system, improves the user experience of terminal device.Also, need quick response since target message is divided into and be not required Two sub- message of quick response, thus can by operating system in one way quick obtaining to the son for needing quick response Message, and the sub- message that quick response is not required is obtained during performance objective operates in another way, without etc. Treat that two sub- message obtain and finish ability performance objective operation, communication efficiency can be improved.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of communication means according to the first exemplary embodiment;
Fig. 2 is a kind of flow chart of communication means according to the second exemplary embodiment;
Fig. 3 is a kind of flow chart of communication means according to the 3rd exemplary embodiment;
Fig. 4 is the identification information for how obtaining the first sub- message and second son according to an exemplary embodiment The flow chart of message;
How Fig. 5 is according to the target character sequence generation target domain name according to an exemplary embodiment The flow chart of request;
Fig. 6 is how to be based on the first sub- message of target domain name acquisition request according to the first exemplary embodiment And second sub- message flow chart;
Fig. 7 is how to be based on the first sub- message of target domain name acquisition request according to the second exemplary embodiment And second sub- message flow chart;
Fig. 8 is the mesh that webpage client transmission how is identified by description components according to further example embodiment Mark the flow chart of domain name request;
Fig. 9 is how to be based on the first sub- message of target domain name acquisition request according to the 3rd exemplary embodiment And second sub- message flow chart;
Figure 10 is how to be disappeared based on the first son of the target domain name acquisition request according to the 4th exemplary embodiment The flow chart of breath and the second sub- message;
Figure 11 is how to be disappeared based on the first son of the target domain name acquisition request according to the 5th exemplary embodiment The flow chart of breath and the second sub- message;
Figure 12 is how to be disappeared based on the first sub- character string parsing first son according to an exemplary embodiment The flow chart of breath;
Figure 13 is how to be based on the first sub- message of target domain name acquisition of information according to an exemplary embodiment And second sub- message flow chart;
Figure 14 is a kind of flow chart of communication means according to the 4th exemplary embodiment;
How Figure 15 is according to the first sub- message and the second sub- message performance objective according to an exemplary embodiment The flow chart of operation;
Figure 16 is the flow chart that intended application how is opened according to target message according to an exemplary embodiment;
Figure 17 is a kind of flow chart of communication means according to the 5th exemplary embodiment;
Figure 18 is a kind of flow chart of communication means according to the 6th 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 correlation technique;
Figure 20 is a kind of structure diagram of communicator according to an exemplary embodiment;
Figure 21 is a kind of structure diagram of communicator according to further example embodiment;
Figure 22 is a kind of structure diagram of communicator applied to server-side according to an exemplary embodiment;
Figure 23 is the block diagram of a kind of electronic equipment according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its 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 key 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 apparatus and method of some aspects be described in detail in claims, the disclosure.
Present disclose provides a kind of communication means, this method includes:The operating system of terminal device obtains Domain Name Form registering sites Target message, the target message are included without the first of quick response the sub- message and the second sub- message for needing quick response, and By domain name mapping, obtain the first sub- message in the first way, obtain the second sub- message in a second manner, so according to this first Sub- message and the second sub- message perform corresponding object run, such as shutdown, one timer of startup, a kind of application program of opening Deng operation etc., specifically how performance objective operation is referred to correlation technique, the application for belonging to operating system and/or installing thereon The ability having.
Fig. 1 is a kind of flow chart of communication means according to 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 comprises the following steps S11-S14:
S11:The corresponding target domain name request of target message is obtained by operating system, the target message is used to indicate to grasp Make the operation of system performance objective, the target message include without the first of quick response the sub- message with need the of quick response Two sub- message.
In one embodiment, terminal device obtains the target domain name request by operating system, the target domain name request It can be but be not limited in terminal device by Web browser or other external network proxy services such as webpage client such as Michat, wechat The domain name request that the webpage of end displaying is sent according to target message.
In one embodiment, it (is, for example, net that can include in the target message without the first of quick response the sub- message Page parameter etc.), and need the second sub- message (for example, using bag title, webpage title etc.) of quick response.
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 outside the described first operation.
For example, the target domain name request can be used for asking operating system execution domain name mapping to operate, and target Predetermined registration operation in addition to operating to be operated except domain name mapping.
S12:Based on the target domain name request, the described first sub- message is obtained in the first way, and in a second manner Obtain the described second sub- message.
In one embodiment, the operating system can by being parsed to target domain name request, and in the first way, Such as slower mode, obtain the first sub- message;And in a second manner, such as faster mode, disappear to obtain the second son Breath.
Since target message is divided into two sub- message for needing quick response and quick response being not required, thus can lead to Cross operating system in one way quick obtaining to the sub- message for needing quick response, and in another way performance objective grasp The sub- message that quick response is not required is obtained during work, is obtained without waiting for two sub- message and finishes ability performance objective Operation, can improve communication efficiency.
In correlation technique, after webpage sends domain name request by webpage client to operating system, operating system is expected The domain name letter that description components such as DNS (Domain Name System, domain name system) component includes above-mentioned domain name request Breath performs the first operation, for example, corresponding IP address is resolved to, so that subsequent terminal equipment network corresponding with the IP address is set Standby (such as webserver) establishes network connection, and such as TCP, (Transmission Control Protocol, pass transport control protocol View) connection, and then based on above-mentioned network connection and above-mentioned network equipment transmission information.That is, the domain name in correlation technique The domain-name information of corresponding IP address can be parsed by being contained in request.
Unlike correlation technique, in one embodiment, target domain name request is the carrier as target message, not For indicating that operating system performs first operation, such as it is not used in and performs domain name mapping operation, therefore, wherein can not wraps Containing the domain-name information that can parse corresponding IP address, carrier of the target domain name request as the target message, is used for Indicate that operating system performs the corresponding object run of the target message, which is typically different than first operation.
In one embodiment, the concrete mode of operating system parsing target domain name request may refer to following Figure 10-13 institutes Show embodiment, herein first without repeating.
S13:The object run is performed according to the described first sub- message and the second sub- message.
In one embodiment, after operating system determines target message, can be disappeared according to pre-set first son Breath and the second sub- message and the correspondence of object run, determine corresponding object run, and then perform the target behaviour Make.
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.
From above-described embodiment, the disclosure obtains the corresponding target domain name request of target message by operating system, and Based on the target domain name request, the described first sub- message is obtained in the first way, and obtain described second in a second manner Sub- message, and then the object run is performed according to the described first sub- message and the second sub- message, operation system can be strengthened The function of system, improves the user experience of terminal device.Also, need quick response since target message is divided into and be not required Two sub- message of quick response, thus can by operating system in one way quick obtaining to the son for needing quick response Message, and the sub- message that quick response is not required is obtained during performance objective operates in another way, without waiting Two sub- message, which obtain, finishes ability performance objective operation, can improve communication efficiency.
The disclosure additionally provides a kind of communication means, and the executive agent being related to includes:Terminal device, pacifies in the terminal device Equipped with the client software that can show webpage, such as, Web browser or other external network proxy services such as Michat, wechat etc. (this Webpage client is referred to as in open).Webpage sends Domain Name Form registering sites by webpage client to the operating system of terminal device Target message, the target message include, without the first of quick response the sub- message and the second sub- message for needing quick response, making Operating system is obtained to obtain the first sub- message in the first way by domain name mapping, obtain the second sub- message in a second manner, And then corresponding object run is performed according to the first sub- message and the second sub- message.
Fig. 2 is a kind of flow chart of communication means according to 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 comprises the following steps S21-S24:
S21:Obtain webpage is sent by webpage client, the corresponding target domain name request of target message, the target Domain name request includes the target domain-name information generated according to the target message.
Wherein, the target domain name request bag include according to first sub- message of the target message without quick response and The target domain-name information of the second sub- message generation of quick response is needed, the target message is used to indicate operating system performance objective Operation.
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 is in the first sub- message according to target message and the second sub- message generation target After domain name request, which is sent to operating system by webpage client.
S22:Based on the target domain name request, the described first sub- message is obtained in the first way, and in a second manner Obtain the described second sub- message;
S23:The object run is performed according to the described first sub- message and the second sub- message.
Wherein, step S22-S23 is identical with the step S12-S13 in foregoing embodiment illustrated in fig. 1, and relevant explanation explanation can With referring to previous embodiment, herein without repeating.
From above-described embodiment, the disclosure obtains webpage is sent by webpage client, target by operating system First sub- message of message and the corresponding target domain name request of the second sub- message, and the target domain name request is based on, with first Mode obtains the first sub- message, obtains the second sub- message in a second manner, and then disappear according to the described first sub- message and the second son Breath performs the object run, can strengthen webpage function, such as the webpage in terminal device is performed by operating system Object run improves the user experience of terminal device from whether the limitation of api interface is added.
Fig. 3 is a kind of flow chart of communication means according to the 3rd 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 comprises the following steps S31-S38:
S31:When detecting preset trigger condition, the identification information of the first sub- message and the second sub- message are obtained.
In one embodiment, the webpage in terminal device is when detecting preset trigger condition, the mark of the first sub- message Information and the second sub- message.
In one embodiment, every one first sub- message has an identification information, the identification information can be used for distinguishing this One sub- message and other sub- message.
In one embodiment, when determining to meet preset trigger condition, the described first sub- message is determined by the webpage Identification information and the second sub- message.
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 Virtual push button, image link etc. operate, alternatively, the predeterminable area in current web page has done the operation such as default gesture motion.
In one embodiment, above-mentioned preset trigger condition can also be a trigger condition preset in webpage, not directly Connect and show as user's trigger action, such as, the event such as loading webpage, alternatively, the condition such as preset duration that current web page is opened.With Exemplified by above-mentioned preset duration is a hour, correspondingly, current web page determines after detecting that opening duration reaches a hour The identification information of first sub- message to be sent and the second sub- message.
In one embodiment, current web page determines the identification information of the first sub- message according to preset trigger condition, can wrap Include following two situations:
The first situation, the identification information of the first sub- message is preset in current web page, when the webpage detect it is default During trigger condition, the identification information of the first sub- message can be exported according to above-mentioned trigger condition.
The second situation, does not have the identification information of the preset first sub- message in current web page, is detecting default triggering bar During part, requested webpage server-side generates the identification information of the first sub- 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 first sub- message in real time for requested webpage server-side.Web service termination receives above-mentioned message After request, generate the identification information of a first sub- message and be sent to webpage, so that webpage is in real-time update webpage information Above-mentioned identification information can be got.
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 identification information of the first sub- message and the mode of the second sub- message are obtained referring also to Fig. 4 The embodiment, herein first without repeating.
S32:Domain name character conversion is carried out respectively to the identification information and the second sub- message, obtains target character sequence Row.
In one embodiment, the webpage can carry out domain name word respectively to the identification information and the second sub- message Symbol conversion, obtains target character sequence.
In one embodiment, identification information and the second sub- message can be subjected to domain name character conversion respectively, with Merged to the first sub- character string and the second sub- character string, and by the first sub- character string and the second sub- character string, Obtain target character sequence;Alternatively, the first sub- character string and the second sub- character string can also be determined directly as two mesh Character string is marked, to generate two target domain name requests respectively, is in a manner of merging and obtain target character sequence mainly below Example illustrates.
Domain name agreement regulation in correlation technique, domain-name information need to be made of the character in preset characters space.
Under normal circumstances, the identification information for the first sub- message that webpage determines and the second sub- message may not be by above-mentioned Character composition in default domain name character space, thus need to turn each character in above-mentioned identification information and the second sub- message Domain name character is changed to, obtains the target character sequence.
In one embodiment, can also be first by the second sub- message before domain name character conversion is carried out to the second sub- message It is compressed using default compression method, to shorten the length of the second sub- message.For example, simplest compression can be used Method, 10a etc. is compressed into by continuous 10 character a;Alternatively, using the compression algorithm of the maturation such as Huffman, LZ77 to second Sub- message is compressed.
S33:The target domain name request is generated according to the target character sequence, the target domain 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.
In one embodiment, the concrete mode for generating target domain name request may refer to following embodiment illustrated in fig. 5, herein First without repeating.
S34:The target domain name request is sent to the operating system.
S35:The corresponding target domain name request of target message is obtained by operating system, the target message is used to indicate to grasp Make the operation of system performance objective, the target message include without the first of quick response the sub- message with need the of quick response Two sub- message.
S36:Based on the target domain name request, the described first sub- message is obtained in the first way, and in a second manner Obtain the described second sub- message.
S37:The object run is performed according to the described first sub- message and the second sub- message.
Wherein, step S35-S37 is identical with the step S11-S13 in foregoing embodiment illustrated in fig. 1, 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 by obtaining the first sub- message when detecting preset trigger condition Identification information and the second sub- message, and domain name character conversion is carried out to the identification information and the second sub- message, obtain To target character sequence, target domain name request is generated further according to the target character sequence, and then by the target domain name request The operating system is sent to, operating system can be made to receive the target domain name request, to be based on by the operating system Domain name request obtains the described first sub- message in the first way, and obtains the described second sub- message in a second manner, and Corresponding object run is performed, the function of operating system can be strengthened, makes to operate in the webpage in terminal device and performs by behaviour Make the object run of system from whether the limitation of api interface is added, improve the user experience of terminal device.
It is worth noting that, the executive agent of at least one step can be in step S31-S33 in above-described embodiment Webpage (or webpage client), alternatively, can be server-side.For example, if the webpage in terminal device gets the first son The identification information of message and the second sub- message, then can be sent to server-side by the identification information and the second sub- message, with request The server-side performs step S32, S33 generation target domain name request, and then after server-side generates target domain name request, can incite somebody to action The target domain name request returns to the webpage.
Fig. 4 is the identification information for how obtaining the first sub- message and second son according to an exemplary embodiment The flow chart of message;The present embodiment is on the basis of above-described embodiment, how to obtain the identification information of the first sub- message and institute State illustrative exemplified by the second sub- message.As shown in figure 4, the mark of target message is obtained described in above-mentioned steps S31 Information, may comprise steps of S41-S43:
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 foregoing embodiment illustrated in fig. 3, herein without superfluous State.
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 in current web page, when detecting preset trigger condition, requested webpage 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 Ask and generate 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:Based on the content of the target message, the first sub- message and described the are determined from the target message Two sub- message.
In one embodiment, can be according to the content of target message, which, which is divided into, needs quick response Sub- message (such as using bag title, webpage title) and the sub- message (such as webpage parameter) that quick response is not required.Into one Step ground, is not required the sub- message of quick response to be determined as the first sub- message this, the sub- message of the needs quick response is determined For the second sub- message.
S43:Correspondence based on the first sub- message and identification information determines the identification information of the described first sub- message.
In one embodiment, after the first sub- message is obtained, can be believed according to the prestore first sub- message and mark The correspondence of breath inquires about the identification information of the first sub- message.
In one embodiment, above-mentioned correspondence can be as shown in following table one:
Table one
For example, if the first sub- message obtained is " xleid ", the first sub- message can be determined according to table one Identification information " 0 ".
In one embodiment, the above-mentioned correspondence that can be locally stored according to terminal device inquires about the mark of the first sub- message Know information.For example, can be according to the correspondence inquiry being locally stored after the webpage obtains the first sub- message The identification information of first sub- message.
In one embodiment, the mark that the above-mentioned correspondence that can also be stored according to server-side inquires about the first sub- message is believed Breath.For example, the first sub- message can be sent to the server-side by the webpage, wherein, which is used for based on this The correspondence of ground storage inquires about the identification information of the first sub- message.And then the webpage can receive the of server-side return The identification information of one sub- message.
Seen from the above description, the embodiment of the present disclosure is by obtaining the target message, and based on the target message Content, determines the first sub- message and the second sub- message from the target message, so based on the first sub- message and The correspondence of identification information determines the identification information of the described first sub- message, since the first sub- message is converted to identification information To generate the request of aiming field name, can be closed to avoid form, the length violation of the first sub- message in correlation technique to domain-name information It is required that and need to further handle the trouble that could generate domain-name information, can simplify generation target domain name request flow, improve Communication efficiency.
How Fig. 5 is according to the target character sequence generation target domain name according to an exemplary embodiment The flow chart of request;The present embodiment is on the basis of above-mentioned implementation, how to generate the mesh according to the target character sequence It is illustrative exemplified by mark domain name request.As shown in figure 5, generated described in step S33 according to the target character sequence The target domain name request, may comprise steps of S51-S52:
S51:Target domain-name information is determined according to the target character sequence, the target domain-name information possesses default feature Information.
In one embodiment, above-mentioned default characteristic information is used to identify current domain name request and belong to carry target message The domain name request of identification information, different from the domain name request in correlation technique.
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 sequence after preset property information.Embodiment shown in Figure 4, if the first sub- message The identification information " 0 " of " xleid " is converted to the first sub- character string " ab " by domain name character, the second sub- message (or compression The second sub- message afterwards) " xyz " be converted to the second sub- character string " c " by domain name character, then to the first sub- character string Target character sequence " abc " can be obtained by being merged with the second sub- character string, and then the target character sequence " abc " is added After adding default condition code " --- ", 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.
, 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 Connect and be 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 Include: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”。
S52: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 default 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
ab Https://ab---.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 possess default characteristic information Target domain-name information, and the target domain name request is generated according to the target domain-name information, since definite target domain name is believed Possess default characteristic information in breath, thus can realize subsequently based on default characteristic information identification target domain name request, and then Ensure the quality of communication.
It is worth noting that, the communication means in above-described embodiment, can also be true previously according to target message by server-side Fixed first sub- message and the second sub- message, and the identification information based on the first sub- message and the second sub- message generation target domain name letter Breath, and then by the target domain-name information or based on the target domain name request that target domain-name information generates and default triggering bar Part associates, the target domain-name information or the target domain name request based on target domain-name information generation are placed in webpage, The trigger condition information for being used for sending the target domain name request is set in webpage;After webpage detects the trigger condition, The corresponding target domain name request of the target domain-name information can be sent to operating system.
Fig. 6 is how to be based on the first sub- message of target domain name acquisition request according to the first exemplary embodiment And second sub- message flow chart;The present embodiment is on the basis of above-described embodiment, how to be asked based on the target domain name Ask obtain it is illustrative exemplified by the first sub- message and the second sub- message.As shown in fig. 6, described in above-mentioned steps S12 Based on the target domain name request, the described first sub- message is obtained in the first way, and obtain described second in a second manner Sub- message, may comprise steps of S61-S63:
S61: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 arranged in the domain name transmission channel of operating system, can be with mesh The preset interface of domain name request identification function, or a newly-increased service routine being disposed in operating system are marked, 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. 7, embodiment illustrated in fig. 8 are seen below, herein first without repeating.
S62:The corresponding target domain-name information of the target message is determined according to the target domain name request.
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.
In one embodiment, since target domain name request can be according to the domain name request of target domain-name information generation, it is somebody's turn to do 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.
S63:Based on the target domain-name information, the described first sub- message is parsed in the first way, and in a second manner Parse the described second sub- message.
In one embodiment, since target domain-name information can be disappeared according to the identification information and the second son of the first sub- message The domain-name information of generation is ceased, thus the identification information of the first sub- message can be parsed according to target domain-name information, and then is passed through The identification information obtains the first sub- message.It follows that the described first sub- message is parsed in the first way, i.e.,:First according to target The identification information of the first sub- message is parsed in domain name letter, the first sub- message is determined further according to the identification information;In a second manner The described second sub- message is parsed, i.e.,:The second sub- message is directly parsed according to target domain-name information.Due to only needing to disappear to the first son The identification information of breath is encoded, it is not necessary to the first sub- message is encoded in itself, therefore can shorten the information after coding Length, it is ensured that target message can be carried in as far as possible few target domain name request;Since the parsing of the second sub- message need not Experience searches the process of corresponding sub- message by identification information, therefore acquisition speed is faster, can ensure to need in target message fast The processing speed of speed response part.
In one embodiment, the analysis mode of target domain-name information may refer to following Figure 10-13 illustrated embodiments, 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 Ask, and the corresponding target domain-name information of the target message is determined according to the target domain name request, then based on the aiming field Name information parses the identification information and the second sub- message of the first sub- message, and then determines the according to the identification information of the first sub- message One sub- message, directly determines the second sub- message according to analysis result, it is possible to achieve based on the target domain name request, with first Mode obtains the described first sub- message, and obtains the described second sub- message in a second manner, it is ensured that parses faster To the second sub- message, and then communication efficiency is improved, and can also obtain the first sub- message, ensure the integrality of communication.
Fig. 7 is how to be based on the first sub- message of target domain name acquisition request according to the second exemplary embodiment And second sub- message flow chart;The present embodiment is on the basis of above-described embodiment, still how to be based on the target domain name It is illustrative exemplified by the first sub- message of acquisition request and the second sub- message.As shown in fig. 7, institute in above-mentioned steps S12 State and be based on the target domain name request, obtain the described first sub- message in the first way, and obtain described in a second manner Two sub- message, may comprise steps of S71-S73:
S71:The target domain name request of webpage client transmission is identified by presetting DNS interfaces or default 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 default firewall component.
In one embodiment, above-mentioned default DNS interfaces or default firewall component are arranged at the domain name transmission of operating system It can be the preset interface with target domain name request identification function on passage, such as have additional the DNS interfaces of Hook functions, or A newly-increased service routine that person is disposed in operating system or hang over outside in the DNS component of existing operating system Service processes, the present embodiment do not limit this.
It is being sent by default DNS interfaces or default firewall component from webpage client, a large amount of in the present embodiment In domain name request, target domain name request is identified, which includes target domain-name information.
Compared with the DNS interfaces in correlation technique, default DNS interfaces or default firewall component in the embodiment of the present disclosure It is additionally arranged the ability of identification target domain name request.
Since DNS interfaces or firewall component belong to original component of operating system, the present embodiment can meet original DNS Mouth or firewall component carry out parameter configuration or increase preset function such as Hook functions, make DNS interfaces or firewall component Ability with identification target domain name request, without adding new component, saves equipment cost.
S72:The corresponding target domain-name information of the target message is determined according to the target domain name request.
S73:Based on the target domain-name information, the described first sub- message is parsed in the first way, and in a second manner Parse the described second sub- message.
Wherein, step S72-S73 is identical with the step S62-S63 in foregoing embodiment illustrated in fig. 6, 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 by presetting DNS interfaces or default firewall component from webpage client In domain name requests that end is sent, a large amount of, target domain name request is identified, since DNS interfaces or firewall component belong to operation system Original component of system, the present embodiment can carry out original DNS interfaces or firewall component in parameter configuration or the default letter of increase Number, makes DNS interfaces or firewall component have the ability of identification target domain name request, without adding new component, saves equipment Cost.
Fig. 8 is the mesh that webpage client transmission how is identified by description components according to further example embodiment Mark the flow chart of domain name request;The present embodiment is on the basis of above-described embodiment, how to identify webpage visitor by description components It is illustrative exemplified by the target domain name request that family end is sent.As shown in figure 8, pass through description components described in step S61 Identify the target domain name request that webpage client is sent, step S81-S83 can be included:
S81: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 send domain name request.
In one embodiment, above-mentioned domain name request can be real 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.
S82:Determine whether possess default characteristic information in domain name information, the default characteristic information is used to identify and works as Preceding domain-name information carries target message.
In one embodiment, the default characteristic information carries target message for identifying current domain-name information.
In one embodiment, above-mentioned default DNS interfaces often receive a domain name request, and can detect the domain name first please Ask including domain-name information in whether possess default characteristic information, than such as whether including default condition code " --- ".
S83:If it is determined that possessing 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 the default characteristic information " --- " is included in domain name information, then by the domain Name request is determined as target domain name request;If the default characteristic information " --- " is not included, 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 possess default characteristic information in domain name information, so it is described default when determining to possess 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 Real domain name request and target domain name request, and then improve the efficiency of subsequent communications.
Fig. 9 is how to be based on the first sub- message of target domain name acquisition request according to the 3rd exemplary embodiment And second sub- message flow chart;The present embodiment is on the basis of above-described embodiment, how to be asked based on the target domain name Ask obtain it is illustrative exemplified by the first sub- message and the second sub- message.As shown in figure 9, described in above-mentioned steps S12 Based on the identification information of target message described in the target domain name acquisition request, S91-S94 may comprise steps of:
S91:The target domain name request of webpage client transmission is identified by description components.
S92:The corresponding target domain-name information of the target message is determined according to the target domain name request.
Wherein, step S91-S92 is identical with the step S61-S62 in foregoing embodiment illustrated in fig. 6, and relevant explanation explanation can Referring to foregoing embodiment illustrated in fig. 6, no longer to be repeated herein.
S93:The target domain-name information is sent to presetting message service.
In one embodiment, shown presetting message service is used to be based on the target domain-name information, parses in the first way The first sub- message, and the described second sub- message is parsed in a second manner.
In one embodiment, after operating system identifies target domain-name information by listening components, can will identify that The parsing of target domain-name information transfer to default message Message services to perform.
S94:By being based on the target domain-name information described in the presetting message service execution, institute is parsed in the first way The step of stating the first sub- message, and parsing the second sub- message in a second manner.
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, by being based on the target domain-name information described in the presetting message service execution, to parse in the first way The first sub- message, and the operation of the described second sub- message is parsed in a second manner.
In one embodiment, the concrete mode parsed to the target domain-name information identified may refer to following Figure 10-13 illustrated embodiments, 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 parsed by described in the presetting message service execution pairs of target domain-name information identified, 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 10 is how to be disappeared based on the first son of the target domain name acquisition request according to the 4th exemplary embodiment The flow chart of breath and the second sub- message;The present embodiment is on the basis of above-described embodiment, how to be based on the target domain name It is illustrative exemplified by the first sub- message of acquisition request and the second sub- message.As shown in Figure 10, base described in step S63 In the target domain-name information, the described first sub- message is parsed in the first way, and parses second son in a second manner Message, may comprise steps of S101-S104:
S101:Target character sequence is determined according to the target domain-name information.
In one embodiment, since target domain-name information can be that the domain name generated according to the identification information of target message is believed Breath, which includes the identification information of target message, thus can parse target from target domain-name information The identification information of message., 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.
S102:The first sub- character string and the second sub- character sequence are determined from the target character sequence according to preset rules Row.
In one embodiment, can be according to preset rules (such as sub- character sequence after above-mentioned target character sequence is determined The position of row, sub- character string length etc.) determine the first sub- character string and the second sub- character string.
In one embodiment, the mode for determining the first sub- character string and the second sub- character string according to preset rules can be with Referring to following embodiment illustrated in fig. 11, herein first without repeating.
S103:The first sub- message is parsed based on the described first sub- character string.
In one embodiment, can be according to the first sub- character after operating system is according to the first sub- character string is determined The corresponding first sub- message of sequence analysis.
In one embodiment, the mode (slower mode) of the first sub- message is parsed based on the first sub- character string to join Embodiment as shown in Figure 12, herein first without repeating.
S104:The second sub- message is parsed based on the described second sub- character string.
In one embodiment, can be according to the second sub- character after operating system is according to the second sub- character string is determined (faster mode) parses corresponding second sub- message to sequence in a second manner.
In one embodiment, the mode that the second sub- message is parsed based on the second sub- character string may refer to shown in Figure 13 in fact Example is applied, herein first without repeating.
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 first sub- character string and the second sub- character string are determined from the target character sequence according to preset rules, and then be based on The first sub- character string parses the first sub- message, and, based on the described second sub- character string parsing described second Sub- message, it is possible to achieve the first sub- message and the second sub- message are parsed based on target domain-name information, ensure parsing target domain name letter The parsing speed of breath, and then improve communication efficiency.
Figure 11 is how to be disappeared based on the first son of the target domain name acquisition request according to the 5th exemplary embodiment The flow chart of breath and the second sub- message;The present embodiment is on the basis of above-described embodiment, how to be based on the target domain name It is illustrative exemplified by the first sub- message of acquisition request and the second sub- message.As shown in figure 11, base described in step S63 In the target domain-name information, the described first sub- message is parsed in the first way, and parses second son in a second manner Message, may comprise steps of S111-S114:
S111:Target character sequence is determined according to the target domain-name information.
S112:According to preset characters position, the first sub- character string and the second son are determined from the target character sequence Character string.
In one implements, referring also to above-mentioned embodiment illustrated in fig. 6, however, it is determined that target character sequence " abc ", and the first sub- word The position for according with sequence is first 2, and the position of the second sub- character string is the 3rd, then can determine that the first sub- character string is " ab ", the second sub- character string are " c ".
S113:The first sub- message is parsed based on the described first sub- character string.
S114:The second sub- message is parsed based on the described second sub- character string.
Wherein, step S111, S113-S114 and step S101, the S103-S104 phase in foregoing embodiment illustrated in fig. 10 Together, relevant explanation explanation may refer to previous embodiment, herein without repeating.
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 first sub- character string and the second sub- character string are determined from the target character sequence according to preset characters position, and then The first sub- message is parsed based on the described first sub- character string, and, based on described in the described second sub- character string parsing Second sub- message, it is possible to achieve the first sub- message and the second sub- message are parsed based on target domain-name information, ensure parsing aiming field The parsing speed of name information, and then improve communication efficiency.
Figure 12 is how to be disappeared based on the first sub- character string parsing first son according to an exemplary embodiment The flow chart of breath;The present embodiment is on the basis of above-described embodiment, with how based on the first sub- character string parsing described first It is illustrative exemplified by sub- message.As shown in figure 12, based on the described first sub- character string parsing described in step S103 The first sub- message, can include step S121-S122:
S121:The identification information of the described first sub- message is determined according to the described first sub- character string.
In one embodiment, can be according to default decoding process (corresponding with domain name character conversion regime) to first son Character string is decoded, and obtains the identification information of the first sub- message.
S122:Based on the correspondence between the first sub- message and identification information, inquire about the identification information it is corresponding One sub- message.
In one embodiment, above-mentioned correspondence may refer to upper table one.For example, however, it is determined that the mark of the first sub- message It is " 0 " to know information, then can table look-up and determine that the first sub- message corresponding to the identification information is " xleid ".
In one embodiment, the above-mentioned correspondence inquiry mark letter that operating system can be locally stored according to terminal device Cease corresponding first sub- message.For example, can basis after the operating system obtains the identification information of the first sub- message The correspondence being locally stored inquires about the first sub- message corresponding to the identification information.
In one embodiment, the above-mentioned correspondence that can also be stored according to server-side inquires about corresponding first of identification information Sub- message.For example, after the operating system obtains the identification information of the first sub- message, can be stored according to server-side Correspondence inquires about the first sub- message corresponding to the identification information.
Seen from the above description, the embodiment of the present disclosure passes through based on the corresponding pass between the first sub- message and identification information System, inquires about the first sub- message corresponding to the identification information, and corresponding the can be accurately determined according to the first sub- character string One sub- message, and then can ensure the accuracy subsequently operated according to target message performance objective.
Figure 13 is how to be disappeared based on the first son of the target domain name acquisition of information according to the 5th exemplary embodiment The flow chart of breath and the second sub- message;The present embodiment is on the basis of above-described embodiment, how to be based on the target It is illustrative exemplified by domain name request the first sub- message of acquisition and the second sub- message.As shown in figure 13, in step S104 It is described that the second sub- message is parsed based on the described second sub- character string, step S131-S133 can be included:
S131:Target character sequence is determined according to the target domain-name information.
S132:The first sub- character string and the second sub- character sequence are determined from the target character sequence according to preset rules Row.
S133:The first sub- message is parsed based on the described first sub- character string.
Wherein, step S131-S133 is identical with the step S101-S103 in foregoing embodiment illustrated in fig. 10, herein not into Row repeats.
S134:Described second sub- character string is decoded into by the described second sub- message using default decoding process.
In one embodiment, can be according to default decoding process (corresponding with domain name character conversion regime) to first son Character string is decoded, and obtains the second sub- message.
In one embodiment, if the second sub- message is before domain name character conversion is carried out, also using default compression algorithm into Compression processing (embodiment shown in Figure 3) is gone, then before being decoded to the first sub- character string, default solution can also be used Compression algorithm (corresponding with default compression algorithm) unzips it the first sub- character string.
Seen from the above description, the embodiment of the present disclosure by using default decoding process by the described second sub- character string solution Code quickly and accurately can determine corresponding second sub- message into the described second sub- message according to the second sub- character string, and then The speed subsequently operated according to target message performance objective can be improved.
Figure 14 is a kind of flow chart of communication means according to 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 14, this method comprises the following steps S141- S143:
S141:The corresponding target domain name request of target message is obtained by operating system, the target message is used to indicate Operating system performance objective operates, and the target message includes without the first of quick response the sub- message and needs quick response Second sub- message.
S142:Based on the target domain name request, the described first sub- message is obtained in the first way, and in a second manner Obtain the described second sub- message.
Wherein, step S141-S142 is identical with the step S11-S12 in foregoing embodiment illustrated in fig. 1, relevant explanation explanation Previous embodiment is may refer to, herein without repeating.
S143:If it is determined that obtaining the first sub- message and the second sub- message is completed in default obtain in duration, The object run is then performed according to the described first sub- message and the second sub- message.
In one embodiment, in the generation phase of target domain name request, when the identification information for obtaining the first sub- message and the (when either can either be requested to generate when obtaining target message in target domain name or to operation during two sub- message When system sends target domain name request, specifically choosing which can be carried out according to being actually needed at moment by user or developer Set), a timestamp can be generated.Further, when the operating system determines first sub- message and the second sub- message, base The actual acquisition time of the described first sub- message and the second sub- message is determined in above-mentioned timestamp, and then by the actual acquisition time Contrasted with effectively obtaining duration, to determine the first sub- message and the second sub- message whether complete effectively in acquisition duration Into acquisition, if so, then performing the object run according to the described first sub- message and the second sub- message;If it is not, then can be with Abandon the target message.
In one embodiment, can also be in the generation phase of target domain name request, when the mark letter for obtaining the first sub- message When breath and the second sub- message (either can be when obtaining target message or when can be requested to generate in target domain name, Huo Zhe When sending target domain name request to operating system, specifically choose which can be by user or developer according to actual need at moment It is configured), start a timer, when reaching effectively acquisition duration, determine that the operating system determines the first sub- message Whether the operation with the second sub- message is completed, if so, then according to performing the described first sub- message and the second sub- message Object run;If it is not, it can then abandon the target message.
Seen from the above description, the present embodiment by determine to obtain the first sub- message and the second sub- message operation whether Time interior completion is effectively obtained, when the acquisition operation for determining the first sub- message and the second sub- message is complete not within the effectively acquisition time Cheng Shi, determines that the first sub- message and the second sub- message are out of date, the described first sub- message and the second sub- message is abandoned, not root According to the first sub- message and the second sub- message performance objective operation, and as the acquisition behaviour for determining the first sub- message and the second sub- message Work is when being completed within the effectively acquisition time, to determine that the first sub- message and the second sub- message are effective, according to the first sub- message With the second sub- message performance objective operation, processing time long the first sub- message and the second sub- message can be effectively filtered out, Ensure that performance objective operates within a short period of time, effectively lifts user experience.
In one embodiment, after operating system parses the first sub- message and the second sub- message, you can with according to first Sub- message and the second sub- message performance objective operation, the object run belong to corresponding first behaviour of domain name request in correlation technique Operation outside work, i.e., non-domain name mapping operation.Above-mentioned object run can jump to intended application or other behaviour Make as performed a kind of order, for example, performs shutdown, restarts, starts timer etc. and operate, the disclosure to the type of object run not It is restricted.Specifically how performance objective operates operating system, such as how to shut down, how to restart, how to start timer etc., can The ability having with the application for reference to correlation technique, belonging to operating system and/or installing thereon, the disclosure are no longer described in detail.
Illustrate how to operate (referring to following figures based on target message performance objective exemplified by how opening intended application below 15 illustrated embodiments).
How Figure 15 is according to the first sub- message and the second sub- message performance objective according to an exemplary embodiment The flow chart of operation;The present embodiment is on the basis of above-described embodiment, by taking the object run of execution is opens intended application as an example It is illustrative.As shown in figure 15, performed in above-mentioned steps S11 according to the described first sub- message and the second sub- message The object run, may comprise steps of S151-S152:
S151:Intended application parameter is extracted from the described first sub- message and the second sub- message;
In one embodiment, the operating system of terminal device can after the first sub- message and the second sub- message is got, Can be only from the first sub- message, or intended application parameter is extracted only from the second sub- message, alternatively, can be from the first sub- message Intended application parameter is extracted jointly with the second sub- message, which can be used for opening corresponding target should With.
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, such as, open using homepage or open 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 eject 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, can To comprise 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 default new opplication platform, that is, new opplication service software, according to mesh The identity of mark application determines whether terminal device is locally provided with above-mentioned new opplication.Such as the identity according to intended application Mark traversal has installed new opplication list, determines whether terminal device is locally provided 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, its installation process foreground is invisible, its is updated Journey can not also be presented to 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 arranged in operating system as a kind of system software;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 sets it position not limit.
In one embodiment, above-mentioned default application platform can be opened according to the application parameter of any type 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 renewal compressed package, open the new opplication interface that intended application parameter is specified, such as, 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 provided 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 lift end-user experience.
Figure 17 is a kind of flow chart of communication means according to the 5th exemplary embodiment;The embodiment can be used for Server-side.As shown in figure 17, this method comprises the following steps S171-S176:
S171:The first sub- message that the webpage of receiving terminal apparatus is sent by webpage client, the first sub- message To need the message of quick response in target message, the target message obtains for the webpage when detecting preset trigger condition , message for indicating the operation of operating system performance objective, further include the second sub- message in the target message, described second Sub- message is to need the message of quick response.
In one embodiment, when the webpage in terminal device is detecting preset trigger condition, above-mentioned first son is determined Message, and the first sub- message is sent to by server-side by webpage client.
In one embodiment, the server-side can be a server, or a server cluster.
S172:Determine the corresponding identification information of the described first sub- message, and store the described first sub- message and the mark The correspondence of information.
In one embodiment, server-side can determine the corresponding identification information of the first sub- message according to preset algorithm, for example, It can determine the preset table for storing above-mentioned correspondence, and the preset table is determined as the first son from Major key is increased The identification information of message.
For example, as shown in Table 1, first the first sub- message " xleid " and have been stored in current preset form The correspondence of one identification information " 0 ", if server-side is currently received second first that webpage is sent by web service end Second the first sub- message " abcde ", then be recorded in above-mentioned preset table by sub- message " abcde ", and then can be pre- by this If the second identifier information for being determined as second the first sub- message " abcde " from increasing Major key " 1 " of form, and can be by depositing The preset table is stored up to store the correspondence of this second the first sub- message and second identifier information.
S173:The identification information is sent to the webpage or the webpage client, for believing according to the mark Breath and the described second sub- message generation target domain name request.
In one embodiment, if definite 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 and the second sub- message, specific generating process may refer to above-mentioned figure 3 or embodiment illustrated in fig. 5, 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. 6-embodiment illustrated in fig. 13, herein without repeating.
S175:First sub- message corresponding to the identification information is inquired about based on the correspondence.
In one embodiment, can be with base after server-side receives the identification information of operating system transmission of terminal device In the first sub- message and the correspondence of identification information that are locally stored, the first sub- message corresponding to the identification information, phase are inquired about Close explanation and may refer to embodiment illustrated in fig. 12, herein without repeating.
S176:The first sub- message is sent to the operating system, for indicating operating system according to the described first son Message, and the described second sub- message based on the target domain name acquisition request perform the object run.
In one embodiment, after server-side inquires the first sub- message, which can be sent to the end The operating system of end equipment, is grasped with indicating that operating system performs corresponding target according to the first sub- message and the second sub- message Make, the relevant explanation of the implementation procedure in relation to object run illustrates to may refer to Figure 15, embodiment illustrated in fig. 16, herein without Repeat.
Seen from the above description, the webpage of embodiment of the present disclosure receiving terminal apparatus sent by webpage client first Sub- message, determines the identification information of the described first sub- message, and it is corresponding with the identification information to store the described first sub- message Relation, and the identification information is sent to the webpage or the webpage client, receive the operation system of the terminal device Unite the identification information sent, and then the first sub- message corresponding to the identification information is inquired about based on the correspondence, with to institute State operating system and send the first sub- message, the function of the operating system of terminal device can be strengthened, make to operate in this and browse Whether the object run that the webpage in device is performed Jing Guo operating system adds the limitation of api interface from browser, improves end The user experience of end equipment.
Figure 18 is a kind of flow chart of communication means according to the 7th exemplary embodiment;The embodiment can be used for Server-side.As shown in figure 18, this method comprises the following steps S181-S186:
S181:The first sub- message that the webpage of receiving terminal apparatus is sent by webpage client, the first sub- message To need the message of quick response in target message, the target message obtains for the webpage when detecting preset trigger condition , message for indicating the operation of operating system performance objective, further include the second sub- message in the target message, described second Sub- message is to need the message of quick response;
S182:Determine the corresponding identification information of the described first sub- message, and store the identification information and the described first son The correspondence of message;
S183:The identification information is sent to the webpage or the webpage client, for believing according to the mark Breath and the described second sub- message generation target domain name request;
S184:Receive the identification information that the operating system of the terminal device is sent;
S185:First sub- message corresponding to the identification information is inquired about 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 the inquiry first sub- message is completed in default inquiry duration, then to the operating system The described first sub- message is sent, for indicating operating system according to the described first sub- message, and please based on the target domain name The described second sub- message of acquisition is asked to perform the object run.
In one embodiment, when the server-side stores the correspondence of the first sub- message and identification information, Ke Yisheng Into a timestamp, when the server-side inquires about the first sub- message corresponding to the identification information based on the correspondence, base The actual queries time of the described first sub- message is determined in above-mentioned timestamp, and then during by the actual queries time and effective query Length is contrasted, to determine whether the first sub- message is completed to inquire about in effective query duration, if so, then to the operation System sends the first sub- message;If it is not, it can then abandon the first sub- message.
In one embodiment, can also when the server-side stores the correspondence of the first sub- message and identification information, Start a timer, when reaching effective query duration, determine whether the current first sub- message is completed to inquire about, if so, then to institute State operating system and send the first sub- message;If it is not, it can then abandon the first sub- message.
Seen from the above description, whether the present embodiment is by determining the operation of the first sub- message of inquiry in the effective query time Interior completion, when the inquiry operation for determining the first sub- message is not completed within the effective query time, has determined the first sub- message It is expired, the described first sub- message can be abandoned, not send the first sub- message to the operating system, and when definite first The inquiry operation of sub- message is when being completed within the effective query time, determines that the first sub- message is effective, then is to the operation System sends the first sub- message, can effectively filter out processing time long the first sub- message, ensure within a short period of time The first sub- message is sent, effectively lifts user experience.
In a kind of communication means that the disclosure provides, when webpage detects preset trigger condition, webpage visitor can be passed through DNS interfaces from family end face to operating system, to terminal device operating system send Domain Name Form registering sites the first sub- message mark Information and the second sub- message so that operating system can utilize identification information to obtain corresponding first sub- message, and obtain second Sub- message, and then a kind of object run, such as one shutdown, startup timing are performed according to the first sub- message and the second sub- message Device, open operation such as a kind of application program etc., and specifically how performance objective operation is referred to correlation technique, belongs to operating system And/or the ability that the application installed thereon has.It is illustrative by taking the application scenarios for opening application program as an example below.
Figure 19 A are a kind of application scenarios schematic diagrams of communication means according to an exemplary embodiment;Such as Figure 19 A institutes Show, the link for clicking on an intended application page in the browser page 1001 of smart mobile phone 100 as user (for example is known 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 the first sub- message and the second sub- message (the first sub- message and the second sub- message include The intended application parameter of intended application to be opened, wherein, the first sub- message is the intended application parameter without quick response, such as Historical data of intended application etc.;Second sub- message is to need the intended application parameter of quick response, as the mark of intended application is believed Breath etc.).JS scripts determine intended application parameter according to the first sub- message and the second sub- message, and then are joined according to the intended application Number generation target domain name request.JS scripts send the domain name request Jing Guo operating system by system interface, which exists Through being arranged in operating system default listening components (such as DNS) when, be monitored and be identified as target domain name request.It is default The target domain name request is sent to default Message services and carries out intended application parameter extraction by listening components, afterwards, by mesh Mark application parameter is sent to default application platform i.e. intended application platform;Default application platform is beaten according to above-mentioned intended application parameter The details page known in application is opened, for example knows daily paper details page 1002, is presented to user.
Figure 19 B are a kind of application scenarios schematic diagrams of communication means in correlation technique;As shown in Figure 19 B, in related skill In art, if clicking on 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 ejected, 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 intended application interface directly can not 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 When a webpage performs object run (such as jumping to locally applied software), the operating system of user terminal can detect bag Target domain name request containing identification information and the second sub- message, and then the identification information and the second sub- message are extracted, and determine (the first sub- message and the second sub- message include the target of intended application to be opened to first sub- message corresponding to the identification information Application parameter), intended application parameter is determined based on the first sub- message and the second sub- message parsed, and the intended application is joined Whether number sends default application platform, preset application platform by this and open intended application for user, added from both sides' application The limitation of api interface, you can directly jump to intended application from current application, the version, configuration to both sides' application software are not made It is required that being not required to the compatibility of both sides' application, the user experience of terminal can be lifted.Also, belong in intended application In the case of above-mentioned new opplication, for a user, clicked on when in the page of the user in an application interface such as Web browser After the link of the intended application page, user terminal can directly and accurately jump to the specified page of intended application, and centre need not Other human-computer interactions, save process and time that user carries out human-computer interaction with terminal, further lift the user's body of terminal Test.
Figure 20 is a kind of structure diagram of communicator according to an exemplary embodiment;As shown in figure 20, the dress Put including:Domain name request acquisition module 110, sub- message capturing module 120 and object run execution module 130, wherein:
Domain name request acquisition module 110, for obtaining the corresponding target domain name request of target message, institute by operating system State target message to be used to indicate that operating system performance objective operates, the target message includes the first son without quick response Message and the second sub- message for needing quick response;
Sub- message capturing module 120, for based on the target domain name request, obtaining first son in the first way and disappearing Breath, and the described second sub- message is obtained in a second manner;
Object run execution module 130, for performing the mesh according to the described first sub- message and the second sub- message Mark operation.
Figure 21 is a kind of structure diagram of communicator according to further example embodiment;Wherein, domain name request Acquisition module 230, sub- message capturing module 240 and object run execution module 250 and domain in foregoing embodiment illustrated in fig. 20 The function of name acquisition request module 110, sub- message capturing module 120 and object run execution module 130 is identical, herein not into Row repeats.As shown in figure 21, domain name request acquisition module 230, including:
Domain name request acquiring unit 231, for obtaining webpage is sent by webpage client, the corresponding mesh of target message Domain name request is marked, the target domain name request bag includes the target domain-name information generated according to the target message.
In one embodiment, described device further includes: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 letter of the first sub- message Breath and the described second sub- message;
Domain name character conversion unit 212, for carrying out domain name word respectively to the identification information and the second sub- message Symbol conversion, obtains target character sequence;
Domain name request generation unit 213, it is described for generating the target domain name request according to the target character sequence Target domain name request includes at least the target character sequence;
Domain name request sending module 220 is used to the target domain name request being sent to the operating system.
In one embodiment, identification information obtaining unit 211, are additionally operable to:
Obtain the target message;
Based on the content of the target message, the first sub- message and second son are determined from the target message Message;
Correspondence based on the first sub- message and identification information determines the identification information of the described first sub- message.
In one embodiment, domain name request generation unit 213 is additionally operable to:
Target domain-name information is determined according to the target character sequence, the target domain-name information possesses default feature letter Breath;
The target domain name request is generated according to the target domain-name information.
In one embodiment, sub- message capturing 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 based on the target domain-name information, parsing first son in the first way Message, and the described second sub- message is parsed in a second manner.
In one embodiment, domain name request recognition unit 241 is additionally operable to identify that webpage client is sent out by default DNS interfaces The target domain name request sent.
In one embodiment, domain name request recognition unit 241 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 possess default characteristic information in domain name information, the default characteristic information is used to identify the current field Name information carries target message;
When possessing the default characteristic information in definite domain name information, domain name request is determined as aiming field Name request.
In one embodiment, sub- message capturing module 240 further includes:
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 described first sub- message in the first way, and the step of parse the second sub- message in a second manner.
In one embodiment, identification information resolution unit 244, is additionally operable to:
Target character sequence is determined according to the target domain-name information;
The first sub- character string and the second sub- character string are determined from the target character sequence according to preset rules;
The first sub- message is parsed based on the described first sub- character string;
The second sub- message is parsed based on the described second sub- character string.
In one embodiment, identification information resolution unit 244, is additionally operable to:
According to preset characters position, the first sub- character string and the second sub- character sequence are determined from the target character sequence Row.
In one embodiment, identification information resolution unit 244, is additionally operable to:
The identification information of the described first sub- message is determined according to the described first sub- character string;
Based on the correspondence between the first sub- message and identification information, inquire about the first son corresponding to the identification information and disappear Breath.
In one embodiment, identification information resolution unit 244, is additionally operable to:
Described second sub- character string is decoded into by the described second sub- message using default decoding process.
In one embodiment, object run execution module 250 is additionally operable to when determining to obtain the first sub- message and described Second sub- message is when being completed in default acquisition duration, to perform described according to the described first sub- message and the second sub- message The step of performing the object run.
In one embodiment, object run execution module 250, including:
Application parameter extraction unit 251, should for extracting target from the described first sub- message and the second sub- message Use parameter;
Intended application opening unit 252, for opening the intended application according to the intended application parameter.
In one embodiment, intended application parameter includes at least the identity of the intended application;
Intended application opening unit 252 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.
Figure 22 is a kind of structure diagram of communicator applied to server-side according to an exemplary embodiment;Such as Shown in Figure 22, which includes:
Sub- message reception module 310, the first son that the webpage for receiving terminal apparatus is sent by webpage client disappear Breath, the first sub- message are that the message of quick response is needed in target message, and the target message is detecting for the webpage Message obtained during preset trigger condition, for indicating the operation of operating system performance objective, further includes in the target message Second sub- message, the second sub- message is to need the message of quick response;
Mark determines memory module 320, for determining the corresponding identification information of the described first sub- message, and stores the mark Know the correspondence of information and the described first sub- message;
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 and the second sub- message;
Identification information receiving module 340, the identification information that the operating system for receiving the terminal device is sent;
Sub- information query module 350, disappears for inquiring about the first son corresponding to the identification information based on the correspondence Breath;
Sub- message transmission module 360, for sending the first sub- message to the operating system, for indicating operation system System is according to the described first sub- message, and the described second sub- message execution target based on the target domain name acquisition request Operation.
In one embodiment, sub- message transmission module 360 is additionally operable to when the definite inquiry first sub- message is default Inquire about duration in complete when, perform it is described to the operating system send the first sub- message the step of.
On 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 of a kind of electronic equipment according to 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 assemblies:Processing component 702, memory 704, power supply Component 706, multimedia component 708, audio component 710, the interface 712 of input/output (I/O), sensor component 714, and Communication component 716.
The integrated operation of the usual control device 700 of processing component 702, such as with display, call, data communication, phase The operation that machine operates and record operation is associated.Treatment element 702 can refer to including one or more processors 320 to perform Order, to complete all or part of step of above-mentioned method.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, and contact data, 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 Close and realize, as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (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 components associated with generating, managing and distributing electric power 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, slip and touch panel.The touch sensor can not only sense touch or sliding action Border, but also detect and the duration and pressure associated with the touch or slide operation.In certain embodiments, more matchmakers Body component 708 includes a front camera and/or rear camera.When device 700 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive exterior 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 operator scheme, 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 certain embodiments, audio component 710 further includes a loudspeaker, 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 component 714 includes one or more sensors, and the state for providing various aspects for device 700 is commented Estimate.For example, sensor component 714 can detect opening/closed mode 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 component 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 component 714 can include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor component 714 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain 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 combinations 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 junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, 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), numeral 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 by the processor 320 of device 700 to complete above-mentioned communication means.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 exemplary, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be appreciated 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 1. communication means, it is characterised in that including:
    The corresponding target domain name request of target message is obtained by operating system, the target message is used to indicate that operating system is held Row object run, the target message include without the first of quick response the sub- message and need the second son of quick response to disappear Breath;
    Based on the target domain name request, the described first sub- message is obtained in the first way, and in a second manner described in acquisition Second sub- message;
    The object run is performed according to the described first sub- message and the second sub- message.
  2. 2. according to the method described in claim 1, it is characterized in that, described obtain the corresponding mesh of target message by operating system Domain name request is marked, including:
    Obtain webpage is sent by webpage client, the corresponding target domain name request of target message, the target domain name request Including the target domain-name information generated according to the target message.
  3. 3. according to the method described in claim 1, it is characterized in that, described obtain the corresponding mesh of target message by operating system Before marking domain name request, the method further includes:
    When detecting preset trigger condition, the identification information of the first sub- message and the second sub- message are obtained;
    Domain name character conversion is carried out respectively to the identification information and the second sub- message, obtains target character sequence;
    The target domain name request is generated according to the target character sequence, the target domain name request includes at least the target Character string;
    The target domain name request is sent to the operating system.
  4. 4. according to the method described in claim 3, it is characterized in that, the identification information for obtaining the first sub- message and described the Two sub- message, including:
    Obtain the target message;
    Based on the content of the target message, determine that the first sub- message and second son disappear from the target message Breath;
    Correspondence based on the first sub- message and identification information determines the identification information of the described first sub- message.
  5. 5. according to the method described in claim 3, it is characterized in that, described generate the target according to the target character sequence Domain name request, including:
    Target domain-name information is determined according to the target character sequence, the target domain-name information possesses default characteristic information;
    The target domain name request is generated according to the target domain-name information.
  6. 6. according to the method described in claim 1, it is characterized in that, described be based on the target domain name request, in the first way The described first sub- message is obtained, and obtains the described second sub- message in a second manner, 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;
    Based on the target domain-name information, the described first sub- message is parsed in the first way, and in a second manner described in parsing Second sub- message.
  7. 7. according to the method described in claim 6, it 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 default firewall component.
  8. 8. according to the method described in claim 6, it 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 possess default characteristic information in domain name information, the default characteristic information is used to identify current domain name letter Breath carries target message;
    If it is determined that possessing the default characteristic information in domain name information, then domain name request is determined as target domain name please Ask.
  9. 9. according to the method described in claim 6, it is characterized in that, the method further includes:
    The target domain-name information is sent to presetting message service;
    By being based on the target domain-name information described in the presetting message service execution, first son is parsed in the first way Message, and the step of parse the second sub- message in a second manner.
  10. 10. according to the method described in claim 6, it is characterized in that, described be based on the target domain-name information, in the first way The described first sub- message is parsed, and parses the described second sub- message in a second manner, including:
    Target character sequence is determined according to the target domain-name information;
    The first sub- character string and the second sub- character string are determined from the target character sequence according to preset rules;
    The first sub- message is parsed based on the described first sub- character string;
    The second sub- message is parsed based on the described second sub- character string.
  11. 11. according to the method described in claim 10, it is characterized in that, it is described according to preset rules from the target character sequence In determine the first sub- character string and the second sub- character string, including:
    According to preset characters position, the first sub- character string and the second sub- character string are determined from the target character sequence.
  12. It is 12. according to the method described in claim 10, it is characterized in that, described based on described in the described first sub- character string parsing First sub- message, including:
    The identification information of the described first sub- message is determined according to the described first sub- character string;
    Based on the correspondence between the first sub- message and identification information, the first sub- message corresponding to the identification information is inquired about.
  13. It is 13. according to the method described in claim 10, it is characterized in that, described based on described in the described second sub- character string parsing Second sub- message, including:
    Described second sub- character string is decoded into by the described second sub- message using default decoding process.
  14. 14. according to the method described in claim 1, it is characterized in that, the method further includes:
    If it is determined that obtaining the first sub- message and the second sub- message is completed in default obtain in duration, then described in execution The step of object run is performed according to the described first sub- message and the second sub- message.
  15. 15. according to the method described in claim 1, it is characterized in that, it is described according to the described first sub- message and it is described second son Message performs the object run, including:
    Intended application parameter is extracted from the described first sub- message and the second sub- message;
    The intended application is opened according to the intended application parameter.
  16. 16. according to the method for claim 15, it is characterised in that the intended application parameter should including at least the target Identity;
    The extraction intended application parameter from the described first sub- message and the second sub- message, including:
    The identity of the intended application is extracted from the described second sub- message.
  17. 17. according to the method for claim 16, it is characterised in that described that the mesh is opened according to the intended application parameter Mark application, 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 18. communication means, it is characterised in that including:
    The first sub- message that the webpage of receiving terminal apparatus is sent by webpage client, the first sub- message are target message In message without quick response, it is that the target message obtains for the webpage when detecting preset trigger condition, be used for Indicate the message of operating system performance objective operation, the second sub- message, the second sub- message are further included in the target message To need the message of quick response;
    Determine the corresponding identification information of the described first sub- message, and it is corresponding with the described first sub- message to store the identification information Relation;
    The identification information is sent to the webpage or the webpage client, is believed for webpage client according to the mark Breath and the described second sub- message generation target domain name request;
    Receive the identification information that the operating system of the terminal device is sent;
    First sub- message corresponding to the identification information is inquired about based on the correspondence;
    The first sub- message is sent to the operating system, for indicating operating system according to the described first sub- message, and The described second sub- message based on the target domain name acquisition request performs the object run.
  19. 19. according to the method for claim 18, it is characterised in that the method further includes:
    If it is determined that the inquiry first sub- message is completed in default inquiry duration, then perform described to operating system hair The step of sending the first sub- message.
  20. A kind of 20. communicator, it is characterised in that including:
    Domain name request acquisition module, for obtaining the corresponding target domain name request of target message, the target by operating system Message be used for indicate operating system performance objective operate, the target message include without the first of quick response the sub- message with Need the second sub- message of quick response;
    Sub- message capturing module, for based on the target domain name request, obtaining the described first sub- message in the first way, and The described second sub- message is obtained in a second manner;
    Object run execution module, for performing the object run according to the described first sub- message and the second sub- message.
  21. 21. device according to claim 20, it is characterised in that domain name acquisition request module, including:
    Domain name request acquiring unit, for obtaining webpage is sent by webpage client, the corresponding target domain name of target message Request, the target domain name request bag include the target domain-name information generated according to the target message.
  22. 22. device according to claim 20, it is characterised 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 identification information and the institute of the first sub- message State the second sub- message;
    Domain name character conversion unit, for carrying out domain name character conversion respectively to the identification information and the second sub- message, Obtain target character sequence;
    Domain name request generation unit, for generating the target domain name request, the aiming field according to the target character sequence 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. 23. device according to claim 22, it is characterised in that the identification information obtaining unit, is additionally operable to:
    Obtain the target message;
    Based on the content of the target message, determine that the first sub- message and second son disappear from the target message Breath;
    Correspondence based on the first sub- message and identification information determines the identification information of the described first sub- message.
  24. 24. device according to claim 22, it is characterised 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 possesses default characteristic information;
    The target domain name request is generated according to the target domain-name information.
  25. 25. according to the method for claim 20, it is characterised in that the sub- message capturing 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 based on the target domain-name information, parsing the described first sub- message in the first way, with And the described second sub- message is parsed in a second manner.
  26. 26. device according to claim 25, it is characterised in that domain name request recognition unit is additionally operable to by default The target domain name request that DNS interfaces or default firewall component identification webpage client are sent.
  27. 27. device according to claim 25, it is characterised 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 possess default characteristic information in domain name information, the default characteristic information is used to identify current domain name letter Breath carries target message;
    When possessing the default characteristic information in definite domain name information, domain name request is determined as target domain name please Ask.
  28. 28. device according to claim 25, it is characterised in that the sub- message capturing 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, the step of parsing the described first sub- message in the first way, and parse the second sub- message in a second manner.
  29. 29. device according to claim 25, it is characterised in that the identification information resolution unit, is additionally operable to:
    Target character sequence is determined according to the target domain-name information;
    The first sub- character string and the second sub- character string are determined from the target character sequence according to preset rules;
    The first sub- message is parsed based on the described first sub- character string;
    The second sub- message is parsed based on the described second sub- character string.
  30. 30. device according to claim 29, it is characterised in that the identification information resolution unit, is additionally operable to:
    According to preset characters position, the first sub- character string and the second sub- character string are determined from the target character sequence.
  31. 31. device according to claim 29, it is characterised in that the identification information resolution unit, is additionally operable to:
    The identification information of the described first sub- message is determined according to the described first sub- character string;
    Based on the correspondence between the first sub- message and identification information, the first sub- message corresponding to the identification information is inquired about.
  32. 32. device according to claim 29, it is characterised in that the identification information resolution unit, is additionally operable to:
    Described second sub- character string is decoded into by the described second sub- message using default decoding process.
  33. 33. device according to claim 20, it is characterised in that the object run execution module is additionally operable to work as and determines to obtain It is when being completed in default acquisition duration, to perform described according to described first to take the described first sub- message and the second sub- message The step of sub- message and the second sub- message perform the object run.
  34. 34. device according to claim 20, it is characterised in that the object run execution module, including:
    Application parameter extraction unit, for extracting intended application parameter from the described first sub- message and the second sub- message;
    Intended application opening unit, for opening the intended application according to the intended application parameter.
  35. 35. device according to claim 34, it is characterised in that the intended application parameter should including at least the target Identity;
    The application parameter extraction unit is additionally operable to extract the identity of the intended application from the described second sub- message.
  36. 36. device according to claim 35, it is characterised 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 37. communicator, it is characterised in that including:
    Sub- message reception module, the first sub- message that the webpage for receiving terminal apparatus is sent by webpage client are described First sub- message is the message without quick response in target message, and the target message is detecting default touch for the webpage Message obtained during clockwork spring part, for indicating the operation of operating system performance objective, the second son is further included in the target message Message, the second sub- message is to need the message of quick response;
    Mark determines memory module, for determining the corresponding identification information of the described first sub- message, and stores the identification information With the correspondence of the described first sub- message;
    Identification information sending module, for the identification information to be sent to the webpage or the webpage client, for root According to the identification information and the second sub- message generation target domain name request;
    Identification information receiving module, the identification information that the operating system for receiving the terminal device is sent;
    Sub- information query module, for inquiring about the first sub- message corresponding to the identification information based on the correspondence;
    Sub- message transmission module, for sending the first sub- message to the operating system, for indicate operating system according to The first sub- message, and the described second sub- message based on the target domain name acquisition request perform the object run.
  38. 38. the device according to claim 37, it is characterised in that the sub- message transmission module is additionally operable to when definite inquiry The first sub- message is that execution is described to disappear to operating system transmission first son when being completed in default inquiry duration The step of breath.
  39. 39. a kind of electronic equipment, it is characterised in that the electronic equipment includes:
    Processor;
    It is configured as the memory of storage processor-executable instruction;
    Wherein, the processor is configured as:
    The corresponding target domain name request of target message is obtained by operating system, the target message is used to indicate that operating system is held Row object run, the target message include without the first of quick response the sub- message and need the second son of quick response to disappear Breath;
    Based on the target domain name request, the described first sub- message is obtained in the first way, and in a second manner described in acquisition Second sub- message;
    The object run is performed according to the described first sub- message and the second sub- message.
  40. 40. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor Realized during processing:
    The corresponding target domain name request of target message is obtained by operating system, the target message is used to indicate that operating system is held Row object run, the target message include without the first of quick response the sub- message and need the second son of quick response to disappear Breath;
    Based on the target domain name request, the described first sub- message is obtained in the first way, and in a second manner described in acquisition Second sub- message;
    The object run is performed according to the described first sub- message and the second sub- message.
CN201711260997.4A 2017-12-04 2017-12-04 Communication method and device and electronic equipment Active CN108040095B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011165822.7A CN112291338B (en) 2017-12-04 2017-12-04 Communication method and device and electronic equipment
CN201711260997.4A CN108040095B (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
CN201711260997.4A CN108040095B (en) 2017-12-04 2017-12-04 Communication method and device and electronic equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202011165822.7A Division CN112291338B (en) 2017-12-04 2017-12-04 Communication method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN108040095A true CN108040095A (en) 2018-05-15
CN108040095B CN108040095B (en) 2020-10-13

Family

ID=62095555

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201711260997.4A Active CN108040095B (en) 2017-12-04 2017-12-04 Communication method and device and electronic equipment
CN202011165822.7A Active CN112291338B (en) 2017-12-04 2017-12-04 Communication method and device and electronic equipment

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202011165822.7A Active CN112291338B (en) 2017-12-04 2017-12-04 Communication method and device and electronic equipment

Country Status (1)

Country Link
CN (2) CN108040095B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924136A (en) * 2018-07-03 2018-11-30 北京小米移动软件有限公司 Authorization and authentication method, device and storage medium
CN109582389A (en) * 2018-11-27 2019-04-05 网易(杭州)网络有限公司 Message treatment method, device, storage medium, processor and terminal
CN109739662A (en) * 2018-12-29 2019-05-10 北京小米移动软件有限公司 Communication means and device
CN111064795A (en) * 2019-12-20 2020-04-24 腾讯科技(深圳)有限公司 Web page access acceleration method, system, computer equipment, server and medium
CN112822237A (en) * 2020-12-28 2021-05-18 北京奇艺世纪科技有限公司 Network request transmission method and device
CN114598894A (en) * 2020-12-03 2022-06-07 北京字节跳动网络技术有限公司 Interactive message processing method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014022347A1 (en) * 2012-08-03 2014-02-06 Cusack Elijah Method and system of using smartphone lockscreens as personal advertising billboards
CN106202578A (en) * 2016-08-26 2016-12-07 乐视控股(北京)有限公司 A kind of browser local information synchronization processing method and device
CN106503134A (en) * 2016-10-19 2017-03-15 广东欧珀移动通信有限公司 Browser jumps to the method for data synchronization and device of application program
CN106970977A (en) * 2017-03-28 2017-07-21 腾讯音乐娱乐(深圳)有限公司 A kind of webpage redirects processing method and processing device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2002211482A1 (en) * 2000-10-04 2002-04-15 Enic Corporation Providing services and information based on a request that includes a unique identifier
US8489637B2 (en) * 2009-11-19 2013-07-16 International Business Machines Corporation User-based DNS server access control
CN103532824B (en) * 2012-07-06 2016-07-20 阿里巴巴集团控股有限公司 The method of instant communication information notice, browser and server
CN103685387B (en) * 2012-09-12 2017-05-03 中国移动通信集团公司 Method for scheduling HTTP (hyper text transport protocol) request and browser device
CN104657201B (en) * 2013-11-18 2019-04-19 华为终端有限公司 Application program method for pushing, device, equipment and system
CN105338126B (en) * 2014-07-17 2018-10-23 阿里巴巴集团控股有限公司 The method and server of remote-query information
CN105847381A (en) * 2016-04-18 2016-08-10 乐视控股(北京)有限公司 Scheduling method and device for content server
CN106599250A (en) * 2016-12-20 2017-04-26 北京小米移动软件有限公司 Webpage starting method and device
CN107257318A (en) * 2017-06-16 2017-10-17 北京小米移动软件有限公司 Control method, device and the computer-readable recording medium of electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014022347A1 (en) * 2012-08-03 2014-02-06 Cusack Elijah Method and system of using smartphone lockscreens as personal advertising billboards
CN106202578A (en) * 2016-08-26 2016-12-07 乐视控股(北京)有限公司 A kind of browser local information synchronization processing method and device
CN106503134A (en) * 2016-10-19 2017-03-15 广东欧珀移动通信有限公司 Browser jumps to the method for data synchronization and device of application program
CN106970977A (en) * 2017-03-28 2017-07-21 腾讯音乐娱乐(深圳)有限公司 A kind of webpage redirects processing method and processing device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924136A (en) * 2018-07-03 2018-11-30 北京小米移动软件有限公司 Authorization and authentication method, device and storage medium
CN108924136B (en) * 2018-07-03 2021-01-15 北京小米移动软件有限公司 Authorization authentication method, device and storage medium
CN109582389A (en) * 2018-11-27 2019-04-05 网易(杭州)网络有限公司 Message treatment method, device, storage medium, processor and terminal
CN109582389B (en) * 2018-11-27 2022-06-24 网易(杭州)网络有限公司 Message processing method, device, storage medium, processor and terminal
CN109739662A (en) * 2018-12-29 2019-05-10 北京小米移动软件有限公司 Communication means and device
CN111064795A (en) * 2019-12-20 2020-04-24 腾讯科技(深圳)有限公司 Web page access acceleration method, system, computer equipment, server and medium
CN114598894A (en) * 2020-12-03 2022-06-07 北京字节跳动网络技术有限公司 Interactive message processing method, device, equipment and medium
CN112822237A (en) * 2020-12-28 2021-05-18 北京奇艺世纪科技有限公司 Network request transmission method and device

Also Published As

Publication number Publication date
CN112291338B (en) 2023-09-19
CN108040095B (en) 2020-10-13
CN112291338A (en) 2021-01-29

Similar Documents

Publication Publication Date Title
CN108040095A (en) Communication means, device and electronic equipment
CN108156221A (en) Communication means, device and electronic equipment
CN104951336B (en) application program installation method and device
CN104079962B (en) A kind of method and device for pushing recommendation information
CN107222369A (en) Recognition methods, device, switch and the storage medium of application program
CN105245518B (en) The detection method and device that network address is kidnapped
CN108156271A (en) Communication means, device and electronic equipment
CN109005096B (en) Application interaction method and device
CN108664303A (en) The display methods and device of web page contents
CN107315606A (en) Using update method and device
CN107241228A (en) Determination method, device and the equipment of network failure
CN108063804A (en) Communication means and device
CN107239527A (en) web access method and device
CN108390944A (en) Information interacting method and device
CN108205455B (en) Application function implementation method and device and terminal
CN106792442A (en) data migration method and device
CN107220059A (en) The display methods and device of application interface
CN109525652A (en) Information sharing method, device, equipment and storage medium
CN104050236B (en) Web site contents update reminding method, server and client side
CN109714425A (en) Communication means and device
CN108156220A (en) Communication means and device
CN104780153B (en) Information filtering method and device
CN106331076A (en) Advertisement push method and apparatus
CN106452914B (en) Method for configuring routers and device
CN109218375A (en) Using exchange method and device

Legal Events

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