CN107357796B - Network information acquisition method, equipment and programmable equipment - Google Patents

Network information acquisition method, equipment and programmable equipment Download PDF

Info

Publication number
CN107357796B
CN107357796B CN201610309116.2A CN201610309116A CN107357796B CN 107357796 B CN107357796 B CN 107357796B CN 201610309116 A CN201610309116 A CN 201610309116A CN 107357796 B CN107357796 B CN 107357796B
Authority
CN
China
Prior art keywords
network information
information acquisition
basic
acquisition request
script
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.)
Active
Application number
CN201610309116.2A
Other languages
Chinese (zh)
Other versions
CN107357796A (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.)
Alibaba China Co Ltd
Original Assignee
Alibaba China 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 Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN201610309116.2A priority Critical patent/CN107357796B/en
Publication of CN107357796A publication Critical patent/CN107357796A/en
Application granted granted Critical
Publication of CN107357796B publication Critical patent/CN107357796B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web

Abstract

The invention discloses a network information acquisition method, network information acquisition equipment and programmable equipment. The method comprises the following steps: dividing basic behaviors of the equipment to obtain a basic behavior set; generating a corresponding basic script for each basic behavior in the basic behavior set to form a basic script set; and decomposing the equipment behaviors corresponding to the acquired network information acquisition request and used for acquiring the network information into basic behaviors in a plurality of basic behavior sets, selecting basic scripts respectively corresponding to the basic behaviors from the basic script sets, and combining the basic scripts in sequence to obtain a basic script sequence. By the method and the device, the user can be prevented from performing complicated or repeated operation in the process of acquiring the network information, and the user experience is improved.

Description

Network information acquisition method, equipment and programmable equipment
Technical Field
The present invention relates to the field of internet, and in particular, to a network information obtaining method, device, and programmable device.
Background
The vigorous development of the internet industry enables the internet to become the largest information publishing and sharing platform in the world, and a user can conveniently and quickly acquire interesting or valuable network information from the internet through a browser. However, the inventor finds that the current browser can only simply respond to the click operation sent by the user in response, and the process of acquiring the network information which can be completed by a series of operation sequences needs to be completed by the user through manual clicking one by one, so that for a user with certain specific network information acquisition habits, the series of operations need to be repeated every time the user acquires the network information habitually through the browser, so that good user experience cannot be obtained, and meanwhile, for a user who is not familiar with the network information acquisition process, such as an old user, the user can acquire the network information through a series of tedious operations, and the user experience cannot be obtained due to the difficulty in use.
Accordingly, the inventors have determined that there is a need for improvements in the art.
Disclosure of Invention
An object of the present invention is to provide a new technical solution for network information acquisition.
According to a first aspect of the present invention, there is provided a network information acquisition method, implemented by an apparatus for acquiring network information, comprising the steps of:
dividing basic behaviors of the equipment to obtain a basic behavior set comprising a plurality of different basic behaviors;
generating a corresponding basic script for each basic behavior in the basic behavior set to form a basic script set;
and decomposing the equipment behaviors corresponding to the acquired network information acquisition request and used for acquiring the network information into a plurality of basic behaviors in the basic behavior set, selecting basic scripts respectively corresponding to the basic behaviors from the basic script set, and combining the basic scripts in sequence to obtain a basic script sequence.
In one embodiment, the network information obtaining method further includes:
and when the network information acquisition request is the latest received network information acquisition request, executing the basic script sequence to respond to the network information acquisition request.
In one embodiment, the network information obtaining method further includes:
marking the latest received network information acquisition request and storing the corresponding basic script sequence;
when the network information acquisition request received later is a marked network information acquisition request, executing the corresponding basic script sequence to respond to the network information acquisition request.
In one embodiment, the network information obtaining method further includes:
when the network information acquisition request is a responded network information acquisition request, marking the responded network information acquisition request and storing the corresponding basic script sequence;
when the network information acquisition request received later is a marked network information acquisition request, executing the corresponding basic script sequence to respond to the network information acquisition request.
In an embodiment, the network information obtaining method further includes, if the basic behavior set does not include a certain basic behavior obtained by decomposing the behavior of the device, adding the basic behavior to the basic behavior set, and adding a corresponding basic script generated according to the basic behavior to the basic script set.
In an embodiment, the network information obtaining method further includes editing the marked network information obtaining request, generating a new network information obtaining request and a new basic script sequence corresponding to the new network information obtaining request, marking the new network information obtaining request, and storing the new basic script sequence.
In an embodiment, the network information obtaining method further includes classifying or merging the marked network information obtaining requests to obtain classified or merged network information obtaining requests and a basic script sequence corresponding to the classified or merged network information obtaining requests, marking the classified or merged network information obtaining requests, and storing the corresponding basic script sequence.
In an embodiment, the network information obtaining method further includes unmarking the marked network information obtaining request, and deleting the basic script sequence corresponding to the marked network information obtaining request.
Optionally, the network information obtaining method further includes, in response to the received sharing request, sharing the marked network information obtaining request to other interactive application programs.
In an embodiment, the network information obtaining method further includes generating the network information obtaining request in advance.
In one embodiment, the network information acquisition request is selectively generated from a preset network information acquisition request list.
In one embodiment, the network information acquisition request list is generated according to the marked network information acquisition request, and is used for a user to select a network information acquisition request.
Optionally, the network information obtaining method further includes:
presetting a presentation mode responding to the network information acquisition request, wherein the presentation mode comprises one or any combination of a presentation interface, a presentation frequency or a presentation effect;
and presenting the network information acquired in response to the network information acquisition request according to the presentation mode.
Optionally, the device is a browser.
In a second aspect of the present invention, an apparatus is further provided for implementing a method for acquiring network information, including:
the device comprises a basic behavior set acquisition unit, a basic behavior set acquisition unit and a basic behavior setting unit, wherein the basic behavior set acquisition unit is used for dividing basic behaviors of the device to obtain a basic behavior set comprising a plurality of different basic behaviors;
a basic script set acquisition unit, configured to generate a corresponding basic script for each basic behavior in the basic behavior set, so as to form a basic script set;
and the basic script sequence combination unit is used for decomposing the equipment behaviors corresponding to the acquired network information acquisition requests and used for acquiring the network information into the basic behaviors in a plurality of basic behavior sets, selecting the basic scripts respectively corresponding to the basic behaviors from the basic script sets, and combining the basic scripts in sequence to obtain the basic script sequence.
In one embodiment, the apparatus further comprises means for executing the base script sequence in response to the network information acquisition request when the network information acquisition request is the most recently received network information acquisition request.
In one embodiment, the apparatus further comprises: means for marking the newly received network information acquisition request and storing the base script sequence corresponding thereto; and means for executing the corresponding base script sequence in response to a network information acquisition request when the network information acquisition request received thereafter is a marked network information acquisition request.
In one embodiment, the apparatus further comprises: means for marking the responded network information acquisition request and storing the basic script sequence corresponding thereto when the network information acquisition request is the responded network information acquisition request; and means for executing the corresponding base script sequence in response to a network information acquisition request when the network information acquisition request received thereafter is a marked network information acquisition request.
In an embodiment, the device further includes a means for adding the base behavior to the base behavior set and adding a corresponding base script generated according to the base behavior to the base script set if the base behavior set does not include a certain base behavior obtained by decomposing the behavior of the device.
In one embodiment, the apparatus further includes means for editing the marked network information acquisition request to generate a new network information acquisition request, marking the new network information acquisition request with a new basic script sequence corresponding thereto, and storing the new basic script sequence.
In one embodiment, the apparatus further includes means for classifying or merging the marked network information acquisition requests to obtain classified or merged network information acquisition requests and corresponding basic script sequences, marking the classified or merged network information acquisition requests, and storing the corresponding basic script sequences.
In one embodiment, the apparatus further comprises means for unmarking the marked network information acquisition request and deleting the base script sequence corresponding thereto.
Optionally, the device further includes a means for sharing the marked network information acquisition request to other interactive applications in response to the received sharing request.
In one embodiment, the apparatus further comprises means for presetting generation of the network information acquisition request.
In one embodiment, the network information acquisition request is selectively generated from a preset network information acquisition request list.
In one embodiment, the network information acquisition request list is generated according to the marked network information acquisition request, and is used for a user to select a network information acquisition request.
Optionally, the apparatus further comprises:
a device for presetting a presentation mode responding to the network information acquisition request, wherein the presentation mode comprises one or any combination of a presentation interface, a presentation frequency or a presentation effect; and
means for presenting the network information acquired in response to the network information acquisition request according to the presentation mode.
In a third aspect of the present invention, there is also provided a programmable device, including a memory and a processor, where the memory is configured to store instructions for controlling the processor to operate so as to execute any one of the methods provided in the first aspect of the present invention.
The inventor of the present invention finds that, in the prior art, a network information acquisition method and a network information acquisition device are not provided yet. The device behavior related to the network information acquisition request of the user can be decomposed, and a basic script sequence used for executing the network information acquisition process is finally generated, so that the efficiency of acquiring the network information by the device is improved. And the complicated or repeated operation of the user in the process of acquiring the network information is avoided, so that the user experience is improved. Therefore, the technical task to be achieved or the technical problems to be solved by the present invention are never thought or anticipated by those skilled in the art, and therefore the present invention is a new technical solution.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a block diagram showing an example of a hardware configuration of a computing system that may be used to implement an embodiment of the invention.
Fig. 2 shows a flowchart of a network information acquisition method according to an embodiment of the present invention.
Fig. 3 shows a schematic block diagram of an apparatus of an embodiment of the invention.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
< hardware configuration >
Fig. 1 is a block diagram showing a hardware configuration of a computer system 1000 that can implement an embodiment of the present invention.
As shown in fig. 1, computer system 1000 includes a computer 1110. The computer 1110 includes a processing unit 1120, a system memory 1130, a fixed non-volatile memory interface 1140, a mobile non-volatile memory interface 1150, a user input interface 1160, a network interface 1170, a video interface 1190, and an output peripheral interface 1195, which are connected via a system bus 1121.
The system memory 1130 includes a ROM (read only memory) and a RAM (random access memory). The BIOS (basic input output System) resides in ROM. The operating system, application programs, other program modules, and certain program data reside in RAM.
Fixed non-volatile memory, such as a hard disk, is connected to fixed non-volatile memory interface 1140. The fixed, non-volatile memory may store, for example, an operating system, application programs, other program modules, and certain program data.
Removable nonvolatile memory, such as a floppy disk drive and a CD-ROM drive, is connected to the removable nonvolatile memory interface 1150. For example, a floppy disk may be inserted into a floppy disk drive, and a CD (compact disc) may be inserted into a CD-ROM drive.
Input devices such as a mouse and keyboard are connected to the user input interface 1160.
The computer 1110 may be connected to a remote computer 1180 through a network interface 1170. For example, network interface 1170 may connect to a remote computer through a local network. Alternatively, the network interface 1170 may connect to a modem (modulator-demodulator), and the modem connects to the remote computer 1180 via a wide area network.
The remote computer 1180 may include memory, such as a hard disk, that may store remote application programs.
Video interface 1190 connects to a monitor.
Output peripheral interface 1195 is connected to a printer and speakers.
The computer system shown in FIG. 1 is illustrative only and is not intended to suggest any limitation as to the invention, its application, or use.
< example >
The browser in the prior art can only simply respond to the click operation (for example, clicking to enter a web page) issued by the user, and for the process of acquiring network information (for example, the lowest price of the same product sold in a plurality of electronic shopping malls, or acquiring certain information of a personal website account, etc.) which needs to be completed through a series of operation sequences, the user needs to manually complete the process of acquiring network information one by one, especially for the user with certain habit of acquiring network information, for example, the user needs to inquire the personal account information every day, or continuously pay attention to the lowest price of a certain product sold by an electronic commerce, and in the process of acquiring network information habitually through the browser each time, the series of operation needs to be repeated, so that good user experience cannot be obtained, and for the user who is unfamiliar with the process of acquiring network information, for example, the old people, for some tedious operations involved in the process of acquiring network information, often, the operation is difficult and the experience is not good.
Therefore, in order to improve the above-mentioned problems in the network information acquisition process, the present invention provides a network information acquisition method, which can obtain a basic behavior set and generate a corresponding basic script set by dividing the basic behaviors of devices for acquiring network information, and when acquiring a network information acquisition request, can decompose the device behaviors involved in the network information acquisition request to acquire a corresponding basic script sequence, and execute the basic script sequence to acquire network information. Therefore, repeated or complex operation is not needed when the user acquires the network information, and the user experience is improved.
Specifically, as shown in fig. 2, the network information acquiring method provided in the embodiment of the present invention is implemented by an apparatus for acquiring network information, and includes the following steps:
first, in step S2100, the basic behaviors of the device are divided to obtain a basic behavior set including a plurality of different basic behaviors.
The network information in this embodiment refers to information published or shared on an internet platform, and may be in the form of pictures, texts, videos, audios, and the like, or information that is considered interesting or valuable and is customized by a user, such as the price of an interesting commodity, the address of a place where the user wants to arrive, identity information of a person who wants to know, and the like, and belongs to the network information defined in this embodiment as long as the information is available through the internet.
The device in this embodiment is configured to acquire network information. The application program may be a browser, or may be a device that implements a browsing function similar to a browser (for example, by invoking a browsing function provided by a browser through a bottom layer, search software that implements a self-search application or commodity price comparison software that implements a self-commodity price comparison application), or other device similar to a browser. The device that acquires the network information by implementing the browsing function of the browser in the implemented application scenario is within the disclosure range of the embodiment.
The basic behavior of the device is the refinement of the device behavior in the process of acquiring the network information by the user through the device. For example, taking a browser as an example, a user requests a web page, and the basic actions to be performed by the browser are: the method comprises the steps of analyzing a Uniform Resource Locator (URL) input by a user, performing Domain Name System (DNS) analysis on a Domain Name, connecting a target website, constructing a request header, sending an http request to a target server, receiving a response header from a server, processing the request header of the server, receiving response data of the server, processing response content of the server, analyzing a server document and executing a script of page content. For a user to request another web page during the process of browsing web pages through a browser, the basic actions that the browser needs to perform include: receiving a click event of a user, performing click test judgment on a click area, sliding page content and highlighting page keywords.
Although in a specific application, network information obtained by a user through a device is various, and network information obtaining requests received by the corresponding device are also various, basic behaviors involved in different network information obtaining requests are limited for each device, and a browser is taken as an example, and can be roughly divided into several types:
(1) basic behavior with data preprocessing: URL resolution and character string splitting;
(2) basic behavior related to the acquisition procedure: constructing URL and request parameters of a target address, cookie reading, cookie setting, request header construction and request body construction;
(3) basic behavior related to the network: DNS analysis, target address connection, request header/body sending and request header/body receiving;
(4) and basic behaviors related to the request content comprise analyzing the data content, searching keywords for the data content, extracting webpage content, generating a result page, opening a new window and displaying the result page.
Therefore, the basic behavior set obtained by dividing the basic behaviors of the browser is as follows: { URL resolution, character string splitting, URL and request parameter construction of a target address, cookie reading, cookie setting, request header construction, request body construction, DNS resolution, connection to a target address, sending request header/body, receiving request header/body, data content analysis, keyword search for data content, extraction of webpage content, generation of a result page, opening of a new window, and presentation of a result page }.
Similarly, for a device similar to a browser or implementing a function similar to a browser, the method as described above may also be adopted to perform detailed division on the behavior of the device to obtain a corresponding basic behavior set, which is not described herein again.
After the basic behavior set is obtained, step S2200 is performed to generate a corresponding basic script for each basic behavior in the basic behavior set, so as to form a basic script set.
In this embodiment, the basic script is an execution file or a batch file for completing execution of the basic behavior, and a corresponding basic script is generated according to the content of the specific execution of the basic behavior, specifically, the basic script may include which function functions or function modules inside the device need to be called in the corresponding basic behavior execution process. The equipment can realize the execution of the corresponding basic behavior by directly executing the basic script, and the running efficiency of the equipment is improved.
The browser's set of base scripts is, for example, { base script for URL resolution, base script for string splitting, a basic script for constructing URL of a target address and request parameter, a basic script for cookie reading, a basic script for cookie setting, a basic script for requesting header construction, a basic script for requesting body construction, a basic script for DNS resolution, a basic script for connecting destination addresses, a basic script for transmitting a request header/body, a basic script for receiving a request header/body, a basic script for parsing data contents, a basic script for performing keyword search on data contents, a basic script for extracting web page contents, basic scripts for generating a result page, basic scripts for opening a new window, and basic scripts for displaying a result page }.
Similarly, for a device similar to a browser or implementing a function similar to a browser, the method as described in the above example may also be adopted to obtain the corresponding basic behavior set, which is not described herein again. After the basic script set is obtained, step S2300 is performed, in which the device behavior corresponding to the obtained network information obtaining request and used for obtaining the network information is decomposed into a plurality of basic behaviors in the basic behavior set, basic scripts respectively corresponding to the plurality of basic behaviors are selected from the basic script set, and the basic script sequences are sequentially combined to obtain the basic script sequence.
For a network information acquisition request, the device behavior corresponding to the network information acquisition request and involved in the network information acquisition process can be refined and decomposed into a plurality of basic behaviors in the basic behavior set. In an example, in the process of decomposing the device behavior for acquiring network information corresponding to the acquired network information acquisition request into a plurality of basic behaviors in the basic behavior set, a basic script corresponding to the basic behavior may be selected from the basic script set every time when one basic behavior is decomposed, and the corresponding basic script sequences may be obtained by sequential combination while the decomposition process is completed.
For example, taking the device as a browser and the network information acquisition request as an example of querying the balance of the kyoto mall:
(1) for the browser behavior corresponding to the balance of the inquiry of the Jingdong mall, the basic behavior in a plurality of basic behavior sets can be obtained by decomposition: constructing URL and request parameters of a target address (selecting corresponding basic script), constructing a request header (selecting corresponding basic script), adding cookie of a domain name (selecting corresponding basic script), performing domain name resolution on the target domain name (selecting corresponding basic script), connecting a target server address (IP) (selecting corresponding basic script), transmitting the request header (selecting corresponding basic script) to the target server, transmitting a request body (selecting corresponding basic script) to the target server, receiving a request head of a target server (selecting a corresponding basic script), receiving request content of the target server (selecting a corresponding basic script), searching keywords of returned body data (selecting a corresponding basic script), generating a result page (selecting a corresponding basic script), opening a new window (selecting a corresponding basic script), and displaying the result page (selecting a corresponding basic script).
(2) Combining in sequence to obtain a basic script sequence as follows: basic script for constructing URL and request parameters requesting to inquire Kyoto balance-basic script for constructing request head-basic script for joining cookie of domain name-basic script for performing domain name resolution on target domain name-basic script for connecting IP address of target server-basic script for sending request head to target server-basic script for sending request body to target server-basic script for receiving script of request head of target server-basic script for receiving request content of target server-basic script for keyword search on returned body data-basic script for generating result page-basic script for opening new window-basic script for displaying result page. In another example, the device behavior for acquiring network information corresponding to the acquired network information acquisition request may be decomposed into a plurality of the base behaviors in the base behavior set, and the base behaviors may be sequentially combined to form a base behavior sequence. And selecting corresponding basic scripts from the basic script set according to the basic behavior sequence, and combining the basic scripts in sequence to obtain a basic script sequence.
For example, taking the device as a browser and the network information obtaining request as an example of querying the e-commerce with the lowest price of the red rice 3 mobile phone (the query range is four cities of the kyoto mall, the suning mall, the amazon mall, and the millet mall), in this embodiment, the query sequence of the e-commerce is not limited, and in a specific implementation, one query sequence may be arbitrarily defined, and in this example, the query sequence is defined as the sequence of the kyoto mall, the suning mall, the amazon mall, and the step of:
(1) after the browser behaviors for acquiring the network information are decomposed to obtain a plurality of basic behaviors in a basic behavior set, sequentially combining to form a basic behavior sequence:
obtaining the web page address of great wall-constructing the price query URL of red rice 3-making domain name resolution on the target domain name-connecting the IP address of the target server-constructing the request header and request data-sending the request header and request data to the server-obtaining the web page address of sumanan city-constructing the price query URL of red rice 3-making the domain name resolution on the target domain name-connecting the IP address of the target server-constructing the request header and request data-sending the request header and request data to the server-obtaining the web page address of amazon city-constructing the price query URL of red rice 3-making the domain name resolution on the target domain name-connecting the IP address of the target server-constructing the request header and request data-sending the request header and request data to the server-obtaining the web page address of milan amazon city-constructing the price query URL of red rice 3-entering the target domain name Performing domain name resolution-connecting a target server IP address-constructing a request head and request data-sending the request head and the request data to the server-generating a result page-opening a new window-displaying the result page;
(2) selecting corresponding basic scripts from the basic script set according to the basic behavior sequence, and combining in sequence to obtain a basic script sequence:
basic script for obtaining page address of great wall-basic script for constructing price query URL of redm 3-basic script for making domain name resolution for target domain name-basic script for connecting IP address of target server-basic script for constructing request head and basic script for requesting data-basic script for sending request head and request data to server-basic script for obtaining page address of suningmall-basic script for constructing price query URL of redm 3-basic script for making domain name resolution for target domain name-basic script for connecting IP address of target server-basic script for constructing request head and basic script for requesting data-basic script for sending request head and request data to server-basic script for obtaining page address of amazon city-basic script for constructing page address of redm 3-basic script for making domain name resolution for target domain name-basic script for connecting Basic script of target server IP address-basic script of constructing request head and request data-basic script of sending request head and request data to server-basic script of obtaining millet mall web page address-basic script of constructing price query URL of red rice 3-basic script of making domain name resolution to target domain name-basic script of connecting target server IP address-basic script of constructing request head and request data-basic script of sending request head and request data to server-basic script of generating result page-basic script of opening new window-basic script of displaying result page.
Similarly, for a device similar to a browser or implementing a function similar to a browser, the method as in the above example may also be adopted to obtain the basic script sequence, and details are not described here.
In one example, in step S2300, an application behavior process of acquiring network information is decomposed, and if the basic behavior set does not include a certain basic behavior obtained by decomposing the behavior of the device, the basic behavior is added to the basic behavior set, and a corresponding basic script generated according to the basic behavior is added to the basic script set.
For example, in the above example where the device is a browser and the network information acquisition request is to query the e-commerce with the lowest price of a red-meter 3 mobile phone, if the existing basic behavior set is searched in the process of decomposing the device behavior of the e-commerce with the lowest price of the red-meter 3 mobile phone, and the basic behavior for constructing the request header and the request data does not exist, the basic behavior is added to the basic behavior set, and the corresponding basic script generated according to the basic behavior is added to the basic script set.
In this embodiment, the network information acquisition request acquired by the device may be the latest network information acquisition request received by the device, or a network information acquisition request that the device has responded to after execution, for example, a network information acquisition request generated according to a user requirement for device learning, or a network information acquisition request that the network information acquisition method provided in this embodiment is not implemented during execution.
In one example, when the network information acquisition request acquired by the device is the latest received network information acquisition request, the basic script sequence is executed in response to the network information acquisition request. Continuing to take the example that the device is a browser and a network information acquisition request for inquiring the balance of the Jingdong mall is queried, if the request for inquiring the balance of the Jingdong mall is newly received by the browser, directly executing a corresponding stored basic script sequence, and querying to obtain the balance of the Jingdong mall.
Moreover, the latest received network information acquisition request can be marked, and the corresponding basic script sequence can be stored; when the network information acquisition request received later is a marked network information acquisition request, executing the corresponding basic script sequence to respond to the network information acquisition request.
For example, the network information acquisition request for querying the balance of the kyoto mall is marked, and the marking mode may record key information (key words, etc.) of the network information request, or generate a unique corresponding label according to the content of the network information request, for example, a hash value according to the network information request, and after the network information acquisition request is marked, the marking mode that can determine whether the network information acquisition request received thereafter is marked is applicable to this embodiment, which is not described herein again.
And storing a basic script sequence corresponding to the network information acquisition request for inquiring the balance of the Jingdong mart in a manner of inquiring the hash value of the network information request for inquiring the balance of the Jingdong mart and the corresponding basic script sequence. And then when the hash value of the received network information acquisition request is the same as the hash value of the network information request for inquiring the balance of the Jingdong mart, the received network information acquisition request can be the marked network information request for inquiring the balance of the Jingdong mart, and the corresponding basic script sequence is directly executed to obtain the balance of the Jingdong mart. Therefore, when the user queries the balance of the Jingdong mall, the user does not need to repeat a series of operations on equipment (such as a browser) for acquiring the network information in the prior art to query and acquire the balance, the use experience of the user can be improved, and the efficiency of the equipment for acquiring the network information can be improved.
In another example, when the network information acquisition request acquired by the device is a responded network information acquisition request, marking the responded network information acquisition request and storing the basic script sequence corresponding to the responded network information acquisition request; when the network information acquisition request received later is a marked network information acquisition request, executing the corresponding basic script sequence to respond to the network information acquisition request.
In this example, for the network information acquisition request that has been responded, the corresponding script sequence is marked and stored, the related marking and storing method are similar to the network information acquisition request that is received latest in the above example, and the process of executing the corresponding stored basic script sequence on the network information acquisition request that has been marked is also similar, which is not described herein again. This example is particularly useful for editing or customizing network information acquisition requests that require the device to learn or repeat according to user needs.
In this embodiment, the marked network information acquisition request may also be edited according to the requirement of the user to obtain a new network information acquisition request meeting the requirement of the user (for example, the device provides an interface for the user to edit and input or select), and the specific method includes: editing the marked network information acquisition request, generating a new network information acquisition request and a new basic script sequence corresponding to the new network information acquisition request, marking the new network information acquisition request, and storing the new basic script sequence.
For example, when the device is a browser, if the marked network information acquisition request is to query the beijing east balance, the new network information acquisition request of the user is to query the beijing east white bar arrears, the request for querying the beijing east balance is edited, the query of the beijing east balance is modified to query the beijing east white bar arrears, corresponding basic behavior sequences are basically consistent, the basic behavior sequences refer to only basic behaviors for constructing the URL for requesting to query the beijing east balance and request parameters, and the basic script sequences for constructing the URL for requesting to query the beijing east white bar arrears and request parameters are obtained as follows: basic script for constructing URL and request parameter for requesting to inquire Kyoto white bar arrears-basic script for constructing request head-basic script for adding cookie of domain name-basic script for making domain name resolution to target domain name-basic script for connecting IP address of target server-basic script for sending request head to target server-basic script for sending request body to target server-basic script for collecting script of request head of target server-basic script for collecting request content of target server-basic script for making keyword search to returned body data-basic script for generating result page-basic script for opening new window-basic script for displaying result page. Marking a new network information acquisition request: and inquiring the debt of the white slips in the Jingdong and storing the corresponding basic script sequence. The browser can directly execute the corresponding basic script sequence for the received network information request of the new mark generated after being edited, the efficiency of the browser is improved, a user does not need to repeat a series of operations of the browser in the prior art for the new network information acquisition request, and the use experience of the user is improved.
For another example, the device is a browser, the marked network information acquisition request is the e-commerce inquiring the red rice 3 with the cheapest mobile phone price in the above example (inquiry range is four cities of kyoto shopping mall, suning shopping mall, amazon shopping mall and millet shopping mall), and if the network information acquisition request of the user is the group purchase inquiring the most favorable customers (inquiry range is hundred degrees takeoffs, american group takeoffs, popular reviews and hungry), the method comprises the following steps:
(1) editing the marked network information acquisition request, modifying the corresponding query object and query range to obtain a new network information acquisition request, and generating a corresponding basic script sequence as follows (the query sequence is according to the query sequence of the marked network information acquisition request, which corresponds to hundred-degree takeout, American group takeout, popular comment and hungry): basic script for acquiring Baidu takeout webpage address, basic script for constructing price query URL of must client, basic script for performing domain name resolution on target domain name, basic script for connecting IP address of target server, basic script for constructing request head and request data, basic script for sending request head and request data to server, basic script for acquiring Meiqu takeout webpage address, basic script for constructing price query URL of must client, basic script for performing domain name resolution on target domain name, basic script for connecting IP address of target server, basic script for constructing request head and request data, basic script for sending request head and request data to server, basic script for acquiring popular comment webpage address, basic script for constructing price query URL of must client, basic script for performing domain name resolution on target domain name Basic script for marking IP address of server-basic script for constructing request head and request data-basic script for sending request head and request data to server-basic script for obtaining web page address, basic script for constructing price inquiry URL of must-basic script for making domain name resolution for target domain name-basic script for connecting target server IP address-basic script for constructing request head and request data-basic script for sending request head and request data to server-basic script for generating result page-basic script for opening new window-basic script for displaying result page
(2) Marking a new network information acquisition request: and inquiring group buying (inquiring how much more popular is spent, American group is spent, popular comment and hungry) which is most favorable than the client, and storing a corresponding basic script sequence.
After that, the browser can directly execute the corresponding basic script sequence for the received network information request of the new mark generated after being edited, so that the efficiency of the browser is improved, and a user does not need to repeat a series of operations of the browser in the prior art for the new network information acquisition request, so that the use experience of the user is improved. In this example, for a device similar to a browser or implementing a function similar to a browser, a similar method may also be employed to enhance user experience, which is not described herein again.
In this embodiment, the marked network information acquisition requests may also be classified or merged, so as to improve the operation efficiency of the device and the user experience. The method specifically comprises the following steps: classifying or combining the marked network information acquisition requests to obtain classified or combined network information acquisition requests and corresponding basic script sequences, marking the classified or combined network information acquisition requests, and storing the corresponding basic script sequences.
For example, the balance of the inquiry of the kyoto store and the white bar debt of the inquiry of the kyoto store may be combined into a network information acquisition request for inquiring the balance of the kyoto store and the white bar debt, a basic script sequence capable of executing the corresponding inquiry of the balance of the kyoto store and the white bar debt is correspondingly generated, and the generation process is the same as the process of editing and generating a new network information acquisition request in this embodiment, which is not described herein again.
The group purchase with the most preferential query for the winner take (the query range is hundred-degree takeout, American group takeout, popular comment and hungry) can be classified into four categories of price query for the winner take, price query for the American group takeout, price query for the popular comment and price query for the hungry, four basic script sequences are correspondingly generated, and the generation process is the same as the process of editing and generating a new network information acquisition request in the embodiment, and is not repeated herein.
In addition, during the operation of the device, network information acquisition requests sent once are various, and if the number of marked network information acquisition requests is too large, the operation efficiency of the device may be affected. Moreover, the device may also present the marked network information acquisition request to the user, and too many marked network information acquisition requests to the user may also affect the user's experience. Therefore, some network information acquisition requests with low receiving frequency can be deleted, or network information acquisition requests which no longer meet the requirements of users can be deleted, and the specific method comprises the following steps: and canceling the marking of the marked network information acquisition request, and deleting the basic script sequence corresponding to the marked network information acquisition request.
In this embodiment, the marked network information acquisition request may be shared to other interactive application programs in response to the received sharing request, for example, the device provides an interface to display the marked network information acquisition request, and provides an interface that the user selects to share, and may share to application programs such as a WeChat and a microblog that interact with the device, for example, the user may select a certain marked network information acquisition request through a click button provided by the device, and may select to share the same to a WeChat by clicking a sharing button provided by the device, and display the same to a WeChat friend for reference.
Still alternatively, in this embodiment, it may be preset to generate the network information obtaining request. The equipment can provide an interactive interface for a user to preset a network information acquisition request meeting the self requirement and the frequency, the period and the like generated by the network information acquisition request, for example, the equipment provides the interface, the user presets the network information request on the interface to inquire the NBA ball game result, the frequency generated is set to be three times per day, and the period is set to be one NBA season.
In one example, the network information acquisition request is selectively generated from a preset network information acquisition request list. The preset network information acquisition request list may be generated or stored in the device generation process, may be downloaded from a server in real time after the device is triggered to operate by a user, and the network information acquisition request included in the network information acquisition request list may also be a hot network information acquisition request which is counted in real time by the server and is periodically updated. The device can provide an interface to display a network information acquisition request list for a user to select, and then generate a network information acquisition request according to the selection of the user.
The preset network information acquisition request list can also be generated according to the marked network information acquisition request and used for the user to select the network information acquisition request. The equipment can also select a popular network information acquisition request to generate or update a network information acquisition request list in real time according to the receiving frequency of the marked network information acquisition request.
In this embodiment, a presentation mode responding to the network information acquisition request may also be preset, where the presentation mode includes one or any combination of a presentation interface, a presentation frequency, and a presentation effect; and presenting the network information acquired in response to the network information acquisition request according to the presentation mode.
The device can provide a setting interface for a user to preset a presentation mode which meets the self requirement and responds to the network information acquisition request, and the user experience is improved. For example, whether the presentation interface is a web page, an animation or a floating frame can be selected, the presentation frequency is once a ten minutes or once a day, the presentation effect is a web page pop-up reminder, animation jitter, floating frame floating and the like, the completion can be performed according to the network information acquisition request of the user, for example, to inquire the NBA match result, and the presentation mode can be selected as follows: and the presentation interface is a floating frame, the presentation frequency is once an hour, the presentation effect is that the floating frame is positioned at the lower left corner of the page, and the equipment presents the inquired NBA competition result according to the presentation mode.
Fig. 3 shows a schematic block diagram of a device 3000 provided in an embodiment of the present invention, which may be used to implement the network information obtaining method provided in the embodiment of the present invention, and therefore, details are not described here again.
The device 3000 includes a basic behavior set obtaining unit 3100, a basic script set obtaining unit 3200, and a basic script sequence combining unit 3300.
A basic behavior set obtaining unit 3100, configured to divide basic behaviors of the device to obtain a basic behavior set including a plurality of different basic behaviors;
a basic script set obtaining unit 3200, configured to generate a corresponding basic script for each basic behavior in the basic behavior set, so as to form a basic script set;
a basic script sequence combining unit 3300, configured to decompose a behavior of the device for acquiring network information corresponding to the acquired network information acquisition request into a plurality of basic behaviors in the basic behavior set, select, from the basic script set, basic scripts respectively corresponding to the plurality of basic behaviors, and combine in sequence to obtain a basic script sequence.
In one example, the apparatus 3000 further comprises means for executing the base script sequence in response to the network information acquisition request when the network information acquisition request is the most recently received network information acquisition request. Also, the device 3000 may further include means for marking the latest received network information acquisition request and storing the basic script sequence corresponding thereto; and means for executing the corresponding base script sequence in response to a network information acquisition request when the network information acquisition request received thereafter is a marked network information acquisition request.
In another example, the device 3000 further comprises means for marking a responded network information acquisition request and storing the basic script sequence corresponding thereto when the network information acquisition request is the responded network information acquisition request; and means for executing the corresponding base script sequence in response to a network information acquisition request when the network information acquisition request received thereafter is a marked network information acquisition request.
Preferably, the device 3000 further includes a means for adding the basic behavior to the basic behavior set and adding a corresponding basic script generated according to the basic behavior to the basic script set if the basic behavior set does not include a certain basic behavior obtained by decomposing the behavior of the device.
In one example, the apparatus 3000 further comprises means for editing the marked network information acquisition request to generate a new network information acquisition request and marking the new network information acquisition request with a new basic script sequence corresponding thereto and storing the new basic script sequence. Alternatively, the device 3000 may further include a device configured to classify or combine the marked network information obtaining requests to obtain classified or combined network information obtaining requests and basic script sequences corresponding to the classified or combined network information obtaining requests, mark the classified or combined network information obtaining requests, and store the corresponding basic script sequences. Alternatively, the device 3000 may further include a means for unmarking the marked network information acquisition request and deleting the basic script sequence corresponding thereto.
Optionally, the apparatus 3000 further includes a device for sharing the marked network information obtaining request to other interactive applications in response to the received sharing request.
Preferably, the apparatus 3000 may further include means for presetting generation of the network information acquisition request.
Preferably, the network information acquisition request is selectively generated from a preset network information acquisition request list. Further preferably, the network information acquisition request list is generated according to the marked network information acquisition request, and is used for the user to select the network information acquisition request.
Optionally, the apparatus 3000 may further include a device configured to preset a presentation mode responding to the network information obtaining request, where the presentation mode includes one or any combination of a presentation interface, a presentation frequency, and a presentation effect; and means for presenting the network information acquired in response to the network information acquisition request according to the presentation mode.
In yet another embodiment of the present invention, a programmable device is further provided, which includes a memory and a processor, where the memory is configured to store instructions, and the instructions are configured to control the processor to operate to execute any one of the network information acquisition methods provided in this embodiment.
The embodiments of the present invention have been described above with reference to the accompanying drawings, and according to the embodiments, a method for acquiring network information implemented by a device is provided, which may decompose device behaviors corresponding to an acquired network information acquisition request and combine the device behaviors in sequence to form a basic behavior sequence according to a basic behavior set obtained by dividing the basic behaviors of the device and a correspondingly generated basic script set, and form a basic script sequence according to the corresponding basic behavior sequence, and may respond to a network information acquisition request sent by a user by executing the basic script sequence, thereby avoiding a series of tedious or repeated operations that the user needs to perform on the device in a process of acquiring network information, and improving user experience. In addition, the efficiency of acquiring the network information by the equipment can be improved.
It will be apparent to those skilled in the art that the apparatus of the present embodiment may be implemented in various ways. The apparatus may be implemented, for example, by an instruction configuration processor. For example, the apparatus may be implemented by storing instructions in ROM and reading the instructions from ROM into a programmable device when the apparatus is started. For example, the apparatus may be cured into a dedicated device (e.g., ASIC). The devices may be implemented as separate units or they may be combined together. The apparatus may be implemented in one of the various implementations described above, or may be implemented in a combination of two or more of the various implementations described above.
It is well known to those skilled in the art that with the development of electronic information technology such as large scale integrated circuit technology and the trend of software hardware, it has been difficult to clearly divide the software and hardware boundaries of a computer system. As any of the operations may be implemented in software or hardware. Execution of any of the instructions may be performed by hardware, as well as by software. Whether a hardware implementation or a software implementation is employed for a certain machine function depends on non-technical factors such as price, speed, reliability, storage capacity, change period, and the like. Accordingly, it will be apparent to those skilled in the art of electronic information technology that a more direct and clear description of one embodiment is provided by describing the various operations within the embodiment. Knowing the operations to be performed, the skilled person can directly design the desired product based on considerations of said non-technical factors.
The present invention may be a system, method and/or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied therewith for causing a processor to implement various aspects of the present invention.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present invention may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present invention are implemented by personalizing an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), with state information of computer-readable program instructions, which can execute the computer-readable program instructions.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, by software, and by a combination of software and hardware are equivalent.
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the invention is defined by the appended claims.

Claims (28)

1. A network information acquisition method, implemented by an apparatus for acquiring network information, comprising the steps of:
dividing the basic behaviors of the equipment to obtain a basic behavior set containing a plurality of different basic behaviors, wherein the basic behaviors are the detailed division of the equipment behaviors involved in the process that a user acquires network information through the equipment;
generating a corresponding basic script for each basic behavior in the basic behavior set to form a basic script set;
and decomposing the equipment behaviors corresponding to the acquired network information acquisition request and used for acquiring the network information into a plurality of basic behaviors in the basic behavior set, selecting basic scripts respectively corresponding to the basic behaviors from the basic script set, and combining the basic scripts in sequence to obtain a basic script sequence.
2. The method of claim 1, further comprising:
and when the network information acquisition request is the latest received network information acquisition request, executing the basic script sequence to respond to the network information acquisition request.
3. The method of claim 2, further comprising:
marking the latest received network information acquisition request and storing the corresponding basic script sequence;
when the network information acquisition request received later is a marked network information acquisition request, executing the corresponding basic script sequence to respond to the network information acquisition request.
4. The method of claim 1, further comprising:
when the network information acquisition request is a responded network information acquisition request, marking the responded network information acquisition request and storing the corresponding basic script sequence;
when the network information acquisition request received later is a marked network information acquisition request, executing the corresponding basic script sequence to respond to the network information acquisition request.
5. The method of claim 1, further comprising:
and if the basic behavior set does not contain a certain basic behavior obtained by the behavior decomposition of the equipment, adding the basic behavior into the basic behavior set, and adding a corresponding basic script generated according to the basic behavior into the basic script set.
6. The method of claim 3 or 4, further comprising:
editing the marked network information acquisition request, generating a new network information acquisition request and a new basic script sequence corresponding to the new network information acquisition request, marking the new network information acquisition request, and storing the new basic script sequence.
7. The method of claim 3 or 4, further comprising:
classifying or combining the marked network information acquisition requests to obtain classified or combined network information acquisition requests and corresponding basic script sequences, marking the classified or combined network information acquisition requests, and storing the corresponding basic script sequences.
8. The method of claim 3 or 4, further comprising:
and canceling the marking of the marked network information acquisition request, and deleting the basic script sequence corresponding to the marked network information acquisition request.
9. The method of claim 3 or 4, further comprising:
and responding to the received sharing request, and sharing the marked network information acquisition request to other interactive application programs.
10. The method according to any one of claims 1 to 5, further comprising presetting generation of the network information acquisition request.
11. The method of any one of claims 1-5, further comprising:
the network information acquisition request is generated by selecting from a preset network information acquisition request list.
12. The method of claim 11,
the network information acquisition request list is generated according to the marked network information acquisition request and is used for the user to select the network information acquisition request.
13. The method of any one of claims 1-5, further comprising:
presetting a presentation mode responding to the network information acquisition request, wherein the presentation mode comprises one or any combination of a presentation interface, a presentation frequency or a presentation effect;
and presenting the network information acquired in response to the network information acquisition request according to the presentation mode.
14. The method of any of claims 1-5, wherein the device is a browser.
15. An apparatus configured to implement a method of obtaining network information, comprising:
a basic behavior set obtaining unit, configured to divide basic behaviors of the device to obtain a basic behavior set including multiple different basic behaviors, where the basic behaviors are refined divisions of device behaviors involved in a process of obtaining network information by a user through the device;
a basic script set acquisition unit, configured to generate a corresponding basic script for each basic behavior in the basic behavior set, so as to form a basic script set;
and the basic script sequence combination unit is used for decomposing the equipment behaviors corresponding to the acquired network information acquisition requests and used for acquiring the network information into a plurality of basic behaviors in the basic behavior set, selecting basic scripts respectively corresponding to the plurality of basic behaviors from the basic script set, and combining the basic scripts in sequence to obtain a basic script sequence.
16. The apparatus of claim 15, further comprising:
means for executing the base script sequence in response to the network information acquisition request when the network information acquisition request is a newly received network information acquisition request.
17. The apparatus of claim 16, further comprising:
means for marking the newly received network information acquisition request and storing the base script sequence corresponding thereto; and
means for executing the corresponding base script sequence in response to a network information acquisition request when the network information acquisition request received thereafter is a marked network information acquisition request.
18. The apparatus of claim 15, further comprising:
means for marking the responded network information acquisition request and storing the basic script sequence corresponding thereto when the network information acquisition request is the responded network information acquisition request; and
means for executing the corresponding base script sequence in response to a network information acquisition request when the network information acquisition request received thereafter is a marked network information acquisition request.
19. The apparatus of claim 15, further comprising:
and if the basic behavior set does not contain a certain basic behavior obtained by decomposing the equipment behavior for acquiring the network information, adding the basic behavior into the basic behavior set and adding a corresponding basic script generated according to the basic behavior into the basic script set.
20. The apparatus of claim 17 or 18, further comprising:
and the device is used for editing the marked network information acquisition request to generate a new network information acquisition request, marking the new network information acquisition request by a new basic script sequence corresponding to the new network information acquisition request and storing the new basic script sequence.
21. The apparatus of claim 17 or 18, further comprising:
and the device is used for classifying or combining the marked network information acquisition requests to obtain classified or combined network information acquisition requests and basic script sequences corresponding to the classified or combined network information acquisition requests, marking the classified or combined network information acquisition requests and storing the corresponding basic script sequences.
22. The apparatus of claim 17 or 18, further comprising:
means for unmarking the marked network information acquisition request and deleting the base script sequence corresponding thereto.
23. The apparatus of claim 17 or 18, further comprising:
and means for sharing the marked network information acquisition request to other applications that can interact in response to the received sharing request.
24. The apparatus according to any one of claims 15 to 19, further comprising means for presetting generation of the network information acquisition request.
25. The apparatus of any one of claims 15-19, further comprising: the network information acquisition request is generated by selecting from a preset network information acquisition request list.
26. The apparatus of claim 25, further comprising:
the network information acquisition request list is generated according to the marked network information acquisition request and is used for the user to select the network information acquisition request.
27. The apparatus of any one of claims 15-19, further comprising:
a device for presetting a presentation mode responding to the network information acquisition request, wherein the presentation mode comprises one or any combination of a presentation interface, a presentation frequency or a presentation effect; and
means for presenting the network information acquired in response to the network information acquisition request according to the presentation mode.
28. A programmable device comprising a memory and a processor, wherein the memory is configured to store instructions configured to control the processor to operate to perform the method of any of claims 1-14.
CN201610309116.2A 2016-05-10 2016-05-10 Network information acquisition method, equipment and programmable equipment Active CN107357796B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610309116.2A CN107357796B (en) 2016-05-10 2016-05-10 Network information acquisition method, equipment and programmable equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610309116.2A CN107357796B (en) 2016-05-10 2016-05-10 Network information acquisition method, equipment and programmable equipment

Publications (2)

Publication Number Publication Date
CN107357796A CN107357796A (en) 2017-11-17
CN107357796B true CN107357796B (en) 2021-08-06

Family

ID=60271328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610309116.2A Active CN107357796B (en) 2016-05-10 2016-05-10 Network information acquisition method, equipment and programmable equipment

Country Status (1)

Country Link
CN (1) CN107357796B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112416448A (en) * 2020-12-08 2021-02-26 北京中亦安图科技股份有限公司 Operating system information acquisition method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699815A (en) * 2009-10-30 2010-04-28 华南师范大学 Network attack automatic execution/exhibition system and method
CN103577297A (en) * 2012-07-26 2014-02-12 阿里巴巴集团控股有限公司 Automatic searching method and device
US9015243B1 (en) * 2010-12-20 2015-04-21 Google Inc. Automated metadata updates
CN104679740A (en) * 2013-11-27 2015-06-03 中国银联股份有限公司 Data processing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699815A (en) * 2009-10-30 2010-04-28 华南师范大学 Network attack automatic execution/exhibition system and method
US9015243B1 (en) * 2010-12-20 2015-04-21 Google Inc. Automated metadata updates
CN103577297A (en) * 2012-07-26 2014-02-12 阿里巴巴集团控股有限公司 Automatic searching method and device
CN104679740A (en) * 2013-11-27 2015-06-03 中国银联股份有限公司 Data processing system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JAVA之——简单的网络爬虫实现;冰河;《CSDN博客》;20151008;第1-9页 *

Also Published As

Publication number Publication date
CN107357796A (en) 2017-11-17

Similar Documents

Publication Publication Date Title
US9483388B2 (en) Discovery of application states
US11669579B2 (en) Method and apparatus for providing search results
KR102006396B1 (en) Identifying matching applications based on browsing activity
US20170242666A1 (en) Development System and Method for Providing External Functionality
JP6164808B2 (en) Recommended share box
TWI617929B (en) System stored in a non-transitory medium executable by processor circuitry and method thereof
US20140344707A1 (en) Information Distribution Method and Device
TW201118620A (en) Systems and methods for providing advanced search result page content
CN108153848B (en) Method and device for searching light application data and electronic device
JP2009181468A (en) Image search log collection system, image search log collection method and program
US20200125221A1 (en) Coalescing Notifications Associated with Interactive Digital Content
US9621622B2 (en) Information providing apparatus, information providing method, and network system
US10409463B2 (en) Forking digital content items between digital topical environments
WO2012087850A2 (en) Interactions with contextual and task-based computing environments
US9684918B2 (en) System and method for candidate domain name generation
US11061651B2 (en) Systems and methods for organizing, classifying, and discovering automatically generated computer software
JP7240505B2 (en) Voice packet recommendation method, device, electronic device and program
US20160191338A1 (en) Retrieving content from an application
CN105283843A (en) Embeddable media content search widget
US20120254233A1 (en) Information processing system, information processor, and computer program product
CN107357796B (en) Network information acquisition method, equipment and programmable equipment
CN111506838A (en) Method and device for displaying tab in browser, medium and equipment
KR102477245B1 (en) Systems and methods for improved online research
US20160077727A1 (en) Online Protocol Community
JP2017523527A (en) Manga search method and apparatus

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200526

Address after: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping B radio square 14 storey tower

Applicant before: GUANGZHOU UCWEB COMPUTER TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant