Page processing method and device
By identifying visually impaired users, outputting the page content in voice form, and adjusting the page layout, it solves the problem that the existing e-commerce shopping page design cannot support visually impaired users to obtain information, and improves shopping efficiency.
Patent Information
- Application Number
- CN201911189137.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-11-28
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2039-11-28
AI Technical Summary
The existing e-commerce shopping page design fails to effectively support visually impaired users in obtaining page information, resulting in inefficient shopping processes.
By identifying the user's identity information, if the user is visually impaired, the page content will be output in voice form, and the page layout can be adjusted to expand the text area, reduce the image and video area, and use image recognition technology to convert the image data into text data, and use the text to The speech-to-speech module converts data into speech output.
It improves the efficiency for visually impaired users to obtain page information and enhances their shopping experience and operational efficiency.
Smart Images

Figure CN111767019B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing, and in particular to a page processing method and device. Background Art
[0002] The shopping pages of existing e-commerce companies are designed for normal users. However, for people with visual impairments, the shopping process is inconvenient and inefficient when using existing shopping pages because they cannot effectively obtain shopping page information. Summary of the invention
[0003] A technical problem to be solved by the present disclosure is to provide a page processing method and device that can be applicable to visually impaired users to obtain page information.
[0004] According to one aspect of the present disclosure, a page processing method is proposed, including: identifying identity information of a user browsing a page; if the user is identified as a visually impaired user, in response to the user triggering the page content, outputting the page content in the form of voice so that the user can obtain the page content.
[0005] In some embodiments, if the user is identified as a visually impaired user, the method further includes: executing one or more of expanding the text area of the page content, reducing the image area of the page content, and reducing the video area of the page content.
[0006] In some embodiments, outputting the page content in the form of voice includes: if the page content is image data, reading the image content in the image data based on image recognition technology; converting the image content into text data; converting the text data into voice data through a text-to-speech module, and outputting the voice data.
[0007] In some embodiments, outputting the page content in the form of voice includes: if the page content is text data, converting the text data into voice data through a text-to-speech module, and outputting the voice data.
[0008] In some embodiments, outputting the page content in the form of voice includes: if the page content is video data, determining whether the video data contains voice data; if the video data contains voice data, outputting the voice data; if the video data does not contain voice data, determining whether the video data contains at least one of text data and image data; if the video data contains text data, converting the text data into voice data through a text-to-speech module, and outputting the voice data; if the video data contains image data, reading the image content in the image data based on image recognition technology, converting the image content into text data, converting the text data into voice data through a text-to-speech module, and outputting the voice data.
[0009] In some embodiments, reading image content in image data based on image recognition technology includes: extracting image features in the image data based on image recognition technology; comparing the image features with item features in an item feature library to identify item information in the image data.
[0010] In some embodiments, the user's identity information is identified through at least one of the following: in response to the user opening a screen reading software, identifying the user as a visually impaired user; obtaining the number of clicks of the user on the page, and if the number of clicks is greater than a threshold, identifying the user as a visually impaired user; obtaining the user name of the user's login page, and determining whether the user name corresponds to a visually impaired user by querying the user database.
[0011] In some embodiments, the layout of the display area in the page is adjusted to increase the displayed content.
[0012] According to another aspect of the present disclosure, a page processing device is also proposed, including: an identity determination unit, configured to identify the identity information of a user browsing a page; an information output unit, configured to output the page content in the form of voice in response to the user triggering the page content if the user is identified as a visually impaired user, so that the user can obtain the page content.
[0013] In some embodiments, the page adjustment unit is configured to perform one or more of expanding the text area of the page content, reducing the image area of the page content, and reducing the video area of the page content if the user is identified as a visually impaired user.
[0014] According to another aspect of the present disclosure, a page processing device is also proposed, including: a memory; and a processor coupled to the memory, wherein the processor is configured to execute the above-mentioned page processing method based on instructions stored in the memory.
[0015] According to another aspect of the present disclosure, a computer-readable storage medium is also provided, on which computer program instructions are stored, and when the instructions are executed by a processor, the above-mentioned page processing method is implemented.
[0016] Compared with the related art, in the embodiment of the present disclosure, if the user browsing the web page is identified as a visually impaired user, the page content triggered by the user is output in the form of voice, which facilitates the visually impaired user to obtain the web page content, thereby improving the efficiency of the user's operation of the page.
[0017] Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0019] The present disclosure may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
[0020] Figure 1 The following is a flowchart of some embodiments of the page processing method disclosed herein.
[0021] Figure 2 Schematic diagram of the flow of other embodiments of the page processing method disclosed in the present invention.
[0022] Figure 3 This is a schematic diagram of the page layout of the present disclosure.
[0023] Figure 4 This is a schematic diagram of the page layout of the present disclosure.
[0024] Figure 5 Schematic diagram of the flow of other embodiments of the page processing method disclosed in the present invention.
[0025] Figure 6 Schematic diagram of the flow of other embodiments of the page processing method disclosed in the present invention.
[0026] Figure 7 Schematic diagram of the flow of other embodiments of the page processing method disclosed in the present invention.
[0027] Figure 8 It is a schematic diagram of the structure of some embodiments of the page processing device disclosed in the present invention.
[0028] Fig. 9 Schematic diagram of the structure of some other embodiments of the page processing device disclosed in the present invention.
[0029] Fig.10 Schematic diagram of the structure of some other embodiments of the page processing device disclosed in the present invention.
[0030] Fig.11 Schematic diagram of the structure of some other embodiments of the page processing device disclosed in the present invention. DETAILED DESCRIPTION
[0031] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.
[0032] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0033] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.
[0034] Technologies, methods, and apparatus known to ordinary technicians in the relevant field may not be discussed in detail, but where appropriate, such technologies, methods, and apparatus should be considered part of the authorization specification.
[0035] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0036] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0037] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0038] Figure 1 The following is a flowchart of some embodiments of the page processing method disclosed herein.
[0039] In step 110, the identity information of the user browsing the page is identified. The page is, for example, a shopping page.
[0040] In some embodiments, in response to the user starting the screen reading software, the user is identified as a visually impaired user. For example, if the user starts a certain reading assistance voice reading software, the user is determined to be a visually impaired user.
[0041] In some embodiments, the number of clicks of the user on the page is obtained, and if the number of clicks is greater than a threshold, the user is identified as a visually impaired user. For example, if the user clicks on most of the product names, product images, prices, etc. of each module, the user is determined to be a visually impaired user.
[0042] In some embodiments, the user name on the user login page is obtained, and the user database is queried to determine whether the user name corresponds to a visually impaired user. For example, the user name of the user is first queried, and then the social identity associated with the user name and other data recording the user identity are queried to determine whether the user is a visually impaired user.
[0043] The visually impaired user in the above embodiment refers to a visually impaired user who has reading ability.
[0044] In step 120, if the user is identified as a visually impaired user, the page content is output in the form of voice in response to the user triggering the page content, so that the user can obtain the page content.
[0045] For example, when a user touches an image, text, or video, the image content, text content, or video content is displayed to the user in the form of an audio book.
[0046] In the above embodiment, if the user browsing the web page is identified as a visually impaired user, the page content triggered by the user is output in the form of voice, so that the visually impaired user can obtain the web page content, thereby improving the efficiency of the user's operation of the page.
[0047] Figure 2 Schematic diagram of the flow of other embodiments of the page processing method disclosed in the present invention.
[0048] In step 210, the identity information of the user browsing the page is identified.
[0049] In step 220, if the user is identified as a visually impaired user, in response to the user triggering the page content, one or more of expanding the text area of the page content, shrinking the image area of the page content, and shrinking the video area of the page content are executed.
[0050] For example Figure 3 , 4 As shown, for example, the text size is increased by a predetermined multiple, for example, 1-5 times, and the font can also be changed to make the text easy to click and easy for users to recognize. For another example, the image or video area is reduced to 0-100% of the original size. The text, image, and video area can be enlarged or reduced according to the device display size.
[0051] In some embodiments, Figure 3 As shown, after changing the size of text, pictures, and videos, the number of items displayed in the page layout remains unchanged.
[0052] In other embodiments, Figure 4 As shown, the layout of the display area in the page is adjusted to increase the display content. For example, if there is a page displaying 6 items, it is adjusted to display 12 items on one page.
[0053] Since it is inconvenient for visually impaired users to turn pages, more content is displayed to users on one page to reduce the number of page turning actions by users, so that users can learn more about related items and make shopping choices more convenient.
[0054] Figure 5 Schematic diagram of the flow of other embodiments of the page processing method disclosed in the present invention.
[0055] At step 510, identity information of a user browsing a page is identified.
[0056] In step 520, if the user is identified as a visually impaired user, the page display content is adjusted, for example, the text font size is increased, and the image and video area is reduced.
[0057] In step 530, in response to the text data of the user triggering the page, the text data is converted into voice data through the text-to-speech module, and the voice data is output.
[0058] For example, when a user clicks on a text description of an item, the text data is converted into computer language and then transmitted to the text-to-speech module via an electrical signal, which converts the electrical signal into a magnetic signal, that is, outputs the voice data. The text-to-speech module may be an existing voice conversion software.
[0059] In the above embodiment, when it is identified that the user browsing the page is a visually impaired user, the page display content is adjusted according to the rules, and the text data clicked by the user is converted into voice data, so as to facilitate the user to obtain item information and improve the user's shopping experience and efficiency.
[0060] Figure 6 Schematic diagram of the flow of other embodiments of the page processing method disclosed in the present invention.
[0061] At step 610, identity information of a user browsing a page is identified.
[0062] In step 620, if the user is identified as a visually impaired user, the page display content is adjusted.
[0063] In step 630 , in response to the image data of the page being triggered by the user, the image content in the image data is read based on image recognition technology.
[0064] In some embodiments, image features in image data are extracted based on image recognition technology; the image features are compared with object features in an object feature library to identify object information in the image data.
[0065] For example, when a user clicks on a picture of shampoo, since both shampoo and cola packaging are bottle-shaped, a category product feature recognition library can be established in advance. That is, the shape, color, and structure of the product features in the picture can be used to build an AI recognition library for products of different categories. The identified image features are then compared with the item features in the feature recognition library to determine the item information in the image.
[0066] In step 640, the image content is converted into text data.
[0067] In step 650, the text data is converted into speech data by a text-to-speech module, and the speech data is output.
[0068] In the above embodiment, when it is identified that the user browsing the page is a visually impaired user, the page display content is adjusted according to the rules, and the picture data clicked by the user is converted into voice data, so that the user can quickly understand the information of the object in the picture.
[0069] Figure 7 Schematic diagram of the flow of other embodiments of the page processing method disclosed in the present invention.
[0070] At step 710, the identity information of the user browsing the page is identified.
[0071] In step 720, if the user is identified as a visually impaired user, the page display content is adjusted.
[0072] In step 730 , in response to the video data of the user triggering the page, it is determined whether the video data contains voice data. If so, step 740 is executed; otherwise, step 750 is executed.
[0073] In step 740, the voice data is output.
[0074] In some embodiments, it is possible to pre-identify whether the voice data is data related to the item. If so, the voice data is directly output; if not, the voice data may be filtered.
[0075] In step 750 , it is determined whether the video data contains text data or image data. If it contains text data, step 760 is executed; if it contains image data, step 770 is executed.
[0076] In step 760, the text data is converted into voice data through a text-to-speech module, and the voice data is output.
[0077] In step 770, the image content in the image data is read based on the image recognition technology, the image content is converted into text data, the text data is converted into voice data through the text-to-speech module, and the voice data is output.
[0078] In the above embodiment, when it is identified that the user browsing the page is a visually impaired user, the page display content is adjusted according to the rules, and the content in the video data clicked by the user is output in the form of voice, so that the user can obtain all-round graphic, text and voice information of the object.
[0079] Figure 8 The schematic diagram of the structure of some embodiments of the page processing device disclosed in the present invention includes an identity determination unit 810 and an information output unit 820.
[0080] The identity determination unit 810 is configured to identify the identity information of the user browsing the page.
[0081] For example, in response to a user opening a screen reading software, the user is identified as a visually impaired user; the number of clicks of the user on the page is obtained, and if the number of clicks is greater than a threshold, the user is identified as a visually impaired user; or the user name of the user login page is obtained, and by querying the user database, it is determined whether the user name corresponds to a visually impaired user.
[0082] The information output unit 820 is configured to output the page content in the form of voice in response to the user triggering the page content if it is identified that the user is a visually impaired user, so that the user can obtain the page content.
[0083] For example, when a user touches an image, text, or video, the image content, text content, or video content is displayed to the user in the form of an audio book.
[0084] In some embodiments, if the page content is image data, the image content in the image data is read based on image recognition technology; the image content is converted into text data; the text data is converted into voice data through a text-to-speech module, and the voice data is output. Among them, image features in the image data are extracted based on image recognition technology; the image features are compared with the item features in the item feature library to identify the item information in the image data.
[0085] In other embodiments, if the page content is text data, the text data is converted into voice data through a text-to-speech module, and the voice data is output.
[0086] In other embodiments, if the page content is video data, it is determined whether the video data contains voice data; if the video data contains voice data, the voice data is output; if the video data does not contain voice data, it is determined whether the video data contains at least one of text data and image data; if the video data contains text data, the text data is converted into voice data through a text-to-speech module, and the voice data is output; if the video data contains video data, the image content in the image data is read based on image recognition technology, the image content is converted into text data, the text data is converted into voice data through a text-to-speech module, and the voice data is output.
[0087] In the above embodiment, if the user browsing the web page is identified as a visually impaired user, the page content triggered by the user is output in the form of voice, so that the visually impaired user can obtain the web page content, thereby improving the efficiency of the user's operation of the page.
[0088] In other embodiments of the present disclosure, the device also includes a page adjustment unit 910, which is configured to execute one or more of expanding the text area of the page content, reducing the image area of the page content, and reducing the video area of the page content if the user is identified as a visually impaired user.
[0089] In some embodiments, the layout of the display area in the page is adjusted to increase the displayed content.
[0090] In the above embodiment, when a visually impaired user operates a page, the page display content is adjusted to reduce the user's page turning actions, so that the user can learn more about the relevant items.
[0091] Fig.10 1 is a schematic diagram of the structure of some other embodiments of the page processing device disclosed in the present invention. The device includes a memory 1010 and a processor 1020, wherein the memory 1010 can be a disk, a flash memory or any other non-volatile storage medium. The memory is used to store Figure 1 , 2 , 5-7 corresponding to the instructions of the embodiments. The processor 1020 is coupled to the memory 1010 and can be implemented as one or more integrated circuits, such as a microprocessor or a microcontroller. The processor 1020 is used to execute the instructions stored in the memory.
[0092] In some embodiments, it is also possible to Fig.11 As shown, the device 1100 includes a memory 1110 and a processor 1120. The processor 1120 is coupled to the memory 1110 via a BUS 1130. The device 1100 can also be connected to an external storage device 1150 via a storage interface 1140 to call external data, and can also be connected to a network or another computer system (not shown) via a network interface 1160, which will not be described in detail here.
[0093] In this embodiment, data instructions are stored in a memory and then processed by a processor, so that visually impaired users can obtain web page content, thereby improving the efficiency of user operation of the web page.
[0094] In some other embodiments, a computer readable storage medium stores computer program instructions, which when executed by a processor implement Figure 1 , 2 , 5-7 corresponding to the method steps in the embodiment. Those skilled in the art should understand that the embodiments of the present disclosure can be provided as methods, devices, or computer program products. Therefore, the present disclosure can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure can take the form of a computer program product implemented on one or more computer-usable non-transient storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0095] The present disclosure is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present disclosure. It should be understood that each process and / or block in the flowchart and / or block diagram and the combination of processes and / or blocks in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0096] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0097] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0098] So far, the present disclosure has been described in detail. In order to avoid obscuring the concept of the present disclosure, some details known in the art are not described. Based on the above description, those skilled in the art can fully understand how to implement the technical solution disclosed here.
[0099] Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.
Claims
1. A page processing method, include: Identify the user browsing the page; If the user is identified as a visually impaired user, in response to the user triggering the page content, the page content is output in the form of voice so that the user can obtain the page content, wherein outputting the page content in the form of voice includes: if the page content is video data, determining whether the video data contains voice data; if the video data contains voice data, identifying whether the voice data is data related to the item, and if so, outputting the voice data, otherwise filtering the voice data; if the video data does not contain voice data, determining whether the video data contains at least one of text data and image data; if the video data contains text data, converting the text data into voice data through a text-to-speech module, and outputting the voice data; if the video data contains image data, reading the image content in the image data based on image recognition technology, converting the image content into text data, converting the text data into voice data through a text-to-speech module, and outputting the voice data.
2. The page processing method according to claim 1, in, If the user is identified as a visually impaired user, the method further includes: One or more of expanding a text area of the page content, shrinking an image area of the page content, and shrinking a video area of the page content is performed.
3. The page processing method according to claim 1, in, Outputting the page content in voice form includes: If the page content is image data, reading the image content in the image data based on image recognition technology; Converting the image content into text data; The text data is converted into voice data through a text-to-speech module, and the voice data is output.
4. The page processing method according to claim 1, in, Outputting the page content in voice form includes: If the page content is text data, the text data is converted into voice data through a text-to-speech module, and the voice data is output.
5. The page processing method according to claim 1 or 3, in, Reading the image content in the image data based on the image recognition technology includes: Extracting image features from the image data based on the image recognition technology; The image features are compared with the item features in the item feature library to identify the item information in the image data.
6. The page processing method according to any one of claims 1 to 4, in, Identify the user's identity information through at least one of the following: In response to the user starting the screen reading software, identifying the user as a visually impaired user; Obtaining the number of clicks of the user on the page, and if the number of clicks is greater than a threshold, identifying the user as a visually impaired user; The user name of the user who logs into the page is obtained, and by querying a user database, it is determined whether the user name corresponds to a visually impaired user.
7. The page processing method according to claim 2, further comprising: include: Adjust the layout of the display area in the page to increase the display content.
8. A page processing device, include: An identity determination unit, configured to identify identity information of a user browsing a page; The information output unit is configured to output the page content in the form of voice in response to the user triggering the page content if the user is identified as a visually impaired user, so that the user can obtain the page content, wherein if the page content is video data, it is determined whether the video data contains voice data; if the video data contains voice data, it is identified whether the voice data is data related to the item, and if so, the voice data is output, otherwise, the voice data is filtered; if the video data does not contain voice data, it is determined whether the video data contains at least one of text data and image data; if the video data contains text data, the text data is converted into voice data through a text-to-speech module, and the voice data is output; if the video data contains image data, the image content in the image data is read based on image recognition technology, the image content is converted into text data, the text data is converted into voice data through a text-to-speech module, and the voice data is output.
9. The page processing device according to claim 8, further comprising: include: The page adjustment unit is configured to, if the user is identified as a visually impaired user, perform one or more of the following steps: expanding the text area of the page content, reducing the image area of the page content, and reducing the video area of the page content.
10. A page processing device, include: Memory; as well as A processor coupled to the memory, wherein the processor is configured to execute the page processing method according to any one of claims 1 to 7 based on instructions stored in the memory.
11. A computer-readable storage medium having computer program instructions stored thereon, wherein the instructions, when executed by a processor, implement the page processing method according to any one of claims 1 to 7.
