CN112925603A - Page information providing method and device, computer equipment and readable storage medium - Google Patents

Page information providing method and device, computer equipment and readable storage medium Download PDF

Info

Publication number
CN112925603A
CN112925603A CN202110509833.0A CN202110509833A CN112925603A CN 112925603 A CN112925603 A CN 112925603A CN 202110509833 A CN202110509833 A CN 202110509833A CN 112925603 A CN112925603 A CN 112925603A
Authority
CN
China
Prior art keywords
page
displayed
layout
broadcasting
information providing
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
CN202110509833.0A
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.)
Zhejiang Koubei Network Technology Co Ltd
Original Assignee
Zhejiang Koubei Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Koubei Network Technology Co Ltd filed Critical Zhejiang Koubei Network Technology Co Ltd
Priority to CN202110509833.0A priority Critical patent/CN112925603A/en
Publication of CN112925603A publication Critical patent/CN112925603A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a page information providing method, a page information providing device, computer equipment and a readable storage medium, which relate to the technical field of Internet, wherein a page to be displayed indicated by a page information providing request is displayed, a page guide language used for describing the page function of the page to be displayed is broadcasted, an element layout file used for describing the position relation of page elements in the page to be displayed is obtained, and the element layout file is broadcasted, so that a user can know the detailed layout of the page while roughly knowing the page, and can determine which page elements are included in the page, and the position of each page element in the page, thereby relieving the limitation of the visually impaired people in knowing the page, and ensuring that the visually impaired people really perceive the complete page. The method comprises the following steps: responding to the page information providing request, and displaying the page to be displayed indicated by the page information providing request; broadcasting a page function file of a page to be displayed; and acquiring the element layout pattern of the page to be displayed, and broadcasting the element layout pattern.

Description

Page information providing method and device, computer equipment and readable storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method and an apparatus for providing page information, a computer device, and a readable storage medium.
Background
With the rapid development of the internet technology, the intelligent terminal is gradually popularized, and corresponding functions are developed by a lot of application software aiming at huge information-barrier groups so as to meet the self requirements of the information-barrier groups and improve barrier-free user experience. For example, the shopping software provides a barrier-free mode, and the visually impaired people acquire page information provided by the shopping software based on the barrier-free mode, and then perform food ordering, payment and other operations in the shopping software.
In the related technology, the application software can determine various commodities provided by a merchant on a current page in a barrier-free mode, and provides information such as commodity names and the like to visually impaired people in a voice broadcast mode according to the display sequence of the commodities in the page, so that the visually impaired people can input serial numbers corresponding to the commodities to place orders.
In carrying out the present application, the applicant has found that the related art has at least the following problems:
the information provided for the visually impaired people by adopting the voice broadcasting mode is single, so that the visually impaired people have limitation on understanding the page, and cannot really perceive the complete page.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for providing page information, a computer device and a readable storage medium, and mainly aims to solve the problem that the current knowledge of a page is limited and it is difficult to really perceive a complete page.
According to a first aspect of the present application, there is provided a page information providing method, including:
responding to a page information providing request, and displaying a page to be displayed indicated by the page information providing request;
broadcasting a page function file of the page to be displayed, wherein the page function file is used for describing services or functions provided by the page to be displayed;
the method comprises the steps of obtaining an element layout file of a page to be displayed, and broadcasting the element layout file, wherein the element layout file is generated according to the layout of at least one page element included in the page to be displayed on the page to be displayed and is used for describing the position relation between the at least one page element, and the at least one page element is one or more than one of a control element, a supply element and a decoration element.
Optionally, the displaying the page to be displayed indicated by the page information providing request includes:
determining an access operation occurring when the page information providing request is generated;
and taking the page associated with the target entry accessed by the access operation request or the page generated by the access operation as the page to be displayed, and displaying the page to be displayed.
Optionally, the obtaining the element layout pattern of the page to be displayed includes:
inquiring the element layout pattern bound to the page to be displayed; or the like, or, alternatively,
and determining the element layout of the at least one page element on the page to be displayed, and describing the position relationship between the at least one page element according to the element layout to obtain the element layout pattern.
Optionally, the describing the position relationship between the at least one page element according to the element layout to obtain the element layout pattern includes:
sequencing the at least one page element according to a preset description sequence;
according to the element layout, sequentially describing the position relation of the at least one sequenced page element to obtain at least one element position description corresponding to the at least one page element;
and sequencing the at least one element position description according to the preset description sequence, and adding the element name of the at least one page element to the sequenced at least one element position description to obtain the element layout pattern.
Optionally, the sequentially describing the position relationship of the at least one sequenced page element according to the element layout to obtain at least one element position description corresponding to the at least one page element includes:
extracting a first page element arranged at the head from the at least one page element after sequencing, describing the relative position relationship of the first page element on the page to be displayed, and generating the element position description of the first page element;
extracting a second page element, describing the position relation of the second page element indicated by the element layout relative to the first page element, and generating an element position description of the second page element, wherein the second page element is a page element which is adjacent to the first page element and is positioned behind the first page element in the at least one ordered page element;
continuing to extract a third page element, describing the position relationship, indicated by the element layout, of the third page element relative to the second page element, and generating an element position description of the third page element until at least one page element is traversed to obtain the at least one element position description, where the third page element is a page element, adjacent to the second page element and behind the second page element, in the at least one ordered page element.
Optionally, the method further comprises:
when voice input content is received, analyzing the voice input content, and determining a first target page element indicated by the voice input content;
if the first target page element is determined to be successful, pausing the broadcasting of the element layout file of the page to be displayed, jumping to a first element page related to the first target page element, and broadcasting a page leading word of the first element page and the element layout file of the first element page;
and if the first target page element is determined to fail, continuously broadcasting the element layout file of the page to be displayed.
Optionally, the method further comprises:
when the triggering operation of the page to be displayed is detected, pausing broadcasting of the element layout pattern of the page to be displayed, determining a second target page element triggered by the triggering operation, and broadcasting the element name of the second target page element and the element position description corresponding to the second target page element;
if the repeated triggering operation of the second target page element is detected, or the voice input content indicating that the second target page element is triggered is received, the broadcasting of the element layout pattern of the page to be displayed is suspended, the page is jumped to a second element page related to the second target page element, and a page leading language of the second element page and the element layout pattern of the second element page are broadcasted;
and if receiving voice input content indicating that the triggering operation is cancelled, or detecting no triggering operation within a preset timeout duration, or detecting no voice input content within the preset timeout duration, continuously broadcasting the element layout file of the page to be displayed.
According to a second aspect of the present application, there is provided a page information providing apparatus, the apparatus including:
the display module is used for responding to a page information providing request and displaying a page to be displayed indicated by the page information providing request;
the first broadcasting module is used for broadcasting a page function file of the page to be displayed, and the page function file is used for describing services or functions provided by the page to be displayed;
the second broadcasting module is used for acquiring the element layout file of the page to be displayed and broadcasting the element layout file, wherein the element layout file is generated according to the layout of at least one page element included in the page to be displayed on the page to be displayed and is used for describing the position relation among the at least one page element, and the at least one page element is one or more of a control element, a supply element and a decoration element.
Optionally, the presentation module is configured to determine an access operation occurring when the page information providing request is generated; and taking the page associated with the target entry accessed by the access operation request or the page generated by the access operation as the page to be displayed, and displaying the page to be displayed.
Optionally, the second broadcasting module is configured to query the element layout pattern bound to the page to be displayed; or determining the element layout of the at least one page element on the page to be displayed, and describing the position relationship between the at least one page element according to the element layout to obtain the element layout pattern.
Optionally, the second broadcast module is configured to sort the at least one page element according to a preset description order; according to the element layout, sequentially describing the position relation of the at least one sequenced page element to obtain at least one element position description corresponding to the at least one page element; and sequencing the at least one element position description according to the preset description sequence, and adding the element name of the at least one page element to the sequenced at least one element position description to obtain the element layout pattern.
Optionally, the second broadcasting module is configured to extract a first page element ranked at the head from the at least one sorted page element, describe a relative position relationship of the first page element in the page to be displayed, and generate an element position description of the first page element; extracting a second page element, describing the position relation of the second page element indicated by the element layout relative to the first page element, and generating an element position description of the second page element, wherein the second page element is a page element which is adjacent to the first page element and is positioned behind the first page element in the at least one ordered page element; continuing to extract a third page element, describing the position relationship, indicated by the element layout, of the third page element relative to the second page element, and generating an element position description of the third page element until at least one page element is traversed to obtain the at least one element position description, where the third page element is a page element, adjacent to the second page element and behind the second page element, in the at least one ordered page element.
Optionally, the apparatus further comprises:
the analysis module is used for analyzing the voice input content when the voice input content is received and determining a first target page element indicated by the voice input content;
the display module is further configured to, if it is determined that the first target page element is successful, suspend broadcasting the element layout pattern of the page to be displayed, skip to a first element page associated with the first target page element, and broadcast a page guidance phrase of the first element page and the element layout pattern of the first element page;
and the second broadcasting module is further used for continuously broadcasting the element layout pattern of the page to be displayed if the first target page element is determined to fail.
Optionally, the apparatus further comprises:
the determining module is used for pausing the broadcasting of the element layout file of the page to be displayed when the triggering operation of the page to be displayed is detected, determining a second target page element triggered by the triggering operation, and broadcasting the element name of the second target page element and the element position description corresponding to the second target page element;
the display module is further configured to, if it is detected that the second target page element is repeatedly triggered, or voice input content indicating that the second target page element is triggered is received, suspend broadcasting of the element layout pattern of the page to be displayed, skip to a second element page associated with the second target page element, and broadcast a page guidance language of the second element page and the element layout pattern of the second element page;
the second broadcasting module is further configured to continue to broadcast the element layout pattern of the page to be displayed if a voice input content indicating that the triggering operation is cancelled is received, or no triggering operation is detected within a preset timeout duration, or no voice input content is detected within the preset timeout duration.
According to a third aspect of the present application, there is provided a computer device comprising a memory storing a computer program and a processor implementing the steps of the method of any of the first aspects when the computer program is executed.
According to a fourth aspect of the present application, there is provided a readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the method of any of the above-mentioned first aspects.
By means of the technical scheme, the page information providing method, the page information providing device, the computer equipment and the readable storage medium are provided, the page to be displayed indicated by the page information providing request is displayed, the page guide words used for describing the page functions of the page to be displayed are broadcasted, the element layout file used for describing the position relation of one or more than one page elements in the page to be displayed, the element layout file is also broadcasted, the user can know the detailed layout of the page while knowing the functions of the page and the page roughly, and the page to determine which page elements are included in the page, the position of each page element in the page is eliminated, the limitation that the visually impaired people know the page is eliminated, and the visually impaired people can really sense the complete page.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic flowchart illustrating a page information providing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating a page information providing method according to an embodiment of the present application;
fig. 3A is a schematic structural diagram illustrating a page information providing apparatus according to an embodiment of the present application;
fig. 3B is a schematic structural diagram illustrating a page information providing apparatus according to an embodiment of the present application;
fig. 3C is a schematic structural diagram illustrating a page information providing apparatus according to an embodiment of the present application;
fig. 4 shows a schematic device structure diagram of a computer apparatus according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
An embodiment of the present application provides a method for providing page information, as shown in fig. 1, the method includes:
101. and responding to the page information providing request, and displaying the page to be displayed indicated by the page information providing request.
102. And broadcasting the page function file of the page to be displayed, wherein the page function file is used for describing the service or function provided by the page to be displayed.
103. The method comprises the steps of obtaining an element layout file of a page to be displayed, and broadcasting the element layout file, wherein the element layout file is generated according to the layout of at least one page element included in the page to be displayed on the page to be displayed and is used for describing the position relation between the at least one page element, and the at least one page element is one or more than one of a control element, a supply element and a decoration element.
According to the method provided by the embodiment of the application, the page to be displayed indicated by the page information providing request is displayed, the page guide words used for describing the page functions of the page to be displayed are broadcasted, the element layout file used for describing the position relation of one or more than one page elements in the operation elements, the supply elements and the decoration elements in the page to be displayed is obtained, and the element layout file is also broadcasted, so that a user can know the functions of the page and roughly know the page, can also know the detailed layout of the page, determine which page elements the page comprises, and determine the position of each page element in the page, thereby relieving the limitation of the visually impaired people in knowing the page, and ensuring that the visually impaired people really perceive the complete page.
An embodiment of the present application provides a method for providing page information, as shown in fig. 2, the method includes:
201. and responding to the page information providing request, and displaying the page to be displayed indicated by the page information providing request.
In recent years, the functions of application software are more and more perfect, for example, shopping software develops a barrier-free mode for visually impaired people, so that visually impaired people can purchase commodities by themselves in the barrier-free mode without external help. Visually impaired people refer to people who have a certain degree of visual function loss, low visual acuity or impaired vision and cannot achieve normal vision. For such users, it is quite difficult to accurately find the commodity to be ordered in the page with rich content, and therefore, some of the accessible modes provided by the shopping software can provide page information in a broadcast manner, that is, the user clicks which element in the page to play the recognition result information of the element in a voice manner. Or some shopping software does not need to be clicked by a user, and can provide information such as commodity names and the like with page information in a voice broadcast mode according to the display sequence of commodities in the page, so that the user can input serial numbers corresponding to the commodities to place orders.
However, the applicant recognizes that the above-mentioned manner of providing page information can only provide single commodity information, and actually, the page has more abundant content, so that the user cannot see the page clearly, and the user cannot know the page integrally and completely through the broadcasted content, and the content perceived by the user is limited, which causes inconvenience to the ordering process. Therefore, the page information providing method is provided, the page to be displayed indicated by the page information providing request is displayed, the page guidance words used for describing the page functions of the page to be displayed are broadcasted, the element layout scheme used for describing the position relation of one or more than one page elements of the control elements, the supply elements and the decoration elements in the page to be displayed is obtained, and the element layout scheme is also broadcasted, so that a user can know the functions of the page and the page about, and can also know the detailed layout of the page, determine the page including the page elements and the position of each page element in the page, relieve the limitation of the visually impaired people in knowing the page, and ensure that the visually impaired people really perceive the complete page.
When a user wants to access a certain page, the user performs access operation on the terminal through a trigger action, so that the terminal determines a page information providing request of the user, displays the page to be displayed indicated by the page information providing request, and provides detailed page information of the page to be displayed to the user in the subsequent process. Specifically, when the page to be displayed is displayed, the terminal may determine an access operation occurring when the page information providing request is generated, and display the page to be displayed by using a page associated with a target entry accessed by the access operation request or a page occurring with the access operation as the page to be displayed. That is to say, the terminal can determine which entry is triggered by the access operation of the user, take the page associated with the entry as the page to be displayed, and after the page to be displayed is displayed, start to provide the page information of the page to be displayed for the user in a broadcast manner, so that the user does not need to trigger the broadcast again, and frequent operation of the user is avoided; or, the terminal may also determine which page the user has triggered to perform the access operation, take the page where the access operation occurs as the page to be displayed, and start to provide the page information of the page to be displayed to the user in a broadcast manner, so that the user activates the broadcast of the information in a secondary triggering manner of the page to be displayed, thereby ensuring accurate execution of information broadcast and avoiding trouble brought to the user by autonomously broadcasting the page information.
202. And broadcasting the page function file of the page to be displayed.
In the embodiment of the application, after the page to be displayed is determined, the page information is provided to the user in a voice broadcast mode. In the process of practical application, application software can provide a large number of pages, wherein page functions of a plurality of pages in the large number of pages are the same, for example, some pages are store main pages and are used for describing general profiles of stores, so that a user can easily know about the stores; some pages are commodity detail pages and are used for describing detailed commodity parameters of commodities, so that a user can know the commodities in detail; further, the pages are order settlement pages for users to pay for goods in the order, and therefore, it can be understood that describing the services or functions provided by the pages enables users to have a rough understanding of the pages, and is an overview of the overall situation of the pages.
Therefore, in the embodiment of the application, after the page to be displayed is determined, the page function document for describing the service or function provided by the page to be displayed is obtained, and the page function document is broadcasted, so that the user can roughly know about the page to be displayed according to the page function document. Specifically, the page function document can be configured in advance and bound with the page to be displayed, and can be directly obtained and used; or the page function file can be generated in real time according to the page function of the page to be displayed when the page information is provided for the user. For example, assuming that the page to be displayed is a, and a is a main page of a store a, the page function document bound by a may be acquired, or a page function document such as "the current page is a main page of the store a" may be generated for a in real time, and the page function document may be broadcasted. The present application does not specifically limit the generation timing of the page function document and the document form.
203. And acquiring the element layout pattern of the page to be displayed.
In the embodiment of the present application, the above-reported page function document is for a user to roughly know about a page to be displayed, and actually, the page to be displayed further includes a large number of keys, entries, commodities, decorative materials, and the like. In order to enable a user to know the page to be displayed in an all-around manner, the embodiment of the application can acquire the element layout file of the page to be displayed, and then the element layout file is broadcasted.
The element layout pattern is a pattern which is generated according to the layout of at least one page element included in the page to be displayed on the page to be displayed and is used for describing the position relation between the at least one page element, and the at least one page element is actually one or more of a control element, a supply element and a decoration element. Specifically, the manipulation element is an element used for triggering and operating a page, and for example, components, controls, and the like of page configuration all belong to the manipulation element; the supply elements are commodities, documentaries, small videos and the like provided by the page, and information which a user can know through browsing the page is expected to belong to the supply elements; the decoration element is characters, symbols and the like added for making the page more beautiful or making certain information in the page more prominent, such as a symbol of 'time-limited promotion' added at the upper right corner of the commodity.
It should be noted that the element layout pattern may be generated in advance and bound to the page to be displayed, so that when the element layout pattern is obtained, the element layout pattern bound to the page to be displayed is directly queried. Or, the element layout document may also be generated in real time, so that when the element layout document is obtained, the element layout of at least one page element on the page to be displayed needs to be determined, and the position relationship between the at least one page element is described according to the element layout to obtain the element layout document. The following describes the generation process of the element layout pattern, and the element layout pattern, whether generated in advance or generated in real time, can be generated by the following processes:
first, at least one page element is sorted according to a preset description order. The preset description order indicates the sequence in which at least one page element is described in the element layout document, and may specifically be from top to bottom, from left to right, or from left to right while from top to bottom.
And then, according to the element layout, sequentially describing the position relation of at least one sequenced page element to obtain at least one element position description corresponding to at least one page element. The process of specifically generating at least one element position description is as follows: and extracting a first page element arranged at the head from at least one page element after sequencing, describing the relative position relation of the first page element in the page to be displayed, and generating the element position description of the first page element. For example, assuming that the first page element is a, which is located at the top of the page to be presented, the generated element position description may be "located at the top position of the page". And then extracting a second page element, describing the position relation of the second page element indicated by the element layout relative to the first page element, and generating the element position description of the second page element, wherein the second page element is the page element which is adjacent to the first page element and is positioned after the first page element in the at least one sorted page element. That is, after the description of the first page element is completed, the description of the position relationship of the next page element of the first page element is started. Continuing with the example that the first page element is a, a is located at the top of the page to be displayed, and assuming that the second page element is B, and B is located below a, the element position description generated for B may be "located at the right of a". Continuing to extract a third page element, which is a page element adjacent to the second page element and behind the second page element in the at least one ordered page element, and describing a position relationship, indicated by the element layout, of the third page element with respect to the second page element, and generating an element position description of the third page element, specifically referring to the above example for the second page element, until the at least one page element is traversed, to obtain at least one element position description.
It should be noted that, considering that some page elements in a page are located in the same row, the element position descriptions for the page elements in the whole row can be quickly generated by taking the row as a unit, and therefore, the element position descriptions describing the relative position relationship between the page elements in the whole row can also be generated by taking the row or the column as a unit, so that the generation efficiency of the element position descriptions is improved, the number of the element position descriptions is reduced, and the content of the subsequently generated element layout document is prevented from being too much. For example, for the page element of the first row, an element position description may be generated where the first page element is a, and the right of a is B, C, D in order.
And finally, sequencing the at least one element position description according to a preset description sequence, and adding the element name of the at least one page element to the sequenced at least one element position description to obtain an element layout pattern. It should be noted that the element position description illustrated above does not carry the element name of the page element, such as "located on the right of a", and therefore, when generating the element layout pattern, the element name needs to be added to obtain a pattern that "B is located on the right of a". In the process of practical application, if a corresponding element name is already added when the element position description is generated, for example, B is located on the right of a, the element name does not need to be added, and at least one element position description is directly combined according to a preset description sequence to obtain an element layout pattern.
In addition, the above steps 202 to 203 describe a process of broadcasting the page function document first and then broadcasting the element layout document. In the process of practical application, considering that the user has a demand of purchasing or browsing urgently, the step of broadcasting the page function file can be omitted, and the element layout file is directly broadcasted, or the element layout file is broadcasted first and then the page function file is broadcasted. The sequence of the page function file and the element layout file is not specifically limited.
204. And broadcasting the element layout file.
In the embodiment of the application, after the element layout file is obtained, the element layout file is broadcasted in a voice broadcasting mode.
In the process of broadcasting the element layout file, a user may be interested in a certain commodity, article, video and the like and want to know in detail. Since the user may be a visually impaired person, it may happen that the user requests the terminal to display and report the details page in the form of voice input, such as speaking. Another possible situation is that there are other people with normal vision around the visually impaired person, and the people with normal vision triggers a certain commodity, article, video or the like, and requests the terminal to display a detail page and report the detail page. To sum up, in the process of broadcasting the element layout file, the terminal may receive the voice input content or detect the trigger operation, and the following explains the two cases respectively:
first, a case where a voice input content is received will be described. When the voice input content is received, the terminal analyzes the voice input content, determines a first target page element indicated by the voice input content, namely determines whether a user wants to trigger a certain page element by recognizing the voice input content. If the first target page element is determined to be successful, it indicates that the user currently wants to trigger the first target page element and know the content associated with the first target page element, so that the terminal suspends broadcasting the element layout pattern of the page to be displayed, jumps to the first element page associated with the first target page element, and broadcasts the page guidance language of the first element page and the element layout pattern of the first element page, and the process of specifically broadcasting the page guidance language of the first element page and the element layout pattern of the first element page is consistent with the process described in the above step 202 to step 203, and is not repeated here. If the first target page element is determined to be failed, it indicates that the related page element cannot be determined on the page to be displayed according to the voice input content of the user, and the user may chat with other people or unintentionally speak some content, but does not want to trigger which page element, so that the terminal continues to broadcast the element layout pattern of the page to be displayed.
Next, a case where a trigger operation is detected will be described. When the triggering operation of the page to be displayed is detected, the broadcasting of the element layout file of the page to be displayed is suspended, a second target page element triggered by the triggering operation is determined, and the element name of the second target page element and the element position description corresponding to the second target page element are broadcasted. I.e. determining which page element was triggered by the trigger operation, the element name and element position of the page element are reported so that the user knows which element of which position was triggered. It should be noted that, in consideration of the situation that there is a user misoperation, in fact, the user does not want to trigger the page, and therefore, after the terminal broadcasts the element name of the second target page element and the element position description corresponding to the second target page element, the terminal will continuously detect the trigger operation and continuously receive the voice input content, determine whether the user really wants to trigger the second target page element according to the detected or received content, and execute the subsequent operation according to the determined result. Specifically, if it is detected that the second target page element is repeatedly triggered, or a voice input content indicating that the second target page element is triggered is received, it indicates that the user determines that the second target page element is to be known in detail, therefore, the terminal suspends broadcasting the element layout document of the page to be displayed, jumps to the second element page associated with the second target page element, and broadcasts the page leading word of the second element page and the element layout document of the second element page, and the process of specifically broadcasting the page leading word of the second element page and the element layout document of the second element page is consistent with the process described in the above step 202 to step 203, and is not repeated here. If the voice input content indicating that the trigger operation is cancelled is received, or no trigger operation is detected within the preset timeout duration, or no voice input content is detected within the preset timeout duration, the fact that the user is in error operation is indicated, and the user does not want to know the second target page element in detail, therefore, the terminal continues to broadcast the element layout file of the page to be displayed.
It should be noted that some page elements may not be associated with any element page, but only have a certain function, such as a key for adding a commodity to a shopping cart, in this case, when it is determined that the user wants to trigger the page element, a corresponding action is executed according to the function of the page element.
According to the method provided by the embodiment of the application, the page to be displayed indicated by the page information providing request is displayed, the page guide words used for describing the page functions of the page to be displayed are broadcasted, the element layout file used for describing the position relation of one or more than one page elements in the operation elements, the supply elements and the decoration elements in the page to be displayed is obtained, and the element layout file is also broadcasted, so that a user can know the functions of the page and roughly know the page, can also know the detailed layout of the page, determine which page elements the page comprises, and determine the position of each page element in the page, thereby relieving the limitation of the visually impaired people in knowing the page, and ensuring that the visually impaired people really perceive the complete page.
Further, as a specific implementation of the method shown in fig. 1, an embodiment of the present application provides a page information providing apparatus, as shown in fig. 3A, the apparatus includes: the broadcasting system comprises a display module 301, a first broadcasting module 302 and a second broadcasting module 303.
The display module 301 is configured to respond to a page information providing request, and display a page to be displayed indicated by the page information providing request;
the first broadcasting module 302 is configured to broadcast a page function document of the page to be displayed, where the page function document is used to describe a service or a function provided by the page to be displayed;
the second broadcasting module 303 is configured to acquire an element layout document of the page to be displayed, and broadcast the element layout document, where the element layout document is a document that is generated according to a layout of at least one page element included in the page to be displayed on the page to be displayed and is used to describe a position relationship between the at least one page element, and the at least one page element is one or more of a control element, a supply element, and a decoration element.
In a specific application scenario, the presentation module 301 is configured to determine an access operation occurring when the page information providing request is generated; and taking the page associated with the target entry accessed by the access operation request or the page generated by the access operation as the page to be displayed, and displaying the page to be displayed.
In a specific application scenario, the second reporting module 303 is configured to query the element layout pattern bound to the page to be displayed; or determining the element layout of the at least one page element on the page to be displayed, and describing the position relationship between the at least one page element according to the element layout to obtain the element layout pattern.
In a specific application scenario, the second broadcast module 303 is configured to sort the at least one page element according to a preset description order; according to the element layout, sequentially describing the position relation of the at least one sequenced page element to obtain at least one element position description corresponding to the at least one page element; and sequencing the at least one element position description according to the preset description sequence, and adding the element name of the at least one page element to the sequenced at least one element position description to obtain the element layout pattern.
In a specific application scenario, the second broadcast module 303 is configured to extract a first page element arranged at the head from the at least one sorted page element, describe a relative position relationship of the first page element in the page to be displayed, and generate an element position description of the first page element; extracting a second page element, describing the position relation of the second page element indicated by the element layout relative to the first page element, and generating an element position description of the second page element, wherein the second page element is a page element which is adjacent to the first page element and is positioned behind the first page element in the at least one ordered page element; continuing to extract a third page element, describing the position relationship, indicated by the element layout, of the third page element relative to the second page element, and generating an element position description of the third page element until at least one page element is traversed to obtain the at least one element position description, where the third page element is a page element, adjacent to the second page element and behind the second page element, in the at least one ordered page element.
In a specific application scenario, as shown in fig. 3B, the apparatus further includes: a parsing module 304.
The parsing module 304 is configured to, when receiving a voice input content, parse the voice input content, and determine a first target page element indicated by the voice input content;
the display module 301 is further configured to, if it is determined that the first target page element is successful, suspend broadcasting the element layout pattern of the page to be displayed, skip to a first element page associated with the first target page element, and broadcast a page guidance phrase of the first element page and the element layout pattern of the first element page;
the second broadcasting module 303 is further configured to continue to broadcast the element layout pattern of the page to be displayed if it is determined that the first target page element fails.
In a specific application scenario, as shown in fig. 3C, the apparatus further includes: a module 305 is determined.
The determining module 305 is configured to, when it is detected that a triggering operation occurs on the page to be displayed, suspend broadcasting of the element layout pattern of the page to be displayed, determine a second target page element triggered by the triggering operation, and broadcast an element name of the second target page element and an element position description corresponding to the second target page element;
the presentation module 301 is further configured to, if it is detected that the second target page element has repeated triggering operation, or voice input content indicating that the second target page element is triggered is received, suspend broadcasting the element layout pattern of the page to be presented, skip to a second element page associated with the second target page element, and broadcast a page guidance phrase of the second element page and the element layout pattern of the second element page;
the second broadcasting module 303 is further configured to continue to broadcast the element layout pattern of the page to be displayed if a voice input content indicating that the trigger operation is cancelled is received, or no trigger operation is detected within a preset timeout duration, or no voice input content is detected within the preset timeout duration.
The device that this application embodiment provided, show the page that treats that page information provides the request instruction, report the page guidance language that is used for describing the page function of treating the show page, and obtain the element layout case that is arranged in describing the position relation of controlling element, supply element, one or more than one page element in the decoration element in treating the show page, report this element layout case also, make the user know the function of page, when having the general understanding to the page, can also know the detailed layout of page, confirm which page elements that the page includes, every page element is in what position in the page, the limitation that the visual barrier personnel know the page has been relieved, guarantee that the visual barrier personnel really perceive complete page.
It should be noted that other corresponding descriptions of the functional units related to the page information providing device provided in the embodiment of the present application may refer to the corresponding descriptions in fig. 1 and fig. 2, and are not described herein again.
In an exemplary embodiment, referring to fig. 4, there is further provided a device, which includes a bus, a processor, a memory, and a communication interface, and may further include an input/output interface and a display device, wherein the functional units may communicate with each other through the bus. The memory stores computer programs, and the processor is used for executing the programs stored in the memory and executing the page information providing method in the embodiment.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the page information providing method.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented by hardware, and also by software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the implementation scenarios of the present application.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to practice the present application.
Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The above application serial numbers are for description purposes only and do not represent the superiority or inferiority of the implementation scenarios.
The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present application.

Claims (10)

1. A page information providing method, comprising:
responding to a page information providing request, and displaying a page to be displayed indicated by the page information providing request;
broadcasting a page function file of the page to be displayed, wherein the page function file is used for describing services or functions provided by the page to be displayed;
the method comprises the steps of obtaining an element layout file of a page to be displayed, and broadcasting the element layout file, wherein the element layout file is generated according to the layout of at least one page element included in the page to be displayed on the page to be displayed and is used for describing the position relation between the at least one page element, and the at least one page element is one or more than one of a control element, a supply element and a decoration element.
2. The method according to claim 1, wherein said presenting the page to be presented indicated by the page information providing request comprises:
determining an access operation occurring when the page information providing request is generated;
and taking the page associated with the target entry accessed by the access operation request or the page generated by the access operation as the page to be displayed, and displaying the page to be displayed.
3. The method according to claim 1, wherein the obtaining of the element layout pattern of the page to be displayed comprises:
inquiring the element layout pattern bound to the page to be displayed; or the like, or, alternatively,
and determining the element layout of the at least one page element on the page to be displayed, and describing the position relationship between the at least one page element according to the element layout to obtain the element layout pattern.
4. The method of claim 3, wherein the describing the positional relationship between the at least one page element according to the element layout to obtain the element layout pattern comprises:
sequencing the at least one page element according to a preset description sequence;
according to the element layout, sequentially describing the position relation of the at least one sequenced page element to obtain at least one element position description corresponding to the at least one page element;
and sequencing the at least one element position description according to the preset description sequence, and adding the element name of the at least one page element to the sequenced at least one element position description to obtain the element layout pattern.
5. The method according to claim 4, wherein the sequentially describing the position relationship of the at least one ordered page element according to the element layout to obtain at least one element position description corresponding to the at least one page element comprises:
extracting a first page element arranged at the head from the at least one page element after sequencing, describing the relative position relationship of the first page element on the page to be displayed, and generating the element position description of the first page element;
extracting a second page element, describing the position relation of the second page element indicated by the element layout relative to the first page element, and generating an element position description of the second page element, wherein the second page element is a page element which is adjacent to the first page element and is positioned behind the first page element in the at least one ordered page element;
continuing to extract a third page element, describing the position relationship, indicated by the element layout, of the third page element relative to the second page element, and generating an element position description of the third page element until at least one page element is traversed to obtain the at least one element position description, where the third page element is a page element, adjacent to the second page element and behind the second page element, in the at least one ordered page element.
6. The method of claim 1, further comprising:
when voice input content is received, analyzing the voice input content, and determining a first target page element indicated by the voice input content;
if the first target page element is determined to be successful, pausing the broadcasting of the element layout file of the page to be displayed, jumping to a first element page related to the first target page element, and broadcasting a page leading word of the first element page and the element layout file of the first element page;
and if the first target page element is determined to fail, continuously broadcasting the element layout file of the page to be displayed.
7. The method of claim 1, further comprising:
when the triggering operation of the page to be displayed is detected, pausing broadcasting of the element layout pattern of the page to be displayed, determining a second target page element triggered by the triggering operation, and broadcasting the element name of the second target page element and the element position description corresponding to the second target page element;
if the repeated triggering operation of the second target page element is detected, or the voice input content indicating that the second target page element is triggered is received, the broadcasting of the element layout pattern of the page to be displayed is suspended, the page is jumped to a second element page related to the second target page element, and a page leading language of the second element page and the element layout pattern of the second element page are broadcasted;
and if receiving voice input content indicating that the triggering operation is cancelled, or detecting no triggering operation within a preset timeout duration, or detecting no voice input content within the preset timeout duration, continuously broadcasting the element layout file of the page to be displayed.
8. A page information providing apparatus, comprising:
the display module is used for responding to a page information providing request and displaying a page to be displayed indicated by the page information providing request;
the first broadcasting module is used for broadcasting a page function file of the page to be displayed, and the page function file is used for describing services or functions provided by the page to be displayed;
the second broadcasting module is used for acquiring the element layout file of the page to be displayed and broadcasting the element layout file, wherein the element layout file is generated according to the layout of at least one page element included in the page to be displayed on the page to be displayed and is used for describing the position relation among the at least one page element, and the at least one page element is one or more of a control element, a supply element and a decoration element.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202110509833.0A 2021-05-11 2021-05-11 Page information providing method and device, computer equipment and readable storage medium Pending CN112925603A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110509833.0A CN112925603A (en) 2021-05-11 2021-05-11 Page information providing method and device, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110509833.0A CN112925603A (en) 2021-05-11 2021-05-11 Page information providing method and device, computer equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN112925603A true CN112925603A (en) 2021-06-08

Family

ID=76174855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110509833.0A Pending CN112925603A (en) 2021-05-11 2021-05-11 Page information providing method and device, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112925603A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947967A (en) * 2017-10-10 2019-06-28 腾讯科技(深圳)有限公司 Image-recognizing method, device, storage medium and computer equipment
CN110147216A (en) * 2019-04-16 2019-08-20 深圳壹账通智能科技有限公司 Page switching method, device, computer equipment and the storage medium of application program
CN111767019A (en) * 2019-11-28 2020-10-13 北京沃东天骏信息技术有限公司 Page processing method and device
CN111984180A (en) * 2020-08-26 2020-11-24 深圳前海微众银行股份有限公司 Terminal screen reading method, device, equipment and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947967A (en) * 2017-10-10 2019-06-28 腾讯科技(深圳)有限公司 Image-recognizing method, device, storage medium and computer equipment
CN110147216A (en) * 2019-04-16 2019-08-20 深圳壹账通智能科技有限公司 Page switching method, device, computer equipment and the storage medium of application program
CN111767019A (en) * 2019-11-28 2020-10-13 北京沃东天骏信息技术有限公司 Page processing method and device
CN111984180A (en) * 2020-08-26 2020-11-24 深圳前海微众银行股份有限公司 Terminal screen reading method, device, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
JP6864107B2 (en) Methods and devices for providing search results
US11288303B2 (en) Information search method and apparatus
US10977317B2 (en) Search result displaying method and apparatus
CN107229741B (en) Information searching method, device, equipment and storage medium
KR102148968B1 (en) System and method for providing context information
CN101714164A (en) Methods and apparatus to automatically crawl the internet using image analysis
CN109168047B (en) Video recommendation method and device, server and storage medium
CN113079417B (en) Method, device and equipment for generating bullet screen and storage medium
CN109192212B (en) Voice control method and device
US20170171334A1 (en) Single-account multiple-preference recommendation method for video website and electronic device
US10956934B2 (en) Method, system, and client for publishing advertisement on network service platform
CN113094521A (en) Multimedia resource searching method, device, system, equipment and storage medium
KR20140031416A (en) Item recommend system based on a collaborative filtering and method thereof, apparatus supporting the same
CN116048691A (en) Resource display method and device, electronic equipment and storage medium
CN111310078B (en) Method and device for determining search result display strategy
CN112925603A (en) Page information providing method and device, computer equipment and readable storage medium
CN110971983B (en) Video question answering method, equipment and storage medium
CN109344335B (en) Content recommendation method and electronic equipment
CN103488745A (en) Information obtaining method and terminal
CN107479725B (en) Character input method and device, virtual keyboard, electronic equipment and storage medium
CN110609956B (en) Information search method, device, medium and equipment
CN111562868B (en) Search guidance processing method and device
CN115225921A (en) Live broadcast interaction control method, device, equipment and storage medium based on big data
CN114219587A (en) Order data processing method and device, storage medium and computer equipment
CN113239291A (en) Page display method, device, equipment and storage medium

Legal Events

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