Claims (16)
1. Способ выдачи веб-страниц, содержащих по меньшей мере одну динамическую часть, на оборудование пользователя, включающий следующие этапы:1. A method of issuing web pages containing at least one dynamic part to user equipment, comprising the following steps:
- при первом обращении оборудования (50) пользователя к веб-странице (100), размещенной на веб-сервере (10):- upon the first access of the user equipment (50) to the web page (100) located on the web server (10):
- выполнение веб-сервером (10) программного кода веб-страницы (100), в том числе имеющихся на ней динамических частей (101, 102, 103), с формированием html-кода веб-страницы (100), включающего html-код статической части и html-код динамических частей (101, 102, 103);- execution by the web server (10) of the program code of the web page (100), including the dynamic parts available on it (101, 102, 103), with the formation of the html code of the web page (100), including the html code of the static parts and html-code of the dynamic parts (101, 102, 103);
- выдача веб-сервером (10) html-кода веб-страницы (100) оборудованию (50) пользователя для отображения этой веб-страницы (100) браузером, установленным на оборудовании (50) пользователя;- issuance by the web server (10) of the html code of the web page (100) to the user equipment (50) for displaying this web page (100) by a browser installed on the user equipment (50);
- обнаружение веб-сервером (10) в html-коде веб-страницы (100), полученном на этапе формирования html-кода, кода, относящегося к динамическим частям (101, 102, 103);- detection by the web server (10) in the html code of the web page (100) obtained at the stage of generating the html code, the code related to the dynamic parts (101, 102, 103);
- замена веб-сервером (10) в html-коде веб-страницы (100) указанного кода, относящегося к динамическим частям (101, 102, 103), на JS-скрипт (скрипт на языке JavaScript), содержащий предписание на получение актуального кода этих динамических частей (101, 102, 103) с веб-сервера (10), с формированием композитного кода (110) и сохранение этого композитного кода (110) в запоминающем устройстве (15);- replacement by the web server (10) in the html code of the web page (100) of the specified code related to the dynamic parts (101, 102, 103) with a JS script (JavaScript script) containing a prescription for receiving the current code these dynamic parts (101, 102, 103) from a web server (10), with the formation of a composite code (110) and storing this composite code (110) in a storage device (15);
- при втором и последующих обращениях оборудования (50) пользователя к веб-странице (100):- at the second and subsequent calls of the user equipment (50) to the web page (100):
- выдача веб-сервером (10) оборудованию (50) пользователя композитного кода (110), сохраненного в запоминающем устройстве (15), для отображения браузером, установленным на оборудовании (50) пользователя, статической части веб-страницы (100);- issuance by the web server (10) to the user equipment (50) of the composite code (110) stored in the storage device (15) for displaying by the browser installed on the user equipment (50) the static part of the web page (100);
- прием веб-сервером (10) от браузера запроса на актуальные данные для динамических частей (101, 102, 103), направляемого браузером путем следования предписанию, содержащемуся в JS-скрипте композитного кода (110);- the web server (10) receives from the browser a request for relevant data for the dynamic parts (101, 102, 103) sent by the browser by following the instruction contained in the composite code JS script (110);
- выполнение веб-сервером (10) программного кода динамических частей (101, 102, 103) с получением актуального html-кода, соответствующего этим частям (101, 102, 103);- execution by the web server (10) of the program code of the dynamic parts (101, 102, 103) to obtain the actual html code corresponding to these parts (101, 102, 103);
- досылка веб-сервером (10) актуального html-кода динамических частей (101, 102, 103) на оборудование (50) пользователя для отображения браузером, установленным на оборудовании (50) пользователя, указанных динамических частей (101, 102, 103) в соответствующих полях уже выведенной статической части веб-страницы (100), согласно сформированному актуальному html-коду этих динамических частей (101, 102, 103).- sending by the web server (10) of the current html code of the dynamic parts (101, 102, 103) to the user equipment (50) to display the specified dynamic parts (101, 102, 103) in a browser installed on the user equipment (50) in corresponding fields of the already displayed static part of the web page (100), according to the generated actual html code of these dynamic parts (101, 102, 103).
2. Способ по п.1, в котором этап обнаружения веб-сервером (10) в html-коде веб-страницы (100) кода, относящегося к динамическим частям, осуществляют с использованием указаний в коде веб-страницы, помечающих эти части страницы как динамические.2. The method according to claim 1, in which the step of detecting by the web server (10) in the html code of the web page (100) the code related to the dynamic parts is carried out using the indications in the code of the web page marking these parts of the page as dynamic.
3. Способ по п.1, в котором перед этапом выдачи оборудованию (50) пользователя композитного кода (110) веб-сервер (10) проверяет наличие этого композитного кода (110) в запоминающем устройстве (15), причем если композитный код (110) отсутствует, веб-сервер (10) расценивает данное обращение оборудования (50) пользователя к веб-странице (100) как первое и переходит к выполнению этапов, относящихся к первому обращению.3. The method according to claim 1, in which, before the step of issuing the composite code (110) to the user equipment (50), the web server (10) checks for the presence of this composite code (110) in the storage device (15), moreover, if the composite code (110) ) is missing, the web server (10) regards this user equipment (50) access to the web page (100) as the first and proceeds to the steps related to the first access.
4. Способ по п.1, в котором веб-сервер (10) на этапе выдачи оборудованию пользователя композитного кода (110), сохраненного в запоминающем устройстве (15), направляет оборудованию пользователя дополнительно код объекта, предназначенного для временной подмены динамических частей веб-страницы (100).4. The method according to claim 1, in which the web server (10) at the stage of issuing to the user equipment a composite code (110) stored in the storage device (15), additionally sends to the user equipment an object code for temporarily replacing the dynamic parts of the web pages (100).
5. Способ по п.1, дополнительно содержащий этап высчитывания веб-сервером (10) контрольной суммы композитного кода (110), осуществляемый после этапа его формирования при первом обращении оборудования пользователя к веб-странице (100), а также следующие этапы, выполняемые после этапа досылки веб-сервером (10) актуального html-кода динамических частей (101, 102, 103) на оборудование (50) пользователя:5. The method according to claim 1, further comprising the step of calculating by the web server (10) the checksum of the composite code (110), carried out after the stage of its generation upon the first access of the user equipment to the web page (100), as well as the following steps performed after the step of sending by the web server (10) the current html code of the dynamic parts (101, 102, 103) to the user’s equipment (50):
- формирование веб-сервером (10) обновленного html-кода веб-страницы (100), включающего актуальный html-код статической части и указанный актуальный html-код динамических частей (101, 102, 103);- generation by the web server (10) of the updated html code of the web page (100), including the actual html code of the static part and the specified current html code of the dynamic parts (101, 102, 103);
- замена веб-сервером (10) в обновленном html-коде веб-страницы (100) указанного кода, относящегося к динамическим частям (101, 102, 103), на JS-скрипт, содержащий предписание на получение актуального кода этих динамических частей (101, 102, 103) с веб-сервера (10), с формированием обновленного композитного кода (110);- replacement by the web server (10) in the updated html code of the web page (100) of the specified code related to the dynamic parts (101, 102, 103) with a JS script containing a prescription for receiving the actual code of these dynamic parts (101 , 102, 103) from the web server (10), with the formation of an updated composite code (110);
- высчитывание веб-сервером (10) контрольной суммы обновленного композитного кода (110) и сверка суммы обновленного композитного кода с прежней суммой композитного кода и, если суммы не совпадают, то сохранение сервером (10) обновленного композитного кода (110) в запоминающем устройстве (15) для использования в дальнейшем.- calculating by the web server (10) the checksum of the updated composite code (110) and reconciling the sum of the updated composite code with the previous sum of the composite code and, if the amounts do not match, then the server (10) stores the updated composite code (110) in the storage device ( 15) for future reference.
6. Способ по п.5, в котором если сумма обновленного композитного кода и прежняя сумма композитного кода не совпадают, веб-сервер (10) выдает обновленный html-код веб-страницы (100) оборудованию (50) пользователя для отображения обновленной веб-страницы (100) браузером, установленным на оборудовании (50) пользователя.6. The method according to claim 5, in which if the sum of the updated composite code and the previous sum of the composite code do not match, the web server (10) issues the updated html code of the web page (100) to the user equipment (50) to display the updated web pages (100) by a browser installed on the equipment (50) of the user.
7. Способ по п.5, дополнительно содержащий этап пересохранения прежнего композитного кода с присвоением ему нового имени.7. The method according to claim 5, further comprising the step of re-saving the previous composite code with assigning a new name to it.
8. Способ по п.1, содержащий этап имитации веб-сервером (10) первого обращения оборудования (50) пользователя к веб-странице (100).8. The method according to claim 1, comprising the step of simulating by the web server (10) the first access of the user equipment (50) to the web page (100).
9. Система (1) выдачи веб-страниц, содержащих по меньшей мере одну динамическую часть, на оборудование пользователя, включающая в себя веб-сервер (10) с размещенными на нем веб-страницами (100) и запоминающее устройство (15), причем веб-сервер (10) выполнен с возможностью:9. A system (1) for issuing web pages containing at least one dynamic part to user equipment, including a web server (10) with web pages (100) and a storage device (15) located on it, the web server (10) is configured to:
- при первом обращении оборудования (50) пользователя к веб-странице (100) совершать следующие действия:- upon the first access of the user equipment (50) to the web page (100), perform the following actions:
- выполнение программного кода веб-страницы (100), в том числе имеющихся на ней динамических частей (101, 102, 103), с формированием html-кода веб-страницы (100), включающего html-код статической части и html-код динамических частей (101, 102, 103);- execution of the program code of the web page (100), including the dynamic parts available on it (101, 102, 103), with the formation of the html code of the web page (100), including the html code of the static part and the html code of the dynamic parts (101, 102, 103);
- выдача html-кода веб-страницы (100) оборудованию (50) пользователя для отображения этой веб-страницы (100) браузером, установленным на оборудовании (50) пользователя;- issuing the html code of the web page (100) to the user equipment (50) to display this web page (100) by a browser installed on the user equipment (50);
- обнаружение в html-коде веб-страницы (100), полученном на этапе формирования html-кода, кода, относящегося к динамическим частям (101, 102, 103);- detection in the html code of the web page (100) obtained at the stage of generating the html code, a code related to the dynamic parts (101, 102, 103);
- замена в html-коде веб-страницы (100) указанного кода, относящегося к динамическим частям (101, 102, 103), на JS-скрипт (скрипт на языке JavaScript), содержащий предписание на получение актуального кода этих динамических частей (101, 102, 103) с веб-сервера (10), с формированием композитного кода (110) и сохранение этого композитного кода (110) в запоминающем устройстве (15);- replacement in the html code of the web page (100) of the specified code related to the dynamic parts (101, 102, 103) with a JS script (JavaScript script) containing a prescription for receiving the actual code of these dynamic parts (101, 102, 103) from a web server (10), with the formation of a composite code (110) and storing this composite code (110) in a storage device (15);
- при втором и последующих обращениях оборудования (50) пользователя к веб-странице (100) совершать следующие действия:- during the second and subsequent calls of the user equipment (50) to the web page (100), perform the following actions:
- выдача оборудованию (50) пользователя композитного кода (110), сохраненного в запоминающем устройстве (15), для отображения браузером, установленным на оборудовании (50) пользователя, статической части этой веб-страницы (100);- the issuance to the equipment (50) of the user of the composite code (110) stored in the storage device (15), for display by the browser installed on the equipment (50) of the user, the static part of this web page (100);
- прием от браузера запроса на актуальные данные для динамических частей (101, 102, 103), направляемого браузером путем следования предписанию, содержащемуся в JS-скрипте композитного кода (110);- receiving from the browser a request for relevant data for the dynamic parts (101, 102, 103), sent by the browser by following the instruction contained in the composite code JS script (110);
- выполнение по запросу от браузера программного кода динамических частей (101, 102, 103) с получением актуального html-кода, соответствующего этим частям (101, 102, 103);- execution, upon request from the browser, of the program code of the dynamic parts (101, 102, 103) with the receipt of the current html-code corresponding to these parts (101, 102, 103);
- досылка актуального html-кода динамических частей (101, 102, 103) на оборудование пользователя для их отображения браузером, установленным на оборудовании (50) пользователя, в соответствующих полях уже выведенной статической части веб-страницы (100), согласно сформированному актуальному html-коду этих динамических частей (101, 102, 103).- sending the actual html code of the dynamic parts (101, 102, 103) to the user’s equipment for display by a browser installed on the user’s equipment (50) in the corresponding fields of the already displayed static part of the web page (100), according to the generated html- the code of these dynamic parts (101, 102, 103).
10. Система по п.9, в которой веб-сервер (10) выполнен также с возможностью обнаружения в html-коде веб-страницы (100) кода, относящегося к динамическим частям, с использованием указаний в коде веб-страницы, помечающих эти части страницы как динамические.10. The system according to claim 9, in which the web server (10) is also configured to detect in the html code of the web page (100) the code related to the dynamic parts using the instructions in the code of the web page marking these parts pages as dynamic.
11. Система по п.9, в которой веб-сервер (10) выполнен также с возможностью проверки перед этапом выдачи оборудованию (50) пользователя композитного кода (110) наличия этого композитного кода (110) в запоминающем устройстве (15), причем если композитный код (110) отсутствует, веб-сервер (10) расценивает данное обращение оборудования (50) пользователя к веб-странице (100) как первое.11. The system according to claim 9, in which the web server (10) is also configured to check, before the stage of issuing the user equipment (50) a composite code (110), the presence of this composite code (110) in the storage device (15), and if there is no composite code (110), the web server (10) regards this user equipment (50) access to the web page (100) as the first.
12. Система по п.9, в которой веб-сервер (10) выполнен также с возможностью во время выдачи оборудованию пользователя композитного кода (110), сохраненного в запоминающем устройстве (15), направлять оборудованию пользователя дополнительно код объекта, предназначенного для временной подмены динамических частей веб-страницы (100).12. The system according to claim 9, in which the web server (10) is also configured to, during the issuance of the user equipment a composite code (110) stored in the storage device (15), send to the user equipment an additional code of the object intended for temporary substitution dynamic parts of a web page (100).
13. Система по п.9, в которой веб-сервер (10) выполнен также с возможностью высчитывания контрольной суммы композитного кода (110) после этапа его формирования при первом обращении оборудования пользователя к веб-странице (100), а также с возможностью выполнения следующих действий, осуществляемых после досылки веб-сервером (10) актуального html-кода динамических частей (101, 102, 103) на оборудование (50) пользователя:13. The system according to claim 9, in which the web server (10) is also configured to calculate the checksum of the composite code (110) after the stage of its formation at the first access of the user equipment to the web page (100), as well as with the possibility of execution the following actions performed after the web server (10) sends the current html code of the dynamic parts (101, 102, 103) to the user’s equipment (50):
- формирование обновленного html-кода веб-страницы (100), включающего актуальный html-код статической части и указанный актуальный html-код динамических частей (101, 102, 103);- the formation of an updated html-code of the web page (100), including the actual html-code of the static part and the specified actual html-code of the dynamic parts (101, 102, 103);
- замена в обновленном html-коде веб-страницы (100) указанного кода, относящегося к динамическим частям (101, 102, 103), на JS-скрипт, содержащий предписание на получение актуального кода этих динамических частей (101, 102, 103) с веб-сервера (10), с формированием обновленного композитного кода (110);- replacement in the updated html code of the web page (100) of the specified code related to the dynamic parts (101, 102, 103) with a JS script containing a prescription for receiving the actual code of these dynamic parts (101, 102, 103) with web server (10), with the formation of an updated composite code (110);
- высчитывание контрольной суммы обновленного композитного кода (110) и сверка суммы обновленного композитного кода с прежней суммой композитного кода и, если суммы не совпадают, то сохранение обновленного композитного кода (110) в запоминающем устройстве (15) для использования в дальнейшем.- calculating the checksum of the updated composite code (110) and reconciling the sum of the updated composite code with the previous sum of the composite code and, if the amounts do not match, then saving the updated composite code (110) in the storage device (15) for future use.
14. Система по п.13, в которой веб-сервер (10) выполнен также с возможностью выдачи обновленного html-кода веб-страницы (100) оборудованию (50) пользователя для отображения обновленной веб-страницы (100) браузером, установленным на оборудовании (50) пользователя, если сумма обновленного композитного кода и прежняя сумма композитного кода не совпадают.14. The system of claim 13, wherein the web server (10) is also configured to provide updated html code of the web page (100) to the user equipment (50) to display the updated web page (100) by a browser installed on the equipment (50) the user if the sum of the updated composite code and the previous sum of the composite code do not match.
15. Система по п.13, в которой веб-сервер (10) выполнен также с возможностью пересохранения прежнего композитного кода с присвоением ему нового имени.15. The system according to item 13, in which the web server (10) is also configured to re-save the previous composite code with a new name.
16. Система по п.9, в которой веб-сервер (10) выполнен также с возможностью имитации первого обращения оборудования (50) пользователя к веб-странице (100).
16. The system according to claim 9, in which the web server (10) is also configured to simulate the first access of the user equipment (50) to the web page (100).