CN111125567A - Equipment marking method and device, electronic equipment and storage medium - Google Patents

Equipment marking method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111125567A
CN111125567A CN201911333710.5A CN201911333710A CN111125567A CN 111125567 A CN111125567 A CN 111125567A CN 201911333710 A CN201911333710 A CN 201911333710A CN 111125567 A CN111125567 A CN 111125567A
Authority
CN
China
Prior art keywords
browser
equipment
marked
mark
identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911333710.5A
Other languages
Chinese (zh)
Other versions
CN111125567B (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.)
Wuba Co Ltd
Original Assignee
Wuba 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 Wuba Co Ltd filed Critical Wuba Co Ltd
Priority to CN201911333710.5A priority Critical patent/CN111125567B/en
Publication of CN111125567A publication Critical patent/CN111125567A/en
Application granted granted Critical
Publication of CN111125567B publication Critical patent/CN111125567B/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
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a device marking method, a device, an electronic device and a storage medium, which can realize the identification of the device by using a browser of the device and the information of the browser, and firstly obtain an identification picture of a page browsed by the browser; then, analyzing the identification picture by using a drawing tool of a browser to obtain a binary coding character string of the identification picture; then using the character string of the binary code character string for marking the equipment information as a check code; and finally, marking the equipment to be marked by using the check code and the attribute information of the browser. In the invention, because the picture character strings analyzed by the drawing tools of different browsers are different, the finally selected check codes are also different, the equipment is identified by adopting the check codes, so that the equipment has difference, and the uniqueness of equipment marking can be ensured by using the attribute information of the browser as an auxiliary marking.

Description

Equipment marking method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of software development technologies, and in particular, to a device labeling method and apparatus, an electronic device, and a storage medium.
Background
When a client device browses a Web page using a browser, a page request is usually sent to a server, and the server determines whether the client device is a new device or an old device according to a device identifier of the client device, so as to adopt different resource allocation modes and different page request processing modes for the client device, thereby ensuring that the browser can obtain the corresponding page.
At present, the identification code of the client device and the like are generally used as the device identifier of the client device, and then the device identifier is stored in a local folder of the client device as the unique identifier of the client device. When a browser in the client device sends a page request to the server, the browser acquires the device identifier from a local file of the client device and sends the device identifier. After receiving the device identifier, the server compares the device identifier with a pre-stored device identifier, if the device identifier is the same as the pre-stored device identifier, the server considers that the client device is an old device, and if the device identifier is not the same as the pre-stored device identifier, the server considers that the client device is a new device.
However, a large number of refreshing machines, emulational machines and the like exist in the client devices on the market at present, and identification codes in the refreshing machines, the emulational machines and the emulational machines are mostly obtained after the genuine machines are tampered, so that a large number of repeated identification codes exist among the client devices, the client devices are identified by the repeated identification codes, and the uniqueness of the client devices is difficult to guarantee.
Disclosure of Invention
The invention provides a device marking method, a device, electronic equipment and a storage medium, and aims to solve the problem that the uniqueness of the equipment is difficult to ensure by the existing device marking method.
In a first aspect, the present invention provides a device labeling method, including:
acquiring an identification picture of a page browsed by a browser, wherein the identification picture is a picture with fixed content on the page;
analyzing the identification picture by using a drawing tool of the browser to obtain a binary coding character string of the identification picture;
acquiring a check code from the binary code character string, wherein the check code is a character string which represents the equipment information of the equipment to be marked to which the browser belongs in the binary code character string;
and marking the equipment to be marked to which the browser belongs by using the check code and the attribute information of the browser.
With reference to the first aspect, in an implementation manner of the first aspect, after the marking, by using the check code and the attribute information of the browser, a device to be marked to which the browser belongs, includes:
acquiring a mark of the equipment to be marked, wherein the mark is used for representing a check code corresponding to the equipment to be marked and attribute information of a browser;
and saving the equipment identification corresponding to the mark in the server.
With reference to the first aspect, in an implementation manner of the first aspect, after the marking, by using the check code and the attribute information of the browser, a device to be marked to which the browser belongs, the method further includes:
when the browser browses the page again, detecting whether the equipment to be marked has a corresponding equipment identifier in the server;
and if the equipment to be marked does not have the corresponding equipment identification in the server, acquiring an identification picture of a page browsed by the browser.
With reference to the first aspect, in an implementation manner of the first aspect, the step of detecting whether a tag of the device to be tagged exists a corresponding device identifier in a server includes:
acquiring an identifier judgment threshold value and device identifiers respectively corresponding to all marked devices requesting the page in a server, wherein the device identifiers comprise check codes corresponding to the marked devices and attribute information of a browser;
and if the number of the mark information with the same content in the marks in the device marks is greater than or equal to a mark judgment threshold value, determining that the device to be marked has a corresponding device mark in the server, wherein the mark information is used for representing a check code and a plurality of attribute information of the browser.
With reference to the first aspect, in an implementation manner of the first aspect, after the marking, by using the check code and the attribute information of the browser, a device to be marked to which the browser belongs, the method further includes:
detecting whether changed attributes exist in the attributes of the browser;
if the changed attribute exists, acquiring the attribute information of the browser again;
generating a new mark of the equipment to be marked by using the check code and the new attribute information of the browser;
and establishing a corresponding relation between the new mark and the equipment identification of the browser in the server.
In a second aspect, the present invention provides an apparatus marking device, comprising:
the image acquisition module is used for acquiring an identification image of a page browsed by a browser, wherein the identification image is an image with fixed content on the page;
the picture analysis module is used for analyzing the identification picture by using a drawing tool of the browser to obtain a binary coding character string of the identification picture;
the check code acquisition module is used for acquiring a check code from the binary coded character string, wherein the check code is a character string which represents the equipment information of the equipment to be marked to which the browser belongs in the binary coded character string;
and the marking module is used for marking the equipment to be marked to which the browser belongs by utilizing the check code and the attribute information of the browser.
With reference to the second aspect, in an implementation manner of the second aspect, the device labeling apparatus further includes:
the mark acquisition module is used for acquiring a mark of the equipment to be marked, and the mark is used for representing a check code corresponding to the equipment to be marked and attribute information of a browser;
and the identification storage module is used for storing the equipment identification corresponding to the mark in the server.
With reference to the second aspect, in an implementation manner of the second aspect, the device labeling apparatus further includes:
the identification detection module is used for detecting whether the equipment to be marked has a corresponding equipment identification in the server when the browser browses the page again; and if the equipment to be marked does not have the corresponding equipment identification in the server, acquiring an identification picture of a page browsed by the browser.
With reference to the second aspect, in an implementation manner of the second aspect, the identifier detecting module includes:
the data acquisition unit is used for acquiring an identifier judgment threshold value and device identifiers respectively corresponding to all marked devices requesting the page in the server, wherein the device identifiers comprise check codes corresponding to the marked devices and attribute information of the browser;
and the identifier determining unit is used for determining that the equipment to be marked has a corresponding equipment identifier in the server if the number of the mark information with the same content in the marks in the equipment identifier is greater than or equal to an identifier judgment threshold, wherein the mark information is used for representing a check code and a plurality of attribute information of the browser.
With reference to the second aspect, in an implementation manner of the second aspect, the device labeling apparatus further includes:
the attribute detection module is used for detecting whether changed attributes exist in the attributes of the browser; if the changed attribute exists, acquiring the attribute information of the browser again;
the mark generation module is used for generating a new mark of the equipment to be marked by utilizing the check code and the new attribute information of the browser;
and the relationship establishing module is used for establishing a corresponding relationship between the new mark and the equipment identifier of the browser in the server.
In a third aspect, the present invention provides an electronic device, comprising:
a memory for storing program instructions;
a processor for calling and executing program instructions in said memory to implement the device tagging method of the first aspect.
In a fourth aspect, the present invention provides a storage medium having a computer program stored therein, which when executed by at least one processor of a device marking apparatus, causes the device marking apparatus to perform the device marking method of the first aspect.
According to the technical scheme, the equipment marking method, the equipment marking device, the electronic equipment and the storage medium can realize the identification of the equipment by utilizing the browser of the equipment and the information of the browser, and firstly, the identification picture of the page browsed by the browser is obtained; then, analyzing the identification picture by using a drawing tool of a browser to obtain a binary coding character string of the identification picture; then using the character string of the binary code character string for marking the equipment information as a check code; and finally, marking the equipment to be marked by using the check code and the attribute information of the browser. In the invention, because the picture character strings analyzed by the drawing tools of different browsers are different, the finally selected check codes are also different, the equipment is identified by adopting the check codes, so that the equipment has difference, and the uniqueness of equipment marking can be ensured by using the attribute information of the browser as an auxiliary marking.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without any inventive exercise.
Fig. 1 is a flowchart of an apparatus marking method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a page according to an embodiment of the present invention;
fig. 3 is a flowchart of saving a device tag in a server according to an embodiment of the present invention;
fig. 4 is a flowchart of detecting a device identifier provided in an embodiment of the present invention;
fig. 5 is a flowchart of identifying a device provided in an embodiment of the present invention;
fig. 6 is a schematic diagram illustrating a correspondence relationship between a tag of a device and a device identifier in a server according to an embodiment of the present invention;
fig. 7 is a block diagram of an apparatus marking device according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
In the existing method for identifying the client devices by using the identification codes, because a large number of refreshing machines, emulational machines and the like exist in the client devices on the market, most of the identification codes are obtained after being tampered by a legal copy machine, so that a large number of repeated identification codes exist among the client devices, the client devices are identified by using the repeated identification codes, and the uniqueness of the client devices is difficult to ensure. Therefore, the invention provides a device marking method, which utilizes a device browser to obtain a check code, and combines the attribute information of the browser to mark the device, thereby ensuring the uniqueness of the device mark.
Fig. 1 is a flowchart of an apparatus marking method according to an embodiment of the present invention. As shown in fig. 1, the method for marking a device according to the embodiment of the present invention includes:
s101, obtaining an identification picture of a page browsed by a browser, wherein the identification picture is a picture with fixed content on the page.
In the embodiment of the invention, the purpose of marking the equipment is that when the same equipment uses the browser to access the same page successively, the server can identify whether the equipment is old equipment for accessing the page through the mark of the equipment, if so, the equipment cannot be subjected to excessive verification operation, and the equipment is ensured to be smoother when accessing the page. It can be seen that the premise for identifying whether a device is an old device is that the devices access the same page sequentially. Since different browsers adopt different image processing tools to process the pictures and the obtained picture codes are different, in the embodiment of the invention, the pictures in the page are required to be used for marking the equipment.
However, in order to avoid the problem that the pictures in the page are changed due to the update of the content of the page, and further the generated picture codes are inconsistent, in the embodiment of the invention, a browser needs to be selected to access the fixed pictures in the page. For example, only the text content and text color of the "XXX" icon on the top page of the "XXX" website opened by the browser do not usually change, and fig. 2 is a schematic diagram of a page provided by an embodiment of the present invention, as shown in fig. 2, when the browser accesses the top page of the "XXX" website, the picture of "XXX" labeled as reference number 21 in fig. 2 may be selected as the identification picture.
It should be noted that the number of the selected identification pictures in the embodiment of the present invention may be greater than or equal to 1, but all the selected identification pictures must be pictures with fixed content on the page.
And S102, analyzing the identification picture by using a drawing tool of the browser to obtain a binary coding character string of the identification picture.
In the embodiment of the invention, the browser adopts a canvas tool to analyze the identification picture to obtain the binary coding character string of the picture. Among them, what is called in the canvas tool is the canvas.
S103, obtaining a check code from the binary coded character string, wherein the check code is the character string which represents the equipment information of the equipment to be marked to which the browser belongs in the binary coded character string.
The binary coded character string mainly comprises picture content information and equipment information, and because different equipment and different browsers generate different codes for the same picture, the equipment information in the binary coded character string can be said to be information with stronger uniqueness generated under the condition that the equipment and the browsers are simultaneously constrained, and further the equipment information is selected as a check code to mark the equipment in the embodiment of the invention. For example, the binary code character string of the identification picture analyzed by the canvas tool has 256 bits in total, where the first 200 bits represent the content of the identification picture, and the last 56 bits represent the device information, and then the device identification method in the embodiment of the present invention needs to select the device information of the last 56 bits as the check code to mark the device.
And S104, marking the to-be-marked equipment to which the browser belongs by using the check code and the attribute information of the browser.
The attribute information of the browser in the embodiment of the present invention includes a version number of the browser, a name of the browser, a language used by the browser, a CPU level of a browser system, and the like, and since the attribute information of the browser is generally also affected by a type and a device of the browser, the combined use of the attribute information also has a certain identification function to a certain extent. In order to further ensure the uniqueness of the device mark, after a check code with stronger uniqueness is obtained, a final mark is generated by combining the attribute information of the browser through a fixed hash function, and the uniqueness of the mark is further enhanced on the basis of the check code and the attribute information.
Therefore, the device marking method provided by the embodiment of the invention can realize the identification of the device by using the browser of the device and the information of the browser, and firstly, the identification picture of the page browsed by the browser is obtained; then, analyzing the identification picture by using a drawing tool of a browser to obtain a binary coding character string of the identification picture; then using the character string of the binary code character string for marking the equipment information as a check code; and finally, marking the equipment to be marked by using the check code and the attribute information of the browser. In the invention, because the picture character strings analyzed by the drawing tools of different browsers are different, the finally selected check codes are also different, the equipment is identified by adopting the check codes, so that the equipment has difference, and the uniqueness of equipment marking can be ensured by using the attribute information of the browser as an auxiliary marking.
Fig. 3 is a flowchart of saving a device tag in a server according to an embodiment of the present invention. As shown in fig. 3, in the embodiment of the present invention, after marking a device to be marked to which the browser belongs by using the check code and the attribute information of the browser, the method further includes:
s201, obtaining a mark of the device to be marked, wherein the mark is used for representing a check code corresponding to the device to be marked and attribute information of a browser.
In the embodiment of the invention, a plurality of attribute information of the browser are provided, during the marking process, a specific amount of attribute information and the check code can be selected to be marked together according to the actual situation, and the attribute information and the check code can be generated into a mark through a fixed hash function.
In addition, in order to facilitate the server to determine the type of the device, the server needs to store the mark content of the device to be marked, so that when the browser in the device browses the same page again, the server can compare the local mark with the current mark of the device, and further identify whether the device is a new device or an old device.
In the embodiment of the invention, the equipment is actually marked, so the equipment to be marked in the embodiment of the invention and the equipment have the same concept and have the same meaning.
S202, storing the device identification corresponding to the mark in the server. The device identification is a tag that identifies the device in the server.
The equipment marking method in the embodiment of the invention can utilize the check code and the attribute information of the browser to mark the equipment together, and store the corresponding equipment identification in the server, thereby ensuring the uniqueness of the equipment marking and simultaneously ensuring that the server can effectively identify the equipment.
In the above embodiment, if the device is accessed for the first time, the device identifier corresponding to the device needs to be stored in the server, and if the device is not accessed for the first time, the mark of the device needs to be regenerated and compared with the device identifier stored in the server in advance, so as to determine whether the device is an old device. If the device identifier corresponding to the device does not exist in the server, the device identifier needs to be generated again according to the method of the present invention. The method comprises the following specific steps:
s301, when the browser browses the page again, detecting whether the device to be marked has a corresponding device identifier in the server.
Fig. 4 is a flowchart of detecting a device identifier according to an embodiment of the present invention. As shown in fig. 4, further, the step of detecting whether the mark of the device to be marked has a corresponding device identifier in the server includes:
s401, acquiring an identifier judgment threshold value and device identifiers respectively corresponding to all marked devices requesting the page in the server, wherein the device identifiers comprise check codes corresponding to the marked devices and attribute information of the browser.
In the embodiment of the invention, if a browser in one device is updated or downloaded again after being unloaded, or the device is updated, part of attribute information of the browser or a check code of the device is changed, so that a mark generated by the device is changed, but the browser and the device do not change.
Because the mark is composed of the check code and the attribute information together, and only a few contents in the mark are influenced by equipment updating or browser updating, whether the contents of the check code and all the attribute information in the mark are the same as or partially the same as the contents of the check code and the attribute information pre-stored in the server can be judged, and the number of the same or partially the same check code and attribute information can be limited by using the mark judgment threshold value.
S402, if the number of the mark information with the same content in the mark in the device mark is larger than or equal to a mark judgment threshold value, determining that the device to be marked has a corresponding device mark in a server, wherein the mark information is used for representing a check code and a plurality of attribute information of a browser.
S302, if the device to be marked does not have a corresponding device identifier in the server, acquiring an identifier picture of a page browsed by the browser.
The method in the embodiment of the invention can utilize the check code and the attribute information of the browser to mark the equipment together, can ensure that the detection of the same equipment and in the server is not influenced after the marked content is changed due to the updating of the equipment or the browser and the like, ensures that the server can still identify the equipment as old equipment, ensures the uniqueness of the equipment mark and simultaneously enhances the identification accuracy.
Fig. 5 is a flowchart of identifying a device provided in the embodiment of the present invention. As shown in fig. 5, in the embodiment of the present invention, after marking the to-be-marked device to which the browser belongs by using the check code and the attribute information of the browser, the method further includes:
s501, detecting whether the attributes of the browser have changed attributes.
S502, if the changed attribute exists, the attribute information of the browser is obtained again. In this step, new attribute information after the change is acquired again, and the type of each piece of information in the attribute information is the same as that before the change, except that the content in the specific type of information is changed.
And S503, generating a new mark of the equipment to be marked by using the check code and the new attribute information of the browser.
S504, establishing a corresponding relation between the new mark and the equipment identification of the browser in the server.
Fig. 6 is a schematic diagram illustrating a correspondence between a tag of a device and a device identifier in a server according to an embodiment of the present invention. As shown in fig. 6, one device a corresponds to one device identifier B in the server, and a plurality of tags a, B, c, and the like are generated due to changes in browser attribute information in the device, but the tags belong to the same device a, so that all tags corresponding to the device a are associated with the device identifier B in the server, and it is ensured that the device identifier B can be found by using a tag of any device a, and it is determined that the device a is an old device.
According to the technical scheme, the equipment marking method provided by the invention can realize the identification of the equipment by utilizing the browser of the equipment and the information of the browser, and firstly, the identification picture of the page browsed by the browser is obtained; then, analyzing the identification picture by using a drawing tool of a browser to obtain a binary coding character string of the identification picture; then using the character string of the binary code character string for marking the equipment information as a check code; and finally, marking the equipment to be marked by using the check code and the attribute information of the browser. In the invention, because the picture character strings analyzed by the drawing tools of different browsers are different, the finally selected check codes are also different, the equipment is identified by adopting the check codes, so that the equipment has difference, and the uniqueness of equipment marking can be ensured by using the attribute information of the browser as an auxiliary marking.
Fig. 7 is a block diagram of a device marking apparatus according to an embodiment of the present invention. As shown in fig. 7, an apparatus marking device provided in an embodiment of the present invention includes:
the picture acquiring module 71 is configured to acquire an identification picture of a page browsed by a browser, where the identification picture is a picture with fixed content on the page; the picture analysis module 72 is configured to analyze the identification picture by using a drawing tool of the browser to obtain a binary code character string of the identification picture; a check code obtaining module 73, configured to obtain a check code from the binary code character string, where the check code is a character string in the binary code character string that represents device information of a device to be marked to which the browser belongs; and a marking module 74, configured to mark, by using the check code and the attribute information of the browser, a device to be marked to which the browser belongs.
The device marking apparatus further includes: the mark acquisition module is used for acquiring a mark of the equipment to be marked, and the mark is used for representing a check code corresponding to the equipment to be marked and attribute information of a browser; and the identification storage module is used for storing the equipment identification corresponding to the mark in the server.
The device marking apparatus further includes: the identification detection module is used for detecting whether the equipment to be marked has a corresponding equipment identification in the server when the browser browses the page again; and if the equipment to be marked does not have the corresponding equipment identification in the server, acquiring an identification picture of a page browsed by the browser.
Wherein, the identification detection module comprises: the data acquisition unit is used for acquiring an identifier judgment threshold value and device identifiers respectively corresponding to all marked devices requesting the page in the server, wherein the device identifiers comprise check codes corresponding to the marked devices and attribute information of the browser; and the identifier determining unit is used for determining that the equipment to be marked has a corresponding equipment identifier in the server if the number of the mark information with the same content in the marks in the equipment identifier is greater than or equal to an identifier judgment threshold, wherein the mark information is used for representing a check code and a plurality of attribute information of the browser.
The device marking apparatus further includes: the attribute detection module is used for detecting whether changed attributes exist in the attributes of the browser; if the changed attribute exists, acquiring the attribute information of the browser again; the mark generation module is used for generating a new mark of the equipment to be marked by utilizing the check code and the new attribute information of the browser; and the relationship establishing module is used for establishing a corresponding relationship between the new mark and the equipment identifier of the browser in the server.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention. As shown in fig. 8, an electronic device provided in an embodiment of the present invention includes: a memory 81 for storing program instructions; a processor 82, configured to call and execute the program instructions in the memory, so as to implement the device tagging method in the foregoing embodiment.
In an embodiment of the present invention, the processor 82 and the memory 81 may be connected by a bus or other means. The processor may be a general-purpose processor, such as a central processing unit, a digital signal processor, an application specific integrated circuit, or one or more integrated circuits configured to implement embodiments of the present invention. The memory may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk.
An embodiment of the present invention further provides a storage medium, where a computer program is stored in the storage medium, and when at least one processor of the device marking apparatus executes the computer program, the device marking apparatus executes the device marking method described in the foregoing embodiment.
The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The same and similar parts in the various embodiments in this specification may be referred to each other. In particular, for the embodiments of the service construction apparatus and the service loading apparatus, since they are substantially similar to the embodiments of the method, the description is simple, and the relevant points can be referred to the description in the embodiments of the method.
The above-described embodiments of the present invention should not be construed as limiting the scope of the present invention.

Claims (12)

1. A device labeling method, comprising:
acquiring an identification picture of a page browsed by a browser, wherein the identification picture is a picture with fixed content on the page;
analyzing the identification picture by using a drawing tool of the browser to obtain a binary coding character string of the identification picture;
acquiring a check code from the binary code character string, wherein the check code is a character string which represents the equipment information of the equipment to be marked to which the browser belongs in the binary code character string;
and marking the equipment to be marked to which the browser belongs by using the check code and the attribute information of the browser.
2. The method according to claim 1, wherein after the marking the device to be marked to which the browser belongs by using the check code and the attribute information of the browser, the method comprises:
acquiring a mark of the equipment to be marked, wherein the mark is used for representing a check code corresponding to the equipment to be marked and attribute information of a browser;
and saving the equipment identification corresponding to the mark in the server.
3. The method according to claim 2, wherein after the marking the device to be marked to which the browser belongs by using the check code and the attribute information of the browser, the method further comprises:
when the browser browses the page again, detecting whether the equipment to be marked has a corresponding equipment identifier in the server;
and if the equipment to be marked does not have the corresponding equipment identification in the server, acquiring an identification picture of a page browsed by the browser.
4. The method according to claim 3, wherein the step of detecting whether the mark of the device to be marked has a corresponding device identifier in the server comprises:
acquiring an identifier judgment threshold value and device identifiers respectively corresponding to all marked devices requesting the page in a server, wherein the device identifiers comprise check codes corresponding to the marked devices and attribute information of a browser;
and if the number of the mark information with the same content in the marks in the device marks is greater than or equal to a mark judgment threshold value, determining that the device to be marked has a corresponding device mark in the server, wherein the mark information is used for representing a check code and a plurality of attribute information of the browser.
5. The method according to claim 2, wherein after the marking the device to be marked to which the browser belongs by using the check code and the attribute information of the browser, the method further comprises:
detecting whether changed attributes exist in the attributes of the browser;
if the changed attribute exists, acquiring the attribute information of the browser again;
generating a new mark of the equipment to be marked by using the check code and the new attribute information of the browser;
and establishing a corresponding relation between the new mark and the equipment identification of the browser in the server.
6. An apparatus marking device, comprising:
the image acquisition module is used for acquiring an identification image of a page browsed by a browser, wherein the identification image is an image with fixed content on the page;
the picture analysis module is used for analyzing the identification picture by using a drawing tool of the browser to obtain a binary coding character string of the identification picture;
the check code acquisition module is used for acquiring a check code from the binary coded character string, wherein the check code is a character string which represents the equipment information of the equipment to be marked to which the browser belongs in the binary coded character string;
and the marking module is used for marking the equipment to be marked to which the browser belongs by utilizing the check code and the attribute information of the browser.
7. The apparatus of claim 6, further comprising:
the mark acquisition module is used for acquiring a mark of the equipment to be marked, and the mark is used for representing a check code corresponding to the equipment to be marked and attribute information of a browser;
and the identification storage module is used for storing the equipment identification corresponding to the mark in the server.
8. The apparatus of claim 7, further comprising:
the identification detection module is used for detecting whether the equipment to be marked has a corresponding equipment identification in the server when the browser browses the page again; and if the equipment to be marked does not have the corresponding equipment identification in the server, acquiring an identification picture of a page browsed by the browser.
9. The apparatus of claim 8, wherein the identification detection module comprises:
the data acquisition unit is used for acquiring an identifier judgment threshold value and device identifiers respectively corresponding to all marked devices requesting the page in the server, wherein the device identifiers comprise check codes corresponding to the marked devices and attribute information of the browser;
and the identifier determining unit is used for determining that the equipment to be marked has a corresponding equipment identifier in the server if the number of the mark information with the same content in the marks in the equipment identifier is greater than or equal to an identifier judgment threshold, wherein the mark information is used for representing a check code and a plurality of attribute information of the browser.
10. The apparatus of claim 7, further comprising:
the attribute detection module is used for detecting whether changed attributes exist in the attributes of the browser; if the changed attribute exists, acquiring the attribute information of the browser again;
the mark generation module is used for generating a new mark of the equipment to be marked by utilizing the check code and the new attribute information of the browser;
and the relationship establishing module is used for establishing a corresponding relationship between the new mark and the equipment identifier of the browser in the server.
11. An electronic device, comprising:
a memory for storing program instructions;
a processor for calling and executing program instructions in said memory to implement the device tagging method of any one of claims 1 to 5.
12. A storage medium having stored thereon a computer program which, when executed by at least one processor of a device marking apparatus, causes the device marking apparatus to perform the device marking method of any one of claims 1 to 5.
CN201911333710.5A 2019-12-23 2019-12-23 Equipment marking method, device, electronic equipment and storage medium Active CN111125567B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911333710.5A CN111125567B (en) 2019-12-23 2019-12-23 Equipment marking method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911333710.5A CN111125567B (en) 2019-12-23 2019-12-23 Equipment marking method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111125567A true CN111125567A (en) 2020-05-08
CN111125567B CN111125567B (en) 2024-02-27

Family

ID=70500988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911333710.5A Active CN111125567B (en) 2019-12-23 2019-12-23 Equipment marking method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111125567B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000853A (en) * 2020-07-31 2020-11-27 天翼电子商务有限公司 Method, medium, client and server for generating/feeding back unique identifier of equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2011150760A (en) * 2010-12-16 2013-06-20 Тенсент Текнолоджи (Шэньчжэнь) Компани Лимитед METHOD AND DEVICE FOR DISPLAYING NAVIGATION CONTENT
CN106131047A (en) * 2016-08-12 2016-11-16 乐视控股(北京)有限公司 Account login method and relevant device, account login system
CN108737338A (en) * 2017-04-19 2018-11-02 阿里巴巴集团控股有限公司 A kind of authentication method and system
CN110198540A (en) * 2019-05-09 2019-09-03 新华三技术有限公司 Authentication method and device
CN110505188A (en) * 2018-05-18 2019-11-26 华为技术有限公司 A kind of terminal authentication method, relevant device and Verification System

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2011150760A (en) * 2010-12-16 2013-06-20 Тенсент Текнолоджи (Шэньчжэнь) Компани Лимитед METHOD AND DEVICE FOR DISPLAYING NAVIGATION CONTENT
CN106131047A (en) * 2016-08-12 2016-11-16 乐视控股(北京)有限公司 Account login method and relevant device, account login system
CN108737338A (en) * 2017-04-19 2018-11-02 阿里巴巴集团控股有限公司 A kind of authentication method and system
CN110505188A (en) * 2018-05-18 2019-11-26 华为技术有限公司 A kind of terminal authentication method, relevant device and Verification System
CN110198540A (en) * 2019-05-09 2019-09-03 新华三技术有限公司 Authentication method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000853A (en) * 2020-07-31 2020-11-27 天翼电子商务有限公司 Method, medium, client and server for generating/feeding back unique identifier of equipment
CN112000853B (en) * 2020-07-31 2024-05-24 天翼电子商务有限公司 Method for generating/feeding back unique identifier of equipment, medium, client and server

Also Published As

Publication number Publication date
CN111125567B (en) 2024-02-27

Similar Documents

Publication Publication Date Title
CN111191414B (en) Page watermark generation method, identification method, device, equipment and storage medium
CN108880921B (en) Webpage monitoring method and device, storage medium and server
CN108427731B (en) Page code processing method and device, terminal equipment and medium
CN103455475B (en) Composition method, equipment and system
CN109657431B (en) Method for identifying user identity
CN109145235B (en) Method and device for analyzing webpage and electronic equipment
CN108959384B (en) Webpage data acquisition method and device, computer equipment and storage medium
CN104268229A (en) Resource obtaining method and device based on multi-process browser
CN112769802B (en) Access verification method and device based on server, electronic equipment and storage medium
CN111144402A (en) OCR recognition accuracy calculation method, device, equipment and storage medium
CN113157315A (en) Method, device, equipment and medium for identifying difference information of different versions of software
CN111241496B (en) Method and device for determining small program feature vector and electronic equipment
CN113360300B (en) Interface call link generation method, device, equipment and readable storage medium
CN113810375B (en) Webshell detection method, device and equipment and readable storage medium
CN109240664B (en) Method and terminal for collecting user behavior information
CN111125567B (en) Equipment marking method, device, electronic equipment and storage medium
CN113961768A (en) Sensitive word detection method and device, computer equipment and storage medium
CN106156291A (en) The caching method of static resource and system thereof based on Localstroage
CN117113430A (en) Webpage violation picture detection method and device, electronic equipment and storage medium
CN110460685B (en) User unique identifier processing method and device, computer equipment and storage medium
CN110413921B (en) Webpage loading method and device, computer equipment and storage medium
CN111414404A (en) Data visualization device and method
CN108460116B (en) Search method, search device, computer equipment, storage medium and search system
CN116303250A (en) Accounting archive data management method and device, electronic equipment and medium
CN111222065B (en) Information display method and device, electronic equipment and medium

Legal Events

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