Detailed Description
The application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be noted that, for convenience of description, only the portions related to the present application are shown in the drawings.
It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other. The application will be described in detail below with reference to the drawings in connection with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 in which an information storage method or information storage device of an embodiment of the present application may be applied.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used to provide a communication link medium between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 for sending messages to the server 105, receiving data returned by the server 105, etc. The terminal devices 101, 102, 103 may have installed thereon an application that can make a circle selection setting to obtain the user's access amount to the target page or the click amount of some elements in the target page.
The terminal devices 101, 102, 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablet computers, electronic book readers, laptop and desktop computers, and the like. When the terminal devices 101, 102, 103 are software, they can be installed in the above-listed electronic devices. Which may be implemented as multiple software or software modules (e.g., to provide distributed services), or as a single software or software module. The present application is not particularly limited herein.
The server 105 may be a server that provides various services, such as a server that receives the contents of the setting of the circling of the target page transmitted by the terminal devices 101, 102, 13. The server may perform various data analysis after receiving the information sent by the terminal device, and store the associated page element or page association.
It should be noted that, the information storage method provided by the embodiment of the present application is generally executed by a server in the server cluster 105. Accordingly, the information storage devices are typically disposed in servers in server cluster 105.
The server may be hardware or software. When the server is hardware, the server may be implemented as a distributed server cluster formed by a plurality of servers, or may be implemented as a single server. When the server is software, it may be implemented as a plurality of software or software modules (e.g., to provide distributed services), or as a single software or software module. The present application is not particularly limited herein.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of an information storage method according to the present application is shown. The information storage method comprises the following steps:
step 201, operation information of performing a circle selection operation on a target page by a user through a terminal is received.
In this embodiment, in order to obtain the access amount of some web pages, the click amount of the page element in the web page, the usage amount, and the like, a software development kit supported by an execution body (e.g., a server shown in fig. 1) of the information storage method may be generally accessed in an application for accessing the web page. Therefore, when the first user accesses the webpage and performs the visualization operation on the webpage elements in the webpage, the execution body can perform statistics according to the data related to the webpage which is required to be acquired and preset by the second user. Here, the first user is a user, typically a visitor, who uses the web page; the second user is the user who needs to count the relevant data in the netpage, typically the netpage developer. The operation of visualizing the page elements in the page may include, for example, an operation of inputting contents in an input box and clicking save or search, an operation of clicking a picture to link to a picture source location, an operation of clicking a download button, and the like.
And acquiring data related to a certain webpage as circle selection. The operation that the second user needs to acquire the data related to the webpage through the terminal equipment is called circle selection operation. Data related to a web page includes, but is not limited to: access amount data of the web page, click amount data of page elements in the web page, usage amount data and the like. The page elements may include, for example, but are not limited to, clickable buttons in a web page (e.g., buttons for login, buttons for collection of a page or collection of items, buttons for search), input boxes, pictures, links, and the like. The click volume data may include, for example, a button on which a click operation can be performed, and the number of clicks of the position area. The usage data may include, for example, the number of times information is searched using a search box; and the method can also comprise the number of information searching times by utilizing preset words and the like.
As an example, when the second user needs to acquire the access amount of the target web page, the circle selection operation may be a related operation performed to acquire the access amount of the target web page; when the second user needs to acquire the click amount of the "login" button in the target web page, the circle selection operation may be a related operation performed to acquire the click amount of the "login" button.
In this embodiment, the second user typically performs the circling operation by using the application supported by the execution body and capable of implementing data circling, and the operation information of the circling operation may include, but is not limited to, circling content information (for example, an access amount of a target page, a click amount of some page elements in a page, and a usage amount), and circling position information. The circle selection position information may be position information in a target page selected by the second user through a mode of checking, clicking, and the like.
Step 202, determining whether the position corresponding to the circled position information is the position of one of the page elements included in the target page.
In this embodiment, after the execution body acquires the circle selection location information in step 201, it may further determine whether the location corresponding to the circle selection location information is the location where one of the page elements included in the target page is located.
Specifically, each target page may include a plurality of page elements therein, each having a location in the target page where it is located. For example, the "login" button in a page is located in the upper right corner of the page, and the "search" button in a page is located in the middle of the page. When the second user performs the circle selection operation, the whole target page can be selected in a circle mode, and one or some page elements in the target page can be selected in a circle mode. By matching the circling position information with the position of one of the page elements included in the target page, whether the position corresponding to the circling position information is the position of one of the page elements included in the target page can be determined. Through the step, the content which needs to be selected by the user can be more accurately determined, and the accuracy of the selection is improved.
In this embodiment, the execution body may store coordinates of each page element in the target page in a preset coordinate system (for example, a screen coordinate system, a coordinate system with the center of the target page as the origin, etc.). The execution body may convert the circle selection position information into coordinates in a preset coordinate system and then calculate a distance between the coordinates of each stored page element. When the distance between the coordinates of one of the page elements and the coordinates corresponding to the circling position information is smaller than the preset threshold value, the position corresponding to the circling position information can be determined to be the position of one of the page elements included in the target page. When the distance between the coordinates corresponding to the circling position information and the stored coordinates of each page element is greater than or equal to a preset threshold value, it may be determined that the position corresponding to the circling position information is not the position where one of the page elements included in the target page is located.
In step 203, in response to determining that the location corresponding to the circle location information is not the location where one of the page elements included in the face page is located, at least part of the page elements included in the target page are stored as associated circle objects in the circle object set.
In this embodiment, in response to determining that the position corresponding to the circle location information is not the position where one of the page elements included in the target page is located, the circle content required by the second user may be considered as the usage amount of the target page by the first user, where the usage amount may be represented by the click amount or the usage amount of the page element in the target page. Thus, at least some of the page elements included in the face page may be stored as associated circled objects into the circled object set. Here, the circled object is a page element included in the target page, and the association can be considered as follows: when a first user using the target web page clicks or uses any one of the associated page elements, it may be determined as a use of the target page, so that data of the amount of use of the target page by the first user may be updated based on an operation of the first user using the target web page. The at least part of page elements may include all page elements included in the target page, and may also include a preset number of page elements with the maximum usage determined based on statistical analysis.
In some optional implementations of this embodiment, storing at least some page elements included in the target page as associated circled objects into the circled object set may further include: respectively determining paths associated with page elements included in a target page; selecting the page elements with the same positions indicated by the associated paths from the page elements included in the target page; and storing the selected page element as an associated circled object into a circled object set.
Specifically, performing a visualization operation on different page elements in a page may generate different path information. As an example, when a user clicks a login button in a target web page, the user may jump from the target web page to the home page of the website, thereby creating a path from the target web page to the home page of the website; when a user clicks on a certain picture in the target webpage, the user can jump from the target webpage to the source webpage of the picture, so that a path from the target webpage to the source webpage of the picture is generated. Thus, a user can generate a large amount of path information when accessing a target web page. The execution body may determine a path associated with a page element included in the target page from the large amount of path information. Here, the path associated with the page element may include a path to jump to another web page after performing a visualization operation on the page element. Then, according to the determined path associated with the page element included in the target page, the execution body may further determine a location indicated by the path associated with the page element. That is, the web page to which the page element is jumped after the visualization operation is performed. And then selecting the page elements of the same page as the page to which the visualization operation is performed on the page elements in the target page. That is, the path indicated by the selected page element is the same. And after renting, storing the selected page elements as associated circling objects into a circling object set.
According to the information storage method provided by the embodiment of the application, by determining whether the position corresponding to the selected circling position information is the position of one of the page elements included in the target page or not, when the position corresponding to the circling position information is not the position of one of the page elements included in the target page, at least part of the page elements included in the target page can be stored in the circling object set as the associated circling object, so that the circling efficiency is improved, and the circled content is more comprehensive.
With further reference to fig. 3, a flow 300 of yet another embodiment of an information storage method is shown. The flow 300 of the information storage method includes the steps of:
step 301, operation information of performing a circle selection operation on a target page by a user through a terminal is received.
In this embodiment, the user typically performs the circling operation by using an application that can implement data circling and is supported by the execution body of the information storage method (for example, the server shown in fig. 1), and the operation information of the circling operation may include, but is not limited to, circling content information (for example, the access amount of the target page, the click amount of some page elements in the page, and the usage amount), and circling location information. The circle selection position information is position information in a target page selected by a user through modes of choosing, clicking and the like.
Step 302, determining whether the position corresponding to the circled position information is the position of one of the page elements included in the target page.
In this embodiment, after the execution body acquires the circle selection location information in step 201, it may further determine whether the location corresponding to the circle selection location information is the location where one of the page elements included in the target page is located.
In step 303, in response to determining that the location corresponding to the circle location information is not the location where one of the page elements included in the face page is located, at least part of the page elements included in the target page are stored as associated circle objects in the circle object set.
In this embodiment, in response to determining that the position corresponding to the circle location information is not the position where one of the page elements included in the target page is located, the circle content required by the user may be considered as the usage amount of the target page by the user, where the usage amount may be represented by the click amount or the usage amount of the page element in the target page. Thus, at least some of the page elements included in the face page may be stored as associated circled objects into the circled object set.
The specific processes and the beneficial effects of steps 301, 302 and 303 in this embodiment may refer to the relevant descriptions of the implementation manners of steps 201, 202 and 203 in the corresponding embodiment of fig. 2, which are not repeated herein.
In step 304, in response to determining that the circle location corresponding to the circle location information is the location of one of the page elements included in the target page, the page element corresponding to the circle location is stored as the target circle object into the circle object set.
In this embodiment, when the execution body determines that the circle location corresponding to the circle location information is the location of one of the page elements included in the target page, the execution body may determine that the user needs to count the number of operations of the user using the target page on the visualization operation of the page element. Thus, the page element corresponding to the circled position may be stored as a complement circled object into the circled object set.
As can be seen from fig. 3, unlike the embodiment shown in fig. 2, this embodiment highlights the step of locating the selected position corresponding to the selected position information as the position of one of the page elements included in the target page, so that the accuracy of the content that the user needs to select is further improved.
With further reference to fig. 4, a flow 400 of yet another embodiment of an information storage method is shown. The process 400 of the information storage method includes the steps of:
step 401, operation information of performing a circle selection operation on a target page by a user through a terminal is received.
Step 402, determining whether the position corresponding to the circled position information is the position of one of the page elements included in the target page.
In step 403, in response to determining that the location corresponding to the circle location information is not the location where one of the page elements included in the face page is located, at least part of the page elements included in the target page are stored as associated circle objects in the circle object set.
The specific processes and the beneficial effects of steps 401, 402 and 403 in this embodiment may refer to the related descriptions of the implementation manners of steps 201, 202 and 203 in the corresponding embodiment of fig. 2, which are not repeated herein.
In step 404, in response to determining that the circle location corresponding to the circle location information is the location of one of the page elements included in the target page, the page element corresponding to the circle location is stored as the target circle object into the circle object set.
The specific processing of step 404 and the advantages associated with it may be referred to the relevant description of the implementation of step 304 in the corresponding embodiment of fig. 3, and will not be described here again.
Step 405, obtaining a page element with the same position indicated by the path associated with the target circled object in the target page.
In this embodiment, the execution body of the information storage method may further acquire a page element in the target page that is the same as the position indicated by the path associated with the target circled object. That is, the execution body may acquire, from page elements included in the target page, page elements identical to pages to which the target circled object is jumped to after performing the visualization operation.
And step 406, storing the acquired at least part of page elements into a circled object set as the circled object associated with the target circled object.
In this embodiment, from among the acquired page elements, the page element with the higher click frequency or use frequency obtained based on statistics may be used as the circling object associated with the target circling object. All the acquired page elements can be taken as the circled objects associated with the target circled object. The circled object associated with the target circled object may then be stored into the set of circled objects.
In some optional implementations of the present embodiment, storing the acquired at least part of the page elements as the circled object associated with the target circled object into the circled object set may specifically include: presenting the acquired page elements; receiving a page element selected by a user through a terminal; and storing the received page element into a circled object set as a circled object associated with the target circled object.
As can be seen from fig. 4, unlike the embodiments shown in fig. 2 and 3, this embodiment highlights the step of acquiring the same page element as the position indicated by the path associated with the face-circled object. Therefore, the content selected by the circle can be more comprehensive, and the richness of the content selected by the circle is improved.
With further reference to fig. 5, as an implementation of the method shown in the foregoing figures, the present application provides an embodiment of an information storage device, where the embodiment of the device corresponds to the embodiment of the method shown in fig. 2, and the device is particularly applicable to various electronic apparatuses.
As shown in fig. 5, the information storage apparatus 500 provided in the present embodiment includes a receiving unit 501, a determining unit 502, and a first storage unit 503. Wherein, the receiving unit 501 is configured to receive operation information of performing a circle selection operation on the target page by a user through the terminal, and the operation information includes circle selection position information. The determining unit 502 is configured to determine whether the location corresponding to the circled location information is the location where one of the page elements included in the target page is located. The first storage unit 503 is configured to store at least part of the page elements included in the target page as associated circled objects into the circled object set in response to determining that the position corresponding to the circled position information is not the position where one of the page elements included in the target page is located.
In this embodiment, the specific processes and the beneficial effects of the receiving unit 501, the determining unit 502 and the first storing unit 503 in the information storage device 500 can be referred to in the corresponding embodiment of fig. 2 for the relevant description of the implementation manners of step 201, step 202 and step 203, which are not repeated here.
In some optional implementations of this embodiment, the information storage device 500 further includes: and a second storage unit (not shown) configured to store, as a target circled object, the page element corresponding to the circled position as a target circled object in response to determining that the circled position corresponding to the circled position information is the position where one of the page elements included in the target page is located.
In some optional implementations of this embodiment, the information storage device 500 further includes: an acquisition unit (not shown) configured to acquire a page element in the target page that is the same as a position indicated by a path associated with the target circled object; a third storage unit (not shown) configured to store the acquired at least part of the page elements as a circled object associated with the target circled object into the circled object set.
In some optional implementations of this embodiment, the third storage unit (not shown) is further configured to: presenting the acquired page elements; receiving a page element selected by a user through a terminal; and storing the received page element into a circled object set as a circled object associated with the target circled object.
In some optional implementations of this embodiment, the first storage unit 503 is further configured to: respectively determining paths associated with page elements included in a target page; selecting the page elements with the same positions indicated by the associated paths from the page elements included in the target page; and storing the selected page element as an associated circled object into a circled object set.
Referring now to FIG. 6, there is illustrated a schematic diagram of a computer system 600 suitable for use in implementing an electronic device of an embodiment of the present application. The electronic device shown in fig. 6 is only an example and should not be construed as limiting the functionality and scope of use of the embodiments of the application.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the system 600 are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other through a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, mouse, etc.; an output portion 607 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The drive 610 is also connected to the I/O interface 605 as needed. Removable media 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on drive 610 so that a computer program read therefrom is installed as needed into storage section 608.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network through the communication portion 609, and/or installed from the removable medium 611. The above-described functions defined in the method of the present application are performed when the computer program is executed by a Central Processing Unit (CPU) 601. The computer readable medium according to the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, 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), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present application, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code 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 kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts 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 application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, 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.
The units involved in the embodiments of the present application may be implemented in software or in hardware. The described units may also be provided in a processor, for example, described as: a processor includes a receiving unit, a determining unit, and a first storage unit. The names of these units do not constitute a limitation on the unit itself in some cases, and for example, the receiving unit may also be described as "a unit that receives operation information of a user performing a circling operation on a target page through a terminal".
As another aspect, the present application also provides a computer-readable medium that may be contained in the electronic device described in the above embodiment; or may exist alone without being incorporated into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving operation information of a user for carrying out circle selection operation on a target page through a terminal, wherein the operation information comprises circle selection position information; determining whether the position corresponding to the circle selection position information is the position of one of the page elements included in the target page; and in response to determining that the position corresponding to the circling position information is not the position of one of the page elements included in the target page, storing at least part of the page elements included in the target page as associated circling objects into the circling object set.
The above description is only illustrative of the preferred embodiments of the present application and of the principles of the technology employed. It will be appreciated by persons skilled in the art that the scope of the application referred to in the present application is not limited to the specific combinations of the technical features described above, but also covers other technical features formed by any combination of the technical features described above or their equivalents without departing from the inventive concept described above. Such as the above-mentioned features and the technical features disclosed in the present application (but not limited to) having similar functions are replaced with each other.