WO2022218351A1 - Page element display method, service information providing method, device and storage medium - Google Patents

Page element display method, service information providing method, device and storage medium Download PDF

Info

Publication number
WO2022218351A1
WO2022218351A1 PCT/CN2022/086651 CN2022086651W WO2022218351A1 WO 2022218351 A1 WO2022218351 A1 WO 2022218351A1 CN 2022086651 W CN2022086651 W CN 2022086651W WO 2022218351 A1 WO2022218351 A1 WO 2022218351A1
Authority
WO
WIPO (PCT)
Prior art keywords
page
target application
visually impaired
user
page element
Prior art date
Application number
PCT/CN2022/086651
Other languages
French (fr)
Chinese (zh)
Inventor
高瑞
Original Assignee
浙江口碑网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 浙江口碑网络技术有限公司 filed Critical 浙江口碑网络技术有限公司
Publication of WO2022218351A1 publication Critical patent/WO2022218351A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation

Definitions

  • 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.
  • Embodiments of the present application provide a method for displaying page elements, a method for providing service information, an apparatus, an electronic device, and a storage medium, which can reduce waste of electricity and time by changing the display form of page elements.
  • An embodiment of the present application provides a method for displaying page elements, including: obtaining a first page element of a target application in an operation mode of a visually impaired user; displaying the first page element of a target application in an operation mode of a visually impaired user A first page element; 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 operation mode of the non-visually impaired user, and the second page element is the page element in the second page of the target application in the non-visually impaired user operation mode, the page element of the first page corresponds to the page element of the second page, and the page element of the first page element corresponds to the page element of the second page.
  • the element content corresponds to the element content of the second page element.
  • the method is applied to a user terminal; the method further includes: sending a request message to a server for requesting to obtain page elements of the first page; wherein, the obtaining is in an operation mode for visually impaired users
  • the first page element of the target application includes: obtaining the page element of the first page provided by the server; and obtaining the first page element from the page elements of the first page.
  • the method is applied to a user terminal; the method further includes: sending a request message to a server for requesting to obtain page elements of the first page; wherein, the obtaining is in an operation mode for visually impaired users
  • the first page element of the target application includes: obtaining the page element of the second page provided by the server; obtaining the second page element from the page elements of the second page; The display form of the page element is simplified to obtain the first page element.
  • the method further includes: providing the first page element to the server.
  • the second page element is an image element
  • the first page element is an image element generated after simplifying the display form of the second page element
  • the second page element is a video element
  • the first page element is a video element generated by simplifying the display form of the second page element
  • the second page element is a text element
  • the first page element is a
  • the presentation form of page elements simplifies the text elements generated after processing.
  • the simplified processing of the display form of the second page element of the target application in the operation mode of the non-visually impaired user includes at least one of the following manners: obtaining distribution from element content of the second page element. Service content, filter out non-delivery service content, and generate the first page element according to the delivery service content; obtain delivery service content and non-delivery service content from the element content of the second page element, and retain the delivery service
  • the display form of the content performing simplified processing on the display form of the non-delivery service content, and generating the first page element according to the delivery service content with no change in the display form and the non-delivery service content after the simplified processing of the display form;
  • the display parameters of the second page elements are adjusted to display parameters that can simplify the display effect of the second page elements, and the first page elements are generated according to the adjusted display parameters; if the second page elements are image elements or video element, obtain description text for describing the second page element, and generate a first page element in the form of a text element according to the description text.
  • the delivery service content includes at least one of the following content: information for describing a delivery object; information for describing an entity object that provides a delivery object; information for describing a delivery resource for delivering the delivery object; Information used to describe shipping service offers.
  • the displaying the first page element on the first page of the target application in the operation mode of the visually impaired user includes: judging whether the user using the target application is a visually impaired user, and if so, then: Display the first page element on the first page of the target application in the operation mode of the visually impaired user; or obtain an instruction issued by the user who uses the target application to request the target application to quickly provide service content, according to the requirement
  • the target application quickly provides an instruction of service content, displaying the first page element in the first page of the target application in the operation mode of the visually impaired user; or, obtaining the request issued by the user who uses the target application.
  • the instruction of the target application to enable the energy-saving mode, and for the instruction to require the target application to enable the energy-saving mode the first page element is displayed on the first page of the target application in the operation mode of the visually impaired user.
  • the judging whether the user using the target application is a visually impaired user includes: obtaining pose data of the terminal running the target application; The distance data between the faces of the user, or, according to the pose data of the terminal and the angle data between the screen of the terminal and the face of the user, determine whether the user who uses the target application is a visual handicapped users.
  • the judging whether the user who uses the target application is a visually impaired user includes: obtaining historical behavior data of the user for the target application, and according to the user's historical behavior data for the target application, Determine whether the user is a visually impaired user; or, after obtaining the authorization of the user, obtain the historical behavior data of the user for other applications except the target application, and according to the user for the other applications the historical behavior data, to determine whether the user is a visually impaired user.
  • the embodiment of the present application also provides a service information providing method, comprising: in response to detecting a triggering operation for a page focus element in a target application in an operation mode of a visually impaired user, playing prompt information for the page focus element,
  • the prompt information includes prompt information of service information corresponding to the page focus element that can be obtained by performing a target operation on the terminal running the target application; Visually impaired users of the target application provide the service information.
  • the method is applied to the terminal; the method further includes: sending a request message to a server for requesting to obtain a page element in a target application in an operation mode of a visually impaired user; obtaining the server The returned multiple page elements in the target application in the operation mode of the visually impaired user and the prompt information for each page element of the multiple page elements, the multiple page elements include the page focus element, and the The prompt information of each page element in the plurality of page elements includes prompt information for the page focus element.
  • the target operation performed on the terminal includes any one of the following operations: a triggering operation on any area on the screen of the terminal; triggering on any area of the terminal except the screen operation; shaking operation of the terminal; voice control operation of the terminal.
  • the service information includes at least one of the following information: information used to describe the distribution object; information used to describe the entity object that provides the distribution object; information used to describe the distribution resources that distribute the distribution object; For information describing shipping service offers.
  • the providing the service information to the visually impaired user using the target application includes at least one of the following manners: playing the service information to the visually impaired user using the target application; if the service information If the information used to describe the distribution service preferential activities is included, the preferential resources corresponding to the distribution service preferential activities are configured in the account of the visually impaired user in the target application, and play is used to prompt that the distribution service has been
  • the prompt information that the preferential resource corresponding to the preferential activity is 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 to submit a delivery order request, it is The visually impaired user generates a delivery order, and plays a prompt message for prompting that a delivery order has been generated for the visually impaired user.
  • An embodiment of the present application further provides a method for providing service information, including: playing prompt information for a target preferential activity, where the target preferential activity is a preferential activity provided by a target application in an operation mode of a visually impaired user, and the prompt information includes The prompt information of the preferential resource corresponding to the target preferential activity that can be obtained by performing the target operation on the terminal running the target application; in response to detecting the target operation performed on the terminal, the target application is sent to the visual obstacle of using the target application.
  • the user provides the preferential resource.
  • the method is applied to the terminal; the method further includes: obtaining prompt information for the target preferential activity provided by the server.
  • the playing the prompt information for the target preferential activity includes: in response to detecting a trigger operation for the target preferential activity element in the target page of the target application under the operation mode of the visually impaired user, playing the target preferential activity. or, in response to detecting the opening operation of the target page including the target preferential activity element of the target application in the operation mode of the visually impaired user, play the prompt information for the target preferential activity.
  • the target operation performed on the terminal includes any one of the following operations: a triggering operation on any area on the screen of the terminal; triggering on any area of the terminal except the screen operation; shaking operation of the terminal; voice control operation of the terminal.
  • the providing the preferential resource to the visually impaired user using the target application includes: configuring the preferential resource corresponding to the target preferential activity in the account of the visually impaired user in the target application. , and play a prompt message for prompting that the preferential resource corresponding to the target preferential activity has been configured in the account of the visually impaired user in the target application.
  • An embodiment of the present application further provides a device for displaying page elements, including: a first page element obtaining unit for obtaining a first page element of a target application in an operation mode of a visually impaired user; a first page element displaying unit for displaying 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 second page element to the target application in the non-visually impaired user operation mode
  • the display form of the page element is a page element generated after simplified processing
  • the second page element is the page element in the second page of the target application in the non-visually impaired user operation mode
  • the page element of the first page Corresponding to the page element of the second page, the element content of the first page element corresponds to the element content of the second page element.
  • An embodiment of the present application further provides a service information providing apparatus, including: a prompt information playing unit, configured to play a prompt information playing unit in response to detecting a trigger operation on a page focus element in a target application in an operation mode of a visually impaired user, playing the prompt information of the page focus element, the prompt information includes prompt information of the service information corresponding to the page focus element that can be obtained by performing a target operation on the terminal running the target application; the service information providing unit is used for responding to the detection According to the target operation performed on the terminal, the service information is provided to visually impaired users using the target application.
  • a prompt information playing unit configured to play a prompt information playing unit in response to detecting a trigger operation on a page focus element in a target application in an operation mode of a visually impaired user, playing the prompt information of the page focus element, the prompt information includes prompt information of the service information corresponding to the page focus element that can be obtained by performing a target operation on the terminal running the target application; the service information providing unit is used for responding to the detection According to the target
  • An embodiment of the present application further provides a service information providing apparatus, comprising: a prompt information playing unit configured to play prompt information for a target preferential activity, where the target preferential activity is a preferential provided by a target application in an operation mode of a visually impaired user activity, the prompt information includes prompt information of preferential resources corresponding to the target preferential activity that can be obtained by performing the target operation on the terminal running the target application; the preferential resource providing unit is configured to respond to detecting that the terminal is targeted for the terminal The executed target operation provides the preferential resource to visually impaired users who use the target application.
  • Embodiments of the present application further provide an electronic device, including: a processor; and a memory for storing a computer program. After the device is powered on and runs the computer program through the processor, any one of the methods described above is executed.
  • An embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and the computer program is executed by a processor to execute any one of the methods described above.
  • the method for displaying page elements includes: obtaining a first page element of a target application in an operation mode of a visually impaired user; displaying the first page element of a target application in an operation mode of a visually impaired user A page element; 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 operation mode of the non-visually impaired user, and the second page element is in the The page elements 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 corresponding to the element content of the second page element.
  • the method obtains the first page element in the operation mode of the visually impaired user by simplifying the display form of the second page element in the operation mode of the non-visually impaired user. Due to the above simplified processing, the page element can be loaded and presented faster. , thus saving power and time for visually impaired users.
  • FIG. 1 is a schematic diagram of an application scenario of a method for displaying page elements in an embodiment of the present application.
  • FIG. 2 is a flowchart of a method for displaying page elements in the first embodiment of the present application.
  • FIG. 3 is a flowchart of a method for providing service information in a second embodiment of the present application.
  • FIG. 4 is a flowchart of a method for providing service information in a third embodiment of the present application.
  • FIG. 5 is a schematic diagram of an apparatus for displaying page elements in a fourth embodiment of the present application.
  • FIG. 6 is a schematic diagram of an apparatus for providing service information in a fifth embodiment of the present application.
  • FIG. 7 is a schematic diagram of an apparatus for providing service information in a sixth embodiment of the present application.
  • FIG. 8 is a schematic diagram of the electronic device provided in the seventh embodiment of the application.
  • the present application proposes that the waste of electricity and time can be reduced by changing the display form of the takeaway pictures.
  • the display form may include a first mode and a second mode, wherein the first mode is a page element display mode (corresponding to the first page) specially provided for visually impaired users; the second mode is a page element display mode provided for normal users ( corresponding to the second page).
  • the first mode is a page element display mode (corresponding to the first page) specially provided for visually impaired users
  • the second mode is a page element display mode provided for normal users ( corresponding to the second page).
  • the mobile phone page on which the above-mentioned simplified takeout picture is located is the page specially displayed for visually impaired users in the first mode. Since the method simplifies the processing of a normal picture, the picture can be loaded and presented on the page faster, thereby saving power and time for visually impaired users.
  • the first embodiment is directed to a method for displaying page elements, which will be described in detail below with reference to FIG. 2 . As shown in FIG. 2, the method includes steps S201-S202.
  • This step is mainly used to obtain page elements in visually impaired user mode.
  • the page elements include text, pictures or videos.
  • judging whether the end user is a visually impaired user mainly includes: judging according to the collected behavior data and physiological characteristic data of the user, such as the user's eye status data (whether to blink or whether to watch the mobile phone screen), or the way the user uses the mobile phone Data (the mobile phone is placed near the ear or the user is far away from the mobile phone), or data such as the user's click method and sliding track on the mobile phone screen.
  • Judging whether the user is a visually impaired user can also be judged based on the user's historical behavior data in the target application, or when the user's authorization is obtained, the user's historical behavior data in other applications can also be obtained, and then determine whether the user is a visually impaired user. .
  • the page elements in the visually impaired user mode will also be provided to the user in the following cases: such as when a normal user needs to apply the application to the target page to quickly display page content, or when the user needs to describe When the app displays page content in power-saving mode.
  • the page element in the visually impaired user mode can be obtained in the following manner.
  • the first way the terminal sends a request to the server to obtain page elements in the visually impaired user mode, and then obtains the visually impaired user mode returned by the server by simplifying the page element data in the non-visually impaired user mode. page element data.
  • the second method 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, and then the terminal responds to the obtained non-visually impaired user mode.
  • the page element data in the visually impaired user mode is simplified 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 saving.
  • the above-mentioned simplification processing of page element data in the non-visually impaired user mode may include: for example, simplifying the display form of pictures, simplifying the display form of video, and simplifying text elements, so as to obtain visually impaired users.
  • the specific simplification process may include: retaining the content related to the delivery service in the above page element data (such as merchant-related information, takeaway-related information, preferential information, rider information of the delivery order, etc.), filtering out the content unrelated to the delivery service ( For example, the merchant's trademark, etc.); simplify the non-delivery service content in the page element data; reduce the resolution of the page element data in the non-visually impaired user mode, and so on.
  • the page element is, for example, a take-out picture
  • the content of the take-out picture can be converted into plain text, or the content of the take-out picture can be converted into plain text containing only necessary take-out information. , or convert the color of the takeaway picture to black and white, or convert the font in the takeaway picture to the simplest font, etc.
  • the takeaway video can be transformed into a bottom takeaway video consisting of key frames containing only necessary takeout information, or the takeaway video can be turned into a cover to replace the entire video playback process, where the cover is selected from the A certain frame in the video, or the takeaway video is converted into corresponding plain text, or the takeaway video is converted into plain text at the bottom, or the color of the takeaway video is converted to black and white, and so on.
  • S202 Display the first page element on the first page of the target application in the operation mode of the visually impaired user.
  • This step is used to display the page elements in the visually impaired user mode obtained in the above steps.
  • the present application provides a method for displaying page elements, including: obtaining a first page element of a target application in an operation mode of a visually impaired user; displaying the first page element of a target application in an operation mode of a visually impaired user A page element; 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 operation mode of the non-visually impaired user, and the second page element is in the The page elements 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 corresponding to the element content of the second page element.
  • the method obtains the first page element in the operation mode of the visually impaired user by simplifying the display form of the second page element in the operation mode of the non-visually impaired user. Due to the above simplified processing, the page element can be loaded and presented faster. , thus saving power and time for visually impaired users.
  • This embodiment is directed to a method for providing service information, which will be described in detail below with reference to FIG. 3 . As shown in FIG. 3, the method includes steps S301-S302.
  • This step is used to play the prompt information of the page focus element in the operation mode of the visually impaired user.
  • take the narration mode of mobile phone as an example.
  • narration mode when the user clicks on a certain page element (a food delivery business), the system will broadcast what the element is (business name, etc.), and then click two
  • the following will broadcast the service characteristics provided by this element (takeaway information provided by the merchant, etc.). Therefore, the above page element (a takeaway merchant) is called the page focus element.
  • the page focus element is a type of page element. The following uses page elements as an example.
  • the following is a method for obtaining prompt information of page elements in the operation mode of visually impaired users, specifically: in response to a user's trigger operation on the terminal (swipe or click operation on any area on the terminal screen, shake the terminal operation, controlling the terminal through voice, operating any area outside the terminal screen, etc.), the terminal sends the prompt information to the server to obtain the page elements in the operation mode of the visually impaired user, and then obtains the operation returned by the server for the visually impaired user.
  • the prompt information may include corresponding service information (eg, takeaway information, merchant information, rider information for delivery orders, preferential information, etc.) provided by the terminal page element (merchant).
  • S302 In response to detecting the target operation performed on the terminal, provide the service information to a visually impaired user who uses the target application.
  • This step is used to provide service information to visually impaired users.
  • providing service information to visually impaired users mainly includes: voice broadcast of service information to visually impaired users. If the service information includes coupon information, language playback is also required to put the coupon into the account of the visually impaired user; if the service information is related to the user's order, the order generation information is also required to be broadcast by voice.
  • This embodiment is directed to a method for providing service information, which will be described in detail below with reference to FIG. 4 .
  • the method includes steps S401-S402.
  • S401 Play prompt information for a target preferential activity, where the target preferential activity is a preferential activity provided by a target application in an operation mode of a visually impaired user, and the prompt information includes that a target operation can be performed on a terminal running the target application.
  • the obtained prompt information of the preferential resource corresponding to the target preferential activity is a target preferential activity provided by a target application in an operation mode of a visually impaired user.
  • This step is used to play the prompt information of the preferential activities provided by the target application in the operation mode of the visually impaired user, wherein the preferential activities include red envelopes or coupons provided by the application, or red envelopes or coupons provided by the merchants on the application. .
  • the prompt information of the preferential activity in the operation mode of the visually impaired user is the prompt information for the preferential resource provided by the server obtained by the terminal.
  • the prompt information for playing the preferential activities provided by the target application in the operation mode of the visually impaired user mainly includes: when it is detected that the preferential activities provided by the target application in the operation mode of the visually impaired user are triggered, such as clicking on the red envelope or the red envelope rain, etc. operation, the prompt information can be played, or the prompt information will be played when the page of the target application is opened, or the prompt information will be played when a promotion occurs.
  • S402 In response to detecting a target operation performed on the terminal, provide the preferential resource to a visually impaired user who uses the target application.
  • This step is used to provide preferential resources to visually impaired users.
  • the detected target operations mainly include: sliding or clicking operations on any area on the terminal screen, shaking the terminal, controlling the terminal by voice, and operations on any area outside the terminal screen.
  • the preferential resources will be put into the user account, and prompt information such as receiving coupons or putting coupons into the account will be played by voice.
  • the above-mentioned first embodiment provides a method for displaying page elements.
  • the fourth embodiment of the present application further provides a device for displaying page elements, as shown in FIG. 5 .
  • the apparatus embodiment is basically similar to the method embodiment, the description is relatively simple.
  • the description of the apparatus embodiment is only schematic. of.
  • a fourth embodiment of the present application provides a device for displaying page elements, including: a first page element obtaining unit 501 for obtaining a first page element of a target application in an operation mode of a visually impaired user; a first page element displaying unit 502 , used to display the first page element in the first page of the target application in the operation mode of the visually impaired user; wherein, the first page element is for the target application in the operation mode of the non-visually impaired user
  • the display form of the second page element is the page element generated after simplified processing, the second page element is the page element in the second page of the target application in the non-visually impaired user operation mode, the first page The page element of the first page element 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 apparatus is applied to a user terminal; the apparatus is further configured to: send a request message to the server for requesting to obtain page elements of the first page; wherein, the obtaining is in an operation mode for visually impaired users
  • the first page element of the target application below includes: obtaining the page element of the first page provided by the server; and obtaining the first page element from the page elements of the first page.
  • the apparatus is applied to the user terminal; the apparatus is further configured to: send a request message to the server for requesting to obtain the page element of the first page; the obtaining is in the operation mode of the visually impaired user.
  • the first page element of the target application includes: obtaining the page element of the second page provided by the server; obtaining the second page element from the page elements of the second page; The display form of the element is simplified to obtain the first page element.
  • the apparatus is further configured to: provide the first page element to the server.
  • the second page element is an image element
  • the first page element is an image element generated after simplifying the display form of the second page element
  • the second page element is a video element
  • the first page element is a video element generated by simplifying the display form of the second page element
  • the second page element is a text element
  • the first page element is a
  • the presentation form of page elements simplifies the text elements generated after processing.
  • the simplified processing of the display form of the second page element of the target application in the operation mode of the non-visually impaired user includes at least one of the following manners: obtaining distribution from element content of the second page element. Service content, filter out non-delivery service content, and generate the first page element according to the delivery service content; obtain delivery service content and non-delivery service content from the element content of the second page element, and retain the delivery service
  • the display form of the content performing simplified processing on the display form of the non-delivery service content, and generating the first page element according to the delivery service content with no change in the display form and the non-delivery service content after the simplified processing of the display form;
  • the display parameters of the second page elements are adjusted to display parameters that can simplify the display effect of the second page elements, and the first page elements are generated according to the adjusted display parameters; if the second page elements are image elements or video element, obtain description text for describing the second page element, and generate a first page element in the form of a text element according to the description text.
  • the delivery service content includes at least one of the following content: information for describing a delivery object; information for describing an entity object that provides a delivery object; information for describing a delivery resource for delivering the delivery object; Information used to describe shipping service offers.
  • the displaying the first page element on the first page of the target application in the operation mode of the visually impaired user includes: judging whether the user using the target application is a visually impaired user, and if so, then: Display the first page element on the first page of the target application in the operation mode of the visually impaired user; or obtain an instruction issued by the user who uses the target application to request the target application to quickly provide service content, according to the requirement
  • the target application quickly provides an instruction of service content, displaying the first page element in the first page of the target application in the operation mode of the visually impaired user; or, obtaining the request issued by the user who uses the target application.
  • the instruction of the target application to enable the energy-saving mode, and for the instruction to require the target application to enable the energy-saving mode the first page element is displayed on the first page of the target application in the operation mode of the visually impaired user.
  • the judging whether the user using the target application is a visually impaired user includes: obtaining pose data of the terminal running the target application; The distance data between the faces of the user, or, according to the pose data of the terminal and the angle data between the screen of the terminal and the face of the user, determine whether the user who uses the target application is a visual handicapped users.
  • the judging whether the user who uses the target application is a visually impaired user includes: obtaining historical behavior data of the user for the target application, and according to the user's historical behavior data for the target application, Determine whether the user is a visually impaired user; or, after obtaining the authorization of the user, obtain the historical behavior data of the user for other applications except the target application, and according to the user for the other applications the historical behavior data, to determine whether the user is a visually impaired user.
  • the fifth embodiment of the present application further provides a service information providing apparatus, as shown in FIG. 6 .
  • the apparatus embodiment is basically similar to the method embodiment, the description is relatively simple.
  • the description of the apparatus embodiment is only schematic. of.
  • a fifth embodiment of the present application provides an apparatus for providing service information, including: a prompt information playing unit 601, configured to play a target application in response to detecting a trigger operation on a page focus element in a target application in an operation mode of a visually impaired user.
  • the prompt information of the page focus element, the prompt information includes the prompt information of the service information corresponding to the page focus element that can be obtained by performing a target operation on the terminal running the target application; the service information providing unit 602 is used for In response to detecting a target operation performed on the terminal, the service information is provided to a visually impaired user using the target application.
  • the apparatus is applied to the terminal; the apparatus is further configured to: send a request message to a server for requesting to obtain a page element in a target application in an operation mode of a visually impaired user; obtain the service Multiple page elements in the target application in the visually impaired user operation mode returned by the terminal and prompt information for each of the multiple page elements, where the multiple page elements include the page focus element,
  • the prompt information of each page element in the plurality of page elements includes prompt information for the page focus element.
  • the target operation performed on the terminal includes any one of the following operations: a triggering operation on any area on the screen of the terminal; triggering on any area of the terminal except the screen operation; shaking operation of the terminal; voice control operation of the terminal.
  • the service information includes at least one of the following information: information used to describe the distribution object; information used to describe the entity object that provides the distribution object; information used to describe the distribution resources that distribute the distribution object; For information describing shipping service offers.
  • the providing the service information to the visually impaired user using the target application includes at least one of the following manners: playing the service information to the visually impaired user using the target application; if the service information If the information used to describe the distribution service preferential activities is included, the preferential resources corresponding to the distribution service preferential activities are configured in the account of the visually impaired user in the target application, and play is used to prompt that the distribution service has been
  • the prompt information that the preferential resource corresponding to the preferential activity is 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 to submit a delivery order request, it is The visually impaired user generates a delivery order, and plays a prompt message for prompting that a delivery order has been generated for the visually impaired user.
  • the above-mentioned third embodiment provides a service information providing method.
  • the sixth embodiment of the present application further provides a service information providing apparatus, as shown in FIG. 7 .
  • the apparatus embodiment is basically similar to the method embodiment, the description is relatively simple.
  • the description of the apparatus embodiment is only schematic. of.
  • a sixth embodiment of the present application provides an apparatus for providing service information, including a prompt information playing unit 701 configured to play prompt information for a target preferential activity, where the target preferential activity is provided by a target application in an operation mode of a visually impaired user the preferential activity, the prompt information includes prompt information of the preferential resource corresponding to the target preferential activity that can be obtained by performing the target operation on the terminal running the target application; the preferential resource providing unit 702 is configured to respond to the detection of the target preferential activity.
  • the target operation performed by the terminal provides the preferential resource to visually impaired users who use the target application.
  • the apparatus is applied to the terminal; the apparatus is further configured to: obtain prompt information for the target preferential activity provided by the server.
  • the playing the prompt information for the target preferential activity includes: in response to detecting a trigger operation for the target preferential activity element in the target page of the target application under the operation mode of the visually impaired user, playing the target preferential activity. or, in response to detecting the opening operation of the target page including the target preferential activity element of the target application in the operation mode of the visually impaired user, play the prompt information for the target preferential activity.
  • the target operation performed on the terminal includes any one of the following operations: a triggering operation on any area on the screen of the terminal; triggering on any area of the terminal except the screen operation; shaking operation of the terminal; voice control operation of the terminal.
  • the providing the preferential resource to the visually impaired user using the target application includes: configuring the preferential resource corresponding to the target preferential activity in the account of the visually impaired user in the target application. , and play a prompt message for prompting that the preferential resource corresponding to the target preferential activity has been configured in the account of the visually impaired user in the target application.
  • the seventh embodiment of the present application further provides an electronic device. Since the seventh embodiment is basically similar to the above-mentioned method embodiment provided in this application, the description is relatively simple, and for relevant details, please refer to the partial description of the above-mentioned method embodiment provided in this application.
  • the seventh embodiment described below is merely illustrative.
  • FIG. 8 is a schematic diagram of an electronic device provided in an embodiment of the present application.
  • the electronic device includes: a processor 801; and a memory 802 for storing a computer program. After the device is powered on and runs the computer program through the processor, any one of the methods is executed.
  • an eighth embodiment of this application further provides a storage medium. Since the eighth embodiment is basically similar to the foregoing method embodiment provided in this application, the description is relatively simple, and for related details, please refer to the partial description of the foregoing method embodiment provided in this application.
  • the eighth embodiment described below is merely illustrative.
  • the storage medium stores a computer program, and the computer program is executed by the processor to execute the methods provided in the foregoing embodiments of the present application.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • Memory may include forms of non-persistent memory, random access memory (RAM) and/or non-volatile memory in computer readable media, such as read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
  • RAM random access memory
  • ROM read only memory
  • flash RAM flash memory
  • Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology.
  • Information may be computer readable instructions, data structures, modules of programs, 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 Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
  • computer-readable media does not include non-transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
  • the embodiments of the present application may be provided as a method, a system or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Provided in the present application is a page element display method, the method comprising: obtaining a first page element of a target application in an operation mode for a visually impaired user; and displaying the first page element on a first page of the target application in the operation mode for the visually impaired user. The first page element is a page element generated after simplifying a display form of a second page element of the target application in an operation mode for a non-visually impaired user, and the second page element is a page element on a second page of the target application in the operation mode for the non-visually impaired user, wherein page elements of the first page correspond to page elements of the second page, and element content of the first page element corresponds to element content of the second page element.

Description

页面元素展示方法、服务信息提供方法、设备及存储介质Page element display method, service information providing method, device and storage medium 技术领域technical field
本申请涉及计算机领域,具体涉及页面元素展示方法、服务信息提供方法、页面元素展示装置、服务信息提供装置。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 technique
随着科技的发展,手机给人们的生活带来了很大的便利,如利用手机点外卖。然而,生活中存在大量的视觉障碍用户,由于他们不能像正常人一样观看手机提供的外卖图片,因此,如果这些用户在点外卖时页面还正常加载显示这些外卖图片,显然会浪费很多电量和时间。With the development of technology, mobile phones have brought great convenience to people's lives, such as using mobile phones to order takeout. However, there are a large number of visually impaired users in life, because they cannot watch the takeaway pictures provided by their mobile phones like normal people. Therefore, if these users order takeout and the page still loads and displays these takeaway pictures, it will obviously waste a lot of power and time. .
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种页面元素展示方法、服务信息提供方法、装置、电子设备以及存储介质,通过改变页面元素的展示形式以减少电量和时间的浪费。Embodiments of the present application provide a method for displaying page elements, a method for providing service information, an apparatus, an electronic device, and a storage medium, which can reduce waste of electricity and time by changing the display form of page elements.
本申请实施例提供一种页面元素展示方法,包括:获得处于视觉障碍用户操作模式下的目标应用的第一页面元素;在处于视觉障碍用户操作模式下的目标应用的第一页面中展示所述第一页面元素;其中,所述第一页面元素是对处于非视觉障碍用户操作模式下的所述目标应用的第二页面元素的展示形式简化处理后生成的页面元素,所述第二页面元素是处于非视觉障碍用户操作模式下的所述目标应用的第二页面中的页面元素,所述第一页面的页面元素与所述第二页面的页面元素相对应,所述第一页面元素的元素内容与所述第二页面元素的元素内容相对应。An embodiment of the present application provides a method for displaying page elements, including: obtaining a first page element of a target application in an operation mode of a visually impaired user; displaying the first page element of a target application in an operation mode of a visually impaired user A first page element; 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 operation mode of the non-visually impaired user, and the second page element is the page element in the second page of the target application in the non-visually impaired user operation mode, the page element of the first page corresponds to the page element of the second page, and the page element of the first page element corresponds to the page element of the second page. The element content corresponds to the element content of the second page element.
可选的,所述方法应用于用户端;所述方法还包括:向服务端发出用于请求获得所述第一页面的页面元素的请求消息;其中,所述获得处于视觉障碍用户操作模式下的目标应用的第一页面元素,包括:获得所述服务端提供的所述第一页面的页面元素;从所述第一页面的页面元素中获得所述第一页面元素。Optionally, the method is applied to a user terminal; the method further includes: sending a request message to a server for requesting to obtain page elements of the first page; wherein, the obtaining is in an operation mode for visually impaired users The first page element of the target application includes: obtaining the page element of the first page provided by the server; and obtaining the first page element from the page elements of the first page.
可选的,所述方法应用于用户端;所述方法还包括:向服务端发出用于请求获得所述第一页面的页面元素的请求消息;其中,所述获得处于视觉障碍用户操作模式下的目标应用的第一页面元素,包括:获得所述服务端提供的所述第二页面的页面元素;从所 述第二页面的页面元素中获得所述第二页面元素;对所述第二页面元素的展示形式进行简化处理,获得所述第一页面元素。Optionally, the method is applied to a user terminal; the method further includes: sending a request message to a server for requesting to obtain page elements of the first page; wherein, the obtaining is in an operation mode for visually impaired users The first page element of the target application includes: obtaining the page element of the second page provided by the server; obtaining the second page element from the page elements of the second page; The display form of the page element is simplified to obtain the first page element.
可选的,所述方法还包括:将所述第一页面元素提供给所述服务端。Optionally, the method further includes: providing the first page element to the server.
可选的,所述第二页面元素为图像元素,所述第一页面元素为对所述第二页面元素的展示形式简化处理后生成的图像元素;或者,所述第二页面元素为视频元素,所述第一页面元素为对所述第二页面元素的展示形式简化处理后生成的视频元素;或者,所述第二页面元素为文本元素,所述第一页面元素为对所述第二页面元素的展示形式简化处理后生成的文本元素。Optionally, the second page element is an image element, and the first page element is an image element generated after simplifying the display form of the second page element; or, the second page element is a video element , 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 The presentation form of page elements simplifies the text elements generated after processing.
可选的,所述对处于非视觉障碍用户操作模式下的所述目标应用的第二页面元素的展示形式简化处理包括以下至少一种方式:从所述第二页面元素的元素内容中获得配送服务内容,过滤掉非配送服务内容,根据所述配送服务内容生成所述第一页面元素;从所述第二页面元素的元素内容中获得配送服务内容和非配送服务内容,保留所述配送服务内容的展示形式,对所述非配送服务内容的展示形式进行简化处理,根据展示形式无变化的配送服务内容和展示形式简化处理后的非配送服务内容生成所述第一页面元素;将所述第二页面元素的显示参数调整为能够使所述第二页面元素的显示效果简化的显示参数,根据调整后的显示参数生成所述第一页面元素;如果所述第二页面元素为图像元素或视频元素,则获得用于描述所述第二页面元素的描述文本,根据所述描述文本生成文本元素形式的第一页面元素。Optionally, the simplified processing of the display form of the second page element of the target application in the operation mode of the non-visually impaired user includes at least one of the following manners: obtaining distribution from element content of the second page element. Service content, filter out non-delivery service content, and generate the first page element according to the delivery service content; obtain delivery service content and non-delivery service content from the element content of the second page element, and retain the delivery service The display form of the content, performing simplified processing on the display form of the non-delivery service content, and generating the first page element according to the delivery service content with no change in the display form and the non-delivery service content after the simplified processing of the display form; The display parameters of the second page elements are adjusted to display parameters that can simplify the display effect of the second page elements, and the first page elements are generated according to the adjusted display parameters; if the second page elements are image elements or video element, obtain description text for describing the second page element, and generate a first page element in the form of a text element according to the description text.
可选的,所述配送服务内容包括以下至少一种内容:用于描述配送对象的信息;用于描述提供配送对象的实体对象的信息;用于描述配送所述配送对象的配送资源的信息;用于描述配送服务优惠活动的信息。Optionally, the delivery service content includes at least one of the following content: information for describing a delivery object; information for describing an entity object that provides a delivery object; information for describing a delivery resource for delivering the delivery object; Information used to describe shipping service offers.
可选的,所述在处于视觉障碍用户操作模式下的目标应用的第一页面中展示所述第一页面元素,包括:判断使用所述目标应用的用户是否为视觉障碍用户,如果是,则在处于视觉障碍用户操作模式下的目标应用的第一页面中展示所述第一页面元素;或者,获得使用所述目标应用的用户发出的要求所述目标应用快速提供服务内容的指令,针对要求所述目标应用快速提供服务内容的指令,在处于视觉障碍用户操作模式下的目标应用的第一页面中展示所述第一页面元素;或者,获得使用所述目标应用的用户发出的要求所述目标应用开启节能模式的指令,针对要求所述目标应用开启节能模式的指令,在处于视觉障碍用户操作模式下的目标应用的第一页面中展示所述第一页面元素。Optionally, the displaying the first page element on the first page of the target application in the operation mode of the visually impaired user includes: judging whether the user using the target application is a visually impaired user, and if so, then: Display the first page element on the first page of the target application in the operation mode of the visually impaired user; or obtain an instruction issued by the user who uses the target application to request the target application to quickly provide service content, according to the requirement The target application quickly provides an instruction of service content, displaying the first page element in the first page of the target application in the operation mode of the visually impaired user; or, obtaining the request issued by the user who uses the target application. The instruction of the target application to enable the energy-saving mode, and for the instruction to require the target application to enable the energy-saving mode, the first page element is displayed on the first page of the target application in the operation mode of the visually impaired user.
可选的,所述判断使用所述目标应用的用户是否为视觉障碍用户,包括:获得运行所述目标应用的终端的位姿数据;根据所述终端的位姿数据和所述终端的屏幕与所述用户的面部之间的距离数据,或者,根据所述终端的位姿数据和所述终端的屏幕与所述用户的面部之间的角度数据,判断使用所述目标应用的用户是否为视觉障碍用户。Optionally, the judging whether the user using the target application is a visually impaired user includes: obtaining pose data of the terminal running the target application; The distance data between the faces of the user, or, according to the pose data of the terminal and the angle data between the screen of the terminal and the face of the user, determine whether the user who uses the target application is a visual handicapped users.
可选的,所述判断使用所述目标应用的用户是否为视觉障碍用户,包括:获得所述用户针对所述目标应用的历史行为数据,根据所述用户针对所述目标应用的历史行为数据,判断所述用户是否为视觉障碍用户;或者,在获得所述用户的授权后,获得所述用户针对除所述目标应用之外的其他应用的历史行为数据,根据所述用户针对所述其他应用的历史行为数据,判断所述用户是否为视觉障碍用户。Optionally, the judging whether the user who uses the target application is a visually impaired user includes: obtaining historical behavior data of the user for the target application, and according to the user's historical behavior data for the target application, Determine whether the user is a visually impaired user; or, after obtaining the authorization of the user, obtain the historical behavior data of the user for other applications except the target application, and according to the user for the other applications the historical behavior data, to determine whether the user is a visually impaired user.
本申请实施例还提供一种服务信息提供方法,包括:响应于检测到针对处于视觉障碍用户操作模式下的目标应用中的页面焦点元素的触发操作,播放针对所述页面焦点元素的提示信息,所述提示信息包括通过对运行所述目标应用的终端执行目标操作可获得的所述页面焦点元素对应的服务信息的提示信息;响应于检测到针对所述终端执行的目标操作,向使用所述目标应用的视觉障碍用户提供所述服务信息。The embodiment of the present application also provides a service information providing method, comprising: in response to detecting a triggering operation for a page focus element in a target application in an operation mode of a visually impaired user, playing prompt information for the page focus element, The prompt information includes prompt information of service information corresponding to the page focus element that can be obtained by performing a target operation on the terminal running the target application; Visually impaired users of the target application provide the service information.
可选的,所述方法应用于所述终端;所述方法还包括:向服务端发出用于请求获得处于视觉障碍用户操作模式下的目标应用中的页面元素的请求消息;获得所述服务端返回的处于视觉障碍用户操作模式下的目标应用中的多个页面元素和针对所述多个页面元素中的每个页面元素的提示信息,所述多个页面元素包括所述页面焦点元素,所述多个页面元素中的每个页面元素的提示信息包括针对所述页面焦点元素的提示信息。Optionally, the method is applied to the terminal; the method further includes: sending a request message to a server for requesting to obtain a page element in a target application in an operation mode of a visually impaired user; obtaining the server The returned multiple page elements in the target application in the operation mode of the visually impaired user and the prompt information for each page element of the multiple page elements, the multiple page elements include the page focus element, and the The prompt information of each page element in the plurality of page elements includes prompt information for the page focus element.
可选的,所述针对所述终端执行的目标操作包括以下任意一种操作:对所述终端的屏幕中的任意一个区域的触发操作;对所述终端除屏幕之外的任意一个区域的触发操作;对所述终端的摇动操作;对所述终端的语音控制操作。Optionally, the target operation performed on the terminal includes any one of the following operations: a triggering operation on any area on the screen of the terminal; triggering on any area of the terminal except the screen operation; shaking operation of the terminal; voice control operation of the terminal.
可选的,所述服务信息包括以下至少一种信息:用于描述配送对象的信息;用于描述提供配送对象的实体对象的信息;用于描述配送所述配送对象的配送资源的信息;用于描述配送服务优惠活动的信息。Optionally, the service information includes at least one of the following information: information used to describe the distribution object; information used to describe the entity object that provides the distribution object; information used to describe the distribution resources that distribute the distribution object; For information describing shipping service offers.
可选的,所述向使用所述目标应用的视觉障碍用户提供所述服务信息,包括以下至少一种方式:向使用所述目标应用的视觉障碍用户播放所述服务信息;如果所述服务信息包括用于描述配送服务优惠活动的信息,则将所述配送服务优惠活动对应的优惠资源配置在所述视觉障碍用户在所述目标应用中的账号中,播放用于提示已将所述配送服务 优惠活动对应的优惠资源配置在所述视觉障碍用户在所述目标应用中的账号中的提示信息;如果所述页面焦点元素为用于协助所述视觉障碍用户提交配送订单请求的元素,则为所述视觉障碍用户生成配送订单,播放用于提示已为所述视觉障碍用户生成配送订单的提示信息。Optionally, the providing the service information to the visually impaired user using the target application includes at least one of the following manners: playing the service information to the visually impaired user using the target application; if the service information If the information used to describe the distribution service preferential activities is included, the preferential resources corresponding to the distribution service preferential activities are configured in the account of the visually impaired user in the target application, and play is used to prompt that the distribution service has been The prompt information that the preferential resource corresponding to the preferential activity is 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 to submit a delivery order request, it is The visually impaired user generates a delivery order, and plays a prompt message for prompting that a delivery order has been generated for the visually impaired user.
本申请实施例还提供一种服务信息提供方法,包括:播放针对目标优惠活动的提示信息,所述目标优惠活动是处于视觉障碍用户操作模式下的目标应用提供的优惠活动,所述提示信息包括通过对运行所述目标应用的终端执行目标操作可获得的所述目标优惠活动对应的优惠资源的提示信息;响应于检测到针对所述终端执行的目标操作,向使用所述目标应用的视觉障碍用户提供所述优惠资源。An embodiment of the present application further provides a method for providing service information, including: playing prompt information for a target preferential activity, where the target preferential activity is a preferential activity provided by a target application in an operation mode of a visually impaired user, and the prompt information includes The prompt information of the preferential resource corresponding to the target preferential activity that can be obtained by performing the target operation on the terminal running the target application; in response to detecting the target operation performed on the terminal, the target application is sent to the visual obstacle of using the target application. The user provides the preferential resource.
可选的,所述方法应用于所述终端;所述方法还包括:获得所述服务端提供的针对目标优惠活动的提示信息。Optionally, the method is applied to the terminal; the method further includes: obtaining prompt information for the target preferential activity provided by the server.
可选的,所述播放针对目标优惠活动的提示信息,包括:响应于检测到针对处于视觉障碍用户操作模式下的目标应用的目标页面中的目标优惠活动元素的触发操作,播放针对目标优惠活动的提示信息;或者,响应于检测到针对处于视觉障碍用户操作模式下的目标应用的包括所述目标优惠活动元素的目标页面的开启操作,播放针对目标优惠活动的提示信息。Optionally, the playing the prompt information for the target preferential activity includes: in response to detecting a trigger operation for the target preferential activity element in the target page of the target application under the operation mode of the visually impaired user, playing the target preferential activity. or, in response to detecting the opening operation of the target page including the target preferential activity element of the target application in the operation mode of the visually impaired user, play the prompt information for the target preferential activity.
可选的,所述针对所述终端执行的目标操作包括以下任意一种操作:对所述终端的屏幕中的任意一个区域的触发操作;对所述终端除屏幕之外的任意一个区域的触发操作;对所述终端的摇动操作;对所述终端的语音控制操作。Optionally, the target operation performed on the terminal includes any one of the following operations: a triggering operation on any area on the screen of the terminal; triggering on any area of the terminal except the screen operation; shaking operation of the terminal; voice control operation of the terminal.
可选的,所述向使用所述目标应用的视觉障碍用户提供所述优惠资源,包括:将所述目标优惠活动对应的优惠资源配置在所述视觉障碍用户在所述目标应用中的账号中,播放用于提示已将所述目标优惠活动对应的优惠资源配置在所述视觉障碍用户在所述目标应用中的账号中的提示信息。Optionally, the providing the preferential resource to the visually impaired user using the target application includes: configuring the preferential resource corresponding to the target preferential activity in the account of the visually impaired user in the target application. , and play a prompt message for prompting that the preferential resource corresponding to the target preferential activity has been configured in the account of the visually impaired user in the target application.
本申请实施例还提供一种页面元素展示装置,包括:第一页面元素获得单元,用于获得处于视觉障碍用户操作模式下的目标应用的第一页面元素;第一页面元素展示单元,用于在处于视觉障碍用户操作模式下的目标应用的第一页面中展示所述第一页面元素;其中,所述第一页面元素是对处于非视觉障碍用户操作模式下的所述目标应用的第二页面元素的展示形式简化处理后生成的页面元素,所述第二页面元素是处于非视觉障碍用户操作模式下的所述目标应用的第二页面中的页面元素,所述第一页面的页面元素与所 述第二页面的页面元素相对应,所述第一页面元素的元素内容与所述第二页面元素的元素内容相对应。An embodiment of the present application further provides a device for displaying page elements, including: a first page element obtaining unit for obtaining a first page element of a target application in an operation mode of a visually impaired user; a first page element displaying unit for displaying 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 second page element to the target application in the non-visually impaired user operation mode The display form of the page element is a page element generated after simplified processing, the second page element is the page element in the second page of the target application in the non-visually impaired user operation mode, the page element of the first page Corresponding to the page element of the second page, the element content of the first page element corresponds to the element content of the second page element.
本申请实施例还提供一种服务信息提供装置,包括:提示信息播放单元,用于响应于检测到针对处于视觉障碍用户操作模式下的目标应用中的页面焦点元素的触发操作,播放针对所述页面焦点元素的提示信息,所述提示信息包括通过对运行所述目标应用的终端执行目标操作可获得的所述页面焦点元素对应的服务信息的提示信息;服务信息提供单元,用于响应于检测到针对所述终端执行的目标操作,向使用所述目标应用的视觉障碍用户提供所述服务信息。An embodiment of the present application further provides a service information providing apparatus, including: a prompt information playing unit, configured to play a prompt information playing unit in response to detecting a trigger operation on a page focus element in a target application in an operation mode of a visually impaired user, playing the prompt information of the page focus element, the prompt information includes prompt information of the service information corresponding to the page focus element that can be obtained by performing a target operation on the terminal running the target application; the service information providing unit is used for responding to the detection According to the target operation performed on the terminal, the service information is provided to visually impaired users using the target application.
本申请实施例还提供一种服务信息提供装置,包括:提示信息播放单元,用于播放针对目标优惠活动的提示信息,所述目标优惠活动是处于视觉障碍用户操作模式下的目标应用提供的优惠活动,所述提示信息包括通过对运行所述目标应用的终端执行目标操作可获得的所述目标优惠活动对应的优惠资源的提示信息;优惠资源提供单元,用于响应于检测到针对所述终端执行的目标操作,向使用所述目标应用的视觉障碍用户提供所述优惠资源。An embodiment of the present application further provides a service information providing apparatus, comprising: a prompt information playing unit configured to play prompt information for a target preferential activity, where the target preferential activity is a preferential provided by a target application in an operation mode of a visually impaired user activity, the prompt information includes prompt information of preferential resources corresponding to the target preferential activity that can be obtained by performing the target operation on the terminal running the target application; the preferential resource providing unit is configured to respond to detecting that the terminal is targeted for the terminal The executed target operation provides the preferential resource to visually impaired users who use the target application.
本申请实施例还提供一种电子设备,包括:处理器;以及存储器,用于存储计算机程序,该设备通电并通过所述处理器运行该计算机程序后,执行上述任意一项所述方法。Embodiments of the present application further provide an electronic device, including: a processor; and a memory for storing a computer program. After the device is powered on and runs the computer program through the processor, any one of the methods described above is executed.
本申请实施例还提供一种存储介质,该存储介质存储有计算机程序,该计算机程序被处理器运行,执行上述任意一项所述方法。An embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and the computer program is executed by a processor to execute any one of the methods described above.
本申请实施例提供的页面元素展示方法包括:获得处于视觉障碍用户操作模式下的目标应用的第一页面元素;在处于视觉障碍用户操作模式下的目标应用的第一页面中展示所述第一页面元素;其中,所述第一页面元素是对处于非视觉障碍用户操作模式下的所述目标应用的第二页面元素的展示形式简化处理后生成的页面元素,所述第二页面元素是处于非视觉障碍用户操作模式下的所述目标应用的第二页面中的页面元素,所述第一页面的页面元素与所述第二页面的页面元素相对应,所述第一页面元素的元素内容与所述第二页面元素的元素内容相对应。该方法通过对非视觉障碍用户操作模式下的第二页面元素的展示形式简化处理获得视觉障碍用户操作模式下的第一页面元素,由于上述简化处理可以使页面元素能够更快的加载和呈现出来,因此为视觉障碍用户节省了电量和时间。The method for displaying page elements provided by the embodiments of the present application includes: obtaining a first page element of a target application in an operation mode of a visually impaired user; displaying the first page element of a target application in an operation mode of a visually impaired user A page element; 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 operation mode of the non-visually impaired user, and the second page element is in the The page elements 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 corresponding to the element content of the second page element. The method obtains the first page element in the operation mode of the visually impaired user by simplifying the display form of the second page element in the operation mode of the non-visually impaired user. Due to the above simplified processing, the page element can be loaded and presented faster. , thus saving power and time for visually impaired users.
附图说明Description of drawings
图1为本申请实施例中针对页面元素展示方法的应用场景示意图。FIG. 1 is a schematic diagram of an application scenario of a method for displaying page elements in an embodiment of the present application.
图2为本申请第一实施例中针对页面元素展示方法的流程图。FIG. 2 is a flowchart of a method for displaying page elements in the first embodiment of the present application.
图3为本申请第二实施例中针对服务信息提供方法的流程图。FIG. 3 is a flowchart of a method for providing service information in a second embodiment of the present application.
图4为本申请第三实施例中针对服务信息提供方法的流程图。FIG. 4 is a flowchart of a method for providing service information in a third embodiment of the present application.
图5为本申请第四实施例中针对页面元素展示装置的示意图。FIG. 5 is a schematic diagram of an apparatus for displaying page elements in a fourth embodiment of the present application.
图6为本申请第五实施例中针对服务信息提供装置的示意图。FIG. 6 is a schematic diagram of an apparatus for providing service information in a fifth embodiment of the present application.
图7为本申请第六实施例中针对服务信息提供装置的示意图。FIG. 7 is a schematic diagram of an apparatus for providing service information in a sixth embodiment of the present application.
图8为本申请第七实施例中提供的电子设备的示意图。FIG. 8 is a schematic diagram of the electronic device provided in the seventh embodiment of the application.
具体实施方式Detailed ways
在下面的描述中阐述了很多具体细节以便于充分理解本申请。但是本申请能够以很多不同于在此描述的其它方式来实施,本领域技术人员可以在不违背本申请内涵的情况下做类似推广,因此,本申请不受下面公开的具体实施的限制。In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. However, the present application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar promotions without violating the connotation of the present application. Therefore, the present application is not limited by the specific implementation disclosed below.
对于视觉障碍用户,可以通过降低手机屏幕亮度或者降低手机屏幕分辨率来达到省电的目的。但是,这种方式并未考虑到加载显示外卖图片带来的浪费电量和时间的问题。因此,本申请提出可以通过改变外卖图片的展示形式来减少电量和时间的浪费。For visually impaired users, you can save power by lowering the screen brightness or screen resolution of your phone. However, this method does not take into account the waste of power and time caused by loading and displaying takeaway pictures. Therefore, the present application proposes that the waste of electricity and time can be reduced by changing the display form of the takeaway pictures.
为了便于更好地理解本申请,现在结合图1来说明用户手机页面元素的展示形式。该展示形式可包括第一模式和第二模式,其中第一模式是专门为视觉障碍用户提供的页面元素展示模式(对应第一页面);第二模式是为正常用户提供的页面元素展示模式(对应第二页面)。第一页面和第二页面上可以有多个页面元素,包括文本、图片(例如外卖图片)、视频(例如外卖视频)等。In order to facilitate a better understanding of the present application, the display form of the page elements of the user's mobile phone will now be described with reference to FIG. 1 . The display form may include a first mode and a second mode, wherein the first mode is a page element display mode (corresponding to the first page) specially provided for visually impaired users; the second mode is a page element display mode provided for normal users ( corresponding to the second page). There may be multiple page elements on the first page and the second page, including text, pictures (for example, takeaway pictures), videos (for example, takeaway videos), and the like.
根据本申请提供的方案,首先,判断用户是否是视觉障碍用户。若判断结果为否,则以第二模式展示手机页面;相反,若判断结果为是,则执行以下操作:将第二模式下展示的正常外卖图片按照第一模式下外卖图片的展示形式进行简化,如,将外卖图片变为文本、将外卖图片的颜色变为黑白、将外卖图片的分辨率降至最低、将外卖视频转为文本等等。结果,上述简化后的外卖图片所在的手机页面即为第一模式下专为视觉障碍 用户展示的页面。由于该方法通过对正常图片进行简化处理,使得该图片能够更快地在页面中加载和呈现出来,进而为视觉障碍用户节省了电量和时间。According to the solution provided by the present application, first, it is determined whether the user is a visually impaired user. If the judgment result is no, display the mobile page in the second mode; on the contrary, if the judgment result is yes, perform the following operations: simplify the normal take-out pictures displayed in the second mode according to the display form of the take-out pictures in the first mode , for example, change the food delivery image to text, change the color of the food delivery image to black and white, reduce the resolution of the food delivery image to the minimum, convert the food delivery video to text, etc. As a result, the mobile phone page on which the above-mentioned simplified takeout picture is located is the page specially displayed for visually impaired users in the first mode. Since the method simplifies the processing of a normal picture, the picture can be loaded and presented on the page faster, thereby saving power and time for visually impaired users.
为了更清楚地理解本申请,以下结合实施例和附图进行详细说明。In order to understand the present application more clearly, the following detailed description is given in conjunction with the embodiments and the accompanying drawings.
第一实施例first embodiment
第一实施例是针对页面元素展示方法,以下结合图2进行详细说明。如图2所示,该方法包括步骤S201~S202。The first embodiment is directed to a method for displaying page elements, which will be described in detail below with reference to FIG. 2 . As shown in FIG. 2, the method includes steps S201-S202.
S201:获得处于视觉障碍用户操作模式下的目标应用的第一页面元素。S201: Obtain the first page element of the target application in the operation mode of the visually impaired user.
本步骤主要用于获得视觉障碍用户模式下的页面元素。其中,页面元素包括文本、图片或者视频。This step is mainly used to obtain page elements in visually impaired user mode. The page elements include text, pictures or videos.
为了获得视觉障碍用户模式下的页面元素,首先需要判断终端用户是否是视觉障碍用户或者用户是否需要被提供视觉障碍模式下的页面元素。其中,判断终端用户是否是视觉障碍用户主要包括:根据采集到的用户的行为数据和生理特征数据来判断,如,用户眼睛状态数据(是否眨眼或者是否观看手机屏幕),或者用户使用手机的方式数据(手机放在耳边或者用户距离手机较远),或者用户在手机屏幕上的点击方式、滑动轨迹等数据。In order to obtain page elements in the visually impaired user mode, it is first necessary to determine whether the end user is a visually impaired user or whether the user needs to be provided with page elements in the visually impaired mode. Among them, judging whether the end user is a visually impaired user mainly includes: judging according to the collected behavior data and physiological characteristic data of the user, such as the user's eye status data (whether to blink or whether to watch the mobile phone screen), or the way the user uses the mobile phone Data (the mobile phone is placed near the ear or the user is far away from the mobile phone), or data such as the user's click method and sliding track on the mobile phone screen.
判断用户是否为视觉障碍用户还可以通过判断手机当下是否进入特定模式,如旁白模式,该模式是为视觉障碍用户专门设置的模式。It is also possible to determine whether the user is a visually impaired user by judging whether the mobile phone is currently in a specific mode, such as a voice-over mode, which is specially set for visually impaired users.
判断用户是否为视觉障碍用户还可以根据用户在该目标应用的历史行为数据来判断,或者当获得用户授权后,还可以获得用户在其他应用的历史行为数据,进而判断该用户是否是视觉障碍用户。Judging whether the user is a visually impaired user can also be judged based on the user's historical behavior data in the target application, or when the user's authorization is obtained, the user's historical behavior data in other applications can also be obtained, and then determine whether the user is a visually impaired user. .
除了当判断出用户为视觉障碍用户时,在以下情况中也会为用户提供视觉障碍用户模式下的页面元素:如当正常用户需要应用在目标页面快速展示页面内容时,或者当用户需要所述应用以节能模式展示页面内容时。In addition to when it is judged that the user is a visually impaired user, the page elements in the visually impaired user mode will also be provided to the user in the following cases: such as when a normal user needs to apply the application to the target page to quickly display page content, or when the user needs to describe When the app displays page content in power-saving mode.
当判断出需要提供视觉障碍用户模式下的页面元素时,可以通过以下方式获得所述视觉障碍用户模式下的页面元素。第一种方式:终端向服务端发送获取视觉障碍用户模式下的页面元素的请求,进而获得服务端返回的对非视觉障碍用户模式下的页面元素数据进行简化处理所获得的视觉障碍用户模式下的页面元素数据。第二种方式:终端向服务端发送获取视觉障碍用户模式下的页面元素的请求,进而获得服务端返回的非视觉障 碍用户模式下的页面元素数据,然后,终端对获得的非视觉障碍用户模式下的页面元素数据进行简化以获得视觉障碍用户模式下的页面元素数据,最后,终端将视觉障碍用户模式下的页面元素数据发送至服务端用于保存。When it is determined that the page element in the visually impaired user mode needs to be provided, the page element in the visually impaired user mode can be obtained in the following manner. The first way: the terminal sends a request to the server to obtain page elements in the visually impaired user mode, and then obtains the visually impaired user mode returned by the server by simplifying the page element data in the non-visually impaired user mode. page element data. The second method: 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, and then the terminal responds to the obtained non-visually impaired user mode. The page element data in the visually impaired user mode is simplified 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 saving.
需要说明的是,上述对非视觉障碍用户模式下的页面元素数据进行简化处理可以包括:例如,对图片展示形式进行简化,对视频展示形式进行简化,对文本元素进行简化,从而获得视觉障碍用户模式下的页面元素数据。具体简化处理可以包括:保留上述页面元素数据中的与配送服务相关的内容(如,商家相关信息、外卖相关信息、优惠信息、派送订单的骑手信息等),过滤掉与配送服务无关的内容(如,商家商标等);对页面元素数据中非配送服务内容进行简化处理;对非视觉障碍用户模式下的页面元素数据降低分辨率,等等。另外,还可以通过以下方式实现简化处理,如果页面元素为例如外卖图片时,可以将该外卖图片的内容转变为纯文本,或将该外卖图片的内容转为只含有必要外卖信息的兜底纯文本,或将该外卖图片的颜色转为黑白,或将该外卖图片中的字体转为最简字体等等。如果页面元素为例如外卖视频时,可以将该外卖视频转变为只含有必要外卖信息的关键帧组成的兜底外卖视频,或将该外卖视频转为封面以替代整个视频播放过程,其中封面选自该视频中的某一帧,或将该外卖视频转为相应的纯文本,或将该外卖视频转为兜底纯文本,或将该外卖视频的颜色转为黑白等等。It should be noted that the above-mentioned simplification processing of page element data in the non-visually impaired user mode may include: for example, simplifying the display form of pictures, simplifying the display form of video, and simplifying text elements, so as to obtain visually impaired users. The page element data in the schema. The specific simplification process may include: retaining the content related to the delivery service in the above page element data (such as merchant-related information, takeaway-related information, preferential information, rider information of the delivery order, etc.), filtering out the content unrelated to the delivery service ( For example, the merchant's trademark, etc.); simplify the non-delivery service content in the page element data; reduce the resolution of the page element data in the non-visually impaired user mode, and so on. In addition, simplified processing can also be achieved in the following ways. If the page element is, for example, a take-out picture, the content of the take-out picture can be converted into plain text, or the content of the take-out picture can be converted into plain text containing only necessary take-out information. , or convert the color of the takeaway picture to black and white, or convert the font in the takeaway picture to the simplest font, etc. If the page element is, for example, a takeaway video, the takeaway video can be transformed into a bottom takeaway video consisting of key frames containing only necessary takeout information, or the takeaway video can be turned into a cover to replace the entire video playback process, where the cover is selected from the A certain frame in the video, or the takeaway video is converted into corresponding plain text, or the takeaway video is converted into plain text at the bottom, or the color of the takeaway video is converted to black and white, and so on.
S202:在处于视觉障碍用户操作模式下的目标应用的第一页面中展示所述第一页面元素。S202: Display the first page element on the first page of the target application in the operation mode of the visually impaired user.
本步骤用于展示上述步骤获得的视觉障碍用户模式下的页面元素。This step is used to display the page elements in the visually impaired user mode obtained in the above steps.
本申请提供一种页面元素展示方法,包括:获得处于视觉障碍用户操作模式下的目标应用的第一页面元素;在处于视觉障碍用户操作模式下的目标应用的第一页面中展示所述第一页面元素;其中,所述第一页面元素是对处于非视觉障碍用户操作模式下的所述目标应用的第二页面元素的展示形式简化处理后生成的页面元素,所述第二页面元素是处于非视觉障碍用户操作模式下的所述目标应用的第二页面中的页面元素,所述第一页面的页面元素与所述第二页面的页面元素相对应,所述第一页面元素的元素内容与所述第二页面元素的元素内容相对应。该方法通过对非视觉障碍用户操作模式下的第二页面元素的展示形式简化处理获得视觉障碍用户操作模式下的第一页面元素,由于上述简化处理可以使页面元素能够更快地加载和呈现出来,因此为视觉障碍用户节省了电量和时间。The present application provides a method for displaying page elements, including: obtaining a first page element of a target application in an operation mode of a visually impaired user; displaying the first page element of a target application in an operation mode of a visually impaired user A page element; 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 operation mode of the non-visually impaired user, and the second page element is in the The page elements 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 corresponding to the element content of the second page element. The method obtains the first page element in the operation mode of the visually impaired user by simplifying the display form of the second page element in the operation mode of the non-visually impaired user. Due to the above simplified processing, the page element can be loaded and presented faster. , thus saving power and time for visually impaired users.
实施例二Embodiment 2
本实施例是针对服务信息提供方法,以下结合图3进行详细说明。如图3所示,该方法包括步骤S301~S302。This embodiment is directed to a method for providing service information, which will be described in detail below with reference to FIG. 3 . As shown in FIG. 3, the method includes steps S301-S302.
S301,响应于检测到针对处于视觉障碍用户操作模式下的目标应用中的页面焦点元素的触发操作,播放针对所述页面焦点元素的提示信息,所述提示信息包括通过对运行所述目标应用的终端(用户端)执行目标操作可获得的所述页面焦点元素对应的服务信息的提示信息。S301, in response to detecting a triggering operation for a page focus element in a target application in an operation mode of a visually impaired user, play prompt information for the page focus element, where the prompt information includes the process of executing the target application by running the target application. The prompt information of the service information corresponding to the page focus element that can be obtained by the terminal (user end) performing the target operation.
本步骤用于播放视觉障碍用户操作模式下的页面焦点元素的提示信息。为了更清楚解释本实施例,以手机旁白模式为例,在旁白模式下,当用户点击一下某页面元素(某外卖商家)时,系统会播报该元素是什么(商家名称等),接着点击两下会播报该元素提供的服务特征(商家提供的外卖信息等)。所以,上述页面元素(某外卖商家)则称为页面焦点元素。另外,对于有些页面,直接点击页面元素便会播放该元素提供的服务特征。因此,页面焦点元素是页面元素中的一种。以下以页面元素为例说明。This step is used to play the prompt information of the page focus element in the operation mode of the visually impaired user. In order to explain this embodiment more clearly, take the narration mode of mobile phone as an example. In narration mode, when the user clicks on a certain page element (a food delivery business), the system will broadcast what the element is (business name, etc.), and then click two The following will broadcast the service characteristics provided by this element (takeaway information provided by the merchant, etc.). Therefore, the above page element (a takeaway merchant) is called the page focus element. In addition, for some pages, directly clicking on a page element will play the service features provided by the element. Therefore, the page focus element is a type of page element. The following uses page elements as an example.
以下是获得视觉障碍用户操作模式下的页面元素的提示信息的方法,具体为:响应于用户对终端进行的触发操作(对终端屏幕中的任意区域的滑动或点击操作、对终端进行摇一摇操作、通过语音对终端进行控制、对终端屏幕外任意区域的操作等),终端向服务端发送获取视觉障碍用户操作模式下的页面元素的提示信息,进而获得服务端返回的在视觉障碍用户操作模式下的多个页面元素和多个页面元素的提示信息。其中,提示信息可以包括终端页面元素(商家)提供的相应的服务信息(如,外卖信息、商家信息、配送订单的骑手信息、优惠信息等)。The following is a method for obtaining prompt information of page elements in the operation mode of visually impaired users, specifically: in response to a user's trigger operation on the terminal (swipe or click operation on any area on the terminal screen, shake the terminal operation, controlling the terminal through voice, operating any area outside the terminal screen, etc.), the terminal sends the prompt information to the server to obtain the page elements in the operation mode of the visually impaired user, and then obtains the operation returned by the server for the visually impaired user. Multiple page elements in mode and tooltip information for multiple page elements. The prompt information may include corresponding service information (eg, takeaway information, merchant information, rider information for delivery orders, preferential information, etc.) provided by the terminal page element (merchant).
S302:响应于检测到针对所述终端执行的目标操作,向使用所述目标应用的视觉障碍用户提供所述服务信息。S302: In response to detecting the target operation performed on the terminal, provide the service information to a visually impaired user who uses the target application.
本步骤用于向视觉障碍用户提供服务信息。This step is used to provide service information to visually impaired users.
其中,向视觉障碍用户提供服务信息主要包括:向视觉障碍用户语音播报服务信息。如果服务信息包括优惠券信息,还需语言播放将优惠券放入视觉障碍用户账号中;如果服务信息是用户下单的相关信息,还需语音播报订单生成信息。Wherein, providing service information to visually impaired users mainly includes: voice broadcast of service information to visually impaired users. If the service information includes coupon information, language playback is also required to put the coupon into the account of the visually impaired user; if the service information is related to the user's order, the order generation information is also required to be broadcast by voice.
第三实施例Third Embodiment
本实施例是针对服务信息提供方法,以下结合图4进行详细介绍。如图4所示,该方法包括步骤S401~S402。This embodiment is directed to a method for providing service information, which will be described in detail below with reference to FIG. 4 . As shown in FIG. 4 , the method includes steps S401-S402.
S401:播放针对目标优惠活动的提示信息,所述目标优惠活动是处于视觉障碍用户 操作模式下的目标应用提供的优惠活动,所述提示信息包括通过对运行所述目标应用的终端执行目标操作可获得的所述目标优惠活动对应的优惠资源的提示信息。S401: Play prompt information for a target preferential activity, where the target preferential activity is a preferential activity provided by a target application in an operation mode of a visually impaired user, and the prompt information includes that a target operation can be performed on a terminal running the target application. The obtained prompt information of the preferential resource corresponding to the target preferential activity.
本步骤用于播放处于视觉障碍用户操作模式下的目标应用提供的优惠活动的提示信息,其中,所述优惠活动包括应用提供的红包雨或者优惠券、或者应用上商家提供的红包雨或者优惠券。This step is used to play the prompt information of the preferential activities provided by the target application in the operation mode of the visually impaired user, wherein the preferential activities include red envelopes or coupons provided by the application, or red envelopes or coupons provided by the merchants on the application. .
处于视觉障碍用户操作模式下的优惠活动的提示信息是由终端获得的服务端所提供的针对优惠资源的提示信息。The prompt information of the preferential activity in the operation mode of the visually impaired user is the prompt information for the preferential resource provided by the server obtained by the terminal.
播放处于视觉障碍用户操作模式下的目标应用提供的优惠活动的提示信息主要包括:当检测到触发所述处于视觉障碍用户操作模式下的目标应用提供的优惠活动,如点击红包或者红包雨等触发操作,便可播放提示信息,或者开启目标应用的页面时,便播放提示信息,或者出现优惠活动时,便会播放提示信息。The prompt information for playing the preferential activities provided by the target application in the operation mode of the visually impaired user mainly includes: when it is detected that the preferential activities provided by the target application in the operation mode of the visually impaired user are triggered, such as clicking on the red envelope or the red envelope rain, etc. operation, the prompt information can be played, or the prompt information will be played when the page of the target application is opened, or the prompt information will be played when a promotion occurs.
S402:响应于检测到针对所述终端执行的目标操作,向使用所述目标应用的视觉障碍用户提供所述优惠资源。S402: In response to detecting a target operation performed on the terminal, provide the preferential resource to a visually impaired user who uses the target application.
本步骤用于向视觉障碍用户提供优惠资源。This step is used to provide preferential resources to visually impaired users.
其中,检测到的目标操作主要包括:对终端屏幕中的任意区域的滑动或点击操作、对终端进行摇一摇操作、通过语音对终端进行控制、对终端屏幕外任意区域的操作等。The detected target operations mainly include: sliding or clicking operations on any area on the terminal screen, shaking the terminal, controlling the terminal by voice, and operations on any area outside the terminal screen.
需要注意的是,当终端向视觉障碍用户提供优惠资源时,会将该优惠资源放入用户账号中,并且语音播放领取优惠券或者将优惠券放入账户等提示信息。It should be noted that when the terminal provides preferential resources to visually impaired users, the preferential resources will be put into the user account, and prompt information such as receiving coupons or putting coupons into the account will be played by voice.
第四实施例Fourth Embodiment
上述第一实施例提供了一种页面元素展示方法,与之相对应的,本申请第四实施例还提供了一种页面元素展示装置,如图5所示。由于装置实施例基本相似于方法实施例,所以描述得比较简单,相关的技术特征的细节部分请参见上述提供的方法实施例的对应说明即可,下述对装置实施例的描述仅仅是示意性的。The above-mentioned first embodiment provides a method for displaying page elements. Correspondingly, the fourth embodiment of the present application further provides a device for displaying page elements, as shown in FIG. 5 . Since the apparatus embodiment is basically similar to the method embodiment, the description is relatively simple. For the details of the relevant technical features, please refer to the corresponding description of the method embodiment provided above. The following description of the apparatus embodiment is only schematic. of.
本申请第四实施例提供一种页面元素展示装置,包括:第一页面元素获得单元501,用于获得处于视觉障碍用户操作模式下的目标应用的第一页面元素;第一页面元素展示单元502,用于在处于视觉障碍用户操作模式下的目标应用的第一页面中展示所述第一页面元素;其中,所述第一页面元素是对处于非视觉障碍用户操作模式下的所述目标应用的第二页面元素的展示形式简化处理后生成的页面元素,所述第二页面元素是处于非 视觉障碍用户操作模式下的所述目标应用的第二页面中的页面元素,所述第一页面的页面元素与所述第二页面的页面元素相对应,所述第一页面元素的元素内容与所述第二页面元素的元素内容相对应。A fourth embodiment of the present application provides a device for displaying page elements, including: a first page element obtaining unit 501 for obtaining a first page element of a target application in an operation mode of a visually impaired user; a first page element displaying unit 502 , used to display the first page element in the first page of the target application in the operation mode of the visually impaired user; wherein, the first page element is for the target application in the operation mode of the non-visually impaired user The display form of the second page element is the page element generated after simplified processing, the second page element is the page element in the second page of the target application in the non-visually impaired user operation mode, the first page The page element of the first page element 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.
可选的,所述装置应用于用户端;所述装置还用于:向服务端发出用于请求获得所述第一页面的页面元素的请求消息;其中,所述获得处于视觉障碍用户操作模式下的目标应用的第一页面元素,包括:获得所述服务端提供的所述第一页面的页面元素;从所述第一页面的页面元素中获得所述第一页面元素。Optionally, the apparatus is applied to a user terminal; the apparatus is further configured to: send a request message to the server for requesting to obtain page elements of the first page; wherein, the obtaining is in an operation mode for visually impaired users The first page element of the target application below includes: obtaining the page element of the first page provided by the server; and obtaining the first page element from the page elements of the first page.
可选的,所述装置应用于用户端;所述装置还用于:向服务端发出用于请求获得所述第一页面的页面元素的请求消息;所述获得处于视觉障碍用户操作模式下的目标应用的第一页面元素,包括:获得所述服务端提供的所述第二页面的页面元素;从所述第二页面的页面元素中获得所述第二页面元素;对所述第二页面元素的展示形式进行简化处理,获得所述第一页面元素。Optionally, the apparatus is applied to the user terminal; the apparatus is further configured to: send a request message to the server for requesting to obtain the page element of the first page; the obtaining is in the operation mode of the visually impaired user. The first page element of the target application includes: obtaining the page element of the second page provided by the server; obtaining the second page element from the page elements of the second page; The display form of the element is simplified to obtain the first page element.
可选的,所述装置还用于:将所述第一页面元素提供给所述服务端。Optionally, the apparatus is further configured to: provide the first page element to the server.
可选的,所述第二页面元素为图像元素,所述第一页面元素为对所述第二页面元素的展示形式简化处理后生成的图像元素;或者,所述第二页面元素为视频元素,所述第一页面元素为对所述第二页面元素的展示形式简化处理后生成的视频元素;或者,所述第二页面元素为文本元素,所述第一页面元素为对所述第二页面元素的展示形式简化处理后生成的文本元素。Optionally, the second page element is an image element, and the first page element is an image element generated after simplifying the display form of the second page element; or, the second page element is a video element , 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 The presentation form of page elements simplifies the text elements generated after processing.
可选的,所述对处于非视觉障碍用户操作模式下的所述目标应用的第二页面元素的展示形式简化处理包括以下至少一种方式:从所述第二页面元素的元素内容中获得配送服务内容,过滤掉非配送服务内容,根据所述配送服务内容生成所述第一页面元素;从所述第二页面元素的元素内容中获得配送服务内容和非配送服务内容,保留所述配送服务内容的展示形式,对所述非配送服务内容的展示形式进行简化处理,根据展示形式无变化的配送服务内容和展示形式简化处理后的非配送服务内容生成所述第一页面元素;将所述第二页面元素的显示参数调整为能够使所述第二页面元素的显示效果简化的显示参数,根据调整后的显示参数生成所述第一页面元素;如果所述第二页面元素为图像元素或视频元素,则获得用于描述所述第二页面元素的描述文本,根据所述描述文本生成文本元素形式的第一页面元素。Optionally, the simplified processing of the display form of the second page element of the target application in the operation mode of the non-visually impaired user includes at least one of the following manners: obtaining distribution from element content of the second page element. Service content, filter out non-delivery service content, and generate the first page element according to the delivery service content; obtain delivery service content and non-delivery service content from the element content of the second page element, and retain the delivery service The display form of the content, performing simplified processing on the display form of the non-delivery service content, and generating the first page element according to the delivery service content with no change in the display form and the non-delivery service content after the simplified processing of the display form; The display parameters of the second page elements are adjusted to display parameters that can simplify the display effect of the second page elements, and the first page elements are generated according to the adjusted display parameters; if the second page elements are image elements or video element, obtain description text for describing the second page element, and generate a first page element in the form of a text element according to the description text.
可选的,所述配送服务内容包括以下至少一种内容:用于描述配送对象的信息;用 于描述提供配送对象的实体对象的信息;用于描述配送所述配送对象的配送资源的信息;用于描述配送服务优惠活动的信息。Optionally, the delivery service content includes at least one of the following content: information for describing a delivery object; information for describing an entity object that provides a delivery object; information for describing a delivery resource for delivering the delivery object; Information used to describe shipping service offers.
可选的,所述在处于视觉障碍用户操作模式下的目标应用的第一页面中展示所述第一页面元素,包括:判断使用所述目标应用的用户是否为视觉障碍用户,如果是,则在处于视觉障碍用户操作模式下的目标应用的第一页面中展示所述第一页面元素;或者,获得使用所述目标应用的用户发出的要求所述目标应用快速提供服务内容的指令,针对要求所述目标应用快速提供服务内容的指令,在处于视觉障碍用户操作模式下的目标应用的第一页面中展示所述第一页面元素;或者,获得使用所述目标应用的用户发出的要求所述目标应用开启节能模式的指令,针对要求所述目标应用开启节能模式的指令,在处于视觉障碍用户操作模式下的目标应用的第一页面中展示所述第一页面元素。Optionally, the displaying the first page element on the first page of the target application in the operation mode of the visually impaired user includes: judging whether the user using the target application is a visually impaired user, and if so, then: Display the first page element on the first page of the target application in the operation mode of the visually impaired user; or obtain an instruction issued by the user who uses the target application to request the target application to quickly provide service content, according to the requirement The target application quickly provides an instruction of service content, displaying the first page element in the first page of the target application in the operation mode of the visually impaired user; or, obtaining the request issued by the user who uses the target application. The instruction of the target application to enable the energy-saving mode, and for the instruction to require the target application to enable the energy-saving mode, the first page element is displayed on the first page of the target application in the operation mode of the visually impaired user.
可选的,所述判断使用所述目标应用的用户是否为视觉障碍用户,包括:获得运行所述目标应用的终端的位姿数据;根据所述终端的位姿数据和所述终端的屏幕与所述用户的面部之间的距离数据,或者,根据所述终端的位姿数据和所述终端的屏幕与所述用户的面部之间的角度数据,判断使用所述目标应用的用户是否为视觉障碍用户。Optionally, the judging whether the user using the target application is a visually impaired user includes: obtaining pose data of the terminal running the target application; The distance data between the faces of the user, or, according to the pose data of the terminal and the angle data between the screen of the terminal and the face of the user, determine whether the user who uses the target application is a visual handicapped users.
可选的,所述判断使用所述目标应用的用户是否为视觉障碍用户,包括:获得所述用户针对所述目标应用的历史行为数据,根据所述用户针对所述目标应用的历史行为数据,判断所述用户是否为视觉障碍用户;或者,在获得所述用户的授权后,获得所述用户针对除所述目标应用之外的其他应用的历史行为数据,根据所述用户针对所述其他应用的历史行为数据,判断所述用户是否为视觉障碍用户。Optionally, the judging whether the user who uses the target application is a visually impaired user includes: obtaining historical behavior data of the user for the target application, and according to the user's historical behavior data for the target application, Determine whether the user is a visually impaired user; or, after obtaining the authorization of the user, obtain the historical behavior data of the user for other applications except the target application, and according to the user for the other applications the historical behavior data, to determine whether the user is a visually impaired user.
第五实施例Fifth Embodiment
上述第二实施例提供了一种服务信息提供方法,与之相对应的,本申请第五实施例还提供了一种服务信息提供装置,如图6所示。由于装置实施例基本相似于方法实施例,所以描述得比较简单,相关的技术特征的细节部分请参见上述提供的方法实施例的对应说明即可,下述对装置实施例的描述仅仅是示意性的。The above-mentioned second embodiment provides a service information providing method. Correspondingly, the fifth embodiment of the present application further provides a service information providing apparatus, as shown in FIG. 6 . Since the apparatus embodiment is basically similar to the method embodiment, the description is relatively simple. For the details of the relevant technical features, please refer to the corresponding description of the method embodiment provided above. The following description of the apparatus embodiment is only schematic. of.
本申请第五实施例提供一种服务信息提供装置,包括:提示信息播放单元601,用于响应于检测到针对处于视觉障碍用户操作模式下的目标应用中的页面焦点元素的触发操作,播放针对所述页面焦点元素的提示信息,所述提示信息包括通过对运行所述目标应用的终端执行目标操作可获得的所述页面焦点元素对应的服务信息的提示信息;服务信息提供单元602,用于响应于检测到针对所述终端执行的目标操作,向使用所述目 标应用的视觉障碍用户提供所述服务信息。A fifth embodiment of the present application provides an apparatus for providing service information, including: a prompt information playing unit 601, configured to play a target application in response to detecting a trigger operation on a page focus element in a target application in an operation mode of a visually impaired user. The prompt information of the page focus element, the prompt information includes the prompt information of the service information corresponding to the page focus element that can be obtained by performing a target operation on the terminal running the target application; the service information providing unit 602 is used for In response to detecting a target operation performed on the terminal, the service information is provided to a visually impaired user using the target application.
可选的,所述装置应用于所述终端;所述装置还用于:向服务端发出用于请求获得处于视觉障碍用户操作模式下的目标应用中的页面元素的请求消息;获得所述服务端返回的处于视觉障碍用户操作模式下的目标应用中的多个页面元素和针对所述多个页面元素中的每个页面元素的提示信息,所述多个页面元素包括所述页面焦点元素,所述多个页面元素中的每个页面元素的提示信息包括针对所述页面焦点元素的提示信息。Optionally, the apparatus is applied to the terminal; the apparatus is further configured to: send a request message to a server for requesting to obtain a page element in a target application in an operation mode of a visually impaired user; obtain the service Multiple page elements in the target application in the visually impaired user operation mode returned by the terminal and prompt information for each of the multiple page elements, where the multiple page elements include the page focus element, The prompt information of each page element in the plurality of page elements includes prompt information for the page focus element.
可选的,所述针对所述终端执行的目标操作包括以下任意一种操作:对所述终端的屏幕中的任意一个区域的触发操作;对所述终端除屏幕之外的任意一个区域的触发操作;对所述终端的摇动操作;对所述终端的语音控制操作。Optionally, the target operation performed on the terminal includes any one of the following operations: a triggering operation on any area on the screen of the terminal; triggering on any area of the terminal except the screen operation; shaking operation of the terminal; voice control operation of the terminal.
可选的,所述服务信息包括以下至少一种信息:用于描述配送对象的信息;用于描述提供配送对象的实体对象的信息;用于描述配送所述配送对象的配送资源的信息;用于描述配送服务优惠活动的信息。Optionally, the service information includes at least one of the following information: information used to describe the distribution object; information used to describe the entity object that provides the distribution object; information used to describe the distribution resources that distribute the distribution object; For information describing shipping service offers.
可选的,所述向使用所述目标应用的视觉障碍用户提供所述服务信息,包括以下至少一种方式:向使用所述目标应用的视觉障碍用户播放所述服务信息;如果所述服务信息包括用于描述配送服务优惠活动的信息,则将所述配送服务优惠活动对应的优惠资源配置在所述视觉障碍用户在所述目标应用中的账号中,播放用于提示已将所述配送服务优惠活动对应的优惠资源配置在所述视觉障碍用户在所述目标应用中的账号中的提示信息;如果所述页面焦点元素为用于协助所述视觉障碍用户提交配送订单请求的元素,则为所述视觉障碍用户生成配送订单,播放用于提示已为所述视觉障碍用户生成配送订单的提示信息。Optionally, the providing the service information to the visually impaired user using the target application includes at least one of the following manners: playing the service information to the visually impaired user using the target application; if the service information If the information used to describe the distribution service preferential activities is included, the preferential resources corresponding to the distribution service preferential activities are configured in the account of the visually impaired user in the target application, and play is used to prompt that the distribution service has been The prompt information that the preferential resource corresponding to the preferential activity is 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 to submit a delivery order request, it is The visually impaired user generates a delivery order, and plays a prompt message for prompting that a delivery order has been generated for the visually impaired user.
第六实施例Sixth Embodiment
上述第三实施例提供了一种服务信息提供方法,与之相对应的,本申请第六实施例还提供了一种服务信息提供装置,如图7所示。由于装置实施例基本相似于方法实施例,所以描述得比较简单,相关的技术特征的细节部分请参见上述提供的方法实施例的对应说明即可,下述对装置实施例的描述仅仅是示意性的。The above-mentioned third embodiment provides a service information providing method. Correspondingly, the sixth embodiment of the present application further provides a service information providing apparatus, as shown in FIG. 7 . Since the apparatus embodiment is basically similar to the method embodiment, the description is relatively simple. For the details of the relevant technical features, please refer to the corresponding description of the method embodiment provided above. The following description of the apparatus embodiment is only schematic. of.
本申请第六实施例提供一种服务信息提供装置,包括:提示信息播放单元701,用于播放针对目标优惠活动的提示信息,所述目标优惠活动是处于视觉障碍用户操作模式下的目标应用提供的优惠活动,所述提示信息包括通过对运行所述目标应用的终端执行目标操作可获得的所述目标优惠活动对应的优惠资源的提示信息;优惠资源提供单元 702,用于响应于检测到针对所述终端执行的目标操作,向使用所述目标应用的视觉障碍用户提供所述优惠资源。A sixth embodiment of the present application provides an apparatus for providing service information, including a prompt information playing unit 701 configured to play prompt information for a target preferential activity, where the target preferential activity is provided by a target application in an operation mode of a visually impaired user the preferential activity, the prompt information includes prompt information of the preferential resource corresponding to the target preferential activity that can be obtained by performing the target operation on the terminal running the target application; the preferential resource providing unit 702 is configured to respond to the detection of the target preferential activity. The target operation performed by the terminal provides the preferential resource to visually impaired users who use the target application.
可选的,所述装置应用于所述终端;所述装置还用于:获得服务端提供的针对目标优惠活动的提示信息。Optionally, the apparatus is applied to the terminal; the apparatus is further configured to: obtain prompt information for the target preferential activity provided by the server.
可选的,所述播放针对目标优惠活动的提示信息,包括:响应于检测到针对处于视觉障碍用户操作模式下的目标应用的目标页面中的目标优惠活动元素的触发操作,播放针对目标优惠活动的提示信息;或者,响应于检测到针对处于视觉障碍用户操作模式下的目标应用的包括所述目标优惠活动元素的目标页面的开启操作,播放针对目标优惠活动的提示信息。Optionally, the playing the prompt information for the target preferential activity includes: in response to detecting a trigger operation for the target preferential activity element in the target page of the target application under the operation mode of the visually impaired user, playing the target preferential activity. or, in response to detecting the opening operation of the target page including the target preferential activity element of the target application in the operation mode of the visually impaired user, play the prompt information for the target preferential activity.
可选的,所述针对所述终端执行的目标操作包括以下任意一种操作:对所述终端的屏幕中的任意一个区域的触发操作;对所述终端除屏幕之外的任意一个区域的触发操作;对所述终端的摇动操作;对所述终端的语音控制操作。Optionally, the target operation performed on the terminal includes any one of the following operations: a triggering operation on any area on the screen of the terminal; triggering on any area of the terminal except the screen operation; shaking operation of the terminal; voice control operation of the terminal.
可选的,所述向使用所述目标应用的视觉障碍用户提供所述优惠资源,包括:将所述目标优惠活动对应的优惠资源配置在所述视觉障碍用户在所述目标应用中的账号中,播放用于提示已将所述目标优惠活动对应的优惠资源配置在所述视觉障碍用户在所述目标应用中的账号中的提示信息。Optionally, the providing the preferential resource to the visually impaired user using the target application includes: configuring the preferential resource corresponding to the target preferential activity in the account of the visually impaired user in the target application. , and play a prompt message for prompting that the preferential resource corresponding to the target preferential activity has been configured in the account of the visually impaired user in the target application.
第七实施例Seventh Embodiment
与本申请提供的上述方法实施例相对应的,本申请第七实施例还提供了一种电子设备。由于第七实施例基本相似于本申请提供的上述方法实施例,所以描述得比较简单,相关之处参见本申请提供的上述方法实施例的部分说明即可。下述描述的第七实施例仅仅是示意性的。Corresponding to the above method embodiments provided in 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-mentioned method embodiment provided in this application, the description is relatively simple, and for relevant details, please refer to the partial description of the above-mentioned method embodiment provided in this application. The seventh embodiment described below is merely illustrative.
图8为本申请实施例中提供的一种电子设备的示意图。FIG. 8 is a schematic diagram of an electronic device provided in an embodiment of the present application.
该电子设备包括:处理器801;以及存储器802,用于存储计算机程序,该设备通电并通过所述处理器运行该计算机程序后,执行任意一项所述方法。The electronic device includes: a processor 801; and a memory 802 for storing a computer program. After the device is powered on and runs the computer program through the processor, any one of the methods is executed.
需要说明的是,本申请第七实施例提供的电子设备的详细描述,可以参考对本申请提供的上述方法实施例的相关描述,这里不再赘述。It should be noted that, for the detailed description of the electronic device provided by the seventh embodiment of the present application, reference may be made to the relevant description of the foregoing method embodiments provided by the present application, and details are not repeated here.
第八实施例Eighth Embodiment
与本申请提供的上述方法实施例相对应的,本申请第八实施例还提供了一种存储 介质。由于第八实施例基本相似于本申请提供的上述方法实施例,所以描述得比较简单,相关之处参见本申请提供的上述方法实施例的部分说明即可。下述描述的第八实施例仅仅是示意性的。Corresponding to the foregoing method embodiments provided in this application, an eighth embodiment of this application further provides a storage medium. Since the eighth embodiment is basically similar to the foregoing method embodiment provided in this application, the description is relatively simple, and for related details, please refer to the partial description of the foregoing method embodiment provided in this application. The eighth embodiment described below is merely illustrative.
该存储介质存储有计算机程序,该计算机程序被处理器运行,执行本申请上述实施例中提供的方法。The storage medium stores a computer program, and the computer program is executed by the processor to execute the methods provided in the foregoing embodiments of the present application.
需要说明的是,本申请第八实施例提供的存储介质的详细描述,可以参考对本申请提供的上述方法实施例的相关描述,这里不再赘述。It should be noted that, for the detailed description of the storage medium provided by the eighth embodiment of the present application, reference may be made to the relevant description of the foregoing method embodiments provided by the present application, and details are not repeated here.
本申请虽然以较佳实施例公开如上,但其并不是用来限定本申请,任何本领域技术人员在不脱离本申请的精神和范围内,都可以做出可能的变动和修改,因此本申请的保护范围应当以本申请权利要求所界定的范围为准。Although the present application is disclosed above with preferred embodiments, it is not intended to limit the present application. Any person skilled in the art can make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the present application The scope of protection shall be subject to the scope defined by the claims of this application.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include forms of non-persistent memory, random access memory (RAM) and/or non-volatile memory in computer readable media, such as read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, 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 Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium 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 computer-readable media (transitory media), such as modulated data signals and carrier waves.
本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。It will be appreciated by those skilled in the art that the embodiments of the present application may be provided as a method, a system or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

Claims (18)

  1. 一种页面元素展示方法,包括:A method for displaying page elements, including:
    获得处于视觉障碍用户操作模式下的目标应用的第一页面元素;Obtain the first page element of the target application in the operation mode of the visually impaired user;
    在处于视觉障碍用户操作模式下的所述目标应用的第一页面中展示所述第一页面元素;displaying the first page element in the first page of the target application in a visually impaired user operation mode;
    其中,所述第一页面元素是对处于非视觉障碍用户操作模式下的所述目标应用的第二页面元素的展示形式简化处理后生成的页面元素,所述第二页面元素是处于非视觉障碍用户操作模式下的所述目标应用的第二页面中的页面元素,所述第一页面的页面元素与所述第二页面的页面元素相对应,所述第一页面元素的元素内容与所述第二页面元素的元素内容相对应。Wherein, the first page element is a page element generated by simplifying the display form of the second page element of the target application in the non-visually impaired user operation mode, and the second page element is a non-visually impaired user The page element in the second page of the target application in the 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 is the same as the page element of the second page. The element content of the second page element corresponds.
  2. 根据权利要求1所述的方法,所述方法应用于用户端,所述方法还包括:向服务端发出用于请求获得所述第一页面的页面元素的请求消息,The method according to claim 1, wherein the method is applied to a client, and the method further comprises: sending a request message to a server for requesting to obtain page elements of the first page,
    其中,所述获得处于视觉障碍用户操作模式下的目标应用的第一页面元素,包括:Wherein, the obtaining the first page element of the target application in the operation mode of the visually impaired user includes:
    获得所述服务端提供的所述第一页面的页面元素;obtaining the page element of the first page provided by the server;
    从所述第一页面的页面元素中获得所述第一页面元素。The first page element is obtained from page elements of the first page.
  3. 根据权利要求1所述的方法,所述方法应用于用户端,所述方法还包括:向服务端发出用于请求获得所述第一页面的页面元素的请求消息,The method according to claim 1, wherein the method is applied to a client, and the method further comprises: sending a request message to a server for requesting to obtain page elements of the first page,
    其中,所述获得处于视觉障碍用户操作模式下的目标应用的第一页面元素,包括:Wherein, the obtaining the first page element of the target application in the operation mode of the visually impaired user includes:
    获得所述服务端提供的所述第二页面的页面元素;obtaining the page element of the second page provided by the server;
    从所述第二页面的页面元素中获得所述第二页面元素;obtaining the second page element from the page element of the second page;
    对所述第二页面元素的展示形式进行简化处理,获得所述第一页面元素。The display form of the second page element is simplified to obtain the first page element.
  4. 根据权利要求1所述的方法,所述第二页面元素为图像元素,所述第一页面元素为对所述第二页面元素的展示形式简化处理后生成的图像元素;The method according to claim 1, wherein 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;
    或者,所述第二页面元素为视频元素,所述第一页面元素为对所述第二页面元素的展示形式简化处理后生成的视频元素;Alternatively, 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;
    或者,所述第二页面元素为文本元素,所述第一页面元素为对所述第二页面元素的展示形式简化处理后生成的文本元素。Alternatively, 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.
  5. 根据权利要求1所述的方法,所述对处于非视觉障碍用户操作模式下的所述目标应用的第二页面元素的展示形式简化处理包括以下至少一种方式:The method according to claim 1, wherein the simplified processing of the display form of the second page element of the target application in the operation mode of the non-visually impaired user comprises at least one of the following ways:
    从所述第二页面元素的元素内容中获得配送服务内容,过滤掉非配送服务内容,根据所述配送服务内容生成所述第一页面元素;Obtain delivery service content from the element content of the second page element, filter out non-delivery service content, and generate the first page element according to the delivery service content;
    从所述第二页面元素的元素内容中获得配送服务内容和非配送服务内容,保留所述配送服务内容的展示形式,对所述非配送服务内容的展示形式进行简化处理,根据展示形式无变化的配送服务内容和展示形式简化处理后的非配送服务内容生成所述第一页面元素;Obtain delivery service content and non-delivery service content from the element content of the second page element, retain the display form of the delivery service content, and simplify the display form of the non-delivery service content, with no change according to the display form The first page element is generated from the non-delivery service content after simplified processing of the delivery service content and display form;
    将所述第二页面元素的显示参数调整为能够使所述第二页面元素的显示效果简化的显示参数,根据调整后的显示参数生成所述第一页面元素;adjusting the display parameter of the second page element to a display parameter that can simplify the display effect of the second page element, and generating the first page element according to the adjusted display parameter;
    如果所述第二页面元素为图像元素或视频元素,则获得用于描述所述第二页面元素的描述文本,根据所述描述文本生成文本元素形式的第一页面元素。If the second page element is an image element or a video element, a description text for describing the second page element is obtained, and a first page element in the form of a text element is generated according to the description text.
  6. 根据权利要求5所述的方法,所述配送服务内容包括以下至少一种内容:The method according to claim 5, the distribution service content includes at least one of the following content:
    用于描述配送对象的信息;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 that deliver the delivery object;
    用于描述配送服务优惠活动的信息。Information used to describe shipping service offers.
  7. 根据权利要求1所述的方法,所述在处于视觉障碍用户操作模式下的目标应用的第一页面中展示所述第一页面元素,包括:The method according to claim 1, wherein the displaying the first page element in the first page of the target application in the operation mode of the visually impaired user comprises:
    判断使用所述目标应用的用户是否为视觉障碍用户,如果是,则在处于视觉障碍用户操作模式下的所述目标应用的所述第一页面中展示所述第一页面元素;Determine whether the user using the target application is a visually impaired user, and if so, display the first page element on the first page of the target application in the visually impaired user operation mode;
    或者,获得使用所述目标应用的所述用户发出的要求所述目标应用快速提供服务内容的指令,针对要求所述目标应用快速提供服务内容的所述指令,在处于视觉障碍用户操作模式下的所述目标应用的所述第一页面中展示所述第一页面元素;Or, obtain an instruction that requires the target application to quickly provide service content from the user who uses the target application, and for the instruction that requires the target application to quickly provide service content, in the visually impaired user operation mode displaying the first page element in the first page of the target application;
    或者,获得使用所述目标应用的所述用户发出的要求所述目标应用开启节能模式的指令,针对要求所述目标应用开启节能模式的所述指令,在处于视觉障碍用户操作模式下的所述目标应用的所述第一页面中展示所述第一页面元素。Or, obtain an instruction requesting the target application to turn on the energy-saving mode issued by the user who uses the target application, and for the instruction requesting the target application to turn on the energy-saving mode, in the visually impaired user operation mode, the The first page element is displayed in the first page of the target application.
  8. 根据权利要求7所述的方法,所述判断使用所述目标应用的用户是否为视觉障碍用户,包括:The method according to claim 7, wherein the judging whether the user who uses the target application is a visually impaired user comprises:
    获得运行所述目标应用的终端的位姿数据;obtaining the pose data of the terminal running the target application;
    根据所述终端的所述位姿数据和所述终端的屏幕与所述用户的面部之间的距离数据,或者,根据所述终端的所述位姿数据和所述终端的所述屏幕与所述用户的所述面部之间的角度数据,判断使用所述目标应用的所述用户是否为所述视觉障碍用户。According to the pose data of the terminal and the distance data between the screen of the terminal and the face of the user, or, according to the pose data of the terminal and the screen of the terminal and the face of the user According to the angle data between the faces of the user, it is determined whether the user using the target application is the visually impaired user.
  9. 根据权利要求7所述的方法,所述判断使用所述目标应用的用户是否为视觉障碍用户,包括:The method according to claim 7, wherein the judging whether the user who uses the target application is a visually impaired user comprises:
    获得所述用户针对所述目标应用的历史行为数据,根据所述用户针对所述目标应用的所述历史行为数据,判断所述用户是否为所述视觉障碍用户;Obtain the historical behavior data of the user for the target application, and determine whether the user is the visually impaired user according to the historical behavior data of the user for the target application;
    或者,在获得所述用户的授权后,获得所述用户针对除所述目标应用之外的其他应用的历史行为数据,根据所述用户针对所述其他应用的所述历史行为数据,判断所述用户是否为所述视觉障碍用户。Or, after obtaining the authorization of the user, obtain historical behavior data of the user for other applications except the target application, and determine the user according to the historical behavior data of the user for the other applications. Whether the user is the visually impaired user.
  10. 一种服务信息提供方法,包括:A service information providing method, comprising:
    响应于检测到针对处于视觉障碍用户操作模式下的目标应用中的页面焦点元素的触发操作,播放针对所述页面焦点元素的提示信息,所述提示信息包括通过对运行所述目标应用的终端执行目标操作可获得的所述页面焦点元素对应的服务信息的提示信息;In response to detecting a triggering operation for the page focus element in the target application in the visually impaired user operation mode, playing prompt information for the page focus element, the prompt information including executing the operation on the terminal running the target application The prompt information of the service information corresponding to the page focus element that can be obtained by the target operation;
    响应于检测到针对所述终端执行的所述目标操作,向使用所述目标应用的视觉障碍用户提供所述服务信息。In response to detecting the target operation performed on the terminal, the service information is provided to a visually impaired user using the target application.
  11. 根据权利要求10所述的方法,所述方法应用于所述终端,所述方法还包括:The method according to claim 10, applied to the terminal, the method further comprising:
    向服务端发出用于请求获得处于视觉障碍用户操作模式下的所述目标应用中的所述页面元素的请求消息;Sending a request message to the server for requesting to obtain the page element 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 returned by the server and prompt information for each page element in the multiple page elements, where the multiple page elements include For the page focus element, the prompt information of each page element in the plurality of page elements includes prompt information for the page focus element.
  12. 根据权利要求10所述的方法,所述向使用所述目标应用的视觉障碍用户提供所述服务信息,包括以下至少一种方式:The method according to claim 10, wherein providing the service information to visually impaired users using the target application includes at least one of the following ways:
    向使用所述目标应用的视觉障碍用户播放所述服务信息;Playing the service information to visually impaired users using the target application;
    如果所述服务信息包括用于描述配送服务优惠活动的信息,则将所述配送服务优惠活动对应的优惠资源配置在所述视觉障碍用户在所述目标应用中的账号中,播放用于提示已将所述配送服务优惠活动对应的优惠资源配置在所述视觉障碍用户在所述目标应用中的账号中的提示信息;If the service information includes information used to describe the preferential activity of the delivery service, configure the preferential resource corresponding to the preferential activity of the delivery service in the account of the visually impaired user in the target application, and play a message for prompting that the user has Configuring the preferential resources corresponding to the distribution service preferential activities in the prompt information 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 to submit a delivery order request, generate a delivery order for the visually impaired user, and play a prompt message for prompting that a delivery order has been generated for the visually impaired user .
  13. 一种服务信息提供方法,包括:A service information providing method, comprising:
    播放针对目标优惠活动的提示信息,所述目标优惠活动是处于视觉障碍用户操作模式下的目标应用提供的优惠活动,所述提示信息包括通过对运行所述目标应用的终端执 行目标操作可获得的所述目标优惠活动对应的优惠资源的提示信息;Play the prompt information for the target preferential activity, the target preferential activity is the preferential activity provided by the target application in the operation mode of the visually impaired user, and the prompt information includes the information obtained by performing the target operation on the terminal running the target application. The prompt information of the preferential resource corresponding to the target preferential activity;
    响应于检测到针对所述终端执行的目标操作,向使用所述目标应用的视觉障碍用户提供所述优惠资源。In response to detecting a target operation performed on the terminal, the preferential resource is provided to a visually impaired user using the target application.
  14. 根据权利要求13所述的方法,所述方法应用于所述终端,所述方法还包括:The method of claim 13, applied to the terminal, the method further comprising:
    获得服务端提供的针对所述目标优惠活动的提示信息。Obtain prompt information for the target preferential activity provided by the server.
  15. 根据权利要求13所述的方法,所述播放针对目标优惠活动的提示信息,包括:The method according to claim 13, wherein the playing prompt information for the target preferential activity comprises:
    响应于检测到针对处于视觉障碍用户操作模式下的所述目标应用的目标页面中的目标优惠活动元素的触发操作,播放针对所述目标优惠活动的提示信息;In response to detecting a triggering operation for the target preferential activity element in the target page of the target application under the operation mode of the visually impaired user, playing prompt information for the target preferential activity;
    或者,响应于检测到针对处于视觉障碍用户操作模式下的所述目标应用的包括所述目标优惠活动元素的目标页面的开启操作,播放针对所述目标优惠活动的提示信息。Alternatively, in response to detecting an opening operation for the target page of the target application in the operation mode of the visually impaired user, which includes the target preferential activity element, prompt information for the target preferential activity is played.
  16. 根据权利要求13所述的方法,所述针对所述终端执行的目标操作包括以下任意一种操作:The method according to claim 13, wherein the target operation performed on the terminal comprises any one of the following operations:
    对所述终端的屏幕中的任意一个区域的触发操作;Trigger operation on any area in the screen of the terminal;
    对所述终端除屏幕之外的任意一个区域的触发操作;Trigger operation on any area of the terminal except the screen;
    对所述终端的摇动操作;a shaking operation on the terminal;
    对所述终端的语音控制操作。Voice control operations on the terminal.
  17. 一种电子设备,包括:An electronic device comprising:
    处理器;以及processor; and
    非暂时性存储器,用于存储计算机程序,所述电子设备通电并通过所述处理器运行所述计算机程序后,执行权利要求1至16中任一项所述的方法。A non-transitory memory for storing a computer program, after the electronic device is powered on and the computer program is executed by the processor, the method of any one of claims 1 to 16 is executed.
  18. 一种非暂时性存储介质,存储有计算机程序,所述计算机程序被处理器运行,执行权利要求1至16中任一项所述的方法。A non-transitory storage medium storing a computer program, the computer program being executed by a processor to perform the method of any one of claims 1 to 16.
PCT/CN2022/086651 2021-04-14 2022-04-13 Page element display method, service information providing method, device and storage medium WO2022218351A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110402907.0A CN112988309B (en) 2021-04-14 2021-04-14 Page element display method and device, electronic equipment and storage medium
CN202110402907.0 2021-04-14

Publications (1)

Publication Number Publication Date
WO2022218351A1 true WO2022218351A1 (en) 2022-10-20

Family

ID=76339797

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/086651 WO2022218351A1 (en) 2021-04-14 2022-04-13 Page element display method, service information providing method, device and storage medium

Country Status (2)

Country Link
CN (2) CN112988309B (en)
WO (1) WO2022218351A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988309B (en) * 2021-04-14 2022-03-11 浙江口碑网络技术有限公司 Page element display method and device, electronic equipment and storage medium
CN113706142A (en) * 2021-09-01 2021-11-26 拉扎斯网络科技(上海)有限公司 Information operation method, device, equipment, storage medium and program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7653878B1 (en) * 2002-01-11 2010-01-26 Oracle International Corporation Visually organizing and highlighting a list of items to show how they satisfy multiple criteria selected by a user
CN111767019A (en) * 2019-11-28 2020-10-13 北京沃东天骏信息技术有限公司 Page processing method and device
CN111984891A (en) * 2020-08-07 2020-11-24 游艺星际(北京)科技有限公司 Page display method and device, electronic equipment and storage medium
CN112988309A (en) * 2021-04-14 2021-06-18 浙江口碑网络技术有限公司 Page element display method and device, electronic equipment and storage medium

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070229233A1 (en) * 2004-08-02 2007-10-04 Dort David B Reconfigurable tactile-enhanced display including "tap-and-drop" computing system for vision impaired users
US9405847B2 (en) * 2008-06-06 2016-08-02 Apple Inc. Contextual grouping of a page
CN102117317B (en) * 2010-12-28 2012-08-22 北京航空航天大学 Blind person Internet system based on voice technology
US9377922B2 (en) * 2012-12-26 2016-06-28 Verizon Patent And Licensing Inc. Aiding people with impairments
CN104461346B (en) * 2014-10-20 2017-10-31 天闻数媒科技(北京)有限公司 A kind of method of visually impaired people's Touch Screen, device and intelligent touch screen mobile terminal
CN106406867B (en) * 2016-09-05 2020-02-14 深圳市联谛信息无障碍有限责任公司 Screen reading method and device based on android system
CN108460035B (en) * 2017-02-17 2021-12-24 阿里巴巴集团控股有限公司 Method and device for obtaining barrier-free function state and processing page
CN108805641A (en) * 2017-04-27 2018-11-13 阿里巴巴集团控股有限公司 The method and device of data object information is provided
CN109992177A (en) * 2017-12-29 2019-07-09 北京京东尚科信息技术有限公司 User interaction approach, system, electronic equipment and the computer media of electronic equipment
CN108874356B (en) * 2018-05-31 2020-10-23 珠海格力电器股份有限公司 Voice broadcasting method and device, mobile terminal and storage medium
CN111104608A (en) * 2018-10-25 2020-05-05 华为技术有限公司 Webpage data processing method and related device
CN111324275B (en) * 2018-12-17 2022-02-22 腾讯科技(深圳)有限公司 Broadcasting method and device for elements in display picture
CN111352623B (en) * 2018-12-20 2023-05-26 阿里巴巴集团控股有限公司 Page generation method and device
CN111428166A (en) * 2020-02-28 2020-07-17 深圳壹账通智能科技有限公司 Page configuration method, page element replacement method, device, equipment and medium
CN111475244A (en) * 2020-04-07 2020-07-31 深圳前海微众银行股份有限公司 Page generation method, device, equipment and computer readable storage medium
CN111580815B (en) * 2020-05-08 2023-07-28 上海泛微网络科技股份有限公司 Page element editing method and related equipment
CN111737620A (en) * 2020-05-29 2020-10-02 北京沃东天骏信息技术有限公司 Page access method, device, equipment and medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7653878B1 (en) * 2002-01-11 2010-01-26 Oracle International Corporation Visually organizing and highlighting a list of items to show how they satisfy multiple criteria selected by a user
CN111767019A (en) * 2019-11-28 2020-10-13 北京沃东天骏信息技术有限公司 Page processing method and device
CN111984891A (en) * 2020-08-07 2020-11-24 游艺星际(北京)科技有限公司 Page display method and device, electronic equipment and storage medium
CN112988309A (en) * 2021-04-14 2021-06-18 浙江口碑网络技术有限公司 Page element display method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112988309B (en) 2022-03-11
CN114816618B (en) 2024-09-17
CN114816618A (en) 2022-07-29
CN112988309A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
WO2022218351A1 (en) Page element display method, service information providing method, device and storage medium
US10581770B2 (en) Method and system for communication in instant messaging application
US10754668B2 (en) Media file presentation method, client application, and plug-in
US8917978B2 (en) System and methods for automatic time-warped playback in rendering a recorded computer session
WO2018028533A1 (en) Media information publishing method, terminal, server, system and storage medium
TWI683251B (en) Interface display method and device
US20160323654A1 (en) Rendering advertisements in a client device for uninterrupted media content
CN104995596A (en) Managing audio at the tab level for user notification and control
TW201606663A (en) Share timeline of calendar
WO2020211501A1 (en) Data sharing method and device, and computer readable medium
US8854390B2 (en) Information processing apparatus, information processing method, computer program, and information processing system
WO2022001027A1 (en) Projection screen picture self-adaption method and apparatus in network teaching
JP6851972B2 (en) Information processing methods, programs and terminals
US20060159080A1 (en) Methods and systems for generating playback instructions for rendering of a recorded computer session
KR20070094783A (en) Methods and systems for capture, replay and real-time seeking in remote presentation protocols
CN112231617A (en) Service call checking method and device, storage medium and electronic equipment
TWI686725B (en) Method and device for displaying sensitive information
JP2018109837A (en) Information control apparatus and program
CN113467659B (en) Icon display method and device and storage medium
WO2022142568A1 (en) Method and device for content displaying
CN110162350B (en) Notification bar information display method, notification bar information display device, server and storage medium
US10645191B1 (en) User controlled composition of content
US10796345B1 (en) Offline video advertising
CN115719053A (en) Method and equipment for presenting reader labeling information
CN109388313B (en) Method and device for sending feedback mails

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22787573

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22787573

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 22787573

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22.03.2024)