CN106357834B - Method for calling information from root domain name and sub-domain name thereof - Google Patents

Method for calling information from root domain name and sub-domain name thereof Download PDF

Info

Publication number
CN106357834B
CN106357834B CN201610777258.1A CN201610777258A CN106357834B CN 106357834 B CN106357834 B CN 106357834B CN 201610777258 A CN201610777258 A CN 201610777258A CN 106357834 B CN106357834 B CN 106357834B
Authority
CN
China
Prior art keywords
domain name
information
behavior
sub
browsing
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
CN201610777258.1A
Other languages
Chinese (zh)
Other versions
CN106357834A (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.)
SHANGHAI 2345 NETWORK TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI 2345 NETWORK TECHNOLOGY 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 SHANGHAI 2345 NETWORK TECHNOLOGY Co Ltd filed Critical SHANGHAI 2345 NETWORK TECHNOLOGY Co Ltd
Priority to CN201610777258.1A priority Critical patent/CN106357834B/en
Publication of CN106357834A publication Critical patent/CN106357834A/en
Application granted granted Critical
Publication of CN106357834B publication Critical patent/CN106357834B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/30Managing network names, e.g. use of aliases or nicknames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

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

Abstract

The invention provides a method for calling in root domain name and sub domain name thereofA method of information, comprising: detecting the browsing behavior of each sub-domain under a root domain name, wherein the behavior mark information M of each sub-domain is stored under the root domain name1To MN1 to N are the numbers of the sub domain names; responding to the browsing behavior of the current sub-domain name, comprising: if the behavior marking information M of the current sub-domain namenIf the sub-domain name is not marked, the browsing information of the current sub-domain name is called from the server, and the behavior marking information M of the current sub-domain name is markednN is the number of the current sub-domain name; if the behavior marking information M of the current sub-domain namenAnd if the sub-domain name is marked, the browsing behavior of the current sub-domain name is carried out based on the browsing information of the current sub-domain name called before. The invention can solve the problem of data congestion of the server under multiple domain names.

Description

Method for calling information from root domain name and sub-domain name thereof
Technical Field
The invention relates to the technical field of computers, in particular to a method for calling information from a root domain name and a sub-domain name thereof.
Background
In recent years, with the rapid development of the internet, the construction of information infrastructure is accelerated in each big city in China, network application is actively promoted, online services are developed, and more users are on the internet. In order to better realize communication, publicity and product sale, more and more enterprises or individuals build own websites, hundreds of millions of websites appear, and the computer internet industry is rapidly developed. Because the IP address of the website is difficult to be memorized and used by people, the domain name is the IP address recorded in a character form, and the corresponding IP address is indicated by using the domain name, so that the service end can know the served website.
In the prior art, if a user needs to access a website service in a browser, a domain name needs to be provided, and a browsing behavior is performed on a page under the domain name. The website management comprises website security, website recommendation, domain name replacement and the like. In order for the server to know the website to be served, the server should be informed of the domain name of the website. Typically, the root domain name and each of the sub-domain names under the root domain name are managed by the same site leader. The multiple sub-domain names under the root domain name share user browsing information (such as video data collection) based on the affiliation between the root domain name and the sub-domain names, and the browsing information is stored in the server under the root domain name. When a user logs in a sub-domain, browsing information is synchronous, and the browsing information and the like can be called from a server, and if the user logs in a page of the sub-domain at each time and frequently calls, data congestion can be caused to the server of the root domain, and calling pressure is generated.
Disclosure of Invention
The technical problem solved by the technical scheme is that data congestion is caused to a root domain name server by frequently calling information under a plurality of sub-domain names.
In order to solve the above technical problem, a method for calling information from a root domain name and sub-domain names thereof includes:
detecting the browsing behavior of each sub-domain under a root domain name, wherein the behavior mark information M of each sub-domain is stored under the root domain name1To MN1 to N are the numbers of the sub domain names;
responding to the browsing behavior of the current sub-domain name, comprising: if the behavior marking information M of the current sub-domain namenIf the sub-domain name is not marked, the browsing information of the current sub-domain name is called from the server, and the behavior marking information M of the current sub-domain name is markednN is the number of the current sub-domain name; if the behavior marking information M of the current sub-domain namenAnd if the sub-domain name is marked, the browsing behavior of the current sub-domain name is carried out based on the browsing information of the current sub-domain name called before.
Optionally, the browsing behavior includes at least one of a login behavior, a collection behavior, a play behavior, a save behavior, and a download behavior; correspondingly, the browsing information includes: at least one item of information of browsing information, collection information, playing information, saving information and downloading information and an information catalog.
Optionally, the method for calling information from the root domain name and the sub-domain names thereof further includes: and acquiring the sub domain name.
Optionally, the obtaining the sub-domain name includes:
detecting a first instruction input by a user and the type of the first instruction;
if the type of the first instruction is an instruction for adding a website, acquiring a domain name input by a user;
if the domain name is a root domain name, automatically acquiring a sub-domain name under the root domain name;
the acquired sub-domain name is displayed and user selection is accepted.
Optionally, the obtaining the sub-domain name further includes:
and if the domain name is a sub-domain name, displaying the sub-domain name and loading a sub-domain name page.
Optionally, the browsing behavior includes: updating browsing of corresponding browsing informationA behavior; if the updating comprises adding or deleting the browsing information, marking the behavior marking information M of the current sub-domain namenThe mark is cleared.
Optionally, the browsing behavior includes: updating the browsing behavior corresponding to the browsing information; if the updating comprises adding or deleting the browsing information, marking the behavior marking information M of each sub-domain name respectively1To MNThe mark is cleared.
Optionally, the detecting the browsing behavior of each sub-domain name under the root domain name includes: distributing user authority according to a second instruction input by the user on the sub domain name page; the method further comprises the following steps:
judging the category of the browsing behavior based on the user permission and a third instruction input by the user;
and if the browsing behavior is to add, delete or read the called browsing information, adding, deleting or reading the called browsing information based on the information directory.
Optionally, the method for calling information from the root domain name and the sub-domain names thereof further includes:
initializing/reloading the current sub-domain name page, then the behavior marking information M of the current sub-domain namenThe mark is cleared.
Optionally, the root domain name stores character string information, where the character string information is information formed by N-bit binary data, a bit number of the character string information corresponds to a number of the sub-domain name, and the binary data on the bit number is 1 when the behavior flag information of the number corresponding to the bit number is marked, and is 0 when the behavior flag information is not marked.
The technical scheme of the invention at least comprises the following beneficial effects:
the technical scheme of the invention sets the behavior marking information of the sub-domain names under the root domain name to uniformly respond to the same browsing behavior of the same sub-domain name under the root domain name, and the browsing information is called to avoid frequent calling. When the current sub-domain name first requests response information, the behavior marking information corresponding to the sub-domain name is marked, based on the marking, the same browsing behavior on the current sub-domain name can be directly responded without calling the same browsing information again, and therefore sharing of the response information among the sub-domain names is achieved. According to the technical scheme, the calling pressure of the root domain name server can be greatly reduced, and the problem of data congestion of the root domain name server can be effectively solved.
In the alternative scheme of the invention, the behavior marking information of the sub-domain name can clear the mark due to the updating of the browsing information and the initialization/reloading of the sub-domain name page, so that the updating and the recalling of the browsing information can be called, when the same browsing behavior is continuously carried out on the current sub-domain name, the direct reading of the browsing information can be kept, the updating and the recalling of the browsing information can be completed in time, the timely response of the browsing behavior is kept, and the problem of data congestion of the root domain name server can be further solved.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:
fig. 1 is a schematic flow chart of a method for retrieving information from a root domain name and sub-domain names thereof according to a technical solution of the present invention;
fig. 2 is a schematic flow chart illustrating steps of responding to a browsing behavior of a current sub-domain name according to the present invention;
fig. 3 is a schematic flow chart of a step of acquiring a current sub-domain name according to the technical solution of the present invention;
fig. 4 is a schematic flow chart of another method for retrieving information from a root domain name and sub-domain names thereof according to the technical solution of the present invention;
fig. 5 is a schematic flow chart illustrating steps of updating browsing behavior corresponding to browsing information according to the technical solution of the present invention;
fig. 6 is a schematic flow chart of another method for retrieving information from a root domain name and sub-domain names thereof according to the technical solution of the present invention;
fig. 7 is a schematic flow chart of another method for retrieving information from a root domain name and a sub-domain name thereof according to the technical solution of the present invention.
Detailed Description
In order to better and clearly show the technical scheme of the invention, the invention is further described with reference to the attached drawings.
The general root domain name server undertakes data interaction of each sub-domain name, once the browsing behavior of each sub-domain name frequently requests the server to respond, the server response frequency is too high, and the data interaction amount of the data at the same time is too large, so that server data congestion is caused, and the processing efficiency of webpage browsing data is influenced.
Example one
In order to solve the above technical problem, this embodiment provides a method for calling information in a root domain name and a sub-domain name thereof, as shown in fig. 1, including:
and step S100, detecting the browsing behavior of each sub-domain under the root domain name.
It can be understood that the detecting of the browsing behavior of each sub-domain under the root domain name in this step includes: and detecting whether a user input instruction exists on a page of the user terminal and judging the type of the user input instruction. The user terminal may be a browser in a computer, a mobile phone, etc. The page of the user terminal is usually a page in a website management service accessed through a browser, and the server sends back response information according to the operation of the user on the accessed page.
In the initialization stage, the instruction input by the user may be an instruction to add a website, that is, the user inputs a domain name in a pop-up window, and the server obtains the sub-domain name and loads a page of the sub-domain name through the domain name input by the user.
If the page of the sub-domain name is loaded, the instruction input by the user may be an instruction for performing a browsing behavior operation according to website information, functions, and menus, where the browsing behavior includes at least one of a login behavior, a collection behavior, a play behavior, a save behavior, and a download behavior:
if the login behavior is the input behavior, the instruction input by the user is an instruction for inputting browsing information and requesting to return login success; if the collection behavior is the collection behavior, the instruction input by the user is an instruction for confirming the collection and requesting to return the collection success; if the action is a playing action, the instruction input by the user is an instruction for confirming playing and requesting to return to the playing success; if the action is the saving action, the instruction input by the user is an instruction for confirming the saving and requesting to return to the successful saving; and if the downloading behavior is the downloading behavior, the instruction input by the user is an instruction for confirming the downloading and requesting to return the downloading success.
With continuing reference to fig. 1, the method of this embodiment further includes:
and step S101, responding to the browsing behavior of the current sub-domain name.
In this step, the step of responding to the browsing behavior of the current sub-domain name mainly includes: and calling browsing information, wherein the browsing information is stored in a server under the root domain name. The server responds to the instruction (particularly request instruction) input by the user and calls the browsing information to complete the browsing behavior of the user. Corresponding to the browsing behavior, the browsing information includes: at least one item of information of browsing information, collection information, playing information, saving information and downloading information and an information catalog. The server responds to the user instruction and calls the information to support the completion of the browsing behavior of the user.
More specifically, the browsing information further includes: user information, browsing history information; the collection information further includes: user information and historical collected webpage link information; the playing information further includes: user information and information of a historical playing video; the saving information further comprises: user information and information of history saved web page files; the download information includes: user information and information of historical downloaded web page files.
It should be noted that the browsing behavior is not limited to the browsing action described in this embodiment, all browsing behaviors generated and set based on web browsing are included in the implementation scope of the technical solution of the present invention, the browsing information is also not limited to the browsing information described in this embodiment, the information category included in general browsing information is related to the corresponding browsing behavior, and includes user information and information generated by historical browsing behavior, the user information is related to the right to execute the browsing behavior, and on the premise that the right to execute the browsing behavior is opened in web browsing, the browsing information may be related to only the IP address where the user is located, or the IP address where the user is located is used as a directory identification for storing the browsing information. Therefore, on the premise of opening the web page browsing permission, the user information is the IP address where the user is located, and on the premise of adapting to the user permission in web page browsing, the user information is user name and password information stored in a domain name server and has the permission corresponding to the operation browsing behavior.
In this step, the executing the browsing behavior of the current sub-domain name includes: and executing the browsing behavior of the current sub-domain name based on the browsing information. The execution of the browsing behavior comprises the generation of browsing data, wherein the generation of the browsing data can be data storage, data caching and data deletion. In this embodiment, the current sub-domain name is different from other sub-domain names, and refers to a sub-domain name that is currently acquired based on a user request and performs a browsing behavior.
In this embodiment, the step of responding to the browsing behavior of the current sub-domain name is executed and the behavior mark information M of each sub-domain name is stored under the root domain name1To MNIt is related. Wherein 1 to N are the numbers of the sub domain names. The browsing behavior responding to the current sub-domain name is specifically marked according to the corresponding behavior mark information M of the current sub-domain namenThe marking of the case (2) is performed. Wherein n is the number of the current sub-domain name.
Different from the prior art, the embodiment further stores the behavior mark information M corresponding to each sub-domain name under the root domain name1To MNConsidering that the servers of each sub-domain are all suitable for the root domain server, the behavior marking information M is1To MNThe root domain name is arranged under the root domain name, so that the advantages of rapid and uniform allocation of the information are achieved. Initializing/reloading the current sub-domain name page, then the behavior marking information M of the current sub-domain namenThe mark is cleared.
Behavior marker information M1To MNThe information mode of (2) is flexible, and the setting thereof can have diversity. At the time of information processing, behavior flag information M can be configured1To MNI.e. each behavior flag information M1To MNRead and write as a single information source, and also configure a behavior marking informationThe behavior mark information is multibit string information, each string information in the string represents a behavior mark information M1To MN
In this embodiment, the latter scheme is adopted, where the root domain name stores character string information, the character string information is information formed by N-bit binary data, the bit number of the character string information corresponds to the number of the sub-domain name, and the binary data on the bit number is 1 when the behavior flag information corresponding to the number of the bit number is marked, and is 0 when the behavior flag information is not marked.
Based on the foregoing principle, with reference to fig. 2, the step of responding to the browsing behavior of the current sub-domain specifically includes:
step S200, obtaining the corresponding behavior mark information M of the current sub-domain namen
Judging the behavior marking information MnWhether marked or not, if marked, executing step S202, and if not marked, executing step S201:
step S201, the browsing information of the current sub-domain name is called from the server, and the behavior marking information M of the current sub-domain name is markedn
Step S202, based on the browsing information of the current sub-domain name called before, the browsing behavior of the current sub-domain name is performed.
As can be seen from the flow of steps S200 to S202, the browsing information of the current sub-domain must be called when the user performs the browsing action on the sub-domain page, and in the prior art, the browsing information in the root domain name server needs to be frequently called each time the user performs the browsing action on the sub-domain page. It should be noted that the domain name servers of the respective sub-domain names are all servers under the root domain name, and each browsing behavior in each sub-domain name calls data from the root domain name server when executed, so that data congestion of the root domain name server is very serious. According to the technical scheme of the embodiment, the behavior marking information for marking and controlling the browsing behavior of the corresponding sub-domain name page is arranged under the root domain name, so that the same browsing behavior of the page under the same sub-domain name can directly call the previously loaded browsing information based on the marked behavior marking information, the browsing behavior is responded and realized, and the calling pressure of the root domain name server is reduced.
It should be noted that, in this embodiment, each group of behavior flag information M1To MNIs aimed at the same browsing behavior, and the behavior marking information MnIt is for the same browsing behavior detected on the sub-domain name numbered n. For example, for a collection behavior, the first behavior flag information stored under the root domain name is M1(1)To MN(1)The method corresponds to the marking condition of the collection behaviors on the sub-domain name pages with the numbers from 1 to N. And for corresponding downloading behaviors, the second behavior marking information stored under the root domain name is M1(2)To MN(2)It corresponds to the labeling of the download behavior on the sub domain name pages numbered 1 to N. In this embodiment, the browsing behaviors of the root domain name corresponding to the sub-domain name have corresponding behavior marks.
In step S201 of the present embodiment, behavior flag information M for marking the current sub-domain namenThere may be the following labeling opportunities: the marking can be carried out after the browsing information is successfully called from the current sub-domain name, or the browsing information can be called from the current sub-domain name and the browsing of the current sub-domain name can be carried out
Because the root domain name is provided with a plurality of sub-domain names, the sub-domain names are sequenced and numbered in the embodiment, and the sequence of the sequencing and numbering can be based on the principle of the commonly used sub-domain names or the random principle.
Example two
Different from the first embodiment, the present embodiment further defines a specific step of acquiring the current sub-domain name. Referring to fig. 3, the obtaining the current sub-domain name includes:
step S300, a first instruction input by a user and a type of the first instruction are detected.
Step S301, if the type of the first instruction is an add website instruction, acquiring a domain name input by a user.
Step S302, if the domain name is the root domain name, automatically acquiring the sub domain name under the root domain name.
Step S303, displaying the acquired sub domain name and accepting a user selection.
Step S304, when the selection instruction of the user is obtained, displaying the current sub-domain name according to the sub-domain name selected by the user and loading the page of the current sub-domain name.
It should be noted that, in other embodiments, the specific process of acquiring the current sub-domain name may also be configured to directly acquire the sub-domain name information input by the user when the network instruction is added, and directly display the current sub-domain name and load the information of the current sub-domain name according to the sub-domain name information input by the user.
EXAMPLE III
The embodiment further provides a more specific method for calling information from the root domain name and the sub-domain names thereof, as shown in fig. 4, including: steps S100 to S101 according to embodiment one; and the number of the first and second groups,
step S400, judging whether the browsing behavior is the browsing behavior for updating the corresponding browsing information. If yes, go to step S401.
Step S401, marking the behavior marking information M of the current sub-domain namenThe mark is cleared.
In this embodiment, with reference to fig. 5, the updating of the browsing behavior corresponding to the browsing information is determined as follows:
step S500, judging the category of the browsing behavior based on a second instruction input by a user;
step S501, adding, deleting or reading the browsing information of the browsing behavior according to the category of the browsing behavior and the called browsing information of the current sub-domain name, and adding, deleting or reading the called browsing information based on the information directory;
step S502, if it is detected that the browsing information of the user is added or deleted under the information directory of the browsing information, the browsing behavior is determined to be a browsing behavior for updating the corresponding browsing information.
Of course, the above-mentioned determination of the browsing behavior category is to acquire the behavior flag information of the current sub-domain name, and the behavior flag information is acquired based on the number of the sub-domain name and the category of the browsing behavior (refer to the discussion of the first embodiment).
Example four
The embodiment further provides a more specific method for calling information from the root domain name and the sub-domain names thereof, as shown in fig. 6, including: steps S100 to S101 according to embodiment one; and the number of the first and second groups,
step S600, determining whether the browsing behavior is a browsing behavior for updating corresponding browsing information. If yes, go to step S601.
Step S601, marking the behavior marking information M of each sub domain name1To MNThe mark is cleared.
Different from the third embodiment, in this embodiment, after the browsing behavior of the current sub-domain page is detected and the browsing information is updated, the behavior mark information M of all sub-domains is marked1To MNThe flag is cleared, which is mainly performed according to the sharing of the browsing information in the sub-domain name. When a plurality of sub-domain names exist under the root domain name, the sub-domain names can share browsing information based on the root domain name server and the same user information, and under the setting background, the browsing information under the user behavior is updated no matter the current sub-domain name or other sub-domain names, so that when the same type of browsing behavior is executed later, the sub-domain name server (namely, the root domain name server) needs to respond to the browsing behavior and recall the corresponding browsing information. Whether the current sub-domain name or the browsing behavior under the sub-domain name exists, the updated browsing data needs to be called to the root domain name server again when the response is executed. The embodiment provides a way for solving the problem of marking behavior marking information under the condition of updating the browsing information so as to provide a more complete browsing behavior execution process. The embodiment can optimize the interaction efficiency of browsing information between the sub-domain names and the server.
EXAMPLE five
In this embodiment, the user right is required to update the browsing information when the browsing behavior is performed on the current sub-domain name or when the browsing behavior is performed. A method for retrieving information in a root domain name and sub-domain names thereof, as shown in fig. 7, further includes:
and step S700, distributing user authority according to a third instruction input by the user on the current sub-domain name page.
The third instruction mainly comprises user name and password information input by the user, and the distributed user authority is related to browsing behaviors allowed by the user and information which can be added, deleted and read in the browsing information:
for example, for the authority of a common user, the user can only perform login behavior, collection behavior and storage behavior, but cannot perform play behavior and download behavior; for the high-level user authority, the system can not only perform login behavior, collection behavior and storage behavior, but also perform play behavior and download behavior.
In another example, for the authority of a common user, the collection behavior can be performed, but the collection behavior can only perform collection addition on part of links or image-text information on a sub domain name page, and part of browsing information automatically added by the system in the browsing information cannot be deleted. But for advanced users, the collection behavior can be carried out, the collection behavior can carry out collection and addition on all links or image-text information on a sub domain name page, and also can delete part of browsing information automatically added by a system in the browsing information.
Application example
The application example of the technical scheme of the invention provides a method for calling information from a root domain name and sub-domain names thereof, wherein the root domain name is com, and the root domain name is respectively provided with four sub-domain names which are respectively v.
The method of the application example specifically comprises the following procedures:
setting behavior marking information M under root domain name v1To M4If the behavior marking information adopts a random ordering scheme and the application example has four sub-domain names, the information mode of the behavior marking information is a four-bit binary character string, the initialized value is 0000, and the one-bit element information represents v1The ten-bit element information represents the behavioral tagging information M of dianying2The one-hundred-bit element information represents the behavior mark information M of tv3The thousand-bit element information represents the behavior mark information M of dongman4. Behavior marker information M1To M4Each element of (1) represents an identifier of the sub-domain name of the corresponding number, wherein if the element is 0, it represents that the browsing information request is not initiated under the sub-domain name, and if the element is 1, it represents that the browsing information request is initiated under the sub-domain name. The technical scheme of the invention sets the mark information M1To M4The browsing behavior (such as the collection behavior) when the user browses the sub-domain is taken as the unified statistics, whether the user initiates a browsing information request on the current sub-domain page or not can be known, if the browsing information request is initiated, the current sub-domain page is directly called without initiating the information request again when initiating the browsing information request again, and therefore the pressure of the server is relieved.
Behavior marking information M under root domain name ·1To M4The type of the corresponding browsing behavior is set separately, for example, the mark information M is set corresponding to the collection behavior1(1)To M4(1)Setting marking information M corresponding to the playing behavior1(2)To M4(2)Setting flag information M corresponding to the save action1(3)To M4(3)Setting marking information M corresponding to the downloading behavior1(4)To M4(4)And so on.
When the current sub-domain name page is loaded and initialized, all the behavior marking information M1To M4And marking as 0, if each sub domain name initiates access and requests browsing information, setting the corresponding marking bit as 1, otherwise, still being 0.
Taking the collection behavior initiated by the user as an example:
and storing the browsing information of the current sub-domain name collection film in a server, setting the domain name mark corresponding to the collection initiating action as 1, and setting the marks of the other second-level domain names as 0, so as to realize the intercommunication of the information between the second-level domain names.
Marking information M at initialization1(1)To M4(1)All are 0, if the user browses the sub-domain name v1(1)To 1, information M is marked1(1)To M4(1)Becomes 0001 if thisWhen the user browses the sub-domain name tv3(1)To 1, information M is marked1(1)To M4(1)It becomes 0101.
When the user conducts the browsing behavior of the same category, namely the collection behavior, under the domain name v.
However, if the collection behavior of the user in the domain name v1(1)Resetting to 0, and then performing collection action under the domain name v1(1)And pulling the collection information in the server again.
The above process steps correspond to v.
It should be noted that, since v. In the above case, if the behavior flag information M1To M4If one of the marked information is marked to be cleared, the behavior mark information M1To M4Is also marked clear. In the technical scheme of the invention, when the browsing information of the user under the sub-domain name changes due to system updating, user operation updating and the like, the behavior mark information M1To M4And clearing, namely clearing the mark, wherein the significance of the clearing mark is that the browsing data is updated, and the user browsing response under the sub-domain needs to pull new browsing information to the server again. If the browsing information response of the user under the sub-domain name is called, the behavior marking information M1To M4The behavior marking information corresponding to the sub-domain name is marked as 1, and the marking meaning is that the server does not need to respond to the same type of browsing behavior againBut directly provides the browsing information (aiming at the same type of browsing behavior under the same sub-domain name) which is called before.
The foregoing description of specific embodiments of the present invention has been presented. It is to be understood that the present invention is not limited to the specific embodiments described above, and that various changes and modifications may be made by one skilled in the art within the scope of the appended claims without departing from the spirit of the invention.

Claims (10)

1. A method for calling information from a root domain name and sub-domain names thereof, comprising:
detecting the browsing behavior of each sub-domain under a root domain name, wherein the behavior mark information M of each sub-domain is stored under the root domain name1To MN1 to N are the numbers of the sub domain names;
responding to the browsing behavior of the current sub-domain name, comprising: if the behavior marking information Mn of the current sub-domain name is not marked, the browsing information of the current sub-domain name is called from the server, and the behavior marking information M of the current sub-domain name is markednN is the number of the current sub-domain name; if the behavior marking information M of the current sub-domain namenWhen the sub-domain name is marked, the browsing behavior of the current sub-domain name is carried out based on the browsing information of the current sub-domain name called before, and when the information is processed, behavior marking information can be configured, wherein the behavior marking information is multibit string information, and each piece of string information in a string represents behavior marking information M1To MN
2. The method of claim 1, wherein the browsing behavior comprises at least one of a login behavior, a collection behavior, a play behavior, a save behavior, and a download behavior; correspondingly, the browsing information includes: at least one item of information of history browsing information, collection information, playing information, saving information and downloading information and an information catalog.
3. The method of calling information in a root domain name and its subdomain names according to claim 1, further comprising: and acquiring the sub domain name.
4. The method of claim 3, wherein the obtaining the sub-domain name comprises:
detecting a first instruction input by a user and the type of the first instruction;
if the type of the first instruction is an instruction for adding a website, acquiring a domain name input by a user;
if the domain name is a root domain name, automatically acquiring a sub-domain name under the root domain name;
the acquired sub-domain name is displayed and user selection is accepted.
5. The method of claim 4, wherein the obtaining the sub-domain name further comprises:
and if the domain name is a sub-domain name, displaying the sub-domain name and loading a sub-domain name page.
6. A method of invoking information in a root domain name and its sub-domain names according to claim 1, wherein the browsing behavior comprises: updating the browsing behavior corresponding to the browsing information; and if the updating comprises adding or deleting the browsing information, clearing marks from the behavior marking information Mn of the current sub-domain name.
7. A method of invoking information in a root domain name and its sub-domain names according to claim 1, wherein the browsing behavior comprises: updating the browsing behavior corresponding to the browsing information; if the updating comprises adding or deleting the browsing information, marking the behavior marking information M of each sub-domain name respectively1To MNThe mark is cleared.
8. The method of claim 2, wherein the step of detecting the browsing behavior of each sub-domain under the root domain comprises: distributing user authority according to a second instruction input by the user on the sub domain name page; the method further comprises the following steps:
judging the category of the browsing behavior based on the user permission and a third instruction input by the user;
and if the browsing behavior is to add, delete or read the called browsing information, adding, deleting or reading the called browsing information based on the information directory.
9. The method of calling information in a root domain name and its subdomain names according to claim 1, further comprising:
initializing/reloading the current sub-domain name page, then the behavior marking information M of the current sub-domain namenThe mark is cleared.
10. The method according to claim 1, wherein the root name stores therein character string information composed of N-bit binary data, the number of bits of the character string information corresponding to the number of the sub-domain name, and the binary data on the number of bits thereof is 1 when the behavior flag information corresponding to the number of the bit is marked and is 0 when the behavior flag information is not marked.
CN201610777258.1A 2016-08-30 2016-08-30 Method for calling information from root domain name and sub-domain name thereof Active CN106357834B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610777258.1A CN106357834B (en) 2016-08-30 2016-08-30 Method for calling information from root domain name and sub-domain name thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610777258.1A CN106357834B (en) 2016-08-30 2016-08-30 Method for calling information from root domain name and sub-domain name thereof

Publications (2)

Publication Number Publication Date
CN106357834A CN106357834A (en) 2017-01-25
CN106357834B true CN106357834B (en) 2020-01-07

Family

ID=57857146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610777258.1A Active CN106357834B (en) 2016-08-30 2016-08-30 Method for calling information from root domain name and sub-domain name thereof

Country Status (1)

Country Link
CN (1) CN106357834B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761628A (en) * 2012-06-28 2012-10-31 北京奇虎科技有限公司 Pan-domain name identification and processing device and method
CN104111829A (en) * 2014-06-25 2014-10-22 小米科技有限责任公司 Data storage method and device
CN104615771A (en) * 2015-02-13 2015-05-13 广州华多网络科技有限公司 Webpage data acquiring method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761628A (en) * 2012-06-28 2012-10-31 北京奇虎科技有限公司 Pan-domain name identification and processing device and method
CN104111829A (en) * 2014-06-25 2014-10-22 小米科技有限责任公司 Data storage method and device
CN104615771A (en) * 2015-02-13 2015-05-13 广州华多网络科技有限公司 Webpage data acquiring method and device

Also Published As

Publication number Publication date
CN106357834A (en) 2017-01-25

Similar Documents

Publication Publication Date Title
JP6643490B2 (en) Session-based matching of variable browser identifiers
TWI476712B (en) Social network notifications for external updates
CN100499596C (en) Instant messaging object store
US9383988B2 (en) System and method for using directed acyclic graph (DAG) for application updates
US9449113B2 (en) Browser storage management
US11232223B2 (en) Providing web application components within remote systems
JP2007102780A (en) Bookmark management device and bookmark management method
CN101388891A (en) Apparatus and method for managing presence information of a presentity
US20210377352A1 (en) Server-side configuration variables in feature testing
JP6760904B2 (en) Information processing equipment, information processing methods, and information processing programs
CN104765609A (en) Software related resource recommendation method, obtaining method and corresponding device
CN105264526A (en) Vertical-based query optionalizing
CN106357834B (en) Method for calling information from root domain name and sub-domain name thereof
US8230354B2 (en) Method and system for providing dynamic branding in a computer program or suite
WO2014047489A2 (en) Anonymous notification system and method with reduced traceability on end device
WO2015119424A1 (en) Password change method, password management device applying same, and computer-readable recording medium
US10068065B2 (en) Assignment of a machine-readable link to content as a payoff
US20050278419A1 (en) System and method for linking resources with actions
CN108536782A (en) Information processing unit and information processing method
US20220038400A1 (en) Integration of an email client with hosted applications
CN113988009A (en) Information delivery area generation method, information delivery method, electronic device and storage medium
US20150339490A1 (en) True-ownership of shared data
US20160092580A1 (en) System and method for providing contact information
US10453089B2 (en) Race condition avoidance in a multi-database environment
JP5639309B1 (en) Information processing apparatus, information processing method, program, and storage medium

Legal Events

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