WO2018153180A1 - 数据显示方法及装置、存储介质和终端 - Google Patents

数据显示方法及装置、存储介质和终端 Download PDF

Info

Publication number
WO2018153180A1
WO2018153180A1 PCT/CN2018/072865 CN2018072865W WO2018153180A1 WO 2018153180 A1 WO2018153180 A1 WO 2018153180A1 CN 2018072865 W CN2018072865 W CN 2018072865W WO 2018153180 A1 WO2018153180 A1 WO 2018153180A1
Authority
WO
WIPO (PCT)
Prior art keywords
layer
display
target data
target
data
Prior art date
Application number
PCT/CN2018/072865
Other languages
English (en)
French (fr)
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 WO2018153180A1 publication Critical patent/WO2018153180A1/zh
Priority to US16/363,796 priority Critical patent/US10845972B2/en

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B19/00Teaching not covered by other main groups of this subclass
    • G09B19/06Foreign languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas

Definitions

  • the present application relates to the field of computers, and in particular, to a data display method and apparatus, a storage medium, and a terminal.
  • a switching button is set in the user interface, and a click operation is performed on the switching button to realize a switching control of direct display or hidden display of the predetermined information, thereby achieving the purpose of memorizing the predetermined information by repeatedly switching the display manner.
  • FIG. 1 after clicking the button displayed in the lower right corner of the user interface, the “direct display” or “hidden display” switching control of the interpretation information converted by the translation tool is implemented.
  • the converted interpretation information can only be displayed all at once in the user interface, and the displayed content cannot be flexibly adjusted.
  • the embodiment of the present application provides a data display method and apparatus, a storage medium, and a terminal, so as to at least solve the technical problem of low display flexibility caused by using a related data display manner.
  • a data display method includes: acquiring a data display request; displaying the requested entry in a display interface in response to the data display request, wherein the entry includes the first target Data and second target data, the first target data and the second target data have a predetermined association relationship, the second target data is hiddenly displayed in the display interface; and the target area is determined according to a predetermined operation performed on the layer The layer is matched with the second target data; and the second target data in the target area is displayed.
  • a data display apparatus including: a first obtaining unit configured to acquire a data display request; and a first display unit configured to display in the display interface in response to the data display request The requested entry, wherein the entry includes the first target data and the second target data, the first target data and the second target data have a predetermined association relationship, and the second target data is in the display interface a hidden display; a determining unit configured to determine a target area according to a predetermined operation performed on the layer, wherein the layer is matched with the second target data; and the second display unit is configured to display the foregoing in the target area Second target data.
  • a storage medium having stored therein a computer program, wherein the computer program is configured to execute the above method at runtime.
  • a data display terminal includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the above by using a computer program Methods.
  • the requested entry in response to the data display request, is displayed in the display interface, wherein the entry includes the first target data and the second target data, and between the first target data and the second target data. Having a predetermined association relationship, the second target data is hiddenly displayed in the display interface, and then performing a predetermined operation on the layer matching the second target data, determining the target area according to the predetermined operation to display the second in the target area Target data.
  • FIG. 1 is a schematic diagram of a data display method according to the related art
  • FIG. 2 is a schematic diagram of another data display method according to the related art
  • FIG. 3 is a schematic diagram of an application environment of an optional data display method according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of an alternative data display method according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of another alternative data display method according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of still another alternative data display method according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of still another alternative data display method according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of still another alternative data display method according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram of still another alternative data display method according to an embodiment of the present application.
  • FIG. 11 is a schematic diagram of still another alternative data display method according to an embodiment of the present application.
  • FIG. 12 is a schematic diagram of still another alternative data display method according to an embodiment of the present application.
  • FIG. 13 is a schematic diagram of still another alternative data display method according to an embodiment of the present application.
  • FIG. 14 is a schematic diagram of an alternative data display device in accordance with an embodiment of the present application.
  • FIG. 15 is a schematic diagram of an optional data display terminal according to an embodiment of the present application.
  • an embodiment of a data display method is provided.
  • the data display method may be applied to, but not limited to, an application scenario as shown in FIG.
  • the scenario is a data interaction system composed of a mobile terminal and a network server.
  • the terminal 302 acquires a data display request for requesting display data, and obtains the above-mentioned entry from the server 306 through the network 304 in response to the data display request, and displays the entry on the client.
  • the above-mentioned entry is displayed, wherein the requested entry includes first target data and second target data, the first target data and the second target data have a predetermined association relationship, and the second target data is in the display interface.
  • the display is hidden, and the target area is determined according to a predetermined operation performed on the layer, wherein the layer matches the second target data, and the second target data in the target area is displayed.
  • the data display method may be, but is not limited to, being applied to the following scenario (not shown in the figure), and the foregoing entry is cached in the client, that is, after the data display request is obtained,
  • the above-mentioned entries can be obtained directly from the client's cache without requesting the server through the network, so as to reduce the waiting time and simplify the interaction.
  • the entry in response to the obtained data display request, the entry is displayed in the display interface of the client, wherein the entry includes the first target data and the second target data, and the first target data and the second target data Having a predetermined association relationship, the second target data is hiddenly displayed in the display interface, and then performing a predetermined operation on the layer matching the second target data, determining the target area according to the predetermined operation to display the number in the target area Two target data.
  • the foregoing terminal may include, but is not limited to, at least one of the following: a mobile phone, a tablet computer, a notebook computer, a desktop PC, a smart TV, and other hardware devices installed with a data conversion client.
  • the above network may include, but is not limited to, at least one of the following: a wide area network, a metropolitan area network, and a local area network. The above is only an example, and the embodiment does not limit this.
  • a data display method As shown in FIG. 4, the method includes:
  • the response data display request display interface displays the requested entry, wherein the entry includes the first target data and the second target data, the first target data and the second target data have a predetermined association relationship, and the second The target data is hidden and displayed in the display interface;
  • the foregoing data display method may be, but is not limited to, being applied to a data conversion application client, for example, an application client for performing language translation, and it should be noted that, at the same time, other An application client for implementing data conversion, wherein the items displayed in the application client include first target data and second target data having a predetermined association relationship, such as ancient poetry and modern text, words and idioms, and proverbs, etc. Data corresponding to other correspondences such as correspondence analysis, child class diagram and name, and fun games.
  • the relationship between the first target data and the second target data may be set according to the actual experience or the user's needs. For example, it may be a translation, an explanation, a description, etc., and is not limited herein.
  • the first target data, the second target data, and the association relationship between the two terms in the above-mentioned entry may be flexibly configured in the client, and are not limited to obtaining a term fixed in advance in the association relationship.
  • the first target data in the above-mentioned entry may be a word, a word combination, a statement or a picture, which is not limited in this embodiment.
  • the term is not limited to only including the first target data and the second target data, and may include multiple target data such as the first target data, the second target data, and the third target data.
  • the plurality of target data included in the entry has an association relationship, wherein at least one target data is hiddenly displayed.
  • the application client of the above-mentioned language translation is taken as an example. After the application client obtains the data display request, the client responds to the data display request to display the requested entry in the display interface, where Each entry includes first target data (ie, original data) and second target data (ie, translation data), and the first target data (ie, the original data) and the second target data (ie, the translated data) have a predetermined relationship.
  • first target data ie, original data
  • second target data ie, translation data
  • the second target data (ie, the translation data) is hidden by the layer in the display interface of the client, wherein the layer matches the second target data (ie, the translation data) to block the second target data (ie, the translation)
  • the data realizes the effect that the second target data is hiddenly displayed, and then determines the target area according to a predetermined operation performed on the layer to display the second target data (ie, the translation data) in the target area.
  • a trajectory generated by performing a predetermined operation on the layer may be acquired, and a region covered by the trajectory is used as a target region, and a second target data in the target region is displayed by clearing a layer in the target region.
  • the second target data to be displayed on the client display interface is flexibly controlled according to the trajectory corresponding to the predetermined operation.
  • the requested entry in response to the data display request, is displayed in the display interface, wherein the entry includes the first target data and the second target data, the first target data and the second
  • the target data has a predetermined association relationship
  • the second target data is hiddenly displayed in the display interface, and then a predetermined operation is performed on the layer matching the second target data, and the target area is determined according to the predetermined operation to display the target area.
  • the second target data in .
  • the layer that matches the second target data may be, but is not limited to, a separate layer that is overlaid on the second target data.
  • the first target data and the second target data are the same layer, and another layer is covered on the second target data.
  • the layer (the independent layer overlaid on the second target data) is used to cover the second target data after the predetermined image processing, so that the second target data is hiddenly displayed on the display interface. That is to say, by performing an operation of clearing the layer, the effect of displaying the second target data covered by the layer will be achieved.
  • the predetermined image processing may include, but is not limited to, performing the following processing on the layer: Gaussian blur processing, mosaic processing, and configuring a picture displaying the predetermined content.
  • the predetermined content may include, but is not limited to, a commercial advertisement, a public service advertisement, and a prompt information for prompting the second target data, and is not limited herein.
  • the layer covering the second target data may be the first layer after the Gaussian blur processing, or the second layer after the mosaic processing, or may be displayed.
  • a layer composed of pictures with predetermined content may be displayed.
  • the layer matching the second target data may be, but is not limited to, the original layer carrying the second target data (the layer where the second target data is located), in other words, the first target.
  • the data and the second target data are two separate layers, and the layer (the layer where the second target data is located) is subjected to predetermined image processing, so that the second target data is hiddenly displayed on the display interface. That is, by performing an inverse operation on the predetermined pattern processing described above, the effect of displaying the second target data in the layer will be achieved.
  • the predetermined image processing may include, but is not limited to, garbled and patterning on the layer where the second target data is located, and the second target data is blurredly displayed in the display interface by the hybrid display to achieve hidden display. purpose;
  • the displaying the requested entry in the display interface by the response data display request may include, but is not limited to, displaying an entry that satisfies a predetermined condition in the display interface, wherein the predetermined condition is carried in the data display. Requested.
  • the foregoing term that satisfies the predetermined condition may include, but is not limited to, at least one of the following: a term stored in a predetermined storage time, a term of a predetermined identification mark, and an operation frequency greater than a predetermined threshold. Entry.
  • a term stored in a predetermined storage time a term stored in a predetermined storage time
  • a term of a predetermined identification mark a term of a predetermined identification mark
  • an operation frequency greater than a predetermined threshold Entry.
  • determining the target area according to the predetermined operation performed on the layer specifically includes: first acquiring an operation mode performed on the layer, where the operation mode may be a touch screen sliding operation, a blowing induction operation, and shaking Or a vibration sensing operation, a sound control operation, or the like, after obtaining the current operation mode, determining a target area that matches the predetermined operation according to the operation mode.
  • the operation mode is only an example of the operation mode of the embodiment.
  • the operation mode may be a single operation mode, such as only a touch screen sliding operation, or a combination of multiple operation modes.
  • the touch screen sliding operation is combined with the air blowing operation, and the specific operation manner and combination manner are not limited herein.
  • determining, according to the operation mode, the target area that matches the predetermined operation may include:
  • the track width of the sliding screen touch operation on the display screen may be preset according to the user's needs, and the pressure on the display screen may be operated according to the sliding screen touch operation.
  • the above is only an example, and the other forms of the track width setting of other touch screen sliding operations are not limited in this embodiment.
  • the touch screen sliding operation may be, but is not limited to, an operation for clicking or continuously sliding.
  • the target area can be obtained according to the motion track formed by the sliding process;
  • the touch screen sliding operation is a click operation, the target area can also be obtained according to the operation position of the click operation, for example, Set the trajectory judgment mode corresponding to the click operation.
  • a circular motion trajectory may be displayed, that is, a circular area or an elliptical area with the click position as the center of the circle, or The motion track of a line is displayed.
  • the radius, length, width and shape of the specific motion track can be set according to actual experience, and there is no limitation here.
  • the corresponding target area is determined according to the position and/or the movement trajectory of the first sensing area, for example, (1) generated after the blowing operation is performed on the layer.
  • the target area is determined according to the location of the first sensing area. That is, when the first sensing area moves, the position of the first sensing area is always determined as the target area; (2) in the case where a first sensing area is generated after the blowing operation is performed on the layer, The target area is determined according to the movement trajectory of the first sensing area.
  • the target area is determined according to the moving trajectory of the first sensing area; (3) in the case that at least two first sensing areas are generated after the blowing operation is performed on the layer, The target area is determined according to the location of the at least two first sensing areas. That is to say, a plurality of first sensing regions are sequentially generated, and positions at which the plurality of first sensing regions are located are determined as target regions.
  • the above is only an example, and is not limited in this embodiment.
  • a reference point is first determined on the layer, and a first sensing area matching the vibration sensing operation is generated on the layer based on the reference point, wherein the vibration sensing operation The greater the vibration frequency and/or the vibration intensity, the larger the area of the target area generated based on the reference point.
  • the following may also include, but is not limited to, one of the following:
  • the foregoing term may be, but is not limited to, a target term that is previously stored in the client, or a locally stored term, where the entry is displayed before entering the collection interface.
  • the above steps may be performed, but not limited to, to confirm whether a term in the favorite interface that is covered with the layer in the second target data is displayed.
  • the method may further include, but is not limited to, updating the ranking identifier of the multiple terms.
  • the sorting identifier is determined according to the storage time of the entry and/or the operating frequency at which the term is performed by the predetermined operation, and then the order of the plurality of terms is updated according to the sorting identifier. That is to say, by updating the list of terms in real time, it is ensured that the displayed list of terms is more in line with the real-time needs of the user, and the effect of improving the accuracy of the display is achieved.
  • the method before acquiring the data display request, the method further includes, but is not limited to, acquiring a term collection request, where the term collection request carries a matching item to be collected.
  • a hash value which is determined according to the first target data of the target term, the data type of the first target data, and the data type of the second target data.
  • the hash value is first searched according to the hash value.
  • the target term when the target entry is not found, the target entry is saved. That is to say, the terms in the collection interface are respectively configured with a hash value for uniquely identifying the entry, thereby realizing the uniqueness of the terms in the list of entries according to the hash value.
  • the requested entry is displayed in the display interface in response to the data display request, wherein the entry includes the first target data and the second target data, and the first target data and the second target data Having a predetermined association relationship, the second target data is hiddenly displayed in the display interface, and then performing a predetermined operation on the layer matching the second target data, determining the target area according to the predetermined operation to display the number in the target area Two target data.
  • the response data display request displays the requested entry in the display interface, it includes:
  • the layer that matches the second target data may be generated according to the pre-configured display layout information, where the display height of the generated layer is the display of the second target data. height.
  • the purpose of saving display space and improving space utilization is realized, thereby improving the display effect.
  • generating a layer that matches the second target data includes at least one of the following:
  • an application layer applied to the language translation is covered with an independent layer on the second target data as an example.
  • Each of the terms includes first target data (ie, original data) and second target data (ie, translation data), and the second target data (ie, translation data) is hidden and displayed by the overlay layer, respectively.
  • the layer generated as shown in FIG. 5 may be a layer subjected to Gaussian blurring processing according to a predetermined parameter, and the layer is overlaid on the second target data of the corresponding entry, and the layer is executed on the second target data.
  • the layer in the target area may be cleared according to the target area determined by the predetermined operation, for example, performing a touch screen sliding operation, as shown in FIG. 5, to display part of the second target data (ie, the translation data) ).
  • the description will be made in conjunction with FIG. 6(a)-(b), and it is assumed that the application client applied to perform language translation is taken as an example.
  • Each of the terms includes first target data (ie, original data) and second target data (ie, translation data), and the second target data (ie, translation data) is hidden and displayed by the overlay layer, respectively.
  • the generated layer may be a mosaic-processed layer. If the first target data and the second target data are in the same layer, the mosaic-processed independent image is obtained. The layer covers the second target data of the corresponding entry.
  • the layer where the second target data is located is mosaic processed, correspondingly,
  • the target area determined according to the predetermined operation may be performed, for example, performing a touch screen sliding operation, and if the first target data and the second target data are located in the same layer, the clearing is performed by clearing The independent layer after the Gaussian blur processing on the second target data; if the first target data and the second target data are two separate layers, the layer where the second target data is located is restored. Thereby, the second target data hidden in the target area is restored by the predetermined operation, as shown in FIG. 6(b) to display a part of the second target data (ie, the translation data).
  • the generated layer may be a layer composed of a picture including predetermined content, and the layer is overlaid on the second target data of the corresponding entry, and the corresponding image is acquired.
  • the layer in the target area may be cleared according to the target area determined by the predetermined operation, such as a touch screen sliding operation, as shown in FIG.
  • the layer identifier corresponding to the second target data may also be adjusted accordingly.
  • the identifier is “blinking”, indicating that all the icons may be displayed after clicking the identifier, and the identifier is “closed eyes”, indicating that the logo is clicked. All hidden displays, as shown in Figure 7(b), all the second target data has been displayed, and the layer identification will also be displayed as "closed eyes” in order to restore the display mode of the overlay layer.
  • the foregoing predetermined content may include, but is not limited to, a commercial advertisement for promotion.
  • the public service advertisement or the like is, for example, as shown in FIG. 7; in addition, it may be prompt information related to the second target data currently covered.
  • the above is only an example, and is not limited in this embodiment.
  • the generated layer completely covers the corresponding second target data, and does not occupy an additional display space, thereby improving the display interface.
  • generating different styles of layers, or using the layer to display other predetermined content not only enriches the display content, but also improves the display effect to attract more attention.
  • the response data display request to display the requested entry in the display interface includes:
  • displaying the term that satisfies the predetermined condition in the display interface includes at least one of the following:
  • the application client applied to perform language translation is taken as an example.
  • some predetermined conditions may be set in the data display request, such as displaying the term stored at the predetermined time in the display interface, or may be scheduled.
  • the terms stored in the time period are specific to the period of one day, one week, and one month.
  • the term of the user's pre-identification mark may also be displayed.
  • the word may be a strange word, a sentence, or the like, or may be a key word of the user mark, etc.
  • the reservation The condition may be that the display operation frequency is greater than the predetermined threshold in the display interface.
  • the display operation frequency of the user's favorite entry may be greater than a certain threshold, and may be set according to actual experience. .
  • the entry that meets the user's requirement can be quickly selected and displayed, so as to simplify the search operation, thereby saving the search time, thereby achieving the effect of fast display and improving. User experience.
  • determining the target area according to a predetermined operation performed on the layer includes:
  • determining the target area that matches the predetermined operation according to the operation mode includes the following cases:
  • determining, according to the operation mode, the target area that matches the predetermined operation includes:
  • the track width of the first track may be a preset width, or may be a width matching the touch screen pressure of the touch screen action, wherein the touch screen pressure is larger, and the track width is wider.
  • the touch screen pressure is larger, and the track width is wider.
  • the second target data shown in FIG. 6(a) has been hiddenly displayed, assuming that an operation type indication of a predetermined operation performed on the layer is acquired.
  • the sliding track of the touch screen sliding operation on the layer is as shown in FIG. 6(b), wherein the touch screen is executed on the layer on the translation data of the first entry “happiness” in the display screen.
  • a sliding operation wherein the touch screen action has a large touch screen pressure, and the corresponding track is also wider; and the layer on the translation data of the second term “happy” also performs a touch screen sliding operation, the touch screen action
  • the touch screen pressure is small, and the corresponding track is also narrow. According to the above-mentioned track corresponding to the touch screen action, the target area matching the touch screen sliding operation is determined.
  • the above-mentioned touch screen sliding operation may be, but not limited to, an operation of clicking or continuously sliding.
  • the corresponding first trajectory can be, but is not limited to: 1) when the touch screen sliding operation is continuous sliding, the first trajectory is obtained according to the motion trajectory formed by the sliding process, and the first trajectory is used as the target area; 2) When the screen sliding operation is a click operation, the first trajectory is obtained according to the operation position of the click operation, and the first trajectory is used as the target area, for example, when the touch screen sliding operation is clicked, a circular motion trajectory can be displayed. That is, a circular area or an elliptical area with the click position as the center of the circle is not limited in this embodiment.
  • the touch screen sliding operation may also be referred to as a smear operation
  • the corresponding motion trajectory may be, but is not limited to, obtained according to a smear generated after the smear operation is performed on the layer.
  • the above is only an example, and is not limited in this embodiment.
  • the operation mode indicates that the operation performed on the layer is a touch screen sliding operation
  • acquiring a first track generated after the touch screen sliding operation performs the touch screen action on the layer according to the first A trajectory determines a target area that matches the touch screen sliding operation, thereby determining a target trajectory according to the first trajectory generated by the touch screen action to display the second target data in the target area.
  • a touch screen sliding operation ie, a smear operation
  • the flexible control ie, a smear track
  • determining, according to the operation mode, the target area that matches the predetermined operation includes:
  • the second track is determined according to the position of the first sensing area, where the first sensing area The area occupied is matched to the airflow pressure indicated by the air pressure sensing operation.
  • the second target data as shown in FIG. 8(a) has been hiddenly displayed, assuming that an operation mode indication of a predetermined operation performed on the layer is acquired.
  • a first sensing area (a transparent circle as shown in the figure) as shown in FIG. 8(b) is generated on the layer, wherein the air pressure sensing operation
  • the larger the indicated airflow pressure the larger the area of the first sensing area (ie, the larger the radius of the sensing area).
  • the first trajectory is determined according to the location of the first sensing area. For example, after driving the first sensing area to move from the position shown in FIG.
  • the second track is determined according to the moving track of the first sensing area, where the first sensing area The area occupied is matched to the airflow pressure indicated by the air pressure sensing operation.
  • the second target data as shown in FIG. 9(a) has been hiddenly displayed, assuming that an operation mode indication of a predetermined operation performed on the layer is acquired.
  • a first sensing area (a transparent circle as shown in the figure) as shown in FIG. 9(b) is generated on the layer, wherein the air pressure sensing operation is performed.
  • the greater the indicated airflow pressure the larger the area of the first sensing region.
  • the motion trajectory is determined based on the movement trajectory of the first sensing area. For example, after driving the first sensing area to move from the position shown in FIG.
  • the first sensing area may be according to the figure.
  • the area covered by the moving track on the layer obtains the second track, and the target area matched by the air pressure sensing operation is determined according to the second track corresponding to the first sensing area, so that the second target data display matching the target area is realized.
  • the second track is determined according to the position where the at least two first sensing regions are located, where The area occupied by the first sensing area matches the air flow pressure indicated by the air pressure sensing operation.
  • the second target data as shown in FIG. 10(a) has been hiddenly displayed, assuming that an operation mode indication of a predetermined operation performed on the layer is acquired.
  • a plurality of first sensing regions transparent circles as shown in the figure
  • FIG. 10(b) are generated on the layer, wherein the air pressure sensing The larger the airflow pressure indicated by the operation, the larger the area of the first sensing region.
  • a second trajectory as shown in FIG. 10(b) is obtained according to the position of the plurality of first sensing regions, and the target region matched by the air pressure sensing operation is determined according to the second trajectory, so that the second target data display in which the target region matches is realized.
  • the second trajectory generated after the air pressure sensing operation performs the air blowing operation on the layer is acquired; according to the first The movement trajectory of the sensing area determines the second trajectory, thereby determining the target area matching the air pressure sensing operation according to the second trajectory, or generating the at least two first sensing areas after performing the blowing operation on the layer, Determining a second trajectory according to a position where the at least two first sensing regions are located, and performing a pneumatic sensing operation on the layer to generate a first sensing region that matches the airflow pressure indicated by the air pressure sensing operation, thereby implementing the A position and/or a movement trajectory of a sensing area determines a target area matching the air pressure sensing operation, and a target area matching the air pressure sensing operation is determined according to the second trajectory, so as to clear a layer in the target area to display the target area Second target data.
  • determining, according to the operation mode, the target area that matches the predetermined operation includes:
  • first determining that the vibration sensing operation is based on the reference point on the layer may be the second of the first item in the current display interface.
  • the arbitrary vertices of the layer matching the target data may also be set according to the user's own position, and then obtain the third trajectory generated by the vibration sensing based on the layer reference point to perform the vibration action, and if the terminal is a mobile phone,
  • the vibration action is performed by means of “shake and shake”, wherein the vibration frequency and/or the vibration intensity of the vibration induction operation is larger, the larger the area of the third track generated based on the reference point is, and then the vibration and the vibration are determined according to the third track.
  • Sensing the target area matched by the operation to display the second target data in the target area for example, after performing the display of the current second target data, moving to the reference point position corresponding to the next second target data, or acquiring The next reference point location selected by the user.
  • the reference point may be, but is not limited to, any point on the layer, and the vibration frequency and/or vibration strength of the terminal is acquired through the built-in speed and velocity sensor of the terminal to generate a relative reference point.
  • the third track of the move For example, with the reference point as the center of the circle, the radius of the relative reference point is determined according to the vibration frequency and/or the vibration velocity to generate a third trajectory corresponding to the reference point.
  • the third trajectory generated after the vibration sensing operation performs the vibration action based on the reference point on the layer is obtained, according to The third trajectory determines a target area that matches the shock sensing operation, thereby removing the layer in the target area covered by the third trajectory to display the second target data in the target area.
  • At least one of the following is included before the response data display request displays the requested entry in the display interface:
  • the above-mentioned term may be, but not limited to, a target term that is previously stored in the client by the user's first account, or may be a target entry that the user stores locally based on the client, where Before the entry into the collection interface is displayed, the above steps may be performed, but are not limited to, to confirm whether the entry in the favorite interface that is covered by the layer in the second target data is displayed.
  • FIG. 11( a )-( b ) it is assumed that after the data display request is acquired, and before the entry is displayed on the collection interface, the pop-up window is popped up as shown in FIG. 11( a ).
  • a prompt message to prompt the user to "whether or not to perform a predetermined operation" for example, taking the "smear” operation as an example
  • displaying the entry of the second target data covered layer as shown in the figure 11(b).
  • an operation button for performing a predetermined operation on the display interface For example, after entering the collection interface, after clicking the "smudge button", the favorite interface is displayed as a layer covered with a layer.
  • the interface of the layer with the layer of the second target data is entered in different manners to improve the diversity of the display and enrich the display manner.
  • the method further includes:
  • updating the ranking identifiers corresponding to the plurality of terms respectively includes at least one of the following:
  • the foregoing ranking identifier may be, but is not limited to, a sorting score (sort_score) matching for each term, wherein the sorting score may be, but not limited to, according to a storage time of the entry (collect_date) and The entry is dynamically calculated by the operation frequency (action_count) of performing a predetermined operation (for example, a smear operation), and it is ensured that the new entry and the high-frequency operation of the entry can be preferentially displayed.
  • the storage time may be, but is not limited to, the time when the entry is stored in the entry list. The above is only an example, and is not limited in this embodiment.
  • sorting score may be, but is not limited to, calculated according to the following formula:
  • Action_score 1+ln(1+action_count);
  • Sort_score score_factor*action_score
  • the sorting score sort_score has a linear relationship with the storage time, and the shorter the storage time is, the higher the ranking score is, so that the entry of the latest collection by the linear relationship can be preferentially displayed;
  • the sort_score has a nonlinear relationship with the operating frequency, and the higher the operating frequency, the higher the sorting score, so that the numerical value of the operating frequency is controlled by the nonlinear relationship without increasing the calculation load, and the entry of the high frequency operation is in the entry.
  • the list is prioritized.
  • the order of the list of the entries is updated in real time to ensure that the newly added terms in the entry list and the entries of the high frequency operation can be preferentially displayed in the list of the entries, thereby improving the display effect. More user-friendly.
  • the hash value matching the target term may be determined according to the first target data of the target entry, the data type of the first target data, and the data type of the second target data.
  • the first target data such as the original data "tree”
  • the data type of the first target data such as the source language type (such as EN)
  • the data type of the second target data such as the target language type (such as CN)
  • the hash hash algorithm is used to generate a hash code that uniquely corresponds to the target term.
  • the term displayed in the main interface may be, but is not limited to, clicking a target term of interest to achieve a favorite storage operation of the target term.
  • click on the item of interest "happy” click on the item of interest "happy”
  • the main interface will display the item "happy” corresponding to the operation toolbar (tool bar), as shown in Figure 13, click on the "collection button"
  • the above click operation will cancel the collection operation.
  • the hash value hashcode corresponding to the term "happy” is obtained, and it is found whether the term "happy" is included in all the pre-stored terms. For example, the is_collect flag is searched. If the is_collect flag of the corresponding entry is not found, the collection operation is performed, and the is_collect flag is modified accordingly, for example, the is_collect flag bit is modified to be "1"; if the corresponding entry is found The is_collect flag bit is used to cancel the collection operation, and the is_collect flag bit is modified accordingly, for example, the is_collect flag bit modification is marked as "0".
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present application which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
  • the instructions include a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present application.
  • the apparatus includes:
  • the first obtaining unit 1402 is configured to obtain a data display request
  • the first display unit 1404 is configured to display the requested entry in the display interface in response to the data display request, wherein the entry includes first target data and second target data, the first target a predetermined association relationship between the data and the second target data, the second target data being hiddenly displayed in the display interface;
  • a determining unit 1406, configured to determine a target area according to a predetermined operation performed on the layer, wherein the layer matches the second target data;
  • the second display unit 1408 is arranged to display the second target data in the target area.
  • the foregoing data display device may be, but is not limited to, being applied to a data conversion application client, for example, an application client for performing language translation, and it should be noted that, at the same time, other An application client for implementing data conversion, wherein the items displayed in the application client include first target data and second target data having a predetermined association relationship, such as ancient poetry and modern text, words and idioms, and proverbs, etc. Data corresponding to other correspondences such as correspondence analysis, child class diagram and name, and fun games.
  • the relationship between the first target data and the second target data may be set according to the actual experience or the user's needs. For example, it may be a translation, an explanation, a description, etc., and is not limited herein.
  • the first target data, the second target data, and the association relationship between the two terms in the above-mentioned entry may be flexibly configured in the client, and are not limited to obtaining a term fixed in advance in the association relationship.
  • the first target data in the above-mentioned entry may be a word, a word combination, a statement or a picture, which is not limited in this embodiment.
  • the term is not limited to only including the first target data and the second target data, and may include multiple target data such as the first target data, the second target data, and the third target data.
  • the plurality of target data included in the entry has an association relationship, wherein at least one target data is hiddenly displayed.
  • the application client of the above-mentioned language translation is taken as an example. After the application client obtains the data display request, the client responds to the data display request to display the requested entry in the display interface, where Each entry includes first target data (ie, original data) and second target data (ie, translation data), and the first target data (ie, the original data) and the second target data (ie, the translated data) have a predetermined relationship.
  • first target data ie, original data
  • second target data ie, translation data
  • the second target data (ie, the translation data) is hidden by the layer in the display interface of the client, wherein the layer matches the second target data (ie, the translation data) to block the second target data (ie, the translation)
  • the data realizes the effect that the second target data is hiddenly displayed, and then determines the target area according to a predetermined operation performed on the layer to display the second target data (ie, the translation data) in the target area.
  • the trajectory corresponding to the predetermined operation flexibly controls the second target data to be displayed on the client display interface.
  • the requested entry in response to the data display request, is displayed in the display interface, wherein the entry includes the first target data and the second target data, the first target data and the second
  • the target data has a predetermined association relationship
  • the second target data is hiddenly displayed in the display interface, and then a predetermined operation is performed on the layer matching the second target data, and the target area is determined according to the predetermined operation to display the target area.
  • the second target data in .
  • the layer matching the second target data may be, but is not limited to, a separate layer overlaid on the second target data.
  • the first target data and the second target data are the same layer, and another layer is covered on the second target data.
  • the layer (the independent layer overlaid on the second target data) is used to cover the second target data after the predetermined image processing, so that the second target data is hiddenly displayed on the display interface. That is to say, by performing an operation of clearing the layer, the effect of displaying the second target data covered by the layer will be achieved.
  • the predetermined image processing may include, but is not limited to, performing the following processing on the layer: Gaussian blur processing, mosaic processing, and configuring a picture displaying the predetermined content.
  • the predetermined content may include, but is not limited to, a commercial advertisement, a public service advertisement, and a prompt information for prompting the second target data, and is not limited herein.
  • the layer covering the second target data may be the first layer after the Gaussian blur processing, or the second layer after the mosaic processing, or may be displayed.
  • a layer composed of pictures with predetermined content may be displayed.
  • the layer matching the second target data may be, but is not limited to, the original layer carrying the second target data (the layer where the second target data is located), in other words, the first target.
  • the data and the second target data are two separate layers, and the layer (the layer where the second target data is located) is subjected to predetermined image processing, so that the second target data is hiddenly displayed on the display interface. That is, by performing an inverse operation on the predetermined pattern processing described above, the effect of displaying the second target data in the layer will be achieved.
  • the predetermined image processing may include, but is not limited to, garbled and patterning on the layer where the second target data is located, and the second target data is blurredly displayed in the display interface by the hybrid display to achieve hidden display. purpose;
  • the displaying the requested entry in the display interface by the response data display request may include, but is not limited to, displaying an entry that satisfies a predetermined condition in the display interface, wherein the predetermined condition is carried in the data display. Requested.
  • the foregoing term that satisfies the predetermined condition may include, but is not limited to, at least one of the following: a term stored in a predetermined storage time, a term of a predetermined identification mark, and an operation frequency greater than a predetermined threshold. Entry.
  • a term stored in a predetermined storage time a term stored in a predetermined storage time
  • a term of a predetermined identification mark a term of a predetermined identification mark
  • an operation frequency greater than a predetermined threshold Entry.
  • determining the target area according to the predetermined operation performed on the layer specifically includes: first acquiring an operation mode performed on the layer, where the operation mode may be a touch screen sliding operation, a blowing induction operation, and shaking Or a vibration sensing operation, a sound control operation, or the like, after obtaining the current operation mode, determining a target area that matches the predetermined operation according to the operation mode.
  • the operation mode is only an example of the operation mode of the embodiment.
  • the operation mode may be a single operation mode, such as only a touch screen sliding operation, or a combination of multiple operation modes.
  • the touch screen sliding operation is combined with the air blowing operation, and the specific operation manner and combination manner are not limited herein.
  • determining, according to the operation mode, the target area that matches the predetermined operation may include:
  • the track width of the sliding screen touch operation on the display screen may be preset according to the user's needs, and the pressure on the display screen may be operated according to the sliding screen touch operation.
  • the above is only an example, and the other forms of the track width setting of other touch screen sliding operations are not limited in this embodiment.
  • the touch screen sliding operation may be, but is not limited to, an operation for clicking or continuously sliding.
  • the target area can be obtained according to the motion track formed by the sliding process;
  • the touch screen sliding operation is a click operation, the target area can also be obtained according to the operation position of the click operation, for example, Set the trajectory judgment mode corresponding to the click operation.
  • a circular motion trajectory may be displayed, that is, a circular area or an elliptical area with the click position as the center of the circle, or The motion track of a line is displayed.
  • the radius, length, width and shape of the specific motion track can be set according to actual experience, and there is no limitation here.
  • the corresponding target area is determined according to the position and/or the movement trajectory of the first sensing area, for example, (1) generated after the blowing operation is performed on the layer.
  • the target area is determined according to the location of the first sensing area. That is, when the first sensing area moves, the position of the first sensing area is always determined as the target area; (2) in the case where a first sensing area is generated after the blowing operation is performed on the layer, The target area is determined according to the movement trajectory of the first sensing area.
  • the target area is determined according to the moving trajectory of the first sensing area; (3) in the case that at least two first sensing areas are generated after the blowing operation is performed on the layer, The target area is determined according to the location of the at least two first sensing areas. That is to say, a plurality of first sensing regions are sequentially generated, and positions at which the plurality of first sensing regions are located are determined as target regions.
  • the above is only an example, and is not limited in this embodiment.
  • a reference point is first determined on the layer, and a first sensing area matching the vibration sensing operation is generated on the layer based on the reference point, wherein the vibration sensing operation The greater the vibration frequency and/or the vibration intensity, the larger the area of the target area generated based on the reference point.
  • the following may also include, but is not limited to, one of the following:
  • the foregoing term may be, but is not limited to, a target term that is previously stored in the client, or a locally stored term, where the entry is displayed before entering the collection interface.
  • the above steps may be performed, but not limited to, to confirm whether a term in the favorite interface that is covered with the layer in the second target data is displayed.
  • the method may further include, but is not limited to, updating the ranking identifier of the multiple terms.
  • the sorting identifier is determined according to the storage time of the entry and/or the operating frequency at which the term is performed by the predetermined operation, and then the order of the plurality of terms is updated according to the sorting identifier. That is to say, by updating the list of terms in real time, it is ensured that the displayed list of terms is more in line with the real-time needs of the user, and the effect of improving the accuracy of the display is achieved.
  • the method before acquiring the data display request, the method further includes, but is not limited to, acquiring a term collection request, where the term collection request carries a matching item to be collected.
  • a hash value which is determined according to the first target data of the target term, the data type of the first target data, and the data type of the second target data.
  • the hash value is first searched according to the hash value.
  • the target term when the target entry is not found, the target entry is saved. That is to say, the terms in the collection interface are respectively configured with a hash value for uniquely identifying the entry, thereby realizing the uniqueness of the terms in the list of entries according to the hash value.
  • the requested entry is displayed in the display interface in response to the data display request, wherein the entry includes the first target data and the second target data, and the first target data and the second target data Having a predetermined association relationship, the second target data is hiddenly displayed in the display interface, and then performing a predetermined operation on the layer matching the second target data, determining the target area according to the predetermined operation to display the number in the target area Two target data.
  • the data display device provided in this embodiment further includes:
  • a generating unit configured to generate a layer matching the second target data
  • An overlay unit configured to overlay the layer onto the second target data in the entry such that when the entry is displayed in the display interface, the second target data is hidden.
  • the layer that matches the second target data may be generated according to the pre-configured display layout information, where the display height of the generated layer is the display of the second target data. height.
  • the purpose of saving display space and improving space utilization is realized, thereby improving the display effect.
  • the generating unit includes at least one of the following:
  • a first processing module configured to perform a Gaussian blurring process on the layer according to a predetermined parameter
  • an application layer applied to perform language translation covers an independent layer on the second target data as an example.
  • Each of the terms includes first target data (ie, original data) and second target data (ie, translation data), and the second target data (ie, translation data) is hidden and displayed by the overlay layer, respectively.
  • the layer generated as shown in FIG. 5 may be a layer subjected to Gaussian blurring processing according to a predetermined parameter, and the layer is overlaid on the second target data of the corresponding entry, and the layer is executed on the second target data.
  • the layer in the target area may be cleared according to the target area determined by the predetermined operation, for example, performing a touch screen sliding operation, as shown in FIG. 5, to display part of the second target data (ie, the translation data) ).
  • the description will be made in conjunction with FIG. 6(a)-(b), and it is assumed that the application client applied to perform language translation is taken as an example.
  • Each of the terms includes first target data (ie, original data) and second target data (ie, translation data), and the second target data (ie, translation data) is hidden and displayed by the overlay layer, respectively.
  • the generated layer may be a mosaic-processed layer. If the first target data and the second target data are in the same layer, the mosaic-processed independent image is obtained. The layer covers the second target data of the corresponding entry.
  • the layer where the second target data is located is mosaic processed, correspondingly,
  • the target area determined according to the predetermined operation may be performed, for example, performing a touch screen sliding operation, and if the first target data and the second target data are located in the same layer, the clearing is performed by clearing The independent layer after the Gaussian blur processing on the second target data; if the first target data and the second target data are two separate layers, the layer where the second target data is located is restored. Thereby, the second target data hidden in the target area is restored by the predetermined operation, as shown in FIG. 6(b) to display a part of the second target data (ie, the translation data).
  • the third processing module is configured to configure the layer to display a picture with predetermined content.
  • the generated layer may be a layer composed of a picture including predetermined content, and the layer is overlaid on the second target data of the corresponding entry, and the corresponding image is acquired.
  • the layer in the target area may be cleared according to the target area determined by the predetermined operation, such as a touch screen sliding operation, as shown in FIG.
  • the layer identifier corresponding to the second target data may also be adjusted accordingly.
  • the identifier is “blinking”, indicating that all the icons may be displayed after clicking the identifier, and the identifier is “closed eyes”, indicating that the logo is clicked. All hidden displays, as shown in Figure 7(b), all the second target data has been displayed, and the layer identification will also be displayed as "closed eyes” in order to restore the display mode of the overlay layer.
  • the foregoing predetermined content may include, but is not limited to, a commercial advertisement for promotion.
  • the public service advertisement or the like is, for example, as shown in FIG. 7; in addition, it may be prompt information related to the second target data currently covered.
  • the above is only an example, and is not limited in this embodiment.
  • the generated layer completely covers the corresponding second target data, and does not occupy an additional display space, thereby improving the display interface.
  • generating different styles of layers, or using the layer to display other predetermined content not only enriches the display content, but also improves the display effect to attract more attention.
  • the first display unit 1404 includes:
  • the first display module is configured to display a term that satisfies a predetermined condition in the display interface, wherein the predetermined condition is carried in the data display request.
  • the first display module includes at least one of the following:
  • a first display sub-module configured to display a term stored in a predetermined storage time in the display interface
  • a second display sub-module configured to display an entry using a predetermined identification mark in the display interface
  • the third display sub-module is configured to display an entry in the display interface that the operating frequency is greater than a predetermined threshold.
  • the application client applied to perform language translation is taken as an example.
  • some predetermined conditions may be set in the data display request, such as displaying the term stored at the predetermined time in the display interface, or may be scheduled.
  • the terms stored in the time period are specific to the period of one day, one week, and one month.
  • the term of the user's pre-identification mark may also be displayed.
  • the word may be a strange word, a sentence, or the like, or may be a key word of the user mark, etc.
  • the reservation The condition may be that the display operation frequency is greater than the predetermined threshold in the display interface.
  • the display operation frequency of the user's favorite entry may be greater than a certain threshold, and may be set according to actual experience. .
  • the entry that meets the user's requirement can be quickly selected and displayed, so as to simplify the search operation, thereby saving the search time, thereby achieving the effect of fast display and improving. User experience.
  • the determining unit 1406 includes:
  • a first acquisition module configured to obtain an operation mode performed on the layer
  • a first determining module configured to determine a target area that matches the predetermined operation based on the operating mode.
  • the foregoing first determining module includes the following combinations of modules:
  • the foregoing first determining module includes:
  • the first acquisition sub-module is configured to acquire, after the operation mode indicates that the operation performed on the layer is a touch screen sliding operation, acquire the first generated after the touch screen sliding operation performs the touch screen action on the layer Trajectory
  • the first determining sub-module is configured to determine a target area that matches the touch screen sliding operation according to the first trajectory.
  • the track width of the first track may be a preset width, or may be a width matching the touch screen pressure of the touch screen action, wherein the touch screen pressure is larger, and the track width is wider.
  • the touch screen pressure is larger, and the track width is wider.
  • the second target data shown in FIG. 6(a) has been hiddenly displayed, assuming that an operation type indication of a predetermined operation performed on the layer is acquired.
  • the sliding track of the touch screen sliding operation on the layer is as shown in FIG. 6(b), wherein the touch screen is executed on the layer on the translation data of the first entry “happiness” in the display screen.
  • a sliding operation wherein the touch screen action has a large touch screen pressure, and the corresponding track is also wider; and the layer on the translation data of the second term “happy” also performs a touch screen sliding operation, the touch screen action
  • the touch screen pressure is small, and the corresponding track is also narrow. According to the above-mentioned track corresponding to the touch screen action, the target area matching the touch screen sliding operation is determined.
  • the above-mentioned touch screen sliding operation may be, but not limited to, an operation of clicking or continuously sliding.
  • the corresponding first trajectory can be, but is not limited to: 1) when the touch screen sliding operation is continuous sliding, the first trajectory is obtained according to the motion trajectory formed by the sliding process, and the first trajectory is used as the target area; 2) When the screen sliding operation is a click operation, the first trajectory is obtained according to the operation position of the click operation, and the first trajectory is used as the target area, for example, when the touch screen sliding operation is clicked, a circular motion trajectory can be displayed. That is, a circular area or an elliptical area with the click position as the center of the circle is not limited in this embodiment.
  • the touch screen sliding operation may also be referred to as a smear operation
  • the corresponding motion trajectory may be, but is not limited to, obtained according to a smear generated after the smear operation is performed on the layer.
  • the above is only an example, and is not limited in this embodiment.
  • the operation mode indicates that the operation performed on the layer is a touch screen sliding operation
  • acquiring a first track generated after the touch screen sliding operation performs the touch screen action on the layer according to the first A trajectory determines a target area that matches the touch screen sliding operation, thereby determining a target trajectory according to the first trajectory generated by the touch screen action to display the second target data in the target area.
  • a touch screen sliding operation ie, a smear operation
  • the flexible control ie, a smear track
  • the foregoing first determining module includes:
  • a second acquisition sub-module configured to acquire a second trajectory generated after the air pressure sensing operation performs a blowing operation on the layer, in a case where the operation mode indicates that the operation performed on the layer is the air pressure sensing operation;
  • the second determining sub-module is configured to determine a target area that matches the air pressure sensing operation according to the second trajectory.
  • the second track is determined according to the position of the first sensing area, where the first sensing area The area occupied is matched to the airflow pressure indicated by the air pressure sensing operation.
  • the second target data as shown in FIG. 8(a) has been hiddenly displayed, assuming that an operation mode indication of a predetermined operation performed on the layer is acquired.
  • a first sensing area (a transparent circle as shown in the figure) as shown in FIG. 8(b) is generated on the layer, wherein the air pressure sensing operation
  • the larger the indicated airflow pressure the larger the area of the first sensing area (ie, the larger the radius of the sensing area).
  • the first trajectory is determined according to the location of the first sensing area. For example, after driving the first sensing area to move from the position shown in FIG.
  • the second track is determined according to the moving track of the first sensing area, where the first sensing area The area occupied is matched to the airflow pressure indicated by the air pressure sensing operation.
  • the second target data as shown in FIG. 9(a) has been hiddenly displayed, assuming that an operation mode indication of a predetermined operation performed on the layer is acquired.
  • a first sensing area (a transparent circle as shown in the figure) as shown in FIG. 9(b) is generated on the layer, wherein the air pressure sensing operation is performed.
  • the greater the indicated airflow pressure the larger the area of the first sensing region.
  • the motion trajectory is determined according to the movement trajectory of the first sensing area. For example, after driving the first sensing area to move from the position shown in FIG.
  • the first sensing area may be according to the figure.
  • the area covered by the moving track on the layer obtains the second track, and the target area matched by the air pressure sensing operation is determined according to the second track corresponding to the first sensing area, so that the second target data display matching the target area is realized.
  • the second track is determined according to the position where the at least two first sensing regions are located, where The area occupied by the first sensing area matches the air flow pressure indicated by the air pressure sensing operation.
  • the second target data as shown in FIG. 10(a) has been hiddenly displayed, assuming that an operation mode indication of a predetermined operation performed on the layer is acquired.
  • a plurality of first sensing regions transparent circles as shown in the figure
  • FIG. 10(b) A second trajectory as shown in FIG. 10(b) is obtained according to the position of the plurality of first sensing regions, and the target region matched by the air pressure sensing operation is determined according to the second trajectory, so that the second target data matching of the target region is achieved.
  • the second trajectory generated after the air pressure sensing operation performs the air blowing operation on the layer is acquired; according to the first The movement trajectory of the sensing area determines the second trajectory, thereby determining the target area matching the air pressure sensing operation according to the second trajectory, or generating the at least two first sensing areas after performing the blowing operation on the layer, Determining a second trajectory according to a position where the at least two first sensing regions are located, and performing a pneumatic sensing operation on the layer to generate a first sensing region that matches the airflow pressure indicated by the air pressure sensing operation, thereby implementing the A position and/or a movement trajectory of a sensing area determines a target area matching the air pressure sensing operation, and a target area matching the air pressure sensing operation is determined according to the second trajectory, so as to clear a layer in the target area to display the target area Second target data.
  • the foregoing first determining module includes:
  • the third acquisition sub-module is configured to, when the operation mode indicates that the operation performed on the layer is a vibration sensing operation, obtain the third generated by the vibration sensing operation after performing the vibration action based on the reference point on the layer Trajectory
  • the third determining sub-module is configured to determine a target area that matches the vibration sensing operation according to the third trajectory.
  • first determining that the vibration sensing operation is based on the reference point on the layer may be the second of the first item in the current display interface.
  • the arbitrary vertices of the layer matching the target data may also be set according to the user's own position, and then obtain the third trajectory generated by the vibration sensing based on the layer reference point to perform the vibration action, and if the terminal is a mobile phone,
  • the vibration action is performed by means of “shake and shake”, wherein the vibration frequency and/or the vibration intensity of the vibration induction operation is larger, the larger the area of the third track generated based on the reference point is, and then the vibration and the vibration are determined according to the third track.
  • Sensing the target area matched by the operation to display the second target data in the target area for example, after performing the display of the current second target data, moving to the reference point position corresponding to the next second target data, or acquiring The next reference point location selected by the user.
  • the reference point may be, but is not limited to, any point on the layer, and the vibration frequency and/or vibration strength of the terminal is acquired through the built-in speed and velocity sensor of the terminal to generate a relative reference point.
  • the third track of the move For example, with the reference point as the center of the circle, the radius of the relative reference point is determined according to the vibration frequency and/or the vibration velocity to generate a third trajectory corresponding to the reference point.
  • the third trajectory generated after the vibration sensing operation performs the vibration action based on the reference point on the layer is obtained, according to The third trajectory determines a target area that matches the shock sensing operation, thereby removing the layer in the target area covered by the third trajectory to display the second target data in the target area.
  • the foregoing data display device further includes at least one of the following:
  • the third display unit is configured to display the prompt information on the display interface before the display of the requested entry in the display interface in response to the data display request, wherein the prompt information is used to prompt whether to perform a predetermined operation; In the case of displaying a term on the display interface;
  • the second obtaining unit is configured to acquire an operation instruction generated by performing a click operation on the operation button displayed on the display interface, and display an entry on the display interface in response to the operation instruction, wherein the operation button is used to indicate that the predetermined operation is performed.
  • the above-mentioned term may be, but not limited to, a target term that is previously stored in the client by the user's first account, or may be a target entry that the user stores locally based on the client, where Before the entry into the collection interface is displayed, the above steps may be performed, but are not limited to, to confirm whether the entry in the favorite interface that is covered by the layer in the second target data is displayed.
  • FIG. 11( a )-( b ) it is assumed that after the data display request is acquired, and before the entry is displayed on the collection interface, the pop-up window is popped up as shown in FIG. 11( a ).
  • a prompt message to prompt the user to "whether or not to perform a predetermined operation" for example, taking the "smear” operation as an example
  • displaying the entry of the second target data covered layer as shown in the figure 11(b).
  • an operation button for performing a predetermined operation on the display interface For example, after entering the collection interface, after clicking the "smudge button", the favorite interface is displayed as a layer covered with a layer.
  • the interface of the layer with the layer of the second target data is entered in different manners to improve the diversity of the display and enrich the display manner.
  • the foregoing data display device further includes:
  • a first update unit configured to update a plurality of terms before displaying the requested entry in the display interface in response to the data display request if the requested entry is a plurality of terms a sorting identifier, wherein the sorting identifier is determined according to a storage time of the entry and/or an operating frequency at which the term is performed by the predetermined operation;
  • the second update unit is configured to update the order of the plurality of terms according to the sorting identifier.
  • the first update unit includes at least one of the following:
  • the first update module is configured to: when the newly added term is detected, update the sorting identifier corresponding to each of the multiple terms;
  • the second update module is configured to update the sorting identifier corresponding to the plurality of terms after the predetermined operation is performed on the at least one of the plurality of terms.
  • the foregoing ranking identifier may be, but is not limited to, a sorting score (sort_score) matching for each term, wherein the sorting score may be, but not limited to, according to a storage time of the entry (collect_date) and The entry is dynamically calculated by the operation frequency (action_count) of performing a predetermined operation (for example, a smear operation), and it is ensured that the new entry and the high-frequency operation of the entry can be preferentially displayed.
  • the storage time may be, but is not limited to, the time when the entry is stored in the entry list. The above is only an example, and is not limited in this embodiment.
  • sorting score may be, but is not limited to, calculated according to the following formula:
  • Action_score 1+ln(1+action_count);
  • Sort_score score_factor*action_score
  • the sorting score sort_score has a linear relationship with the storage time, and the shorter the storage time is, the higher the ranking score is, so that the entry of the latest collection by the linear relationship can be preferentially displayed;
  • the sort_score has a nonlinear relationship with the operating frequency, and the higher the operating frequency, the higher the sorting score, so that the numerical value of the operating frequency is controlled by the nonlinear relationship without increasing the calculation load, and the entry of the high frequency operation is in the entry.
  • the list is prioritized.
  • the order of the list of the entries is updated in real time to ensure that the newly added terms in the entry list and the entries of the high frequency operation can be preferentially displayed in the list of the entries, thereby improving the display effect. More user-friendly.
  • the foregoing data display device further includes:
  • the third obtaining unit is configured to obtain a term collection request before acquiring the data display request, wherein the term collection request carries a hash value matching the target term to be collected, and the hash value is according to the target Determining the first target data of the entry, the data type of the first target data, and the data type of the second target data;
  • the hash value matching the target term may be determined according to the first target data of the target entry, the data type of the first target data, and the data type of the second target data.
  • the first target data such as the original data "tree”
  • the data type of the first target data such as the source language type (such as EN)
  • the data type of the second target data such as the target language type (such as CN)
  • the hash hash algorithm is used to generate a hash code that uniquely corresponds to the target term.
  • the term displayed in the main interface may be, but is not limited to, clicking a target term of interest to achieve a favorite storage operation of the target term.
  • click on the item of interest "happy” click on the item of interest "happy”
  • the main interface will display the item "happy” corresponding to the operation toolbar (tool bar), as shown in Figure 13, click on the "collection button"
  • the above click operation will cancel the collection operation.
  • the hash value hashcode corresponding to the term "happy” is obtained, and it is found whether the term "happy" is included in all the pre-stored terms. For example, the is_collect flag is searched. If the is_collect flag of the corresponding entry is not found, the collection operation is performed, and the is_collect flag is modified accordingly, for example, the is_collect flag bit is modified to be "1"; if the corresponding entry is found The is_collect flag bit is used to cancel the collection operation, and the is_collect flag bit is modified accordingly, for example, the is_collect flag bit modification is marked as "0".
  • a data display terminal for implementing the foregoing data display method is further provided. As shown in FIG. 15, the terminal includes:
  • a communication interface 1502 configured to obtain a data display request
  • the display 1504 is connected to the communication interface 1502, and is configured to display the requested entry in the display interface in response to the data display request, wherein the entry includes the first target data and the second target data, the first target data and the first The second target data has a predetermined association relationship, and the second target data is hidden and displayed in the display interface;
  • the memory 1508 is connected to the communication interface 1502, the display 1504, and the processor 1506, and is configured to display the second target data in the target area.
  • a storage medium is also provided.
  • the foregoing storage medium may be located in at least one of the plurality of network devices in the network.
  • the storage medium is arranged to store a computer program for performing the following steps:
  • the response data display request displays the requested entry in the display interface, wherein the entry includes the first target data and the second target data, and the first target data and the second target data have a predetermined association relationship, The second target data is hidden and displayed in the display interface;
  • the storage medium is arranged to store a computer program for performing the following steps:
  • the storage medium is arranged to store a computer program for performing the following steps:
  • the storage medium is arranged to store a computer program for performing the following steps:
  • the storage medium is arranged to store a computer program for performing the following steps:
  • the storage medium is arranged to store a computer program for performing the following steps:
  • the storage medium is arranged to store a computer program for performing the following steps:
  • the storage medium is arranged to store a computer program for performing the following steps:
  • the storage medium is arranged to store a computer program for performing the following steps:
  • the second track is determined according to a position where the first sensing area is located;
  • the second track is determined according to a movement trajectory of the first sensing area
  • the second trajectory is determined according to a location where the at least two first sensing regions are located.
  • the storage medium is arranged to store a computer program for performing the following steps:
  • the storage medium is arranged to store a computer program for performing the following steps:
  • S2 acquiring an operation instruction generated by performing a click operation on an operation button displayed on the display interface; displaying the term on the display interface in response to the operation instruction, wherein the operation button is used to indicate execution The predetermined operation.
  • the storage medium is arranged to store a computer program for performing the following steps:
  • the storage medium is arranged to store a computer program for performing the following steps:
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • mobile hard disk a magnetic memory.
  • magnetic memory a variety of media that can store computer programs, such as a disc or an optical disc.
  • the integrated unit in the above embodiment if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in the above-described computer readable storage medium.
  • the disclosed client may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of a unit is only a logical function division.
  • multiple units or components may be combined or may be integrated into Another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented either in the form of hardware or in the form of a software functional unit.
  • the requested entry is displayed in the display interface by the response data display request, wherein the entry includes the first target data and the second target data, and the first target data and the second target data Having a predetermined association relationship, the second target data is hiddenly displayed in the display interface, and then performing a predetermined operation on the layer matching the second target data, determining the target area according to the predetermined operation to display the number in the target area
  • the second target data thereby achieving the purpose of changing the display state of the second target data by performing a predetermined operation on the layer matching the second target data, and solving the problem that the related content cannot be flexibly adjusted in the related art, and the flexibility is realized. Controls the effect of the second target data to be displayed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种数据显示方法及装置、存储介质和终端。该方法包括:获取数据显示请求(S402);响应数据显示请求在显示界面中显示所请求的词条,其中,词条包括第一目标数据及第二目标数据,第一目标数据与第二目标数据之间具有预定关联关系,第二目标数据在显示界面中被隐藏显示(S404);根据对图层执行的预定操作确定目标区域,其中,图层与第二目标数据相匹配(S406);显示目标区域中的第二目标数据(S408)。所述方法解决了采用相关的数据显示方式所导致的显示灵活性较低的问题。

Description

数据显示方法及装置、存储介质和终端
本申请要求于2017年2月27日提交中国专利局、优先权号为2017101107372、申请名称为“数据显示方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机领域,具体而言,涉及一种数据显示方法及装置、存储介质和终端。
背景技术
如今,为了便于用户背诵记忆,很多翻译工具都为用户提供了方便反复切换查看,以达到记忆目的的数据显示方式,其中,常用的方式包括:
1)在用户界面中设置切换按钮,通过对切换按钮执行点击操作,以对预定信息实现直接显示或隐藏显示的切换控制,从而达到通过反复切换显示的方式来达到记忆预定信息的目的。如图1所示,在点击用户界面右下角所显示的按钮后,将实现对翻译工具转换后的释义信息进行“直接显示”或“隐藏显示”切换控制。
2)在用户界面中设置跳转按钮,通过对跳转按钮执行点击操作,以切换至显示有预定信息的页面,从而达到通过反复切换显示的方式来达到记忆预定信息的目的。如图2所示,在点击用户界面右下角所显示的按钮后,将跳转至下一页显示有翻译工具转换后的释义信息的页面。
然而,在通过执行上述点击交互操作进行显示时,转换后的释义信息只能被一次性全部显示在用户界面中,而无法灵活调整所显示的内容。
针对上述的问题,目前尚未提出有效的解决方案。
发明内容
本申请实施例提供了一种数据显示方法及装置、存储介质和终端,以至少解决采用相关的数据显示方式所导致的显示灵活性较低的技术问题。
根据本申请实施例的一个方面,提供了一种数据显示方法,包括:获取数据显示请求;响应上述数据显示请求在显示界面中显示所请求的词条,其中,上述词条中包括第一目标数据及第二目标数据,上述第一目标数据与上述第二目标数据之间具有预定关联关系,上述第二目标数据在上述显示界面中被隐藏显示;根据对图层执行的预定操作确定目标区域,其中,上述图层与上述第二目标数据相匹配;显示上述目标区域中的上述第二目标数据。
根据本申请实施例的另一方面,还提供了一种数据显示装置,包括:第一获取单元,设置为获取数据显示请求;第一显示单元,设置为响应上述数据显示请求在显示界面中显示所请求的词条,其中,上述词条中包括第一目标数据及第二目标数据,上述第一目标数据与上述第二目标数据之间具有预定关联关系,上述第二目标数据在上述显示界面中被隐藏显示;确定单元,设置为根据对图层执行的预定操作确定目标区域,其中,上述图层与上述第二目标数据相匹配;第二显示单元,设置为显示上述目标区域中的上述第二目标数据。
根据本申请的实施例的又一方面,还提供了一种存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述方法。
根据本发明实施例的又一方面,还提供了一种数据显示终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,上述处理器通过计算机程序执行上述的方法。
在本申请实施例中,响应数据显示请求,在显示界面中显示所请求的词条,其中,词条中包括第一目标数据及第二目标数据,第一目标数据与第二目标数据之间具有预定关联关系,第二目标数据在显示界面中被隐藏 显示,然后,对与第二目标数据相匹配的图层执行预定操作,根据该预定操作确定目标区域,以显示目标区域中的第二目标数据。也就是说,在显示所请求的词条后,其中,词条中的第二目标数据在显示界面中被隐藏显示,对与第二目标数据相匹配的图层执行预定操作,根据该预定操作确定用于显示第二目标数据的目标区域,以实现灵活控制所要显示的第二目标数据的效果,进一步,还利于对上述第二目标数据进行反复记忆,而不再限于一次性显示全部第二目标数据,进而克服相关技术中数据显示灵活性较低的问题。
附图说明
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1是根据相关技术的一种数据显示方法的示意图;
图2是根据相关技术的另一种数据显示方法的示意图;
图3是根据本申请实施例的一种可选的数据显示方法的应用环境示意图;
图4是根据本申请实施例的一种可选的数据显示方法的流程图;
图5是根据本申请实施例的一种可选的数据显示方法的示意图;
图6是根据本申请实施例的另一种可选的数据显示方法的示意图;
图7是根据本申请实施例的又一种可选的数据显示方法的示意图;
图8是根据本申请实施例的又一种可选的数据显示方法的示意图;
图9是根据本申请实施例的又一种可选的数据显示方法的示意图;
图10是根据本申请实施例的又一种可选的数据显示方法的示意图;
图11是根据本申请实施例的又一种可选的数据显示方法的示意图;
图12是根据本申请实施例的又一种可选的数据显示方法的示意图;
图13是根据本申请实施例的又一种可选的数据显示方法的示意图;
图14是根据本申请实施例的一种可选的数据显示装置的示意图;
图15是根据本申请实施例的一种可选的数据显示终端的示意图。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
根据本申请实施例的一个方面,提供了一种数据显示方法的实施例,作为一种可选的实施方式,该数据显示方法可以但不限于应用于如图3所示的应用场景,该应用场景为一种移动终端与网络服务器构成的数据交互系统,终端302获取用于请求显示数据的数据显示请求,响应该数据显示请求通过网络304向服务器306获取上述词条,并在客户端的显示界面上显示上述词条,其中,该被请求的词条包括第一目标数据以及第二目标数据,第一目标数据与第二目标数据之间具有预定关联关系,且第二目标数据在显示界面中被隐藏显示,根据对图层执行的预定操作确定目标区域, 其中,该图层与第二目标数据相匹配,显示目标区域中的第二目标数据。
此外,在本实施例,上述数据显示方法还可以但不限于应用于以下场景(图中未示出)中,将上述词条缓存在客户端中,也就是说,获取到数据显示请求后,可直接从客户端的缓存中获取上述所要显示的词条,而无需通过网络向服务器请求,以达到减少等待的时长,简化交互操作的效果。
在本实施例中,响应获取到的数据显示请求,在客户端的显示界面中显示词条,其中,词条中包括第一目标数据及第二目标数据,第一目标数据与第二目标数据之间具有预定关联关系,第二目标数据在显示界面中被隐藏显示,然后,对与第二目标数据相匹配的图层执行预定操作,根据该预定操作确定目标区域,以显示目标区域中的第二目标数据。也就是说,在显示所请求的词条后,其中,词条中的第二目标数据在显示界面中被隐藏显示,对与第二目标数据相匹配的图层执行预定操作,根据该预定操作确定用于显示第二目标数据的目标区域,以实现灵活控制所要显示的第二目标数据的效果,还利于对上述第二目标数据进行反复记忆,而不再限于一次性显示全部第二目标数据,进而克服相关技术中数据显示灵活性较低的问题。
可选地,在本实施例中,上述终端可以包括但不限于以下至少之一:手机、平板电脑、笔记本电脑、台式PC机、智能电视及其他安装有数据转换客户端的硬件设备。上述网络可以包括但不限于以下至少之一:广域网、城域网、局域网。上述只是一种示例,本实施例对此不做任何限定。
根据本申请实施例,提供了一种数据显示方法,如图4所示,该方法包括:
S402,获取数据显示请求;
S404,响应数据显示请求显示界面中显示所请求的词条,其中,词条中包括第一目标数据及第二目标数据,第一目标数据与第二目标数据之间具有预定关联关系,第二目标数据在显示界面中被隐藏显示;;
S406,根据对图层执行的预定操作确定目标区域,其中,图层与第二目标数据相匹配;
S408,显示目标区域中的第二目标数据。
可选地,在本实施例中,上述数据显示方法可以但不限于应用于数据转换应用客户端中,例如用于进行语言翻译的应用客户端,此处需要说明的是,同时也可以是其他用于实现数据转换的应用客户端,这些应用客户端中所显示的词条中包括具有预定关联关系的第一目标数据与第二目标数据,如古诗词与现代文、词语和成语及谚语等与对应解析、儿童类识图与名称、以及趣味游戏等其他相应的具有关联关系的数据等。第一目标数据与第二目标数据之间的关联关系可以根据实际经验或用户的需求进行设置,例如,可以是翻译、解释、说明等,本实施例中在此不做任何限定。
此外,在本实施例中,上述词条中的第一目标数据、第二目标数据及二者之间的关联关系可以在客户端中灵活配置,而不限于获取关联关系预先固定的词条。需要说明的是,上述词条中的第一目标数据可以为单词、单词组合、语句或图片,本实施例中对此不做任何限定。在本实施例中,词条不仅仅限制于仅包含第一目标数据与第二目标数据两条数据,可以同时包含第一目标数据、第二目标数据以及第三目标数据等多个目标数据,该词条包含的多个目标数据之间均具有关联关系,其中,至少一个目标数据被隐藏显示。
在具体的应用场景中,以上述的语言翻译的应用客户端为例,在上述应用客户端获取到数据显示请求后,客户端响应数据显示请求在显示界面中显示所请求的词条,其中,每个词条包括第一目标数据(即原文数据)及第二目标数据(即译文数据),第一目标数据(即原文数据)与第二目标数据(即译文数据)之间具有预定关联关系,第二目标数据(即译文数据)在客户端的显示界面中被图层隐藏显示,其中,该图层与第二目标数据(即译文数据)相匹配,以能够遮挡第二目标数据(即译文数据)实现第二目标数据被隐藏显示的效果,然后,根据对图层执行的预定操作确定 目标区域,以显示上述目标区域中的第二目标数据(即译文数据)。具体的,可以获取对上述图层执行预定操作所生成的轨迹,将该轨迹所覆盖区域作为目标区域,并通过清除上述目标区域中的图层,以显示出目标区域中的第二目标数据,从而实现根据预定操作对应的轨迹灵活控制在客户端显示界面所要显示的第二目标数据。
需要说明的是,在本实施例中,响应数据显示请求,在显示界面中显示所请求的词条,其中,词条中包括第一目标数据及第二目标数据,第一目标数据与第二目标数据之间具有预定关联关系,第二目标数据在显示界面中被隐藏显示,然后,对与第二目标数据相匹配的图层执行预定操作,根据该预定操作确定目标区域,以显示目标区域中的第二目标数据。也就是说,在显示所请求的词条后,其中,词条中的第二目标数据在显示界面中被隐藏显示,对与第二目标数据相匹配的图层执行预定操作,根据该预定操作确定用于显示第二目标数据的目标区域,以实现灵活控制所要显示的第二目标数据的效果,还利于对上述第二目标数据进行反复记忆,而不再限于一次性显示全部第二目标数据,进而克服相关技术中数据显示灵活性较低的问题。
可选地,在本实施例中,上述与第二目标数据相匹配的图层可以但不限于为覆盖在第二目标数据上的独立的图层。换言之,第一目标数据与第二目标数据为同一个图层,在第二目标数据上再遮盖另一个图层。该图层(覆盖在第二目标数据上的独立图层)经过预定图像处理后,用于遮盖第二目标数据,使得第二目标数据在显示界面被隐藏显示。也就是说,通过执行清除该图层的操作,将实现显示图层所覆盖的第二目标数据的效果。
需要说明的是,该预定图像处理可以包括但不限于对图层执行以下处理:高斯模糊处理、马赛克处理、配置显示有预定内容的图片。其中,上述预定内容可以包括但不限于,商业广告、公益广告及用于提示第二目标数据的提示信息等,在此不做任何限定。
也就是说,为了实现遮挡效果,上述覆盖在第二目标数据上的图层可 以为经过高斯模糊处理后的第一图层,也可以为经过马赛克处理后的第二图层,还可以为显示有预定内容的图片构成的图层。上述仅是一种示例,本实施例中对于其他实现遮挡效果的图层的其他形式不做任何限定。
此外,在本实施例中,上述与第二目标数据相匹配的图层还可以但不限于为携带第二目标数据的原始的图层(第二目标数据所在图层),换言之,第一目标数据与第二目标数据为两个分离的图层,该图层(第二目标数据所在图层)经过预定图像处理后,将使得第二目标数据在显示界面被隐藏显示。也就是说,通过对上述预定图形处理过程执行逆运算,将实现显示图层中的第二目标数据的效果。需要说明的是,该预定图像处理可以包括但不限于在第二目标数据所在图层进行加盖乱码及花纹等,通过混合显示将第二目标数据模糊显示在显示界面中,以达到隐藏显示的目的;
可选地,在本实施例中,响应数据显示请求在显示界面中显示所请求的词条可以包括但不限于:在显示界面中显示满足预定条件的词条,其中,预定条件携带在数据显示请求中。
需要说明的是,在本实施例中,上述满足预定条件的词条可以包括但不限于以下至少之一:预定存储时间所存储的词条、预定标识标记的词条、操作频率大于预定阈值的词条。上述仅是一种示例,本实施例中还可以配置其他预定条件,在此不做任何限定。
可选地,在本实施例中,根据对图层执行的预定操作确定目标区域具体包括:首先获取对图层执行的操作模式,该操作模式可以为触屏滑动操作、吹气感应操作、摇动或震动感应操作、声音控制操作等,在获取到了当前的操作模式后,根据该操作模式确定与预定操作相匹配的目标区域。
需要说明的是,上述操作方式只是本实施例的操作模式一种示例,本实施例中操作模式可以是单独的一种操作方式,如仅触屏滑动操作,也可以是多种操作方式相组合,如触屏滑动操作与吹气操作相组合,具体的操作方式与组合方式在此不做限定。
可选地,在本实施例中,根据操作模式确定与预定操作相匹配的目标区域可以包括:
1)触屏滑动操作。
需要说明的是,在执行该触屏滑动操作的过程中,可以根据用户的需求预先设定滑屏触动操作在显示屏上的轨迹宽度,同时也可以根据滑屏触动操作对显示屏的压力来设定,上述仅是一种示例,本实施例中对于其他触屏滑动操作的轨迹宽度设定的其他形式不做任何限定。
此外,在用户触屏滑动操作过程中,触屏滑动操作可以但不限于为点击或持续滑动的操作。其中,当触屏滑动操作为持续滑动时,可以根据上述滑动过程形成的运动轨迹得到目标区域;当触屏滑动操作为点击操作时,也可以根据点击操作的操作位置得到目标区域,如可以预先设置点击操作对应的轨迹判断方式,具体的可以为当触屏滑动操作为点击时,可以显示一个圆形的运动轨迹,即以点击位置为圆心的一个圆形区域或椭圆形区域,也可以为显示一行的运动轨迹,具体运动轨迹的半径、长度、宽度以及形状等可以根据实际经验去设定,在此不做任何限定。
2)气压感应操作。
需要说明的是,在执行该气压感应操作的过程中,根据该第一感应区域的位置和/或移动轨迹确定对应的目标区域,例如(1)在获取到对图层执行吹气动作后生成一个第一感应区域的情况下,根据第一感应区域所在的位置确定目标区域。也就是说,在该第一感应区域移动时,始终将第一感应区域所在位置确定为目标区域;(2)在获取到对图层执行吹气动作后生成一个第一感应区域的情况下,根据第一感应区域的移动轨迹确定目标区域。也就是说在该第一感应区域移动时,根据第一感应区域的移动轨迹确定目标区域;(3)在获取到对图层执行吹气动作后生成至少两个第一感应区域的情况下,根据至少两个第一感应区域所在的位置确定目标区域。也就是说依次生成多个第一感应区域,将多个第一感应区域所在的位置确定为目标区域。上述仅是一种示例,本实施例中对此不做任何限定。
3)震动感应操作。
需要说明的是,在执行该震动感应操作的过程中,先在图层上确定参考点,基于该参考点在图层上生成与震动感应操作相匹配的第一感应区域,其中,震动感应操作的震动频率和/或震动力度越大,基于参考点所生成的目标区域的面积越大。
可选地,在本实施例中,在响应数据显示请求在显示界面中显示所请求的词条之前,还可以包括但不限于以下之一:
1)在显示界面上显示提示信息,其中,提示信息用于提示是否执行预定操作;并在确认执行预定操作的情况下,在显示界面上显示词条;
2)获取对显示界面上所显示的操作按钮执行点击操作所生成的操作指令,并在接收到操作指令后,响应该操作指令在显示界面上显示词条,其中,操作按钮用于指示执行预定操作。
需要说明的是,在本实施例中,上述词条可以但不限于预先在该客户端收藏的目标词条,也可以是本地储存的词条,其中,在进入收藏界面显示上述词条之前,可以但不限于执行上述步骤,以确认是否显示收藏界面中对第二目标数据覆盖有图层的词条。
可选地,在本实施例中,在获取数据显示请求之前,还可以包括但不限于:更新多个词条的排序标识。其中,该排序标识根据词条的存储时间和/或词条被执行预定操作的操作频率确定,然后按照排序标识更新多个词条的排列顺序。也就是说,通过实时更新词条列表,以保证所显示的词条列表更加符合用户的实时需求,达到提高显示的准确性的效果。
可选地,在本实施例中,在获取数据显示请求之前,还可以包括但不限于:获取词条收藏请求,其中,词条收藏请求中携带有与待收藏的目标词条相匹配的哈希值,该哈希值根据目标词条的第一目标数据、第一目标数据的数据类型以及第二目标数据的数据类型确定,当进行获取词条收藏请求时,首先根据哈希值查找该目标词条,在未查找到目标词条时,收藏 该目标词条。也就是说,收藏界面中的词条分别配置一个用于唯一标识词条的哈希值,从而实现根据该哈希值以保证词条列表中的词条的唯一性。
通过本申请提供的实施例,响应数据显示请求,在显示界面中显示所请求的词条,其中,词条中包括第一目标数据及第二目标数据,第一目标数据与第二目标数据之间具有预定关联关系,第二目标数据在显示界面中被隐藏显示,然后,对与第二目标数据相匹配的图层执行预定操作,根据该预定操作确定目标区域,以显示目标区域中的第二目标数据。也就是说,在显示所请求的词条后,其中,词条中的第二目标数据在显示界面中被隐藏显示,对与第二目标数据相匹配的图层执行预定操作,根据该预定操作确定用于显示第二目标数据的目标区域,以实现灵活控制所要显示的第二目标数据的效果,还利于对上述第二目标数据进行反复记忆,而不再限于一次性显示全部第二目标数据,进而克服相关技术中数据显示灵活性较低的问题。
作为一种可选的方案,在响应数据显示请求在显示界面中显示所请求的词条之前,包括:
S1,生成与第二目标数据相匹配的图层;
S2,将图层覆盖至词条中的第二目标数据上,以使在显示界面中显示词条时,第二目标数据被隐藏显示。
可选地,在本实施例中,可以但不限于根据预先配置的显示布局信息生成与第二目标数据相匹配的图层,其中,所生成的图层的显示高度为第二目标数据的显示高度。从而实现节省显示空间,提高空间利用率的目的,进而改善显示效果。
可选地,在本实施例中,生成与第二目标数据相匹配的图层包括以下至少之一:
1)对图层按照预定参数执行高斯模糊处理;
具体结合图5所示进行说明,假设以应用于进行语言翻译的应用客户 端中,在第二目标数据上覆盖独立的图层为例。其中,每个词条包括第一目标数据(即原文数据)及第二目标数据(即译文数据),且上述第二目标数据(即译文数据)分别被覆盖图层隐藏显示。如图5所示上述所生成的图层可以为按照预定参数进行高斯模糊处理后的图层,将上述图层覆盖至对应的词条的第二目标数据上,在获取到对图层执行的预定操作后,则可根据该预定操作所确定的目标区域,例如执行触屏滑动操作,清除上述目标区域中的图层,如图5所示,以显示出部分第二目标数据(即译文数据)。
2)对图层执行马赛克处理;
具体结合图6(a)-(b)所示进行说明,假设以应用于进行语言翻译的应用客户端中为例。其中,每个词条包括第一目标数据(即原文数据)及第二目标数据(即译文数据),且上述第二目标数据(即译文数据)分别被覆盖图层隐藏显示。如图6(a)所示上述所生成的图层可以为按照马赛克处理后的图层,若第一目标数据与第二目标数据位于同一图层,则将上述经马赛克处理后的独立的图层覆盖至各自对应的词条的第二目标数据上,若第一目标数据与第二目标数据为两个分离的图层,则对第二目标数据所在的图层进行马赛克处理,相应的,在获取到对图层执行的预定操作后,则可根据该预定操作所确定的目标区域,例如执行触屏滑动操作,若第一目标数据与第二目标数据位于同一图层,则通过清除覆盖在第二目标数据上的被高斯模糊处理后的独立的图层;若第一目标数据与第二目标数据为两个分离的图层,则对第二目标数据所在图层进行还原处理。从而实现通过预定操作还原目标区域中被隐藏显示的第二目标数据,如图6(b)所示,以显示出部分第二目标数据(即译文数据)。
3)将图层配置为显示有预定内容的图片。
具体结合图7(a)-(b)所示进行说明,假设以应用于进行语言翻译的应用客户端中为例。其中,每个词条包括第一目标数据(即原文数据)及第二目标数据(即译文数据),且上述第二目标数据(即译文数据)分 别被覆盖图层隐藏显示。如图7(a)所示上述所生成的图层可以为包含预定内容的图片所构成的图层,将上述图层覆盖至各自对应的词条的第二目标数据上,在获取到对图层执行的预定操作后,则可根据该预定操作所确定的目标区域,例如触屏滑动操作,清除上述目标区域中的图层,如图7(b)所示,以显示出部分或全部第二目标数据(即译文数据),其中,第二条第二目标数据的图层已全部清除,因而将显示第二目标数据的全部内容。需要说明的是,第二目标数据对应的图层标识也可做相应调整,如标识为“睁眼”,表示点击该标识后可全部显示,标识为“闭眼”,表示点击该标识后可全部隐藏显示,如图7(b)所示,全部第二目标数据已被显示,则图层标识也将对应显示为“闭眼”,以便于恢复覆盖图层的显示模式。
需要说明的是,上述预定内容可以包括但不限于用于推广的商业广告。公益广告等,例如图7所示;此外,也可以是与当前所覆盖的第二目标数据相关的提示信息等。上述仅是一种示例,本实施例中对此不做任何限定。
通过本申请提供的实施例,通过为第二目标数据生成相匹配的图层,以使所生成的图层完全遮盖对应的第二目标数据,而且不占用额外的显示空间,进而达到提高显示界面的显示空间利用率的效果。此外,生成不同样式的图层,或再次利用图层显示其他预定内容,不仅丰富了显示内容,还改善了显示效果,以吸引更多关注度。
作为一种可选的方案,响应数据显示请求在显示界面中显示所请求的词条包括:
S1,在显示界面中显示满足预定条件的词条,其中,预定条件携带在数据显示请求中。
可选地,在本实施例中,在显示界面中显示满足预定条件的词条包括以下至少之一:
1)在显示界面中显示在预定存储时间所存储的词条;
2)在显示界面中显示使用预定标识标记的词条;
3)在显示界面中显示操作频率大于预定阈值的词条。
在具体的应用场景中,假设以应用于进行语言翻译的应用客户端中为例。为了方便进行词条的筛选,一般需要对词条设置预定条件,一般可以为在数据显示请求中可以设置一些预定条件,如在显示界面中显示在预定时间存储的词条,也可以为在预定时间段内存储的的词条,具体到可以为一天、一星期、一月的期限。此外,也可以显示用户预先标识标记的词条,具体在语言翻译的应用客户端中,可以为生僻单词、句子等,也可以是用户标记的重点记忆的词条等,另一方面,该预定条件可以为在显示界面中显示操作频率大于预定阈值的词条,具体在语言翻译的应用客户端中,可以是用户的收藏的词条中显示操作频率大于一定阈值具体可以根据实际经验进行设定。
通过本申请提供的实施例,通过在显示界面中显示满足预定条件的词条,可以快速选择显示满足用户需求的词条,以简化查找操作,从而节省查找时间,进而达到快速显示的效果,提升用户的使用体验。
作为一种可选的方案,根据对图层执行的预定操作确定目标区域包括:
S1,获取对图层所执行的操作模式;
S2,根据操作模式确定与预定操作相匹配的目标区域。
可选地,根据操作模式确定与预定操作相匹配的目标区域包括以下情况:
作为一种可选的实施方式,根据操作模式确定与预定操作相匹配的目标区域包括:
S1,在操作模式指示对图层所执行的操作为触屏滑动操作的情况下,获取触屏滑动操作在图层上执行触屏动作后所生成的第一轨迹;
S2,根据第一轨迹确定与触屏滑动操作匹配的目标区域。
可选地,在本实施例中,上述第一轨迹的轨迹宽度可以为预设宽度, 也可以为与触屏动作的触屏压力相匹配的宽度,其中,触屏压力越大,轨迹越宽。上述仅是一种示例,本实施例中对此不做任何限定。
具体结合图6(a)-(b)所示进行说明,如图6(a)所示的第二目标数据均已被隐藏显示,假设获取到对图层所执行的预定操作的操作类型指示为触屏滑动操作,且该触屏滑动操作在图层上的滑动轨迹如图6(b),其中,对显示屏中第一个词条“幸福”的译文数据上的图层执行触屏滑动操作,其中,该触屏动作的触屏压力较大,对应轨迹也较宽;而对第二词条“happy”的译文数据上的图层也执行了触屏滑动操作,该触屏动作的触屏压力较小,对应轨迹也较窄,根据上述与触屏动作对应的轨迹以确定与触屏滑动操作相匹配的目标区域。
需要说明的是,上述触屏滑动操作可以但不限于为点击或持续滑动的操作。对应的第一轨迹可以但不限于为:1)当触屏滑动操作为持续滑动时,根据上述滑动过程形成的运动轨迹得到第一轨迹,进而将该第一轨迹作为目标区域;2)当触屏滑动操作为点击操作时,根据点击操作的操作位置得到第一轨迹,进而将该第一轨迹作为目标区域,如可以为当触屏滑动操作为点击时,可以显示一个圆形的运动轨迹,即以点击位置为圆心的一个圆形区域或椭圆形区域,本实施例中在此不做任何限定。
需要说明的是,在本实施例中,上述触屏滑动操作也可称之为涂抹操作,对应的运动轨迹可以但不限于根据在图层上执行涂抹操作后生成的涂抹轨迹得到。上述仅是一种示例,本实施例中对此不做任何限定。
通过本申请提供的实施例,在操作模式指示对图层所执行的操作为触屏滑动操作的情况下,获取触屏滑动操作在图层上执行触屏动作后产生的第一轨迹,根据第一轨迹确定与触屏滑动操作匹配的目标区域,从而实现根据触屏动作所产生的第一轨迹确定目标区域,以显示出目标区域中的第二目标数据。通过执行触屏滑动操作(即涂抹操作)以实现根据灵活控制所生成的轨迹(即涂抹轨迹),进而实现灵活控制显示在轨迹(即涂抹轨迹)所覆盖的目标区域中的第二目标数据,以改善记忆效果。
作为另一种可选的实施方式,根据操作模式确定与预定操作相匹配的目标区域包括:
S1,在操作模式指示对图层所执行的操作为气压感应操作的情况下,获取气压感应操作在图层上执行吹气动作后所生成的第二轨迹;
S2,根据第二轨迹确定与气压感应操作匹配的目标区域。
可选地,在本实施例中,在获取到对图层执行吹气动作后生成一个第一感应区域的情况下,根据第一感应区域所在的位置确定第二轨迹,其中,第一感应区域所占的区域面积与气压感应操作所指示的气流压力相匹配。
具体结合图8(a)-(c)所示进行说明,如图8(a)所示的第二目标数据均已被隐藏显示,假设获取到对图层所执行的预定操作的操作模式指示为气压感应操作,且仅执行了一次该气压感应操作,则在图层上生成如图8(b)所示的第一感应区域(如图中所示透明圆圈),其中,气压感应操作所指示的气流压力越大,第一感应区域的面积越大(即该感应区域的半径越大)。根据第一感应区域所在的位置确定第一轨迹。例如,通过驱动第一感应区域从如图8(b)所示的位置移动(如滑动第一感应区域)到如图8(c)所示的位置后,在第一感应区域移动过程中,上述第一轨迹所覆盖的目标区域的面积始终与第一感应区域的面积一致,始终将第一感应区域所在位置确定为目标区域。
可选地,在本实施例中,在获取到对图层执行吹气动作后生成一个第一感应区域的情况下,根据第一感应区域的移动轨迹确定第二轨迹,其中,第一感应区域所占的区域面积与气压感应操作所指示的气流压力相匹配。
具体结合图9(a)-(c)所示进行说明,如图9(a)所示的第二目标数据均已被隐藏显示,假设获取到对图层所执行的预定操作的操作模式指示为气压感应操作,且仅执行了一次该气压感应操作,则在图层上生成如图9(b)所示的第一感应区域(如图中所示透明圆圈),其中,气压感应操作所指示的气流压力越大,第一感应区域的面积越大。根据第一感应区 域的移动轨迹确定运动轨迹。例如,通过驱动第一感应区域从如图9(b)所示的位置移动(如滑动第一感应区域)到如图9(c)所示的位置后,则可根据第一感应区域在图层上的移动轨迹所覆盖的区域得到第二轨迹,根据第一感应区域对应的第二轨迹确定气压感应操作所匹配的目标区域,实现目标区域相匹配的第二目标数据显示。
可选地,在本实施例中,在获取到对图层执行吹气动作后生成至少两个第一感应区域的情况下,根据至少两个第一感应区域所在的位置确定第二轨迹,其中,第一感应区域所占的区域面积与气压感应操作所指示的气流压力相匹配。
具体结合图10(a)-(b)所示进行说明,如图10(a)所示的第二目标数据均已被隐藏显示,假设获取到对图层所执行的预定操作的操作模式指示为气压感应操作,且执行了多次该气压感应操作,则在图层上生成如图10(b)所示的多个第一感应区域(如图中所示透明圆圈),其中,气压感应操作所指示的气流压力越大,第一感应区域的面积越大。根据多个第一感应区域所在的位置得到如图10(b)所示的第二轨迹,根据第二轨迹确定气压感应操作所匹配的目标区域,实现目标区域相匹配的第二目标数据显示。
通过本申请提供的实施例,在操作模式指示对图层所执行的操作为气压感应操作的情况下,获取气压感应操作在图层上执行吹气动作后所生成的第二轨迹;根据第一感应区域的移动轨迹确定第二轨迹,从而根据第二轨迹来确定与气压感应操作匹配的目标区域,或在获取到对图层执行吹气动作后生成至少两个第一感应区域的情况下,根据至少两个第一感应区域所在的位置确定第二轨迹,通过在图层上执行气压感应操作,以生成与气压感应操作所指示的气流压力相匹配的第一感应区域,从而实现根据该第一感应区域的位置和/或移动轨迹确定与气压感应操作匹配的目标区域,根据第二轨迹确定与气压感应操作匹配的目标区域,以实现清除目标区域中的图层,以显示目标区域中的第二目标数据。通过执行气压感应操作以灵 活控制所生成的运动轨迹,进而实现灵活控制显示在运动轨迹所覆盖的目标区域中的第二目标数据,以改善记忆效果。
作为又一种可选的实施方式,根据操作模式确定与预定操作相匹配的目标区域包括:
S1,在操作模式指示对图层所执行的操作为震动感应操作的情况下,获取震动感应操作基于图层上的参考点执行震动动作后所生成的第三轨迹;
S2,根据第三轨迹确定与震动感应操作匹配的目标区域。
需要说明的是,在获取到操作模式指示对图层所执行的操作为震动感应操作后,首先确定震动感应操作基于图层上的参考点,可以为与当前显示界面中第一条的第二目标数据匹配的图层的任意顶点,也可以根据用户自行去设定参考点的位置,然后获取震动感应基于图层参考点执行震动动作后所生成的第三轨迹,若终端为手机,则可以利用“摇一摇”的方式执行震动动作,其中,震动感应操作的震动频率和/或震动力度越大,基于参考点所生成的第三轨迹的面积越大,然后根据第三轨迹确定与震动感应操作匹配的目标区域,以显示与目标区域中的第二目标数据,例如当执行完当前第二目标数据的显示后,则移动至与下一条第二目标数据对应的参考点位置,或获取用户所选择的下一个参考点位置。
可选地,在本实施例中,上述参考点可以但不限于为图层上的任意一点,通过终端内置的速度和力度传感器,获取终端的震动频率和/或震动力度,以生成相对参考点移动的第三轨迹。例如,以参考点为圆心,根据震动频率和/或震动力度确定相对参考点的半径,以生成基于上述参考点对应的第三轨迹。
通过本申请提供的实施例,在操作模式指示对图层所执行的操作为震动感应操作的情况下,获取震动感应操作基于图层上的参考点执行震动动作后所生成的第三轨迹,根据第三轨迹确定与震动感应操作匹配的目标区 域,从而实现将第三轨迹所覆盖的目标区域中的图层去除,以显示出目标区域中的第二目标数据。通过执行震动感应操作以灵活控制所生成的运动轨迹,进而实现灵活控制显示在运动轨迹所覆盖的目标区域中的第二目标数据,以改善记忆效果。
作为一种可选的方案,在响应数据显示请求在显示界面中显示所请求的词条之前,还包括以下至少之一:
1)在显示界面上显示提示信息,其中,提示信息用于提示是否执行预定操作;在确认执行预定操作的情况下,在显示界面上显示词条;
2)获取对显示界面上所显示的操作按钮执行点击操作所生成的操作指令,响应操作指令在显示界面上显示词条,其中,操作按钮用于指示执行预定操作。
需要说明的是,在本实施例中,上述词条可以但不限于为用户第一账号预先在该客户端收藏的目标词条,也可以是用户基于客户端本地储存的目标词条,其中,在进入收藏界面显示上述词条之前,可以但不限于执行上述步骤,以确认是否显示收藏界面中对第二目标数据覆盖有图层的词条。
具体结合图11(a)-(b)所示进行说明,假设在获取到数据显示请求后,且在进入收藏界面显示上述词条之前,以弹窗形式弹出如图11(a)所示的提示信息,以提示用户“是否执行预定操作”(例如,以“涂抹”操作为例),并在确认执行预定操作的情况下,显示上述第二目标数据被覆盖图层的词条,如图11(b)所示。
此外,在本实施例中,还可以但不限于在显示界面设置用于执行预定操作的操作按钮。例如,在进入收藏界面后,点击“涂抹按钮”后,将收藏界面显示为覆盖有图层的词条。
通过本申请提供的实施例,通过不同方式进入对第二目标数据覆盖有图层的词条的界面,以提高显示的多样性,丰富显示方式。
作为一种可选的方案,在所请求的词条为多个词条的情况下,在响应 数据显示请求在显示界面中显示所请求的词条之前,还包括:
S1,更新多个词条的排序标识,其中,排序标识根据词条的存储时间和/或词条被执行预定操作的操作频率确定;
S2,按照排序标识更新多个词条的排列顺序。
可选地,在本实施例中,更新多个词条分别对应的排序标识包括以下至少之一:
1)在检测到新增词条时,更新多个词条分别对应的排序标识;
2)在多个词条中至少一个词条执行预定操作后,更新多个词条对应的排序标识。
需要说明的是,在具体的应用场景中,词条的存在方式也可以是列表的形式存在,以下为了方便描述,所以在本实施例中以词条列表来进行描述词条排列。
具体结合图12所示进行说明,假设按照存储时间戳得到如图12(a)所示的词条列表,在对词条“开心”频繁执行触屏滑动操作(即涂抹操作)进行记忆后,词条“开心”的排序标识将会被更新,进而词条列表也将被更新,得到如图12(b)所示的词条列表。
可选地,在本实施例中,上述排序标识可以但不限于是为每个词条匹配的排序分数(sort_score),其中,该排序分数可以但不限于根据词条的存储时间(collect_date)及词条被执行预定操作(例如涂抹操作)的操作频率(action_count)进行动态计算,保证新增词条以及高频操作的词条可以被优先显示。其中,在本实施例中,上述存储时间可以但不限于为词条被收藏到词条列表的时间。上述仅是一种示例,本实施例中对此不做任何限定。
作为一种可选的实施例,上述排序分数(sort_score)可以但不限于根据以下公式计算得到:
days_ago=(now–collect_date).days();
action_score=1+ln(1+action_count);
score_factor=1+(2/(1+days_ago)/7));
sort_score=score_factor*action_score;
需要说明的是,在本实施例中,排序分数sort_score与存储时间呈线性关系,且存储时间越短,排序分数越高,从而实现通过线性关系控制最新收藏的词条可以被优先显示;排序分数sort_score与操作频率呈非线性关系,且操作频率越高,排序分数越高,从而实现通过非线性关系控制操作频率的数值不会增加计算负荷的情况下,将高频操作的词条在词条列表中优先显示。
通过本申请提供的实施例,通过实时更新词条列表的排列顺序,以保证词条列表中新增的词条及高频操作的词条可以在词条列表中优先显示,从而改善显示效果,更便于用户记忆。
作为一种可选的方案,在获取数据显示请求之前,还包括:
S1,获取词条收藏请求,其中,词条收藏请求中携带有与待收藏的目标词条相匹配的哈希值,哈希值根据目标词条的第一目标数据,第一目标数据的数据类型及第二目标数据的数据类型确定;
S2,根据哈希值查找目标词条;
S3,在未查找到目标词条时,收藏目标词条。
可选地,在本实施例中,可以但不限于根据目标词条的第一目标数据,第一目标数据的数据类型及第二目标数据的数据类型确定与该目标词条匹配的哈希值。例如,根据第一目标数据(如原文数据“tree”),第一目标数据的数据类型(例如源语言类型(如EN)及第二目标数据的数据类型(例如目标语言类型(如CN)),利用哈希hash算法生成一个与该目标词条唯一对应哈希值(hashcode)。
可选地,在本实施例中,在主界面显示的词条中,可以但不限于通过单击感兴趣的目标词条,以实现对目标词条的收藏存储操作。可以如图13所示,点击感兴趣的词条“happy”,然后,在主界面将显示该词条“happy”对应操作工具条(工具bar),如图13所示,点击“收藏按钮”后,即可对该词条“happy”进行收藏操作。此外,若当前是已收藏的词条,则上述点击操作将进行取消收藏操作。
在收藏目标词条的过程中,获取该词条“happy”对应的哈希值hashcode,查找预先存储的所有词条中是否包括该词条“happy”。例如,通过is_collect标记位查找,若未找到对应词条的is_collect标记位,则进行收藏操作,同时对is_collect标记位进行相应修改,例如将is_collect标记位修改标记为“1”;若找到对应词条的is_collect标记位,则进行取消收藏操作,同时对is_collect标记位进行相应修改,例如,将is_collect标记位修改标记为“0”。
通过本申请提供的实施例,通过为词条配置唯一的哈希值,从而实现避免重复存储相同的词条,在节省存储空间的同时,达到去重目的。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本申请所必须的。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所 述的方法。
根据本申请实施例的另一方面,还提供了一种用于实施上述数据显示方法的数据显示装置,如图14所示,该装置包括:
1)第一获取单元1402,设置为获取数据显示请求;
2)第一显示单元1404,设置为响应所述数据显示请求在显示界面中显示所请求的词条,其中,所述词条中包括第一目标数据及第二目标数据,所述第一目标数据与所述第二目标数据之间具有预定关联关系,所述第二目标数据在所述显示界面中被隐藏显示;
3)确定单元1406,设置为根据对图层执行的预定操作确定目标区域,其中,所述图层与所述第二目标数据相匹配;
4)第二显示单元1408,设置为显示所述目标区域中的所述第二目标数据。
可选地,在本实施例中,上述数据显示装置可以但不限于应用于数据转换应用客户端中,例如用于进行语言翻译的应用客户端,此处需要说明的是,同时也可以是其他用于实现数据转换的应用客户端,这些应用客户端中所显示的词条中包括具有预定关联关系的第一目标数据与第二目标数据,如古诗词与现代文、词语和成语及谚语等与对应解析、儿童类识图与名称、以及趣味游戏等其他相应的具有关联关系的数据等。第一目标数据与第二目标数据之间的关联关系可以根据实际经验或用户的需求进行设置,例如,可以是翻译、解释、说明等,本实施例中在此不做任何限定。
此外,在本实施例中,上述词条中的第一目标数据、第二目标数据及二者之间的关联关系可以在客户端中灵活配置,而不限于获取关联关系预先固定的词条。需要说明的是,上述词条中的第一目标数据可以为单词、单词组合、语句或图片,本实施例中对此不做任何限定。在本实施例中,词条不仅仅限制于仅包含第一目标数据与第二目标数据两条数据,可以同时包含第一目标数据、第二目标数据以及第三目标数据等多个目标数据, 该词条包含的多个目标数据之间均具有关联关系,其中,至少一个目标数据被隐藏显示。
在具体的应用场景中,以上述的语言翻译的应用客户端为例,在上述应用客户端获取到数据显示请求后,客户端响应数据显示请求在显示界面中显示所请求的词条,其中,每个词条包括第一目标数据(即原文数据)及第二目标数据(即译文数据),第一目标数据(即原文数据)与第二目标数据(即译文数据)之间具有预定关联关系,第二目标数据(即译文数据)在客户端的显示界面中被图层隐藏显示,其中,该图层与第二目标数据(即译文数据)相匹配,以能够遮挡第二目标数据(即译文数据)实现第二目标数据被隐藏显示的效果,然后,根据对图层执行的预定操作确定目标区域,以显示上述目标区域中的第二目标数据(即译文数据)。可以获取对上述图层执行预定操作所生成的轨迹,将该轨迹所覆盖区域作为目标区域,并通过清除上述目标区域中的图层,以显示出目标区域中的第二目标数据,从而实现根据预定操作对应的轨迹灵活控制在客户端显示界面所要显示的第二目标数据。
需要说明的是,在本实施例中,响应数据显示请求,在显示界面中显示所请求的词条,其中,词条中包括第一目标数据及第二目标数据,第一目标数据与第二目标数据之间具有预定关联关系,第二目标数据在显示界面中被隐藏显示,然后,对与第二目标数据相匹配的图层执行预定操作,根据该预定操作确定目标区域,以显示目标区域中的第二目标数据。也就是说,在显示所请求的词条后,其中,词条中的第二目标数据在显示界面中被隐藏显示,对与第二目标数据相匹配的图层执行预定操作,根据该预定操作确定用于显示第二目标数据的目标区域,以实现灵活控制所要显示的第二目标数据的效果,还利于对上述第二目标数据进行反复记忆,而不再限于一次性显示全部第二目标数据,进而克服相关技术中数据显示灵活性较低的问题。
可选地,在本实施例中,上述与第二目标数据相匹配的图层可以但不 限于为覆盖在第二目标数据上的独立的图层。换言之,第一目标数据与第二目标数据为同一个图层,在第二目标数据上再遮盖另一个图层。该图层(覆盖在第二目标数据上的独立图层)经过预定图像处理后,用于遮盖第二目标数据,使得第二目标数据在显示界面被隐藏显示。也就是说,通过执行清除该图层的操作,将实现显示图层所覆盖的第二目标数据的效果。
需要说明的是,该预定图像处理可以包括但不限于对图层执行以下处理:高斯模糊处理、马赛克处理、配置显示有预定内容的图片。其中,上述预定内容可以包括但不限于,商业广告、公益广告及用于提示第二目标数据的提示信息等,在此不做任何限定。
也就是说,为了实现遮挡效果,上述覆盖在第二目标数据上的图层可以为经过高斯模糊处理后的第一图层,也可以为经过马赛克处理后的第二图层,还可以为显示有预定内容的图片构成的图层。上述仅是一种示例,本实施例中对于其他实现遮挡效果的图层的其他形式不做任何限定。
此外,在本实施例中,上述与第二目标数据相匹配的图层还可以但不限于为携带第二目标数据的原始的图层(第二目标数据所在图层),换言之,第一目标数据与第二目标数据为两个分离的图层,该图层(第二目标数据所在图层)经过预定图像处理后,将使得第二目标数据在显示界面被隐藏显示。也就是说,通过对上述预定图形处理过程执行逆运算,将实现显示图层中的第二目标数据的效果。需要说明的是,该预定图像处理可以包括但不限于在第二目标数据所在图层进行加盖乱码及花纹等,通过混合显示将第二目标数据模糊显示在显示界面中,以达到隐藏显示的目的;
可选地,在本实施例中,响应数据显示请求在显示界面中显示所请求的词条可以包括但不限于:在显示界面中显示满足预定条件的词条,其中,预定条件携带在数据显示请求中。
需要说明的是,在本实施例中,上述满足预定条件的词条可以包括但不限于以下至少之一:预定存储时间所存储的词条、预定标识标记的词条、操作频率大于预定阈值的词条。上述仅是一种示例,本实施例中还可以配 置其他预定条件,在此不做任何限定。
可选地,在本实施例中,根据对图层执行的预定操作确定目标区域具体包括:首先获取对图层执行的操作模式,该操作模式可以为触屏滑动操作、吹气感应操作、摇动或震动感应操作、声音控制操作等,在获取到了当前的操作模式后,根据该操作模式确定与预定操作相匹配的目标区域。
需要说明的是,上述操作方式只是本实施例的操作模式一种示例,本实施例中操作模式可以是单独的一种操作方式,如仅触屏滑动操作,也可以是多种操作方式相组合,如触屏滑动操作与吹气操作相组合,具体的操作方式与组合方式在此不做限定。
可选地,在本实施例中,根据操作模式确定与预定操作相匹配的目标区域可以包括:
1)触屏滑动操作。
需要说明的是,在执行该触屏滑动操作的过程中,可以根据用户的需求预先设定滑屏触动操作在显示屏上的轨迹宽度,同时也可以根据滑屏触动操作对显示屏的压力来设定,上述仅是一种示例,本实施例中对于其他触屏滑动操作的轨迹宽度设定的其他形式不做任何限定。
此外,在用户触屏滑动操作过程中,触屏滑动操作可以但不限于为点击或持续滑动的操作。其中,当触屏滑动操作为持续滑动时,可以根据上述滑动过程形成的运动轨迹得到目标区域;当触屏滑动操作为点击操作时,也可以根据点击操作的操作位置得到目标区域,如可以预先设置点击操作对应的轨迹判断方式,具体的可以为当触屏滑动操作为点击时,可以显示一个圆形的运动轨迹,即以点击位置为圆心的一个圆形区域或椭圆形区域,也可以为显示一行的运动轨迹,具体运动轨迹的半径、长度、宽度以及形状等可以根据实际经验去设定,在此不做任何限定。
2)气压感应操作。
需要说明的是,在执行该气压感应操作的过程中,根据该第一感应区 域的位置和/或移动轨迹确定对应的目标区域,例如(1)在获取到对图层执行吹气动作后生成一个第一感应区域的情况下,根据第一感应区域所在的位置确定目标区域。也就是说,在该第一感应区域移动时,始终将第一感应区域所在位置确定为目标区域;(2)在获取到对图层执行吹气动作后生成一个第一感应区域的情况下,根据第一感应区域的移动轨迹确定目标区域。也就是说在该第一感应区域移动时,根据第一感应区域的移动轨迹确定目标区域;(3)在获取到对图层执行吹气动作后生成至少两个第一感应区域的情况下,根据至少两个第一感应区域所在的位置确定目标区域。也就是说依次生成多个第一感应区域,将多个第一感应区域所在的位置确定为目标区域。上述仅是一种示例,本实施例中对此不做任何限定。
3)震动感应操作。
需要说明的是,在执行该震动感应操作的过程中,先在图层上确定参考点,基于该参考点在图层上生成与震动感应操作相匹配的第一感应区域,其中,震动感应操作的震动频率和/或震动力度越大,基于参考点所生成的目标区域的面积越大。
可选地,在本实施例中,在响应数据显示请求在显示界面中显示所请求的词条之前,还可以包括但不限于以下之一:
1)在显示界面上显示提示信息,其中,提示信息用于提示是否执行预定操作;并在确认执行预定操作的情况下,在显示界面上显示词条;
2)获取对显示界面上所显示的操作按钮执行点击操作所生成的操作指令,并在接收到操作指令后,响应该操作指令在显示界面上显示词条,其中,操作按钮用于指示执行预定操作。
需要说明的是,在本实施例中,上述词条可以但不限于预先在该客户端收藏的目标词条,也可以是本地储存的词条,其中,在进入收藏界面显示上述词条之前,可以但不限于执行上述步骤,以确认是否显示收藏界面中对第二目标数据覆盖有图层的词条。
可选地,在本实施例中,在获取数据显示请求之前,还可以包括但不限于:更新多个词条的排序标识。其中,该排序标识根据词条的存储时间和/或词条被执行预定操作的操作频率确定,然后按照排序标识更新多个词条的排列顺序。也就是说,通过实时更新词条列表,以保证所显示的词条列表更加符合用户的实时需求,达到提高显示的准确性的效果。
可选地,在本实施例中,在获取数据显示请求之前,还可以包括但不限于:获取词条收藏请求,其中,词条收藏请求中携带有与待收藏的目标词条相匹配的哈希值,该哈希值根据目标词条的第一目标数据、第一目标数据的数据类型以及第二目标数据的数据类型确定,当进行获取词条收藏请求时,首先根据哈希值查找该目标词条,在未查找到目标词条时,收藏该目标词条。也就是说,收藏界面中的词条分别配置一个用于唯一标识词条的哈希值,从而实现根据该哈希值以保证词条列表中的词条的唯一性。
通过本申请提供的实施例,响应数据显示请求,在显示界面中显示所请求的词条,其中,词条中包括第一目标数据及第二目标数据,第一目标数据与第二目标数据之间具有预定关联关系,第二目标数据在显示界面中被隐藏显示,然后,对与第二目标数据相匹配的图层执行预定操作,根据该预定操作确定目标区域,以显示目标区域中的第二目标数据。也就是说,在显示所请求的词条后,其中,词条中的第二目标数据在显示界面中被隐藏显示,对与第二目标数据相匹配的图层执行预定操作,根据该预定操作确定用于显示第二目标数据的目标区域,以实现灵活控制所要显示的第二目标数据的效果,还利于对上述第二目标数据进行反复记忆,而不再限于一次性显示全部第二目标数据,进而克服相关技术中数据显示灵活性较低的问题。
作为一种可选的方案,本实施例提出的数据显示装置还包括:
1)生成单元,设置为生成与第二目标数据相匹配的图层;
2)覆盖单元,设置为将图层覆盖至词条中的第二目标数据上,以使在显示界面中显示词条时,第二目标数据被隐藏显示。
可选地,在本实施例中,可以但不限于根据预先配置的显示布局信息生成与第二目标数据相匹配的图层,其中,所生成的图层的显示高度为第二目标数据的显示高度。从而实现节省显示空间,提高空间利用率的目的,进而改善显示效果。
可选地,在本实施例中,上述生成单元包括以下至少之一:
(1)第一处理模块,设置为对图层按照预定参数执行高斯模糊处理;
具体结合图5所示进行说明,假设以应用于进行语言翻译的应用客户端中,在第二目标数据上覆盖独立的图层为例。其中,每个词条包括第一目标数据(即原文数据)及第二目标数据(即译文数据),且上述第二目标数据(即译文数据)分别被覆盖图层隐藏显示。如图5所示上述所生成的图层可以为按照预定参数进行高斯模糊处理后的图层,将上述图层覆盖至对应的词条的第二目标数据上,在获取到对图层执行的预定操作后,则可根据该预定操作所确定的目标区域,例如执行触屏滑动操作,清除上述目标区域中的图层,如图5所示,以显示出部分第二目标数据(即译文数据)。
(2)第二处理模块,设置为对图层执行马赛克处理;
具体结合图6(a)-(b)所示进行说明,假设以应用于进行语言翻译的应用客户端中为例。其中,每个词条包括第一目标数据(即原文数据)及第二目标数据(即译文数据),且上述第二目标数据(即译文数据)分别被覆盖图层隐藏显示。如图6(a)所示上述所生成的图层可以为按照马赛克处理后的图层,若第一目标数据与第二目标数据位于同一图层,则将上述经马赛克处理后的独立的图层覆盖至各自对应的词条的第二目标数据上,若第一目标数据与第二目标数据为两个分离的图层,则对第二目标数据所在的图层进行马赛克处理,相应的,在获取到对图层执行的预定操作后,则可根据该预定操作所确定的目标区域,例如执行触屏滑动操作,若第一目标数据与第二目标数据位于同一图层,则通过清除覆盖在第二目标数据上的被高斯模糊处理后的独立的图层;若第一目标数据与第二目标 数据为两个分离的图层,则对第二目标数据所在图层进行还原处理。从而实现通过预定操作还原目标区域中被隐藏显示的第二目标数据,如图6(b)所示,以显示出部分第二目标数据(即译文数据)。
(3)第三处理模块,设置为将图层配置为显示有预定内容的图片。
具体结合图7(a)-(b)所示进行说明,假设以应用于进行语言翻译的应用客户端中为例。其中,每个词条包括第一目标数据(即原文数据)及第二目标数据(即译文数据),且上述第二目标数据(即译文数据)分别被覆盖图层隐藏显示。如图7(a)所示上述所生成的图层可以为包含预定内容的图片所构成的图层,将上述图层覆盖至各自对应的词条的第二目标数据上,在获取到对图层执行的预定操作后,则可根据该预定操作所确定的目标区域,例如触屏滑动操作,清除上述目标区域中的图层,如图7(b)所示,以显示出部分或全部第二目标数据(即译文数据),其中,第二条第二目标数据的图层已全部清除,因而将显示第二目标数据的全部内容。需要说明的是,第二目标数据对应的图层标识也可做相应调整,如标识为“睁眼”,表示点击该标识后可全部显示,标识为“闭眼”,表示点击该标识后可全部隐藏显示,如图7(b)所示,全部第二目标数据已被显示,则图层标识也将对应显示为“闭眼”,以便于恢复覆盖图层的显示模式。
需要说明的是,上述预定内容可以包括但不限于用于推广的商业广告。公益广告等,例如图7所示;此外,也可以是与当前所覆盖的第二目标数据相关的提示信息等。上述仅是一种示例,本实施例中对此不做任何限定。
通过本申请提供的实施例,通过为第二目标数据生成相匹配的图层,以使所生成的图层完全遮盖对应的第二目标数据,而且不占用额外的显示空间,进而达到提高显示界面的显示空间利用率的效果。此外,生成不同样式的图层,或再次利用图层显示其他预定内容,不仅丰富了显示内容,还改善了显示效果,以吸引更多关注度。
作为一种可选的方案,第一显示单元1404包括:
1)第一显示模块,设置为在显示界面中显示满足预定条件的词条,其中,预定条件携带在数据显示请求中。
可选地,在本实施例中,第一显示模块包括以下至少之一:
(1)第一显示子模块,设置为在显示界面中显示在预定存储时间所存储的词条;
(2)第二显示子模块,设置为在显示界面中显示使用预定标识标记的词条;
(3)第三显示子模块,设置为在显示界面中显示操作频率大于预定阈值的词条。
在具体的应用场景中,假设以应用于进行语言翻译的应用客户端中为例。为了方便进行词条的筛选,一般需要对词条设置预定条件,一般可以为在数据显示请求中可以设置一些预定条件,如在显示界面中显示在预定时间存储的词条,也可以为在预定时间段内存储的的词条,具体到可以为一天、一星期、一月的期限。此外,也可以显示用户预先标识标记的词条,具体在语言翻译的应用客户端中,可以为生僻单词、句子等,也可以是用户标记的重点记忆的词条等,另一方面,该预定条件可以为在显示界面中显示操作频率大于预定阈值的词条,具体在语言翻译的应用客户端中,可以是用户的收藏的词条中显示操作频率大于一定阈值具体可以根据实际经验进行设定。
通过本申请提供的实施例,通过在显示界面中显示满足预定条件的词条,可以快速选择显示满足用户需求的词条,以简化查找操作,从而节省查找时间,进而达到快速显示的效果,提升用户的使用体验。
作为一种可选的方案,上述确定单元1406包括:
1)第一获取模块,设置为获取对图层所执行的操作模式;
2)第一确定模块,设置为根据操作模式确定与预定操作相匹配的目 标区域。
可选地,上述第一确定模块包括以下几种模块组合:
作为一种可选的实施方式,上述第一确定模块包括:
(1)第一获取子模块,设置为在操作模式指示对图层所执行的操作为触屏滑动操作的情况下,获取触屏滑动操作在图层上执行触屏动作后所生成的第一轨迹;
(2)第一确定子模块,设置为根据第一轨迹确定与触屏滑动操作匹配的目标区域。
可选地,在本实施例中,上述第一轨迹的轨迹宽度可以为预设宽度,也可以为与触屏动作的触屏压力相匹配的宽度,其中,触屏压力越大,轨迹越宽。上述仅是一种示例,本实施例中对此不做任何限定。
具体结合图6(a)-(b)所示进行说明,如图6(a)所示的第二目标数据均已被隐藏显示,假设获取到对图层所执行的预定操作的操作类型指示为触屏滑动操作,且该触屏滑动操作在图层上的滑动轨迹如图6(b),其中,对显示屏中第一个词条“幸福”的译文数据上的图层执行触屏滑动操作,其中,该触屏动作的触屏压力较大,对应轨迹也较宽;而对第二词条“happy”的译文数据上的图层也执行了触屏滑动操作,该触屏动作的触屏压力较小,对应轨迹也较窄,根据上述与触屏动作对应的轨迹以确定与触屏滑动操作相匹配的目标区域。
需要说明的是,上述触屏滑动操作可以但不限于为点击或持续滑动的操作。对应的第一轨迹可以但不限于为:1)当触屏滑动操作为持续滑动时,根据上述滑动过程形成的运动轨迹得到第一轨迹,进而将该第一轨迹作为目标区域;2)当触屏滑动操作为点击操作时,根据点击操作的操作位置得到第一轨迹,进而将该第一轨迹作为目标区域,如可以为当触屏滑动操作为点击时,可以显示一个圆形的运动轨迹,即以点击位置为圆心的一个圆形区域或椭圆形区域,本实施例中在此不做任何限定。
需要说明的是,在本实施例中,上述触屏滑动操作也可称之为涂抹操作,对应的运动轨迹可以但不限于根据在图层上执行涂抹操作后生成的涂抹轨迹得到。上述仅是一种示例,本实施例中对此不做任何限定。
通过本申请提供的实施例,在操作模式指示对图层所执行的操作为触屏滑动操作的情况下,获取触屏滑动操作在图层上执行触屏动作后产生的第一轨迹,根据第一轨迹确定与触屏滑动操作匹配的目标区域,从而实现根据触屏动作所产生的第一轨迹确定目标区域,以显示出目标区域中的第二目标数据。通过执行触屏滑动操作(即涂抹操作)以实现根据灵活控制所生成的轨迹(即涂抹轨迹),进而实现灵活控制显示在轨迹(即涂抹轨迹)所覆盖的目标区域中的第二目标数据,以改善记忆效果。
作为另一种可选的实施方式,上述第一确定模块包括:
(1)第二获取子模块,设置为在操作模式指示对图层所执行的操作为气压感应操作的情况下,获取气压感应操作在图层上执行吹气动作后所生成的第二轨迹;
(2)第二确定子模块,设置为根据第二轨迹确定与气压感应操作匹配的目标区域。
可选地,在本实施例中,在获取到对图层执行吹气动作后生成一个第一感应区域的情况下,根据第一感应区域所在的位置确定第二轨迹,其中,第一感应区域所占的区域面积与气压感应操作所指示的气流压力相匹配。
具体结合图8(a)-(c)所示进行说明,如图8(a)所示的第二目标数据均已被隐藏显示,假设获取到对图层所执行的预定操作的操作模式指示为气压感应操作,且仅执行了一次该气压感应操作,则在图层上生成如图8(b)所示的第一感应区域(如图中所示透明圆圈),其中,气压感应操作所指示的气流压力越大,第一感应区域的面积越大(即该感应区域的半径越大)。根据第一感应区域所在的位置确定第一轨迹。例如,通过驱动第一感应区域从如图8(b)所示的位置移动(如滑动第一感应区域)到 如图8(c)所示的位置后,在第一感应区域移动过程中,上述第一轨迹所覆盖的目标区域的面积始终与第一感应区域的面积一致,始终将第一感应区域所在位置确定为目标区域。
可选地,在本实施例中,在获取到对图层执行吹气动作后生成一个第一感应区域的情况下,根据第一感应区域的移动轨迹确定第二轨迹,其中,第一感应区域所占的区域面积与气压感应操作所指示的气流压力相匹配。
具体结合图9(a)-(c)所示进行说明,如图9(a)所示的第二目标数据均已被隐藏显示,假设获取到对图层所执行的预定操作的操作模式指示为气压感应操作,且仅执行了一次该气压感应操作,则在图层上生成如图9(b)所示的第一感应区域(如图中所示透明圆圈),其中,气压感应操作所指示的气流压力越大,第一感应区域的面积越大。根据第一感应区域的移动轨迹确定运动轨迹。例如,通过驱动第一感应区域从如图9(b)所示的位置移动(如滑动第一感应区域)到如图9(c)所示的位置后,则可根据第一感应区域在图层上的移动轨迹所覆盖的区域得到第二轨迹,根据第一感应区域对应的第二轨迹确定气压感应操作所匹配的目标区域,实现目标区域相匹配的第二目标数据显示。
可选地,在本实施例中,在获取到对图层执行吹气动作后生成至少两个第一感应区域的情况下,根据至少两个第一感应区域所在的位置确定第二轨迹,其中,第一感应区域所占的区域面积与气压感应操作所指示的气流压力相匹配。
具体结合图10(a)-(b)所示进行说明,如图10(a)所示的第二目标数据均已被隐藏显示,假设获取到对图层所执行的预定操作的操作模式指示为气压感应操作,且执行了多次该气压感应操作,则在图层上生成如图10(b)所示的多个第一感应区域(如图中所示透明圆圈),其中,气压感应操作所指示的气流压力越大,第一感应区域的面积越大。根据多个第一感应区域所在的位置得到如图10(b)所示的第二轨迹,根据第二轨迹确定气压感应操作所匹配的目标区域,实现目标区域相匹配的第二目标数 据显示。
通过本申请提供的实施例,在操作模式指示对图层所执行的操作为气压感应操作的情况下,获取气压感应操作在图层上执行吹气动作后所生成的第二轨迹;根据第一感应区域的移动轨迹确定第二轨迹,从而根据第二轨迹来确定与气压感应操作匹配的目标区域,或在获取到对图层执行吹气动作后生成至少两个第一感应区域的情况下,根据至少两个第一感应区域所在的位置确定第二轨迹,通过在图层上执行气压感应操作,以生成与气压感应操作所指示的气流压力相匹配的第一感应区域,从而实现根据该第一感应区域的位置和/或移动轨迹确定与气压感应操作匹配的目标区域,根据第二轨迹确定与气压感应操作匹配的目标区域,以实现清除目标区域中的图层,以显示目标区域中的第二目标数据。通过执行气压感应操作以灵活控制所生成的运动轨迹,进而实现灵活控制显示在运动轨迹所覆盖的目标区域中的第二目标数据,以改善记忆效果。
作为又一种可选的实施方式,上述第一确定模块包括:
(1)第三获取子模块,设置为在操作模式指示对图层所执行的操作为震动感应操作的情况下,获取震动感应操作基于图层上的参考点执行震动动作后所生成的第三轨迹;
(2)第三确定子模块,设置为根据第三轨迹确定与震动感应操作匹配的目标区域。
需要说明的是,在获取到操作模式指示对图层所执行的操作为震动感应操作后,首先确定震动感应操作基于图层上的参考点,可以为与当前显示界面中第一条的第二目标数据匹配的图层的任意顶点,也可以根据用户自行去设定参考点的位置,然后获取震动感应基于图层参考点执行震动动作后所生成的第三轨迹,若终端为手机,则可以利用“摇一摇”的方式执行震动动作,其中,震动感应操作的震动频率和/或震动力度越大,基于参考点所生成的第三轨迹的面积越大,然后根据第三轨迹确定与震动感应操作匹配的目标区域,以显示与目标区域中的第二目标数据,例如当执行完 当前第二目标数据的显示后,则移动至与下一条第二目标数据对应的参考点位置,或获取用户所选择的下一个参考点位置。
可选地,在本实施例中,上述参考点可以但不限于为图层上的任意一点,通过终端内置的速度和力度传感器,获取终端的震动频率和/或震动力度,以生成相对参考点移动的第三轨迹。例如,以参考点为圆心,根据震动频率和/或震动力度确定相对参考点的半径,以生成基于上述参考点对应的第三轨迹。
通过本申请提供的实施例,在操作模式指示对图层所执行的操作为震动感应操作的情况下,获取震动感应操作基于图层上的参考点执行震动动作后所生成的第三轨迹,根据第三轨迹确定与震动感应操作匹配的目标区域,从而实现将第三轨迹所覆盖的目标区域中的图层去除,以显示出目标区域中的第二目标数据。通过执行震动感应操作以灵活控制所生成的运动轨迹,进而实现灵活控制显示在运动轨迹所覆盖的目标区域中的第二目标数据,以改善记忆效果。
作为一种可选的方案,前述数据显示装置还包括以下至少之一:
1)第三显示单元,设置为响应数据显示请求在显示界面中显示所请求的词条之前,在显示界面上显示提示信息,其中,提示信息用于提示是否执行预定操作;在确认执行预定操作的情况下,在显示界面上显示词条;
2)第二获取单元,设置为获取对显示界面上所显示的操作按钮执行点击操作所生成的操作指令,响应操作指令在显示界面上显示词条,其中,操作按钮用于指示执行预定操作。
需要说明的是,在本实施例中,上述词条可以但不限于为用户第一账号预先在该客户端收藏的目标词条,也可以是用户基于客户端本地储存的目标词条,其中,在进入收藏界面显示上述词条之前,可以但不限于执行上述步骤,以确认是否显示收藏界面中对第二目标数据覆盖有图层的词条。
具体结合图11(a)-(b)所示进行说明,假设在获取到数据显示请 求后,且在进入收藏界面显示上述词条之前,以弹窗形式弹出如图11(a)所示的提示信息,以提示用户“是否执行预定操作”(例如,以“涂抹”操作为例),并在确认执行预定操作的情况下,显示上述第二目标数据被覆盖图层的词条,如图11(b)所示。
此外,在本实施例中,还可以但不限于在显示界面设置用于执行预定操作的操作按钮。例如,在进入收藏界面后,点击“涂抹按钮”后,将收藏界面显示为覆盖有图层的词条。
通过本申请提供的实施例,通过不同方式进入对第二目标数据覆盖有图层的词条的界面,以提高显示的多样性,丰富显示方式。
作为一种可选的方案,前述数据显示装置还包括:
1)第一更新单元,设置为在所请求的所述词条为多个词条的情况下,在响应所述数据显示请求在显示界面中显示所请求的词条之前,更新多个词条的排序标识,其中,排序标识根据词条的存储时间和/或词条被执行预定操作的操作频率确定;
2)第二更新单元,设置为按照排序标识更新多个词条的排列顺序。
可选地,在本实施例中,第一更新单元包括以下至少之一:
(1)第一更新模块,设置为在检测到新增词条时,更新多个词条分别对应的排序标识;
(2)第二更新模块,设置为在多个词条中至少一个词条执行预定操作后,更新多个词条对应的排序标识。
需要说明的是,在具体的应用场景中,词条的存在方式也可以是列表的形式存在,以下为了方便描述,所以在本实施例中以词条列表来进行描述词条排列。
具体结合图12所示进行说明,假设按照存储时间戳得到如图12(a)所示的词条列表,在对词条“开心”频繁执行触屏滑动操作(即涂抹操作) 进行记忆后,词条“开心”的排序标识将会被更新,进而词条列表也将被更新,得到如图12(b)所示的词条列表。
可选地,在本实施例中,上述排序标识可以但不限于是为每个词条匹配的排序分数(sort_score),其中,该排序分数可以但不限于根据词条的存储时间(collect_date)及词条被执行预定操作(例如涂抹操作)的操作频率(action_count)进行动态计算,保证新增词条以及高频操作的词条可以被优先显示。其中,在本实施例中,上述存储时间可以但不限于为词条被收藏到词条列表的时间。上述仅是一种示例,本实施例中对此不做任何限定。
作为一种可选的实施例,上述排序分数(sort_score)可以但不限于根据以下公式计算得到:
days_ago=(now–collect_date).days();
action_score=1+ln(1+action_count);
score_factor=1+(2/(1+days_ago)/7));
sort_score=score_factor*action_score;
需要说明的是,在本实施例中,排序分数sort_score与存储时间呈线性关系,且存储时间越短,排序分数越高,从而实现通过线性关系控制最新收藏的词条可以被优先显示;排序分数sort_score与操作频率呈非线性关系,且操作频率越高,排序分数越高,从而实现通过非线性关系控制操作频率的数值不会增加计算负荷的情况下,将高频操作的词条在词条列表中优先显示。
通过本申请提供的实施例,通过实时更新词条列表的排列顺序,以保证词条列表中新增的词条及高频操作的词条可以在词条列表中优先显示,从而改善显示效果,更便于用户记忆。
作为一种可选的方案,前述数据显示装置还包括:
1)第三获取单元,设置为在获取数据显示请求之前,获取词条收藏请求,其中,词条收藏请求中携带有与待收藏的目标词条相匹配的哈希值,哈希值根据目标词条的第一目标数据,第一目标数据的数据类型及第二目标数据的数据类型确定;
2)查找单元,根据哈希值查找目标词条;
3)收藏单元,在未查找到目标词条时,收藏目标词条。
可选地,在本实施例中,可以但不限于根据目标词条的第一目标数据,第一目标数据的数据类型及第二目标数据的数据类型确定与该目标词条匹配的哈希值。例如,根据第一目标数据(如原文数据“tree”),第一目标数据的数据类型(例如源语言类型(如EN)及第二目标数据的数据类型(例如目标语言类型(如CN)),利用哈希hash算法生成一个与该目标词条唯一对应哈希值(hashcode)。
可选地,在本实施例中,在主界面显示的词条中,可以但不限于通过单击感兴趣的目标词条,以实现对目标词条的收藏存储操作。可以如图13所示,点击感兴趣的词条“happy”,然后,在主界面将显示该词条“happy”对应操作工具条(工具bar),如图13所示,点击“收藏按钮”后,即可对该词条“happy”进行收藏操作。此外,若当前是已收藏的词条,则上述点击操作将进行取消收藏操作。
在收藏目标词条的过程中,获取该词条“happy”对应的哈希值hashcode,查找预先存储的所有词条中是否包括该词条“happy”。例如,通过is_collect标记位查找,若未找到对应词条的is_collect标记位,则进行收藏操作,同时对is_collect标记位进行相应修改,例如将is_collect标记位修改标记为“1”;若找到对应词条的is_collect标记位,则进行取消收藏操作,同时对is_collect标记位进行相应修改,例如,将is_collect标记位修改标记为“0”。
通过本申请提供的实施例,通过为词条配置唯一的哈希值,从而实现 避免重复存储相同的词条,在节省存储空间的同时,达到去重目的。
根据本申请实施例的又一方面,还提供了一种用于实施上述数据显示方法的数据显示终端,如图15所示,该终端包括:
1)通讯接口1502,设置为获取数据显示请求;
2)显示器1504,与通讯接口1502连接,设置为响应数据显示请求在显示界面中显示所请求的词条,其中,词条中包括第一目标数据及第二目标数据,第一目标数据与第二目标数据之间具有预定关联关系,第二目标数据在显示界面中被隐藏显示;
3)处理器1506,与显示器1504连接,设置为根据对图层执行的预定操作确定目标区域,其中,图层与第二目标数据相匹配;
4)存储器1508,与通讯接口1502、显示器1504及处理器1506连接,设置为显示目标区域中的第二目标数据。
可选地,本实施例中的具体示例可以参考上述实施例中所描述的示例,本实施例在此不再赘述。
根据本申请的实施例的又一方面,还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以位于网络中的多个网络设备中的至少一个网络设备。
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的计算机程序:
S1,获取数据显示请求;
S2,响应数据显示请求在显示界面中显示所请求的词条,其中,词条中包括第一目标数据及第二目标数据,第一目标数据与第二目标数据之间具有预定关联关系,第二目标数据在显示界面中被隐藏显示;
S3,根据对图层执行的预定操作确定目标区域,其中,图层与第二目标数据相匹配;
S4,显示目标区域中的第二目标数据。
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的计算机程序:
S1,生成与所述第二目标数据相匹配的所述图层;
S2,将所述图层覆盖至所述词条中的所述第二目标数据上,以使在所述显示界面中显示所述词条时,所述第二目标数据被隐藏显示。
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的计算机程序:
S1,对所述图层按照预定参数执行高斯模糊处理;
S2,对所述图层执行马赛克处理;
S3,将所述图层配置为显示有预定内容的图片。
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的计算机程序:
S1,在所述显示界面中显示满足预定条件的所述词条,其中,所述预定条件携带在所述数据显示请求中。
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的计算机程序:
S1,在所述显示界面中显示在预定存储时间所存储的所述词条;
S2,在所述显示界面中显示使用预定标识标记的所述词条;
S3,在所述显示界面中显示操作频率大于预定阈值的所述词条。
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的计算机程序:
S1,获取对所述图层所执行的操作模式;
S2,根据所述操作模式确定与所述预定操作相匹配的所述目标区域。
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的计算机程序:
S1,在所述操作模式指示对所述图层所执行的操作为触屏滑动操作的情况下,获取所述触屏滑动操作在所述图层上执行触屏动作后所生成的第一轨迹;
S2,根据所述第一轨迹确定与所述触屏滑动操作匹配的所述目标区域。
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的计算机程序:
S1,在所述操作模式指示对所述图层所执行的操作为气压感应操作的情况下,获取所述气压感应操作在所述图层上执行吹气动作后所生成的第二轨迹;
S2,根据所述第二轨迹确定与所述气压感应操作匹配的所述目标区域。
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的计算机程序:
S1,在获取到对所述图层执行所述吹气动作后生成一个第一感应区域的情况下,根据所述第一感应区域所在的位置确定所述第二轨迹;
S2,在获取到对所述图层执行所述吹气动作后生成一个第一感应区域的情况下,根据所述第一感应区域的移动轨迹确定所述第二轨迹;
S3,在获取到对所述图层执行所述吹气动作后生成至少两个第一感应区域的情况下,根据所述至少两个第一感应区域所在的位置确定所述第二轨迹。
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的计算机程序:
S1,在所述操作模式指示对所述图层所执行的操作为震动感应操作的情况下,获取所述震动感应操作基于所述图层上的参考点执行震动动作后所生成的第三轨迹;
S2,根据所述第三轨迹确定与所述震动感应操作匹配的所述目标区域。
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的计算机程序:
S1,在所述显示界面上显示提示信息,其中,所述提示信息用于提示是否执行所述预定操作;在确认执行所述预定操作的情况下,在所述显示界面上显示所述词条;
S2,获取对所述显示界面上所显示的操作按钮执行点击操作所生成的操作指令;响应所述操作指令在所述显示界面上显示所述词条,其中,所述操作按钮用于指示执行所述预定操作。
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的计算机程序:
S1,更新所述多个词条的排序标识,其中,所述排序标识根据所述词条的存储时间和/或所述词条被执行所述预定操作的操作频率确定;
S2,按照所述排序标识更新所述多个词条的排列顺序。
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的计算机程序:
S1,获取词条收藏请求,其中,所述词条收藏请求中携带有与待收藏的目标词条相匹配的哈希值,所述哈希值根据所述目标词条的所述第一目标数据,所述第一目标数据的数据类型及所述第二目标数据的数据类型确定;
S2,根据所述哈希值查找所述目标词条;
S3,在未查找到所述目标词条时,收藏所述目标词条。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。
可选地,本实施例中的具体示例可以参考上述实施例中所描述的示例,本实施例在此不再赘述。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
上述实施例中的集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在上述计算机可读取的存储介质中。基于这样的理解,
在本申请的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的客户端,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软 件功能单元的形式实现。
以上仅是本申请的可选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。
工业实用性
在本申请实施例中,通过响应数据显示请求,在显示界面中显示所请求的词条,其中,词条中包括第一目标数据及第二目标数据,第一目标数据与第二目标数据之间具有预定关联关系,第二目标数据在显示界面中被隐藏显示,然后,对与第二目标数据相匹配的图层执行预定操作,根据该预定操作确定目标区域,以显示目标区域中的第二目标数据,从而达到了通过对第二目标数据相匹配的图层执行预定操作来改变第二目标数据的显示状态的目的,解决了相关技术中无法灵活调整显示的内容的问题,实现了灵活控制所要显示的第二目标数据的效果。

Claims (28)

  1. 一种数据显示方法,包括:
    获取数据显示请求;
    响应所述数据显示请求在显示界面中显示所请求的词条,其中,所述词条中包括第一目标数据及第二目标数据,所述第一目标数据与所述第二目标数据之间具有预定关联关系,所述第二目标数据在所述显示界面中被隐藏显示;
    根据对图层执行的预定操作确定目标区域,其中,所述图层与所述第二目标数据相匹配;
    显示所述目标区域中的所述第二目标数据。
  2. 根据权利要求1所述的方法,其中,在所述响应所述数据显示请求在显示界面中显示所请求的词条之前,还包括:
    生成与所述第二目标数据相匹配的所述图层;
    将所述图层覆盖至所述词条中的所述第二目标数据上,以使在所述显示界面中显示所述词条时,所述第二目标数据被隐藏显示。
  3. 根据权利要求2所述的方法,其中,所述生成与所述第二目标数据相匹配的所述图层包括以下至少之一:
    对所述图层按照预定参数执行高斯模糊处理;
    对所述图层执行马赛克处理;
    将所述图层配置为显示有预定内容的图片。
  4. 根据权利要求1所述的方法,其中,所述响应所述数据显示请求在显示界面中显示所请求的词条包括:
    在所述显示界面中显示满足预定条件的所述词条,其中,所述预定条件携带在所述数据显示请求中。
  5. 根据权利要求4所述的方法,其中,所述在所述显示界面中显示满足 预定条件的所述词条包括以下至少之一:
    在所述显示界面中显示在预定存储时间所存储的所述词条;
    在所述显示界面中显示使用预定标识标记的所述词条;
    在所述显示界面中显示操作频率大于预定阈值的所述词条。
  6. 根据权利要求1所述的方法,其中,所述根据对所述图层执行的预定操作确定目标区域包括:
    获取对所述图层所执行的操作模式;
    根据所述操作模式确定与所述预定操作相匹配的所述目标区域。
  7. 根据权利要求6所述的方法,其中,所述根据所述操作模式确定与所述预定操作相匹配的所述目标区域包括:
    在所述操作模式指示对所述图层所执行的操作为触屏滑动操作的情况下,获取所述触屏滑动操作在所述图层上执行触屏动作后所生成的第一轨迹;
    根据所述第一轨迹确定与所述触屏滑动操作匹配的所述目标区域。
  8. 根据权利要求6所述的方法,其中,所述根据所述操作模式确定与所述预定操作相匹配的所述目标区域包括:
    在所述操作模式指示对所述图层所执行的操作为气压感应操作的情况下,获取所述气压感应操作在所述图层上执行吹气动作后所生成的第二轨迹;
    根据所述第二轨迹确定与所述气压感应操作匹配的所述目标区域。
  9. 根据权利要求8所述的方法,其中,所述获取所述气压感应操作在所述图层上执行吹气动作后所生成的第二轨迹包括:
    在获取到对所述图层执行所述吹气动作后生成一个第一感应区域的情况下,根据所述第一感应区域所在的位置确定所述第二轨迹; 或者
    在获取到对所述图层执行所述吹气动作后生成一个第一感应区域的情况下,根据所述第一感应区域的移动轨迹确定所述第二轨迹;或者
    在获取到对所述图层执行所述吹气动作后生成至少两个第一感应区域的情况下,根据所述至少两个第一感应区域所在的位置确定所述第二轨迹;
    其中,所述第一感应区域所占的区域面积与所述气压感应操作所指示的气流压力相匹配。
  10. 根据权利要求6所述的方法,其中,所述根据所述操作模式确定与所述预定操作相匹配的所述目标区域包括:
    在所述操作模式指示对所述图层所执行的操作为震动感应操作的情况下,获取所述震动感应操作基于所述图层上的参考点执行震动动作后所生成的第三轨迹;
    根据所述第三轨迹确定与所述震动感应操作匹配的所述目标区域。
  11. 根据权利要求1所述的方法,其中,在所述响应所述数据显示请求在显示界面中显示所请求的词条之前,还包括以下至少之一:
    在所述显示界面上显示提示信息,其中,所述提示信息用于提示是否执行所述预定操作;在确认执行所述预定操作的情况下,在所述显示界面上显示所述词条;
    获取对所述显示界面上所显示的操作按钮执行点击操作所生成的操作指令;响应所述操作指令在所述显示界面上显示所述词条,其中,所述操作按钮用于指示执行所述预定操作。
  12. 根据权利要求1所述的方法,其中,在所请求的所述词条为多个词条的情况下,在所述响应所述数据显示请求在显示界面中显示所请求的词条之前,还包括:
    更新所述多个词条的排序标识,其中,所述排序标识根据所述词条的存储时间和/或所述词条被执行所述预定操作的操作频率确定;
    按照所述排序标识更新所述多个词条的排列顺序。
  13. 根据权利要求1所述的方法,其中,在获取数据显示请求之前,还包括:
    获取词条收藏请求,其中,所述词条收藏请求中携带有与待收藏的目标词条相匹配的哈希值,所述哈希值根据所述目标词条的所述第一目标数据,所述第一目标数据的数据类型及所述第二目标数据的数据类型确定;
    根据所述哈希值查找所述目标词条;
    在未查找到所述目标词条时,收藏所述目标词条。
  14. 一种数据显示装置,包括:
    第一获取单元,设置为获取数据显示请求;
    第一显示单元,设置为响应所述数据显示请求在显示界面中显示所请求的词条,其中,所述词条中包括第一目标数据及第二目标数据,所述第一目标数据与所述第二目标数据之间具有预定关联关系,所述第二目标数据在所述显示界面中被隐藏显示;
    确定单元,设置为根据对图层执行的预定操作确定目标区域,其中,所述图层与所述第二目标数据相匹配;
    第二显示单元,设置为显示所述目标区域中的所述第二目标数据。
  15. 根据权利要求14所述的装置,其中,还包括:
    生成单元,设置为在所述响应所述数据显示请求在显示界面中显示所请求的词条之前,生成与所述第二目标数据相匹配的所述图层;
    覆盖单元,设置为将所述图层覆盖至所述词条中的所述第二目标数据上,以使在所述显示界面中显示所述词条时,所述第二目标数据被隐藏显示。
  16. 根据权利要求15所述的装置,其中,所述生成单元包括以下至少之 一:
    第一处理模块,设置为对所述图层按照预定参数执行高斯模糊处理;
    第二处理模块,设置为对所述图层执行马赛克处理;
    第三处理模块,设置为将所述图层配置为显示有预定内容的图片。
  17. 根据权利要求14所述的装置,其中,所述第一显示单元包括:
    第一显示模块,设置为在所述显示界面中显示满足预定条件的所述词条,其中,所述预定条件携带在所述数据显示请求中。
  18. 根据权利要求17所述的装置,其中,所述第一显示模块包括以下至少之一:
    第一显示子模块,设置为在所述显示界面中显示在预定存储时间所存储的所述词条;
    第二显示子模块,设置为在所述显示界面中显示使用预定标识标记的所述词条;
    第三显示子模块,设置为在所述显示界面中显示操作频率大于预定阈值的所述词条。
  19. 根据权利要求14所述的装置,其中,所述确定单元,设置为包括:
    第一获取模块,设置为获取对所述图层所执行的操作的操作模式;
    第一确定模块,设置为根据所述操作模式确定与所述预定操作相匹配的所述目标区域。
  20. 根据权利要求19所述的装置,其中,所述第一确定模块包括:
    第一获取子模块,设置为在所述操作模式指示对所述图层所执行的操作为触屏滑动操作的情况下,获取所述触屏滑动操作在所述图层上执行触屏动作后所生成的第一轨迹;
    第一确定子模块,设置为根据所述第一轨迹确定与所述触屏滑动操作匹配的所述目标区域。
  21. 根据权利要求19所述的装置,其中,所述第一确定模块包括:
    第二获取子模块,设置为在所述操作模式指示对所述图层所执行的操作为气压感应操作的情况下,获取所述气压感应操作在所述图层上执行吹气动作后所生成的第二轨迹;
    第二确定子模块,设置为根据所述第二轨迹确定与所述气压感应操作匹配的所述目标区域。
  22. 根据权利要求21所述的装置,其中,所述第二获取子模块通过以下步骤获取所述气压感应操作在所述图层上执行吹气动作后所生成的第二轨迹:
    在获取到对所述图层执行所述吹气动作后生成一个第一感应区域的情况下,根据所述第一感应区域所在的位置确定所述第二轨迹;或者
    在获取到对所述图层执行所述吹气动作后生成一个第一感应区域的情况下,根据所述第一感应区域的移动轨迹确定所述第二轨迹;或者
    在获取到对所述图层执行所述吹气动作后生成至少两个第一感应区域的情况下,根据所述至少两个第一感应区域所在的位置确定所述第二轨迹;
    其中,所述第一感应区域所占的区域面积与所述气压感应操作所指示的气流压力相匹配。
  23. 根据权利要求19所述的装置,其中,所述第一确定模块包括:
    第三获取子模块,设置为在所述操作模式指示对所述图层所执行的操作为震动感应操作的情况下,获取所述震动感应操作基于所述图层上的参考点执行震动动作后所生成的第三轨迹;
    第三确定子模块,设置为根据所述第三轨迹确定与所述震动感应操作匹配的所述目标区域。
  24. 根据权利要求14所述的装置,其中,还包括以下至少之一:
    第三显示单元,设置为在所述响应所述数据显示请求在显示界面中显示所请求的词条之前,在所述显示界面上显示提示信息,其中,所述提示信息用于提示是否执行所述预定操作;在确认执行所述预定操作的情况下,在所述显示界面上显示所述词条;
    第二获取单元,设置为获取对所述显示界面上所显示的操作按钮执行点击操作所生成的操作指令;响应所述操作指令在所述显示界面上显示所述词条,其中,所述操作按钮用于指示执行所述预定操作。
  25. 根据权利要求14所述的装置,其中,还包括:
    第一更新单元,设置为在所请求的所述词条为多个词条的情况下,在所述响应所述数据显示请求在显示界面中显示所请求的词条之前,更新所述多个词条的排序标识,其中,所述排序标识根据所述词条的存储时间和/或所述词条被执行所述预定操作的操作频率确定;
    第二更新单元,设置为按照所述排序标识更新所述多个词条的排列顺序。
  26. 根据权利要求14所述的装置,其中,还包括:
    第三获取单元,设置为在获取数据显示请求之前,获取词条收藏请求,其中,所述词条收藏请求中携带有与待收藏的目标词条相匹配的哈希值,所述哈希值根据所述目标词条的所述第一目标数据,所述第一目标数据的数据类型及所述第二目标数据的数据类型确定;
    查找单元,设置为根据所述哈希值查找所述目标词条;
    收藏单元,设置为在未查找到所述目标词条时,收藏所述目标词条。
  27. 一种存储介质,所述存储介质包括存储的程序,其中,所述程序运行时执行上述权利要求1至13任一项中所述的方法。
  28. 一种数据显示终端,包括存储器和处理器,其特征在于,所述存储器中存储有计算机程序,所述处理器被设置为通过所述计算机程序执行所述权利要求1至13任一项中所述的方法。
PCT/CN2018/072865 2017-02-27 2018-01-16 数据显示方法及装置、存储介质和终端 WO2018153180A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/363,796 US10845972B2 (en) 2017-02-27 2019-03-25 Data display method and apparatus, storage medium, and terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710110737.2A CN108509117A (zh) 2017-02-27 2017-02-27 数据显示方法及装置
CN201710110737.2 2017-02-27

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/363,796 Continuation US10845972B2 (en) 2017-02-27 2019-03-25 Data display method and apparatus, storage medium, and terminal

Publications (1)

Publication Number Publication Date
WO2018153180A1 true WO2018153180A1 (zh) 2018-08-30

Family

ID=63253515

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/072865 WO2018153180A1 (zh) 2017-02-27 2018-01-16 数据显示方法及装置、存储介质和终端

Country Status (3)

Country Link
US (1) US10845972B2 (zh)
CN (1) CN108509117A (zh)
WO (1) WO2018153180A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115104874A (zh) * 2022-07-26 2022-09-27 深圳市西昊智能家具有限公司 智能椅的控制方法、装置、计算机设备和存储介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111125203A (zh) * 2019-12-12 2020-05-08 广东电网有限责任公司 基于调度运行早汇报系统的数据关联显示方法和相关装置
CN113608647B (zh) * 2021-10-11 2022-01-04 广东新空电子科技股份有限公司 一种辅助记忆的笔记遮盖方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101707009A (zh) * 2009-11-24 2010-05-12 无敌科技(西安)有限公司 语言学习接口及其方法
CN102214165A (zh) * 2010-04-02 2011-10-12 英业达股份有限公司 即时翻译多层视窗显示系统及其方法
CN102945133A (zh) * 2012-10-18 2013-02-27 天津三星通信技术研究有限公司 屏幕局部显示系统及屏幕局部显示方法
CN105164739A (zh) * 2012-10-31 2015-12-16 吉相福 学习用隐藏显示装置及学习用隐藏显示方法
US20160117854A1 (en) * 2013-09-27 2016-04-28 Sharp Kabushiki Kaisha Information processing device

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100837358B1 (ko) * 2006-08-25 2008-06-12 한국전자통신연구원 동적 번역자원을 이용한 분야 적응형 휴대용 방송자막기계번역 장치 및 방법
US8108786B2 (en) * 2007-09-14 2012-01-31 Victoria Ann Tucci Electronic flashcards
KR100929236B1 (ko) * 2007-09-18 2009-12-01 엘지전자 주식회사 터치스크린을 구비하는 휴대 단말기 및 그 동작 제어방법
KR101509007B1 (ko) * 2009-03-03 2015-04-14 엘지전자 주식회사 진동 모듈을 구비하는 휴대 단말기 및 그 동작방법
JP5012981B2 (ja) 2010-09-09 2012-08-29 カシオ計算機株式会社 電子辞書装置およびプログラム
US8786698B2 (en) * 2010-09-23 2014-07-22 Sony Computer Entertainment Inc. Blow tracking user interface system and method
CN102411853A (zh) * 2010-09-25 2012-04-11 英业达股份有限公司 词汇词义记忆训练系统及其方法
AU2012101185B4 (en) * 2011-08-19 2013-05-02 Apple Inc. Creating and viewing digital note cards
US9229928B2 (en) * 2012-03-13 2016-01-05 Nulu, Inc. Language learning platform using relevant and contextual content
CN102707805B (zh) * 2012-05-17 2015-09-30 华为终端有限公司 终端的输入方法、装置及终端
CN103927214A (zh) * 2013-01-15 2014-07-16 腾讯科技(北京)有限公司 模拟移除数据遮盖层的方法和装置
KR20140135884A (ko) * 2013-05-16 2014-11-27 삼성전자주식회사 디스플레이 장치 및 그 제어방법
US10534528B2 (en) * 2013-12-31 2020-01-14 Barnes & Noble College Booksellers, Llc Digital flash card techniques
US9471144B2 (en) * 2014-03-31 2016-10-18 Gift Card Impressions, LLC System and method for digital delivery of reveal videos for online gifting
CN105302783B (zh) * 2014-06-13 2018-04-20 珠海金山办公软件有限公司 对文档中对象进行设置的方法及系统
US20160188547A1 (en) * 2014-07-14 2016-06-30 Nazareno Cruzada Electronic digital card system comprising a web-based interactive card, mobile app viewer and organizer, website, online design tool and integrated design environment, and remote central server
US9594749B2 (en) * 2014-09-30 2017-03-14 Microsoft Technology Licensing, Llc Visually differentiating strings for testing
US10235007B2 (en) * 2015-05-21 2019-03-19 Gammakite, Llc Guided operation of a language device based on constructed, time-dependent data structures
CN105373314A (zh) * 2015-06-22 2016-03-02 王宇 一种目标对象控制方法及装置
US10216945B2 (en) * 2015-09-15 2019-02-26 Clipo, Inc. Digital touch screen device and method of using the same
WO2017111811A1 (en) * 2015-12-26 2017-06-29 Intel Corporation Interfacing with a computing device
US10162819B2 (en) * 2016-08-17 2018-12-25 Netflix, Inc. Change detection in a string repository for translated content

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101707009A (zh) * 2009-11-24 2010-05-12 无敌科技(西安)有限公司 语言学习接口及其方法
CN102214165A (zh) * 2010-04-02 2011-10-12 英业达股份有限公司 即时翻译多层视窗显示系统及其方法
CN102945133A (zh) * 2012-10-18 2013-02-27 天津三星通信技术研究有限公司 屏幕局部显示系统及屏幕局部显示方法
CN105164739A (zh) * 2012-10-31 2015-12-16 吉相福 学习用隐藏显示装置及学习用隐藏显示方法
US20160117854A1 (en) * 2013-09-27 2016-04-28 Sharp Kabushiki Kaisha Information processing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115104874A (zh) * 2022-07-26 2022-09-27 深圳市西昊智能家具有限公司 智能椅的控制方法、装置、计算机设备和存储介质
CN115104874B (zh) * 2022-07-26 2023-01-03 深圳市西昊智能家具有限公司 智能椅的控制方法、装置、计算机设备和存储介质

Also Published As

Publication number Publication date
US10845972B2 (en) 2020-11-24
US20190220176A1 (en) 2019-07-18
CN108509117A (zh) 2018-09-07

Similar Documents

Publication Publication Date Title
US10147239B2 (en) Content creation tool
US9760777B2 (en) Campaign optimization for experience content dataset
WO2022017525A1 (zh) 页面显示方法、装置和电子设备
US11132119B2 (en) User interface and method for adapting a view of a display unit
CN103562835A (zh) 带有快速站点访问用户界面的web浏览器
WO2018153180A1 (zh) 数据显示方法及装置、存储介质和终端
AU2014235416B2 (en) Real world analytics visualization
CN105793809A (zh) 通信用户界面系统和方法
CN106797547A (zh) 操作系统对位置卡的支持
US20180188949A1 (en) Virtual keyboard
WO2022063123A1 (zh) 界面显示方法、装置及电子设备
CN113194024B (zh) 信息显示方法、装置和电子设备
CN109215130A (zh) 一种基于增强现实的产品维修方法和系统
CN102663055A (zh) 浏览器导航的实现方法、装置及浏览器
CN113641886A (zh) 搜索方法、装置及电子设备
CN112947838A (zh) 控制方法、装置及电子设备
CN105205066B (zh) 一种图片查找方法和装置
CN109298817B (zh) 条目显示方法、装置、终端及存储介质
US20080263037A1 (en) Method and apparatus for indicating content search results
CN112148169B (zh) 标识显示控制方法、装置及电子设备
CN104503679B (zh) 一种基于终端界面触控操作进行搜索的方法及装置
CN104484366A (zh) 基于输入法的网站信息提供方法和装置
CN113986427A (zh) 对象显示方法、装置、电子设备及存储介质
CN113885743A (zh) 文本内容选取方法和装置
CN107918512B (zh) 酒店信息显示方法、装置、电子设备、存储介质

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: 18758305

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: 18758305

Country of ref document: EP

Kind code of ref document: A1