WO2023134490A1 - 数据显示方法、装置、移动终端及存储介质 - Google Patents

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

Info

Publication number
WO2023134490A1
WO2023134490A1 PCT/CN2023/070040 CN2023070040W WO2023134490A1 WO 2023134490 A1 WO2023134490 A1 WO 2023134490A1 CN 2023070040 W CN2023070040 W CN 2023070040W WO 2023134490 A1 WO2023134490 A1 WO 2023134490A1
Authority
WO
WIPO (PCT)
Prior art keywords
preset
display area
mobile terminal
virtual object
target page
Prior art date
Application number
PCT/CN2023/070040
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 WO2023134490A1 publication Critical patent/WO2023134490A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • 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
    • 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/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Definitions

  • Embodiments of the present disclosure relate to the field of computer technology, for example, to a data display method, device, mobile terminal, and storage medium.
  • mobile terminal devices such as mobile phones have become necessary tools for people's work and life.
  • the functions that can be implemented in the mobile terminal are becoming more and more abundant, and the user can interact with the mobile terminal, for example, the user can perform the interaction by performing operations such as clicking or sliding on the screen of the mobile terminal, and then realize corresponding functions.
  • the above-mentioned interaction method is tedious and needs improvement.
  • Embodiments of the present disclosure provide a data display method, device, storage medium, and mobile terminal, which can optimize information interaction solutions in related technologies.
  • an embodiment of the present disclosure provides a data display method, including:
  • an embodiment of the present disclosure provides a data display device, including:
  • the display module is configured to display on the target page of the mobile terminal the real-time image collected by the mobile terminal, the preset positioning mark and the preset virtual object, wherein the first display area corresponding to the preset positioning mark is in the fixed in the target page;
  • a display area adjustment module configured to adjust the second display area corresponding to the preset virtual object on the target page during the movement of the mobile terminal
  • the interactive information display module is configured to display interactive information related to the target user who logs in the target page when it is determined that the relative relationship between the second display area and the first display area satisfies a preset condition.
  • an embodiment of the present disclosure provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and operable on the processor.
  • the data display method provided by the embodiment.
  • an embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the data display method provided by the embodiment of the present disclosure is implemented.
  • FIG. 1 is a schematic flowchart of a data display method provided by an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a page provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of another data display method provided by an embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of a page changing process provided by an embodiment of the present disclosure.
  • FIG. 5 is a schematic diagram of another page changing process provided by an embodiment of the present disclosure.
  • FIG. 6 is a structural block diagram of a data display device provided by an embodiment of the present disclosure.
  • Fig. 7 is a structural block diagram of a mobile terminal provided by an embodiment of the present disclosure.
  • the term “comprise” and its variations are open-ended, ie “including but not limited to”.
  • the term “based on” is “based at least in part on”.
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one further embodiment”; the term “some embodiments” means “at least some embodiments.” Relevant definitions of other terms will be given in the description below.
  • each embodiment provides optional features and examples at the same time.
  • the various features recorded in the embodiments can be combined to form multiple optional solutions.
  • Each numbered embodiment should not be regarded as only as a technical solution.
  • FIG. 1 is a schematic flowchart of a data display method provided by an embodiment of the present disclosure.
  • the method can be executed by a data display device, wherein the device can be implemented by software and/or hardware, and generally can be integrated into a mobile terminal.
  • the mobile terminal may be a mobile device such as a mobile phone, a smart watch, smart glasses, a tablet computer, and a personal digital assistant, without limitation.
  • the method includes:
  • Step 101 Display the real-time image collected by the mobile terminal, the preset positioning mark and the preset virtual object on the target page of the mobile terminal, wherein the first display area corresponding to the preset positioning mark is fixed on the target page.
  • the mobile terminal may be built-in or externally connected with an image acquisition device such as a camera, so that the mobile terminal may be capable of acquiring real-time images.
  • the target page can be a page in the default application program, which is loaded in the mobile terminal, and the type of the default application program is not limited, such as social networking application, live broadcast application, video application or information applications etc.
  • the preset application program can call the image collection function (such as the camera function) of the mobile terminal to obtain the real-time image collected by the mobile terminal and display it on the target page, so as to realize the preview effect of the real-time image on the target page.
  • a preset entry corresponding to the target page is set in the preset application program, and the user can enter the target page by triggering the preset entry, that is, this step is performed after detecting that the preset entry is triggered.
  • the preset positioning mark is displayed in the first display area of the target page, the boundary of the first display area may match the outline of the preset positioning mark, the first display area may be a preset fixed area, and the position is not Make a limit, for example, it can be the center position, the lower middle position or the lower right corner position of the target page.
  • the expression form of the preset positioning mark is not limited, for example, it may be a rectangular frame or a circle.
  • the type of the preset virtual object is not limited, for example, it may be a virtual image (such as a cartoon character, a virtual doll or an animal image, etc.), a virtual item (such as a virtual flower bouquet or virtual food, etc.) or a virtual logo (such as virtual arrows) and so on.
  • the preset virtual object is displayed in the second display area on the target page, the boundary of the second display area may match the outline of the preset virtual object, and the second display area is generally different from the first display area.
  • the second display area (which can be considered as the initial second display area) can be a preset area, and the position is not limited, for example, it can be the upper right corner position or the upper middle position of the target page, etc., each When entering the target page for the first time, the initial second display area can be the same or different. Generally, there is no intersection between the initial second display area and the first display area, and the second display area may change during the display process of the target page.
  • FIG. 2 is a schematic diagram of a page provided by an embodiment of the present disclosure, showing the page display content when entering the target page.
  • a preset positioning mark 202 and a preset virtual object 203 are displayed on the target page 201,
  • the first display area is located at the middle and lower positions of the page, and the second display area is located at the middle and upper positions of the page.
  • Step 102 During the movement of the mobile terminal, adjust the second display area corresponding to the preset virtual object on the target page.
  • the user when using a mobile terminal, the user generally needs to touch the mobile terminal through body parts, and then play the role of fixing the mobile terminal, such as holding a mobile phone with a hand, wearing a smart watch on the wrist, or wearing smart glasses on the head, etc., the user
  • the motion of the mobile terminal can be controlled by the motion of body parts.
  • the second display area can be adjusted in the target page, and the adjustment method and adjustment basis are not limited, for example, it may include but not limited to adjusting the position, size or shape of the second display area and other items, you can adjust one of them or adjust multiple items at the same time.
  • the corresponding relationship between different motion processes and adjustment methods may be preset, and the second display area may be adjusted accordingly according to the current motion process.
  • the real-time image will also change, that is, the display of the preset virtual object is adjusted during the change of the real-time image, creating a visual effect that the preset virtual object exists in the real world, and enhancing Interactive fun.
  • Step 103 Display interaction information related to the target user logging into the target page when it is determined that the relative relationship between the second display area and the first display area satisfies a preset condition.
  • the relative relationship with the first display area will change, and the relative relationship here may include, for example, a position-based relative relationship or an overlapping area-based relative relationship.
  • the relative relationship based on position may include, for example, the distance between the center point (ie, the first center point) of the first display area and the center point (ie, the second center point) of the second display area, whether the first display area and the second display area Intersection, etc.;
  • the relative relationship based on the overlapping area may include, for example, the size of the area of the overlapping area between the first display area and the second display area, the shape of the overlapping area, and the like.
  • preset conditions may be set according to actual needs, for example, the distance between the center point of the first display area and the center point of the second display area is less than or equal to a preset distance threshold and the like.
  • the interaction information related to the target user who logs into the target page may be displayed.
  • the preset virtual object 203 approaches the preset positioning mark 202, so that the distance between the center points of the first display area and the second display area is continuously reduced, and is less than or equal to the preset distance
  • the threshold the interaction information of the target user who logs in to the target page is triggered to be displayed.
  • the target user can be understood as the user who is currently logged into the target page, and the interaction information can correspond to a certain function, event, or interactive task in the preset application program, and can be based on the characteristics of the preset application program and actual business needs, etc. Make settings without limitation.
  • the interaction information may be detailed information of a preset interaction event; for another example, the interaction information may be prompt information for completing a preset interaction task.
  • the number of interactive information can be multiple, and different interactive information can correspond to different preset conditions, so as to enrich the interactive information that can be triggered and displayed by controlling the movement of the mobile terminal, improve the interest, and increase the functions that the target page can carry .
  • the distance between the first center point and the second center point is less than or equal to the preset distance threshold, and the first center point is located on the left side of the second center point, the first interaction information is triggered; the first center point and the second center point The distance of is less than or equal to the preset distance threshold, and the first center point is located on the right side of the second center point, triggering the second interaction information and so on.
  • the real-time image collected by the mobile terminal, the preset positioning mark and the preset virtual object are displayed on the target page of the mobile terminal, wherein the first display area corresponding to the preset positioning mark is in The target page is fixed, and during the movement of the mobile terminal, the second display area corresponding to the preset virtual object is adjusted on the target page, and after determining that the relative relationship between the second display area and the first display area satisfies the preset condition In this case, the interaction information related to the target user logging in the target page is displayed.
  • the user can control the movement of the mobile terminal to simultaneously change the preset virtual object and the real-time image, and when the relative relationship between the preset positioning mark and the display area of the preset virtual object satisfies a certain condition, the display will be triggered
  • the interaction information of the target user who logs into the target page increases the fun of the interaction between the user and the mobile terminal, and enriches the interaction form.
  • adjusting the second display area corresponding to the preset virtual object on the target page before adjusting the second display area corresponding to the preset virtual object on the target page, it further includes: establishing the second display area corresponding to the preset virtual object and the real-time image The association relationship of the target real object; wherein, during the movement of the mobile terminal, adjusting the second display area corresponding to the preset virtual object on the target page includes: During the process, according to the change of the imaging position and/or the change of the imaging size of the target real object in the real-time image, the position and/or adjustment of the second display area corresponding to the preset virtual object on the target page Size.
  • the advantage of this setting is that by establishing the association relationship between the second display area corresponding to the preset virtual object and the target real object in the real-time image, the change of the second display area can be changed synchronously according to the imaging change of the target real object, creating Preset visual effects of virtual objects existing in the real world to enhance fun.
  • the image content included in the second display area may be determined in the current real-time image, and the real object in the determined image content may be identified as the target real object.
  • the image acquisition device will also move accordingly, the real-time image will change, and the imaging position of the target real object in the real-time image will also change. Identify the target real object in the current real-time image, determine the current imaging position of the target real object, and adjust the position of the second display area corresponding to the preset virtual object to the current imaging position of the target real object on the target page.
  • the imaging size will also change, and the size of the second display area can be adjusted synchronously according to the enlargement or reduction of the imaging size of the target real object, that is, the target real object
  • the size of the second display area also becomes larger synchronously, and as the imaging of the target real object becomes smaller, the size of the second display area also decreases synchronously.
  • the adjusting the second display area corresponding to the preset virtual object on the target page during the movement of the mobile terminal includes: during the movement of the mobile terminal, Acquiring motion data of the mobile terminal, and adjusting the position and/or size of the second display area corresponding to the preset virtual object on the target page according to the motion data.
  • the advantage of this setting is that the second display area can be adjusted more precisely according to the motion data.
  • the motion data may include, for example, speed, acceleration, angular velocity, and angular acceleration, and may also include, for example, motion direction, motion distance, and rotation angle.
  • the motion data of the mobile terminal can be acquired through the motion sensor in the mobile terminal.
  • the motion sensor may include, for example, an acceleration sensor, a gyroscope, and an electronic compass.
  • the corresponding relationship between different motion data and adjustment methods can be set in advance (which can be recorded as a preset corresponding relationship).
  • Each adjustment method can also include adjustment parameters, such as the moving direction and moving distance of the position, and the size The zoom factor, such as the change process of the shape, etc.
  • a preset frequency can be used to acquire exercise data, and the preset frequency can be set according to actual needs. After acquiring exercise data each time, the second display area is adjusted according to the currently acquired exercise data. When the preset frequency is higher than When it is high, for the user, the visual effect of the second display area can be dynamically adjusted in real time, and the feedback efficiency for the movement of the mobile terminal and the fluency of the page content change can be improved.
  • the relative relationship between the second display area and the first display area satisfies a preset condition, including: the overlapping area of the second display area and the first display area is greater than or equal to the preset area threshold.
  • the preset area threshold can be set according to actual needs.
  • the preset area threshold can be the area of the second display area, that is, when the second display area completely enters the first display area, the preset condition can be considered satisfied;
  • the preset area threshold can be the area of the first display area , that is, when the second display area completely includes the first display area, it can be considered that the preset condition and the like are met.
  • the advantage of such setting is that it is convenient for the user to quickly grasp the control method of controlling the movement of the mobile terminal to trigger the display of interactive information, thereby controlling the movement of the mobile terminal more quickly and accurately, and improving the interaction efficiency.
  • the movement direction may intersect the plane where the target page is located.
  • the movement direction and movement distance can be mapped to the plane where the target page is located , the first motion vector is obtained, and then how to adjust the position of the second display area is determined according to the first motion vector.
  • the second motion vector is firstly determined according to the first motion vector, and then the position of the second display area is adjusted according to the second motion vector.
  • the direction of the second motion vector is opposite to the direction of the first motion vector.
  • the direction of the first motion vector is the direction from the first display area to the second display area
  • the direction of the second motion vector is the direction of the second display area.
  • the area points in the direction of the first display area.
  • the length of the second motion vector is positively correlated with the length of the first motion vector.
  • the first proportional coefficient may be preset
  • the length of the second motion vector is the product of the length of the first motion vector and the first proportional coefficient.
  • the position of the second display area corresponding to the preset virtual object is adjusted in the target page according to the second movement vector, which may be, taking the current position of the second display area as the starting point of the second movement vector, and setting the second display area
  • the position of the region is adjusted to the endpoint of the second movement vector.
  • adjusting the size of the second display area corresponding to the preset virtual object on the target page according to the motion data includes: adjusting the size of the second display area corresponding to the preset virtual object, wherein the size is positively correlated with the length of the second motion vector.
  • the advantage of this setting is that when the length of the second motion vector is getting larger and larger, the visual effect that the preset virtual object is getting closer to the user can be presented; when the length of the second motion vector is getting smaller and smaller Under this condition, the visual effect that the preset virtual object is getting farther and farther away from the user can be presented to enhance the interest.
  • the second proportional coefficient may be preset, the size magnification factor is determined according to the product of the length of the second motion vector and the second proportional factor, and the size of the second display area is enlarged according to the size magnification factor.
  • it further includes: displaying a preset control associated with the preset virtual object on the target page; in response to the triggering of the preset control, automatically adjusting the preset control on the target page within a preset time period
  • the preset second display area corresponding to the virtual object so that the relative relationship between the second display area and the first display area satisfies the preset condition.
  • the display position and display form of the preset control are not limited, for example, it can be displayed in the first display area or below the first display area in the form of a button, or it can be displayed in the second display area or in the second display area Right and so on.
  • the preset duration can be set according to actual needs, for example, 1 second.
  • the number of preset virtual objects is at least one, and when the number of preset virtual objects is at least two, the number of interaction information is at least two, and different preset virtual objects correspond to The interaction information is different.
  • the advantage of this setting is that different preset virtual objects are used to indicate different interactive information, the interactive information that can be triggered to be displayed by controlling the movement of the mobile terminal is enriched, and it is convenient for the user to quickly distinguish the display triggering modes of different interactive information.
  • the method further includes: displaying preset prompt information on the target page, where the preset prompt information is used to prompt the user to control the movement of the mobile terminal to trigger display of the interaction information.
  • the preset prompt information may be text prompt information, or an operation example animation, etc., and the form is not limited.
  • the interaction information includes specified interaction information of a preset theme, and the preset virtual object is associated with the preset theme.
  • the interaction can be performed based on the preset theme, and the interaction information in the preset theme can be triggered and displayed through a novel interactive form, thereby enriching the functions of the preset application program.
  • the application program can set various themes, and the theme may involve some elements that are highly related to the theme. Elements can include things like chocolate and roses.
  • a preset theme can be set in the preset application program, and the preset virtual object can be set according to the characteristics of the preset theme.
  • the preset theme can include various specified interaction information, such as the interaction information of booking the preset theme, participating in the interaction information of the preset theme, or sharing the interaction information of the preset theme, etc.
  • These interactive information related to the preset theme can be set It is defined as interactive information, and is triggered to be displayed by using the data display method provided in the embodiments of the present disclosure.
  • the preset virtual object includes a preset avatar; the method further includes: when it is determined that the relative relationship between the second display area and the first display area satisfies a preset condition, and controlling the preset avatar to complete preset actions.
  • This setting is that it makes the preset virtual object more vivid, enhances the affinity, and displays richer interactive information through the preset virtual image to complete the preset action, thereby enhancing the interest.
  • preset actions such as waving, comparing hearts, or making an "OK" gesture, etc.
  • Fig. 3 is a schematic flowchart of another data display method provided by the embodiment of the present disclosure.
  • the embodiment of the present disclosure refines based on each optional solution in the above embodiments.
  • the method includes the following steps:
  • Step 301 displaying the real-time image collected by the mobile terminal, the preset positioning mark, the preset virtual object and the preset prompt information on the target page of the mobile terminal, wherein the first display area corresponding to the preset positioning mark is in the target page fixed.
  • the interaction information to be triggered to be displayed is specified interaction information of a preset theme in a preset application program, and the preset virtual object is associated with the preset theme.
  • the interactive information is the reservation success notification information of the Spring Festival theme.
  • the target page 401 shows a real-time image collected by a mobile terminal (not shown in the figure). ), scanning frame 402 (preset positioning mark), little tiger image 403 (preset virtual object) and preset prompt information 404, the preset prompt information 404 is used to prompt the user to control the movement of the mobile terminal to trigger the display of interactive information, As shown in Figure 4, "Aim the mobile phone at the little tiger to reserve the Spring Festival theme".
  • a preset control 405 may also be displayed on the target page 401. If it is detected that the preset control 405 is triggered, step 305 may be executed to quickly trigger display of interactive information.
  • FIG. 5 is a schematic diagram of another page change process provided by the embodiment of the present disclosure.
  • the interactive information is the participation information of the Spring Festival theme
  • the target page shows the real-time information collected by the mobile terminal Image (not shown in the figure), scanning frame, virtual invitations corresponding to 3 different Spring Festival themes (patterns can be designed according to the actual situation), such as voice New Year greeting invitation 501, collection card theme invitation and party invitation,
  • the preset prompt information is used to prompt the user to control the movement of the mobile terminal to trigger the display of the participation information of the Spring Festival theme that he wants to participate in, as shown in Figure 5 "Let's align the mobile phone with the theme you want to participate in” .
  • Step 302 establishing an association relationship between the second display area corresponding to the preset virtual object and the target real object in the real-time image.
  • the second display area corresponding to the image of the little tiger 403 is the upper middle area shown in the figure.
  • the real-time image imaged in the second display area If the real object is a water cup (not shown in the figure), then an association relationship between the second display area and the water cup is established.
  • Step 303 during the movement of the mobile terminal, adjust the position of the second display area corresponding to the preset virtual object on the target page according to the change of the imaging position of the target real object in the real-time image.
  • Step 304 judging whether the relative relationship between the second display area and the first display area satisfies the preset condition, and if the relative relationship between the second display area and the first display area satisfies the preset condition, execute step 305; If the relative relationship between the display area and the first display area does not satisfy the preset condition, return to step 303 .
  • the preset condition when the area of the overlapping area of the second display area and the first display area reaches a preset area threshold, it may be considered that the preset condition is satisfied.
  • the second display can be dynamically adjusted according to the imaging position of the water cup. area, until the image of the little tiger 403 completely falls into the scanning frame 402, then step 305 can be executed to trigger the reservation of the Spring Festival theme, and the reservation success message will be displayed.
  • the preset avatar is controlled to complete a preset action.
  • the little tiger image 403 can be controlled to complete the hand-waving action, and prompt that the appointment is successful, thereby enhancing the sense of interaction and improving user experience.
  • each second display area can be continuously and dynamically adjusted until any virtual invitation letter (such as the voice New Year greeting invitation letter in the figure) completely falls into place.
  • step 305 can be executed to trigger the participation event of the Spring Festival theme of voice greetings, and display the relevant participation interaction information, and then enter the voice collection and other related processes.
  • Step 305 displaying interaction information related to the target user logging into the target page.
  • the data display method provided by the embodiment of the present disclosure displays the real-time image collected by the mobile terminal, the preset positioning mark, the preset virtual object associated with the preset theme, and the preset prompt information on the target page of the mobile terminal, and establishes a preset The relationship between the second display area corresponding to the virtual object and the target real object in the real-time image, and synchronously and dynamically adjust the position of the second display area according to the change of the imaging position of the target real object in the real-time image until the preset virtual object falls into the Within the range of the preset location identifier, trigger to display the specified interactive information of the preset theme.
  • the user can control the movement of the mobile terminal to make the preset virtual object associated with the preset theme move to the preset positioning mark in the real-time picture, and then trigger the display of the specified interactive information of the preset theme, which increases the user experience.
  • the interaction with mobile terminals is interesting and rich in interactive forms.
  • FIG. 6 is a structural block diagram of a data display device provided by an embodiment of the present disclosure.
  • the device can be implemented by software and/or hardware, and generally can be integrated in a mobile terminal, and can display data by executing a data display method. As shown in Figure 6, the device includes:
  • the display module 601 is configured to display on the target page of the mobile terminal the real-time image collected by the mobile terminal, the preset positioning mark and the preset virtual object, wherein the first display area corresponding to the preset positioning mark is in the fixed in the above target page;
  • the display area adjustment module 602 is configured to adjust the second display area corresponding to the preset virtual object on the target page during the movement of the mobile terminal;
  • the interaction information display module 603 is configured to display interaction information related to the target user logging in the target page when it is determined that the relative relationship between the second display area and the first display area satisfies a preset condition.
  • the data display device displays the real-time image collected by the mobile terminal, the preset positioning mark and the preset virtual object on the target page of the mobile terminal, wherein the first display area corresponding to the preset positioning mark is in The target page is fixed, and during the movement of the mobile terminal, the second display area corresponding to the preset virtual object is adjusted on the target page, and after determining that the relative relationship between the second display area and the first display area satisfies the preset condition In this case, the interaction information related to the target user logging in the target page is displayed.
  • the user can control the movement of the mobile terminal to simultaneously change the preset virtual object and the real-time image, and when the relative relationship between the preset positioning mark and the display area of the preset virtual object satisfies a certain condition, the display will be triggered
  • the interaction information of the target user who logs into the target page increases the fun of the interaction between the user and the mobile terminal, and enriches the interaction form.
  • the device further includes: an association establishing module, configured to establish a second display area corresponding to the preset virtual object before adjusting the second display area corresponding to the preset virtual object on the target page The association relationship between the region and the target real object in the real-time image;
  • the display area adjustment module is configured to: during the movement of the mobile terminal, according to the change of the imaging position and/or the change of the imaging size of the target real object in the real-time image, adjust the display area in the target page.
  • the display area adjustment module includes:
  • a motion data acquisition unit configured to acquire motion data of the mobile terminal during the motion of the mobile terminal
  • the display area adjustment unit is configured to adjust the position and/or size of the second display area corresponding to the preset virtual object in the target page according to the motion data.
  • the relative relationship between the second display area and the first display area satisfies preset conditions, including:
  • the area of the overlapping area of the second display area and the first display area is greater than or equal to a preset area threshold.
  • the motion data includes motion direction and motion distance;
  • the display area adjustment module includes:
  • a data acquisition unit configured to acquire motion data of the mobile terminal
  • a first vector determination unit configured to determine a first movement vector of the mobile terminal on the plane where the target page is located according to the movement data
  • the second vector determination unit is configured to determine a second motion vector according to the first motion vector, wherein the direction of the second motion vector is opposite to the direction of the first motion vector, and the length of the second motion vector is Positively correlated with the length of the first motion vector;
  • the position adjustment unit is configured to adjust the position of the second display area corresponding to the preset virtual object on the target page according to the second movement vector.
  • the display area adjustment module also includes:
  • a size adjustment unit configured to adjust the size of the second display area corresponding to the preset virtual object in the target page according to the length of the second movement vector, wherein the size is the same as that of the second movement vector
  • the length of the vector is positively related.
  • the device also includes:
  • a control display module configured to display a preset control associated with the preset virtual object on the target page
  • an automatic adjustment module configured to respond to the preset control being triggered, automatically adjust the second display area corresponding to the preset virtual object in the target page within a preset time period, so that the second display area and The relative relationship of the first display area satisfies the preset condition.
  • the number of preset virtual objects is at least one, and when the number of preset virtual objects is at least two, the number of interaction information is at least two, and the interaction corresponding to different preset virtual objects
  • the information is different, the interaction information includes specified interaction information of a preset theme, and the preset virtual object is associated with the preset theme.
  • the device also includes:
  • the information display module is configured to display preset prompt information on the target page, and the preset prompt information is used to prompt the user to control the movement of the mobile terminal to trigger the display of the interactive information.
  • the preset virtual object includes a preset virtual image; the device further includes:
  • the action control module is configured to control the preset avatar to complete a preset action when it is determined that the relative relationship between the second display area and the first display area satisfies a preset condition.
  • FIG. 7 it shows a schematic structural diagram of a mobile terminal 700 suitable for implementing the embodiments of the present disclosure.
  • the mobile terminal in the embodiment of the present disclosure may include but not limited to such as mobile phone, notebook computer, digital broadcast receiver, personal digital assistant (Personal Digital Assistant, PDA), PAD (tablet computer), portable multimedia player (Portable Media Player) , PMP), mobile terminals such as vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital televisions (Television, TV), desktop computers, and the like.
  • PDA Personal Digital Assistant
  • PAD tablet computer
  • PMP portable multimedia player
  • PMP portable multimedia player
  • mobile terminals such as vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital televisions (Television, TV), desktop computers, and the like.
  • vehicle-mounted terminals such as vehicle-mounted navigation terminals
  • fixed terminals such as digital televisions (Television, TV), desktop computers, and the like.
  • a mobile terminal 700 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 708 is loaded into the program in the random access memory (Random Access Memory, RAM) 703 to execute various appropriate actions and processes.
  • a processing device such as a central processing unit, a graphics processing unit, etc.
  • RAM Random Access Memory
  • various programs and data necessary for the operation of the mobile terminal 700 are also stored.
  • the processing device 701, ROM 702, and RAM 703 are connected to each other through a bus 704.
  • An input/output (Input/Output, I/O) interface 705 is also connected to the bus 704 .
  • an input device 706 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; including, for example, a liquid crystal display (Liquid Crystal Display, LCD) , an output device 707 such as a speaker, a vibrator, etc.; a storage device 708 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 709.
  • the communication means 709 may allow the mobile terminal 700 to perform wireless or wired communication with other devices to exchange data. While FIG. 7 shows mobile terminal 700 having various devices, it is to be understood that implementing or having all of the devices shown is not a requirement. More or fewer means may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product, which includes a computer program carried on a non-transitory computer readable medium, where the computer program includes program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from a network via communication means 709, or from storage means 708, or from ROM 702.
  • the processing device 701 the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
  • the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two.
  • a computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof.
  • Computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory ((Erasable Programmable Read-Only Memory, EPROM) or flash memory), optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or the above any suitable combination.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any appropriate medium, including but not limited to: electric wires, optical cables, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
  • the above-mentioned computer-readable medium may be contained in the above-mentioned mobile terminal, or may exist independently without being assembled into the mobile terminal.
  • the above-mentioned computer-readable medium carries at least one program, and when the above-mentioned at least one program is executed by the mobile terminal, the mobile terminal: displays the real-time image collected by the mobile terminal and the preset location identification on the target page of the mobile terminal and a preset virtual object, wherein the first display area corresponding to the preset positioning mark is fixed on the target page; during the movement of the mobile terminal, the preset virtual object is adjusted on the target page A second display area corresponding to the object; when it is determined that the relative relationship between the second display area and the first display area satisfies a preset condition, displaying interaction information related to the target user logging in the target page.
  • Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, or combinations thereof, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and Includes conventional procedural programming languages - such as the "C" language or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or it can be connected to an external computer ( For example, use an Internet service provider to connect via the Internet).
  • LAN Local Area Network
  • WAN Wide Area Network
  • each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
  • the modules involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of the module does not constitute a limitation on the module itself under certain circumstances.
  • the interactive information display module can also be described as "determining the relative relationship between the second display area and the first display area A module for displaying interaction information related to the target user logging in to the target page when the preset condition is met”.
  • exemplary types of hardware logic components include: Field Programmable Gate Arrays (Field Programmable Gate Arrays, FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (Application Specific Standard Parts, ASSP), System on Chip (System on Chip, SOC), Complex Programmable Logic Device (Complex Programmable Logic Device, CPLD) and so on.
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.
  • a data display method including:
  • the real-time image collected by the mobile terminal, the preset positioning mark and the preset virtual object are displayed on the target page of the mobile terminal, wherein the first display area corresponding to the preset positioning mark is fixed in the target page;
  • the method before adjusting the second display area corresponding to the preset virtual object on the target page, the method further includes:
  • the adjusting the second display area corresponding to the preset virtual object on the target page during the movement of the mobile terminal includes:
  • the second corresponding to the preset virtual object is adjusted on the target page.
  • the adjusting the second display area corresponding to the preset virtual object on the target page during the movement of the mobile terminal includes:
  • the mobile terminal During the movement of the mobile terminal, acquiring movement data of the mobile terminal, and adjusting the position and/or size of the second display area corresponding to the preset virtual object on the target page according to the movement data size.
  • the relative relationship between the second display area and the first display area satisfies preset conditions, including:
  • the area of the overlapping area of the second display area and the first display area is greater than or equal to a preset area threshold.
  • the number of preset virtual objects is at least one, and when the number of preset virtual objects is at least two, the number of interaction information is at least two, and the interaction corresponding to different preset virtual objects
  • the information is different, the interaction information includes specified interaction information of a preset theme, and the preset virtual object is associated with the preset theme.
  • the method further includes: displaying preset prompt information on the target page, where the preset prompt information is used to prompt the user to control the movement of the mobile terminal to trigger display of the interactive information.
  • the preset virtual object includes a preset virtual image; the method further includes:
  • the preset avatar is controlled to complete a preset action.
  • a data display device including:
  • the display module is configured to display on the target page of the mobile terminal the real-time image collected by the mobile terminal, the preset positioning mark and the preset virtual object, wherein the first display area corresponding to the preset positioning mark is in the fixed in the target page;
  • a display area adjustment module configured to adjust the second display area corresponding to the preset virtual object on the target page during the movement of the mobile terminal
  • the interactive information display module is configured to display interactive information related to the target user who logs in the target page when it is determined that the relative relationship between the second display area and the first display area satisfies a preset condition.

Landscapes

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

Abstract

本公开实施例公开了数据显示方法、装置、移动终端及存储介质。该方法包括:在移动终端的目标页面中显示通过移动终端采集的实时图像、固定的预设定位标识以及预设虚拟对象,在移动终端的运动过程中,在目标页面中调整预设虚拟对象对应的第二显示区域,在确定第二显示区域和第一显示区域的相对关系满足预设条件的情况下,显示与登录所述目标页面的目标用户相关的交互信息。

Description

数据显示方法、装置、移动终端及存储介质
本公开要求在2022年1月12日提交中国专利局、申请号为202210033314.6的中国专利申请的优先权,该申请的全部内容通过引用结合在本公开中。
技术领域
本公开实施例涉及计算机技术领域,例如涉及数据显示方法、装置、移动终端及存储介质。
背景技术
随着移动终端的普及,手机等移动终端设备已成为人们工作和生活的必备工具。
目前,移动终端中所能够实现的功能越来越丰富,用户可以与移动终端进行交互,例如用户可以通过作用于移动终端屏幕上的点击或滑动等操作来进行交互,进而实现相应的功能。然而,上述交互方式单调乏味,需要改进。
发明内容
本公开实施例提供了数据显示方法、装置、存储介质及移动终端,可以优化相关技术中的信息交互方案。
第一方面,本公开实施例提供了一种数据显示方法,包括:
在移动终端的目标页面中显示通过所述移动终端采集的实时图像、预设定位标识以及预设虚拟对象,其中,所述预设定位标识对应的第一显示区域在所述目标页面中固定;
在所述移动终端的运动过程中,在所述目标页面中调整所述预设虚拟对象对应的第二显示区域;
响应于确定所述第二显示区域和所述第一显示区域的相对关系满足预设条件,显示与登录所述目标页面的目标用户相关的交互信息。
第二方面,本公开实施例提供了一种数据显示装置,包括:
显示模块,设置为在移动终端的目标页面中显示通过所述移动终端采集的实时图像、预设定位标识以及预设虚拟对象,其中,所述预设定位标识对应的第一显示区域在所述目标页面中固定;
显示区域调整模块,设置为在所述移动终端的运动过程中,在所述目标页面中调整所述预设虚拟对象对应的第二显示区域;
交互信息显示模块,设置为在确定所述第二显示区域和所述第一显示区域的相对关系满足预设条件的情况下,显示与登录所述目标页面的目标用户相关的交互信息。
第三方面,本公开实施例提供了一种移动终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如本公开实施例提供的数据显示方法。
第四方面,本公开实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本公开实施例提供的数据显示方法。
附图说明
图1为本公开实施例提供的一种数据显示方法的流程示意图;
图2为本公开实施例提供的一种页面示意图;
图3为本公开实施例提供的另一种数据显示方法的流程示意图;
图4为本公开实施例提供的一种页面变化过程示意图;
图5为本公开实施例提供的另一种页面变化过程示意图;
图6为本公开实施例提供的一种数据显示装置的结构框图;
图7为本公开实施例提供的一种移动终端的结构框图。
具体实施方式
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序 执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“至少一个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
下述各实施例中,每个实施例中同时提供了可选特征和示例,实施例中记载的各个特征可进行组合,形成多个可选方案,不应将每个编号的实施例仅视为一个技术方案。
图1为本公开实施例提供的一种数据显示方法的流程示意图,该方法可以由数据显示装置执行,其中该装置可由软件和/或硬件实现,一般可集成在移动终端中。所述移动终端可以为手机、智能手表、智能眼镜、平板电脑以及个人数字助理等移动设备,不做限定。如图1所示,该方法包括:
步骤101、在移动终端的目标页面中显示通过移动终端采集的实时图像、预设定位标识以及预设虚拟对象,其中,预设定位标识对应的第一显示区域在目标页面中固定。
本公开实施例中,移动终端可以内置或外接有如摄像头等图像采集装置, 使得移动终端可以具备采集实时图像的能力。目标页面可以是预设应用程序中的页面,预设应用程序装载于移动终端中,预设应用程序的类型不做限定,如社交类应用程序、直播类应用程序、视频类应用程序或资讯类应用程序等。示例性的,预设应用程序可调用移动终端的图像采集功能(如相机功能),获取到移动终端采集的实时图像并显示于目标页面中,在目标页面中实现实时图像的预览效果。可选的,在预设应用程序中设置目标页面对应的预设入口,用户可以通过触发该预设入口进入目标页面,也即在检测到预设入口被触发后,执行本步骤。
示例性的,在目标页面中的第一显示区域显示预设定位标识,第一显示区域的边界可以与预设定位标识的轮廓相匹配,第一显示区域可以是预先设置的固定区域,位置不做限定,例如可以是目标页面的中心位置、中下位置或右下角位置等。预设定位标识的表现形式不做限定,例如可以是矩形框或圆圈等。
本公开实施例中,预设虚拟对象的类型不做限定,例如可以是虚拟形象(如卡通人物、虚拟人偶或动物形象等)、虚拟物品(如虚拟花束或虚拟食物等)或虚拟标识(如虚拟箭头)等等。在目标页面中的第二显示区域显示预设虚拟对象,第二显示区域的边界可以与预设虚拟对象的轮廓相匹配,第二显示区域与第一显示区域一般不同。在进入目标页面时,第二显示区域(可认为是初始的第二显示区域)可以是预先设置的区域,位置不做限定,例如可以是目标页面的右上角位置或中上位置等等,每次进入目标页面时,初始的第二显示区域可以相同或不同。初始的第二显示区域与第一显示区域一般不存在交集,在目标页面的显示过程中,第二显示区域可以发生变化。
图2为本公开实施例提供的一种页面示意图,示出了进入目标页面时的页面显示内容,如图2所示,目标页面201中显示有预设定位标识202和预设虚拟对象203,第一显示区域位于页面的中下位置,第二显示区域位于页面的中上位置。
步骤102、在所述移动终端的运动过程中,在所述目标页面中调整所述预设 虚拟对象对应的第二显示区域。
示例性的,用户在使用移动终端时一般需要通过身体部位与移动终端接触,进而起到固定移动终端的作用,如用手握持手机、手腕佩戴智能手表、或头部佩戴智能眼镜等,用户可以通过身体部位的运动来控制移动终端的运动。
示例性的,在移动终端的运动过程中,可以在目标页面中调整第二显示区域,调整方式和调整依据不做限定,例如可以包括但不限于调整第二显示区域的位置、尺寸大小或形状等项目,可以调整其中一项或同时调整多项。可选的,可以预先设置不同运动过程与调整方式的对应关系,根据当前的运动过程对第二显示区域进行相应的调整。
示例性的,随着移动终端的运动,实时图像也会发生变化,也即在实时图像的变化过程中调整预设虚拟对象的显示,营造预设虚拟对象存在于现实世界中的视觉效果,增强交互趣味性。
步骤103、在确定所述第二显示区域和所述第一显示区域的相对关系满足预设条件的情况下,显示与登录所述目标页面的目标用户相关的交互信息。
示例性的,第二显示区域经过调整后,与第一显示区域的相对关系会发生变化,这里的相对关系例如可以包括基于位置的相对关系或基于交叠区域的相对关系等。基于位置的相对关系例如可以包括第一显示区域的中心点(即第一中心点)与第二显示区域的中心点(即第二中心点)的距离,第一显示区域与第二显示区域是否相交等;基于交叠区域的相对关系例如可以包括第一显示区域与第二显示区域的交叠区域的面积的大小,交叠区域的形状等等。
示例性的,可以根据实际需求设定预设条件,例如第一显示区域的中心点与第二显示区域的中心点的距离小于或等于预设距离阈值等。在检测到满足预设条件时,可以显示与登录所述目标页面的目标用户相关的交互信息。例如,以图2为例,通过控制移动终端运动使得预设虚拟对象203向预设定位标识202靠近,使得第一显示区域和第二显示区域的中心点距离不断缩小,小于或等于预设距离阈值时,触发显示登录目标页面的目标用户的交互信息。
示例性的,目标用户可以理解为当前登录目标页面的用户,交互信息可以对应于预设应用程序中的某个功能、事件或交互任务等,可根据预设应用程序的特点以及实际业务需求等进行设定,不做限定。例如,交互信息可以是预设交互事件的详情信息;又如,交互信息可以是完成预设交互任务的提示信息。
示例性的,交互信息的数量可以是多个,不同交互信息可以对应不同的预设条件,从而丰富通过控制移动终端运动可以触发显示的交互信息,提升趣味性,增加目标页面所能够承载的功能。例如,第一中心点与第二中心点的距离小于或等于预设距离阈值,且第一中心点位于第二中心点的左侧,触发第一交互信息;第一中心点与第二中心点的距离小于或等于预设距离阈值,且第一中心点位于第二中心点的右侧,触发第二交互信息等。
本公开实施例中提供的数据显示方法,在移动终端的目标页面中显示通过移动终端采集的实时图像、预设定位标识以及预设虚拟对象,其中,预设定位标识对应的第一显示区域在所述目标页面中固定,在移动终端的运动过程中,在目标页面中调整预设虚拟对象对应的第二显示区域,在确定第二显示区域和第一显示区域的相对关系满足预设条件的情况下,显示与登录所述目标页面的目标用户相关的交互信息。通过采用上述技术方案,使得用户可以通过控制移动终端运动来使得预设虚拟对象和实时图像同时发生变化,当预设定位标识和预设虚拟对象的显示区域的相对关系满足一定条件时,触发显示登录目标页面的目标用户的交互信息,增加了用户与移动终端之间交互的趣味性,丰富交互形式。
在一些实施例中,在所述目标页面中调整所述预设虚拟对象对应的第二显示区域之前,还包括:建立所述预设虚拟对象对应的第二显示区域与所述实时图像中的目标现实对象的关联关系;其中,所述在所述移动终端的运动过程中,在所述目标页面中调整所述预设虚拟对象对应的第二显示区域,包括:在所述移动终端的运动过程中,根据所述目标现实对象在所述实时图像中的成像位置变化和/或成像大小变化,在所述目标页面中调整所述预设虚拟对象对应的第二 显示区域的位置和/或尺寸大小。这样设置的好处在于,通过建立预设虚拟对象对应的第二显示区域与实时图像中的目标现实对象的关联关系,使得第二显示区域的变化可以根据目标现实对象的成像变化而同步变化,营造预设虚拟对象存在于现实世界的视觉效果,增强趣味性。
示例性的,可以在进入目标页面时,在当前的实时图像中确定第二显示区域内包含的图像内容,识别所确定的图像内容中的现实对象,作为目标现实对象。在移动终端的运动过程中,图像采集装置也会随之运动,实时图像会发生变化,目标现实对象在实时图像中的成像位置也会发生变化。在当前的实时图像中进行目标现实对象的识别,确定目标现实对象的当前成像位置,在目标页面中将预设虚拟对象对应的第二显示区域的位置调整至目标现实对象的当前成像位置。此外,若移动终端靠近目标现实对象,则成像大小也会发生变化,可以根据目标现实对象的成像大小的放大或缩小,同步调整第二显示区域的尺寸大小的放大或缩小,也即,目标现实对象的成像变大,第二显示区域的尺寸也同步变大,目标现实对象的成像变小,第二显示区域的尺寸也同步变小。
在一些实施例中,所述在所述移动终端的运动过程中,在所述目标页面中调整所述预设虚拟对象对应的第二显示区域,包括:在所述移动终端的运动过程中,获取所述移动终端的运动数据,并根据所述运动数据在所述目标页面中调整所述预设虚拟对象对应的第二显示区域的位置和/或尺寸大小。这样设置的好处在于,可以根据运动数据更加精准地调整第二显示区域。
本公开实施例中,运动数据可以包括如速度、加速度、角速度和角加速度等,还可以包括如运动方向、运动距离以及旋转角度等。在进入目标页面后,可以通过移动终端中的运动传感器来获取移动终端的运动数据。其中,运动传感器可以包括如加速度传感器、陀螺仪以及电子罗盘等。可选的,可以预先设置不同运动数据与调整方式的对应关系(可记为预设对应关系),每种调整方式中还可以包括调整参数,如位置的移动方向和移动距离等,又如尺寸的缩放倍数,再如形状的变化过程等。在获取到运动数据后,通过查询预设对应关系, 确定对应的调整方式,进而对第二显示区域进行相应的调整。
示例性的,可以采用预设频率来获取运动数据,预设频率可以根据实际需求设置,每次获取到运动数据后,根据当前获取的运动数据对第二显示区域进行调整,当预设频率较高时,对用户来说,可以达到实时动态调整第二显示区域的视觉效果,提高针对移动终端运动的反馈效率以及页面内容变化的流畅性。
在一些实施例中,所述第二显示区域和所述第一显示区域的相对关系满足预设条件,包括:所述第二显示区域和所述第一显示区域的交叠区域的面积大于或等于预设面积阈值。这样设置的好处在于,可以使得用户更加直观地观察到第二显示区域的变化趋势,进而更加快速准确地控制移动终端的运动,提高交互效率。
示例性的,预设面积阈值可以根据实际需求设置。例如预设面积阈值可以是第二显示区域的面积,也即第二显示区域完全进入第一显示区域时,可认为满足预设条件;又如,预设面积阈值可以是第一显示区域的面积,也即第二显示区域完全包含第一显示区域时,可认为满足预设条件等。
在一些实施例中,所述运动数据包括运动方向和运动距离。根据所述运动数据在所述目标页面中调整所述预设虚拟对象对应的第二显示区域的位置,包括:根据所述运动数据确定所述移动终端在所述目标页面所处平面上的第一移动向量;根据所述第一移动向量确定第二移动向量,其中,所述第二移动向量的方向与所述第一移动向量的方向相反,所述第二移动向量的长度与第一移动向量的长度正相关;根据所述第二移动向量在所述目标页面中调整所述预设虚拟对象对应的第二显示区域的位置。这样设置的好处在于,可以便于用户快速掌握控制移动终端运动以触发显示交互信息的控制方式,进而更加快速准确地控制移动终端的运动,提高交互效率。
示例性的,用户在控制移动终端运动时,运动方向可能与目标页面所处平面相交,为了便于用户操作以及便于对多样的运动数据进行标准化,可以将运动方向和运动距离映射到目标页面所在平面中,得到第一移动向量,再根据第 一移动向量确定如何调整第二显示区域的位置。示例性的,先根据第一移动向量确定第二移动向量,再根据第二移动向量调整第二显示区域的位置。其中,第二移动向量的方向与第一移动向量的方向相反,例如,第一移动向量的方向为从第一显示区域指向第二显示区域的方向,则第二移动向量的方向为第二显示区域指向第一显示区域的方向。第二移动向量的长度与第一移动向量的长度正相关,例如可以预先设置第一比例系数,第二移动向量的长度为第一移动向量的长度与第一比例系数的乘积。可选的,根据第二移动向量在目标页面中调整预设虚拟对象对应的第二显示区域的位置,可以是,将第二显示区域的当前位置作为第二移动向量的起点,将第二显示区域的位置调整至第二移动向量的终点。
在一些实施例中,根据所述运动数据在所述目标页面中调整所述预设虚拟对象对应的第二显示区域的尺寸大小,包括:根据所述第二移动向量的长度在所述目标页面中调整所述预设虚拟对象对应的第二显示区域的尺寸大小,其中,所述尺寸大小与所述第二移动向量的长度正相关。这样设置的好处在于,在第二移动向量的长度越来越大的情况下,可以呈现预设虚拟对象距离用户越来越近的视觉效果,在第二移动向量的长度越来越小的情况下,可以呈现预设虚拟对象距离用户越来越远的视觉效果,增强趣味性。示例性的,可以预先设置第二比例系数,根据第二移动向量的长度与第二比例系数的乘积确定尺寸放大倍数,依据该尺寸放大倍数对第二显示区域的尺寸进行放大处理。
在一些实施例中,还包括:在所述目标页面中显示所述预设虚拟对象关联的预设控件;响应于所述预设控件被触发,于预设时长内在所述目标页面中自动调整所述预设虚拟对象对应的第二显示区域,以使所述第二显示区域和所述第一显示区域的相对关系满足所述预设条件。这样设置的好处在于,可以提供更加快捷的交互信息的显示触发方式,方便用户根据自身需求进行选择,在保证交互信息显示触发的趣味性的同时,丰富触发方式,并可提高交互信息的显示效率。
示例性的,预设控件的显示位置和显示形式不做限定,例如可以以按钮形式显示于第一显示区域内或第一显示区域下方,也可显示于第二显示区域内或第二显示区域右侧等等。其中,预设时长可以根据实际需求设置,例如1秒。
在一些实施例中,所述预设虚拟对象的数量为至少一个,当所述预设虚拟对象的数量为至少两个时,所述交互信息的数量为至少两个,不同预设虚拟对象对应的交互信息不同。这样设置的好处在于,利用不同的预设虚拟对象指示不同的交互信息,丰富通过控制移动终端运动可以触发显示的交互信息,且便于用户快速区分不同交互信息的显示触发方式。
在一些实施例中,还包括:在所述目标页面中显示预设提示信息,所述预设提示信息用于提示用户控制所述移动终端运动以触发显示所述交互信息。这样设置的好处在于,方便用户根据预设提示信息快速了解如何控制移动终端运动来触发交互信息,提升交互效率。可选的,预设提示信息可以是文字提示信息,还可以是操作示例动画等,形式不做限定。
在一些实施例中,所述交互信息包括预设主题的指定交互信息,所述预设虚拟对象与所述预设主题相关联。这样设置的好处在于,可以基于预设主题进行交互,通过新颖的交互形式触发显示预设主题中的交互信息,丰富预设应用程序功能。
示例性的,应用程序可以设置各种各样的主题,主题中可能会涉及一些与主题相关度较高的元素,如春节主题的相关元素可包括春联、爆竹和生肖等,情人节主题的相关元素可包括巧克力和玫瑰花等。本公开实施例中,可以在预设应用程序中设置预设主题,根据预设主题的特性来设定预设虚拟对象。预设主题中可以包括各种指定交互信息,如预约预设主题的交互信息、参与预设主题的交互信息或分享预设主题的交互信息等,可将这些与预设主题相关的交互信息设定为交互信息,通过采用本公开实施例中提供的数据显示方法进行触发显示。
在一些实施例中,所述预设虚拟对象包括预设虚拟形象;所述方法还包括: 在确定所述第二显示区域和所述第一显示区域的相对关系满足预设条件的情况下,控制所述预设虚拟形象完成预设动作。这样设置的好处在于,使得预设虚拟对象更加生动形象,增强亲和度,通过预设虚拟形象完成预设动作来展示更丰富的交互信息,增强趣味性。可选的,预设动作如挥手、比心或做“OK”手势等。
图3为本公开实施例提供的另一种数据显示方法的流程示意图,本公开实施例以上述实施例中各个可选方案为基础进行细化,示例性的,该方法包括如下步骤:
步骤301、在移动终端的目标页面中显示通过移动终端采集的实时图像、预设定位标识、预设虚拟对象以及预设提示信息,其中,预设定位标识对应的第一显示区域在目标页面中固定。
示例性的,待触发显示的交互信息为预设应用程序中的预设主题的指定交互信息,预设虚拟对象与预设主题相关联。
图4为本公开实施例提供的一种页面变化过程示意图,以春节主题为例,交互信息为春节主题的预约成功通知信息,目标页面401中显示了通过移动终端采集的实时图像(图中未示出)、扫描框402(预设定位标识)、小老虎形象403(预设虚拟对象)以及预设提示信息404,预设提示信息404用于提示用户控制移动终端运动以触发显示交互信息,如图4中所示的“移动手机对准小老虎预约春节主题”。
可选的,目标页面401中还可以显示预设控件405,若检测到预设控件405被触发,可执行步骤305,快速触发交互信息的显示。
图5为本公开实施例提供的另一种页面变化过程示意图,如图5所示,仍以春节主题为例,交互信息为春节主题的参与信息,目标页面中显示了通过移动终端采集的实时图像(图中未示出)、扫描框、3个不同春节主题分别对应的虚拟邀请函(图案可根据实际情况设计),如语音拜年邀请函501、集卡片主题邀请函和看晚会邀请函,以及预设提示信息,预设提示信息用于提示用户控制 移动终端运动以触发显示想要参与的春节主题的参与信息,如图5中所示的“移动手机对准想要参加的主题吧”。
步骤302、建立预设虚拟对象对应的第二显示区域与实时图像中的目标现实对象的关联关系。
示例性的,以图4为例,假设在进入目标页面时,小老虎形象403对应的第二显示区域为图中所示的中上方区域,此时,实时图像中在第二显示区域成像的现实对象为水杯(图中未示出),则建立第二显示区域与水杯的关联关系。
步骤303、在移动终端的运动过程中,根据目标现实对象在实时图像中的成像位置变化,在目标页面中调整预设虚拟对象对应的第二显示区域的位置。
以图4为例,用户看到预设提示信息后,会主动控制移动终端运动,以将扫描框对准小老虎形象,在移动终端的运动过程中,水杯在实时图像中的成像位置会发生变化,控制小老虎形象跟随水杯的成像位置进行变化,也即将小老虎形象对应的第二显示区域同步调整至水杯在当前实时图像中的成像位置,实现对第二显示区域的位置调整,对于用户来说,从目标页面中可以看到小老虎形象跟着水杯一起向扫描框移动。
步骤304、判断第二显示区域和第一显示区域的相对关系是否满足预设条件,在第二显示区域和第一显示区域的相对关系满足预设条件的情况下,执行步骤305;在第二显示区域和第一显示区域的相对关系不满足预设条件的情况下,返回执行步骤303。
示例性的,第二显示区域和第一显示区域的交叠区域的面积达到预设面积阈值时,可认为满足预设条件。
如图4所示,当用户控制移动终端按照实线箭头所示方向不断移动的过程中,小老虎形象403会距离扫描框402越来越近,在小老虎形象403对应的第二显示区域和扫描框402对应的第一显示区域的交叠区域的面积小于预设面积阈值之前,例如小老虎形象403未完全落入扫描框402内之前,可以不断地根据水杯的成像位置动态调整第二显示区域,直到小老虎形象403完全落入扫描 框402内,则可执行步骤305,触发春节主题的预约,显示预约成功信息。
可选的,在确定第二显示区域和第一显示区域的相对关系满足预设条件的情况下,控制预设虚拟形象完成预设动作。如图4所示,小老虎形象403完全落入扫描框402内后,可以控制小老虎形象403完成挥手动作,并提示预约成功,增强互动感,提升用户体验。
如图5所示,当用户控制移动终端按照实线箭头所示方向不断移动的过程中,3个虚拟邀请函也会随之移动,在3个虚拟邀请函分别对应的第二显示区域和扫描框对应的第一显示区域的交叠区域的面积均小于预设面积阈值之前,可以不断地动态调整各第二显示区域,直到任意一个虚拟邀请函(如图中的语音拜年邀请函)完全落入扫描框内,则可执行步骤305,触发语音拜年这一春节主题的参与事件,并显示相关的参与交互信息,随后可进入语音采集等相关流程。
步骤305、显示与登录目标页面的目标用户相关的交互信息。
本公开实施例提供的数据显示方法,在移动终端的目标页面中显示通过移动终端采集的实时图像、预设定位标识、与预设主题关联的预设虚拟对象以及预设提示信息,建立预设虚拟对象对应的第二显示区域与实时图像中的目标现实对象的关联关系,并根据目标现实对象在实时图像中的成像位置变化同步动态调整第二显示区域的位置,直到预设虚拟对象落入预设定位标识所在范围内,触发显示预设主题的指定交互信息。通过采用上述技术方案,使得用户可以通过控制移动终端运动来使得预设主题关联的预设虚拟对象在实时画面中向预设定位标识移动,进而触发显示预设主题的指定交互信息,增加了用户与移动终端之间交互的趣味性,丰富交互形式。
图6为本公开实施例提供的一种数据显示装置的结构框图,该装置可由软件和/或硬件实现,一般可集成在移动终端中,可通过执行数据显示方法来进行数据显示。如图6所示,该装置包括:
显示模块601,设置为在移动终端的目标页面中显示通过所述移动终端采集的实时图像、预设定位标识以及预设虚拟对象,其中,所述预设定位标识对应 的第一显示区域在所述目标页面中固定;
显示区域调整模块602,设置为在所述移动终端的运动过程中,在所述目标页面中调整所述预设虚拟对象对应的第二显示区域;
交互信息显示模块603,设置为在确定所述第二显示区域和所述第一显示区域的相对关系满足预设条件的情况下,显示与登录所述目标页面的目标用户相关的交互信息。
本公开实施例中提供的数据显示装置,在移动终端的目标页面中显示通过移动终端采集的实时图像、预设定位标识以及预设虚拟对象,其中,预设定位标识对应的第一显示区域在所述目标页面中固定,在移动终端的运动过程中,在目标页面中调整预设虚拟对象对应的第二显示区域,在确定第二显示区域和第一显示区域的相对关系满足预设条件的情况下,显示与登录所述目标页面的目标用户相关的交互信息。通过采用上述技术方案,使得用户可以通过控制移动终端运动来使得预设虚拟对象和实时图像同时发生变化,当预设定位标识和预设虚拟对象的显示区域的相对关系满足一定条件时,触发显示登录目标页面的目标用户的交互信息,增加了用户与移动终端之间交互的趣味性,丰富交互形式。
可选的,所述装置还包括:关联关系建立模块,设置为在所述目标页面中调整所述预设虚拟对象对应的第二显示区域之前,建立所述预设虚拟对象对应的第二显示区域与所述实时图像中的目标现实对象的关联关系;
所述显示区域调整模块设置为:在所述移动终端的运动过程中,根据所述目标现实对象在所述实时图像中的成像位置变化和/或成像大小变化,在所述目标页面中调整所述预设虚拟对象对应的第二显示区域的位置和/或尺寸大小。
可选的,显示区域调整模块包括:
运动数据获取单元,设置为在所述移动终端的运动过程中,获取所述移动终端的运动数据;
显示区域调整单元,设置为根据所述运动数据在所述目标页面中调整所述 预设虚拟对象对应的第二显示区域的位置和/或尺寸大小。
可选的,所述第二显示区域和所述第一显示区域的相对关系满足预设条件,包括:
所述第二显示区域和所述第一显示区域的交叠区域的面积大于或等于预设面积阈值。
可选的,所述运动数据包括运动方向和运动距离;显示区域调整模块包括:
数据获取单元,设置为获取所述移动终端的运动数据;
第一向量确定单元,设置为根据所述运动数据确定所述移动终端在所述目标页面所处平面上的第一移动向量;
第二向量确定单元,设置为根据所述第一移动向量确定第二移动向量,其中,所述第二移动向量的方向与所述第一移动向量的方向相反,所述第二移动向量的长度与第一移动向量的长度正相关;
位置调整单元,设置为根据所述第二移动向量在所述目标页面中调整所述预设虚拟对象对应的第二显示区域的位置。
可选的,显示区域调整模块还包括:
尺寸调整单元,设置为根据所述第二移动向量的长度在所述目标页面中调整所述预设虚拟对象对应的第二显示区域的尺寸大小,其中,所述尺寸大小与所述第二移动向量的长度正相关。
可选的,该装置还包括:
控件显示模块,设置为在所述目标页面中显示所述预设虚拟对象关联的预设控件;
自动调整模块,设置为响应于所述预设控件被触发,于预设时长内在所述目标页面中自动调整所述预设虚拟对象对应的第二显示区域,以使所述第二显示区域和所述第一显示区域的相对关系满足所述预设条件。
可选的,所述预设虚拟对象的数量为至少一个,当所述预设虚拟对象的数量为至少两个时,所述交互信息的数量为至少两个,不同预设虚拟对象对应的 交互信息不同,所述交互信息包括预设主题的指定交互信息,所述预设虚拟对象与所述预设主题相关联。
可选的,该装置还包括:
信息显示模块,设置为在所述目标页面中显示预设提示信息,所述预设提示信息用于提示用户控制所述移动终端运动以触发显示所述交互信息。
可选的,所述预设虚拟对象包括预设虚拟形象;所述装置还包括:
动作控制模块,设置为在确定所述第二显示区域和所述第一显示区域的相对关系满足预设条件的情况下,控制所述预设虚拟形象完成预设动作。
下面参考图7,其示出了适于用来实现本公开实施例的移动终端700的结构示意图。本公开实施例中的移动终端可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,PDA)、PAD(平板电脑)、便携式多媒体播放器(Portable Media Player,PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字电视(Television,TV)、台式计算机等等的固定终端。图7示出的移动终端仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图7所示,移动终端700可以包括处理装置(例如中央处理器、图形处理器等)701,其可以根据存储在只读存储器(Read-Only Memory,ROM)702中的程序或者从存储装置708加载到随机访问存储器(Random Access Memory,RAM)703中的程序而执行各种适当的动作和处理。在RAM 703中,还存储有移动终端700操作所需的各种程序和数据。处理装置701、ROM 702以及RAM 703通过总线704彼此相连。输入/输出(Input/Output,I/O)接口705也连接至总线704。
通常,以下装置可以连接至I/O接口705:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置706;包括例如液晶显示器(Liquid Crystal Display,LCD)、扬声器、振动器等的输出装置707;包括例如磁带、硬盘等的存储装置708;以及通信装置709。通信装置709可以允许 移动终端700与其他设备进行无线或有线通信以交换数据。虽然图7示出了具有各种装置的移动终端700,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置709从网络上被下载和安装,或者从存储装置708被安装,或者从ROM 702被安装。在该计算机程序被处理装置701执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器((Erasable Programmable Read-Only Memory,EPROM)或闪存)、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可 读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。
上述计算机可读介质可以是上述移动终端中所包含的;也可以是单独存在,而未装配入该移动终端中。
上述计算机可读介质承载有至少一个程序,当上述至少一个程序被该移动终端执行时,使得该移动终端:在移动终端的目标页面中显示通过所述移动终端采集的实时图像、预设定位标识以及预设虚拟对象,其中,所述预设定位标识对应的第一显示区域在所述目标页面中固定;在所述移动终端的运动过程中,在所述目标页面中调整所述预设虚拟对象对应的第二显示区域;在确定所述第二显示区域和所述第一显示区域的相对关系满足预设条件的情况下,显示与登录所述目标页面的目标用户相关的交互信息。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(Local Area Network,LAN)或广域网(Wide Area Network,WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执 行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的模块可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,模块的名称在某种情况下并不构成对该模块本身的限定,例如,交互信息显示模块还可以被描述为“在确定所述第二显示区域和所述第一显示区域的相对关系满足预设条件的情况下,显示与登录所述目标页面的目标用户相关的交互信息的模块”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(Field Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(Application Specific Standard Parts,ASSP)、片上系统(System on Chip,SOC)、复杂可编程逻辑设备(Complex Programmable Logic Device,CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的至少一个实施例,提供了一种数据显示方法,包括:
在移动终端的目标页面中显示通过所述移动终端采集的实时图像、预设定 位标识以及预设虚拟对象,其中,所述预设定位标识对应的第一显示区域在所述目标页面中固定;
在所述移动终端的运动过程中,在所述目标页面中调整所述预设虚拟对象对应的第二显示区域;
在确定所述第二显示区域和所述第一显示区域的相对关系满足预设条件的情况下,显示与登录所述目标页面的目标用户相关的交互信息。
可选的,在所述目标页面中调整所述预设虚拟对象对应的第二显示区域之前,还包括:
建立所述预设虚拟对象对应的第二显示区域与所述实时图像中的目标现实对象的关联关系;
其中,所述在所述移动终端的运动过程中,在所述目标页面中调整所述预设虚拟对象对应的第二显示区域,包括:
在所述移动终端的运动过程中,根据所述目标现实对象在所述实时图像中的成像位置变化和/或成像大小变化,在所述目标页面中调整所述预设虚拟对象对应的第二显示区域的位置和/或尺寸大小。
可选的,所述在所述移动终端的运动过程中,在所述目标页面中调整所述预设虚拟对象对应的第二显示区域,包括:
在所述移动终端的运动过程中,获取所述移动终端的运动数据,并根据所述运动数据在所述目标页面中调整所述预设虚拟对象对应的第二显示区域的位置和/或尺寸大小。
可选的,所述第二显示区域和所述第一显示区域的相对关系满足预设条件,包括:
所述第二显示区域和所述第一显示区域的交叠区域的面积大于或等于预设面积阈值。
可选的,还包括:
在所述目标页面中显示所述预设虚拟对象关联的预设控件;
响应于所述预设控件被触发,于预设时长内在所述目标页面中自动调整所述预设虚拟对象对应的第二显示区域,以使所述第二显示区域和所述第一显示区域的相对关系满足所述预设条件。
可选的,所述预设虚拟对象的数量为至少一个,当所述预设虚拟对象的数量为至少两个时,所述交互信息的数量为至少两个,不同预设虚拟对象对应的交互信息不同,所述交互信息包括预设主题的指定交互信息,所述预设虚拟对象与所述预设主题相关联。
可选的,还包括:在所述目标页面中显示预设提示信息,所述预设提示信息用于提示用户控制所述移动终端运动以触发显示所述交互信息。
可选的,所述预设虚拟对象包括预设虚拟形象;所述方法还包括:
在确定所述第二显示区域和所述第一显示区域的相对关系满足预设条件的情况下,控制所述预设虚拟形象完成预设动作。
根据本公开的至少一个实施例,提供了一种数据显示装置,包括:
显示模块,设置为在移动终端的目标页面中显示通过所述移动终端采集的实时图像、预设定位标识以及预设虚拟对象,其中,所述预设定位标识对应的第一显示区域在所述目标页面中固定;
显示区域调整模块,设置为在所述移动终端的运动过程中,在所述目标页面中调整所述预设虚拟对象对应的第二显示区域;
交互信息显示模块,设置为在确定所述第二显示区域和所述第一显示区域的相对关系满足预设条件的情况下,显示与登录所述目标页面的目标用户相关的交互信息。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中 描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。

Claims (11)

  1. 一种数据显示方法,包括:
    在移动终端的目标页面中显示通过所述移动终端采集的实时图像、预设定位标识以及预设虚拟对象,其中,所述预设定位标识对应的第一显示区域在所述目标页面中固定;
    在所述移动终端的运动过程中,在所述目标页面中调整所述预设虚拟对象对应的第二显示区域;
    响应于确定所述第二显示区域和所述第一显示区域的相对关系满足预设条件,显示与登录所述目标页面的目标用户相关的交互信息。
  2. 根据权利要求1所述的方法,在所述目标页面中调整所述预设虚拟对象对应的第二显示区域之前,还包括:
    建立所述预设虚拟对象对应的第二显示区域与所述实时图像中的目标现实对象的关联关系;
    其中,所述在所述移动终端的运动过程中,在所述目标页面中调整所述预设虚拟对象对应的第二显示区域,包括:
    在所述移动终端的运动过程中,根据所述目标现实对象在所述实时图像中的成像位置变化和成像大小变化中的至少之一,在所述目标页面中调整所述预设虚拟对象对应的第二显示区域的位置和尺寸大小中的至少之一。
  3. 根据权利要求1所述的方法,其中,所述在所述移动终端的运动过程中,在所述目标页面中调整所述预设虚拟对象对应的第二显示区域,包括:
    在所述移动终端的运动过程中,获取所述移动终端的运动数据,并根据所述运动数据在所述目标页面中调整所述预设虚拟对象对应的第二显示区域的位置和尺寸大小中的至少之一。
  4. 根据权利要求1所述的方法,其中,所述第二显示区域和所述第一显示区域的相对关系满足预设条件,包括:
    所述第二显示区域和所述第一显示区域的交叠区域的面积大于或等于预设面积阈值。
  5. 根据权利要求1所述的方法,还包括:
    在所述目标页面中显示所述预设虚拟对象关联的预设控件;
    响应于所述预设控件被触发,于预设时长内在所述目标页面中自动调整所述预设虚拟对象对应的第二显示区域,以使所述第二显示区域和所述第一显示区域的相对关系满足所述预设条件。
  6. 根据权利要求1所述的方法,其中,所述预设虚拟对象的数量为至少一个;当所述预设虚拟对象的数量为至少两个时,所述交互信息的数量为至少两个,不同预设虚拟对象对应的交互信息不同;所述交互信息包括预设主题的指定交互信息,所述预设虚拟对象与所述预设主题相关联。
  7. 根据权利要求1-6任一所述的方法,还包括:
    在所述目标页面中显示预设提示信息,所述预设提示信息用于提示用户控制所述移动终端运动以触发显示所述交互信息。
  8. 根据权利要求1-7任一所述的方法,其中,所述预设虚拟对象包括预设虚拟形象;所述方法还包括:
    响应于确定所述第二显示区域和所述第一显示区域的相对关系满足预设条件,控制所述预设虚拟形象完成预设动作。
  9. 一种数据显示装置,包括:
    显示模块,设置为在移动终端的目标页面中显示通过所述移动终端采集的实时图像、预设定位标识以及预设虚拟对象,其中,所述预设定位标识对应的第一显示区域在所述目标页面中固定;
    显示区域调整模块,设置为在所述移动终端的运动过程中,在所述目标页面中调整所述预设虚拟对象对应的第二显示区域;
    交互信息显示模块,设置为在确定所述第二显示区域和所述第一显示区域的相对关系满足预设条件的情况下,显示与登录所述目标页面的目标用户相关的交互信息。
  10. 一种移动终端,包括存储器、处理器及存储在存储器上并可在处理器 上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1-8任一项所述的方法。
  11. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1-8任一项所述的方法。
PCT/CN2023/070040 2022-01-12 2023-01-03 数据显示方法、装置、移动终端及存储介质 WO2023134490A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210033314.6A CN114371904B (zh) 2022-01-12 2022-01-12 数据显示方法、装置、移动终端及存储介质
CN202210033314.6 2022-01-12

Publications (1)

Publication Number Publication Date
WO2023134490A1 true WO2023134490A1 (zh) 2023-07-20

Family

ID=81144265

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/070040 WO2023134490A1 (zh) 2022-01-12 2023-01-03 数据显示方法、装置、移动终端及存储介质

Country Status (2)

Country Link
CN (1) CN114371904B (zh)
WO (1) WO2023134490A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114371904B (zh) * 2022-01-12 2023-09-15 北京字跳网络技术有限公司 数据显示方法、装置、移动终端及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200117336A1 (en) * 2018-10-15 2020-04-16 Midea Group Co., Ltd. System and method for providing real-time product interaction assistance
CN111862341A (zh) * 2020-07-09 2020-10-30 北京市商汤科技开发有限公司 虚拟对象的驱动方法、装置、显示设备及计算机存储介质
CN112148188A (zh) * 2020-09-23 2020-12-29 北京市商汤科技开发有限公司 增强现实场景下的交互方法、装置、电子设备及存储介质
CN113117332A (zh) * 2021-04-22 2021-07-16 北京字跳网络技术有限公司 一种镜头视角的调整方法、装置、电子设备及存储介质
CN114371904A (zh) * 2022-01-12 2022-04-19 北京字跳网络技术有限公司 数据显示方法、装置、移动终端及存储介质

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111240476B (zh) * 2020-01-06 2021-06-08 腾讯科技(深圳)有限公司 基于增强现实的交互方法、装置、存储介质和计算机设备
CN112884908A (zh) * 2021-02-09 2021-06-01 脸萌有限公司 基于增强现实的显示方法、设备、存储介质及程序产品
CN113721804A (zh) * 2021-08-20 2021-11-30 北京市商汤科技开发有限公司 一种显示方法、装置、电子设备及计算机可读存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200117336A1 (en) * 2018-10-15 2020-04-16 Midea Group Co., Ltd. System and method for providing real-time product interaction assistance
CN111862341A (zh) * 2020-07-09 2020-10-30 北京市商汤科技开发有限公司 虚拟对象的驱动方法、装置、显示设备及计算机存储介质
CN112148188A (zh) * 2020-09-23 2020-12-29 北京市商汤科技开发有限公司 增强现实场景下的交互方法、装置、电子设备及存储介质
CN113117332A (zh) * 2021-04-22 2021-07-16 北京字跳网络技术有限公司 一种镜头视角的调整方法、装置、电子设备及存储介质
CN114371904A (zh) * 2022-01-12 2022-04-19 北京字跳网络技术有限公司 数据显示方法、装置、移动终端及存储介质

Also Published As

Publication number Publication date
CN114371904A (zh) 2022-04-19
CN114371904B (zh) 2023-09-15

Similar Documents

Publication Publication Date Title
US10158829B2 (en) Information processing apparatus, information processing method, program, and server
CN110945858B (zh) 消息传递应用的聊天停靠栏
JP6401865B2 (ja) 写真共有方法、装置、プログラム及び記録媒体
US20170361234A1 (en) Persistent customized social media environment
KR20210046760A (ko) 비디오 클립 객체 추적
WO2022068479A1 (zh) 图像处理方法、装置、电子设备及计算机可读存储介质
US11809633B2 (en) Mirroring device with pointing based navigation
EP4120170A1 (en) Method and apparatus for displaying resources
WO2021043121A1 (zh) 一种图像换脸的方法、装置、系统、设备和存储介质
WO2022170929A1 (zh) 多媒体信息处理方法、装置、电子设备和存储介质
CN113965807A (zh) 消息推送方法、装置、终端、服务器及存储介质
WO2023134491A1 (zh) 页面显示控制方法、装置、移动终端及存储介质
US20220197027A1 (en) Conversation interface on an eyewear device
CN110898429A (zh) 一种游戏剧情展现方法、装置、电子设备及存储介质
WO2023138548A1 (zh) 图像处理方法、装置、设备和存储介质
US20220221968A1 (en) Simulated interactive panoramas
WO2023134490A1 (zh) 数据显示方法、装置、移动终端及存储介质
WO2023134419A1 (zh) 信息交互方法、装置、设备及存储介质
US11973730B2 (en) External messaging function for an interaction system
JP5278912B2 (ja) 通信装置、通信方法およびプログラム
CN115097984A (zh) 交互方法、装置、电子设备和存储介质
CN113141538A (zh) 媒体资源播放方法、装置、终端、服务器及存储介质
CN114327197A (zh) 消息发送方法、装置、设备及介质
CN113573154A (zh) 多媒体数据播放方法、装置、设备及存储介质
WO2023226851A1 (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: 23739834

Country of ref document: EP

Kind code of ref document: A1