CN114610305A - Development method and device of invisible webpage resources, electronic equipment and medium - Google Patents

Development method and device of invisible webpage resources, electronic equipment and medium Download PDF

Info

Publication number
CN114610305A
CN114610305A CN202210244361.5A CN202210244361A CN114610305A CN 114610305 A CN114610305 A CN 114610305A CN 202210244361 A CN202210244361 A CN 202210244361A CN 114610305 A CN114610305 A CN 114610305A
Authority
CN
China
Prior art keywords
webpage
invisible
address
resource
development
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
CN202210244361.5A
Other languages
Chinese (zh)
Other versions
CN114610305B (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.)
Shukun Technology Ningbo Co ltd
Original Assignee
Shukun Technology Ningbo 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 Shukun Technology Ningbo Co ltd filed Critical Shukun Technology Ningbo Co ltd
Priority to CN202210244361.5A priority Critical patent/CN114610305B/en
Publication of CN114610305A publication Critical patent/CN114610305A/en
Application granted granted Critical
Publication of CN114610305B publication Critical patent/CN114610305B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • 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/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2539Hiding addresses; Keeping addresses anonymous

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Bioethics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)
  • Storage Device Security (AREA)

Abstract

The invention relates to the technical field of webpage development, and discloses a development method of invisible webpage resources, which comprises the following steps: receiving a development IP address set and a search IP address set, generating a home page file according to a webpage and the search IP address set, wherein the home page file comprises a style document and a content document, writing a webpage title in the style document, inserting a webpage picture corresponding to the webpage title in the content document, receiving an invisible webpage resource input by a user, generating an invisible resource access address, binding and encrypting the access invisible resource access address and the development IP address set, generating invisible resource encryption information, receiving a client, writing the invisible resource encryption information and the webpage picture in the home page file, and operating the home page file to obtain an invisible webpage. The invention also provides a development device of the invisible webpage resource, electronic equipment and a computer readable storage medium. The method and the device can solve the problem of low safety of the invisible webpage resources.

Description

Development method and device of invisible webpage resources, electronic equipment and medium
Technical Field
The present invention relates to the field of web page development technologies, and in particular, to a method and an apparatus for developing invisible web page resources, an electronic device, and a computer-readable storage medium.
Background
The invisible web page resource is web page information additionally provided for part of web page users, and the provision of the invisible web page resource is rarely considered in the general web page development process. Few web page developments provide invisible web page resources, but because the security measure is not high, the condition that invisible web page resources are easily leaked is caused.
Disclosure of Invention
The invention provides a method and a device for developing invisible webpage resources and a computer readable storage medium, and mainly aims to solve the problem of low safety of the invisible webpage resources in the webpage development process.
In order to achieve the above object, the present invention provides a method for developing invisible web page resources, comprising:
receiving IP address sets generated by different users accessing the webpage, and dividing the IP address sets into a development IP address set and a search IP address set according to IP types;
generating a home page file according to the webpage and the search IP address set, wherein the home page file comprises a pattern document and a content document;
writing a webpage title in the style document, and inserting a webpage picture corresponding to the webpage title in the content document;
receiving an invisible webpage resource input by a user, storing the invisible webpage resource into a database and generating an invisible resource access address;
binding and encrypting the access address of the access invisible resource and the development IP address set to generate invisible resource encryption information;
and receiving the encrypted information of the invisible resources and the webpage picture written into the home page file by the customer, and operating the home page file to obtain the invisible webpage.
Optionally, the dividing the IP address set into a development IP address set and a search IP address set according to an IP type includes:
sequentially extracting each IP address from the IP address set;
and judging whether each IP address is a search engine address, if so, determining to be a search IP, and if not, determining to be a development IP.
And respectively summarizing each search IP and each development IP to obtain the development IP address set and the search IP address set.
Optionally, the generating a home page file according to the webpage and the search IP address set includes:
receiving a webpage address of the webpage, starting a search engine corresponding to the search IP address set, and accessing the webpage by using the search engine according to the webpage address;
judging whether the search engine successfully accesses the webpage or not, if the search engine cannot access the webpage, generating a first page file failure command and feeding the first page file failure command back to a webpage developer;
and if the search engine successfully accesses the webpage, starting a pre-constructed automatic homepage file acquisition script to acquire the homepage file of the webpage.
Optionally, the pre-built automation homepage file acquisition script includes:
starting a test page, generating a simulation instruction with the same result as that of clicking a right mouse button in the test page, and packaging the simulation instruction in a first click function;
selecting a selection interface generated by imitating the instruction from the test page, wherein the selection interface comprises a key word 'view page source code'; constructing a source code selection function according to the keyword 'view page source code';
clicking the keyword 'view page source code', if the home page file of the test page is obtained, constructing a second click function according to the operation of clicking the keyword 'view page source code';
packaging the first click function, the source code selection function and the second click function to obtain a home page file acquisition program to be compiled;
and compiling the to-be-compiled homepage file acquisition program to obtain the automatic homepage file acquisition script.
Optionally, the writing of the webpage title in the style document and the inserting of the webpage picture corresponding to the webpage title in the content document include:
opening the style document, and positioning the style document to the original webpage Title of the webpage according to a keyword 'Title';
adding specific characters at the beginning of the characters in the original webpage title;
and when the writing of the webpage title is finished, generating a written webpage title screenshot and storing the webpage title screenshot to the content document.
Optionally, the binding and encrypting the access address of the access hidden resource and the development IP address set to generate hidden resource encryption information includes:
combining the access address of the access invisible resource with each development IP address in the development IP address set in sequence according to a specific sequence to obtain a byte to be encrypted of the website;
carrying out byte substitution processing on the website to-be-encrypted byte to obtain a website initial byte;
performing line displacement processing and column mixing processing on the website initial bytes to obtain website mixed bytes;
and carrying out bitwise XOR processing on the preset secret key and the website address mixed byte to obtain the invisible resource encryption information.
Optionally, the performing byte substitution processing on the byte to be encrypted of the website to obtain the initial byte of the website includes:
encoding the website to-be-encrypted bytes to obtain website original bytes;
and carrying out byte mapping processing on the original bytes of the website according to a preset nonlinear transformation table to obtain the initial bytes of the website.
In order to solve the above problem, the present invention further provides a device for developing invisible web page resources, the device comprising:
the IP classification module is used for receiving IP address sets generated by different users accessing the webpage and dividing the IP address sets into a development IP address set and a search IP address set according to IP types;
the homepage file rewriting module is used for generating a homepage file according to the webpage and the search IP address set, wherein the homepage file comprises a style document and a content document, a webpage title is written in the style document, and a webpage picture corresponding to the webpage title is inserted in the content document;
the invisible webpage resource storage module is used for receiving invisible webpage resources input by a user, storing the invisible webpage resources into a database and generating an invisible resource access address;
the encryption module is used for binding and encrypting the access address of the access invisible resource and the development IP address set to generate invisible resource encryption information;
and the invisible webpage generating module is used for receiving the encrypted information of the invisible resources and the webpage picture written into the home page file by the customer, and operating the home page file to obtain the invisible webpage.
In order to solve the above problem, the present invention also provides an electronic device, including:
a memory storing at least one instruction; and
and the processor executes the instructions stored in the memory to realize the development method of the invisible webpage resource.
In order to solve the above problem, the present invention further provides a computer-readable storage medium, in which at least one instruction is stored, and the at least one instruction is executed by a processor in an electronic device to implement the above method for developing the invisible web page resource.
Based on the background technology: invisible web page resources are rarely provided in the general web page development process. Few web pages are developed to provide invisible web page resources, but the invisible web page resources are easy to leak due to low security measures. According to the embodiment of the invention, the IP addresses of different users are divided into the IP address sets generated by receiving the webpages accessed by different users, and the IP address sets are divided into the development IP address set and the search IP address set according to the IP types, wherein the search IP address set does not provide the invisible webpage resources, and the development IP address set provides the invisible webpage resources, so that the problem of overlarge resource consumption caused by providing the invisible webpage resources by one view and the same core is solved. Furthermore, the embodiment of the invention receives the invisible webpage resources input by the user, stores the invisible webpage resources into the database and generates the invisible resource access address, binds and encrypts the access invisible resource access address and the development IP address set to generate the invisible resource encryption information, and can prevent the problem of accidental leakage of the invisible webpage resources by strictly binding the development IP address set and the invisible webpage resource access address, so that the problem of low safety of the invisible webpage resources in the webpage development process can be solved by the development method, the development device, the electronic equipment and the calculation of the invisible webpage resources provided by the invention.
Drawings
Fig. 1 is a schematic flowchart of a method for developing invisible web page resources according to an embodiment of the present invention;
FIG. 2 is a schematic flow diagram of one of the steps of FIG. 1;
FIG. 3 is a schematic flow chart of another step in FIG. 1;
FIG. 4 is a functional block diagram of an apparatus for developing invisible web resources according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device for implementing the method for developing the invisible web page resource according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the application provides a development method of invisible webpage resources. The execution subject of the development method of the invisible webpage resource includes, but is not limited to, at least one of electronic devices, such as a server, a terminal, and the like, which can be configured to execute the method provided by the embodiments of the present application. In other words, the method for developing the invisible web page resource may be performed by software or hardware installed in the terminal device or the server device, and the software may be a block chain platform. The server includes but is not limited to: a single server, a cluster of servers, a cloud server or a cluster of cloud servers, etc.
Referring to fig. 1, a flow diagram of a method for developing invisible web resources according to an embodiment of the present invention is shown. In this embodiment, the method for developing the invisible web page resource includes:
s1, receiving IP address sets generated by different users accessing the web pages, and dividing the IP address sets into a development IP address set and a search IP address set according to IP types.
It should be explained that different users access the same web page with different purposes, for example, user a is a web page developer, user B and user C are crop growers, a web page for recording crop seeding, seedling selection, fertilization, etc. exists, user a is a web page developer, and needs to know detailed information such as text description, pictures, links, etc. of different crops in the web page in detail, while user B and user C need to browse the web page to solve the related crop planting problem, so that different users access the crop web pages with different addresses, and obviously, user a needs to obtain more resources of the crop web page, therefore, embodiments of the present invention need to provide web page resources of different degrees according to the IP addresses of different users, where the high-degree web page resources are also called invisible resources.
In detail, the dividing the IP address set into a development IP address set and a search IP address set according to IP types includes:
sequentially extracting each IP address from the IP address set;
and judging whether each IP address is a search engine address, if so, determining to be a search IP, and if not, determining to be a development IP.
And respectively summarizing each search IP and each development IP to obtain the development IP address set and the search IP address set.
It should be explained that if a web page developer needs to access HTML information, JS information, and the like supporting web page operation, the address is not directly accessed through a search browser, but directly accessed through a CMD or a terminal, and corresponding web page information is extracted, so that the embodiment of the present invention performs classification on the IP address set according to whether the IP address where a user is located is a search engine address.
For example, as described above, the user a is a web page developer, when optimization needs to be performed on a crop web page, a terminal is used to directly access a server supporting operation of the crop web page, and the users B and C, which are crop growers, access web addresses corresponding to the crop web page through search engines such as Baidu and Google, so that it can be determined that the users B and C belong to a search IP address set and the user a belongs to a development IP address.
And S2, generating a home page file according to the webpage and the search IP address set, wherein the home page file comprises a style document and a content document.
HTML, wherein HTML is a hypertext markup language, and hypertext refers to non-character elements such as pictures, links, even music, programs, and the like, which can be contained in a page. The structure of the hypertext markup language includes a "Head" part (english: Head) that provides information about a web page, and a "Body" part (english: Body) that provides specific contents of the web page. Html also includes a header part and a body part, wherein the header part is called a style document and the body part is called a content document.
In detail, the generating of the home page file according to the web page and the search IP address set includes:
receiving a webpage address of the webpage, starting a search engine corresponding to the search IP address set, and accessing the webpage by using the search engine according to the webpage address;
judging whether the search engine successfully accesses the webpage or not, if the search engine cannot access the webpage, generating a first page file failure command and feeding the first page file failure command back to a webpage developer;
and if the search engine successfully accesses the webpage, starting a pre-constructed automatic homepage file acquisition script to acquire the homepage file of the webpage.
It should be explained that, the web page address can be written in the search bar in the search engine, so as to achieve the purpose of web page access. In addition, since the web page is not always successfully accessed, when the access fails, the result of the access failure needs to be fed back to the web page developer for further maintenance and detection.
Further, referring to fig. 2, the automatic homepage file acquisition script is a step compiled in advance according to an index.
S21, starting a test page, generating a simulation instruction with the same result as that of clicking a right mouse button in the test page, and packaging the simulation instruction in a first click function;
s22, selecting a selection interface generated by imitating the instruction from the test page, wherein the selection interface comprises a keyword 'view page source code'; constructing a source code selection function according to the keyword 'view page source code';
s23, clicking the keyword 'view page source code', if the home page file of the test page is obtained, constructing a second click function according to the operation of clicking the keyword 'view page source code';
s24, packaging the first click function, the source code selection function and the second click function to obtain a to-be-compiled home page file acquisition program;
and S25, compiling the to-be-compiled homepage file acquisition program to obtain the automatic homepage file acquisition script.
It can be understood that, when a webpage exists, the automatic homepage file acquisition script can automatically acquire the homepage file corresponding to the webpage, wherein the test page mainly has the function of testing whether the automatic homepage file acquisition script works normally. Illustratively, in the Windows system, when a right mouse button is clicked, a selection interface for a user to select appears, so that the embodiment of the invention simulates the operation of the user when the right mouse button is clicked, generates a corresponding simulation instruction, opens the selection interface, and so on, simulates the user to select a keyword 'view a page source code' until the keyword 'view the page source code' is clicked, and completely crawls down a home page file of a webpage after the home page file is obtained.
And S3, writing a webpage title in the style document, and inserting a webpage picture corresponding to the webpage title in the content document.
For example, if the top page file of the crop webpage is obtained, the style document in the top page file should record the webpage title such as the "caution item for crop planting" in the webpage title, but since the embodiment of the present invention needs to embed the invisible resource in the crop webpage, it is convenient for other people to obtain the crop webpage, and therefore, the webpage title needs to be modified correspondingly.
In detail, referring to fig. 3, the writing of the web page title in the style document and the inserting of the web page picture corresponding to the web page title in the content document includes:
s31, opening the style document, and positioning the style document to the original webpage Title of the webpage according to the keyword 'Title';
s32, adding specific characters at the beginning of the characters in the original webpage title;
and S33, when the writing of the webpage title is finished, generating a written webpage title screenshot and storing the webpage title screenshot to the content document.
Illustratively, as the above original webpage is entitled "caution item for crop planting" and the like, a characteristic character such as "including invisible resource" is added in front of the original webpage, so as to obtain "caution item for crop planting including invisible resource", and the screenshot is stored correspondingly, so that the modification of the home page file is completed.
And S4, receiving the invisible webpage resources input by the user, storing the invisible webpage resources into the database and generating an invisible resource access address.
Illustratively, the user a, as a web page developer, needs to know detailed information of text descriptions, pictures, links, and the like of different crops in a web page in detail, and the source of the detailed information including the text descriptions, the pictures, the links, and the like is the hidden web page resource, so that the hidden web page resource is stored in a database, and when the storage is successful, an access address of the hidden resource is correspondingly generated, so that the web page developer can conveniently access the hidden web page resource.
And S5, binding and encrypting the access address of the access invisible resource and the development IP address set to generate invisible resource encryption information.
As can be seen from the foregoing, searching for an IP address set does not require provision of an invisible resource, and only a development IP address set requires provision of more resource information due to development requirements, and therefore, the binding and encrypting the access invisible resource access address and the development IP address set to generate invisible resource encryption information includes:
combining the access address of the access invisible resource with each development IP address in the development IP address set in sequence according to a specific sequence to obtain a byte to be encrypted of the website;
carrying out byte substitution processing on the website to-be-encrypted bytes to obtain website initial bytes;
performing line displacement processing and column mixing processing on the website initial bytes to obtain website mixed bytes;
and carrying out bitwise XOR processing on the preset secret key and the website address mixed byte to obtain the invisible resource encryption information.
Specifically, the performing byte substitution processing on the byte to be encrypted of the website to obtain the initial byte of the website includes:
encoding the website to-be-encrypted bytes to obtain website original bytes;
and carrying out byte mapping processing on the original bytes of the website according to a preset nonlinear transformation table to obtain the initial bytes of the website.
In detail, the preset non-linear transformation table may be an AES (Advanced Encryption Standard) Encryption algorithm, and the byte mapping process is to map the website original byte according to a provided non-linear transformation table, use the upper 4 bits of the website original byte as a row value, use the lower 4 bits of the website original byte as a column value, and extract an element of a corresponding row in the non-linear transformation table as the website original byte.
For example, if the website original byte S1 is 0x12, the 0x01 th row and 0x02 th column of the non-linear transformation table are queried to obtain a value 0xc9, and the original 0x12 of the website original byte S1 is replaced with 0xc 9.
Specifically, the line shifting processing on the website initial byte means performing a left circular shift operation, for example, when the key length is 128 bits, the 0 th line of the state matrix is shifted left by 0 byte, the 1 st line is shifted left by 1 byte, the 2 nd line is shifted left by 2 bytes, the 3 rd line is shifted left by 3 bytes, and so on, to obtain the byte after the line shifting processing.
In detail, the column mixing transformation is realized by matrix multiplication, and the byte after row shifting is multiplied by a fixed matrix to obtain the invisible resource encryption information.
And S6, receiving the encrypted information of the invisible resources and the webpage picture written into the home page file by the customer, and operating the home page file to obtain the invisible webpage.
It should be explained that the invisible resource encryption information is written into the content document in the corresponding home page file, and can be displayed in the webpage after the home page file is operated.
Based on the background technology: invisible web page resources are rarely provided in the general web page development process. Few web pages are developed to provide invisible web page resources, but the invisible web page resources are easy to leak due to low security measures. According to the embodiment of the invention, the IP addresses of different users are divided into the IP address sets generated by receiving the webpages accessed by different users, and the IP address sets are divided into the development IP address set and the search IP address set according to the IP types, wherein the search IP address set does not provide the invisible webpage resources, and the development IP address set provides the invisible webpage resources, so that the problem of overlarge resource consumption caused by providing the invisible webpage resources by one view and the same core is solved. Furthermore, the embodiment of the invention receives the invisible webpage resources input by the user, stores the invisible webpage resources into the database and generates the invisible resource access address, binds and encrypts the access invisible resource access address and the development IP address set to generate the invisible resource encryption information, and can prevent the problem of accidental leakage of the invisible webpage resources by strictly binding the development IP address set and the invisible webpage resource access address, so that the problem of low safety of the invisible webpage resources in the webpage development process can be solved by the development method, the development device, the electronic equipment and the calculation of the invisible webpage resources provided by the invention.
Fig. 4 is a functional block diagram of an apparatus for developing invisible web page resources according to an embodiment of the present invention.
The development device 100 for invisible web page resources can be installed in electronic equipment. According to the realized functions, the development device 100 for the invisible web page resources can include an IP classification module 101, a home page file rewriting module 102, an invisible web page resource storage module 103, an encryption module 104, and an invisible web page generation module 105. The module of the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and is stored in a memory of the electronic device.
The IP classification module 101 is configured to receive IP address sets generated by different users accessing a web page, and divide the IP address sets into a development IP address set and a search IP address set according to IP types;
the homepage file rewriting module 102 is configured to generate a homepage file according to the webpage and the search IP address set, where the homepage file includes a style document and a content document, write a webpage title in the style document, and insert a webpage picture corresponding to the webpage title in the content document;
the invisible webpage resource storage module 103 is used for receiving the invisible webpage resources input by the user, storing the invisible webpage resources into a database and generating an invisible resource access address;
the encryption module 104 is configured to bind and encrypt the access address of the access hidden resource and the development IP address set, and generate hidden resource encryption information;
the invisible webpage generating module 105 is configured to receive that the customer writes the invisible resource encryption information and the webpage picture into the home page file, and operate the home page file to obtain an invisible webpage.
In detail, when the modules in the development apparatus 100 for invisible web page resources in the embodiment of the present invention are used, the same technical means as the development method for invisible web page resources described in fig. 1 above is used, and the same technical effects can be produced, which is not described herein again.
Fig. 5 is a schematic structural diagram of an electronic device for implementing a method for developing a hidden web page resource according to an embodiment of the present invention.
The electronic device 1 may comprise a processor 10, a memory 11 and a bus, and may further comprise a computer program, such as a development program 12 of invisible web resources, stored in the memory 11 and executable on the processor 10.
The memory 11 includes at least one type of readable storage medium, which includes flash memory, removable hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device 1, for example a removable hard disk of the electronic device 1. The memory 11 may also be an external storage device of the electronic device 1 in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are equipped on the electronic device 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device 1. The memory 11 may be used not only to store application software installed in the electronic device 1 and various types of data, such as codes of the development program 12 for invisible web page resources, but also to temporarily store data that has been output or is to be output.
The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same or different functions, including one or more Central Processing Units (CPUs), micro processors, digital Processing chips, graphics processors, and combinations of various control chips. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various components of the electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device 1 by running or executing programs or modules (e.g., development programs of invisible web resources, etc.) stored in the memory 11 and calling data stored in the memory 11.
The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is arranged to enable connection communication between the memory 11 and at least one processor 10 or the like.
Fig. 5 only shows an electronic device with components, and it will be understood by a person skilled in the art that the structure shown in fig. 5 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than shown, or a combination of certain components, or a different arrangement of components.
For example, although not shown, the electronic device 1 may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 10 through a power management device, so as to implement functions of charge management, discharge management, power consumption management, and the like through the power management device. The power supply may also include any component such as one or more dc or ac power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, and the like. The electronic device 1 may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
Further, the electronic device 1 may further include a network interface, and optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used to establish a communication connection between the electronic device 1 and another electronic device.
Optionally, the electronic device 1 may further comprise a user interface, which may be a Display (Display), an input unit (such as a Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the electronic device 1 and for displaying a visual user interface, among other things.
It is to be understood that the described embodiments are for purposes of illustration only and that the scope of the appended claims is not limited to such structures.
The development program 12 of the invisible web page resource stored in the memory 11 of the electronic device 1 is a combination of a plurality of instructions, which when executed in the processor 10, can realize:
receiving IP address sets generated by different users accessing the webpage, and dividing the IP address sets into a development IP address set and a search IP address set according to IP types;
generating a home page file according to the webpage and the search IP address set, wherein the home page file comprises a pattern document and a content document;
writing a webpage title in the style document, and inserting a webpage picture corresponding to the webpage title in the content document;
receiving an invisible webpage resource input by a user, storing the invisible webpage resource into a database and generating an invisible resource access address;
binding and encrypting the access address of the access invisible resource and the development IP address set to generate invisible resource encryption information;
and receiving the encrypted information of the invisible resources and the webpage picture written into the home page file by the customer, and operating the home page file to obtain the invisible webpage.
Specifically, the specific implementation method of the processor 10 for the instruction may refer to the description of the relevant steps in the embodiments corresponding to fig. 1 to fig. 5, which is not repeated herein.
Further, the integrated modules/units of the electronic device 1, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. The computer readable storage medium may be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM).
The present invention also provides a computer-readable storage medium, storing a computer program which, when executed by a processor of an electronic device, may implement:
receiving IP address sets generated by different users accessing the webpage, and dividing the IP address sets into a development IP address set and a search IP address set according to IP types;
generating a home page file according to the webpage and the search IP address set, wherein the home page file comprises a pattern document and a content document;
writing a webpage title in the style document, and inserting a webpage picture corresponding to the webpage title in the content document;
receiving an invisible webpage resource input by a user, storing the invisible webpage resource into a database and generating an invisible resource access address;
binding and encrypting the access address of the access invisible resource and the development IP address set to generate invisible resource encryption information;
and receiving the encrypted information of the invisible resources and the webpage picture written into the home page file by the customer, and operating the home page file to obtain the invisible webpage.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and there may be other divisions when the actual implementation is performed.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a string of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, which is used for verifying the validity (anti-counterfeiting) of the information and generating a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
Furthermore, it will be obvious that the term "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. A method for developing invisible web page resources, the method comprising:
receiving IP address sets generated by different users accessing the webpage, and dividing the IP address sets into a development IP address set and a search IP address set according to IP types;
generating a home page file according to the webpage and the search IP address set, wherein the home page file comprises a style document and a content document;
writing a webpage title in the style document, and inserting a webpage picture corresponding to the webpage title in the content document;
receiving an invisible webpage resource input by a user, storing the invisible webpage resource into a database and generating an invisible resource access address;
binding and encrypting the access address of the access invisible resource and the development IP address set to generate invisible resource encryption information;
and receiving the encrypted information of the invisible resources and the webpage picture written into the home page file by the customer, and operating the home page file to obtain the invisible webpage.
2. The method for developing invisible web page resources of claim 1, wherein said dividing said set of IP addresses into a set of development IP addresses and a set of search IP addresses by IP type comprises:
sequentially extracting each IP address from the IP address set;
and judging whether each IP address is a search engine address, if so, determining to be a search IP, and if not, determining to be a development IP.
And respectively summarizing each search IP and each development IP to obtain the development IP address set and the search IP address set.
3. The method for developing invisible web page resources of claim 2, wherein the generating of the top page file from the web page and the set of search IP addresses comprises:
receiving a webpage address of the webpage, starting a search engine corresponding to the search IP address set, and accessing the webpage by using the search engine according to the webpage address;
judging whether the search engine successfully accesses the webpage, if the search engine cannot access the webpage, generating a first page file failure command and feeding the first page file failure command back to a webpage developer;
and if the search engine successfully accesses the webpage, starting a pre-constructed automatic home page file acquisition script to acquire a home page file of the webpage.
4. The method for developing invisible web page resources of claim 3, wherein the pre-built automatic homepage file acquisition script comprises:
starting a test page, generating a simulation instruction with the same result as that of clicking a right mouse button in the test page, and packaging the simulation instruction in a first click function;
selecting a selection interface generated by imitating the instruction from the test page, wherein the selection interface comprises a keyword 'view page source code'; constructing a source code selection function according to the keyword 'view page source code';
clicking the keyword 'view page source code', if the home page file of the test page is obtained, constructing a second click function according to the operation of clicking the keyword 'view page source code';
packaging the first click function, the source code selection function and the second click function to obtain a home page file acquisition program to be compiled;
and compiling the to-be-compiled homepage file acquisition program to obtain the automatic homepage file acquisition script.
5. The method for developing the invisible web page resource according to claim 4, wherein the writing of the web page title in the style document and the insertion of the web page picture corresponding to the web page title in the content document comprise:
opening the style document, and positioning the style document to an original webpage Title of the webpage according to a keyword 'Title';
adding specific characters at the beginning of the characters in the original webpage title;
and when the writing of the webpage title is finished, generating a written webpage title screenshot and storing the webpage title screenshot to the content document.
6. The method for developing the invisible web page resource according to claim 5, wherein the binding and encrypting the access invisible resource access address and the development IP address set to generate the invisible resource encryption information comprises:
combining the access address of the access invisible resource with each development IP address in the development IP address set in sequence according to a specific sequence to obtain a byte to be encrypted of the website;
carrying out byte substitution processing on the website to-be-encrypted byte to obtain a website initial byte;
performing line displacement processing and column mixing processing on the website initial bytes to obtain website mixed bytes;
and carrying out bitwise XOR processing on a preset secret key and the website address mixed byte to obtain the invisible resource encryption information.
7. The method for developing invisible web page resources of claim 6, wherein the step of performing byte substitution processing on the bytes to be encrypted of the website to obtain initial bytes of the website comprises the following steps:
coding the website to-be-encrypted bytes to obtain website original bytes;
and carrying out byte mapping processing on the original bytes of the website according to a preset nonlinear transformation table to obtain the initial bytes of the website.
8. An apparatus for developing invisible web page resources, the apparatus comprising:
the IP classification module is used for receiving IP address sets generated by different users accessing the webpage and dividing the IP address sets into a development IP address set and a search IP address set according to IP types;
the homepage file rewriting module is used for generating a homepage file according to the webpage and the search IP address set, wherein the homepage file comprises a style document and a content document, a webpage title is written in the style document, and a webpage picture corresponding to the webpage title is inserted in the content document;
the invisible webpage resource storage module is used for receiving invisible webpage resources input by a user, storing the invisible webpage resources into a database and generating an invisible resource access address;
the encryption module is used for binding and encrypting the access address of the access invisible resource and the development IP address set to generate invisible resource encryption information;
and the invisible webpage generating module is used for receiving the encrypted information of the invisible resources and the webpage picture written into the home page file by the customer, and operating the home page file to obtain the invisible webpage.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and (c) a second step of,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method of developing invisible web page resources as claimed in any one of claims 1 to 10.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method for developing the invisible web page resource according to any one of claims 1 to 7.
CN202210244361.5A 2022-03-11 2022-03-11 Invisible webpage resource development method and device, electronic equipment and medium Active CN114610305B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210244361.5A CN114610305B (en) 2022-03-11 2022-03-11 Invisible webpage resource development method and device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210244361.5A CN114610305B (en) 2022-03-11 2022-03-11 Invisible webpage resource development method and device, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN114610305A true CN114610305A (en) 2022-06-10
CN114610305B CN114610305B (en) 2023-11-10

Family

ID=81862662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210244361.5A Active CN114610305B (en) 2022-03-11 2022-03-11 Invisible webpage resource development method and device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN114610305B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080097958A1 (en) * 2004-06-17 2008-04-24 The Regents Of The University Of California Method and Apparatus for Retrieving and Indexing Hidden Pages
CN104216929A (en) * 2013-07-11 2014-12-17 腾讯科技(深圳)有限公司 Method and device for intercepting page elements
US9026145B1 (en) * 2012-03-23 2015-05-05 Google Inc. Systems and methods for mapping IP-addresses to geolocations
CN107533561A (en) * 2015-04-16 2018-01-02 微软技术许可有限责任公司 Use enterprise search and the context-sensitive commending contents of common search
CN109413098A (en) * 2018-12-04 2019-03-01 北京达佳互联信息技术有限公司 Method, apparatus, terminal and the storage medium that web page element is shown
CN111104587A (en) * 2018-10-26 2020-05-05 北京金山云网络技术有限公司 Webpage display method and device and server
CN111857855A (en) * 2019-04-01 2020-10-30 苏宁易购集团股份有限公司 Webpage loading method and device and intelligent equipment
CN114157568A (en) * 2021-11-29 2022-03-08 北京锐安科技有限公司 Browser security access method, device, equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080097958A1 (en) * 2004-06-17 2008-04-24 The Regents Of The University Of California Method and Apparatus for Retrieving and Indexing Hidden Pages
US9026145B1 (en) * 2012-03-23 2015-05-05 Google Inc. Systems and methods for mapping IP-addresses to geolocations
CN104216929A (en) * 2013-07-11 2014-12-17 腾讯科技(深圳)有限公司 Method and device for intercepting page elements
CN107533561A (en) * 2015-04-16 2018-01-02 微软技术许可有限责任公司 Use enterprise search and the context-sensitive commending contents of common search
CN111104587A (en) * 2018-10-26 2020-05-05 北京金山云网络技术有限公司 Webpage display method and device and server
CN109413098A (en) * 2018-12-04 2019-03-01 北京达佳互联信息技术有限公司 Method, apparatus, terminal and the storage medium that web page element is shown
CN111857855A (en) * 2019-04-01 2020-10-30 苏宁易购集团股份有限公司 Webpage loading method and device and intelligent equipment
CN114157568A (en) * 2021-11-29 2022-03-08 北京锐安科技有限公司 Browser security access method, device, equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CH A S MURTY 等: "A Review of Web Application Security Risks: Auditing and Assessment of the Dark Web", 《2021 INTERNATIONAL CONFERENCE ON ELECTRICAL, COMPUTER, COMMUNICATIONS AND MECHATRONICS ENGINEERING (ICECCME)》, pages 1 - 7 *
刘新周: "隐形网页资源产生原因与开发利用", 《农业图书情报学刊》, vol. 18, no. 2, pages 28 - 31 *

Also Published As

Publication number Publication date
CN114610305B (en) 2023-11-10

Similar Documents

Publication Publication Date Title
US11372935B2 (en) Automatically generating a website specific to an industry
Boettiger et al. rfishbase: exploring, manipulating and visualizing FishBase data from R
Sriparasa JavaScript and JSON essentials
US20190340230A1 (en) System and method for generating websites from predefined templates
CN104185845A (en) System and method for providing a binary representation of a web page
CN106648569B (en) Target serialization realization method and device
CN113239106B (en) Excel file export method and device, electronic equipment and storage medium
CN112860777B (en) Data processing method, device and equipment
US20170109442A1 (en) Customizing a website string content specific to an industry
CN103870583A (en) Relational-database-based online and controllable browsing method for PDF document
CN104657359A (en) Webpage content and style recording method by using website
CN114357337A (en) Cache management method, device, equipment and storage medium
US10140278B2 (en) Computer-implemented methods and systems for associating files with cells of a collaborative spreadsheet
CN106951405A (en) Data processing method and device based on typesetting engine
CN114610305B (en) Invisible webpage resource development method and device, electronic equipment and medium
CN113139145B (en) Page generation method and device, electronic equipment and readable storage medium
CN115080899A (en) Interactive sub-web page starting method, device, equipment and storage medium
CN115048920A (en) Front-end data exporting method, device, equipment and storage medium
CN108388614A (en) News data crawls processing method, device, computer equipment and storage medium
CN113065086A (en) Webpage text extraction method and device, electronic equipment and storage medium
CN106446611A (en) Security-level information generation and reading methods and apparatuses
CN112149391A (en) Information processing method, information processing apparatus, terminal device, and storage medium
Trachtenberg et al. PHP cookbook
CN113438221B (en) Local end file loading method and device, electronic equipment and medium
Nadhani et al. FusionCharts Beginner's Guide: The Official Guide for FusionCharts Suite

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
CB03 Change of inventor or designer information

Inventor after: Wang Haiming

Inventor after: Kong Huifeng

Inventor before: Wang Haiming

CB03 Change of inventor or designer information
GR01 Patent grant
GR01 Patent grant