CN112150517A - Anchor point sharing method, device, system, electronic equipment and storage medium - Google Patents
Anchor point sharing method, device, system, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN112150517A CN112150517A CN201910562486.0A CN201910562486A CN112150517A CN 112150517 A CN112150517 A CN 112150517A CN 201910562486 A CN201910562486 A CN 201910562486A CN 112150517 A CN112150517 A CN 112150517A
- Authority
- CN
- China
- Prior art keywords
- anchor point
- shared
- terminal
- information
- sharing
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/70—Determining position or orientation of objects or cameras
- G06T7/73—Determining position or orientation of objects or cameras using feature-based methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/006—Mixed reality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/30—Determination of transform parameters for the alignment of images, i.e. image registration
- G06T7/33—Determination of transform parameters for the alignment of images, i.e. image registration using feature-based methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/46—Descriptors for shape, contour or point-related descriptors, e.g. scale invariant feature transform [SIFT] or bags of words [BoW]; Salient regional features
- G06V10/462—Salient features, e.g. scale invariant feature transforms [SIFT]
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Multimedia (AREA)
- Computer Graphics (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The disclosure relates to an anchor point sharing method, an anchor point sharing device, an anchor point sharing system, electronic equipment and a storage medium. The method comprises the following steps: the method comprises the steps that a terminal acquires an identity mark of an anchor point to be shared and a current scene, wherein the identity mark is generated based on anchor point information of the anchor point to be shared acquired by a server; according to the identity, an anchor point sharing request is sent to a server; receiving anchor point information of anchor points to be shared, which is fed back by a server; and determining the sharing position information of the anchor point to be shared in the current scene according to the current scene and the anchor point information. According to the method and the device, the anchor point to be shared can be positioned in the current scene in the terminal according to the identity of the anchor point to be shared, so that different terminals can share the virtual world in the same real scene, and the augmented reality technology can be shared. Meanwhile, the shared position information of the anchor point to be shared is confirmed through the terminal, and operation at the server end is not needed, so that the demand of the operation force of the server end can be reduced, and the cost is saved.
Description
Technical Field
The present disclosure relates to the field of augmented reality technologies, and in particular, to an anchor point sharing method, an anchor point sharing device, an anchor point sharing system, an electronic device, and a storage medium.
Background
Augmented Reality (AR) technology can combine real world information and virtual world information, and display virtual visual information in a real world image through a device. How to let multiple users see the same virtual world and real world in their respective screens is crucial for augmented reality technology.
Disclosure of Invention
The present disclosure provides an anchor point sharing technical solution.
According to a first aspect of the present disclosure, there is provided an anchor point sharing method, including: a terminal acquires an identity identifier of an anchor point to be shared and a current scene, wherein the identity identifier is generated based on anchor point information of the anchor point to be shared acquired by a server; the terminal sends an anchor point sharing request to the server according to the identity; the terminal receives anchor point information of the anchor point to be shared, which is fed back by the server; and the terminal determines the sharing position information of the anchor point to be shared in the current scene according to the current scene and the anchor point information.
Through the process, the anchor points can be completely shared between different terminals or different time periods based on the operation of the terminal without communicating with the server for multiple times, so that multi-person sharing, single multi-time-period sharing or multi-person multi-time-period sharing of an AR scene can be realized, and the uniformity and the sharing of the AR technology are greatly improved. Meanwhile, the shared position information of the anchor points to be shared is confirmed through the terminal in the process, and operation at the server end is not needed, so that the demand of the operation force of the server end can be reduced, the cost is saved, and the problem that anchor point sharing cannot be realized due to the fact that the server and the terminal cannot be compatible is solved.
In a possible implementation manner, the acquiring, by the terminal, the identity of the anchor point to be shared includes: a terminal acquires shared information; and the terminal obtains the identity identifier of the anchor point to be shared according to the corresponding relation between the shared information and the identity identifier.
Through the process, the identity of the anchor point to be shared can be conveniently acquired, the complex analysis process is not needed, the identity can be indirectly acquired through the shared information, the risk that the identity is revealed can be avoided, and the efficiency of anchor point sharing is improved while the safety is guaranteed.
In a possible implementation manner, the sending, by the terminal, an anchor point sharing request to the server according to the identity includes: and the terminal takes the identity identification and the anchor point sharing request message as the anchor point sharing request and sends the anchor point sharing request to the server.
By the anchor sharing request comprising the identity identification and the anchor sharing request message, the server can conveniently receive the anchor sharing request message sent by the slave terminal and simultaneously determine the identity of the anchor to be shared requested by the slave terminal according to the identity identification, so that the multiple interaction processes between the terminal server and the server are avoided, and the efficiency of the anchor sharing process is improved.
In one possible implementation, the anchor point information includes: the anchor point sharing method comprises the following steps of obtaining first characteristic information of an anchor point scene where the anchor point to be shared is located, and obtaining original position information of the anchor point to be shared in the anchor point scene.
The anchor point information of the anchor point to be shared, which comprises the first characteristic information and the original position information, can effectively determine the environment information of the anchor point scene where the anchor point to be shared is located and the position relation between the anchor point to be shared and the anchor point scene, so that the shared position information of the anchor point to be shared in the current scene can be effectively positioned in subsequent steps based on the comparison result of the first characteristic information and the current scene and by combining the original position information.
In a possible implementation manner, the determining, by the terminal, the shared position information of the anchor point to be shared in the current scene according to the current scene and the anchor point information includes: the terminal scans the current scene and acquires second characteristic information of the current scene; and the terminal determines the sharing position information of the anchor point to be shared in the current scene according to the second characteristic information and the anchor point information.
Through the process, the positioning process of the anchor point to be shared in the current scene can be completely realized through the terminal, namely after anchor point information fed back by the server is obtained, the anchor point to be shared can be positioned in the terminal without interaction with the server, so that the network connection frequency can be reduced, the network flow usage amount is reduced, meanwhile, the sharing of the anchor point in the server can be completed without arranging an algorithm in the server, the demand on the calculation force of the server is reduced, when the positioning method is optimized, only the terminal needs to be updated, and the problem that the anchor point sharing cannot be realized due to the fact that the server and the terminal are incompatible in version is solved.
In a possible implementation manner, the acquiring, by the terminal, the second feature information of the current scene includes: the terminal scans the current scene to obtain the image of the current scene; and the terminal extracts the features of the image of the current scene to obtain the second feature information.
Through the process, the characteristic information of the current scene can be simply, conveniently and accurately acquired, and preparation is made for determining the sharing position information of the anchor point to be shared according to the second characteristic information.
In a possible implementation manner, the determining, by the terminal, the shared position information of the anchor point to be shared in the current scene according to the second feature information and the anchor point information includes: the terminal respectively obtains first characteristic information of an anchor scene where the anchor to be shared is located and original position information of the anchor to be shared in the anchor scene according to the anchor information; the terminal performs characteristic matching on the first characteristic information and the second characteristic information to obtain a position conversion relation between the current scene and the anchor scene; and the terminal performs position conversion on the original position information according to the position conversion relation to obtain the shared position information of the anchor point to be shared in the current scene.
The process in the disclosed embodiment is small in calculation amount and convenient and fast in calculation mode, accuracy of determining the shared position information of the anchor point to be shared is guaranteed, meanwhile, the calculation speed of the process is greatly reduced, and therefore speed and efficiency of the anchor point sharing process are improved.
According to a second aspect of the present disclosure, there is provided an anchor point sharing method, including: the method comprises the steps that a server receives an anchor point sharing request sent by a terminal, wherein the anchor point sharing request comprises an identity identification of an anchor point to be shared, which is acquired by the terminal; and the server feeds back the anchor point information of the anchor point to be shared to the terminal according to the anchor point sharing request so that the terminal can determine the sharing position information of the anchor point to be shared in the current scene according to the anchor point information of the anchor point to be shared.
Through the process, the server only needs to store, match and feed back the anchor point information in the anchor point sharing process, and does not need to realize related operation in the anchor point sharing process at the server end, so that the demand on the calculation power of the server end can be reduced, algorithm optimization can be realized only by updating the terminal, and the situation that the anchor point sharing cannot be realized due to incompatibility of the server end and the terminal due to different versions can be avoided.
In a possible implementation manner, before the server receives the anchor point sharing request sent by the terminal, the method further includes: the server acquires anchor point information of the anchor point to be shared; and the server generates the identity of the anchor point to be shared according to the anchor point information and stores the anchor point information and the identity.
Through the process, the one-to-one correspondence between the anchor points to be shared and the identity marks can be realized, so that the identity of the anchor points to be shared can be conveniently determined through the identity marks in the follow-up process, and the AR scene to be shared can be conveniently determined; meanwhile, the identity identification and the anchor point information are stored in the server, and compared with the identity identification and the anchor point information stored in the terminal, the security and the universality are higher.
In a possible implementation manner, the server generates an identity identifier of the anchor point to be shared according to the anchor point information, and stores the anchor point information and the identity identifier, and further includes: and when the time for storing the anchor point information and the identity mark exceeds a time threshold, the server deletes the anchor point information and the identity mark.
By deleting the anchor point information and the identity mark in the server when the time for saving the anchor point information and the identity mark exceeds a time threshold, the anchor point to be shared with overlong storage time can be effectively cleaned on the basis of ensuring that the anchor point to be shared can be shared, so that the repeated utilization rate of the storage space of the server is increased, the waste of resources is reduced, and the working efficiency of the server is improved.
According to a third aspect of the present disclosure, there is provided an anchor point sharing method, including: a terminal acquires an identity identifier of an anchor point to be shared and a current scene, wherein the identity identifier is generated based on anchor point information of the anchor point to be shared acquired by the server; the terminal sends an anchor point sharing request to the server according to the identity; the server feeds back anchor point information of the anchor point to be shared to the terminal according to the anchor point sharing request; and the terminal determines the sharing position information of the anchor point to be shared in the current scene according to the current scene and the anchor point information.
Through the process, the anchor point to be shared can be positioned in the current scene in the terminal according to the identity of the anchor point to be shared, so that different terminals can share the virtual world in the same real scene, and the sharing of the augmented reality technology is realized. Meanwhile, the shared position information of the anchor point to be shared is confirmed through the terminal, and operation at the server end is not needed, so that the demand of the operation force of the server end can be reduced, and the cost is saved.
According to a fourth aspect of the present disclosure, there is provided an anchor point sharing apparatus, the apparatus being applied to a terminal, including: the acquisition module is used for acquiring the identity of the anchor point to be shared and the current scene, and the identity is generated based on the anchor point information of the anchor point to be shared acquired by the server; the anchor point sharing request sending module is used for sending an anchor point sharing request to the server according to the identity; the anchor point information receiving module is used for receiving anchor point information of the anchor point to be shared, which is fed back by the server; and the shared position information determining module is used for determining the shared position information of the anchor point to be shared in the current scene according to the current scene and the anchor point information.
In one possible implementation manner, the obtaining module is configured to: acquiring shared information; and obtaining the identity identifier of the anchor point to be shared according to the corresponding relation between the shared information and the identity identifier.
In one possible implementation manner, the anchor point sharing request sending module is configured to: and the identity identification and the anchor point sharing request message are jointly used as the anchor point sharing request and sent to a server.
In one possible implementation, the anchor point information includes: the anchor point sharing method comprises the following steps of obtaining first characteristic information of an anchor point scene where the anchor point to be shared is located, and obtaining original position information of the anchor point to be shared in the anchor point scene.
In one possible implementation manner, the shared location information determining module is configured to: scanning a current scene to acquire second characteristic information of the current scene; and determining the sharing position information of the anchor point to be shared in the current scene according to the second characteristic information and the anchor point information.
In one possible implementation manner, the shared location information determining module is further configured to: scanning a current scene to acquire an image of the current scene; and performing feature extraction on the image of the current scene to obtain the second feature information.
In one possible implementation manner, the shared location information determining module is further configured to: according to the anchor point information, respectively obtaining first characteristic information of an anchor point scene where the anchor point to be shared is located and original position information of the anchor point to be shared in the anchor point scene; performing feature matching on the first feature information and the second feature information to obtain a position transformation relation between the current scene and the anchor scene; and according to the position conversion relation, performing position conversion on the original position information to obtain the shared position information of the anchor point to be shared in the current scene.
According to a fifth aspect of the present disclosure, there is provided an anchor point sharing apparatus, the apparatus being applied to a server, including: an anchor sharing request receiving module, configured to receive an anchor sharing request sent by a terminal, where the anchor sharing request includes an identity of an anchor to be shared, where the identity is acquired by the terminal; and the anchor point information feedback module is used for feeding back the anchor point information of the anchor point to be shared to the terminal according to the anchor point sharing request so that the terminal can determine the sharing position information of the anchor point to be shared in the current scene according to the anchor point information of the anchor point to be shared.
In a possible implementation manner, before the anchor point sharing request module, an identity generation module is further included, where the identity generation module is configured to: acquiring anchor point information of the anchor point to be shared; and generating the identity of the anchor point to be shared according to the anchor point information, and storing the anchor point information and the identity.
In one possible implementation manner, the identity generation module is further configured to: and when the time for storing the anchor point information and the identity mark exceeds a time threshold, the server deletes the anchor point information and the identity mark.
According to a sixth aspect of the present disclosure, there is provided an anchor point sharing system, comprising: a first anchor sharing device as described in the third aspect; a second anchor point sharing device as described in the fourth aspect; wherein the first anchor sharing device interacts with the second anchor sharing device through an anchor sharing request.
According to a seventh aspect of the present disclosure, there is provided an electronic apparatus comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: the method of the first aspect is performed.
According to a seventh aspect of the present disclosure, there is provided an electronic apparatus comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: the method of the second aspect described above is performed.
According to an aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the method of the first aspect described above.
According to an aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the method of the second aspect described above.
In the embodiment of the disclosure, the terminal acquires the identity identifier of the anchor point to be shared, sends an anchor point sharing request to the server according to the identity identifier, and the server feeds back the anchor point information of the anchor point to be shared to the terminal according to the anchor point sharing request, so that the terminal can determine the sharing position information of the anchor point to be shared in the current scene according to the current scene and the anchor point information. Through the process, the anchor point to be shared can be positioned in the current scene in the terminal according to the identity of the anchor point to be shared, so that different terminals can share the virtual world in the same real scene, and the sharing of the augmented reality technology is realized. Meanwhile, the shared position information of the anchor point to be shared is confirmed through the terminal, and operation at the server end is not needed, so that the demand of the operation force of the server end can be reduced, and the cost is saved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1 shows a flowchart of an anchor point sharing method according to an embodiment of the present disclosure.
Fig. 2 shows a flowchart of an anchor point sharing method according to an embodiment of the present disclosure.
Fig. 3 shows a schematic coordinate system diagram of an anchor point scene according to an embodiment of the present disclosure.
FIG. 4 shows a schematic coordinate system diagram of a current scene according to an embodiment of the present disclosure.
Fig. 5 shows a flowchart of an anchor point sharing method according to an embodiment of the present disclosure.
Fig. 6 shows a flowchart of an anchor point sharing method according to an embodiment of the present disclosure.
Fig. 7 shows a flowchart of an anchor point sharing method according to an embodiment of the present disclosure.
Fig. 8 shows a schematic diagram of an application example according to the present disclosure.
Fig. 9 shows a schematic diagram of an application example according to the present disclosure.
Fig. 10 shows a block diagram of an anchor point sharing device according to an embodiment of the present disclosure.
Fig. 11 shows a block diagram of an anchor point sharing device according to an embodiment of the present disclosure.
Fig. 12 illustrates a block diagram of an anchor point sharing system according to an embodiment of the present disclosure.
FIG. 13 shows a block diagram of an electronic device in accordance with an embodiment of the disclosure.
FIG. 14 shows a block diagram of an electronic device in accordance with an embodiment of the disclosure.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
Fig. 1 shows a flowchart of an anchor point sharing method according to an embodiment of the present disclosure, where the method may be applied to a terminal, and a specific implementation manner of the terminal is not limited, and may be flexibly selected according to an actual situation.
As shown in fig. 1, the anchor point sharing method may include:
step S11, the terminal acquires the identity of the anchor point to be shared and the current scene, and the identity is generated based on the anchor point information of the anchor point to be shared acquired by the server.
And step S12, the terminal sends an anchor point sharing request to the server according to the identity.
Step S13, the terminal receives anchor point information of anchor points to be shared fed back by the server;
and step S14, the terminal determines the sharing position information of the anchor point to be shared in the current scene according to the current scene and the anchor point information.
In the above-described embodiment, the anchor point to be shared may be generated in an anchor point generation manner after scanning an anchor point scene where the anchor point is located by a certain terminal device. In the embodiment of the present disclosure, a terminal that scans an anchor point scene may be referred to as a main terminal, and the main terminal serves as a terminal device, and a specific implementation manner of the main terminal is not limited and may be flexibly determined according to an actual situation. In one possible implementation, the main terminal may be a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a Personal Digital Assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, or the like. The specific implementation manner of anchor point generation is also not limited, any manner that an anchor point can be generated based on the result of the main terminal scanning the anchor point scene can be taken as the implementation manner in the embodiment of the present disclosure, and in a possible implementation manner, an anchor point to be shared can be generated by performing feature extraction on the result of the main terminal scanning the anchor point scene and performing anchor point prediction based on a neural network. Because the generation mode of the anchor points is not limited, the number of the generated anchor points to be shared is also not limited, and can be 1 or more, and the anchor points are flexibly determined according to the actual situation of the anchor point scene and the specific method for generating the anchor points.
In the embodiment of the present disclosure, the terminal implementing the anchor point sharing method may be referred to as a slave terminal, and the slave terminal serves as a terminal device. In the embodiment of the present disclosure, the number of slave terminals is also not limited, and may be 1 or multiple. In an example, the number of the slave terminals may be 1, and in this case, the server may implement sharing of the anchor point to be shared between the master terminal and the one slave terminal by receiving the anchor point sharing request sent by the one slave terminal. In an example, the number of the slave terminals may be multiple, the specific number is not limited herein, and the number may be flexibly selected according to an actual situation, and at this time, the server may implement sharing of the anchor point to be shared between the master terminal and the multiple slave terminals by receiving the anchor point sharing request sent by the multiple slave terminals. In addition, the slave terminal may be a different device from the master terminal, or may be the same device. In an example, when the slave terminal and the master terminal are different devices, anchor point sharing between different terminal devices may be implemented, for example, multiple terminal devices implement real-time sharing of an AR scene by using the anchor point sharing method provided in the above-described disclosed embodiment. In an example, when the slave terminal and the master terminal are the same device, a single terminal device may be implemented to share an anchor point between different time periods, for example, a certain terminal device may be implemented to share a certain AR scene in multiple time periods by the anchor point sharing method provided in the above-described disclosed embodiments. In an example, the number of the slave terminals may be multiple, where one of the slave terminals and the master terminal are the same device, and the remaining slave terminals and the master terminal are different devices, at this time, multi-time-period sharing of a certain AR scene by multiple terminals may be implemented, for example, the multiple terminals may implement multi-time-period sharing of a certain AR scene by using the anchor point sharing method provided in the above-described disclosed embodiment.
The expression form of the identity identifier of the anchor point to be shared obtained by the terminal is not limited, and any form that can be used to indicate the identity information of the anchor point to be shared can be used as the expression form of the identity identifier.
The expression form of the shared position information of the anchor point to be shared finally determined by the terminal in the current scene is also not limited, and any expression form which can indicate the position of the anchor point to be shared in the current scene can be used as the implementation form of the shared position information. In one example, the position of the anchor point to be shared in the current scene may be indicated by the coordinate information.
According to the anchor point sharing method provided by the embodiment of the disclosure, the identity identification of the anchor point to be shared is acquired through the terminal, the anchor point sharing request is sent to the server according to the identity identification, and then the sharing position information of the anchor point to be shared in the current scene is determined according to the anchor point information of the shared anchor point fed back by the server and the current scene. Meanwhile, the shared position information of the anchor points to be shared is confirmed through the terminal in the process, and operation at the server end is not needed, so that the demand of the operation force of the server end can be reduced, the cost is saved, and the problem that anchor point sharing cannot be realized due to the fact that the server and the terminal cannot be compatible is solved.
It can be seen from the foregoing disclosure that the anchor point sharing method proposed in the present disclosure needs to be implemented based on the obtained identity of the anchor point to be shared. How the terminal obtains the identity of the anchor point to be shared specifically is not limited, and the implementation manner is flexibly determined according to the actual condition of the identity. In a possible implementation manner, the acquiring, by the terminal, the identity of the anchor point to be shared may include:
the terminal acquires the shared information.
And the terminal obtains the identity identifier of the anchor point to be shared according to the corresponding relation between the shared information and the identity identifier.
In the above process, the expression form of the shared information is not limited, any information form that can be mapped to the identity identifier and can be shared in the shared form can be used as the implementation mode of the shared information. The correspondence between the shared information and the identity may be flexibly set according to the actual situation, and is not limited to the following disclosure embodiments. In a possible implementation manner, the expression form of the shared information may be a room number set in the AR scene sharing process, that is, the room number is bound to the identity, and in one example, the terminal may automatically acquire the identity corresponding to the room number when entering the room after acquiring the shared room number. In a possible implementation manner, the expression form of the shared information may be a user identity in an AR scene sharing process, that is, the user identity is bound to an identity, and in one example, the terminal may automatically acquire the identity bound to the user identity after acquiring the shared user identity. In a possible implementation manner, the expression manner of the shared information may be directly the identity, that is, the identity itself may be used as the content of the shared information and acquired by the terminal. The method for the terminal to obtain the shared information is also not limited, and can be flexibly selected according to the actual situation, in one example, the terminal is used as a slave terminal, and may not be the same device as the master terminal, and at this time, the slave terminal can obtain the shared information shared by the master terminal; in one example, the terminal as a slave terminal may be the same device as the master terminal, and in this case, the slave terminal may obtain the shared information by directly reading the shared information from the master terminal.
The terminal obtains the identity of the anchor point to be shared by acquiring the shared information and according to the corresponding relation between the shared information and the identity, and through the process, the identity of the anchor point to be shared can be conveniently acquired without a complex analysis process, and the identity can be indirectly acquired through the shared information, so that the risk that the identity is revealed can be avoided, and the efficiency of anchor point sharing is improved while the safety is ensured.
It can be seen from the foregoing disclosure that, after the terminal acquires the identity of the anchor to be shared, the anchor sharing request may be sent to the server according to the identity in step S12. The implementation manner of step S12 is not limited, that is, how the terminal determines and sends the anchor point sharing request according to the identity identifier, the implementation manner is not unique, and may be flexibly determined according to the actual situation, and in a possible implementation manner, step S12 may include:
and the terminal takes the identity identification and the anchor point sharing request message as an anchor point sharing request together and sends the anchor point sharing request to the server.
In the above-described disclosed embodiment, the specific content and expression form of the anchor sharing request message are not limited, and any request that needs to be shared by the anchor may be expressed to the server, and may be used as an expression form of the anchor sharing request message.
By the anchor sharing request comprising the identity identification and the anchor sharing request message, the server can conveniently receive the anchor sharing request message sent by the slave terminal and simultaneously determine the identity of the anchor to be shared requested by the slave terminal according to the identity identification, so that the multiple interaction processes between the terminal server and the server are avoided, and the efficiency of the anchor sharing process is improved.
After sending an anchor point sharing request to a server, a terminal may receive anchor point information of an anchor point to be shared, which is fed back by the server, where specific content of the anchor point information is not limited, and in a possible implementation manner, the anchor point information of the anchor point to be shared may include: the anchor point sharing method comprises the following steps of obtaining first characteristic information of an anchor point scene where an anchor point to be shared is located, and obtaining original position information of the anchor point to be shared in the anchor point scene. The original position information of the anchor point to be shared in the anchor point scene is used to indicate the position relationship between the anchor point to be shared and the anchor point scene, and the concrete representation form of the original position information is the same as that of the shared position information. In addition, the original position information of the anchor point to be shared in the anchor point scene is not limited in the generation manner and the representation form, and in one example, the original position information may be naturally obtained while the anchor point to be shared is generated, that is, after the main terminal scans the anchor point scene, when the main terminal generates the anchor point to be shared, the main terminal also generates the original position information of the anchor point to be shared in the anchor point scene.
In a possible implementation manner, the first feature information may include related map information in a SLAM (simultaneous localization and mapping) algorithm, and the map information may be used as a reference coordinate system and a reference surrounding environment of the anchor point scene where the anchor point to be shared is located, and used in subsequent step S12 to determine the shared position information. In a possible implementation manner, the first feature information may be obtained by the main terminal by scanning an anchor scene and performing feature extraction on a scanning result. In addition, the expression form of the first feature information is also not limited, and in one example, the first feature information may be acquired and stored by the server in the form of consecutive frames.
Through the anchor point information of the anchor point to be shared including the first characteristic information and the original position information, the environment information of the anchor point scene where the anchor point to be shared is located and the position relation between the anchor point to be shared and the anchor point scene can be effectively determined, so that in the subsequent step S14, based on the comparison result of the first characteristic information and the current scene, the original position information is combined, and the shared position information of the anchor point to be shared in the current scene is effectively positioned.
It can be seen from the foregoing disclosure embodiments that, after the terminal receives the anchor point information, the sharing location information of the anchor point to be shared in the current scene may be determined according to the current scene and the anchor point information in step S14, and a specific determination process is not limited, and may be flexibly determined according to an actual situation. Fig. 2 shows a flowchart of an anchor point sharing method according to an embodiment of the present disclosure, and as shown in the figure, in one possible implementation, step S14 may include:
step S141, the terminal scans the current scene to obtain second feature information of the current scene.
And step S142, the terminal determines the sharing position information of the anchor point to be shared in the current scene according to the second characteristic information and the anchor point information.
In the above disclosed embodiment, the second characteristic information of the current scene is mainly used for reflecting the geographic information of the current scene, and the specific representation form and the obtaining mode of the second characteristic information are not limited, and can be flexibly selected according to the actual situation.
Scanning the current scene through the terminal, acquiring second characteristic information of the current scene, and determining sharing position information of the anchor point to be shared in the current scene based on the second characteristic information and the anchor point information, the positioning process of the anchor point to be shared in the current scene can be completely realized by the terminal, namely, after anchor point information fed back by the server is obtained, the anchor point to be shared can be positioned in the terminal without interaction with the server, thereby reducing the network connection times, reducing the network flow usage, meanwhile, the sharing of the anchor point in the server can be finished without arranging an algorithm in the server, thereby reducing the requirement on the computing power of the server, when the positioning method is optimized, only the terminal needs to be updated, so that the problem that anchor point sharing cannot be realized due to the fact that the server and the terminal are incompatible due to different versions is solved.
It has been proposed in the above-mentioned disclosed embodiment that the form of the second characteristic information is not limited, and therefore the obtaining manner thereof is also not limited, that is, the implementation manner of step S141 is not limited, and in a possible implementation manner, step S141 may include:
and the terminal scans the current scene to acquire an image of the current scene.
And the terminal extracts the features of the image of the current scene to obtain second feature information.
In the above disclosed embodiment, the second feature information may be obtained by scanning the current scene and performing feature extraction on a result obtained by the scanning, a specific feature extraction process and manner are not limited in the present embodiment, and any manner that can extract relevant feature information in the current scene so as to determine a physical environment feature condition of the current scene may be used as an implementation manner of the feature extraction, and in one example, a trained feature extraction neural network for extracting the physical environment feature information of the current scene may be used to perform feature extraction on an image of the current scene obtained by the terminal scanning so as to obtain the feature information; in one example, the feature extraction may be performed on an image of a current scene scanned by a terminal by using an ORB feature point detection method; in one example, feature extraction may be performed on an image of a current scene scanned by a terminal through a Scale-invariant feature transform (SIFT) algorithm.
The terminal scans the current scene to obtain the image of the current scene, extracts the features of the image of the current scene to obtain the second feature information, and then can simply, conveniently and accurately obtain the feature information of the current scene through the process so as to prepare for determining the sharing position information of the anchor point to be shared according to the second feature information.
In the above disclosed embodiment, it has been proposed that the representation form of the shared location information can be flexibly determined according to the actual situation, and therefore how to determine the shared location information of the anchor point to be shared in the current scene through the second feature information and the anchor point information is not limited to the following disclosed embodiments. In one possible implementation manner, step S142 may include:
and the terminal respectively obtains the first characteristic information of the anchor scene where the anchor to be shared is located and the original position information of the anchor to be shared in the anchor scene according to the anchor information.
And the terminal performs characteristic matching on the first characteristic information and the second characteristic information to obtain a position conversion relation between the current scene and the anchor scene.
And the terminal performs position conversion on the original position information according to the position conversion relation to obtain the shared position information of the anchor point to be shared in the current scene.
As can be seen from the above-mentioned embodiments, in one possible implementation, the anchor point information may include the first feature information and the original location information, wherein, as can be seen from the above-mentioned disclosed embodiments, the first characteristic information can characterize the condition of the anchor point scene, the original position information may reflect the position of the anchor point to be shared in the anchor point scene, and meanwhile, the second feature information may also represent the situation of the current scene, so that, in a possible implementation manner, the position transformation relationship between the current scene and the anchor scene may be obtained by performing feature matching on the first feature information and the second feature information, so that, after the position transformation relation between the current scene and the anchor scene is determined, the original position information is substituted into the transformation relation, and then the sharing position information of the anchor to be shared in the current scene can be obtained. The process of feature matching may be flexibly determined according to the actual expression mode of the first feature information and the second feature information, and in one example, the process of feature matching may be registration of a coordinate system between the master terminal and the slave terminal device, that is, uploading the master terminal to the serviceThe representation form of the feature information may be map information, and the registration of the coordinate system of the master terminal and the coordinate system of the slave terminal is performed with the second feature information obtained by the slave terminal, so that the transformation relationship of the coordinate system between the anchor point scene corresponding to the master terminal and the current scene corresponding to the slave terminal may be calculated, fig. 3 shows a schematic diagram of the coordinate system of the anchor point scene according to an embodiment of the present disclosure, fig. 4 shows a schematic diagram of the coordinate system of the current scene according to an embodiment of the present disclosure, and as can be seen from the two diagrams, the origin of the anchor point scene coordinate system may be referred to as OHWhere a is an anchor point to be shared, the origin of the current scene coordinate system may be referred to as ORIn one example, the coordinate transformation relationship of the anchor scene and the current scene may be a transformation relationship M, i.e., OR=OHM, obtaining the coordinate of the anchor point A to be shared in the current scene according to the conversion relation, namely AR=AHM, this coordinate may be used as the shared position information of the anchor point a to be shared in the current scene.
The first characteristic information and the second characteristic information are subjected to characteristic matching to obtain the position transformation relation between the current scene and the anchor point scene, and then based on the position transformation relation and the original position information, the shared position information of the anchor point to be shared in the current scene is obtained through position transformation.
Fig. 5 is a flowchart illustrating an anchor point sharing method according to an embodiment of the present disclosure, where the method may be applied to a server, and a specific type, a model, and an implementation of the server are not limited, and may be flexibly selected according to an actual situation.
As shown in fig. 5, the anchor point sharing method may include:
step S21, the server receives an anchor point sharing request sent by the terminal, where the anchor point sharing request includes an identity of an anchor point to be shared, which is obtained by the terminal.
And step S22, the server feeds back anchor point information of the anchor point to be shared to the terminal according to the anchor point sharing request, so that the terminal determines the sharing position information of the anchor point to be shared in the current scene according to the anchor point information of the anchor point to be shared.
The anchor sharing request sent by the server receiving terminal is consistent with the anchor sharing request generated by the terminal in the above-mentioned disclosed embodiment, and details are not repeated here. The anchor point information of the anchor point to be shared, which is fed back to the terminal by the server, is the same as the anchor point information received by the terminal in the above-mentioned disclosed embodiment, and is not described herein again.
According to the anchor point sharing method provided by the embodiment of the disclosure, the server receives the anchor point sharing request sent by the terminal, and feeds back the anchor point information of the anchor point to be shared to the terminal according to the anchor point sharing request, through the process, the server only needs to store, match and feed back the anchor point information in the anchor point sharing process, and does not need to realize related operation in the anchor point sharing process at the server, so that the demand on the computing power of the server can be reduced, algorithm optimization can be realized only by updating the terminal, and the situation that the server and the terminal are incompatible due to different versions, and anchor point sharing cannot be realized can be avoided.
In one possible implementation manner, the anchor point sharing request is sent based on the identity of the anchor point to be shared, the generation process of the identity of the anchor point to be shared is not limited, and in one possible implementation manner, the identity of the anchor point to be shared may be generated by the server. Therefore, in a possible implementation manner, before the server receives the anchor point sharing request sent by the terminal, step S20 may be further included, and fig. 6 shows a flowchart of an anchor point sharing method according to an embodiment of the present disclosure, as shown in the figure, in a possible implementation manner, step S20 may include:
in step S201, the server obtains anchor point information of an anchor point to be shared.
Step S202, the server generates the identity of the anchor point to be shared according to the anchor point information, and saves the anchor point information and the identity.
In the above-described disclosed embodiment, the implementation manner of step S201 is not limited, that is, the manner in which the server obtains the anchor point information of the anchor point to be shared is not limited. In a possible implementation manner, anchor point information of an anchor point to be shared may be actively uploaded to a server by a main terminal; in a possible implementation manner, the anchor point information of the anchor point to be shared may also be obtained by the server actively obtaining the anchor point information from the master terminal. It should be noted that, in the embodiment of the present disclosure, no matter what way the server obtains the anchor point information of the anchor point to be shared, the generation process of the anchor point information of the anchor point to be shared is completed inside the main terminal, and the server only plays a role in receiving and storing the anchor point information.
The anchor point information of the anchor point to be shared is acquired through the server, the identity mark of the anchor point to be shared is generated according to the anchor point information, and the anchor point information and the identity mark are stored; meanwhile, the identity identification and the anchor point information are stored in the server, and compared with the identity identification and the anchor point information stored in the terminal, the security and the universality are higher.
In the above-mentioned disclosed embodiment, it has been proposed that the representation form of the identity identifier of the anchor point to be shared is not limited, and therefore, how the server generates the identity identifier of the anchor point to be shared according to the anchor point information may be flexibly determined according to the form of the identity identifier. In a possible implementation manner, after receiving the anchor point information, the server may randomly generate an anchor point number uniquely corresponding to the anchor point to be shared as an identity, and store the anchor point information and the corresponding identity in the server, where once the identity is generated, the identity may represent that the anchor point to be shared corresponding to the identity may be shared. Besides, in a possible implementation manner, the step S202 may further include:
and when the time for storing the anchor point information and the identity mark exceeds a time threshold, the server deletes the anchor point information and the identity mark.
The above-mentioned disclosed embodiments have proposed that, once the identity of the anchor point to be shared is generated, the anchor point to be shared corresponding to the identity can be shared. Anchor point information and identity of anchor points to be shared can be stored in the server, and as the anchor points to be shared may have instantaneity, that is, the shared anchor points may be used only in a certain time or a certain period of time, for the server, if all anchor points to be shared are permanently stored in the server, resource waste may be caused, and at the same time, storage space of the server may be reduced and operating efficiency of the server may be reduced. Therefore, in order to avoid waste of resources, the anchor point information and the identity stored in the server may be deleted when the time for storing the anchor point information and the identity exceeds a time threshold, and a specific time threshold may be flexibly selected according to an actual situation, and is not limited by the following disclosure embodiments, in one example, the time threshold may be set to 168 hours, that is, from a time when the identity of the anchor point to be shared is generated, within 168 hours, the anchor point to be shared may be shared, and after the time exceeds 168 hours, the identity and the anchor point information of the anchor point to be shared may be deleted from the server, that is, the anchor point to be shared may not be shared again.
By deleting the anchor point information and the identity mark in the server when the time for saving the anchor point information and the identity mark exceeds a time threshold, the anchor point to be shared with overlong storage time can be effectively cleaned on the basis of ensuring that the anchor point to be shared can be shared, so that the repeated utilization rate of the storage space of the server is increased, the waste of resources is reduced, and the working efficiency of the server is improved.
Fig. 7 is a flowchart illustrating an anchor point sharing method according to an embodiment of the present disclosure, where the method may be applied to a system formed by a terminal device and a server, and an implementation manner of the terminal and the server is consistent with that in the above-described embodiment, and is not described herein again.
As shown in fig. 7, the anchor point sharing method may include:
step S31, the terminal acquires the identity of the anchor point to be shared and the current scene, and the identity is generated based on the anchor point information of the anchor point to be shared acquired by the server.
And step S32, the terminal sends an anchor point sharing request to the server according to the identity.
And step S33, the server feeds back the anchor point information of the anchor point to be shared to the terminal according to the anchor point sharing request.
And step S34, the terminal determines the sharing position information of the anchor point to be shared in the current scene according to the current scene and the anchor point information.
In the above process, the implementation manner of step S31 is consistent with that of step S11, step S32 is consistent with that of step S12, the implementation manner of step S33 is consistent with that of step S22, and the implementation manner of step S34 is consistent with that of step S14, which are not repeated herein.
The method comprises the steps that the identity identification and the current scene of an anchor point to be shared are obtained through a terminal, an anchor point sharing request is sent to a server according to the identity identification, the server feeds back anchor point information of the anchor point to be shared to the terminal according to the anchor point sharing request, and the terminal determines sharing position information of the anchor point to be shared in the current scene according to the current scene and the anchor point information. Through the process, the anchor point to be shared can be positioned in the current scene in the terminal according to the identity of the anchor point to be shared, so that different terminals can share the virtual world in the same real scene, and the sharing of the augmented reality technology is realized. Meanwhile, the shared position information of the anchor point to be shared is confirmed through the terminal, and operation at the server end is not needed, so that the demand of the operation force of the server end can be reduced, and the cost is saved.
Application scenario example
The augmented reality technology is a technology that can combine real world information and virtual world information, and virtual visual information is displayed in a real world image through equipment. However, most of the current augmented reality is a single-machine version, and only a scene combining own virtual world information and real world information can be displayed in a screen, so that a plurality of users cannot see the same virtual world and real world in respective screens, and interactive AR experience cannot be performed.
Therefore, an augmented reality technical scheme capable of realizing multi-person sharing has very important application value.
Fig. 8 to 9 are schematic diagrams illustrating an application example according to the present disclosure, and as shown in the drawings, an embodiment of the present disclosure proposes an anchor sharing method that may be integrated inside a Software Development Kit (SDK) and implemented by cooperation between a terminal and a server. In an example of the present disclosure, the process of implementing the anchor point sharing method based on the SDK may be:
the cloud service is opened sdk by calling the enabling interface, wherein the cloud service performs certificate authentication, and the cloud service is provided only after the certificate authentication is passed.
The user A creates an AR scene through the main terminal, creates an anchor point (the anchor point is located on a marker in a real scene) in the scene as an anchor point to be shared, places (host) the anchor point to be shared to a cloud server, and obtains a corresponding anchor point id as an identity of the anchor point to be shared.
The application layer manages the acquired anchor point id by itself, and shares the shared information with the relevant user after binding the anchor point id with the shared information.
And the user B creates an AR scene opposite to the same real scene, performs anchor point analysis (resolve) operation by using the anchor point id bound with the shared information to obtain the anchor point to be shared, and the position of the anchor point to be shared relative to the real scene is the same as that of the user A when the anchor point to be shared is placed.
In this application example, fig. 8 shows an implementation process of hosting an anchor point to be shared to a cloud server, and fig. 9 shows an implementation process of performing anchor point analysis on the anchor point to be shared in a terminal, and it can be seen from the figure that the hosting and analyzing processes have consistency in a transmission flow of data, but transmitted data streams are different, when the anchor point to be shared is hosted by the cloud server, parsing and storage of the data are mainly implemented, and when the anchor point to be shared is analyzed by a slave terminal, the cloud server returns the data stored in the server to the slave terminal as a standard for performing anchor point analysis by the slave terminal.
The specific process of the cloud server hosting the anchor point to be shared may be as follows: the main terminal transmits data to the cloud server, the data comprise position information of the anchor point to be shared in an anchor point scene, relevant map information in an SLAM algorithm and the like, the map information serves as a reference coordinate system and a reference surrounding environment and is used when the anchor point to be shared is analyzed subsequently, the data transmitted by the main terminal can be stored in the cloud server, the data become the cloud anchor point and are endowed with a cloud anchor point number (anchor id), and the number can be returned to the main terminal. The anchor point hosting has instantaneity, the anchor point can be resolved from the moment when the cloud anchor point number is obtained to 168 hours later, and the related information of the anchor point can be deleted 168 hours later.
The process of the slave terminal analyzing the anchor point to be shared may be as follows: the slave terminal is responsible for sending an analysis request to the cloud server to register the cloud anchor to a local coordinate system in the current slave terminal, and the request data packet contains the serial number of the cloud anchor to be analyzed. The cloud server returns the relevant information of the cloud anchor point stored in the server to the slave terminal according to the serial number of the cloud anchor point, and the relevant information can include position information of the anchor point to be shared in an anchor point scene, relevant map information in an SLAM algorithm and the like. And the slave terminal performs feature matching on feature information obtained by scanning the current scene and the map information of the anchor point to be shared fed back by the server, the matching process comprises the registration of the coordinate systems of the master terminal and the slave terminal, the transformation relation of the AR scene coordinate systems in the master terminal and the slave terminal is calculated, the transformation result is applied to the cloud anchor point, and the slave terminal can obtain the coordinate information of the cloud anchor point in the AR scene of the slave terminal.
Through the anchor hosting and anchor analyzing processes, different terminal devices can share one or more anchors. In this application example, the method may be applied to a sharing process of a multi-person AR scene, that is, one user may host one or more anchors to be shared in a cloud server through a certain terminal device, and the other users may scan their current scenes through their respective terminal devices, and obtain positions of the anchors to be shared in their respective terminal devices through anchor analysis at their respective terminals, so that in a plurality of terminals, the anchors are all displayed at the same position in the real world, thereby implementing multi-person AR interaction. The method can also be applied to the sharing process of the single-person multi-time-interval AR scene, namely, a certain user hosts one or more anchor points to be shared on the cloud server through a certain terminal device, so that the anchor points and the anchor point scene are stored on the cloud server. After a period of time, the user can also scan the anchor point scene through the terminal equipment, and open the anchor point scene again in the terminal by performing anchor point analysis in the terminal, acquire the anchor point to be shared with the position same as that in the anchor point scene stored before, and execute the required operation. The method can also be applied to the sharing process of the AR scene of multiple persons in multiple time periods, namely, the two application modes are combined, the AR scene is stored by the multiple persons, and the same scene is presented when the AR scene is opened through anchor point analysis of the respective terminal next time without time constraint.
It is understood that the above-mentioned method embodiments of the present disclosure can be combined with each other to form a combined embodiment without departing from the logic of the principle, which is limited by the space, and the detailed description of the present disclosure is omitted.
It will be understood by those skilled in the art that in the method of the present invention, the order of writing the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
Fig. 10 shows a block diagram of an anchor point sharing device according to an embodiment of the present disclosure. The anchor point sharing device can be a terminal device and the like.
As shown in fig. 10, the anchor sharing device 40 may include: an obtaining module 41, configured to obtain an identity identifier of an anchor point to be shared and a current scene, where the identity identifier is generated based on anchor point information of the anchor point to be shared, which is obtained by a server; an anchor sharing request sending module 42, configured to send an anchor sharing request to the server according to the identity; an anchor point information receiving module 43, configured to receive anchor point information of an anchor point to be shared, which is fed back by the server; and a shared position information determining module 44, configured to determine, according to the current scene and the anchor point information, shared position information of the anchor point to be shared in the current scene.
In one possible implementation manner, the obtaining module is configured to: acquiring shared information; and obtaining the identity identifier of the anchor point to be shared according to the corresponding relation between the shared information and the identity identifier.
In one possible implementation manner, the anchor point sharing request sending module is configured to: and the identity identification and the anchor point sharing request message are jointly used as an anchor point sharing request and sent to the server.
In one possible implementation, the anchor point information includes: the method comprises the steps of obtaining first characteristic information of an anchor point scene where an anchor point to be shared is located, and original position information of the anchor point to be shared in the anchor point scene.
In one possible implementation, the shared location information determining module is configured to: scanning a current scene to acquire second characteristic information of the current scene; and determining the sharing position information of the anchor point to be shared in the current scene according to the second characteristic information and the anchor point information.
In one possible implementation, the shared location information determining module is further configured to: scanning a current scene to acquire an image of the current scene; and performing feature extraction on the image of the current scene to obtain second feature information.
In one possible implementation, the shared location information determining module is further configured to: according to the anchor point information, respectively obtaining first characteristic information of an anchor point scene where an anchor point to be shared is located and original position information of the anchor point to be shared in the anchor point scene; performing characteristic matching on the first characteristic information and the second characteristic information to obtain a position conversion relation between the current scene and the anchor scene; and according to the position conversion relation, performing position conversion on the original position information to obtain the shared position information of the anchor point to be shared in the current scene.
Fig. 11 shows a block diagram of an anchor point sharing device according to an embodiment of the present disclosure. The anchor point sharing device can be a server or the like.
As shown in fig. 11, the anchor sharing device 50 may include: an anchor sharing request receiving module 51, configured to receive an anchor sharing request sent by a terminal, where the anchor sharing request includes an identity of an anchor to be shared, which is obtained by the terminal; and an anchor point information feedback module 52, configured to feed back anchor point information of the anchor point to be shared to the terminal according to the anchor point sharing request, so that the terminal determines, according to the anchor point information of the anchor point to be shared, shared position information of the anchor point to be shared in the current scene.
In a possible implementation manner, before the anchor point sharing request module, the anchor point sharing request module further includes an identity generation module, where the identity generation module is configured to: acquiring anchor point information of an anchor point to be shared; and generating an identity identifier of the anchor point to be shared according to the anchor point information, and storing the anchor point information and the identity identifier.
In one possible implementation, the identity generation module is further configured to: and when the time for storing the anchor point information and the identity mark exceeds a time threshold, the server deletes the anchor point information and the identity mark.
Fig. 12 shows a block diagram of an anchor point sharing system according to an embodiment of the present disclosure. As shown, the anchor point sharing system 60 may include: the first anchor sharing device 40 according to the above-described embodiments; the second anchor sharing device 50 according to the above-described embodiments; and the first anchor point sharing device and the second anchor point sharing device interact through an anchor point sharing request.
Embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the above-mentioned method. The computer readable storage medium may be a non-volatile computer readable storage medium.
An embodiment of the present disclosure further provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured as the above method.
The electronic device may be provided as a terminal, server, or other form of device.
Fig. 13 is a block diagram of an electronic device 800 according to an embodiment of the disclosure. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like terminal.
Referring to fig. 13, electronic device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 800 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the electronic device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium, such as the memory 804, is also provided that includes computer program instructions executable by the processor 820 of the electronic device 800 to perform the above-described methods.
Fig. 14 is a block diagram of an electronic device 1900 according to an embodiment of the disclosure. For example, the electronic device 1900 may be provided as a server. Referring to fig. 14, electronic device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method.
The electronic device 1900 may also include a power component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input/output (I/O) interface 1958. The electronic device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium, such as the memory 1932, is also provided that includes computer program instructions executable by the processing component 1922 of the electronic device 1900 to perform the above-described methods.
The present disclosure may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions 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. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, 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 the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
Claims (10)
1. An anchor point sharing method, comprising:
a terminal acquires an identity identifier of an anchor point to be shared and a current scene, wherein the identity identifier is generated based on anchor point information of the anchor point to be shared acquired by a server;
the terminal sends an anchor point sharing request to the server according to the identity;
the terminal receives anchor point information of the anchor point to be shared, which is fed back by the server;
and the terminal determines the sharing position information of the anchor point to be shared in the current scene according to the current scene and the anchor point information.
2. An anchor point sharing method, comprising:
the method comprises the steps that a server receives an anchor point sharing request sent by a terminal, wherein the anchor point sharing request comprises an identity identification of an anchor point to be shared, which is acquired by the terminal;
and the server feeds back the anchor point information of the anchor point to be shared to the terminal according to the anchor point sharing request so that the terminal can determine the sharing position information of the anchor point to be shared in the current scene according to the anchor point information of the anchor point to be shared.
3. An anchor point sharing method, comprising:
a terminal acquires an identity identifier of an anchor point to be shared and a current scene, wherein the identity identifier is generated based on anchor point information of the anchor point to be shared acquired by the server;
the terminal sends an anchor point sharing request to the server according to the identity;
the server feeds back anchor point information of the anchor point to be shared to the terminal according to the anchor point sharing request;
and the terminal determines the sharing position information of the anchor point to be shared in the current scene according to the current scene and the anchor point information.
4. An anchor point sharing apparatus, applied to a terminal, includes:
the acquisition module is used for acquiring the identity of the anchor point to be shared and the current scene, and the identity is generated based on the anchor point information of the anchor point to be shared acquired by the server;
the anchor point sharing request sending module is used for sending an anchor point sharing request to the server according to the identity;
the anchor point information receiving module is used for receiving anchor point information of the anchor point to be shared, which is fed back by the server;
and the shared position information determining module is used for determining the shared position information of the anchor point to be shared in the current scene according to the current scene and the anchor point information.
5. An anchor point sharing apparatus, applied to a server, comprising:
an anchor sharing request receiving module, configured to receive an anchor sharing request sent by a terminal, where the anchor sharing request includes an identity of an anchor to be shared, where the identity is acquired by the terminal;
and the anchor point information feedback module is used for feeding back the anchor point information of the anchor point to be shared to the terminal according to the anchor point sharing request so that the terminal can determine the sharing position information of the anchor point to be shared in the current scene according to the anchor point information of the anchor point to be shared.
6. An anchor point sharing system, comprising:
the first anchor sharing device of claim 4;
the second anchor sharing device of claim 5;
wherein the first anchor sharing device interacts with the second anchor sharing device through an anchor sharing request.
7. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to invoke the memory-stored instructions to perform the method of claim 1.
8. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to invoke the memory-stored instructions to perform the method of claim 2.
9. A computer readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the method of claim 1.
10. A computer readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the method of claim 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910562486.0A CN112150517A (en) | 2019-06-26 | 2019-06-26 | Anchor point sharing method, device, system, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910562486.0A CN112150517A (en) | 2019-06-26 | 2019-06-26 | Anchor point sharing method, device, system, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112150517A true CN112150517A (en) | 2020-12-29 |
Family
ID=73869884
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910562486.0A Pending CN112150517A (en) | 2019-06-26 | 2019-06-26 | Anchor point sharing method, device, system, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112150517A (en) |
-
2019
- 2019-06-26 CN CN201910562486.0A patent/CN112150517A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10938756B2 (en) | Task management based on instant message | |
EP3276976A1 (en) | Method, apparatus, host terminal, server and system for processing live broadcasting information | |
CN104219092B (en) | The compatibility method of a kind of router administration application and router firmware and device | |
US20160028741A1 (en) | Methods and devices for verification using verification code | |
EP3264774B1 (en) | Live broadcasting method and device for live broadcasting | |
CN107820131B (en) | Comment information sharing method and device | |
CN112991553B (en) | Information display method and device, electronic equipment and storage medium | |
CN112146645B (en) | Method and device for aligning coordinate system, electronic equipment and storage medium | |
EP3223147A2 (en) | Method for accessing virtual desktop and mobile terminal | |
US9723486B2 (en) | Method and apparatus for accessing network | |
CN107147815B (en) | Call processing method and device based on taxi taking | |
CN105515948A (en) | Instant messaging method and device | |
CN108495168A (en) | The display methods and device of barrage information | |
CN110619097A (en) | Two-dimensional code generation method and device, electronic equipment and storage medium | |
CN111030897A (en) | Wired network distribution method and device, electronic equipment and storage medium | |
CN112616053B (en) | Transcoding method and device for live video and electronic equipment | |
CN113807253A (en) | Face recognition method and device, electronic equipment and storage medium | |
CN112153083B (en) | Anchor point sharing method, device, system, electronic equipment and storage medium | |
CN104780256A (en) | Address book management method and device and intelligent terminal | |
CN110311961B (en) | Information sharing method and system, client and server | |
CN110673732A (en) | Scene sharing method, device, system, electronic equipment and storage medium | |
CN105607958B (en) | Information input method and device | |
CN112150517A (en) | Anchor point sharing method, device, system, electronic equipment and storage medium | |
CN107707862A (en) | Treating method and apparatus, first terminal, the second terminal of Video Remote assistance | |
CN103905546A (en) | Method and device for enabling terminals to log into remote servers |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |