CN112307390A - Website barrier-free informatization processing method, device, storage medium and system - Google Patents

Website barrier-free informatization processing method, device, storage medium and system Download PDF

Info

Publication number
CN112307390A
CN112307390A CN202011351690.7A CN202011351690A CN112307390A CN 112307390 A CN112307390 A CN 112307390A CN 202011351690 A CN202011351690 A CN 202011351690A CN 112307390 A CN112307390 A CN 112307390A
Authority
CN
China
Prior art keywords
nodes
voice
website
barrier
information
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.)
Pending
Application number
CN202011351690.7A
Other languages
Chinese (zh)
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.)
Guangdong Nanfang Network Information Technology Co ltd
Original Assignee
Guangdong Nanfang Network Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Nanfang Network Information Technology Co ltd filed Critical Guangdong Nanfang Network Information Technology Co ltd
Priority to CN202011351690.7A priority Critical patent/CN112307390A/en
Publication of CN112307390A publication Critical patent/CN112307390A/en
Pending legal-status Critical Current

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/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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9027Trees

Abstract

The invention discloses a method, a device, a storage medium and a system for processing barrier-free informationization of a website, wherein the processing method comprises the following steps: constructing all nodes in a browser webpage into a tree structure, wherein the nodes comprise elements, attributes and texts in the browser webpage; traversing all nodes in the tree structure according to a browsing request of a user, comparing objects corresponding to all the nodes, and reading text attributes corresponding to the objects; and sending the text attribute to a voice processing server, converting the text attribute into voice information by the voice processing server, and returning the voice information to a browser client for playing. In the embodiment, the text attributes of the objects corresponding to all the nodes are acquired by traversing all the nodes, so that the text attributes are converted into voices by the voice processing server to be played, the situation that webpage information cannot be acquired comprehensively due to the fact that part of dynamic data is lost and the webpage style is deformed is avoided, and the acquired webpage information can be more comprehensive.

Description

Website barrier-free informatization processing method, device, storage medium and system
Technical Field
The invention relates to the technical field of man-machine interaction, in particular to a method, a device, a storage medium and a system for barrier-free information processing of a website.
Background
Information barrier-free construction is an extension of barrier-free construction, and is a vigorous development of barrier-free construction business in the background of information society. The information barrier-free construction embodies a people-oriented advanced idea, and gradually realizes the integration of barrier-free construction and barrier-free information service on the basis of realizing information conversion, information enhancement and convenient operation. At present, the existing barrier-free information processing method for the website realizes the processing of the webpage information through a webpage mirror image technology or a frame nesting mode, but the existing barrier-free information processing method for the website easily loses part of dynamic data and the webpage style may be deformed, so that the webpage information cannot be comprehensively acquired.
Disclosure of Invention
The invention provides a method, a device, a storage medium and a system for barrier-free information processing of a website, and aims to solve the technical problems that partial dynamic data are easy to lose and webpage styles are possibly deformed, so that webpage information cannot be comprehensively acquired in the conventional barrier-free information processing method of the website.
A first embodiment of the present invention provides a method for processing barrier-free information of a website, including:
constructing all nodes in a browser webpage into a tree structure, wherein the nodes comprise elements, attributes and texts in the browser webpage;
traversing all nodes in the tree structure according to a browsing request of a user, comparing objects corresponding to all the nodes, and reading text attributes corresponding to the objects;
and sending the text attribute to a voice processing server, converting the text attribute into voice information by the voice processing server, and returning the voice information to a browser client for playing.
Further, the traversing all nodes in the tree structure according to the browsing request of the user, comparing objects corresponding to all the nodes, and reading text attributes corresponding to the objects specifically include:
traversing all nodes in the tree structure according to a browsing request of a user, and storing all the nodes in a node array; and acquiring the hovering position of the mouse as an initial index, circulating all nodes in the node array from the initial index, and acquiring text attributes of objects corresponding to all the nodes.
Further, the text attribute is sent to a voice processing server, so that the voice processing server converts the text attribute into voice information, and returns the voice information to a browser client for playing, specifically:
and sending the text attribute to a voice processing server, wherein the voice processing server converts the text attribute into corresponding voice information by adopting a voice synthesis technology, and returns the voice information to a browser client for playing.
Further, before the "constructing all nodes in the browser webpage into a tree structure, wherein the nodes include elements, attributes and text in the browser webpage", the method further includes:
injecting the style code and the script code into a target website; the style code realizes style isolation by adopting CSS Modules and Name space, and the script code realizes function module isolation by adopting a closure or sandbox interception mode.
Further, the processing method further comprises:
setting corresponding identification values for a plurality of functional events, and recording the identification values in a browser; and acquiring a corresponding identification value according to the type of the functional event triggered by the user, and responding to different functions according to the identification value.
Further, the acquiring a corresponding identification value according to the type of the function event triggered by the user, and responding to different functions according to the identification value specifically includes:
if the function event is a sound switch event, acquiring a corresponding sound switch identification value according to the function switch, and calling a sound switch method according to the sound switch identification value;
if the function event is a volume adjustment event, synchronously updating the volume value in the browser according to the volume adjustment event, and sending an update request to a voice processing server to enable the voice processing server to modify the volume configuration of a voice interface after the update request is verified;
and if the functional event is a speech rate adjustment event, synchronously updating the volume value in the browser according to the speech rate adjustment event, and sending an update request to a speech processing server, so that the speech processing server modifies the speech rate configuration of a speech interface after the update request is verified.
A second embodiment of the present invention provides a website barrier-free information processing apparatus, including:
the system comprises a construction module, a display module and a display module, wherein the construction module is used for constructing all nodes in a browser webpage into a tree structure, and the nodes comprise elements, attributes and texts in the browser webpage;
the reading module is used for traversing all nodes in the tree structure according to a browsing request of a user, comparing objects corresponding to all the nodes and reading text attributes corresponding to the objects;
and the voice playing module is used for sending the text attribute to a voice processing server, converting the text attribute into voice information by the voice processing server, and returning the voice information to the browser client for playing.
A third embodiment of the present invention provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program runs, a device where the computer-readable storage medium is located is controlled to execute the above-mentioned website barrier-free information processing method.
A fourth embodiment of the present invention provides a website barrier-free information processing system, including an authentication server, a resource server, and a resource service script for executing the website barrier-free information processing method as described above;
the authentication server is used for authorizing the target website to use barrier-free informatization processing service; the resource server is used for issuing resources to the authorized target website.
Further, the authentication server is specifically configured to receive a token ticket sent by a target website, perform authentication on the token ticket, obtain an authority of a voice processing interface after the authentication passes, and add the target website to a white list with a resource obtaining authority;
the resource server is used for receiving the resource acquisition request of the target website, detecting whether the target website is in the white list or not when the resource acquisition request is verified to be legal, and if so, issuing resources to the target website according to the resource acquisition request.
In the embodiment of the invention, all nodes comprise all text information needing voice playing, all nodes in the webpage form a tree structure, all nodes are traversed according to the browsing request of a user, and the nodes are converted into voice information through the voice processing server to be played, so that the situation that the webpage information cannot be comprehensively obtained due to the loss of part of dynamic data and the deformation of the webpage style is avoided, and the obtained webpage information can be more comprehensive.
Drawings
Fig. 1 is a schematic flowchart of a method for processing barrier-free information of a website according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a website barrier-free information processing apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a website barrier-free information processing system according to an embodiment of the present invention;
fig. 4 is another schematic structural diagram of a website barrier-free information processing system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it is to be understood that the terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present application, "a plurality" means two or more unless otherwise specified.
In the description of the present application, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art.
Referring to fig. 1, a first embodiment of the present invention provides a method for processing barrier-free information of a website, including:
s1, constructing all nodes in the browser webpage into a tree structure, wherein the nodes comprise elements, attributes and texts in the browser webpage;
s2, traversing all nodes in the tree structure according to the browsing request of the user, comparing objects corresponding to all the nodes, and reading text attributes corresponding to the objects;
and S3, sending the text attribute to the voice processing server, so that the voice processing server converts the text attribute into voice information, and returning the voice information to the browser client for playing.
The embodiment of the invention adopts a standard method for defining webpage access and operating HTML (Hypertext Markup Language) documents by using HTML DOM (document Markup Language). The technical scheme is that different HTLM DOM node objects have different barrier-free function requirements, and the node objects with barrier-free functions can be converted by voice. The embodiment of the invention adopts HTML DOM to present the HTML document of the webpage as a tree structure with elements, attributes and texts, and each node comprises the attribute related to the node information: nodeName (node name), nodeValue (node value), nodeType (node type). All nodes in the embodiment of the invention comprise all text information needing voice playing, all nodes in the webpage form a tree structure, all nodes are traversed according to the browsing request of a user, and the nodes are converted into voice information through the voice processing server to be played, so that all the text information needing playing can be accurately acquired, the problem that the webpage information cannot be comprehensively acquired due to the fact that part of dynamic data is lost and the webpage style is deformed can be avoided by a processing mode of sensorless injection, and the acquired webpage information can be more comprehensive.
As a specific implementation manner of the embodiment of the present invention, traversing all nodes in a tree structure according to a browsing request of a user, comparing objects corresponding to all nodes, and reading text attributes corresponding to the objects, specifically:
traversing all nodes in the tree structure according to the browsing request of the user, and storing all the nodes in a node array; and acquiring the hovering position of the mouse as an initial index, circulating all nodes in the node array from the initial index, and acquiring text attributes of objects corresponding to all the nodes.
In the embodiment of the invention, the browsing request is triggered by a user through a shortcut key or a mouse click, and the browsing request comprises a continuous reading request and a reading instruction request. In a specific implementation manner, the browsing request is a read-through request, after the browsing request is triggered, a read-through function of the web page content is started, all nodes in the tree structure are traversed, that is, HTML DOM nodes in the Body tag of the page are traversed, and each node is bound with an acoustic reading event. When an event is triggered, the hovering position of the mouse is acquired as an initial index, all nodes in the node array are circulated from the initial index, so that corresponding Text attributes are read according To the nodes, the acquired Text attributes are sent To a voice processing server, the voice processing server converts the sent Text attributes into voice information by adopting a TTS (Text-To-Speech) technology, temporarily converts the voice information into an Mp3 format or sends an audio stream response To a browser client, and the browser client is enabled To complete a voice playing function of the corresponding Text. According to the embodiment of the invention, the text attributes of the objects corresponding to all the nodes are acquired by traversing all the nodes, so that the voice processing server converts the text attributes into voice for playing, the process response is quick, a user can quickly acquire the information of the webpage, and the webpage browsing efficiency and the user experience can be effectively improved.
As a specific implementation manner of the embodiment of the present invention, the text attribute is sent to the voice processing server, so that the voice processing server converts the text attribute into voice information, and returns the voice information to the browser client for playing, specifically:
and sending the text attribute to a voice processing server, converting the text attribute into corresponding voice information by the voice processing server by adopting a voice synthesis technology, and returning the voice information to the browser client for playing.
Wherein the Speech synthesis technology includes, but is not limited To, TTS (Text-To-Speech) technology.
As a specific implementation manner of the embodiment of the present invention, before "constructing all nodes in the browser webpage into a tree structure, where the nodes include elements, attributes, and texts in the browser webpage", the method further includes:
injecting the style code and the script code into a target website; the style code adopts CSS Modules and Name space to realize style isolation, and the script code adopts a closure or sandbox interception mode to realize function module isolation.
In the embodiment of the invention, the style code and the script code are injected into the target website to perform the imperceptible processing on the content of the target website so as to enable the content to meet the information barrier-free standard. The script code of the embodiment of the invention realizes the isolation of the function module by adopting a closure or sandbox interception mode, and can effectively avoid the conflict and pollution between the injected function script and the target website, thereby effectively improving the stability of the layout display and the function use of the target website.
As a specific implementation manner of the embodiment of the present invention, the processing method further includes:
setting corresponding identification values for a plurality of functional events, and recording the identification values in a browser; and acquiring a corresponding identification value according to the type of the functional event triggered by the user, and responding to different functions according to the identification value.
As a specific implementation manner of the embodiment of the present invention, acquiring a corresponding identifier value according to a type of a function event triggered by a user, and responding to different functions according to the identifier value specifically includes:
if the function event is a sound switch event, acquiring a corresponding sound switch identification value according to the function switch, and calling a sound switch method according to the sound switch identification value;
it is understood that the trigger button of the function event in the embodiment of the present invention is disposed in the function bar of the web page. The embodiment of the invention records the identification value of the voice switch event in the Cookie of the browser, clicks the trigger event through a shortcut key or a mouse, and calls the corresponding voice switch method through the identification value in the Cookie.
If the function event is a volume adjustment event, synchronously updating the volume value in the browser according to the volume adjustment event, and sending an update request to the voice processing server so that the voice processing server modifies the volume configuration of the voice interface after the update request is verified;
the embodiment of the invention records the identification value corresponding to the volume adjustment event in the browser Cookie, obtains the mouse trigger event through a shortcut key, correspondingly increases or decreases the volume to realize the adjustment of the barrier-free voice volume value, synchronously updates the volume value in the browser Cookie, sends an update request to the voice processing server, and modifies the volume configuration of the voice interface after the voice processing server receives the request and is verified.
If the function event is a speed regulation event, the volume value in the browser is synchronously updated according to the speed regulation event, and the updating request is sent to the voice processing server, so that the voice processing server modifies the speed configuration of the voice interface after the updating request is verified.
The embodiment of the invention records the identification value corresponding to the speed adjustment event in the browser Cookie, alternately and circularly switches the speed state by clicking and triggering through a shortcut key or a mouse, synchronously updates the speed value in the browser Cookie, sends an updating request to the voice processing server, and modifies the speed configuration of the voice interface after the voice processing server receives the request and is verified.
Specifically, the functional events also include a view adjustment event, an auxiliary event, a zoom in and zoom out event, a forward and backward event, a refresh event, a help event, and an exit event. Wherein the content of the first and second substances,
recording the identification value of the view adjustment event in a browser Cookie, triggering by clicking a shortcut key or a mouse, and switching a text mode and a view mode according to the identification value so as to improve the browsing experience of a user, wherein the text mode refers to style-free webpage content display, and the realization method comprises the steps of setting disabled attributes of all style codes except function columns in a page to True, traversing and acquiring all style tags of the page, and emptying the attribute values of the style tags; and when the view mode is switched back, the page is forcibly refreshed, and the initial content form of the website page is recovered.
It should be noted that four webpage color schemes are preset in the view adjustment event, and are triggered by shortcut keys or mouse clicking, so that the webpage circularly and alternately switches color schemes, and the color schemes can avoid cognitive impairment of crowds. The implementation principle is that the color scheme identification value is recorded, the color scheme identification value is stored in a browser Cookie, the color matching mode is switched according to the identification value, all HTML DOM node objects in the page are traversed, and therefore the corresponding color matching pattern is modified.
The auxiliary event is realized by a red cross line following a mouse, is used for adding an auxiliary line on the webpage characters, helps the browsing positioning, and does not influence the normal use of other functions of the webpage. The implementation principle is that after the script is initialized, the auxiliary line is hidden on a page after being rendered successfully, and the auxiliary line button is switched to a hidden or display state after being triggered by a shortcut key or a mouse click.
The zooming and zooming events are used for recording page zooming and zooming coefficients, corresponding identification values are stored in the browser Cookie, the zooming mode of HTML DOM nodes in the Body label is changed by using a Scale or Zoom method in the mode codes according to the identification values, a plurality of modern browsers can be simultaneously compatible, the page zooming function is achieved, the convenience of webpage browsing is improved, and therefore the browsing experience of a user is favorably improved.
The forward and backward time is used for simulating the browser historical record forward and backward, after the website starts the barrier-free browsing function, the script records the current route in an array, the length is 5 at most, the current route index and the route array are stored in the browser Cookie, and when a shortcut key or a mouse clicks to trigger a forward and backward event, the route is skipped according to the route information in the browser Cookie, so that the forward and backward function of the webpage is realized.
The refresh event refreshes the page using a location of a global Window variable of the browser.
And after the help event is initialized by the script, rendering a help popup node, loading the help popup node into a page and hiding the help popup node, and switching the hidden or displayed state of the help popup node by clicking and triggering by a shortcut key or a mouse.
And the exit event is used for closing barrier-free auxiliary browsing, destroying the script injection example, refreshing the page and restoring the page to the original state.
After a user starts barrier-free auxiliary browsing through shortcut key or mouse click triggering, the embodiment of the invention provides multiple functions for the user to use, including finger reading, continuous reading, voice operation, pinyin, simple and complex switching, large subtitles, browser operation and the like, and can comprehensively meet the requirements of obtaining information of various types of vision disorder people with low vision, amblyopia, color vision disorder and the like.
The embodiment of the invention has the following beneficial effects:
all nodes in the embodiment of the invention comprise all text information needing voice playing, all nodes in the webpage form a tree structure, all nodes are traversed according to the browsing request of a user and converted into voice information for playing through the voice processing server, and the problem that the webpage information cannot be comprehensively obtained due to partial loss of dynamic data and deformation of webpage styles can be avoided by a processing mode of sensorless injection, so that all text information needing playing can be accurately obtained, and the obtained webpage information can be more comprehensive.
Referring to fig. 2, a second embodiment of the present invention provides a website barrier-free information processing apparatus, including:
a constructing module 10, configured to construct all nodes in the browser webpage into a tree structure, where the nodes include elements, attributes, and texts in the browser webpage;
the reading module 20 is configured to traverse all nodes in the tree structure according to a browsing request of a user, compare objects corresponding to all nodes, and read text attributes corresponding to the objects;
and the voice playing module 30 is configured to send the text attribute to the voice processing server, so that the voice processing server converts the text attribute into voice information, and returns the voice information to the browser client for playing.
The embodiment of the invention adopts a standard method for defining webpage access and operating HTML (Hypertext Markup Language) documents by using HTML DOM (document Markup Language). The technical scheme is that different HTLM DOM node objects have different barrier-free function requirements, and the node objects with barrier-free functions can be converted by voice. The embodiment of the invention adopts HTML DOM to present the HTML document of the webpage as a tree structure with elements, attributes and texts, and each node comprises the attribute related to the node information: nodeName (node name), nodeValue (node value), nodeType (node type).
The embodiment of the invention has the following beneficial effects:
all nodes in the embodiment of the invention comprise all text information needing voice playing, all nodes in the webpage form a tree structure, all nodes are traversed according to the browsing request of a user and converted into voice information for playing through the voice processing server, and the problem that the webpage information cannot be comprehensively obtained due to the loss of part of dynamic data and the deformation of the webpage style can be avoided by a processing mode of sensorless injection, so that all text information needing playing can be accurately obtained, and the obtained webpage information is more comprehensive, thereby the obtained webpage information is more comprehensive.
A third embodiment of the present invention provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program runs, a device in which the computer-readable storage medium is located is controlled to execute the above-mentioned website barrier-free information processing method.
Referring to fig. 3, a fourth embodiment of the present invention provides a system for processing barrier-free information of a website, including an authentication server 11, a resource server 12, and a resource service script 13 for executing the method for processing barrier-free information of a website as described above;
the authentication server 11 is used for authorizing the target website to use the barrier-free information processing service; the resource server 12 is used to issue resources to authorized target websites.
As a specific implementation manner of the embodiment of the present invention, the authentication server 11 is specifically configured to receive a token ticket sent by a target website, perform authentication on the token ticket, obtain the authority of a voice processing interface after the authentication passes, and add the target website to a white list with a resource obtaining authority;
the resource server 12 is configured to receive a resource acquisition request of a target website, detect whether the target website is in a white list when the resource acquisition request is verified to be legal, and if so, issue a resource to the target website according to the resource acquisition request.
As a specific implementation manner, the resource providing server verifies and compares the host in eq.heads [ 'refer' ] and req.url to confirm whether the resource request is consistent, thereby verifying whether the resource obtaining request is legal. Referring to fig. 4, another structural diagram of a website barrier-free information processing system according to an embodiment of the present invention is shown.
The embodiment of the invention has the following beneficial effects:
the embodiment of the invention authenticates the request of the target website through the authentication service, and gives the related authority after the authentication is passed, and the resource server 12 issues corresponding resources to the authorized target website so as to realize the processing of barrier-free information of the website. According to the embodiment of the invention, the target website is given the related authority through authentication, and the related resources are issued through the resource server 12, so that the safety and reliability of website access can be effectively improved, and the management efficiency of the system can be effectively improved.
Furthermore, the embodiment of the invention can effectively solve the anti-theft chain problem of the static resource script and the abuse problem of the voice processing interface, ensures the script calling safety and the target website rights and interests, and improves the stability and the reliability of the system operation.
The foregoing is a preferred embodiment of the present invention, and it should be noted that it would be apparent to those skilled in the art that various modifications and enhancements can be made without departing from the principles of the invention, and such modifications and enhancements are also considered to be within the scope of the invention.

Claims (10)

1. A method for processing barrier-free information of a website is characterized by comprising the following steps:
constructing all nodes in a browser webpage into a tree structure, wherein the nodes comprise elements, attributes and texts in the browser webpage;
traversing all nodes in the tree structure according to a browsing request of a user, comparing objects corresponding to all the nodes, and reading text attributes corresponding to the objects;
and sending the text attribute to a voice processing server, converting the text attribute into voice information by the voice processing server, and returning the voice information to a browser client for playing.
2. The method for processing barrier-free information of a website according to claim 1, wherein the step of traversing all nodes in the tree structure according to a browsing request of a user, comparing objects corresponding to all the nodes, and reading text attributes corresponding to the objects comprises:
traversing all nodes in the tree structure according to a browsing request of a user, and storing all the nodes in a node array; and acquiring the hovering position of the mouse as an initial index, circulating all nodes in the node array from the initial index, and acquiring text attributes of objects corresponding to all the nodes.
3. The method for processing barrier-free information of a website according to claim 1, wherein the text attribute is sent to a voice processing server, so that the voice processing server converts the text attribute into voice information and returns the voice information to a browser client for playing, specifically:
and sending the text attribute to a voice processing server, wherein the voice processing server converts the text attribute into corresponding voice information by adopting a voice synthesis technology, and returns the voice information to a browser client for playing.
4. The web site barrier-free informatization processing method of claim 1, before the "constructing all nodes in a browser web page into a tree structure, wherein the nodes include elements, attributes and text in the browser web page", further comprising:
injecting the style code and the script code into a target website; the style code realizes style isolation by adopting CSS Modules and Name space, and the script code realizes function module isolation by adopting a closure or sandbox interception mode.
5. The method for processing barrier-free information of a website as recited in claim 1, further comprising:
setting corresponding identification values for a plurality of functional events, and recording the identification values in a browser; and acquiring a corresponding identification value according to the type of the functional event triggered by the user, and responding to different functions according to the identification value.
6. The method for processing barrier-free information of a website according to claim 5, wherein the acquiring a corresponding identification value according to a type of a function event triggered by a user, and responding to different functions according to the identification value specifically comprises:
if the function event is a sound switch event, acquiring a corresponding sound switch identification value according to the function switch, and calling a sound switch method according to the sound switch identification value;
if the function event is a volume adjustment event, synchronously updating the volume value in the browser according to the volume adjustment event, and sending an update request to a voice processing server to enable the voice processing server to modify the volume configuration of a voice interface after the update request is verified;
and if the functional event is a speech rate adjustment event, synchronously updating the volume value in the browser according to the speech rate adjustment event, and sending an update request to a speech processing server, so that the speech processing server modifies the speech rate configuration of a speech interface after the update request is verified.
7. A website barrier-free information processing device is characterized by comprising:
the system comprises a construction module, a display module and a display module, wherein the construction module is used for constructing all nodes in a browser webpage into a tree structure, and the nodes comprise elements, attributes and texts in the browser webpage;
the reading module is used for traversing all nodes in the tree structure according to a browsing request of a user, comparing objects corresponding to all the nodes and reading text attributes corresponding to the objects;
and the voice playing module is used for sending the text attribute to a voice processing server, converting the text attribute into voice information by the voice processing server, and returning the voice information to the browser client for playing.
8. A computer-readable storage medium, comprising a stored computer program, wherein when the computer program runs, the computer-readable storage medium controls a device to execute a method for processing website barrier-free information according to any one of claims 1 to 6.
9. A website barrier-free information processing system, which is characterized by comprising an authentication server, a resource server and a resource service script for executing the website barrier-free information processing method according to any one of claims 1-6;
the authentication server is used for authorizing the target website to use barrier-free informatization processing service; the resource server is used for issuing resources to the authorized target website.
10. The system for website barrier-free information processing according to claim 9, wherein the authentication server is specifically configured to receive a token ticket sent by a target website, perform authentication on the token ticket, obtain the authority of the voice processing interface after the authentication passes, and add the target website to a white list with resource obtaining authority;
the resource server is used for receiving the resource acquisition request of the target website, detecting whether the target website is in the white list or not when the resource acquisition request is verified to be legal, and if so, issuing resources to the target website according to the resource acquisition request.
CN202011351690.7A 2020-11-26 2020-11-26 Website barrier-free informatization processing method, device, storage medium and system Pending CN112307390A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011351690.7A CN112307390A (en) 2020-11-26 2020-11-26 Website barrier-free informatization processing method, device, storage medium and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011351690.7A CN112307390A (en) 2020-11-26 2020-11-26 Website barrier-free informatization processing method, device, storage medium and system

Publications (1)

Publication Number Publication Date
CN112307390A true CN112307390A (en) 2021-02-02

Family

ID=74487746

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011351690.7A Pending CN112307390A (en) 2020-11-26 2020-11-26 Website barrier-free informatization processing method, device, storage medium and system

Country Status (1)

Country Link
CN (1) CN112307390A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113450762A (en) * 2021-06-23 2021-09-28 Oppo广东移动通信有限公司 Character reading method, device, terminal and storage medium
CN113900618A (en) * 2021-05-07 2022-01-07 浙江口碑网络技术有限公司 Information playing method and device, electronic equipment and storage medium
CN114461171A (en) * 2022-01-27 2022-05-10 山东省城市商业银行合作联盟有限公司 Method and system for reading web bank pages

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060122976A1 (en) * 2004-12-03 2006-06-08 Shumeet Baluja Predictive information retrieval
US20110004556A1 (en) * 2007-04-20 2011-01-06 Engelke Charles E System and method of electronic information delivery
CN102831229A (en) * 2012-08-30 2012-12-19 浙大网新科技股份有限公司 Web page browsing method suitable for blind persons
CN104078038A (en) * 2013-03-28 2014-10-01 腾讯科技(深圳)有限公司 Page content aloud-reading method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060122976A1 (en) * 2004-12-03 2006-06-08 Shumeet Baluja Predictive information retrieval
US20110004556A1 (en) * 2007-04-20 2011-01-06 Engelke Charles E System and method of electronic information delivery
CN102831229A (en) * 2012-08-30 2012-12-19 浙大网新科技股份有限公司 Web page browsing method suitable for blind persons
CN104078038A (en) * 2013-03-28 2014-10-01 腾讯科技(深圳)有限公司 Page content aloud-reading method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
梁哲炜等: "基于XML的盲用浏览器设计与实现", 《第一届全国WEB信息系统及其应用会议论文集》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113900618A (en) * 2021-05-07 2022-01-07 浙江口碑网络技术有限公司 Information playing method and device, electronic equipment and storage medium
CN113900618B (en) * 2021-05-07 2023-12-19 浙江口碑网络技术有限公司 Information playing method and device, electronic equipment and storage medium
CN113450762A (en) * 2021-06-23 2021-09-28 Oppo广东移动通信有限公司 Character reading method, device, terminal and storage medium
CN114461171A (en) * 2022-01-27 2022-05-10 山东省城市商业银行合作联盟有限公司 Method and system for reading web bank pages
CN114461171B (en) * 2022-01-27 2023-11-28 山东省城市商业银行合作联盟有限公司 Method and system for reading online banking page

Similar Documents

Publication Publication Date Title
CN112307390A (en) Website barrier-free informatization processing method, device, storage medium and system
KR102582513B1 (en) Web page analysis to facilitate automatic navigation
CN105740686B (en) The control method and device of application
JP4871885B2 (en) User verification using a web-based multi-mode interface
US20180108274A1 (en) Cloud-Based User Interface Augmentation
Freire et al. WebViews: accessing personalized web content and services
US8990692B2 (en) Time-marked hyperlinking to video content
US7593854B2 (en) Method and system for collecting user-interest information regarding a picture
US11775254B2 (en) Analyzing graphical user interfaces to facilitate automatic interaction
JP2002108870A (en) System and method for processing information
US20110161178A1 (en) Web-Page Authoring Tool for Automatic Enrollment in Advertising Program
US20030112267A1 (en) Multi-modal picture
US20170277703A1 (en) Method for Displaying Webpage and Server
CN110720098A (en) Adaptive interface in voice activated network
US20130166292A1 (en) Accessing Content Using a Source-Specific Content-Adaptable Dialogue
CN101257538A (en) Method and apparatus for processing request in browsers
KR20080082023A (en) Providing method and system with web contents using web page division based on mobile internet
US20030196169A1 (en) Device and procedure for the protected output of an electronic document via a data transmission network
CN111309578A (en) Method and device for identifying object
CN104486301A (en) Login authentication method and device
US20160103799A1 (en) Methods and systems for automated detection of pagination
US7254542B2 (en) Portal data passing through non-persistent browser cookies
CN102193789A (en) Method and equipment for realizing configurable skip link
CN111327961A (en) Video subtitle switching method and system
US8849692B1 (en) Online advertising program enrollment program

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210202

RJ01 Rejection of invention patent application after publication