A method, device, electronic device and storage medium for displaying page elements

By simplifying the page elements in the operation mode of non-visually impaired users, we generate page elements suitable for visually impaired users, which solves the problem of wasting power and time when visually impaired users order takeout, and achieves faster page loading and service. Information provided.

CN114816618BActive Publication Date: 2024-09-17RAJAX NETWORK &TECHNOLOGY (SHANGHAI) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210310268.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-14
Publication Date
2024-09-17
Estimated Expiration
2041-04-14

AI Technical Summary

Technical Problem

When visually impaired users order takeout, they cannot properly view the takeout pictures provided by their mobile phones, resulting in a waste of power and time. Existing solutions such as reducing screen brightness or resolution fail to effectively solve the problem.

Method used

By determining whether the user is a visually impaired user, simplifying the page elements in the operation mode of non-visually impaired users, and generating page elements suitable for visually impaired users, such as converting images to text, reducing resolution or converting to black and white, to Display page elements.

Benefits of technology

It reduces the loading and rendering time of page elements, saves power and time for visually impaired users, and provides faster service information and promotional activity tips.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114816618B
    Figure CN114816618B
Patent Text Reader

Abstract

The present application provides a method for displaying page elements, including: obtaining a first page element of a target application in a visually impaired user operation mode; displaying the first page element in a first page of the target application in the visually impaired user operation mode; wherein the first page element is a page element generated after simplifying the display form of a second page element of the target application in a non-visually impaired user operation mode, and the second page element is a page element in a second page of the target application in a non-visually impaired user operation mode. The method obtains the display form of the first page element in the visually impaired user operation mode by simplifying the display form of the second page element in the non-visually impaired user operation mode. Since the above-mentioned simplified processing can enable the page elements to be loaded and presented faster, it can save power and time for visually impaired users.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of a Chinese patent application with an application date of April 14, 2021, application number "202110402907.0", and invention name "A page element display method, device, electronic device and storage medium". Technical Field

[0002] The present application relates to the field of computers, and in particular to a method for displaying page elements, a method for providing service information, a device for displaying page elements, and a device for providing service information. Background Art

[0003] With the development of technology, mobile phones have brought great convenience to people's lives, such as ordering takeout with mobile phones. Nowadays, there are a large number of visually impaired users in life. Because they cannot view the takeout pictures provided by mobile phones like normal people, when they order takeout, the page is still loading and displaying these takeout pictures normally, which will inevitably waste a lot of power and time.

[0004] At present, the above problems are mainly solved by reducing the brightness of the mobile phone screen or reducing the resolution of the mobile phone screen. However, the above solutions do not take into account the problem of wasting power and time caused by loading and displaying takeaway pictures. Therefore, how to reduce the waste of power and time by changing the display form of takeaway pictures is an urgent problem to be solved. Summary of the invention

[0005] The embodiments of the present application provide a method, device, electronic device and storage medium for displaying page elements, which reduce the waste of power and time by changing the display form of page elements.

[0006] The present application provides a page element display method, including: obtaining a first page element of a target application in a visually impaired user operation mode; displaying the first page element in a first page of the target application in the visually impaired user operation mode; wherein the first page element is a page element generated after simplifying the display form of a second page element of the target application in a non-visually impaired user operation mode, the second page element is a page element in a second page of the target application in the non-visually impaired user operation mode, the page elements of the first page correspond to the page elements of the second page, and the element content of the first page element corresponds to the element content of the second page element.

[0007] Optionally, the method is applied to a user end; the method also includes: sending a request message to a server end for requesting to obtain the page elements of the first page; obtaining the first page elements of the target application in the visually impaired user operation mode includes: obtaining the page elements of the first page provided by the server end; obtaining the first page elements from the page elements of the first page.

[0008] Optionally, the method is applied to a user end; the method also includes: sending a request message to a server end for requesting to obtain the page elements of the first page; obtaining the first page elements of the target application in the visually impaired user operation mode includes: obtaining the page elements of the second page provided by the server end; obtaining the second page elements from the page elements of the second page; simplifying the display form of the second page elements to obtain the first page elements.

[0009] Optionally, the method further includes: providing the first page element to the server.

[0010] Optionally, the second page element is an image element, and the first page element is an image element generated by simplifying the display form of the second page element; or, the second page element is a video element, and the first page element is a video element generated by simplifying the display form of the second page element; or, the second page element is a text element, and the first page element is a text element generated by simplifying the display form of the second page element.

[0011] Optionally, the simplified display form of the second page element of the target application in the non-visually impaired user operation mode includes at least one of the following methods: obtaining delivery service content from the element content of the second page element, filtering out non-delivery service content, and generating the first page element based on the delivery service content; obtaining delivery service content and non-delivery service content from the element content of the second page element, retaining the display form of the delivery service content, simplifying the display form of the non-delivery service content, and generating the first page element based on the delivery service content with unchanged display form and the non-delivery service content after the simplified display form; adjusting the display parameters of the second page element to display parameters that can simplify the display effect of the second page element, and generating the first page element based on the adjusted display parameters; if the second page element is an image element or a video element, obtaining a description text for describing the second page element, and generating the first page element in the form of a text element based on the description text.

[0012] Optionally, the delivery service content includes at least one of the following: information used to describe the delivery object; information used to describe the physical object that provides the delivery object; information used to describe the delivery resources for delivering the delivery object; information used to describe delivery service promotions.

[0013] Optionally, displaying the first page element in the first page of the target application in the visually impaired user operation mode includes: determining whether the user using the target application is a visually impaired user, and if so, displaying the first page element in the first page of the target application in the visually impaired user operation mode; or, obtaining an instruction from the user using the target application requesting the target application to quickly provide service content, and in response to the instruction requesting the target application to quickly provide service content, displaying the first page element in the first page of the target application in the visually impaired user operation mode; or, obtaining an instruction from the user using the target application requesting the target application to turn on energy-saving mode, and in response to the instruction requesting the target application to turn on energy-saving mode, displaying the first page element in the first page of the target application in the visually impaired user operation mode.

[0014] Optionally, determining whether the user using the target application is a visually impaired user includes: obtaining posture data of a terminal running the target application; determining whether the user using the target application is a visually impaired user based on the posture data of the terminal and distance data between the screen of the terminal and the face of the user, or based on the posture data of the terminal and angle data between the screen of the terminal and the face of the user.

[0015] Optionally, determining whether the user using the target application is a visually impaired user includes: obtaining historical behavior data of the user for the target application, and determining whether the user is a visually impaired user based on the historical behavior data of the user for the target application; or, after obtaining authorization from the user, obtaining historical behavior data of the user for applications other than the target application, and determining whether the user is a visually impaired user based on the historical behavior data of the user for the other applications.

[0016] The present application also provides a method for providing service information, comprising: in response to detecting a trigger operation on a page focus element in a target application in a visually impaired user operation mode, playing prompt information for the page focus element, the prompt information including prompt information of service information corresponding to the page focus element that can be obtained by performing a target operation on a terminal running the target application; in response to detecting the target operation performed on the terminal, providing the service information to a visually impaired user using the target application.

[0017] Optionally, the method is applied to the terminal; the method also includes: sending a request message to the server for requesting to obtain page elements in the target application in the visually impaired user operation mode; obtaining multiple page elements in the target application in the visually impaired user operation mode returned by the server and prompt information for each of the multiple page elements, the multiple page elements including the page focus element, and the prompt information for each of the multiple page elements including prompt information for the page focus element.

[0018] Optionally, the target operation performed on the terminal includes any one of the following operations: a triggering operation on any area of ​​the screen of the terminal; a triggering operation on any area of ​​the terminal except the screen; a shaking operation on the terminal; or a voice control operation on the terminal.

[0019] Optionally, the service information includes at least one of the following information: information used to describe the delivery object; information used to describe the physical object that provides the delivery object; information used to describe the delivery resources for delivering the delivery object; information used to describe delivery service promotions.

[0020] Optionally, providing the service information to the visually impaired user who uses the target application includes at least one of the following methods: playing the service information to the visually impaired user who uses the target application; if the service information includes information for describing a delivery service promotion, configuring the preferential resources corresponding to the delivery service promotion in the account of the visually impaired user in the target application, and playing prompt information for prompting that the preferential resources corresponding to the delivery service promotion have been configured in the account of the visually impaired user in the target application; if the page focus element is an element for assisting the visually impaired user in submitting a delivery order request, generating a delivery order for the visually impaired user, and playing prompt information for prompting that the delivery order has been generated for the visually impaired user.

[0021] The present application also provides a service information providing method, including: playing prompt information for a target preferential activity, the target preferential activity is a preferential activity provided by a target application in a visually impaired user operation mode, the prompt information including prompt information of preferential resources corresponding to the target preferential activity that can be obtained by performing a target operation on a terminal running the target application; in response to detecting the target operation performed on the terminal, providing the preferential resources to a visually impaired user using the target application.

[0022] Optionally, the method is applied to the terminal; the method also includes: obtaining prompt information for the target preferential activity provided by the server.

[0023] Optionally, the playing of prompt information for the target promotion includes: in response to detecting a triggering operation of a target promotion element in a target page of a target application in a visually impaired user operation mode, playing the prompt information for the target promotion; or, in response to detecting an opening operation of a target page including the target promotion element of a target application in a visually impaired user operation mode, playing the prompt information for the target promotion.

[0024] Optionally, the target operation performed on the terminal includes any one of the following operations: a triggering operation on any area of ​​the screen of the terminal; a triggering operation on any area of ​​the terminal except the screen; a shaking operation on the terminal; or a voice control operation on the terminal.

[0025] Optionally, providing the preferential resources to visually impaired users who use the target application includes: configuring the preferential resources corresponding to the target preferential activity in the account of the visually impaired user in the target application, and playing a prompt message for prompting that the preferential resources corresponding to the target preferential activity have been configured in the account of the visually impaired user in the target application.

[0026] The present application also provides a page element display device, including: a first page element acquisition unit, used to obtain a first page element of a target application in a visually impaired user operation mode; a first page element display unit, used to display the first page element in the first page of the target application in the visually impaired user operation mode; wherein the first page element is a page element generated after simplifying the display form of the second page element of the target application in the non-visually impaired user operation mode, the second page element is a page element in the second page of the target application in the non-visually impaired user operation mode, the page elements of the first page correspond to the page elements of the second page, and the element content of the first page element corresponds to the element content of the second page element.

[0027] The present application also provides a service information providing device, including: a prompt information playing unit, used to respond to detecting a trigger operation on a page focus element in a target application in a visually impaired user operation mode, play prompt information for the page focus element, the prompt information including prompt information of service information corresponding to the page focus element that can be obtained by performing a target operation on a terminal running the target application; a service information providing unit, used to respond to detecting a target operation performed on the terminal, provide the service information to a visually impaired user using the target application.

[0028] The present application also provides a service information providing device, including: a prompt information playing unit, used to play prompt information for a target preferential activity, the target preferential activity is a preferential activity provided by a target application in a visually impaired user operation mode, the prompt information includes prompt information of preferential resources corresponding to the target preferential activity that can be obtained by performing a target operation on a terminal running the target application; a preferential resource providing unit, used to provide the preferential resources to a visually impaired user using the target application in response to detecting a target operation performed on the terminal.

[0029] The present application also provides an electronic device, comprising: a processor; and a memory for storing a computer program. After the device is powered on and the computer program is run by the processor, any one of the above methods is executed.

[0030] The present application also provides a storage medium, characterized in that the storage medium stores a computer program, and the computer program is run by a processor to execute any one of the methods described above.

[0031] Compared with the prior art, this application has the following advantages:

[0032] The present application provides a method for displaying page elements, including: obtaining a first page element of a target application in a visually impaired user operation mode; displaying the first page element in a first page of the target application in the visually impaired user operation mode; wherein the first page element is a page element generated after simplifying the display form of a second page element of the target application in a non-visually impaired user operation mode, the second page element is a page element in a second page of the target application in a non-visually impaired user operation mode, the page element of the first page corresponds to the page element of the second page, and the element content of the first page element corresponds to the element content of the second page element. The method obtains the display form of the first page element in the visually impaired user operation mode by simplifying the display form of the second page element in the non-visually impaired user operation mode. Since the above-mentioned simplified processing can enable the page elements to be loaded and presented faster, it can save power and time for visually impaired users. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 A schematic diagram of an application scenario of the page element display method in an embodiment of the present application.

[0034] Figure 2 This is a flowchart of the page element display method in the first embodiment of the present application.

[0035] Figure 3 This is a flowchart of a method for providing service information in the second embodiment of the present application.

[0036] Figure 4 This is a flowchart of a method for providing service information in the third embodiment of the present application.

[0037] Figure 5 This is a flowchart of the page element display device in the fourth embodiment of the present application.

[0038] Figure 6 This is a flowchart of a service information providing device in the fifth embodiment of the present application.

[0039] Figure 7 This is a flowchart of a service information providing device in the sixth embodiment of the present application.

[0040] Figure 8 This is a schematic diagram of an electronic device provided in the seventh embodiment of the present application. DETAILED DESCRIPTION

[0041] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application. Therefore, the present application is not limited to the specific implementation disclosed below.

[0042] In order to facilitate a better understanding of this application, now give the following Figure 1 The display form of the user's mobile page elements shown. The first mode is a target page element display mode specially provided for visually impaired users, and the second mode is a target page element display mode provided for normal users. There can be multiple elements on the page, such as takeaway picture 1, takeaway picture 2, etc. Of course, the takeaway picture can also be a video.

[0043] First, determine whether the user is a visually impaired user. If the judgment result is yes, proceed to the next step. On the contrary, if the judgment result is no, the mobile phone page is displayed in the second mode. Then, the takeaway pictures displayed on the normal page in the second mode are simplified to the display form of the takeaway pictures in the first mode, such as changing the takeaway pictures to text, changing the color of the takeaway pictures to black and white pictures, reducing the resolution of the takeaway pictures to the minimum, converting the takeaway videos to text, etc. Finally, the mobile phone page where the simplified takeaway pictures are located is the page specially displayed for visually impaired users in the first mode. Because this method simplifies the pictures normally presented in the page, the pictures can be loaded and presented faster, thereby saving power and time for visually impaired users.

[0044] In order to understand the present application more clearly, the following is a detailed description with reference to the embodiments and the accompanying drawings.

[0045] First embodiment

[0046] The first embodiment is a process for obtaining a method for displaying a page. Figure 2 Provide detailed explanation.

[0047] S201: Obtain a first page element of a target application in a visually impaired user operation mode.

[0048] This step is mainly used to obtain page elements in the visually impaired user mode, where the page elements include pictures or videos.

[0049] In order to obtain page elements in the visually impaired user mode, it is first necessary to determine whether the terminal user is a visually impaired user or whether the user needs to provide page elements in the visually impaired mode. Among them, determining whether the terminal user is a visually impaired user mainly includes: determining based on the collected user's behavior data and physiological characteristics data, such as user eye state data (whether blinking or looking at the mobile phone screen), or user's mobile phone usage data (the mobile phone is placed next to the ear or the user holds the mobile phone at a distance), or the user's click method and sliding trajectory on the mobile phone screen.

[0050] Whether the user is a visually impaired user can also be determined by determining whether the mobile phone is currently in a specific mode, such as a narration mode, which is a mode specially designed for visually impaired users.

[0051] Whether the user is a visually impaired user can also be determined based on the user's historical behavior data in the application, or after obtaining the user's authorization, the user's historical behavior data in other applications can also be obtained to further determine whether the user is a visually impaired user.

[0052] In addition to the above-mentioned provision of page elements in the visually impaired user mode to the user after determining that the user is a visually impaired user, it also includes the following situations, such as when a normal user needs the application target page to quickly display the page content, or when the user needs the application to display the page content in energy-saving mode.

[0053] When it is determined that page elements in the visually impaired user mode need to be provided, the page elements in the visually impaired user mode can be obtained in the following ways. The first way: the terminal sends a request to the server to obtain the page elements in the visually impaired user mode, and then obtains the page element data in the visually impaired user mode returned by the server by simplifying the page element data in the non-visually impaired user mode. The second way: the terminal sends a request to the server to obtain the page elements in the visually impaired user mode, and then obtains the page element data in the non-visually impaired user mode returned by the server, then the terminal simplifies the obtained page element data in the non-visually impaired user mode to obtain the page element data in the visually impaired user mode, and finally, the terminal sends the page element data in the visually impaired user mode to the server for storage.

[0054] It should be noted that the page elements in the page element data in the visually impaired user mode obtained by simplifying the page element data in the non-visually impaired user mode can be simplified in the form of picture display, or simplified in the form of video display, or simplified in the form of text elements. The specific simplification process can be to retain the relevant delivery service content in the above elements (merchant-related information, takeaway-related information, discount information, rider information for delivery orders, etc.), filter out content that is not related to the delivery service (merchant trademarks, etc.), simplify the non-delivery service content in the elements, and reduce the resolution of the elements in the non-visually impaired user mode. Of course, the simplification process can also be achieved in the following ways. If the element is a picture, the content of the normally presented takeaway picture can be converted into plain text, or the content of the normally presented takeaway picture can be converted into a bottom-up plain text containing only necessary takeaway information, or the color of the normally presented takeaway picture can be converted into black and white, or the font in the normally presented takeaway picture can be converted into the simplest font, etc. If the element is a takeaway video, the normally presented takeaway video can be converted into a backup takeaway video consisting of only necessary takeaway information key frames, or the normally presented takeaway video can be converted into a certain frame in the video as the cover, or the normally presented takeaway video can be converted into corresponding plain text, or the normally presented takeaway video can be converted into backup plain text, or the color of the normally presented takeaway video can be converted into black and white, etc.

[0055] S202: Displaying the first page element in a first page of a target application in a visually impaired user operation mode.

[0056] This step is used to display the page elements in the visually impaired user mode obtained in the above step.

[0057] The present application provides a method for displaying page elements, including: obtaining a first page element of a target application in a visually impaired user operation mode; displaying the first page element in a first page of the target application in the visually impaired user operation mode; wherein the first page element is a page element generated after simplifying the display form of a second page element of the target application in a non-visually impaired user operation mode, the second page element is a page element in a second page of the target application in a non-visually impaired user operation mode, the page element of the first page corresponds to the page element of the second page, and the element content of the first page element corresponds to the element content of the second page element. The method obtains the display form of the first page element in the visually impaired user operation mode by simplifying the display form of the second page element in the non-visually impaired user operation mode. Since the above-mentioned simplified processing can enable the page elements to be loaded and presented faster, it can save power and time for visually impaired users.

[0058] Embodiment 2

[0059] This embodiment is a service information provision process. Figure 3 Provide detailed explanation.

[0060] S301, in response to detecting a trigger operation on a page focus element in a target application in a visually impaired user operation mode, playing prompt information for the page focus element, the prompt information including prompt information of service information corresponding to the page focus element that can be obtained by performing a target operation on a terminal running the target application.

[0061] This step is used to play the prompt information of the page focus element in the visually impaired user operation mode. In order to explain this embodiment more clearly, take the mobile phone narration mode as an example. In the narration mode, when the user clicks on an element (a takeaway merchant), the system will broadcast what the element is (the merchant's name, etc.), and then click twice to broadcast the service features provided by the element (takeaway information provided by the merchant, etc.). Therefore, the above-mentioned page elements are called focus elements. Of course, some pages will play the service features provided by the element by directly clicking on the page element. Therefore, the page focus element is a type of page element. The following is an example of a page element.

[0062] The following is a method for obtaining prompt information of page elements in the visually impaired user operation mode, specifically: the user triggers the terminal (slides or clicks any area on the terminal screen, shakes the terminal, controls the terminal by voice, operates any area outside the terminal screen, etc.), and then the terminal sends prompt information of obtaining page elements in the visually impaired user operation mode to the server, and then obtains multiple page elements and prompt information of multiple page elements in the visually impaired user operation mode returned by the server. Among them, the prompt information includes the corresponding service information provided by the terminal page element (merchant) (such as takeaway information, merchant information, rider information of delivery orders, discount information, etc.).

[0063] S302: In response to detecting a target operation performed on the terminal, providing the service information to a visually impaired user using the target application.

[0064] This step is used to provide service information to visually impaired users.

[0065] Among them, providing service information to visually impaired users mainly includes: voice broadcasting of service information to visually impaired users. If the service information includes coupon information, voice broadcasting is also required to put the coupon into the account of the visually impaired user; if the service information is relevant information for the user to place an order, voice broadcasting of order generation information is also required.

[0066] Third embodiment

[0067] This embodiment is a process of providing service information. Figure 4 Provide a detailed introduction.

[0068] S401: Play prompt information for a target promotional activity, where the target promotional activity is a promotional activity provided by a target application in a visually impaired user operation mode, and the prompt information includes prompt information of promotional resources corresponding to the target promotional activity that can be obtained by performing a target operation on a terminal running the target application.

[0069] This step is used to play the prompt information of the preferential activities in the visually impaired user operation mode, wherein the preferential activity information includes red envelopes or coupons provided by the application, or red envelopes or coupons provided by merchants on the application.

[0070] Obtaining prompt information of preferential activities in the visually impaired user operation mode is for the terminal to obtain prompt information for preferential information provided by the server.

[0071] The prompt information of playing promotional activities in the visually impaired user operation mode mainly includes: when a triggering of the promotional activity in the visually impaired user operation mode is detected, such as clicking on a red envelope or red envelope rain or other triggering operations, the prompt information can be played, or when the page is opened, the prompt information is played, or when a promotional activity occurs, the prompt information is played.

[0072] S402: In response to detecting a target operation performed on the terminal, providing the preferential resources to a visually impaired user using the target application.

[0073] This step is used by the terminal to provide preferential resources to visually impaired users.

[0074] The detected target operations mainly include: sliding or clicking operations on any area of ​​the terminal screen, shaking the terminal, controlling the terminal through voice, and operations on any area outside the terminal screen.

[0075] It should be noted that when the terminal provides preferential resources to visually impaired users, the preferential information will be placed in the user account, and voice prompts such as receiving coupons or placing coupons in the account will be played.

[0076] Fourth embodiment

[0077] The first embodiment described above provides a method for displaying page elements. Correspondingly, the fourth embodiment of the present application also provides a device for displaying page elements. Figure 5As shown. Since the device embodiment is basically similar to the method embodiment, the description is relatively simple. For details of the relevant technical features, please refer to the corresponding description of the method embodiment provided above. The following description of the device embodiment is only illustrative.

[0078] The fourth embodiment of the present application provides a page element display device, including: a first page element acquisition unit 501, used to obtain a first page element of a target application in a visually impaired user operation mode; a first page element display unit 502, used to display the first page element in the first page of the target application in the visually impaired user operation mode; wherein the first page element is a page element generated after simplifying the display form of the second page element of the target application in the non-visually impaired user operation mode, the second page element is a page element in the second page of the target application in the non-visually impaired user operation mode, the page elements of the first page correspond to the page elements of the second page, and the element content of the first page element corresponds to the element content of the second page element.

[0079] Optionally, the device is applied to a user end; the device also includes: sending a request message to a server end for requesting to obtain the page elements of the first page; obtaining the first page elements of the target application in the visually impaired user operation mode includes: obtaining the page elements of the first page provided by the server end; obtaining the first page elements from the page elements of the first page.

[0080] Optionally, the device is applied to a user end; the device also includes: sending a request message to a server end for requesting to obtain the page elements of the first page; obtaining the first page elements of the target application in the visually impaired user operation mode includes: obtaining the page elements of the second page provided by the server end; obtaining the second page elements from the page elements of the second page; simplifying the display form of the second page elements to obtain the first page elements.

[0081] Optionally, the device further includes: providing the first page element to the server.

[0082] Optionally, the second page element is an image element, and the first page element is an image element generated by simplifying the display form of the second page element; or, the second page element is a video element, and the first page element is a video element generated by simplifying the display form of the second page element; or, the second page element is a text element, and the first page element is a text element generated by simplifying the display form of the second page element.

[0083] Optionally, the simplified display form of the second page element of the target application in the non-visually impaired user operation mode includes at least one of the following methods: obtaining delivery service content from the element content of the second page element, filtering out non-delivery service content, and generating the first page element based on the delivery service content; obtaining delivery service content and non-delivery service content from the element content of the second page element, retaining the display form of the delivery service content, simplifying the display form of the non-delivery service content, and generating the first page element based on the delivery service content with unchanged display form and the non-delivery service content after the simplified display form; adjusting the display parameters of the second page element to display parameters that can simplify the display effect of the second page element, and generating the first page element based on the adjusted display parameters; if the second page element is an image element or a video element, obtaining a description text for describing the second page element, and generating the first page element in the form of a text element based on the description text.

[0084] Optionally, the delivery service content includes at least one of the following: information used to describe the delivery object; information used to describe the physical object that provides the delivery object; information used to describe the delivery resources for delivering the delivery object; information used to describe delivery service promotions.

[0085] Optionally, displaying the first page element in the first page of the target application in the visually impaired user operation mode includes: determining whether the user using the target application is a visually impaired user, and if so, displaying the first page element in the first page of the target application in the visually impaired user operation mode; or, obtaining an instruction from the user using the target application requesting the target application to quickly provide service content, and in response to the instruction requesting the target application to quickly provide service content, displaying the first page element in the first page of the target application in the visually impaired user operation mode; or, obtaining an instruction from the user using the target application requesting the target application to turn on energy-saving mode, and in response to the instruction requesting the target application to turn on energy-saving mode, displaying the first page element in the first page of the target application in the visually impaired user operation mode.

[0086] Optionally, determining whether the user using the target application is a visually impaired user includes: obtaining posture data of a terminal running the target application; determining whether the user using the target application is a visually impaired user based on the posture data of the terminal and distance data between the screen of the terminal and the face of the user, or based on the posture data of the terminal and angle data between the screen of the terminal and the face of the user.

[0087] Optionally, determining whether the user using the target application is a visually impaired user includes: obtaining historical behavior data of the user for the target application, and determining whether the user is a visually impaired user based on the historical behavior data of the user for the target application; or, after obtaining authorization from the user, obtaining historical behavior data of the user for applications other than the target application, and determining whether the user is a visually impaired user based on the historical behavior data of the user for the other applications.

[0088] Fifth embodiment

[0089] The second embodiment described above provides a method for providing service information. Correspondingly, the fifth embodiment of the present application further provides an apparatus for providing service information. Figure 6 As shown. Since the device embodiment is basically similar to the method embodiment, the description is relatively simple. For details of the relevant technical features, please refer to the corresponding description of the method embodiment provided above. The following description of the device embodiment is only illustrative.

[0090] The fifth embodiment of the present application provides a service information providing device, including: a prompt information playing unit 601, which is used to respond to the detection of a trigger operation on a page focus element in a target application in a visually impaired user operation mode, play prompt information for the page focus element, the prompt information including prompt information of service information corresponding to the page focus element that can be obtained by performing a target operation on a terminal running the target application; a service information providing unit 602, which is used to respond to the detection of a target operation performed on the terminal, provide the service information to a visually impaired user using the target application.

[0091] Optionally, the device is applied to the terminal; the device also includes: sending a request message to the server for requesting to obtain page elements in the target application in the visually impaired user operation mode; obtaining multiple page elements in the target application in the visually impaired user operation mode returned by the server and prompt information for each of the multiple page elements, the multiple page elements including the page focus element, and the prompt information for each of the multiple page elements including prompt information for the page focus element.

[0092] Optionally, the target operation performed on the terminal includes any one of the following operations: a triggering operation on any area of ​​the screen of the terminal; a triggering operation on any area of ​​the terminal except the screen; a shaking operation on the terminal; or a voice control operation on the terminal.

[0093] Optionally, the service information includes at least one of the following information: information used to describe the delivery object; information used to describe the physical object that provides the delivery object; information used to describe the delivery resources for delivering the delivery object; information used to describe delivery service promotions.

[0094] Optionally, providing the service information to the visually impaired user who uses the target application includes at least one of the following methods: playing the service information to the visually impaired user who uses the target application; if the service information includes information for describing a delivery service promotion, configuring the preferential resources corresponding to the delivery service promotion in the account of the visually impaired user in the target application, and playing prompt information for prompting that the preferential resources corresponding to the delivery service promotion have been configured in the account of the visually impaired user in the target application; if the page focus element is an element for assisting the visually impaired user in submitting a delivery order request, generating a delivery order for the visually impaired user, and playing prompt information for prompting that the delivery order has been generated for the visually impaired user.

[0095] Sixth embodiment

[0096] The third embodiment above provides a method for providing service information. Correspondingly, the sixth embodiment of the present application further provides an apparatus for providing service information. Figure 7 As shown. Since the device embodiment is basically similar to the method embodiment, the description is relatively simple. For details of the relevant technical features, please refer to the corresponding description of the method embodiment provided above. The following description of the device embodiment is only illustrative.

[0097] The sixth embodiment of the present application provides a service information providing device, including: a prompt information playing unit 701, used to play prompt information for a target preferential activity, the target preferential activity is a preferential activity provided by a target application in a visually impaired user operation mode, and the prompt information includes prompt information of preferential resources corresponding to the target preferential activity that can be obtained by performing a target operation on a terminal running the target application; a preferential resource providing unit 702, used to provide the preferential resources to a visually impaired user using the target application in response to detecting a target operation performed on the terminal.

[0098] Optionally, the device is applied to the terminal; the device also includes: obtaining prompt information for the target preferential activity provided by the server.

[0099] Optionally, the playing of prompt information for the target promotion includes: in response to detecting a triggering operation of a target promotion element in a target page of a target application in a visually impaired user operation mode, playing the prompt information for the target promotion; or, in response to detecting an opening operation of a target page including the target promotion element of a target application in a visually impaired user operation mode, playing the prompt information for the target promotion.

[0100] Optionally, the target operation performed on the terminal includes any one of the following operations: a triggering operation on any area of ​​the screen of the terminal; a triggering operation on any area of ​​the terminal except the screen; a shaking operation on the terminal; or a voice control operation on the terminal.

[0101] Optionally, providing the preferential resources to visually impaired users who use the target application includes: configuring the preferential resources corresponding to the target preferential activity in the account of the visually impaired user in the target application, and playing a prompt message for prompting that the preferential resources corresponding to the target preferential activity have been configured in the account of the visually impaired user in the target application.

[0102] Seventh embodiment

[0103] Corresponding to the above method embodiments provided by the present application, the seventh embodiment of the present application further provides an electronic device. Since the seventh embodiment is basically similar to the above method embodiments provided by the present application, the description is relatively simple, and the relevant parts refer to the partial description of the above method embodiments provided by the present application. The seventh embodiment described below is only illustrative.

[0104] Figure 8 A schematic diagram of an electronic device provided in an embodiment of the present application.

[0105] The electronic device includes: a processor 801;

[0106] and a memory 802 for storing a computer program. After the device is powered on and the computer program is run by the processor, any one of the methods is executed.

[0107] It should be noted that the detailed description of the electronic device provided in the seventh embodiment of the present application can refer to the relevant description of the above-mentioned method embodiment provided in the present application, and will not be repeated here.

[0108] Eighth embodiment

[0109] Corresponding to the above method embodiments provided by the present application, the eighth embodiment of the present application further provides a storage medium. Since the eighth embodiment is basically similar to the above method embodiments provided by the present application, the description is relatively simple, and the relevant parts refer to the partial description of the above method embodiments provided by the present application. The eighth embodiment described below is only illustrative.

[0110] The storage medium stores a computer program, which is executed by a processor to execute the method provided in the above embodiments of the present application.

[0111] It should be noted that the detailed description of the storage medium provided in the eighth embodiment of the present application can refer to the relevant description of the above-mentioned method embodiment provided in the present application, and will not be repeated here.

[0112] Although the present application is disclosed as above in the form of a preferred embodiment, it is not intended to limit the present application. Any technical personnel in this field may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.

[0113] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0114] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0115] 1. Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include non-transitory media such as modulated data signals and carrier waves.

[0116] 2. Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems or computer program products. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

Claims

1. A method for providing service information, characterized in that: include: In response to detecting a trigger operation for a page focus element in a target application in a visually impaired user operation mode, playing prompt information for the page focus element, the prompt information including prompt information of service information corresponding to the page focus element that can be obtained by performing a target operation on a terminal running the target application; In response to detecting a target operation performed on the terminal, providing the service information to a visually impaired user using the target application; The page focus element in the target application in the visually impaired user operation mode is a first page element of a first page in the target application, the first page element is a page element generated by simplifying the display form of a second page element of the target application, the second page element is a page element in a second page of the target application in the non-visually impaired user operation mode, and the page element of the first page corresponds to the page element of the second page; The first page element of the first page is obtained by at least one of the following simplified processing methods: If the second page element is a takeaway picture, the content of the takeaway picture presented in the second page is converted into a plain text containing only necessary takeaway information as the first page element corresponding to the second page element; If the second page element is a takeaway video, the takeaway video presented in the second page is converted into a catch-all takeaway video consisting of only necessary takeaway information key frames as the first page element corresponding to the second page element.

2. The method according to claim 1, characterized in that The method is applied to the terminal; The method further comprises: Sending a request message to the server for obtaining page elements in the target application in the visually impaired user operation mode; Obtain multiple page elements in the target application in the visually impaired user operation mode and prompt information for each of the multiple page elements returned by the server, the multiple page elements including the page focus element, and the prompt information for each of the multiple page elements including the prompt information for the page focus element.

3. The method according to claim 1, characterized in that The target operation performed on the terminal includes any one of the following operations: A trigger operation on any area of ​​the screen of the terminal; Triggering operation on any area of ​​the terminal except the screen; Shaking the terminal; Voice control operation on the terminal.

4. The method according to claim 1, characterized in that: The service information includes at least one of the following information: Information used to describe the delivery object; Information used to describe the entity object that provides the delivery object; Information used to describe the delivery resources for delivering the delivery object; Information describing a shipping service promotion.

5. The method according to claim 1, characterized in that The providing the service information to the visually impaired user who uses the target application includes at least one of the following methods: Playing the service information to a visually impaired user who uses the target application; If the service information includes information describing a delivery service preferential activity, configuring preferential resources corresponding to the delivery service preferential activity in the account of the visually impaired user in the target application, and playing prompt information for prompting that the preferential resources corresponding to the delivery service preferential activity have been configured in the account of the visually impaired user in the target application; If the page focus element is an element used to assist the visually impaired user in submitting a delivery order request, a delivery order is generated for the visually impaired user, and a prompt message is played to prompt that a delivery order has been generated for the visually impaired user.

6. A method for providing service information, characterized in that: include: Playing prompt information for a target preferential activity, the target preferential activity being a preferential activity provided by a target application in a visually impaired user operation mode, the prompt information including prompt information of preferential resources corresponding to the target preferential activity that can be obtained by performing a target operation on a terminal running the target application; In response to detecting a target operation performed on the terminal, providing the preferential resource to a visually impaired user using the target application; The playing of prompt information for the target preferential activity includes: in response to detecting a triggering operation of a target preferential activity element in a target page of a target application in a visually impaired user operation mode, playing prompt information for the target preferential activity; or, in response to detecting an opening operation of a target page including the target preferential activity element of a target application in a visually impaired user operation mode, playing prompt information for the target preferential activity; The target preferential activity element in the target page of the target application in the visually impaired user operation mode is the content obtained by simplifying the page element data in the target page of the target application in the non-visually impaired user operation mode; The target preferential activity element in the target page of the target application in the visually impaired user operation mode is obtained by at least one of the following simplified processing methods: If the page element data in the target page of the target application in the non-visually impaired user operation mode is a takeaway picture, the content of the takeaway picture is converted into a backup plain text containing only necessary takeaway information as a target discount activity element in the target page of the target application in the visually impaired user operation mode; If the page element data in the target page of the target application in the non-visually impaired user operation mode is a takeaway video, the content of the takeaway video is converted into a catch-all takeaway video consisting of only necessary takeaway information key frames, as the target promotion element in the target page of the target application in the visually impaired user operation mode.

7. The method according to claim 6, characterized in that The method is applied to the terminal; The method further comprises: Obtain prompt information for target preferential activities provided by the server.

8. The method according to claim 6, characterized in that The target operation performed on the terminal includes any one of the following operations: A trigger operation on any area of ​​the screen of the terminal; Triggering operation on any area of ​​the terminal except the screen; Shaking the terminal; Voice control operation on the terminal.

9. The method according to claim 6, characterized in that The providing the preferential resources to the visually impaired user who uses the target application includes: The preferential resources corresponding to the target preferential activity are configured in the account of the visually impaired user in the target application, and prompt information is played to prompt that the preferential resources corresponding to the target preferential activity have been configured in the account of the visually impaired user in the target application.

Citation Information

Patent Citations

  • Blind person Internet system based on voice technology

    CN102117317A

  • Method and device for visually impaired people to touch screen and intelligent touch screen mobile terminal

    CN104461346A

  • Voice broadcasting method and device, mobile terminal and storage medium

    CN108874356A

  • User interaction method and system of electronic equipment, electronic equipment and computer medium

    CN109992177A

  • Page processing method and device

    CN111767019A