KR20220007171A - Resource loading method and apparatus, electronic device and storage medium and program - Google Patents

Resource loading method and apparatus, electronic device and storage medium and program Download PDF

Info

Publication number
KR20220007171A
KR20220007171A KR1020217043247A KR20217043247A KR20220007171A KR 20220007171 A KR20220007171 A KR 20220007171A KR 1020217043247 A KR1020217043247 A KR 1020217043247A KR 20217043247 A KR20217043247 A KR 20217043247A KR 20220007171 A KR20220007171 A KR 20220007171A
Authority
KR
South Korea
Prior art keywords
resource
electronic device
loaded
information
location information
Prior art date
Application number
KR1020217043247A
Other languages
Korean (ko)
Inventor
지안보 장
Original Assignee
선전 센스타임 테크놀로지 컴퍼니 리미티드
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN202011357349.2A external-priority patent/CN112437090B/en
Application filed by 선전 센스타임 테크놀로지 컴퍼니 리미티드 filed Critical 선전 센스타임 테크놀로지 컴퍼니 리미티드
Publication of KR20220007171A publication Critical patent/KR20220007171A/en

Links

Images

Classifications

    • H04L67/18
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/131Protocols for games, networked simulations or virtual reality
    • H04L67/16
    • H04L67/38
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Processing Or Creating Images (AREA)
  • Image Analysis (AREA)

Abstract

본 발명은 리소스 로딩 방법 및 장치, 전자 기기와 저장 매체 및 프로그램에 관한 것이고, 상기 방법은, 제2 전자 기기에 포지셔닝 정보를 송신하는 단계 - 상기 포지셔닝 정보는 상기 제2 전자 기기로 하여금 상기 포지셔닝 정보에 따라 상기 제1 전자 기기의 위치 정보를 결정하고, 상기 제1 전자 기기의 위치 정보에 따라 로딩할 증강 현실(AR) 리소스를 결정하도록 하기 위한 것임 - ; 및 상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스를 수신하고, 상기 로딩할 AR 리소스를 상응하게 표시하는 단계를 포함한다. 본 발명의 실시예는 AR 설치팩이 간편하도록 하고, AR 응용 프로그램의 다운로드 설치 효율을 향상시킬 수 있다.The present invention relates to a resource loading method and apparatus, an electronic device and a storage medium and a program, the method comprising the steps of: sending positioning information to a second electronic device, wherein the positioning information causes the second electronic device to cause the positioning information to determine the location information of the first electronic device according to the and to determine the augmented reality (AR) resource to be loaded according to the location information of the first electronic device; and receiving the AR resource to be loaded sent by the second electronic device, and correspondingly displaying the AR resource to be loaded. An embodiment of the present invention can simplify the AR installation pack and improve the download and installation efficiency of AR applications.

Description

리소스 로딩 방법 및 장치, 전자 기기와 저장 매체 및 프로그램Resource loading method and apparatus, electronic device and storage medium and program

관련 출원의 상호 참조Cross-referencing of related applications

본 발명은 출원번호가 202011357349.2이고, 출원일이 2020년 11월 27일인 중국 특허 출원을 기반으로 제출되고, 해당 중국 특허 출원의 우선권을 주장하는 바, 해당 중국 특허 출원의 모든 내용은 참조로서 본 발명에 인용된다.The present invention is filed based on a Chinese patent application with an application number of 202011357349.2 and an application date of November 27, 2020, and claims the priority of the Chinese patent application. All contents of the Chinese patent application are incorporated herein by reference. are cited

본 발명은 컴퓨터 기술 분야에 관한 것으로, 특히 리소스 로딩 방법 및 장치, 전자 기기와 저장 매체 및 프로그램에 관한 것이다.TECHNICAL FIELD The present invention relates to the field of computer technology, and more particularly, to a method and apparatus for loading a resource, an electronic device and a storage medium and a program.

AR(Augmented Reality, 증강 현실) 기술은 가상 정보와 현실 세계를 절묘하게 융합한 기술로, 멀티미디어, 2차원 모델링, 실시간 추적 및 등록, 스마트 인터랙션 및 센싱 등 다양한 기술수단을 사용하였다. 컴퓨터에 의해 생성된 텍스트, 이미지, 3차원 모델, 음악, 비디오 등 가상 정보를 아날로그 시뮬레이션하여 현실 세계에 응용시키고, 두 가지 정보를 서로 보완함으로써, 현실 세계에 대한 "증강"을 구현한다. AR 기술은 AR 네비게이션, AR 게임 등과 같이, 다양한 분야에 널리 응용된다.AR (Augmented Reality) technology is a technology that exquisitely converges virtual information and the real world, and various technological means such as multimedia, two-dimensional modeling, real-time tracking and registration, smart interaction and sensing are used. By analog-simulating virtual information such as computer-generated text, images, 3D models, music, and video to the real world, and complementing the two pieces of information, “augmentation” of the real world is realized. AR technology is widely applied in various fields, such as AR navigation and AR games.

본 발명은 AR 리소스를 로딩하기 위한 리소스 로딩 기술적 해결수단을 제공한다.The present invention provides a resource loading technical solution for loading AR resources.

본 발명의 일 측면에 따르면, 제1 전자 기기에 응용되는 리소스 로딩 방법을 제공하고, 상기 방법은,According to an aspect of the present invention, there is provided a resource loading method applied to a first electronic device, the method comprising:

제2 전자 기기에 포지셔닝 정보를 송신하는 단계 - 상기 포지셔닝 정보는 상기 제2 전자 기기로 하여금 상기 포지셔닝 정보에 따라 상기 제1 전자 기기의 위치 정보를 결정하고, 상기 제1 전자 기기의 위치 정보에 따라 로딩할 증강 현실(AR) 리소스를 결정하도록 하기 위한 것임 - ; 및Transmitting positioning information to a second electronic device - The positioning information causes the second electronic device to determine the location information of the first electronic device according to the positioning information, and according to the location information of the first electronic device to determine which augmented reality (AR) resource to load; and

상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스를 수신하고, 상기 로딩할 AR 리소스를 상응하게 표시하는 단계를 포함한다.receiving the AR resource to be loaded sent by the second electronic device, and correspondingly displaying the AR resource to be loaded.

일 가능한 구현 형태에서, 상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스를 수신하고, 상기 로딩할 AR 리소스를 상응하게 표시하는 단계는, 상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스의 식별자 정보를 수신하는 단계; 상기 로딩할 AR 리소스의 식별자 정보에서 타깃 AR 리소스의 식별자 정보를 결정하는 단계; 상기 타깃 AR 리소스의 식별자 정보를 AR 리소스 획득 요청에 반송시키고, 상기 제2 전자 기기에 AR 리소스 획득 요청을 송신하는 단계 - 상기 AR 리소스 획득 요청은 상기 제2 전자 기기로 하여금 상기 AR 리소스 획득 요청에 응답하여 상기 타깃 AR 리소스의 식별자 정보에 대응되는 타깃 AR 리소스를 획득하도록 함 - ; 및 상기 제2 전자 기기에 의해 송신된 상기 타깃 AR 리소스를 수신하고 표시하는 단계를 포함한다.In one possible implementation form, the step of receiving the AR resource to load sent by the second electronic device, and correspondingly indicating the AR resource to be loaded, includes: the AR to load resource sent by the second electronic device receiving identifier information of a resource; determining identifier information of a target AR resource from identifier information of the AR resource to be loaded; returning the identifier information of the target AR resource to an AR resource acquisition request, and transmitting an AR resource acquisition request to the second electronic device. The AR resource acquisition request causes the second electronic device to respond to the AR resource acquisition request. to acquire the target AR resource corresponding to the identifier information of the target AR resource in response; and receiving and displaying the target AR resource transmitted by the second electronic device.

일 가능한 구현 형태에서, 상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스를 수신하고, 상기 로딩할 AR 리소스를 상응하게 표시하는 단계는, 상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스를 수신하는 단계; 상기 로딩할 AR 리소스에서 타깃 AR 리소스를 결정하는 단계 및 상기 타깃 AR 리소스를 표시하는 단계를 포함한다.In one possible implementation form, the step of receiving the AR resource to load sent by the second electronic device, and correspondingly indicating the AR resource to be loaded, includes: the AR to load resource sent by the second electronic device receiving a resource; determining a target AR resource from the AR resource to be loaded and displaying the target AR resource.

일 가능한 구현 형태에서, 하기 임의의 하나의 상황에 응답하여, 상기 제2 전자 기기에 포지셔닝 정보를 송신하는 단계는, 시간 주기 내에서, 상기 제1 전자 기기가 이동한 거리가 거리 임계값보다 큰 것; 상기 시간 주기 내에서, 상기 제1 전자 기기의 실시간 위치 정보가 포지셔닝 영역 밖에 위치하는 것; 및 이전 시간 주기가 종료되어, 새로운 시간 주기를 시작하는 것;을 포함하고, 상기 포지셔닝 영역은 상기 시간 주기 초기 시각에 상기 제1 전자 기기에 대응되는 위치 정보를 중심으로 하는 영역이다.In one possible implementation form, in response to any one of the following circumstances, the step of transmitting the positioning information to the second electronic device includes: within a time period, a distance traveled by the first electronic device is greater than a distance threshold thing; within the time period, the real-time location information of the first electronic device is located outside a positioning area; and ending a previous time period and starting a new time period, wherein the positioning area is an area centered on location information corresponding to the first electronic device at an initial time of the time period.

일 가능한 구현 형태에서, 상기 로딩할 AR 리소스의 식별자 정보는 AR 리소스 식별자 및 AR 리소스 버전 정보를 포함하고, 상기 로딩할 AR 리소스의 식별자 정보에서 타깃 AR 리소스의 식별자 정보를 결정하는 단계는, 임의의 하나의 로딩할 AR 리소스의 식별자 정보에 대해, 상기 AR 리소스 식별자에 대응되는 AR 리소스가 로컬에 캐싱되지 않을 경우, 또는 로컬에 캐싱된 상기 AR 리소스 식별자에 대응되는 AR 리소스의 AR 리소스 버전 정보와, 상기 AR 리소스 버전 정보가 일치하지 않을 경우, 상기 로딩할 AR 리소스의 식별자 정보가 상기 타깃 AR 리소스의 식별자 정보임을 결정하는 단계를 포함한다.In one possible implementation form, the identifier information of the AR resource to be loaded includes an AR resource identifier and AR resource version information, and the determining of the identifier information of the target AR resource from the identifier information of the AR resource to be loaded may include: For identifier information of one AR resource to be loaded, when the AR resource corresponding to the AR resource identifier is not cached locally, or AR resource version information of the AR resource corresponding to the AR resource identifier cached locally; and determining that the identifier information of the AR resource to be loaded is the identifier information of the target AR resource when the AR resource version information does not match.

일 가능한 구현 형태에서, 상기 포지셔닝 정보에는 상기 제1 전자 기기가 위치한 환경 이미지가 포함되고, 상기 환경 이미지는 상기 제2 전자 기기로 하여금 상기 환경 이미지에 따라 상기 제1 전자 기기의 위치 정보를 결정하도록 한다.In one possible implementation form, the positioning information includes an environment image in which the first electronic device is located, and the environment image causes the second electronic device to determine the location information of the first electronic device according to the environment image do.

본 발명의 실시예의 일 측면에 따르면, 제2 전자 기기에 응용되는 리소스 로딩 방법을 제공하고, 상기 방법은,According to an aspect of an embodiment of the present invention, there is provided a resource loading method applied to a second electronic device, the method comprising:

제1 전자 기기에 의해 송신된 포지셔닝 정보를 수신하는 단계;receiving positioning information transmitted by the first electronic device;

상기 포지셔닝 정보에 따라 상기 제1 전자 기기의 위치 정보를 결정하는 단계;determining location information of the first electronic device according to the positioning information;

상기 제1 전자 기기의 위치 정보에 따라, 증강 현실(AR) 리소스에서 로딩할 AR 리소스를 결정하는 단계; 및determining an AR resource to be loaded from an augmented reality (AR) resource according to the location information of the first electronic device; and

상기 제1 전자 기기에 상기 로딩할 AR 리소스를 송신하는 단계를 포함하고, 상기 로딩할 AR 리소스는 상기 제1 전자 기기에서 표시된다.and transmitting the AR resource to be loaded to the first electronic device, wherein the AR resource to be loaded is displayed in the first electronic device.

일 가능한 구현 형태에서, 상기 제1 전자 기기에 상기 로딩할 AR 리소스를 송신하는 단계는, 상기 제1 전자 기기에 상기 로딩할 AR 리소스의 식별자 정보를 송신하는 단계 - 상기 로딩할 AR 리소스의 식별자 정보는 상기 제1 전자 기기로 하여금 상기 로딩할 AR 리소스의 식별자 정보에서 타깃 AR 리소스의 식별자 정보를 결정하도록 함 - ;In one possible implementation form, the transmitting of the AR resource to be loaded to the first electronic device includes: transmitting identifier information of the AR resource to be loaded to the first electronic device - identifier information of the AR resource to be loaded causes the first electronic device to determine the identifier information of the target AR resource from the identifier information of the AR resource to be loaded;

상기 제1 전자 기기에 의해 송신된 AR 리소스 획득 요청을 수신하는 단계 - 상기 AR 리소스 획득 요청에는 상기 타깃 AR 리소스의 식별자 정보가 반송됨 - ; 및receiving an AR resource acquisition request sent by the first electronic device, wherein identifier information of the target AR resource is returned in the AR resource acquisition request; and

상기 AR 리소스 획득 요청에 응답하여, 상기 타깃 AR 리소스의 식별자 정보에 대응되는 타깃 AR 리소스를 획득하고, 상기 제1 전자 기기에 상기 타깃 AR 리소스를 송신하는 단계를 포함하고, 상기 타깃 AR 리소스는 상기 제1 전자 기기에서 표시된다.obtaining a target AR resource corresponding to the identifier information of the target AR resource in response to the AR resource acquisition request, and transmitting the target AR resource to the first electronic device, wherein the target AR resource is displayed on the first electronic device.

일 가능한 구현 형태에서, 상기 제1 전자 기기의 위치 정보에 따라, 증강 현실(AR) 리소스에서 로딩할 AR 리소스를 결정하는 단계는, 상기 제1 전자 기기의 위치 정보에 따라 로딩할 범위를 결정하는 단계; 및 임의의 하나의 AR 리소스에 대해, 상기 AR 리소스에 대응되는 위치 정보가 상기 로딩할 범위 내에 위치할 경우, 상기 AR 리소스가 로딩할 AR 리소스임을 결정하는 단계를 포함한다.In one possible implementation form, the determining of the AR resource to be loaded from the augmented reality (AR) resource according to the location information of the first electronic device includes determining a range to load according to the location information of the first electronic device step; and determining that the AR resource is an AR resource to be loaded when the location information corresponding to the AR resource is located within the loading range for any one AR resource.

일 가능한 구현 형태에서, 상기 제1 전자 기기의 위치 정보에 따라 로딩할 범위를 결정하는 단계는, 범위 구축 데이터를 결정하는 단계; 및 상기 제1 전자 기기의 위치 정보 및 상기 범위 구축 데이터에 따라, 상기 로딩할 범위를 결정하는 단계를 포함한다.In one possible implementation form, the determining of the range to be loaded according to the location information of the first electronic device may include: determining range construction data; and determining the range to be loaded according to the location information of the first electronic device and the range establishment data.

일 가능한 구현 형태에서, 상기 포지셔닝 정보에는 상기 제1 전자 기기의 네트워크 신호 품질 및 상기 제1 전자 기기의 이동 속도 중 적어도 하나가 더 포함되고, 상기 범위 구축 데이터를 결정하는 단계는, 상기 네트워크 신호 품질에 따라, 상기 네트워크 신호 품질과 서로 대응되는 범위 구축 데이터를 결정하는 단계; 및/또는, 상기 이동 속도에 따라, 상기 이동 속도와 서로 대응되는 범위 구축 데이터를 결정하는 단계를 포함한다.In one possible implementation form, the positioning information further includes at least one of a network signal quality of the first electronic device and a moving speed of the first electronic device, and the determining of the range construction data includes: the network signal quality according to the method, determining range construction data corresponding to the network signal quality; and/or, according to the moving speed, determining range construction data corresponding to the moving speed.

일 가능한 구현 형태에서, 상기 제1 전자 기기의 위치 정보 및 상기 범위 구축 데이터에 따라, 상기 로딩할 범위를 결정하는 단계는, 상기 제1 전자 기기의 위치 정보 및 상기 범위 구축 데이터에 따라, 초기 로딩할 범위를 결정하는 단계; 위치 정보가 상기 초기 로딩할 범위 내에 위치하는 AR 리소스의 수량을 결정하는 단계; 상기 AR 리소스의 수량에 따라 상기 범위 구축 데이터를 조정하여, 조정된 범위 구축 데이터를 획득하는 단계; 및 상기 조정된 범위 구축 데이터 및 상기 제1 전자 기기의 위치 정보에 따라, 상기 로딩할 범위를 결정하는 단계를 포함한다.In one possible implementation form, the determining of the range to be loaded according to the location information of the first electronic device and the range establishment data includes: Initial loading according to the location information of the first electronic device and the range establishment data determining the scope to do; determining the quantity of AR resources located within the range where the location information is to be initially loaded; adjusting the range building data according to the quantity of the AR resource to obtain adjusted range building data; and determining the range to be loaded according to the adjusted range establishment data and the location information of the first electronic device.

일 가능한 구현 형태에서, 상기 제1 전자 기기의 위치 정보에 따라, 증강 현실(AR) 리소스에서 로딩할 AR 리소스를 결정하는 단계는, 각 AR 리소스의 위치 정보와 상기 제1 전자 기기의 위치 정보 사이의 거리를 결정하는 단계; 및 거리가 작은 것부터 큰 것으로의 순서에 따라 각 AR 리소스를 정렬한 후, 앞에 위치한 기설정된 수량의 AR 리소스를 상기 로딩할 AR 리소스로 결정하는 단계를 포함한다.In one possible implementation form, the determining of an AR resource to be loaded from an augmented reality (AR) resource according to the location information of the first electronic device may include: between the location information of each AR resource and the location information of the first electronic device. determining the distance of and arranging each AR resource in the order of the smallest distance to the largest, and then determining an AR resource of a preset quantity located in front as the AR resource to be loaded.

일 가능한 구현 형태에서, 상기 포지셔닝 정보에는 상기 제1 전자 기기가 위치한 환경 이미지가 포함되고, 상기 포지셔닝 정보에 따라 상기 제1 전자 기기의 위치 정보를 결정하는 단계는, 제1 전자 기기가 위치한 환경 이미지에 따라 상기 제1 전자 기기에 대해 비주얼 포지셔닝을 수행하여, 상기 제1 전자 기기의 위치 정보를 획득하는 단계를 포함한다.In one possible implementation form, the positioning information includes an environment image in which the first electronic device is located, and the determining of the location information of the first electronic device according to the positioning information includes an environment image in which the first electronic device is located performing visual positioning on the first electronic device according to

본 발명의 실시예의 일 측면에 따르면, 제1 전자 기기에 응용되는 리소스 로딩 장치를 제공하고, 상기 장치는,According to an aspect of an embodiment of the present invention, there is provided a resource loading device applied to a first electronic device, the device comprising:

제2 전자 기기에 포지셔닝 정보를 송신하는 송신 모듈 - 상기 포지셔닝 정보는 상기 제2 전자 기기로 하여금 상기 포지셔닝 정보에 따라 상기 제1 전자 기기의 위치 정보를 결정하고, 상기 제1 전자 기기의 위치 정보에 따라 로딩할 증강 현실(AR) 리소스를 결정하도록 하기 위한 것임 - ; 및Transmitting module for transmitting positioning information to a second electronic device - The positioning information causes the second electronic device to determine the location information of the first electronic device according to the positioning information, and to the location information of the first electronic device to determine which augmented reality (AR) resource to load according to; and

상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스를 수신하고, 상기 로딩할 AR 리소스를 상응하게 표시하는 수신 모듈을 포함한다.and a receiving module for receiving the AR resource to be loaded sent by the second electronic device, and correspondingly displaying the AR resource to be loaded.

일 가능한 구현 형태에서, 상기 수신 모듈은 또한, 상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스의 식별자 정보를 수신하고; 상기 로딩할 AR 리소스의 식별자 정보에서 타깃 AR 리소스의 식별자 정보를 결정하며;In one possible implementation form, the receiving module is further configured to receive identifier information of the AR resource to be loaded sent by the second electronic device; determine identifier information of a target AR resource from identifier information of the AR resource to be loaded;

상기 타깃 AR 리소스의 식별자 정보를 AR 리소스 획득 요청에 반송시키고, 상기 제2 전자 기기에 AR 리소스 획득 요청을 송신하고, 상기 AR 리소스 획득 요청은 상기 제2 전자 기기로 하여금 상기 AR 리소스 획득 요청에 응답하여 상기 타깃 AR 리소스의 식별자 정보에 대응되는 타깃 AR 리소스를 획득하도록 하며; 상기 제2 전자 기기에 의해 송신된 상기 타깃 AR 리소스를 수신하고 표시한다.return identifier information of the target AR resource to an AR resource acquisition request, and transmit an AR resource acquisition request to the second electronic device, wherein the AR resource acquisition request causes the second electronic device to respond to the AR resource acquisition request to obtain a target AR resource corresponding to the identifier information of the target AR resource; Receive and display the target AR resource transmitted by the second electronic device.

일 가능한 구현 형태에서, 상기 수신 모듈은 또한, 상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스를 수신하고; 상기 로딩할 AR 리소스에서 타깃 AR 리소스를 결정하며; 상기 타깃 AR 리소스를 표시한다.In one possible implementation form, the receiving module is further configured to receive the AR resource to load sent by the second electronic device; determine a target AR resource from the AR resource to be loaded; Indicate the target AR resource.

일 가능한 구현 형태에서, 상기 송신 모듈은 또한, 시간 주기 내에서, 상기 제1 전자 기기가 이동한 거리가 거리 임계값보다 큰 것; 상기 시간 주기 내에서, 상기 제1 전자 기기의 실시간 위치 정보가 포지셔닝 영역 밖에 위치하는 것; 및 이전 시간 주기가 종료되어, 새로운 시간 주기를 시작하는 것; 중 어느 한 상황에 응답하여, 제2 전자 기기에 포지셔닝 정보를 송신하고, 상기 포지셔닝 영역은 상기 시간 주기 초기 시각에 상기 제1 전자 기기에 대응되는 위치 정보를 중심으로 하는 영역이다.In one possible implementation form, the transmitting module may further include: within a time period, a distance traveled by the first electronic device is greater than a distance threshold; within the time period, the real-time location information of the first electronic device is located outside a positioning area; and the previous time period ends, starting a new time period; In response to any one situation, positioning information is transmitted to the second electronic device, and the positioning area is an area centered on the location information corresponding to the first electronic device at an initial time of the time period.

일 가능한 구현 형태에서, 상기 로딩할 AR 리소스의 식별자 정보는 AR 리소스 식별자 및 AR 리소스 버전 정보를 포함하고, 상기 수신 모듈은 또한, 임의의 하나의 로딩할 AR 리소스의 식별자 정보에 대해, 상기 AR 리소스 식별자에 대응되는 AR 리소스가 로컬에 캐싱되지 않을 경우, 또는 로컬에 캐싱된 상기 AR 리소스 식별자에 대응되는 AR 리소스의 AR 리소스 버전 정보와, 상기 AR 리소스 버전 정보가 일치하지 않을 경우, 상기 로딩할 AR 리소스의 식별자 정보가 타깃 AR 리소스의 식별자 정보임을 결정한다.In one possible implementation form, the identifier information of the AR resource to be loaded includes an AR resource identifier and AR resource version information, and the receiving module is further configured to: When the AR resource corresponding to the identifier is not cached locally, or when the AR resource version information of the locally cached AR resource corresponding to the AR resource identifier and the AR resource version information do not match, the AR to be loaded It is determined that the identifier information of the resource is the identifier information of the target AR resource.

일 가능한 구현 형태에서, 상기 포지셔닝 정보에는 상기 제1 전자 기기가 위치한 환경 이미지가 포함되고, 상기 환경 이미지는 상기 제2 전자 기기로 하여금 상기 환경 이미지에 따라 상기 제1 전자 기기의 위치 정보를 결정하도록 한다.In one possible implementation form, the positioning information includes an environment image in which the first electronic device is located, and the environment image causes the second electronic device to determine the location information of the first electronic device according to the environment image do.

본 발명의 실시예의 일 측면에 따르면, 제2 전자 기기에 응용되는 리소스 로딩 장치를 제공하고, 상기 장치는,According to an aspect of an embodiment of the present invention, there is provided a resource loading device applied to a second electronic device, the device comprising:

제1 전자 기기에 의해 송신된 포지셔닝 정보를 수신하는 수신 모듈;a receiving module for receiving the positioning information sent by the first electronic device;

상기 포지셔닝 정보에 따라 상기 제1 전자 기기의 위치 정보를 결정하는 제1 결정 모듈;a first determining module configured to determine location information of the first electronic device according to the positioning information;

상기 제1 전자 기기의 위치 정보에 따라, 증강 현실(AR) 리소스에서 로딩할 AR 리소스를 결정하는 제2 결정 모듈; 및a second determining module configured to determine an AR resource to be loaded from an augmented reality (AR) resource according to the location information of the first electronic device; and

상기 제1 전자 기기에 상기 로딩할 AR 리소스를 송신하는 송신 모듈을 포함하고, 상기 로딩할 AR 리소스는 상기 제1 전자 기기에서 표시된다.and a transmitting module for transmitting the AR resource to be loaded to the first electronic device, wherein the AR resource to be loaded is displayed on the first electronic device.

일 가능한 구현 형태에서, 상기 송신 모듈은 또한,In one possible implementation form, the transmitting module further comprises:

상기 제1 전자 기기에 상기 로딩할 AR 리소스의 식별자 정보를 송신하고, 상기 로딩할 AR 리소스의 식별자 정보는 상기 제1 전자 기기로 하여금 상기 로딩할 AR 리소스의 식별자 정보에서 타깃 AR 리소스의 식별자 정보를 결정하도록 하며; 상기 제1 전자 기기에 의해 송신된 AR 리소스 획득 요청을 수신하고, 상기 AR 리소스 획득 요청에는 상기 타깃 AR 리소스의 식별자 정보가 반송되며; 상기 AR 리소스 획득 요청에 응답하여, 상기 타깃 AR 리소스의 식별자 정보에 대응되는 타깃 AR 리소스를 획득하고, 상기 제1 전자 기기에 상기 타깃 AR 리소스를 송신하며, 상기 타깃 AR 리소스는 상기 제1 전자 기기에서 표시된다.transmit the identifier information of the AR resource to be loaded to the first electronic device, and the identifier information of the AR resource to be loaded causes the first electronic device to determine the identifier information of the target AR resource from the identifier information of the AR resource to be loaded to decide; receive the AR resource acquisition request sent by the first electronic device, wherein the AR resource acquisition request includes identifier information of the target AR resource; In response to the AR resource acquisition request, a target AR resource corresponding to the identifier information of the target AR resource is acquired, and the target AR resource is transmitted to the first electronic device, wherein the target AR resource is the first electronic device is displayed in

일 가능한 구현 형태에서, 상기 제2 결정 모듈은 또한, 상기 제1 전자 기기의 위치 정보에 따라 로딩할 범위를 결정하고; 임의의 하나의 AR 리소스에 대해, 상기 AR 리소스에 대응되는 위치 정보가 상기 로딩할 범위 내에 위치할 경우, 상기 AR 리소스가 상기 로딩할 AR 리소스임을 결정한다.In one possible implementation form, the second determining module is further configured to: determine a range to load according to the location information of the first electronic device; For any one AR resource, when the location information corresponding to the AR resource is located within the loading range, it is determined that the AR resource is the AR resource to be loaded.

일 가능한 구현 형태에서, 상기 제2 결정 모듈은 또한, 범위 구축 데이터를 결정하고; 상기 제1 전자 기기의 위치 정보 및 상기 범위 구축 데이터에 따라, 상기 로딩할 범위를 결정한다.In one possible implementation form, the second determining module is further configured to: determine range building data; The range to be loaded is determined according to the location information of the first electronic device and the range establishment data.

일 가능한 구현 형태에서, 상기 포지셔닝 정보에는 상기 제1 전자 기기의 네트워크 신호 품질 및 상기 제1 전자 기기의 이동 속도 중 적어도 하나가 더 포함되고, 상기 제2 결정 모듈은 또한, 상기 네트워크 신호 품질에 따라, 상기 네트워크 신호 품질과 서로 대응되는 범위 구축 데이터를 결정하고; 및/또는, 상기 이동 속도에 따라, 상기 이동 속도와 서로 대응되는 범위 구축 데이터를 결정한다.In one possible implementation form, the positioning information further includes at least one of a network signal quality of the first electronic device and a moving speed of the first electronic device, and the second determining module is further configured to: , determine the range construction data corresponding to the network signal quality; and/or, according to the moving speed, determine range construction data corresponding to the moving speed.

일 가능한 구현 형태에서, 상기 제2 결정 모듈은 또한, 상기 제1 전자 기기의 위치 정보 및 상기 범위 구축 데이터에 따라, 초기 로딩할 범위를 결정하고; 위치 정보가 상기 초기 로딩할 범위 내에 위치하는 AR 리소스의 수량을 결정하며; 상기 AR 리소스의 수량에 따라 상기 범위 구축 데이터를 조정하여, 조정된 범위 구축 데이터를 획득하고; 상기 조정된 범위 구축 데이터 및 상기 제1 전자 기기의 위치 정보에 따라, 상기 로딩할 범위를 결정한다.In one possible implementation form, the second determining module is further configured to: determine, according to the location information of the first electronic device and the range establishment data, a range to initially load; determine the quantity of AR resources in which the location information is located within the range to be initially loaded; adjusting the range building data according to the quantity of the AR resource to obtain adjusted range building data; The range to be loaded is determined according to the adjusted range establishment data and the location information of the first electronic device.

일 가능한 구현 형태에서, 상기 제2 결정 모듈은 또한, 각 AR 리소스의 위치 정보와 상기 제1 전자 기기의 위치 정보 사이의 거리를 결정하고; 거리가 작은 것부터 큰 것으로의 순서에 따라 각 AR 리소스를 정렬한 후, 앞에 위치한 기설정된 수량의 AR 리소스를 상기 로딩할 AR 리소스로 결정한다.In one possible implementation form, the second determining module is further configured to: determine a distance between the location information of each AR resource and the location information of the first electronic device; After arranging each AR resource in the order from the smallest distance to the largest distance, an AR resource of a preset quantity located in front is determined as the AR resource to be loaded.

일 가능한 구현 형태에서, 상기 포지셔닝 정보에는 상기 제1 전자 기기가 위치한 환경 이미지가 포함되고, 상기 제1 결정 모듈은 또한, 제1 전자 기기가 위치한 환경 이미지에 따라 상기 제1 전자 기기에 대해 비주얼 포지셔닝을 수행하여, 상기 제1 전자 기기의 위치 정보를 획득한다.In one possible implementation form, the positioning information includes an environment image in which the first electronic device is located, and the first determining module is further configured to visually position the first electronic device according to the environment image in which the first electronic device is located to obtain location information of the first electronic device.

본 발명의 실시예의 일 측면에 따르면, 프로세서; 및 프로세서에 의해 실행 가능한 명령이 저장되는 메모리를 포함하는 전자 기기를 제공하고, 상기 프로세서는 상기 메모리에 저장된 명령을 호출하여, 상기 방법을 수행하도록 구성된다.According to an aspect of an embodiment of the present invention, a processor; and a memory in which instructions executable by the processor are stored, wherein the processor is configured to call the instructions stored in the memory to perform the method.

본 발명의 실시예의 일 측면에 따르면, 컴퓨터 프로그램 명령이 저장된 컴퓨터 판독 가능 저장 매체를 제공하고, 상기 컴퓨터 프로그램 명령이 프로세서에 의해 실행될 경우, 상기 방법이 구현된다.According to an aspect of an embodiment of the present invention, there is provided a computer readable storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the method is implemented.

본 발명의 실시예는 컴퓨터 판독 가능 코드를 포함하는 컴퓨터 프로그램을 제공하고, 상기 컴퓨터 판독 가능 코드가 전자 기기에서 실행될 경우, 상기 전자 기기의 프로세서는 상기 방법을 구현한다.An embodiment of the present invention provides a computer program including computer readable code, and when the computer readable code is executed in an electronic device, a processor of the electronic device implements the method.

본 발명의 실시예에서, 제1 전자 기기는 제2 전자 기기에 포지셔닝 정보를 송신할 수 있고, 상기 포지셔닝 정보는 상기 제2 전자 기기로 하여금 상기 포지셔닝 정보에 따라 상기 제1 전자 기기의 위치 정보를 결정하며, 상기 제1 전자 기기의 위치 정보에 따라 로딩할 증강 현실(AR) 리소스를 결정하도록 하고, 나아가 제1 전자 기기는 상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스를 수신하며, 상기 로딩할 AR 리소스를 상응하게 표시한다. 본 발명의 실시예에서 제공되는 리소스 로딩 방법 및 장치, 전자 기기와 저장 매체 및 프로그램에 따르면, 제1 전자 기기의 위치 정보에 따라 대응되는 로딩할 AR 리소스를 결정하고 로딩할 수 있어, AR 응용 프로그램 다운로드시 모든 AR 리소스를 패킹하여 다운로드함으로 인한 AR 응용 프로그램의 설치팩이 너무 큰 문제를 완화하여, AR 응용 프로그램의 설치팩이 간편하도록 하고, 사용자 사용에 영향을 주지 않으면서 AR 응용 프로그램의 다운로드 설치 효율을 향상시킨다.In an embodiment of the present invention, the first electronic device may transmit positioning information to the second electronic device, and the positioning information causes the second electronic device to obtain location information of the first electronic device according to the positioning information. determine an augmented reality (AR) resource to be loaded according to the location information of the first electronic device, and further, the first electronic device receives the AR resource to load transmitted by the second electronic device, Correspondingly indicate the AR resource to be loaded. According to the resource loading method and apparatus, the electronic device, and the storage medium and program provided in the embodiment of the present invention, it is possible to determine and load the corresponding AR resource to be loaded according to the location information of the first electronic device, so that the AR application program All AR resources are packed and downloaded at the time of download, which alleviates the problem that the installation pack of the AR application is too big, making the installation pack of the AR application easy, and downloading and installing the AR application without affecting the user's use improve efficiency;

위의 일반적인 설명 및 후술되는 세부사항에 대한 설명은 예시적이고 해석을 위한 것일 뿐, 본 발명을 제한하기 위함이 아니다. 아래에서는 도면을 참고하여 예시적인 실시예에 대한 상세한 설명에 따르면, 본 발명의 다른 특징 및 양태도 더욱 뚜렷해질 것이다.The general description above and the description of the details set forth below are illustrative and for interpretation purposes only, and not for limiting the present invention. Other features and aspects of the present invention will become more apparent in the following detailed description of exemplary embodiments with reference to the drawings.

여기서의 도면은 명세서에 병합되어 본 명세서의 일부분을 구성하고, 이러한 도면들은 본 발명에 부합되는 실시예를 나타내며, 명세서와 함께 본 발명의 기술적 해결수단을 해석하기 위한 것이다.
도 1은 본 발명의 실시예에 따른 리소스 로딩 방법의 모식도를 도시한다.
도 2는 본 발명의 실시예에 따른 리소스 로딩 방법의 흐름도를 도시한다.
도 3은 본 발명의 실시예에 따른 리소스 로딩 방법의 흐름도를 도시한다.
도 4는 본 발명의 실시예에 따른 리소스 로딩 방법의 모식도를 도시한다.
도 5는 본 발명의 실시예에 따른 리소스 로딩 방법의 모식도를 도시한다.
도 6은 본 발명의 실시예에 따른 리소스 로딩 장치의 블록도를 도시한다.
도 7은 본 발명의 실시예에 따른 리소스 로딩 장치의 블록도를 도시한다.
도 8은 본 발명의 실시예에 따른 전자 기기(800)의 블록도를 도시한다.
도 9는 본 발명의 실시예에 따른 전자 기기(1900)의 블록도를 도시한다.
The drawings herein are incorporated in and constitute a part of this specification, and these drawings show embodiments consistent with the present invention, and together with the specification are for interpreting the technical solutions of the present invention.
1 shows a schematic diagram of a resource loading method according to an embodiment of the present invention.
2 shows a flowchart of a resource loading method according to an embodiment of the present invention.
3 shows a flowchart of a resource loading method according to an embodiment of the present invention.
4 shows a schematic diagram of a resource loading method according to an embodiment of the present invention.
5 shows a schematic diagram of a resource loading method according to an embodiment of the present invention.
6 is a block diagram of a resource loading apparatus according to an embodiment of the present invention.
7 is a block diagram of a resource loading apparatus according to an embodiment of the present invention.
8 is a block diagram of an electronic device 800 according to an embodiment of the present invention.
9 is a block diagram of an electronic device 1900 according to an embodiment of the present invention.

아래에서는 도면을 참고하여 본 발명의 다양한 예시적인 실시예, 특징 및 양태를 상세히 설명한다. 도면에서 동일한 도면 부호는 기능이 동일하거나 유사한 요소를 나타낸다. 도면에서 실시예의 다양한 양태를 도시하였을 지라도, 특별히 지적하지 않는 한, 비율에 따라 도면을 작성할 필요없다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Various exemplary embodiments, features and aspects of the present invention will be described in detail below with reference to the drawings. In the drawings, the same reference numbers indicate elements having the same or similar functions. Although the drawings show various aspects of the embodiment, it is not necessary to draw the drawings to scale unless otherwise indicated.

여기에서 “예시적”이라는 전용 단어는 “예, 실시예 또는 설명적으로 사용됨”을 의미한다. 여기서 “예시적”으로 설명되는 임의의 실시예는 다른 실시예보다 우수하거나 더 나은 것으로 해석될 필요없다.As used herein, the dedicated word “exemplary” means “used as an example, embodiment, or description.” Any embodiment described herein as “exemplary” is not necessarily to be construed as superior or superior to another embodiment.

본 명세서의 용어 “및/또는”은 연관 대상을 설명하는 연관 관계로서, 3가지 관계가 존재할 수 있음을 나타내며, 예를 들면, A 및/또는 B는, A만 존재, A와 B가 동시에 존재, B만 존재하는 3가지 경우를 나타낼 수 있다. 이밖에, 본 명세서의 용어 “적어도 하나”는 여러가지 중 어느 하나 또는 여러가지 중 적어도 두 가지의 임의의 조합을 나타내며, 예를 들어, A, B, C 중 적어도 하나는 A, B 및 C로 구성된 집합에서 선택되는 어느 하나 또는 다수의 요소를 포함함을 나타낼 수 있다.As used herein, the term “and/or” is an association relationship that describes an object of association, indicating that three relationships may exist, for example, A and/or B, only A exists, and A and B exist simultaneously , we can represent three cases in which only B exists. In addition, the term “at least one” in the present specification indicates any one of various or any combination of at least two of various, for example, at least one of A, B, and C is a set consisting of A, B and C It may indicate including any one or a plurality of elements selected from.

이 밖에, 본 발명을 더욱 잘 설명하기 위해, 아래의 구체적인 실시형태에서는 많은 구체적인 세부사항이 제공된다. 본 기술분야의 통상의 기술자라면 일부 구체적인 세부사항 없이도 본 발명이 마찬가지로 구현될 수 있음을 이해해야 한다. 일부 구현예에서, 본 기술분야의 통상의 기술자에게 익숙한 방법, 수단, 요소 및 회로에 대하여 상세히 설명하지 않음으로써, 본 발명의의 요지를 뚜렷하게 한다.In addition, in order to better explain the present invention, numerous specific details are provided in the specific embodiments below. It should be understood by those skilled in the art that the present invention may be likewise embodied without some specific details. In some embodiments, the gist of the present invention is obscured by not describing in detail methods, means, elements and circuits familiar to those skilled in the art.

사용자는 AR 응용 프로그램을 응용하기 전에, AR 응용 프로그램을 단말 기기에 다운로드해야 하며, AR 응용 프로그램을 다운로드할 때, AR 응용 프로그램에 관련된 AR 리소스를 동시에 패킹하여 다운로드하면, AR 응용 프로그램의 설치팩이 너무 커지고, AR 응용 프로그램을 다운로드 설치한 후, 클라우드 서버에서 모든 AR 리소스를 로딩하게 되면, 네트워크 전송이 너무 오래 걸린다.The user must download the AR application to the terminal device before applying the AR application, and when downloading the AR application, if the AR resource related to the AR application is packed and downloaded at the same time, the installation pack of the AR application is If it gets too big, downloads and installs AR applications, and loads all AR resources from the cloud server, network transmission takes too long.

상기 기술적 과제를 해결하기 위해, 본 발명의 실시예는 VPS (Visual Positioning Service, 비주얼 포지셔닝 시스템) 비주얼 포지셔닝을 통해 단말 기기의 위치 정보를 결정하고, 단말 기기의 위치 정보에 따라 AR 리소스의 로딩을 수행할 수 있는 리소스 로딩 방법을 제공한다. 일부 실시예에서, 도 1을 참조하면, AR 응용 프로그램 설치팩에는 AR 리소스가 포함되지 않거나 또는 일부 AR 리소스가 포함되고, 단말 기기는 AR 응용 프로그램을 다운로드 설치하여 AR 프로그램을 사용하는 과정에서 단말 기기의 위치 정보에 따라 점진적으로 AR 리소스를 로딩할 수 있다. 예를 들어, 단말 기기는 위치 1에 있을 때, (AR 리소스 1, AR 리소스 2 및 AR 리소스 3)를 로딩하고, 위치 2에 있을 때, (AR 리소스 4, AR 리소스 5 및 AR 리소스 6)를 로딩한다. 이렇게, AR 응용 프로그램의 설치팩이 간편하도록 하고, 나아가 AR 응용 프로그램의 다운로드 설치 효율을 향상시킬 수 있다.In order to solve the above technical problem, an embodiment of the present invention determines the location information of a terminal device through VPS (Visual Positioning Service, Visual Positioning System) visual positioning, and performs loading of AR resources according to the location information of the terminal device It provides a resource loading method that can do this. In some embodiments, referring to FIG. 1 , the AR application installation pack does not include AR resources or includes some AR resources, and the terminal device downloads and installs the AR application and uses the AR program in the process of using the AR program. AR resources can be gradually loaded according to the location information of For example, the terminal device loads (AR resource 1, AR resource 2 and AR resource 3) when in position 1, and (AR resource 4, AR resource 5, and AR resource 6) when in position 2 load In this way, it is possible to simplify the installation pack of the AR application and further improve the download and installation efficiency of the AR application.

도 2는 본 발명의 실시예에 따른 리소스 로딩 방법의 흐름도를 도시하고, 상기 리소스 로딩 방법은 단말 기기(이하, 제1 전자 기기라고 함)에 의해 수행될 수 있으며, 단말 기기는 사용자 기기(User Equipment, UE), 모바일 기기, 사용자 단말기, 단말기, 셀룰러폰, 무선 전화, 개인 휴대 정보 단말기(Personal Digital Assistant, PDA), 핸드헬드 기기, 컴퓨팅 기기, 차량 탑재 기기 또는 웨어러블 기기 등일 수 있고, 상기 방법은 프로세서를 통해 메모리에 저장된 컴퓨터 판독 가능 명령을 호출하는 방식으로 구현될 수 있다.2 is a flowchart of a resource loading method according to an embodiment of the present invention, wherein the resource loading method may be performed by a terminal device (hereinafter referred to as a first electronic device), and the terminal device is a user device (User). Equipment, UE), a mobile device, a user terminal, a terminal, a cellular phone, a wireless telephone, a Personal Digital Assistant (PDA), a handheld device, a computing device, an in-vehicle device or a wearable device, and the like, the method may be implemented in such a way that the processor invokes computer readable instructions stored in memory.

도 2에 도시된 바와 같이, 상기 리소스 로딩 방법은 하기와 같은 단계를 포함할 수 있다.2 , the resource loading method may include the following steps.

단계 S21에서, 제2 전자 기기에 포지셔닝 정보를 송신하고, 포지셔닝 정보는 상기 제2 전자 기기로 하여금 상기 포지셔닝 정보에 따라 상기 제1 전자 기기의 위치 정보를 결정하고, 상기 제1 전자 기기의 위치 정보에 따라 로딩할 증강 현실(AR) 리소스를 결정하도록 한다.In step S21, positioning information is transmitted to the second electronic device, and the positioning information causes the second electronic device to determine the location information of the first electronic device according to the positioning information, and location information of the first electronic device Decide which augmented reality (AR) resource to load according to

단계 S22에서, 상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스를 수신하고, 상기 로딩할 AR 리소스를 상응하게 표시한다.In step S22, the AR resource to be loaded sent by the second electronic device is received, and the AR resource to be loaded is displayed accordingly.

본 발명의 실시예에서, 상기 제2 전자 기기는 예를 들어 클라우드 서버 등을 포함할 수 있다. 제1 전자 기기는 제2 전자 기기에 포지셔닝 정보를 송신할 수 있고, 상기 포지셔닝 정보는 제1 전자 기기의 위치 정보 (제1 전자 기기는 포지셔닝 동작을 수행하여, 위치 정보를 획득함)를 포함할 수 있으며, 제2 전자 기기는 포지셔닝 정보에서 제1 전자 기기의 위치 정보를 획득할 수 있다.In an embodiment of the present invention, the second electronic device may include, for example, a cloud server. The first electronic device may transmit positioning information to the second electronic device, and the positioning information may include location information of the first electronic device (the first electronic device performs a positioning operation to obtain location information). and the second electronic device may acquire location information of the first electronic device from the positioning information.

일 가능한 구현 형태에서, 포지셔닝 정보에는 제1 전자 기기가 위치한 환경 이미지가 포함될 수 있고, 상기 환경 이미지는 상기 제2 전자 기기로 하여금 상기 환경 이미지에 따라 상기 제1 전자 기기의 위치 정보를 결정하도록 한다.In one possible implementation form, the positioning information may include an environment image in which the first electronic device is located, and the environment image causes the second electronic device to determine the location information of the first electronic device according to the environment image .

예를 들면, 공간 재구성 기술을 통해 공간을 미리 재구성할 수 있고, 예를 들어, SFM (Structure from Motion, 움직임 복원 구조) 공간 재구성 기술을 통해, 공간 재구성을 수행하여, 공간의 3차원 모델을 획득한다. 제1 전자 기기는 자신이 위치한 환경 이미지를 수집하고, 제2 전자 기기에 상기 환경 이미지를 포함하는 포지셔닝 정보를 송신할 수 있다. 제2 전자 기기는 상기 포지셔닝 정보를 수신한 후, 상기 환경 이미지 및 3차원 모델에 따라 제1 전자 기기에 대해 비주얼 포지셔닝을 수행하여, 제1 전자 기기의 위치 정보를 획득할 수 있다.For example, space can be reconstructed in advance through spatial reconstruction technology, for example, through SFM (Structure from Motion, motion restoration structure) space reconstruction technology, spatial reconstruction is performed to obtain a three-dimensional model of space do. The first electronic device may collect an environment image in which it is located, and transmit positioning information including the environment image to the second electronic device. After receiving the positioning information, the second electronic device may perform visual positioning on the first electronic device according to the environment image and the 3D model to obtain location information of the first electronic device.

제2 전자 기기는 제1 전자 기기의 위치 정보를 획득한 후, 제1 전자 기기의 위치 정보에 따라, 전체 AR 리소스에서 로딩할 AR 리소스(AR 응용 프로그램의 설치팩에 일부 AR 리소스가 포함될 경우, 설치팩에 패킹되지 않은 나머지 AR 리소스에서 로딩할 AR 리소스를 결정할 수 있음)를 결정할 수 있고, 로딩할 AR 리소스를 제1 전자 기기에 송신할 수 있다.After the second electronic device obtains the location information of the first electronic device, according to the location information of the first electronic device, the AR resource to be loaded from all AR resources (if some AR resources are included in the installation pack of the AR application, The AR resource to be loaded may be determined from the remaining AR resources not packed in the installation pack), and the AR resource to be loaded may be transmitted to the first electronic device.

일부 실시예에서, 제2 전자 기기는 제1 전자 기기의 위치 정보를 획득한 후, 위치 정보와 제1 전자 기기의 위치 정보가 로딩 조건을 만족하는 AR 리소스가 로딩할 AR 리소스임을 결정할 수 있다. 예를 들어, AR 리소스의 위치 정보와 제1 전자 기기의 위치 정보 사이의 거리가 거리 임계값 내에 있을 경우, 로딩 조건을 만족함을 결정하고, 상기 AR 리소스를 로딩할 AR 리소스로 결정할 수 있다. 또는, 제1 전자 기기의 위치 정보에 따라 하나의 로딩할 범위(예를 들어, 제1 전자 기기의 위치 정보를 중심으로 하여 하나의 영역을 결정하고, 해당 영역이 로딩할 범위임)를 결정할 수 있고, AR 리소스의 위치 정보가 상기 로딩할 범위 내에 위치할 경우, 상기 AR 리소스가 로딩할 AR 리소스임을 결정할 수 있다.In some embodiments, after obtaining the location information of the first electronic device, the second electronic device may determine that an AR resource that satisfies a loading condition between the location information and the location information of the first electronic device is an AR resource to be loaded. For example, when the distance between the location information of the AR resource and the location information of the first electronic device is within a distance threshold, it may be determined that a loading condition is satisfied, and the AR resource may be determined as the AR resource to be loaded. Alternatively, one loading range (for example, one area is determined based on the location information of the first electronic device and the corresponding area is a range to be loaded) can be determined according to the location information of the first electronic device. and when the location information of the AR resource is located within the loading range, it may be determined that the AR resource is the AR resource to be loaded.

제1 전자 기기는 로딩할 AR 리소스를 수신한 후, 로딩할 AR 리소스를 상응하게 표시할 수 있다. 예를 들어, 제1 전자 기기 로컬에 로딩되지 않았던 로딩할 AR 리소스를 표시하거나, 또는 로컬에 이미 로딩되었지만 버전이 업데이트된 로딩할 AR 리소스에 대해, 대응되는 로딩 프롬프트 정보를 디스플레이하고, 상기 로딩 프롬프트 정보는 상기 로딩할 AR 리소스를 업데이트할지 여부를 사용자에게 묻는데 사용될 수 있으며, 로딩 프롬프트 정보에 대한 사용자의 확인 동작에 응답하여, 대응되는 디스플레이를 수행할 수 있다. 예를 들어, 로딩에 대한 확인 동작에 응답하여, 로딩할 AR 리소스를 로딩하고 디스플레이하며 로컬 캐시 버전을 삭제하거나, 또는 로딩하지 않는다는 것에 대한 확인 동작에 응답하여, 상기 로딩할 AR 리소스를 로딩하지 않고, 로컬에서의 로딩할 AR 리소스의 캐시 버전을 디스플레이한다.After receiving the AR resource to be loaded, the first electronic device may display the AR resource to be loaded accordingly. For example, the first electronic device displays an AR resource to load that has not been locally loaded, or displays corresponding loading prompt information for an AR resource to be loaded that has already been locally loaded but has an updated version, and the loading prompt The information may be used to ask the user whether to update the AR resource to be loaded, and in response to the user's confirmation operation for the loading prompt information, a corresponding display may be performed. For example, in response to a confirm action to load, load and display the AR resource to load and delete the local cache version, or in response to a confirm action to not load the AR resource to load, without loading the AR resource to load , displays the cached version of the AR resource to load locally.

이렇게, 제1 전자 기기는 제2 전자 기기에 포지셔닝 정보를 송신할 수 있고, 상기 포지셔닝 정보는 상기 제2 전자 기기로 하여금 상기 포지셔닝 정보에 따라 상기 제1 전자 기기의 위치 정보를 결정하며, 상기 제1 전자 기기의 위치 정보에 따라 로딩할 증강 현실(AR) 리소스를 결정하도록 하고, 나아가 제1 전자 기기는 상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스를 수신하며, 상기 로딩할 AR 리소스를 상응하게 표시한다. 본 발명의 실시예에서 제공되는 리소스 로딩 방법에 따르면, 제1 전자 기기의 위치 정보에 따라 대응되는 로딩할 AR 리소스를 결정하고 로딩할 수 있어, AR 응용 프로그램 다운로드시 모든 AR 리소스를 패킹하여 다운로드함으로 인한 AR 응용 프로그램의 설치팩이 너무 큰 문제를 완화하여, AR 응용 프로그램의 설치팩이 간편하도록 하고, 사용자 사용에 영향을 주지 않으면서 AR 응용 프로그램의 다운로드 설치 효율을 향상시킨다.In this way, the first electronic device may transmit positioning information to the second electronic device, and the positioning information causes the second electronic device to determine the location information of the first electronic device according to the positioning information, determine an augmented reality (AR) resource to be loaded according to the location information of the first electronic device, and further, the first electronic device receives the AR resource to load transmitted by the second electronic device, and the AR resource to load are indicated correspondingly. According to the resource loading method provided in the embodiment of the present invention, it is possible to determine and load the corresponding AR resource to be loaded according to the location information of the first electronic device, so that when downloading an AR application, all AR resources are packed and downloaded. By alleviating the problem that the AR application installation pack is too big, it makes the AR application installation pack simple and improves the download and installation efficiency of the AR application without affecting user usage.

일 가능한 구현 형태에서, 상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스를 수신하고, 상기 로딩할 AR 리소스를 상응하게 표시하는 단계는,In one possible implementation form, receiving the AR resource to be loaded transmitted by the second electronic device, and correspondingly indicating the AR resource to be loaded, includes:

상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스의 식별자 정보를 수신하는 단계;receiving identifier information of the AR resource to be loaded transmitted by the second electronic device;

상기 로딩할 AR 리소스의 식별자 정보에서 타깃 AR 리소스의 식별자 정보를 결정하는 단계;determining identifier information of a target AR resource from identifier information of the AR resource to be loaded;

상기 타깃 AR 리소스의 식별자 정보를 AR 리소스 획득 요청에 반송시키고, 상기 제2 전자 기기에 AR 리소스 획득 요청을 송신하는 단계 - 상기 AR 리소스 획득 요청은 상기 제2 전자 기기로 하여금 상기 AR 리소스 획득 요청에 응답하여 상기 타깃 AR 리소스의 식별자 정보에 대응되는 타깃 AR 리소스를 획득하도록 함 - ; 및returning the identifier information of the target AR resource to an AR resource acquisition request, and transmitting an AR resource acquisition request to the second electronic device. The AR resource acquisition request causes the second electronic device to respond to the AR resource acquisition request. to acquire the target AR resource corresponding to the identifier information of the target AR resource in response; and

상기 제2 전자 기기에 의해 송신된 상기 타깃 AR 리소스를 수신하고 표시하는 단계를 포함할 수 있다.receiving and displaying the target AR resource transmitted by the second electronic device.

예를 들면, 제2 전자 기기는 제1 전자 기기의 위치 정보에 따라, 모든 AR 리소스에서 로딩할 AR 리소스를 결정하고, 로딩할 AR 리소스의 식별자 정보를 획득할 수 있으며, 여기서, 로딩할 AR 리소스의 식별자 정보는 로딩할 AR 리소스를 식별하는데 사용될 수 있다. 예를 들어, 로딩할 AR 리소스의 식별자 정보는 로딩할 AR 리소스의 ID, 명칭을 포함할 수 있고, 로딩할 AR 리소스의 버전 정보 등을 포함할 수도 있다.For example, the second electronic device may determine an AR resource to be loaded from all AR resources according to the location information of the first electronic device, and obtain identifier information of the AR resource to be loaded, where the AR resource to be loaded The identifier information of may be used to identify an AR resource to be loaded. For example, the identifier information of the AR resource to be loaded may include the ID and name of the AR resource to be loaded, and may include version information of the AR resource to be loaded, and the like.

제1 전자 기기는 로컬에 캐싱된 AR 리소스의 식별저 정보와 로딩할 AR 리소스의 식별자 정보에 따라, 로딩할 AR 리소스의 식별자 정보에서 타깃 AR 리소스의 식별자 정보를 결정할 수 있다.The first electronic device may determine the identifier information of the target AR resource from the identifier information of the AR resource to be loaded according to the locally cached identifier information of the AR resource and the identifier information of the AR resource to be loaded.

일 가능한 구현 형태에서, 상기 로딩할 AR 리소스의 식별자 정보는 AR 리소스 식별자 및 AR 리소스 버전 정보를 포함하고, 상기 로딩할 AR 리소스의 식별자 정보에서 타깃 AR 리소스의 식별자 정보를 결정하는 단계는,In one possible implementation form, the identifier information of the AR resource to be loaded includes an AR resource identifier and AR resource version information, and determining the identifier information of the target AR resource from the identifier information of the AR resource to be loaded includes:

임의의 하나의 로딩할 AR 리소스의 식별자 정보에 대해, 상기 AR 리소스 식별자에 대응되는 AR 리소스가 로컬에 캐싱되지 않을 경우, 또는 로컬에 캐싱된 상기 AR 리소스 식별자에 대응되는 AR 리소스의 AR 리소스 버전 정보와, 상기 AR 리소스 버전 정보가 일치하지 않을 경우, 상기 로딩할 AR 리소스의 식별자 정보가 타깃 AR 리소스의 식별자 정보임을 결정하는 단계를 포함한다.Regarding the identifier information of any one AR resource to be loaded, when the AR resource corresponding to the AR resource identifier is not cached locally, or AR resource version information of the AR resource corresponding to the AR resource identifier cached locally and, when the AR resource version information does not match, determining that the identifier information of the AR resource to be loaded is the identifier information of the target AR resource.

예를 들면, 임의의 하나의 로딩할 AR 리소스의 식별자 정보에 대해, 로컬에 캐싱된 AR 리소스에 대응되는 AR 리소스 식별자에 상기 로딩할 AR 리소스의 식별자 정보에 포함된 AR 리소스 식별자가 존재하지 않을 경우, 상기 로딩할 AR 리소스가 로컬에 캐싱되지 않음이 결정되어, 상기 로딩할 AR 리소스의 식별자 정보를 타깃 AR 리소스의 식별자 정보로 결정할 수 있다. 또는, 로컬에 캐싱된 AR 리소스에 대응되는 AR 리소스 식별자에 상기 로딩할 AR 리소스의 식별자 정보에 포함된 AR 리소스 식별자가 존재하지만, 로컬에 캐싱된 상기 AR 리소스 식별자에 대응되는 AR 리소스 버전 정보가 로딩할 AR 리소스의 식별자 정보에 포함된 AR 리소스 버전 정보와 일치하지 않을 경우, 상기 로딩할 AR 리소스가 버전 업데이트를 수행하였음을 결정할 수 있으므로, 상기 로딩할 AR 리소스의 식별자 정보를 타깃 AR 리소스의 식별자 정보로 결정할 수 있다.For example, when there is no AR resource identifier included in the identifier information of the AR resource to be loaded in the AR resource identifier corresponding to the locally cached AR resource for any one AR resource identifier information to be loaded , it is determined that the AR resource to be loaded is not cached locally, so that the identifier information of the AR resource to be loaded may be determined as the identifier information of the target AR resource. Alternatively, although the AR resource identifier included in the identifier information of the AR resource to be loaded exists in the AR resource identifier corresponding to the locally cached AR resource, AR resource version information corresponding to the locally cached AR resource identifier is loaded When the AR resource version information included in the identifier information of the AR resource to be loaded does not match, it can be determined that the version update has been performed on the AR resource to be loaded, so that the identifier information of the AR resource to be loaded is combined with the identifier information of the target AR resource. can be decided with

타깃 AR 리소스가 결정된 후, 제1 전자 기기는 타깃 AR 리소스의 식별자 정보에 따라 제2 전자 기기에 AR 리소스 획득 요청을 송신할 수 있다. 제2 전자 기기는 상기 AR 리소스 획득 요청을 수신한 후, 타깃 AR 리소스의 식별자 정보에 따라 대응되는 타깃 AR 리소스를 획득하고, 제1 전자 기기에 타깃 AR 리소스를 송신할 수 있다.After the target AR resource is determined, the first electronic device may transmit an AR resource acquisition request to the second electronic device according to the identifier information of the target AR resource. After receiving the AR resource acquisition request, the second electronic device may acquire a corresponding target AR resource according to identifier information of the target AR resource, and transmit the target AR resource to the first electronic device.

제1 전자 기기는 제2 전자 기기에 의해 송신된 타깃 AR 리소스를 수신하고, 제1 전자 기기의 디스플레이 인터페이스에서 상기 타깃 AR 리소스를 표시할 수 있다. 설명해야 할 것은, 제1 전자 기기가 타깃 AR 리소스의 상이한 버전을 캐싱하였을 경우, 캐싱된 이력 버전을 삭제하고, 제2 전자 기기에 의해 송신된 타깃 AR 리소스를 캐싱할 수 있다. 예를 들어, AR 리소스가 AR 광고판 1이고, 로컬에 캐싱된 버전이 1.0 버전이며, 제2 전자 기기에 의해 송신된 버전이 2.0 버전이면, 로컬에 캐싱된 1.0 버전의 AR 광고판 1을 삭제하고, 제2 전자 기기에 의해 송신된 2.0 버전의 AR 광고판 1을 캐싱할 수 있다.The first electronic device may receive the target AR resource transmitted by the second electronic device, and may display the target AR resource on a display interface of the first electronic device. It should be explained that when the first electronic device caches a different version of the target AR resource, the cached historical version may be deleted, and the target AR resource transmitted by the second electronic device may be cached. For example, if the AR resource is AR billboard 1, the locally cached version is version 1.0, and the version sent by the second electronic device is version 2.0, delete the locally cached version 1.0 version of AR billboard 1, AR billboard 1 of version 2.0 sent by the second electronic device may be cached.

이렇게, 제1 전자 기기의 위치 정보에 따라 점진적으로 AR 리소스를 로딩할 수 있어, AR 응용 프로그램의 설치팩이 간편하도록 할 수 있고, AR 리소스를 로딩하는 과정에서 로딩 정확도 및 효율을 향상시킬 수 있다.In this way, it is possible to gradually load the AR resource according to the location information of the first electronic device, so that the installation pack of the AR application can be simplified, and the loading accuracy and efficiency can be improved in the process of loading the AR resource .

일 가능한 구현 형태에서, 상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스를 수신하고, 상기 로딩할 AR 리소스를 상응하게 표시하는 단계는,In one possible implementation form, receiving the AR resource to be loaded transmitted by the second electronic device, and correspondingly indicating the AR resource to be loaded, includes:

상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스를 수신하는 단계;receiving the AR resource to be loaded sent by the second electronic device;

상기 로딩할 AR 리소스에서 타깃 AR 리소스를 결정하는 단계; 및determining a target AR resource from the AR resource to be loaded; and

상기 타깃 AR 리소스를 표시하는 단계를 포함할 수 있다.and displaying the target AR resource.

예를 들면, 제2 전자 기기는 로딩할 AR 리소스를 제1 전자 기기에 송신할 수 있고, 제1 전자 기기는 로딩할 AR 리소스를 수신한 후, 로딩할 AR 리소스에서 타깃 AR 리소스를 결정하고, 타깃 AR 리소스를 로딩하여 표시할 수 있으며, 여기서, 타깃 AR 리소스를 결정하는 방식은 전술한 실시예를 참조할 있고, 본 발명의 실시예는 여기서 더이상 설명하지 않는다.For example, the second electronic device may transmit an AR resource to be loaded to the first electronic device, and the first electronic device may receive the AR resource to be loaded and then determine a target AR resource from the AR resource to be loaded; The target AR resource may be loaded and displayed, where the method for determining the target AR resource may refer to the above-described embodiment, and the embodiment of the present invention will not be described herein any further.

일 가능한 구현 형태에서, 하기 임의의 하나의 상황에 응답하여, 상기 제2 전자 기기에 포지셔닝 정보를 송신하는 단계는,In one possible implementation form, in response to any one of the following circumstances, sending the positioning information to the second electronic device comprises:

시간 주기 내에서, 제1 전자 기기가 이동한 거리가 거리 임계값보다 클 경우, 상기 제2 전자 기기에 포지셔닝 정보를 송신하는 단계;transmitting positioning information to the second electronic device when the distance traveled by the first electronic device within a time period is greater than a distance threshold;

시간 주기 내에서, 상기 제1 전자 기기의 실시간 위치 정보가 포지셔닝 영역 밖에 위치할 경우, 상기 제2 전자 기기에 상기 포지셔닝 정보를 송신하는 단계;transmitting the positioning information to the second electronic device when the real-time location information of the first electronic device is located outside a positioning area within a time period;

또는, 이전 시간 주기가 종료되어, 새로운 시간 주기를 시작할 경우, 상기 제2 전자 기기에 포지셔닝 정보를 송신하는 단계를 포함할 수 있고, 상기 포지셔닝 영역은 상기 시간 주기 초기 시각에 상기 제1 전자 기기에 대응되는 위치 정보를 중심으로 하는 영역이다.Alternatively, when the previous time period ends and a new time period starts, the method may include transmitting positioning information to the second electronic device, wherein the positioning area is transmitted to the first electronic device at an initial time of the time period. It is an area centered on the corresponding location information.

예를 들면, 제1 전자 기기는 하나의 시간 주기 T마다 제2 전자 기기에 포지셔닝 정보를 1번 송신할 수 있고, 상기 시간 주기 T는 미리 설정될 수 있으며, 제1 전자 기기의 이동 속도에 따라 결정될 수도 있는 바, 예를 들어, 제1 전자 기기의 이동 속도가 빠를 경우, 짧은 시간 주기 T를 상응하게 설정할 수 있고, 제2 전자 기기가 이동하는 속도가 느릴 경우, 큰 시간 주기 T를 상응하게 설정할 수 있다. 또는 시간 주기 내에 있을 경우, 시간 주기 초기 시각에 제1 전자 기기에 대응되는 위치 정보를 중심으로 하여, 하나의 포지셔닝 영역을 사전 설정할 수 있고, 제1 전자 기기의 실시간 위치가 포지셔닝 영역 밖에 위치할 경우, 제2 전자 기기에 포지셔닝 정보를 송신하여, 제2 전자 기기와의 인터랙션 프로세스를 줄이고, 리소스 이용률을 향상시킨다.For example, the first electronic device may transmit the positioning information to the second electronic device once every one time period T, the time period T may be preset, and according to the moving speed of the first electronic device It may be determined that, for example, when the moving speed of the first electronic device is fast, a short time period T may be set correspondingly, and when the moving speed of the second electronic device is slow, a large time period T may be set correspondingly. can be set. Alternatively, if it is within the time period, one positioning area may be preset with the position information corresponding to the first electronic device as the center at the initial time of the time period, and when the real-time location of the first electronic device is located outside the positioning area , to transmit the positioning information to the second electronic device, reducing the interaction process with the second electronic device, and improving the resource utilization rate.

도 3은 본 발명의 실시예에 따른 리소스 로딩 방법의 흐름도를 도시하고, 상기 리소스 로딩 방법은 클라우드 서버(이하, 제2 전자 기기라고 함)에 응용되어 수행될 수 있으며, 도 3을 참조하면, 본 발명의 실시예에서 제공되는 리소스 로딩 방법은 하기와 같은 단계를 포함할 수 있다.3 is a flowchart illustrating a resource loading method according to an embodiment of the present invention, and the resource loading method may be applied and performed to a cloud server (hereinafter referred to as a second electronic device), and referring to FIG. 3 , The resource loading method provided in the embodiment of the present invention may include the following steps.

단계 S31에서, 제1 전자 기기에 의해 송신된 포지셔닝 정보를 수신한다.In step S31, the positioning information transmitted by the first electronic device is received.

단계 S32에서, 상기 포지셔닝 정보에 따라 상기 제1 전자 기기의 위치 정보를 결정한다.In step S32, location information of the first electronic device is determined according to the positioning information.

단계 S33에서, 상기 제1 전자 기기의 위치 정보에 따라, 증강 현실(AR) 리소스에서 로딩할 AR 리소스를 결정한다.In step S33, an AR resource to be loaded from an augmented reality (AR) resource is determined according to the location information of the first electronic device.

단계 S34에서, 상기 제1 전자 기기에 상기 로딩할 AR 리소스를 송신하고, 상기 로딩할 AR 리소스는 상기 제1 전자 기기에서 표시된다.In step S34, the AR resource to be loaded is transmitted to the first electronic device, and the AR resource to be loaded is displayed on the first electronic device.

예를 들면, 제1 전자 기기는 포지셔닝 동작을 수행하고, 제1 전자 기기의 위치 정보가 획득된 후, 제2 전자 기기에 포지셔닝 정보를 송신할 수 있으며, 상기 포지셔닝 정보에는 제1 전자 기기의 위치 정보가 포함될 수 있다. 제2 전자 기기는 포지셔닝 정보를 수신한 후, 포지셔닝 정보에서 제1 전자 기기의 위치 정보를 획득할 수 있다.For example, the first electronic device may perform a positioning operation, and after obtaining the location information of the first electronic device, may transmit the positioning information to the second electronic device, wherein the positioning information includes the location of the first electronic device Information may be included. After receiving the positioning information, the second electronic device may acquire location information of the first electronic device from the positioning information.

또는, 일 가능한 구현 형태에서, 상기 포지셔닝 정보에는 상기 제1 전자 기기가 위치한 환경 이미지가 포함되고, 상기 포지셔닝 정보에 따라 상기 제1 전자 기기의 위치 정보를 결정하는 단계는,Alternatively, in one possible implementation form, the positioning information includes an environment image in which the first electronic device is located, and determining the location information of the first electronic device according to the positioning information includes:

제1 전자 기기가 위치한 환경 이미지에 따라 상기 제1 전자 기기에 대해 비주얼 포지셔닝을 수행하여, 상기 제1 전자 기기의 위치 정보를 획득하는 단계를 포함할 수 있다.The method may include performing visual positioning of the first electronic device according to an environment image in which the first electronic device is located, thereby obtaining location information of the first electronic device.

예를 들면, 제1 전자 기기는 제2 전자 기기에 제1 전자 기기가 위치한 환경 이미지의 포지셔닝 정보를 송신할 수 있다(구체적인 과정은 전술한 실시예를 참조할 수 있으며, 본 발명의 실시예는 이에 대해 중복 설명하지 않는다). 제2 전자 기기는 포지셔닝 요청을 수신한 후, 환경 이미지, 및 공간에 대해 재구성을 미리 수행하여 획득한 3차원 모델에 따라, 제1 전자 기기에 대해 비주얼 포지셔닝을 수행하여, 제1 전자 기기의 위치 정보를 획득하고, 본 발명의 실시예에서는 비주얼 포지셔닝에 대한 구체적인 과정을 한정하지 않으며, 임의의 하나의 비주얼 포지셔닝 방식이기만 하면 된다.For example, the first electronic device may transmit positioning information of an environment image in which the first electronic device is located to the second electronic device (specific procedures may refer to the above-described embodiment, and the embodiment of the present invention is This will not be duplicated). After receiving the positioning request, the second electronic device performs visual positioning on the first electronic device according to the three-dimensional model obtained by performing reconstruction on the environment image and the space in advance to position the first electronic device Information is obtained, and the specific process for visual positioning is not limited in the embodiment of the present invention, and any one visual positioning method is sufficient.

제2 전자 기기가 제1 전자 기기의 위치 정보를 획득한 후, 제2 전자 기기는 제1 전자 기기의 위치 정보 및 각 AR 리소스의 위치 정보에 따라, AR 리소스에서 로딩할 AR 리소스를 결정할 수 있다. 일부 실시예에서, 제2 전자 기기는 위치 정보와 제1 전자 기기의 위치 정보가 로딩 조건을 만족하는 AR 리소스가 로딩할 AR 리소스임을 결정할 수 있다. 예를 들어, AR 리소스의 위치 정보와 제1 전자 기기의 위치 정보 사이의 거리가 거리 임계값 내에 있을 경우, 로딩 조건을 만족함을 결정하고, 상기 AR 리소스를 로딩할 AR 리소스로 결정할 수 있거나, 또는, 제1 전자 기기의 위치 정보에 따라 하나의 로딩할 범위(예를 들어, 제1 전자 기기의 위치 정보를 중심으로 하여 하나의 영역을 결정하고, 해당 영역이 로딩할 범위임)를 결정할 수 있고, AR 리소스의 위치 정보가 상기 로딩할 범위 내에 위치할 경우, 상기 AR 리소스가 로딩할 AR 리소스임을 결정할 수 있다.After the second electronic device obtains the location information of the first electronic device, the second electronic device may determine an AR resource to be loaded from the AR resource according to the location information of the first electronic device and the location information of each AR resource . In some embodiments, the second electronic device may determine that an AR resource in which the location information and the location information of the first electronic device satisfy a loading condition is an AR resource to be loaded. For example, when the distance between the location information of the AR resource and the location information of the first electronic device is within a distance threshold, it may be determined that a loading condition is satisfied, and the AR resource may be determined as the AR resource to be loaded, or , it is possible to determine one range to load according to the location information of the first electronic device (for example, one area is determined based on the location information of the first electronic device, and the corresponding area is a range to be loaded), , when the location information of the AR resource is located within the loading range, it may be determined that the AR resource is the AR resource to be loaded.

제2 전자 기기는 로딩할 AR 리소스를 결정한 후, 로딩할 AR 리소스를 획득하고 로딩할 AR 리소스를 제1 전자 기기에 송신하여, 제1 전자 기기로 하여금 AR 리소스의 캐싱 상황에 따라 로딩할 AR 리소스를 로딩하여 표시하도록 할 수 있다. 예를 들어, 제1 전자 기기에 상기 로딩할 AR 리소스가 캐싱되지 않거나 또는 캐싱된 로딩할 AR 리소스의 AR 리소스 버전 정보와 상기 로딩할 AR 리소스의 AR 리소스 버전 정보가 일치하지 않을 경우, 상기 로딩할 AR 리소스를 로딩하여 표시한다.After determining the AR resource to be loaded, the second electronic device acquires the AR resource to be loaded, and transmits the AR resource to be loaded to the first electronic device, causing the first electronic device to load the AR resource according to the caching situation of the AR resource. can be loaded and displayed. For example, if the AR resource to be loaded is not cached in the first electronic device, or the cached AR resource version information of the AR resource to be loaded does not match the AR resource version information of the AR resource to be loaded, the Loads and displays AR resources.

이렇게, 제2 전자 기기는 상기 제1 전자 기기에 의해 송신된 포지셔닝 정보를 수신하고, 상기 포지셔닝 정보에 따라 상기 제1 전자 기기의 위치 정보를 결정할 수 있다. 제2 전자 기기는 상기 제1 전자 기기의 위치 정보에 따라, 증강 현실(AR) 리소스에서 로딩할 AR 리소스를 결정하고, 상기 제1 전자 기기에 상기 로딩할 AR 리소스를 송신하여, 상기 제1 전자 기기로 하여금 상기 로딩할 AR 리소스를 상응하게 표시하도록 할 수 있다. 본 발명의 실시예에서 제공되는 리소스 로딩 방법에 따르면, 제1 전자 기기의 위치 정보에 따라 점진적으로 AR 리소스를 로딩할 수 있어, AR 응용 프로그램 다운로드시 모든 AR 리소스를 패킹하여 다운로드함으로 인한 AR 응용 프로그램의 설치팩이 너무 큰 문제를 완화하여, AR 응용 프로그램의 설치팩이 간편하도록 하고, 사용자 사용에 영향을 주지 않으면서 AR 응용 프로그램의 다운로드 설치 효율을 향상시킨다.In this way, the second electronic device may receive the positioning information transmitted by the first electronic device, and determine the location information of the first electronic device according to the positioning information. The second electronic device determines an AR resource to be loaded from an augmented reality (AR) resource according to the location information of the first electronic device, and transmits the AR resource to be loaded to the first electronic device, so that the first electronic device and cause the device to correspondingly indicate the AR resource to be loaded. According to the resource loading method provided in the embodiment of the present invention, AR resources can be gradually loaded according to the location information of the first electronic device, so that when downloading the AR application, all AR resources are packed and downloaded. 's installation pack alleviates the problem that is too large, making the installation pack of AR applications simple, and improving the download and installation efficiency of AR applications without affecting user use.

일 가능한 구현 형태에서, 상기 제1 전자 기기에 상기 로딩할 AR 리소스를 송신하는 단계는,In one possible implementation form, transmitting the AR resource to be loaded to the first electronic device includes:

상기 제1 전자 기기에 상기 로딩할 AR 리소스의 식별자 정보를 송신하는 단계 - 상기 로딩할 AR 리소스의 식별자 정보는 상기 제1 전자 기기로 하여금 상기 로딩할 AR 리소스의 식별자 정보에서 타깃 AR 리소스의 식별자 정보를 결정하도록 함 - ;transmitting identifier information of the AR resource to be loaded to the first electronic device, wherein the identifier information of the AR resource to be loaded causes the first electronic device to include identifier information of the target AR resource in the identifier information of the AR resource to be loaded - to be determined;

상기 제1 전자 기기에 의해 송신된 AR 리소스 획득 요청을 수신하는 단계 - 상기 AR 리소스 획득 요청에는 상기 타깃 AR 리소스의 식별자 정보가 반송됨 - ; 및receiving an AR resource acquisition request sent by the first electronic device, wherein identifier information of the target AR resource is returned in the AR resource acquisition request; and

상기 AR 리소스 획득 요청에 응답하여, 상기 타깃 AR 리소스의 식별자 정보에 대응되는 타깃 AR 리소스를 획득하고, 상기 제1 전자 기기에 상기 타깃 AR 리소스를 송신하는 단계를 포함할 수 있고, 상기 타깃 AR 리소스는 상기 제1 전자 기기에서 표시된다.In response to the AR resource acquisition request, acquiring a target AR resource corresponding to the identifier information of the target AR resource, and transmitting the target AR resource to the first electronic device, the target AR resource is displayed on the first electronic device.

예를 들면, 제2 전자 기기는 로딩할 AR 리소스가 결정된 후, 로딩할 AR 리소스의 식별자 정보를 획득하고, 로딩할 AR 리소스의 식별자 정보를 제1 전자 기기에 송신할 수 있다. 제1 전자 기기는 로컬에 캐싱된 AR 리소스의 상황에 따라, 로딩할 AR 리소스의 식별자 정보에서 타깃 AR 리소스의 식별자 정보를 결정할 수 있다(구체적인 과정은 전술한 실시예를 참조할 수 있으며, 본 발명의 실시예는 이에 대해 중복 설명하지 않는다).For example, after the AR resource to be loaded is determined, the second electronic device may acquire identifier information of the AR resource to be loaded and transmit the identifier information of the AR resource to be loaded to the first electronic device. The first electronic device may determine the identifier information of the target AR resource from the identifier information of the AR resource to be loaded according to the status of the locally cached AR resource (specific procedures may refer to the above-described embodiment, and the present invention of the embodiment will not be described in duplicate).

제1 전자 기기는 타깃 AR 리소스의 식별자 정보가 결정된 후, 제2 전자 기기에 타깃 AR 리소스의 식별자 정보가 포함되는 AR 리소스 획득 요청을 송신할 수 있다. 제2 전자 기기가 상기 AR 리소스 획득 요청을 수신한 후, 타깃 AR 리소스의 식별자 정보에 따라 대응되는 타깃 AR 리소스를 획득하고, 타깃 AR 리소스를 제1 전자 기기에 송신하여 캐싱 및 표시할 수 있다. 이렇게, 제1 전자 기기의 위치 정보에 따라 점진적으로 AR 리소스를 로딩할 수 있어, AR 응용 프로그램의 설치팩이 간편하도록 할 수 있고, AR 리소스를 로딩하는 과정에서 로딩 정확도 및 효율을 향상시킬 수 있다.After the identifier information of the target AR resource is determined, the first electronic device may transmit an AR resource acquisition request including the identifier information of the target AR resource to the second electronic device. After receiving the AR resource acquisition request, the second electronic device may acquire a corresponding target AR resource according to identifier information of the target AR resource, and transmit the target AR resource to the first electronic device for caching and display. In this way, it is possible to gradually load the AR resource according to the location information of the first electronic device, so that the installation pack of the AR application can be simplified, and the loading accuracy and efficiency can be improved in the process of loading the AR resource .

일 가능한 구현 형태에서, 상기 제1 전자 기기의 위치 정보에 따라, 증강 현실(AR) 리소스에서 로딩할 AR 리소스를 결정하는 단계는,In one possible implementation form, the determining of an AR resource to be loaded from an augmented reality (AR) resource according to the location information of the first electronic device includes:

상기 제1 전자 기기의 위치 정보에 따라 로딩할 범위를 결정하는 단계; 및determining a range to be loaded according to the location information of the first electronic device; and

임의의 하나의 AR 리소스에 대해, 상기 AR 리소스에 대응되는 위치 정보가 상기 로딩할 범위 내에 위치할 경우, 상기 AR 리소스가 로딩할 AR 리소스임을 결정하는 단계를 포함할 수 있다.The method may include determining that the AR resource is an AR resource to be loaded when the location information corresponding to the AR resource is located within the loading range for any one AR resource.

예를 들면, 제1 전자 기기의 위치 정보를 기준점으로 하여, 하나의 로딩할 범위를 결정할 수 있다. 예를 들어, 제1 전자 기기의 위치 정보를 중심점으로 하여, 하나의 원형, 직사각형 또는 다각형의 영역을 결정하고, 상기 영역이 바로 로딩할 범위이며, 상기 영역의 크기는 사전 설정될 수 있고, 동적으로 결정될 수도 있으며, 본 발명의 실시예는 이에 대해 구체적으로 제한하지 않는다.For example, by using the location information of the first electronic device as a reference point, one loading range may be determined. For example, using the location information of the first electronic device as a central point, one circular, rectangular, or polygonal area is determined, the area is a range to be loaded immediately, and the size of the area may be preset and dynamic may be determined, and the embodiment of the present invention is not specifically limited thereto.

제2 전자 기기는 위치 정보가 상기 로딩할 범위 내에 위치하는 AR 리소스를 로딩할 AR 리소스로 결정할 수 있다. 예를 들면, 도 4를 참조하면, 제1 전자 기기의 위치 정보 P0을 중심점으로 하여, 하나의 원형 영역을 로딩할 범위로 결정할 수 있고, 상기 로딩할 범위 내에 위치하는 AR 리소스 1, AR 리소스 2 및 AR 리소스 3을 타깃 AR 리소스로 결정할 수 있다.The second electronic device may determine, as the AR resource to be loaded, an AR resource located within the range in which the location information is to be loaded. For example, referring to FIG. 4 , with the location information P0 of the first electronic device as a central point, one circular area may be determined as a loading range, and AR resource 1 and AR resource 2 located within the loading range. and AR resource 3 as the target AR resource.

일 가능한 구현 형태에서, 상기 제1 전자 기기의 위치 정보에 따라 로딩할 범위를 결정하는 단계는,In one possible implementation form, the step of determining the range to be loaded according to the location information of the first electronic device includes:

범위 구축 데이터를 결정하는 단계; 및determining range building data; and

상기 제1 전자 기기의 위치 정보 및 상기 범위 구축 데이터에 따라, 로딩할 범위를 결정하는 단계를 포함할 수 있다.The method may include determining a range to be loaded according to the location information of the first electronic device and the range establishment data.

예를 들면, 상기 범위 구축 데이터는 로딩할 범위의 면적을 한정하는 파라미터일 수 있다. 예를 들어, 로딩할 범위가 원형 영역일 경우, 상기 범위 구축 데이터는 상기 원형 영역의 반경일 수 있고, 로딩할 범위가 직사각형일 경우, 상기 범위 구축 데이터는 상기 직사각형 영역의 길이 및 너비 등 2개의 데이터를 포함할 수 있다. 상기 범위 구축 데이터의 크기는 미리 설정될 수 있거나, 또는 로딩 수요에 따라 결정될 수도 있는 바, 예를 들어, 빠른 로딩 속도가 필요할 경우, 범위 구축 데이터는 작게 설정될 수 있다.For example, the range construction data may be a parameter defining an area of a range to be loaded. For example, when the range to be loaded is a circular region, the range construction data may be a radius of the circular region. When the range to be loaded is a rectangle, the range construction data includes two pieces of the length and width of the rectangular region. It may contain data. The size of the range establishment data may be preset, or may be determined according to a loading demand. For example, when a fast loading speed is required, the range establishment data may be set small.

범위 구축 데이터 및 제1 전자 기기의 위치 정보에 따라, 로딩할 범위를 결정할 수 있다. 예를 들어, 로딩할 범위가 원형 영역일 경우, 제1 전자 기기의 위치 P0을 원심으로 하고, 범위 구축 데이터를 반경으로 하여 하나의 원형 영역을 구축하여, 로딩할 범위를 획득할 수 있다. 또는, 로딩할 범위가 직사각형일 경우, 제1 전자 기기의 위치 P0을 중심으로 하고, 범위 구축 데이터를 길이 및 너비로 하여 하나의 직사각형 영역을 구축하여, 로딩할 범위를 획득할 수 있다.A range to be loaded may be determined according to the range establishment data and the location information of the first electronic device. For example, when the range to be loaded is a circular area, one circular area may be constructed using the position P0 of the first electronic device as a centrifugal point and the range establishment data as a radius to obtain a range to be loaded. Alternatively, when the range to be loaded is a rectangle, the range to be loaded may be obtained by constructing one rectangular area centered on the position P0 of the first electronic device and using the range construction data as the length and width.

설명해야 할 것은, 상기 로딩할 범위가 원형 영역 또는 직사각형 영역인 것은 본 발명의 실시예의 로딩할 범위의 일 예시이며, 로딩할 범위는 실제로 임의의 형상을 나타낼 수 있고, 본 발명의 실시예는 로딩할 범위의 형상에 대해 어떠한 제한도 하지 않는다.It should be explained, that the range to be loaded is an example of the range to be loaded in the embodiment of the present invention that the range to be loaded is a circular region or a rectangular region, and the range to be loaded may actually represent any shape, and the embodiment of the present invention is a loading range There are no restrictions on the shape of the range to be performed.

일 가능한 구현 형태에서, 상기 포지셔닝 요청에는 상기 제1 전자 기기의 네트워크 신호 품질 및 상기 제1 전자 기기의 이동 속도 중 적어도 하나가 더 포함될 수 있고, 상기 범위 구축 데이터를 결정하는 단계는,In one possible implementation form, the positioning request may further include at least one of a network signal quality of the first electronic device and a moving speed of the first electronic device, and the determining of the range establishment data includes:

상기 네트워크 신호 품질에 따라, 상기 네트워크 신호 품질과 서로 대응되는 범위 구축 데이터를 결정하는 단계; 및/또는,determining, according to the network signal quality, range construction data corresponding to the network signal quality; and/or;

상기 이동 속도에 따라, 상기 이동 속도와 서로 대응되는 범위 구축 데이터를 결정하는 단계를 포함할 수 있다.The method may include determining, according to the moving speed, range construction data corresponding to the moving speed.

예를 들면, 제1 전자 기기는 포지셔닝 정보를 송신할 경우, 제1 전자 기기의 네트워크 신호 품질을 검출하고 및/또는 제1 전자 기기의 이동 속도(속도, 가속도 등 데이터를 포함할 수 있음)를 결정하며, 포지셔닝 정보를 통해 제1 전자 기기의 네트워크 신호 품질 및/또는 제1 전자 기기의 이동 속도를 제2 전자 기기에 송신할 수 있다.For example, when the first electronic device transmits the positioning information, it detects the network signal quality of the first electronic device and/or determines the moving speed (which may include data such as speed, acceleration, etc.) of the first electronic device and may transmit the network signal quality of the first electronic device and/or the moving speed of the first electronic device to the second electronic device through the positioning information.

일부 실시예에서, 네트워크 신호 품질을 여러 등급으로 분할할 수 있고, 예를 들어, 우수, 양호, 불량 등 등급으로 나누며(본 발명의 실시예에서는 네트워크 신호 품질의 등급 분할 방식 및 등급 분할 레벨을 제한하지 않음), 여기서, 네트워크 신호 품질이 우수일 경우, 대응되는 범위 구축 데이터는 제1 범위 구축 데이터이고, 네트워크 신호 품질이 양호일 경우, 대응되는 범위 구축 데이터는 제2 범위 구축 데이터이며, 네트워크 신호 품질이 불량일 경우, 대응되는 범위 구축 데이터는 제3 범위 구축 데이터이고, 제1 범위 구축 데이터는 제2 범위 구축 데이터보다 크며, 제2 범위 구축 데이터는 제3 범위 구축 데이터보다 크다.In some embodiments, the network signal quality may be divided into several grades, for example, good, good, bad, etc. (embodiment of the present invention limits the grade division method and grade division level of the network signal quality) not), where, when the network signal quality is excellent, the corresponding range establishment data is the first range establishment data, and when the network signal quality is good, the corresponding range establishment data is the second range establishment data, and the network signal quality is good. In the case of this failure, the corresponding range building data is third range building data, the first range building data is greater than the second range building data, and the second range building data is greater than the third range building data.

제2 전자 기기는 제1 전자 기기의 네트워크 신호 품질에 따라, 네트워크 신호 품질에 서로 대응되는 범위 구축 데이터를 결정하여, 네트워크 신호 품질이 양호할 경우 더 큰 범위 구축 데이터를 설정할 수 있도록 하고, 나아가 로딩할 범위를 확대하여, 제1 전자 기기로 하여금 일부 AR 리소스를 더 많이 로딩하도록 하며, 네트워크 신호 품질이 불량일 경우 더 작은 범위 구축 데이터를 설정하고, 나아가 로딩할 범위를 축소하여, 일부 AR 리소스를 더 적게 로딩하도록 할 수 있다. 이렇게, 제1 전자 기기로 하여금 네트워크 신호 품질에 따라 AR 리소스의 로딩을 적응적으로 수행하도록 할 수 있어, 더 나은 사용자 경험을 제공할 수 있다.The second electronic device determines, according to the network signal quality of the first electronic device, range establishment data corresponding to the network signal quality, so that larger range establishment data can be set when the network signal quality is good, and furthermore, the loading Increase the range to be performed, causing the first electronic device to load more of some AR resources, set smaller range construction data when the network signal quality is poor, and further reduce the range to be loaded, to save some AR resources You can make it load less. In this way, the first electronic device can adaptively perform the loading of the AR resource according to the network signal quality, thereby providing a better user experience.

일부 실시예에서, 이동 속도를 여러 속도 범위로 분할할 수도 있는바, 예를 들어, 0 ~ 1m/s를 제1 속도 범위로, 1m/s ~ 2m/s를 제2 속도 범위(1m/s 제외)로, 2m/s보다 큰 속도를 제3 속도 범위로 분할하며, 여기서, 제1 속도 범위는 제4 범위 구축 데이터에 대응되고, 제2 속도 범위는 제5 범위 구축 데이터에 대응되며, 제3 속도 범위는 제6 범위 구축 데이터에 대응되고, 제4 범위 구축 데이터는 제5 범위 구축 데이터보다 작으며, 제5 범위 구축 데이터는 제6 범위 구축 데이터보다 작다.In some embodiments, it is also possible to divide the movement speed into several speed ranges, for example, 0-1 m/s into a first speed range and 1 m/s-2 m/s into a second speed range (1 m/s). ), dividing a speed greater than 2 m/s into a third speed range, wherein the first speed range corresponds to the fourth range build data, the second speed range corresponds to the fifth range build data, and 3 speed ranges correspond to the sixth range building data, the fourth range building data is smaller than the fifth range building data, and the fifth range building data is smaller than the sixth range building data.

제2 전자 기기는 제1 전자 기기의 이동 속도에 따라, 이동 속도에 대응되는 범위 구축 데이터를 결정할 수 있고, 예를 들어, 제1 전자 기기의 이동 속도가 제1 속도 범위 내에 있을 경우, 범위 구축 데이터가 제4 범위 구축 데이터임을 결정할 수 있다. 이렇게, 제1 전자 기기의 이동 속도에 따라 범위 구축 데이터를 동적으로 결정하여, 제1 전자 기기 이동 속도가 빠를 경우 더 큰 범위 구축 데이터를 설정하고, 나아가 로딩할 범위를 확대하여, 제1 전자 기기로 하여금 일부 AR 리소스를 더 많이 로딩하도록 하며, 제1 전자 기기 이동 속도가 느릴 경우 더 작은 범위 구축 데이터를 설정하고, 나아가 로딩할 범위를 축소하여, 제1 전자 기기로 하여금 일부 AR 리소스를 더 적게 로딩하도록 할 수 있다. 이렇게, AR 리소스의 로딩 과정이 제1 전자 기기의 이동 과정에 적응되도록 할 수 있어, 제1 전자 기기의 빠른 이동 속도로 인해 제1 전자 기기가 위치한 AR 리소스가 제1 전자 기기에 아직 로딩되지 않은 문제를 완화하여, 더 나은 사용자 경험을 제공할 수 있다.The second electronic device may determine range establishment data corresponding to the movement speed according to the movement speed of the first electronic device. For example, when the movement speed of the first electronic device is within the first speed range, range establishment It may be determined that the data is fourth range building data. In this way, the range establishment data is dynamically determined according to the moving speed of the first electronic device, and when the moving speed of the first electronic device is fast, larger range establishment data is set, and the range to be loaded is expanded further, and the first electronic device to load more of some AR resources, and when the moving speed of the first electronic device is slow, set smaller range construction data, and further reduce the range to be loaded, so that the first electronic device uses some AR resources less can be loaded. In this way, the loading process of the AR resource can be adapted to the moving process of the first electronic device, so that the AR resource in which the first electronic device is located is not yet loaded in the first electronic device due to the fast moving speed of the first electronic device. By mitigating the problem, a better user experience can be provided.

일 가능한 구현 형태에서, 상기 제1 전자 기기의 위치 정보 및 상기 범위 구축 데이터에 따라, 로딩할 범위를 결정하는 단계는,In one possible implementation form, the determining of a range to be loaded according to the location information of the first electronic device and the range establishment data includes:

상기 제1 전자 기기의 위치 정보 및 상기 범위 구축 데이터에 따라, 초기 로딩할 범위를 결정하는 단계;determining a range to initially load according to the location information of the first electronic device and the range establishment data;

위치 정보가 상기 초기 로딩할 범위 내에 위치하는 AR 리소스의 수량을 결정하는 단계;determining the quantity of AR resources located within the range where the location information is to be initially loaded;

상기 AR 리소스의 수량에 따라 상기 범위 구축 데이터를 조정하여, 조정된 범위 구축 데이터를 획득하는 단계; 및adjusting the range building data according to the quantity of the AR resource to obtain adjusted range building data; and

상기 조정된 범위 구축 데이터 및 상기 제1 전자 기기의 위치 정보에 따라, 로딩할 범위를 결정하는하는 단계를 포함할 수 있다.The method may include determining a range to be loaded according to the adjusted range establishment data and the location information of the first electronic device.

예를 들면, 제2 전자 기기는 범위 구축 데이터를 결정한 후, 범위 구축 데이터 및 제1 전자 기기의 위치 정보에 따라, 하나의 초기 로딩할 범위를 결정할 수 있고, 예를 들어, 제1 전자 기기의 위치 정보를 원심으로 하고, 범위 구축 데이터를 반경으로 하여, 하나의 원형의 초기 로딩할 범위를 구축할 수 있다. 상기 초기 로딩할 범위 냐에 위치하는 AR 리소스의 수량을 결정하고, 상기 초기 로딩할 범위 내에 위치하는 AR 리소스의 수량이 많을 경우(예를 들어, 제1 임계값보다 클 경우), 미리 설정된 조정 전략에 따라 범위 구축 데이터를 축소하거나, 또는, 상기 초기 로딩할 범위 내에 위치하는 AR 리소스의 수량이 적을 경우(예를 들어, 제2 임계값보다 작을 경우), 미리 설정된 조정 전략에 따라 범위 구축 데이터를 늘일 수 있으며, 조정된 범위 구축 데이터 및 제1 전자 기기의 위치 정보에 따라, 로딩할 범위를 결정할 수 있다(구체적인 과정은 전술한 실시예를 참조할 수 있으며, 본 발명의 실시예는 여기에서 더이상 설명하지 않음). 이렇게, 제2 전자 기기는 로딩할 범위를 동적으로 조정하여, 제1 전자 기기에 의해 로딩된 AR 리소스의 수량을 조정할 수 있어, 로딩 속도를 보장하고, AR 리소스 로딩으로 인한 사용자의 대기 문제를 완화하여, 사용자 경험을 향상시킬 수 있다.For example, after determining the range establishment data, the second electronic device may determine one initially loaded range according to the range establishment data and the location information of the first electronic device, for example, Using the position information as the centrifugal and the range construction data as the radius, it is possible to construct a single circular initial loading range. Determines the quantity of AR resources located in the initial loading range or not, and when the quantity of AR resources located within the initial loading range is large (eg, greater than the first threshold), in a preset adjustment strategy If the number of AR resources located within the range to be initially loaded is small (for example, smaller than the second threshold), the range establishment data may be increased according to a preset adjustment strategy. And, according to the adjusted range establishment data and the location information of the first electronic device, it is possible to determine the range to be loaded (specific procedures may refer to the above-described embodiments, and the embodiments of the present invention are not further described herein) not). In this way, the second electronic device can dynamically adjust the loading range to adjust the quantity of AR resources loaded by the first electronic device, thereby ensuring the loading speed and alleviating the user's waiting problem due to AR resource loading. Thus, the user experience can be improved.

일 가능한 구현 형태에서, 상기 제1 전자 기기의 위치 정보에 따라, 증강 현실(AR) 리소스에서 로딩할 AR 리소스를 결정하는 단계는,In one possible implementation form, the determining of an AR resource to be loaded from an augmented reality (AR) resource according to the location information of the first electronic device includes:

각 AR 리소스의 위치 정보와 상기 제1 전자 기기의 위치 정보 사이의 거리를 결정하는 단계; 및determining a distance between the location information of each AR resource and the location information of the first electronic device; and

거리가 작은 것부터 큰 것으로의 순서에 따라 각 AR 리소스를 정렬한 후, 앞에 위치한 기설정된 수량의 AR 리소스를 로딩할 AR 리소스로 결정하는 단계를 포함할 수 있다.The method may include arranging each AR resource in the order from the smallest distance to the largest, and then determining a preset quantity of AR resources located in front as the AR resources to be loaded.

예를 들면, 각 AR 리소스의 위치 정보와 제1 전자 기기의 위치 정보 사이의 거리를 각각 결정하고, 거리가 작은 것부터 큰 것으로의 순서에 따라 각 AR 리소스를 정렬하며, 서열에서 앞에 위치한 기설정된 수량의 AR 리소스를 로딩할 로딩할 AR 리소스로 결정할 수 있으며(또는, 거리가 큰 것부터 작은 것으로의 순서에 따라 각 AR 리소스를 정렬하고, 서열에서 뒤에 위치한 기설정된 수량의 AR 리소스를 로딩할 AR 리소스로 결정할 수 있음), 상기 기설정된 수량은 미리 설정된 수치일 수 있다. 예를 들어, 기설정된 수량이 5로 설정되면, 서열에서 앞에 위치한 처음 5개의 AR 리소스를 로딩할 AR 리소스로 결정할 수 있다. 이렇게, AR 리소스의 로딩 속도를 보장할 수 있고, 사용자 경험을 향상시킨다.For example, the distance between the location information of each AR resource and the location information of the first electronic device is respectively determined, and each AR resource is arranged according to the order of the distance from smallest to largest, and a predetermined quantity located earlier in the sequence can determine the AR resource of the AR resource to be loaded as the AR resource to be loaded (or arrange each AR resource in the order from largest to smallest, and to load a preset quantity of AR resources located behind in the sequence as AR resources to be loaded) can be determined), the preset quantity may be a preset numerical value. For example, if the preset quantity is set to 5, the first 5 AR resources located in the front in the sequence may be determined as AR resources to be loaded. In this way, the loading speed of AR resources can be guaranteed, and the user experience is improved.

본 기술분야의 통상의 기술자가 본 발명의 실시예를 더욱 잘 이해하도록 하기 위해, 아래에서는 구체적인 예시를 통해 본 발명의 실시예를 설명하기로 한다.In order for those skilled in the art to better understand the embodiments of the present invention, the embodiments of the present invention will be described below by way of specific examples.

도 5를 참조하면, 제1 전자 기기는 현재 위치한 환경 이미지를 수집하고, 환경 이미지에 따라 제2 전자 기기에 포지셔닝 정보를 송신할 수 있다. 제 2 전자 기기는 포지셔닝 정보를 수신한 후, 제1 전자 기기가 위치한 환경 이미지에 따라 비주얼 포지셔닝을 수행하여, 제1 전자 기기의 위치 정보를 획득할 수 있다. 제2 전자 기기는 범위 구축 데이터를 결정하고, 제1 전자 기기의 위치 정보를 중심점으로 하여, 로딩할 범위를 구축할 수 있다. 상기 로딩할 범위 내에 위치하는 모든 AR 리소스의 식별자 정보(AR 리소스 명칭, AR 리소스 버전 정보)를 획득하고, 획득된 AR 리소스의 식별자 정보를 로딩할 AR 리소스의 식별자 정보로 하여 제1 전자 기기에 송신한다.Referring to FIG. 5 , the first electronic device may collect an image of an environment where it is currently located, and may transmit positioning information to the second electronic device according to the image of the environment. After receiving the positioning information, the second electronic device may perform visual positioning according to an environment image in which the first electronic device is located, thereby acquiring location information of the first electronic device. The second electronic device may determine the range establishment data and build a range to be loaded using the location information of the first electronic device as a central point. Obtains identifier information (AR resource name, AR resource version information) of all AR resources located within the loading range, and transmits the obtained identifier information of the AR resource as identifier information of the AR resource to be loaded to the first electronic device do.

제1 전자 기기는 로딩할 AR 리소스의 식별자 정보를 수신한 후, 로컬에 캐싱된 AR 리소스와 비교하고, 로딩할 AR 리소스의 식별자 정보에 의해 식별된 AR 리소스가 로컬에 캐싱되지 않거나, 또는 로컬에 캐싱된 로딩할 AR 리소스의 버전 정보와 로딩할 AR 리소스의 AR 리소스 버전 정보가 일치하지 않을 경우, 상기 로딩할 AR 리소스의 식별자 정보가 타깃 AR 리소스의 식별자 정보임을 결정하고, 타깃 AR 리소스의 식별자 정보에 따라 제2 전자 기기에 리소스 획득요청을 송신할 수 있다.After receiving the identifier information of the AR resource to be loaded, the first electronic device compares it with the locally cached AR resource, and the AR resource identified by the identifier information of the AR resource to be loaded is not cached locally, or When the cached version information of the AR resource to be loaded and the AR resource version information of the AR resource to be loaded do not match, it is determined that the identifier information of the AR resource to be loaded is the identifier information of the target AR resource, and the identifier information of the target AR resource Accordingly, a resource acquisition request may be transmitted to the second electronic device.

제2 전자 기기는 리소스 획득 요청에 따라 타깃 AR 리소스를 획득하고, 타깃 AR 리소스를 제1 전자 기기에 송신한다. 제 1 전자 기기는 타깃 AR 리소스를 수신 및 캐싱하여 표시하며, 시간 주기 T 이후 또는 제1 전자 기기가 이동한 거리가 거리 임계값을 초과할 경우, 상기 프로세스를 다시 반복한다.The second electronic device acquires the target AR resource according to the resource acquisition request, and transmits the target AR resource to the first electronic device. The first electronic device receives, caches and displays the target AR resource, and repeats the process again after the time period T or when the distance traveled by the first electronic device exceeds the distance threshold.

본 발명의 실시예에서 제공되는 리소스 로딩 방법은, 제1 전자 기기의 위치 정보에 따라 대응되는 타깃 AR 리소스를 로딩할 수 있어, AR 응용 프로그램 다운로드시 모든 AR 리소스를 패킹하여 다운로드함으로 인한 AR 응용 프로그램의 설치팩이 너무 큰 문제를 완화한다. 일부 실시예에서, AR 게임 응용 프로그램 또는 AR 네비게이션 응용 프로그램이 개시된 후, 사용자는 모든 AR 리소스가 모두 업데이트 완료될 때까지 기다릴 필요없이 바로 AR 게임 또는 AR 네비게이션을 개시할 수 있고, 게임 또는 네비게이션 과정에서 제1 전자 기기의 위치 정보에 따라 점진적으로 AR 리소스를 로딩하여, 사용자 경험을 향상시킨다.The resource loading method provided in the embodiment of the present invention can load the corresponding target AR resource according to the location information of the first electronic device, so that when downloading the AR application, all AR resources are packed and downloaded. 's install pack alleviates the too big problem. In some embodiments, after the AR game application or AR navigation application is started, the user can immediately start the AR game or AR navigation without waiting for all AR resources to be updated, and in the process of the game or navigation The AR resource is gradually loaded according to the location information of the first electronic device, thereby improving the user experience.

원리 및 논리를 위반하지 않을 경우, 본 발명에서 언급된 상기 각 방법 실시예는 모두 서로 결합되어 결합된 실시예를 형성할 수 있으며, 지면의 제한으로 인해 본 발명은 더이상 설명하지 않음을 이해할 수 있다. 본 기술분야의 통상의 기술자는 구체적인 실시형태의 상기 방법에서, 각 단계의 구체적인 수행 순서는 그 기능과 가능한 내부 논리에 의해 결정되어야 함을 이해할 수 있다.It can be understood that, without violating the principle and logic, the respective method embodiments mentioned in the present invention may all be combined with each other to form a combined embodiment, and the present invention will not be described further due to space limitations. . A person skilled in the art can understand that in the above method of a specific embodiment, a specific execution order of each step should be determined by its function and possible internal logic.

또한, 본 발명은 리소스 로딩 장치, 전자 기기, 컴퓨터 판독 가능 저장 매체, 프로그램을 더 제공하며, 이들은 모두 본 발명의 실시예에서 제공되는 임의의 하나의 리소스 로딩 방법을 구현할 수 있으며, 상응한 기술적 해결수단 및 설명은 방법 부분의 상응한 기재를 참조하기 바라며, 더이상 설명하지 않는다.In addition, the present invention further provides a resource loading device, an electronic device, a computer readable storage medium, and a program, all of which may implement any one resource loading method provided in the embodiments of the present invention, and corresponding technical solutions For the means and description, reference is made to the corresponding description in the method section, which is not further described.

도 6은 본 발명의 실시예에 따른 리소스 로딩 장치의 블록도를 도시하고, 상기 장치는 제1 전자 기기에 응용되며, 도 6에 도시된 바와 같이, 상기 장치는, 제2 전자 기기에 포지셔닝 정보를 송신할 수 있는 송신 모듈(61) - 상기 포지셔닝 정보는 상기 제2 전자 기기로 하여금 상기 포지셔닝 정보에 따라 상기 제1 전자 기기의 위치 정보를 결정하고, 상기 제1 전자 기기의 위치 정보에 따라 로딩할 증강 현실(AR) 리소스를 결정하도록 하기 위한 것임 - ; 및 상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스를 수신하고, 상기 로딩할 AR 리소스를 상응하게 표시할 수 있는 수신 모듈(62)을 포함한다.6 is a block diagram of a resource loading device according to an embodiment of the present invention, the device is applied to a first electronic device, and as shown in FIG. 6 , the device includes positioning information in a second electronic device a transmitting module 61 capable of transmitting - the positioning information causes the second electronic device to determine the location information of the first electronic device according to the positioning information, and is loaded according to the location information of the first electronic device to determine which augmented reality (AR) resource to use; and a receiving module 62 capable of receiving the AR resource to be loaded sent by the second electronic device, and correspondingly displaying the AR resource to be loaded.

이렇게, 제1 전자 기기는 제2 전자 기기에 포지셔닝 정보를 송신하여, 상기 제2 전자 기기로 하여금 상기 포지셔닝 정보에 따라 상기 제1 전자 기기의 위치 정보를 결정하며, 상기 제1 전자 기기의 위치 정보에 따라 로딩할 증강 현실(AR) 리소스를 결정할 수 있도록 하고, 나아가 제1 전자 기기는 상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스를 수신하며, 상기 로딩할 AR 리소스를 상응하게 표시한다. 본 발명의 실시예에서 제공되는 리소스 로딩 장치에 따르면, 제1 전자 기기의 위치 정보에 따라 대응되는 로딩할 AR 리소스를 결정하고 로딩할 수 있어, AR 응용 프로그램 다운로드시 모든 AR 리소스를 패킹하여 다운로드함으로 인한 AR 응용 프로그램의 설치팩이 너무 큰 문제를 완화하여, AR 응용 프로그램의 설치팩이 간편하도록 하고, 사용자 사용에 영향을 주지 않으면서 AR 응용 프로그램의 다운로드 설치 효율을 향상시킬 수 있다.In this way, the first electronic device transmits the positioning information to the second electronic device, causes the second electronic device to determine the location information of the first electronic device according to the positioning information, and the location information of the first electronic device determine an augmented reality (AR) resource to load according to, and further, the first electronic device receives the AR resource to load sent by the second electronic device, and displays the AR resource to load accordingly . According to the resource loading apparatus provided in the embodiment of the present invention, it is possible to determine and load the corresponding AR resource to be loaded according to the location information of the first electronic device, so that when downloading an AR application, all AR resources are packed and downloaded. By alleviating the problem that the AR application installation pack is too large, it is possible to simplify the AR application installation pack and improve the AR application download and installation efficiency without affecting user usage.

일 가능한 구현 형태에서, 상기 수신 모듈은 또한, 상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스의 식별자 정보를 수신하고; 상기 로딩할 AR 리소스의 식별자 정보에서 타깃 AR 리소스의 식별자 정보를 결정하며; 상기 타깃 AR 리소스의 식별자 정보를 AR 리소스 획득 요청에 반송시키고, 상기 제2 전자 기기에 상기 AR 리소스 획득 요청을 송신하고, 상기 AR 리소스 획득 요청은 상기 제2 전자 기기로 하여금 상기 AR 리소스 획득 요청에 따라 상기 타깃 AR 리소스의 식별자 정보에 대응되는 타깃 AR 리소스를 획득하도록 하며; 상기 제2 전자 기기에 의해 송신된 상기 타깃 AR 리소스를 수신하고 표시한다.In one possible implementation form, the receiving module is further configured to receive identifier information of the AR resource to be loaded sent by the second electronic device; determine identifier information of a target AR resource from identifier information of the AR resource to be loaded; The identifier information of the target AR resource is returned to the AR resource acquisition request, and the AR resource acquisition request is sent to the second electronic device, and the AR resource acquisition request causes the second electronic device to respond to the AR resource acquisition request. to acquire the target AR resource corresponding to the identifier information of the target AR resource; Receive and display the target AR resource transmitted by the second electronic device.

일 가능한 구현 형태에서, 상기 수신 모듈은 또한, 상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스를 수신하고; 상기 로딩할 AR 리소스에서 타깃 AR 리소스를 결정하며; 상기 타깃 AR 리소스를 표시한다.In one possible implementation form, the receiving module is further configured to receive the AR resource to load sent by the second electronic device; determine a target AR resource from the AR resource to be loaded; Indicate the target AR resource.

일 가능한 구현 형태에서, 상기 송신 모듈은 또한, 시간 주기 내에서, 상기 제1 전자 기기가 이동한 거리가 거리 임계값보다 큰 것; 상기 시간 주기 내에서, 상기 제1 전자 기기의 실시간 위치 정보가 포지셔닝 영역 밖에 위치하는 것; 및 이전 시간 주기가 종료되어, 새로운 시간 주기를 시작하는 것; 중 어느 한 상황에 응답하여, 제2 전자 기기에 포지셔닝 정보를 송신할 수 있고, 상기 포지셔닝 영역은 상기 시간 주기 초기 시각에 상기 제1 전자 기기에 대응되는 위치 정보를 중심으로 하는 영역이다.In one possible implementation form, the transmitting module may further include: within a time period, a distance traveled by the first electronic device is greater than a distance threshold; within the time period, the real-time location information of the first electronic device is located outside a positioning area; and the previous time period ends, starting a new time period; In response to any one situation, positioning information may be transmitted to the second electronic device, wherein the positioning area is an area centered on the location information corresponding to the first electronic device at an initial time of the time period.

일 가능한 구현 형태에서, 상기 로딩할 AR 리소스의 식별자 정보는 AR 리소스 식별자 및 AR 리소스 버전 정보를 포함하고, 상기 수신 모듈은 또한, 임의의 하나의 로딩할 AR 리소스의 식별자 정보에 대해, 상기 AR 리소스 식별자에 대응되는 AR 리소스가 로컬에 캐싱되지 않을 경우, 또는 로컬에 캐싱된 상기 AR 리소스 식별자에 대응되는 AR 리소스의 AR 리소스 버전 정보와, 상기 AR 리소스 버전 정보가 일치하지 않을 경우, 상기 로딩할 AR 리소스의 식별자 정보가 타깃 AR 리소스의 식별자 정보임을 결정할 수 있다.In one possible implementation form, the identifier information of the AR resource to be loaded includes an AR resource identifier and AR resource version information, and the receiving module is further configured to: When the AR resource corresponding to the identifier is not cached locally, or when the AR resource version information of the locally cached AR resource corresponding to the AR resource identifier and the AR resource version information do not match, the AR to be loaded It may be determined that the identifier information of the resource is the identifier information of the target AR resource.

일 가능한 구현 형태에서, 상기 포지셔닝 정보에는 상기 제1 전자 기기가 위치한 환경 이미지가 포함될 수 있고, 상기 환경 이미지는 상기 제2 전자 기기로 하여금 상기 환경 이미지에 따라 상기 제1 전자 기기의 위치 정보를 결정하도록 한다.In one possible implementation form, the positioning information may include an environment image in which the first electronic device is located, and the environment image causes the second electronic device to determine the location information of the first electronic device according to the environment image to do it

도 7은 본 발명의 실시예에 따른 리소스 로딩 장치의 블록도를 도시하고, 상기 장치는 제2 전자 기기에 응용되며, 도 7에 도시된 바와 같이, 상기 장치는, 제1 전자 기기에 의해 송신된 포지셔닝 정보를 수신할 수 있는 수신 모듈(71); 상기 포지셔닝 정보에 따라 상기 제1 전자 기기의 위치 정보를 결정할 수 있는 제1 결정 모듈(72); 상기 제1 전자 기기의 위치 정보에 따라, 증강 현실(AR) 리소스에서 로딩할 AR 리소스를 결정할 수 잇는 제2 결정 모듈(73); 및 상기 제1 전자 기기에 상기 로딩할 AR 리소스를 송신할 수 있는 송신 모듈(74)을 포함하고, 상기 로딩할 AR 리소스는 상기 제1 전자 기기에서 표시된다.7 is a block diagram of a resource loading device according to an embodiment of the present invention, the device is applied to a second electronic device, and as shown in FIG. 7 , the device is transmitted by a first electronic device a receiving module 71 capable of receiving the positioning information; a first determining module 72 capable of determining location information of the first electronic device according to the positioning information; a second determining module 73 configured to determine an AR resource to be loaded from an augmented reality (AR) resource according to the location information of the first electronic device; and a sending module (74) capable of transmitting the AR resource to be loaded to the first electronic device, wherein the AR resource to be loaded is displayed in the first electronic device.

이렇게, 제2 전자 기기는 상기 제1 전자 기기에 의해 송신된 포지셔닝 정보를 수신하고, 상기 포지셔닝 정보에 따라 상기 제1 전자 기기의 위치 정보를 결정할 수 있다. 제2 전자 기기는 상기 제1 전자 기기의 위치 정보에 따라, 증강 현실(AR) 리소스에서 로딩할 AR 리소스를 결정하고, 상기 제1 전자 기기에 상기 로딩할 AR 리소스를 송신하여, 상기 제1 전자 기기로 하여금 상기 로딩할 AR 리소스를 상응하게 표시하도록 할 수 있다. 본 발명의 실시예에서 제공되는 리소스 로딩 장치에 따르면, 제1 전자 기기의 위치 정보에 따라 AR 리소스를 점진적으로 로딩할 수 있어, AR 응용 프로그램 다운로드시 모든 AR 리소스를 패킹하여 다운로드함으로 인한 AR 응용 프로그램의 설치팩이 너무 큰 문제를 완화하여, AR 응용 프로그램의 설치팩이 간편하도록 하고, 사용자 사용에 영향을 주지 않으면서 AR 응용 프로그램의 다운로드 설치 효율을 향상시킨다.In this way, the second electronic device may receive the positioning information transmitted by the first electronic device, and determine the location information of the first electronic device according to the positioning information. The second electronic device determines an AR resource to be loaded from an augmented reality (AR) resource according to the location information of the first electronic device, and transmits the AR resource to be loaded to the first electronic device, so that the first electronic device make the device correspondingly indicate the AR resource to be loaded. According to the resource loading device provided in the embodiment of the present invention, AR resources can be gradually loaded according to the location information of the first electronic device, so that when downloading an AR application, all AR resources are packed and downloaded. 's installation pack alleviates the problem that is too large, making the installation pack of AR applications simple, and improving the download and installation efficiency of AR applications without affecting user use.

일 가능한 구현 형태에서, 상기 송신 모듈은 또한, 상기 제1 전자 기기에 상기 로딩할 AR 리소스의 식별자 정보를 송신하고, 상기 로딩할 AR 리소스의 식별자 정보는 상기 제1 전자 기기로 하여금 상기 로딩할 AR 리소스의 식별자 정보에서 타깃 AR 리소스의 식별자 정보를 결정하도록 하며; 상기 제1 전자 기기에 의해 송신된 AR 리소스 획득 요청을 수신하고, 상기 AR 리소스 획득 요청에는 상기 타깃 AR 리소스의 식별자 정보가 반송되며; 상기 AR 리소스 획득 요청에 응답하여, 상기 타깃 AR 리소스의 식별자 정보에 대응되는 타깃 AR 리소스를 획득하고, 상기 제1 전자 기기에 상기 타깃 AR 리소스를 송신할 수 있으며, 상기 타깃 AR 리소스는 상기 제1 전자 기기에서 표시된다.In one possible implementation form, the transmitting module is further configured to transmit identifier information of the AR resource to be loaded to the first electronic device, and the identifier information of the AR resource to be loaded causes the first electronic device to determine the AR resource to be loaded. determine the identifier information of the target AR resource from the identifier information of the resource; receive the AR resource acquisition request sent by the first electronic device, wherein the AR resource acquisition request includes identifier information of the target AR resource; in response to the AR resource acquisition request, acquire a target AR resource corresponding to the identifier information of the target AR resource, and transmit the target AR resource to the first electronic device, wherein the target AR resource is the first displayed on electronic devices.

일 가능한 구현 형태에서, 상기 제2 결정 모듈은 또한, 상기 제1 전자 기기의 위치 정보에 따라 로딩할 범위를 결정하고; 임의의 하나의 AR 리소스에 대해, 상기 AR 리소스에 대응되는 위치 정보가 상기 로딩할 범위 내에 위치할 경우, 상기 AR 리소스가 로딩할 AR 리소스임을 결정할 수 있다.In one possible implementation form, the second determining module is further configured to: determine a range to load according to the location information of the first electronic device; For any one AR resource, when location information corresponding to the AR resource is located within the loading range, it may be determined that the AR resource is an AR resource to be loaded.

일 가능한 구현 형태에서, 상기 제2 결정 모듈은 또한, 범위 구축 데이터를 결정하고; 상기 제1 전자 기기의 위치 정보 및 상기 범위 구축 데이터에 따라, 상기 로딩할 범위를 결정할 수 있다.In one possible implementation form, the second determining module is further configured to: determine range building data; The range to be loaded may be determined according to the location information of the first electronic device and the range establishment data.

일 가능한 구현 형태에서, 상기 포지셔닝 정보에는 상기 제1 전자 기기의 네트워크 신호 품질 및 상기 제1 전자 기기의 이동 속도 중 적어도 하나가 더 포함되고, 상기 제2 결정 모듈은 또한, 상기 네트워크 신호 품질에 따라, 상기 네트워크 신호 품질과 서로 대응되는 범위 구축 데이터를 결정하고; 및/또는, 상기 이동 속도에 따라, 상기 이동 속도와 서로 대응되는 범위 구축 데이터를 결정할 수 있다.In one possible implementation form, the positioning information further includes at least one of a network signal quality of the first electronic device and a moving speed of the first electronic device, and the second determining module is further configured to: , determine the range construction data corresponding to the network signal quality; and/or, according to the moving speed, range construction data corresponding to the moving speed may be determined.

일 가능한 구현 형태에서, 상기 제2 결정 모듈은 또한, 상기 제1 전자 기기의 위치 정보 및 상기 범위 구축 데이터에 따라, 초기 로딩할 범위를 결정하고; 위치 정보가 상기 초기 로딩할 범위 내에 위치하는 AR 리소스의 수량을 결정하며; 상기 AR 리소스의 수량에 따라 상기 범위 구축 데이터를 조정하여, 조정된 범위 구축 데이터를 획득하고; 상기 조정된 범위 구축 데이터 및 상기 제1 전자 기기의 위치 정보에 따라, 상기 로딩할 범위를 결정할 수 있다.In one possible implementation form, the second determining module is further configured to: determine, according to the location information of the first electronic device and the range establishment data, a range to initially load; determine the quantity of AR resources in which the location information is located within the range to be initially loaded; adjusting the range building data according to the quantity of the AR resource to obtain adjusted range building data; The range to be loaded may be determined according to the adjusted range establishment data and the location information of the first electronic device.

일 가능한 구현 형태에서, 상기 제2 결정 모듈은 또한, 각 AR 리소스의 위치 정보와 상기 제1 전자 기기의 위치 정보 사이의 거리를 결정하고; 거리가 작은 것부터 큰 것으로의 순서에 따라 각 AR 리소스를 정렬한 후, 앞에 위치한 기설정된 수량의 AR 리소스를 로딩할 AR 리소스로 결정할 수 있다.In one possible implementation form, the second determining module is further configured to: determine a distance between the location information of each AR resource and the location information of the first electronic device; After arranging each AR resource in the order from the smallest distance to the largest distance, it is possible to determine the AR resource to be loaded with a preset quantity of the AR resource located in front.

일 가능한 구현 형태에서, 상기 포지셔닝 정보에는 상기 제1 전자 기기가 위치한 환경 이미지가 포함되고, 상기 제1 결정 모듈은 또한, 제1 전자 기기가 위치한 환경 이미지에 따라 상기 제1 전자 기기에 대해 비주얼 포지셔닝을 수행하여, 상기 제1 전자 기기의 위치 정보를 획득할 수 있다.In one possible implementation form, the positioning information includes an environment image in which the first electronic device is located, and the first determining module is further configured to visually position the first electronic device according to the environment image in which the first electronic device is located , to obtain location information of the first electronic device.

일부 실시예에서, 본 발명의 실시예에서 제공되는 장치에 구비되는 기능 또는 포함되는 모듈은 상기 방법 실시예에서 설명된 방법을 수행할 수 있는데, 그 구체적인 구현은 상기 방법 실시예에 대한 설명을 참조할 수 있으며, 간결함을 위해 여기서 더이상 설명하지 않는다.In some embodiments, a function provided or a module included in the apparatus provided in the embodiment of the present invention may perform the method described in the method embodiment, for specific implementation, see the description of the method embodiment , which is not further described here for the sake of brevity.

본 발명의 실시예는 컴퓨터 프로그램 명령이 저장된 컴퓨터 판독 가능 저장 매체를 더 제공하고, 상기 컴퓨터 프로그램 명령이 프로세서에 의해 실행될 경우, 상기 방법이 구현된다. 상기 컴퓨터 판독 가능 저장 매체는 비휘발성 컴퓨터 판독 가능 저장 매체일 수 있다.An embodiment of the present invention further provides a computer-readable storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the method is implemented. The computer-readable storage medium may be a non-volatile computer-readable storage medium.

본 발명의 실시예는 프로세서; 및 프로세서에 의해 실행 가능한 명령이 저장되는 메모리를 포함하는 전자 기기를 더 제공하고, 상기 프로세서는 상기 메모리에 저장된 명령을 호출하여, 상기 방법을 수행하도록 구성된다.An embodiment of the present invention includes a processor; and a memory in which instructions executable by the processor are stored, wherein the processor is configured to call the instructions stored in the memory to perform the method.

본 발명의 실시예는 컴퓨터 판독 가능 코드를 포함하는 컴퓨터 프로그램을 더 제공하고, 상기 컴퓨터 판독 가능 코드가 기기에서 실행될 경우, 기기의 프로세서는 상기 임의의 하나의 실시예에서 제공되는 리소스 로딩 방법을 구현하는 명령을 실행한다.An embodiment of the present invention further provides a computer program comprising computer readable code, wherein when the computer readable code is executed in a device, the processor of the device implements the resource loading method provided in any one of the above embodiments run the command to

본 발명의 실시예는 컴퓨터 판독 가능 명령이 저장되는 다른 컴퓨터 프로그램 제품을 더 제공하고, 명령이 실행될 경우, 컴퓨터로 하여금 상기 임의의 하나의 실시예에서 제공되는 리소스 로딩 방법의 동작을 수행하도록 한다.An embodiment of the present invention further provides another computer program product in which computer readable instructions are stored, and when the instructions are executed, cause the computer to perform the operation of the resource loading method provided in any one of the embodiments above.

전자 기기는 단말기, 서버 또는 다른 형태의 기기로 제공될 수 있다.The electronic device may be provided as a terminal, server, or other type of device.

도 8은 본 발명의 실시예에 따른 전자 기기(800)의 블록도를 도시한다. 예를 들어, 전자 기기(800)는 휴대폰, 컴퓨터, 디지털 방송 단말기, 메시지 송수신 기기, 게임 콘솔, 태블릿 기기, 의료 기기, 피트니스 기기, 개인 정보 단말기 등 단말기일 수 있다.8 is a block diagram of an electronic device 800 according to an embodiment of the present invention. For example, the electronic device 800 may be a terminal such as a mobile phone, a computer, a digital broadcasting terminal, a message transmitting/receiving device, a game console, a tablet device, a medical device, a fitness device, or a personal information terminal.

도 8을 참조하면, 전자 기기(800)는 프로세싱 컴포넌트(802), 메모리(804), 전원 컴포넌트(806), 멀티미디어 컴포넌트(808), 오디오 컴포넌트(810), 입력/출력(I/O) 인터페이스(812), 센서 컴포넌트(814) 및 통신 컴포넌트(816) 중 하나 또는 다수의 컴포넌트를 포함할 수 있다.Referring to FIG. 8 , the electronic device 800 includes a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , and an input/output (I/O) interface. 812 , a sensor component 814 , and a communication component 816 .

프로세싱 컴포넌트(802)는 일반적으로 디스플레이, 전화 호출, 데이터 통신, 카메라 동작 및 기록 동작과 관련된 동작과 같은 전자 기기(800)의 전체 동작을 제어한다. 프로세싱 컴포넌트(802)는, 상기 방법의 전부 또는 일부 단계를 완료하도록, 하나 또는 다수의 프로세서(820)를 포함하여 명령을 실행할 수 있다. 또한, 프로세싱 컴포넌트(802)는, 프로세싱 컴포넌트(802)와 다른 컴포넌트 사이의 인터랙션을 수행하기 편리하도록, 하나 또는 다수의 모듈을 포함할 수 있다. 예를 들어, 프로세싱 컴포넌트(802)는, 멀티미디어 컴포넌트(808)와 프로세싱 컴포넌트(802) 사이의 인터랙션을 편리하게 수행하도록, 멀티미디어 모듈을 포함할 수 있다.The processing component 802 generally controls the overall operation of the electronic device 800 , such as operations related to displays, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or some steps of the method. Further, processing component 802 may include one or more modules to facilitate performing interactions between processing component 802 and other components. For example, processing component 802 may include a multimedia module to conveniently perform an interaction between multimedia component 808 and processing component 802 .

메모리(804)는 다양한 유형의 데이터를 저장하여 전자 기기(800)에서의 동작을 지원하도록 구성된다. 이러한 데이터의 예시는 전자 기기(800)에서 동작하는 임의의 응용 프로그램 또는 방법의 명령, 연락처 데이터, 전화번호부 데이터, 메시지, 사진, 비디오 등을 포함한다. 메모리(804)는, 정적 랜덤 액세스 메모리(SRAM), 전기적 소거 가능 프로그램 가능 판독 전용 메모리(EEPROM), 소거 가능 프로그램 가능 판독 전용 메모리(EPROM), 프로그램 가능 판독 전용 메모리(PROM), 판독 전용 메모리(ROM), 자기 메모리, 플래시 메모리, 자기 디스크 또는 광 디스크와 같은 임의의 유형의 휘발성 또는 비휘발성 저장 기기 또는 이들의 조합에 의해 구현될 수 있다.The memory 804 is configured to support operation in the electronic device 800 by storing various types of data. Examples of such data include commands, contact data, phonebook data, messages, photos, videos, and the like of any application or method operating in the electronic device 800 . Memory 804 includes 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 disk or optical disk, or any type of volatile or non-volatile storage device, or a combination thereof.

전원 컴포넌트(806)는 전자 기기(800)의 다양한 컴포넌트에게 전력을 제공한다. 전원 컴포넌트(806)는 전원 관리 시스템, 하나 또는 다수의 전원, 및 전자 기기(800)에 대한 전력의 생성, 관리 및 할당과 관련되는 다른 컴포넌트를 포함할 수 있다.The power component 806 provides power to various components of the electronic device 800 . Power component 806 may include a power management system, one or more power sources, and other components related to the generation, management, and allocation of power to electronic device 800 .

멀티미디어 컴포넌트(808)는 상기 전자 기기(800)와 사용자 사이에 출력 인터페이스를 제공하는 스크린을 포함한다. 일부 실시예에서, 스크린은 액정 디스플레이(LCD) 및 터치 패드(P)를 포함할 수 있다. 만약 스크린이 터치 패드를 포함하면, 사용자로부터 입력 신호를 수신하도록 스크린은 터치 스크린으로 구현될 수 있다. 터치 패드는, 터치, 슬라이드 및 터치 패드에서의 제스처를 감지하기 위한 하나 또는 다수의 터치 센서를 포함한다. 상기 터치 센서는 터치 또는 슬라이드 동작의 경계를 감지할 수 있을 뿐만아니라, 상기 터치 또는 슬라이드 동작에 관련된 지속 시간 및 압력을 감지한다. 일부 실시예에서, 멀티미디어 컴포넌트(808)는 하나의 전방 카메라 및/또는 후방 카메를 포함한다. 전자 기기(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 pad (P). If the screen includes a touch pad, the screen may be implemented as a touch screen to receive an input signal from a user. The touchpad includes one or more touch sensors for sensing touches, slides and gestures on the touchpad. The touch sensor may not only sense a boundary of a touch or slide action, but also sense a duration and pressure associated with the touch or slide action. In some embodiments, multimedia component 808 includes one front camera and/or one rear camera. When the electronic device 800 is in an operation mode such as a photographing mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras may be one fixed optical lens system or may have focal length and optical zoom functions.

오디오 컴포넌트(810)는 오디오 신호를 출력 및/또는 입력하도록 구성된다. 예를 들어, 오디오 컴포넌트(810)는 하나의 마이크(MIC)를 포함하고, 전자 기기(800)가 호출 모드, 기록 모드 및 음성 인식 모드와 같은 동작 모드일 경우, 마이크는 외부 오디오 신호를 수신하도록 구성된다. 수신된 오디오 신호는 메모리(804)에 저장되거나 통신 컴포넌트(816)를 통해 송신될 수 있다. 일부 실시예에서, 오디오 컴포넌트(810)는 오디오 신호를 출력하기 위한 하나의 스피커를 더 포함한다.The audio component 810 is configured to output and/or input an audio signal. For example, the audio component 810 includes one microphone (MIC), and when the electronic device 800 is in an operation mode such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. is composed The received audio signal may be stored in memory 804 or transmitted via communication component 816 . In some embodiments, the audio component 810 further includes one speaker for outputting an audio signal.

입력/출력 인터페이스(812)는 프로세싱 컴포넌트(802)와 주변 인터페이스 모듈 사이에 인터페이스를 제공하며, 상기 주변 인터페이스 모듈은 키보드, 클릭 휠, 버튼 등일 수 있다. 버튼은 홈 버튼, 볼륨 버튼, 시작 버튼 및 잠금 버튼을 포함할 수 있지만, 이에 한정되지 않는다.Input/output interface 812 provides an interface between processing component 802 and a peripheral interface module, which may be a keyboard, click wheel, button, or the like. Buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.

센서 컴포넌트(814)는 다양한 양태의 상태 평가를 전자 기기(800)에 제공하기 위한 하나 또는 다수의 센서를 포함한다. 예를 들어, 센서 컴포넌트(814)는 전자 기기(800)의 온/오프 상태, 컴포넌트의 상대적 위치를 감지할 수 있고, 예를 들어, 상기 컴포넌트는 전자 기기(800)의 디스플레이 및 키패드이고, 센서 컴포넌트(814)는 전자 기기(800) 또는 전자 기기(800)의 하나의 컴포넌트의 위치 변화, 사용자와 전자 기기(800) 사이의 접촉 여부, 전자 기기(800) 방위 또는 가속/감속 및 전자 기기(800)의 온도 변화를 더 감지할 수 있다. 센서 컴포넌트(814)는 어떠한 물리적 접촉이 존재하지 않을 경우 근처 물체의 존재를 감지하도록 구성되는 접근 센서를 포함할 수 있다. 센서 컴포넌트(814)는 이미징 애플리케이션에 사용하기 위한, 상보성 금속 산화물 반도체(CMOS) 또는 전하 결합 소자(CCD) 이미지 센서와 같은 광 센서를 더 포함할 수 있다. 일부 실시예에서, 상기 센서 컴포넌트(814)는 가속도 센서, 자이로 센서, 자기 센서, 압력 센서 또는 온도 센서를 더 포함할 수 있다.Sensor component 814 includes one or more sensors for providing electronic device 800 with status assessments of various aspects. For example, the sensor component 814 may sense the on/off state of the electronic device 800 , the relative position of the component, for example, the component is the display and keypad of the electronic device 800 , and a sensor The component 814 is the electronic device 800 or a change in the position of one component of the electronic device 800, whether the user and the electronic device 800 are in contact, the orientation or acceleration/deceleration of the electronic device 800, and the electronic device ( 800) can be further detected. The sensor component 814 may include a proximity sensor configured to sense the presence of a nearby object when no physical contact is present. The sensor component 814 may further include an optical sensor, such as a complementary metal oxide semiconductor (CMOS) or charge coupled device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor component 814 may further include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

통신 컴포넌트(816)는 전자 기기(800)와 다른 기기 사이의 유선 또는 무선 방식의 통신이 용이하도록 구성된다. 전자 기기(800)는 무선 네트워크(Wi-Fi), 차세대 이동통신 기술(2G) 또는 3세대 이동통신 기술(3G), 또는 이들의 조합과 같은, 통신 표준에 기반한 무선 네트워크에 액세스할 수 있다. 일 예시적인 실시예에서, 통신 컴포넌트(816)는 방송 채널을 통해 외부 방송 관리 시스템으로부터 방송 신호 또는 방송 관련 정보를 수신한다. 일 예시적인 실시예에서, 상기 통신 컴포넌트(816)는 근거리 통신을 촉진하는 근거리 무선 통신(NFC) 모듈을 더 포함한다. 예를 들어, NFC 모듈은 무선 주파수 식별(RFID) 기술, 적외선 데이터 협회(IrDA) 기술, 초광대역(UWB) 기술, 블루투스(BT) 기술 및 다른 기술을 기반으로 구현될 수 있다.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 a wireless network (Wi-Fi), a next-generation mobile communication technology (2G) or a third-generation mobile communication technology (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 through a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a near field communication (NFC) module that facilitates near field communication. 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.

예시적인 실시예에서, 전자 기기(800)는 하나 또는 다수의 응용 주문형 집적 회로(ASIC), 디지털 신호 프로세서(DSP), 디지털 신호 프로세서 기기(DSPD), 프로그램 가능 논리 소자(PLD), 필드 프로그램 가능 게이트 어레이(FPGA), 컨트롤러, 마이크로 컨트롤러, 마이크로 프로세서 또는 다른 소자에 의해 구현되어, 상기 방법을 실행할 수 있다.In an exemplary embodiment, electronic device 800 includes one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processor devices (DSPDs), programmable logic devices (PLDs), field programmable circuits It may be implemented by a gate array (FPGA), controller, microcontroller, microprocessor, or other device to carry out the method.

예시적인 실시예에서, 전자 기기(800)의 프로세서(820)에 의해 실행되어 상기 방법을 수행할 수 있는 컴퓨터 프로그램 명령을 포함하는 메모리(804)를 포함하는 비휘발성 컴퓨터 판독 가능 저장 매체를 더 제공한다.In an exemplary embodiment, there is further provided a non-volatile computer-readable storage medium comprising a memory 804 comprising computer program instructions executable by the processor 820 of the electronic device 800 to perform the method do.

도 9는 본 발명의 실시예에 따른 전자 기기(1900)의 블록도를 도시한다. 예를 들어, 전자 기기(1900)는 하나의 서버로 제공될 수 있다. 도 9를 참조하면, 전자 기기(1900)는 프로세싱 컴포넌트(1922)를 포함하고, 이는 또한 하나 또는 다수 프로세서, 및 응용 프로그램과 같이, 프로세싱 컴포넌트(1922)에 의해 실행 가능한 명령을 저장하기 위한, 메모리(1932)를 대표로 하는 메모리 리소스를 포함한다. 메모리(1932)에 저장된 응용 프로그램은 각각의 명령에 대응되는 하나 또는 하나 이상의 모듈을 포함할 수 있다. 이 외에, 프로세싱 컴포넌트(1922)는 명령을 실행하여 상기 방법을 수행하도록 구성된다.9 is a block diagram of an electronic device 1900 according to an embodiment of the present invention. For example, the electronic device 1900 may be provided as one server. Referring to FIG. 9 , an electronic device 1900 includes a processing component 1922 , which also includes one or more processors, and a memory for storing instructions executable by the processing component 1922 , such as an application program. (1932) as a representative of memory resources. The application program stored in the memory 1932 may include one or more modules corresponding to each instruction. In addition, processing component 1922 is configured to execute instructions to perform the method.

전자 기기(1900)는 전자 기기(1900)의 전원 관리를 수행하도록 구성되는 하나의 전원 컴포넌트(1926), 전자 기기(1900)를 네트워크에 연결하도록 구성되는 하나의 유선 또는 무선 네트워크 인터페이스(1950), 및 하나의 입출력(I/O) 인터페이스(1958)를 더 포함할 수 있다. 전자 기기(1900)는 메모리(1932)에 저장된 운영 체제, 예를 들어, 마이크로소프트 서버 운영 체제(Windows ServerTM), 애플 회사에서 출시한 그래픽 기반 사용자 인터페이스 운영 체제(Mac OS XTM), 멀티 유저 멀티 프로세스의 컴퓨터 운영 체제(UnixTM), 무료 및 오픈소스 코드 Unix 계열 운영 체제(LinuxTM), 오픈소스 코드 Unix 계열 운영체제(FreeBSDTM) 등과 같은 것을 작동시킬 수 있다.The electronic device 1900 includes one power component 1926 configured to perform power management of the electronic device 1900, one wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and one input/output (I/O) interface 1958 . The electronic device 1900 is an operating system stored in the memory 1932, for example, Microsoft Server Operating System (Windows Server TM ), a graphical user interface operating system (Mac OS X TM) released by Apple Corporation, multi-user It can run multi-process computer operating systems (Unix TM ), free and open-source code Unix-like operating systems (Linux TM ), open-source code Unix-like operating systems (FreeBSD TM ), and more.

예시적인 실시예에서, 전자 기기(1900)의 프로세싱 컴포넌트(1922)에 의해 실행되어 상기 방법을 수행할 수 있는 컴퓨터 프로그램 명령을 포함하는 메모리(1932)를 포함하는 비휘발성 컴퓨터 판독 가능 저장 매체를 더 제공한다.In an exemplary embodiment, a non-volatile computer-readable storage medium comprising a memory 1932 comprising computer program instructions executable by the processing component 1922 of the electronic device 1900 to perform the method is further provided. to provide.

본 발명은 시스템, 방법 및/또는 컴퓨터 프로그램 제품일 수 있다. 컴퓨터 프로그램 제품은, 프로세서로 하여금 본 발명의 실시예의 각 양태를 구현하도록 하는 컴퓨터 판독 가능 프로그램 명령이 탑재된 컴퓨터 판독 가능 저장 매체를 포함할 수 있다.The invention may be a system, method and/or computer program product. The computer program product may include a computer readable storage medium having computer readable program instructions mounted thereon for causing a processor to implement each aspect of the embodiments of the present invention.

컴퓨터 판독 가능 저장 매체는 명령 실행 기기에 의해 사용되는 명령을 유지하고 저장할 수 있는 유형의 기기일 수 있다. 컴퓨터 판독 가능 저장 매체는 전기 저장 기기, 자기 저장 기기, 광 저장 기기, 전자기 저장 기기, 반도체 저장 기기 또는 이들의 임의의 적합한 조합일 수 있다(그러나 이에 제한되지 않는다). 컴퓨터 판독 가능 저장 매체의 더욱 구체적인 예(비 완전 리스트)로는, 휴대용 컴퓨터 디스크, 하드 디스크, 랜덤 액세스 메모리(RAM), 판독 전용 메모리(ROM), 소거 가능 프로그램 가능 판독 전용 메모리(EPROM 또는 플래시 메모리), 정적 랜덤 액세스 메모리(SRAM), 콤팩트 디스크 판독 전용 메모리(CD-ROM), 디지털 비디오 디스크(DVD), 메모리 스틱, 플로피 디스크, 기계 인코딩 기기, 명령이 저장된 펀치 카드 또는 요홈 내 돌기 구조, 및 이들의 임의의 적합한 조합을 포함한다. 여기서 사용되는 컴퓨터 판독 가능 저장 매체는 무선 전기파 또는 다른 자유롭게 전파되는 전자기파, 도파관 또는 다른 전송 매체를 통해 전파되는 전자기파(예를 들어, 광섬유 케이블을 통한 광 펄스), 또는 전기선을 통해 전송되는 전기 신호와 같은 일시적 신호 자체로 해석되지 않는다.A computer-readable storage medium may be a tangible device that can hold and store instructions for use by an instruction execution device. The computer-readable storage medium may be, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (non-exhaustive list) of computer-readable storage media include, but are not limited to, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory). , static random access memory (SRAM), compact disk read-only memory (CD-ROM), digital video disk (DVD), memory stick, floppy disk, machine encoding device, punch card or grooved structure on which instructions are stored, and these any suitable combination of As used herein, a computer-readable storage medium includes wireless electrical waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (eg, light pulses through fiber optic cables), or electrical signals transmitted over electrical wires and It is not interpreted as the same temporary signal itself.

여기서 설명되는 컴퓨터 판독 가능 프로그램 명령은 컴퓨터 판독 가능 저장 매체로부터 각각의 컴퓨팅/프로세싱 기기에 다운로드될 수 있거나, 인터넷, 근거리 통신망, 광역 통신망 및/또는 무선 인터넷과 같은 네트워크를 통해 외부 컴퓨터 또는 외부 저장 기기에 다운로드될 수 있다. 네트워크는 구리 전송 케이블, 광섬유 전송, 무선 전송, 라우터, 방화벽, 교환기, 게이트웨이 컴퓨터 및/또는 에지 서버를 포함할 수 있다. 각 컴퓨팅/프로세싱 기기의 네트워크 어댑터 또는 네트워크 인터페이스는 네트워크로부터 컴퓨터 판독 가능 프로그램 명령을 수신하고, 상기 컴퓨터 판독 가능 프로그램 명령을 전달하여, 각각의 컴퓨팅/프로세싱 기기의 컴퓨터 판독 가능 저장 매체에 저장되도록 한다.The computer readable program instructions described herein may be downloaded to each computing/processing device from a computer readable storage medium, or through a network such as the Internet, a local area network, a wide area network and/or a wireless Internet, an external computer or external storage device. can be downloaded to Networks may include copper transport cables, fiber optic transport, wireless transport, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter or network interface of each computing/processing device receives computer readable program instructions from a network, and transmits the computer readable program instructions to be stored in a computer readable storage medium of each computing/processing device.

본 발명의 동작을 실행하는 컴퓨터 프로그램 명령은 어셈블리 명령, 명령 세트 아키텍처(ISA) 명령, 기계 명령, 기계 관련 명령, 마이크로 코드, 펌웨어 명령, 상태 설정 데이터 또는 하나 또는 다수의 프로그래밍 언어의 임의의 조합으로 작성되는 소스 코드 또는 오브젝트 코드일 수 있고, 상기 프로그래밍 언어는 Smalltalk, C++ 등과 같은 객체 지향 프로그래밍 언어와, “C" 언어 또는 유사한 프로그래밍 언어와 같은 기존 절차적 프로그래밍 언어를 포함한다. 컴퓨터 판독 가능 프로그램 명령은 완전히 사용자의 컴퓨터에서 실행되거나, 부분적으로 사용자의 컴퓨터에서 실행되거나, 독립형 소프트웨어 패키지로서 실행되거나, 일부는 사용자의 컴퓨터에서 실행되고 일부는 원격 컴퓨터에서 실행되거나, 또는 완전히 원격 컴퓨터 또는 서버에서 실행될 수 있다. 원격 컴퓨터의 경우, 원격 컴퓨터는 근거리 통신망(LAN) 또는 광역 통신망(WAN)을 포함하는 임의의 종류의 네트워크를 통해 사용자의 컴퓨터에 연결되거나, 또는, 외부 컴퓨터에 연결될 수 있다(예를 들어, 인터넷 서비스 제공 업체를 이용하여 인터넷을 통해 연결). 일부 실시예에서, 컴퓨터 판독 가능 프로그램 명령의 상태 정보를 이용하여, 프로그램 가능 논리 회로, 필드 프로그램 가능 게이트 어레이(FPGA) 또는 프로그램 가능 논리 어레이(PLA)와 같은 전자 회로를 개성화 맞춤하고, 상기 전자 회로는 컴퓨터 판독 가능 프로그램 명령을 실행함으로써 본 발명의 실시예의 각 양태를 구현할 수 있다.The computer program instructions for implementing the operations of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or any combination of one or more programming languages. It can be written source code or object code, and the programming language includes an object-oriented programming language such as Smalltalk, C++, etc., and an existing procedural programming language such as a “C” language or similar programming language. may run entirely on the user's computer, partially on the user's computer, as a standalone software package, in part on the user's computer and partly on the 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 kind of network, including a local area network (LAN) or a wide area network (WAN), or it may be connected to an external computer (eg ; PLA) by personalizing an electronic circuit, the electronic circuit executing computer readable program instructions, thereby implementing each aspect of the embodiment of the present invention.

여기서 본 발명의 실시예의 방법, 장치(시스템) 및 컴퓨터 프로그램 제품의 흐름도 및/또는 블록도를 참조하여 본 발명의 실시예의 각 양태를 설명한다. 흐름도 및/또는 블록도의 각각의 블록 및 흐름도 및/또는 블록도 중 각 블록의 조합은 모두 컴퓨터 판독 가능 프로그램 명령에 의해 구현될 수 있음을 이해해야 한다.Herein, each aspect of an embodiment of the present invention will be described with reference to a flowchart and/or a block diagram of a method, an apparatus (system) and a computer program product of the embodiment of the present invention. It should be understood that each block in the flowcharts and/or block diagrams and combinations of respective blocks in the flowcharts and/or block diagrams may all be implemented by computer readable program instructions.

이러한 컴퓨터 판독 가능 프로그램 명령은 범용 컴퓨터, 전용 컴퓨터 또는 다른 프로그램 가능 데이터 처리 장치의 프로세서에 제공되어 하나의 기계를 생성함으로써, 이러한 명령이 컴퓨터 또는 다른 프로그램 가능 데이터 처리 장치의 프로세서에 의해 실행될 경우, 흐름도 및/또는 블록도 중 하나 또는 다수의 블록에 지정된 기능/동작을 구현하는 장치를 생성할 수 있다. 또한, 이러한 컴퓨터 판독 가능 프로그램 명령을 컴퓨터 판독 가능 저장 매체에 저장할 수 있고, 이러한 명령은 컴퓨터, 프로그램 가능 데이터 처리 장치 및/또는 다른 기기가 특정된 방식으로 작업하도록 함으로써, 명령이 저장된 컴퓨터 판독 가능 매체는 흐름도 및/또는 블록도 중 하나 또는 다수의 블록에 지정된 기능/동작의 각 양태를 구현하는 명령을 포함하는 하나의 제조품을 포함한다.These computer readable program instructions are provided to the processor of a general purpose computer, special purpose computer, or other programmable data processing device to create a machine, such that when these instructions are executed by the processor of the computer or other programmable data processing device, the flow chart and/or devices that implement the functions/acts specified in one or more blocks of the block diagrams. Further, such computer readable program instructions may be stored in a computer readable storage medium, which instructions cause a computer, programmable data processing apparatus, and/or other device to work in a specified manner, thereby causing the computer readable medium having the instructions stored thereon. includes an article of manufacture comprising instructions for implementing each aspect of the functions/acts specified in one or more blocks of the flowchart and/or block diagrams.

또한 컴퓨터 판독 가능 프로그램 명령을 컴퓨터, 다른 프로그램 가능 데이터 처리 장치, 또는 다른 기기에 로딩하여, 컴퓨터, 다른 프로그램 가능 데이터 처리 장치 또는 다른 기기에서 일련의 동작의 단계가 수행되도록 하여, 컴퓨터에 의해 구현되는 프로세스가 생성되도록 함으로써, 컴퓨터, 다른 프로그램 가능 데이터 처리 장치, 또는 다른 기기에서 실행되는 명령이 흐름도 및/또는 블록도 중 하나 또는 다수의 블록에 지정된 기능/동작을 구현하도록 할 수 있다.Also, by loading computer readable program instructions into a computer, other programmable data processing device, or other device, such that the steps of a series of operations are performed on the computer, other programmable data processing device, or other device, the computer-implemented By causing a process to be created, it may cause instructions executing on a computer, other programmable data processing device, or other device to implement functions/acts specified in one or more of the flowcharts and/or block diagrams.

도면의 흐름도 및 블록도는 본 발명의 실시예의 다수의 실시예에 따른 시스템, 방법 및 컴퓨터 프로그램 제품의 구현 가능한 아키텍처, 기능 및 동작을 도시한다. 이 점에서, 흐름도 또는 블록도 중 각 블록은 지정된 논리적 기능을 구현하기 위한 하나 또는 다수의 실행 가능한 명령을 포함하는 모듈, 프로그램 세그먼트 또는 명령의 일부를 나타낼 수 있다. 일부 대안적인 구현에서, 블록에 표기된 기능은 도면에 도시된 것과 다른 순서로 구현될 수도 있음에 유의해야 한다. 예를 들어, 연속적인 2개의 블록은 실제로 기본적으로 병렬 실행될 수 있고, 관련 기능에 따라 때때로 역순으로 실행될 수도 있다. 또한, 블록도 및/또는 흐름도의 각 블록, 및 블록도 및/또는 흐름도 중 블록의 조합은 지정된 기능 또는 동작을 실행하는 전용 하드웨어 기반 시스템에 의해 구현될 수 있거나, 또는 전용 하드웨어와 컴퓨터 명령의 조합에 의해 구현될 수도 있음에 유의해야 한다.The flowchart and block diagrams in the drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products in accordance with a number of embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, program segment, or portion of an instruction comprising one or more executable instructions for implementing a specified logical function. It should be noted that, in some alternative implementations, the functions indicated in the blocks may be implemented in a different order than shown in the figures. For example, two consecutive blocks may actually be executed in parallel by default, and sometimes in reverse order depending on the function involved. Further, each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, may be implemented by a dedicated hardware-based system for executing specified functions or operations, or a combination of dedicated hardware and computer instructions It should be noted that it may be implemented by

상기 컴퓨터 프로그램 제품은 구체적으로 하드웨어, 소프트웨어 또는 이들의 조합으로 구현될 수 있다. 일 선택 가능한 실시예에서, 상기 컴퓨터 프로그램 제품은 구체적으로 컴퓨터 저장 매체로 구현되고, 다른 선택 가능한 실시예에서, 컴퓨터 프로그램 제품은 구체적으로 소프트웨어 개발 키트(Software Development Kit, SDK) 등과 같은 소프트웨어 제품으로 구현된다.The computer program product may be specifically implemented in hardware, software, or a combination thereof. In one selectable embodiment, the computer program product is specifically embodied as a computer storage medium, and in another selectable embodiment, the computer program product is specifically embodied as a software product such as a Software Development Kit (SDK) or the like. do.

이상 내용에서는 본 발명의 실시예의 각 실시예를 이미 설명하였고, 상기 설명은 일부 실시예에서 완전한 것이 아니며, 개시된 각 실시예에 제한되지도 않는다. 설명된 각 실시예의 범위 및 사상을 벗어나지 않는 전제 하에 이루어진 많은 수정 및 변경은 본 기술분야의 통상의 기술자에게 있어서 모두 자명하다. 본 명세서에서 사용된 용어의 선택은 각 실시예의 원리, 실제 응용 또는 시장의 기술에 대한 개선을 가장 잘 설명하거나, 또는 본 기술분야의 다른 통상의 기술자가 본 명세서에 개시된 각 실시예를 이해할 수 있도록 하기 위한 것이다.In the above description, each embodiment of the embodiment of the present invention has already been described, and the description is not exhaustive in some embodiments, nor is it limited to each disclosed embodiment. Many modifications and changes made without departing from the scope and spirit of each described embodiment will be apparent to those skilled in the art. The choice of terminology used herein is chosen to best explain the principle of each embodiment, practical application, or improvement over market technology, or to enable others skilled in the art to understand each embodiment disclosed herein. it is to do

본 발명은 리소스 로딩 방법 및 장치, 전자 기기와 저장 매체 및 프로그램을 제공하여, 제2 전자 기기에 포지셔닝 정보를 송신하며, 상기 포지셔닝 정보는 상기 제2 전자 기기로 하여금 상기 포지셔닝 정보에 따라 상기 제1 전자 기기의 위치 정보를 결정하고, 상기 제1 전자 기기의 위치 정보에 따라 로딩할 증강 현실(AR) 리소스를 결정하도록 하며; 상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스를 수신하고, 상기 로딩할 AR 리소스를 상응하게 표시한다.The present invention provides a resource loading method and apparatus, an electronic device, a storage medium, and a program to transmit positioning information to a second electronic device, wherein the positioning information causes the second electronic device to cause the first electronic device according to the positioning information determine location information of the electronic device, and determine an augmented reality (AR) resource to be loaded according to the location information of the first electronic device; Receive the AR resource to be loaded sent by the second electronic device, and display the AR resource to be loaded accordingly.

Claims (19)

제1 전자 기기에 응용되는 리소스 로딩 방법으로서,
제2 전자 기기에 포지셔닝 정보를 송신하는 단계 - 상기 포지셔닝 정보는 상기 제2 전자 기기로 하여금 상기 포지셔닝 정보에 따라 상기 제1 전자 기기의 위치 정보를 결정하고, 상기 제1 전자 기기의 위치 정보에 따라 로딩할 증강 현실(AR) 리소스를 결정하도록 하기 위한 것임 - ; 및
상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스를 수신하고, 상기 로딩할 AR 리소스를 상응하게 표시하는 단계를 포함하는 리소스 로딩 방법.
A resource loading method applied to a first electronic device, comprising:
Transmitting positioning information to a second electronic device, wherein the positioning information causes the second electronic device to determine the location information of the first electronic device according to the positioning information, and according to the location information of the first electronic device to determine which augmented reality (AR) resource to load; and
and receiving the AR resource to be loaded sent by the second electronic device, and correspondingly displaying the AR resource to be loaded.
제1항에 있어서,
상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스를 수신하고, 상기 로딩할 AR 리소스를 상응하게 표시하는 단계는,
상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스의 식별자 정보를 수신하는 단계;
상기 로딩할 AR 리소스의 식별자 정보에서 타깃 AR 리소스의 식별자 정보를 결정하는 단계;
상기 타깃 AR 리소스의 식별자 정보를 AR 리소스 획득 요청에 반송시키고, 상기 제2 전자 기기에 상기 AR 리소스 획득 요청을 송신하는 단계 - 상기 AR 리소스 획득 요청은 상기 제2 전자 기기로 하여금 상기 AR 리소스 획득 요청에 응답하여 상기 타깃 AR 리소스의 식별자 정보에 대응되는 타깃 AR 리소스를 획득하도록 함 - ; 및
상기 제2 전자 기기에 의해 송신된 상기 타깃 AR 리소스를 수신하고 표시하는 단계를 포함하는 리소스 로딩 방법.
According to claim 1,
Receiving the AR resource to be loaded transmitted by the second electronic device, and correspondingly displaying the AR resource to be loaded,
receiving identifier information of the AR resource to be loaded transmitted by the second electronic device;
determining identifier information of a target AR resource from identifier information of the AR resource to be loaded;
returning the identifier information of the target AR resource to an AR resource acquisition request, and transmitting the AR resource acquisition request to the second electronic device, wherein the AR resource acquisition request causes the second electronic device to request the AR resource acquisition to acquire a target AR resource corresponding to identifier information of the target AR resource in response to; and
and receiving and displaying the target AR resource transmitted by the second electronic device.
제1항에 있어서,
상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스를 수신하고, 상기 로딩할 AR 리소스를 상응하게 표시하는 단계는,
상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스를 수신하는 단계;
상기 로딩할 AR 리소스에서 타깃 AR 리소스를 결정하는 단계; 및
상기 타깃 AR 리소스를 표시하는 단계를 포함하는 리소스 로딩 방법.
According to claim 1,
Receiving the AR resource to be loaded transmitted by the second electronic device, and correspondingly displaying the AR resource to be loaded,
receiving the AR resource to be loaded sent by the second electronic device;
determining a target AR resource from the AR resource to be loaded; and
and displaying the target AR resource.
제1항 내지 제3항 중 어느 한 항에 있어서,
상기 제2 전자 기기에 포지셔닝 정보를 송신하는 단계는,
시간 주기 내에서, 상기 제1 전자 기기가 이동한 거리가 거리 임계값보다 큰 것;
상기 시간 주기 내에서, 상기 제1 전자 기기의 실시간 위치 정보가 포지셔닝 영역 밖에 위치하는 것; 및
이전 시간 주기가 종료되어, 새로운 시간 주기를 시작하는 것; 중 어느 한 상황에 응답하여, 상기 제2 전자 기기에 포지셔닝 정보를 송신하는 단계를 포함하고,
상기 포지셔닝 영역은 상기 시간 주기 초기 시각에 상기 제1 전자 기기에 대응되는 위치 정보를 중심으로 하는 영역인 리소스 로딩 방법.
4. The method according to any one of claims 1 to 3,
Transmitting the positioning information to the second electronic device,
within a time period, the distance traveled by the first electronic device is greater than a distance threshold value;
within the time period, the real-time location information of the first electronic device is located outside a positioning area; and
the previous time period ends, starting a new time period; In response to any one situation, comprising the step of transmitting positioning information to the second electronic device,
The positioning area is an area centered on location information corresponding to the first electronic device at an initial time of the time period.
제2항에 있어서,
상기 로딩할 AR 리소스의 식별자 정보는 AR 리소스 식별자 및 AR 리소스 버전 정보를 포함하고, 상기 로딩할 AR 리소스의 식별자 정보에서 타깃 AR 리소스의 식별자 정보를 결정하는 단계는,
임의의 하나의 로딩할 AR 리소스의 식별자 정보에 대해, 상기 AR 리소스 식별자에 대응되는 AR 리소스가 로컬에 캐싱되지 않을 경우, 또는 로컬에 캐싱된 상기 AR 리소스 식별자에 대응되는 AR 리소스의 AR 리소스 버전 정보와, 상기 AR 리소스 버전 정보가 일치하지 않을 경우, 상기 로딩할 AR 리소스의 식별자 정보가 상기 타깃 AR 리소스의 식별자 정보임을 결정하는 단계를 포함하는 리소스 로딩 방법.
3. The method of claim 2,
The identifier information of the AR resource to be loaded includes an AR resource identifier and AR resource version information, and determining the identifier information of the target AR resource from the identifier information of the AR resource to be loaded includes:
Regarding the identifier information of any one AR resource to be loaded, when the AR resource corresponding to the AR resource identifier is not cached locally, or AR resource version information of the AR resource corresponding to the AR resource identifier cached locally and, when the AR resource version information does not match, determining that the identifier information of the AR resource to be loaded is the identifier information of the target AR resource.
제1항 내지 제5항 중 어느 한 항에 있어서,
상기 포지셔닝 정보에는 상기 제1 전자 기기가 위치한 환경 이미지가 포함되고, 상기 환경 이미지는 상기 제2 전자 기기로 하여금 상기 환경 이미지에 따라 상기 제1 전자 기기의 위치 정보를 결정하도록 하는 리소스 로딩 방법.
6. The method according to any one of claims 1 to 5,
The positioning information includes an environment image in which the first electronic device is located, and the environment image causes the second electronic device to determine location information of the first electronic device according to the environment image.
제2 전자 기기에 응용되는 리소스 로딩 방법으로서,
제1 전자 기기에 의해 송신된 포지셔닝 정보를 수신하는 단계;
상기 포지셔닝 정보에 따라 상기 제1 전자 기기의 위치 정보를 결정하는 단계;
상기 제1 전자 기기의 위치 정보에 따라, 증강 현실(AR) 리소스에서 로딩할 AR 리소스를 결정하는 단계; 및
상기 제1 전자 기기에 상기 로딩할 AR 리소스를 송신하는 단계를 포함하고, 상기 로딩할 AR 리소스는 상기 제1 전자 기기에서 표시되는 리소스 로딩 방법
As a resource loading method applied to a second electronic device,
receiving positioning information transmitted by the first electronic device;
determining location information of the first electronic device according to the positioning information;
determining an AR resource to be loaded from an augmented reality (AR) resource according to the location information of the first electronic device; and
and transmitting the AR resource to be loaded to the first electronic device, wherein the AR resource to be loaded is displayed on the first electronic device
제7항에 있어서,
상기 제1 전자 기기에 상기 로딩할 AR 리소스를 송신하는 단계는,
상기 제1 전자 기기에 상기 로딩할 AR 리소스의 식별자 정보를 송신하는 단계 - 상기 로딩할 AR 리소스의 식별자 정보는 상기 제1 전자 기기로 하여금 상기 로딩할 AR 리소스의 식별자 정보에서 타깃 AR 리소스의 식별자 정보를 결정하도록 함 - ;
상기 제1 전자 기기에 의해 송신된 AR 리소스 획득 요청을 수신하는 단계 - 상기 AR 리소스 획득 요청에는 상기 타깃 AR 리소스의 식별자 정보가 반송됨 - ; 및
상기 AR 리소스 획득 요청에 응답하여, 상기 타깃 AR 리소스의 식별자 정보에 대응되는 타깃 AR 리소스를 획득하고, 상기 제1 전자 기기에 상기 타깃 AR 리소스를 송신하는 단계를 포함하고, 상기 타깃 AR 리소스는 상기 제1 전자 기기에서 표시되는 리소스 로딩 방법.
8. The method of claim 7,
Transmitting the AR resource to be loaded to the first electronic device includes:
transmitting identifier information of the AR resource to be loaded to the first electronic device, wherein the identifier information of the AR resource to be loaded causes the first electronic device to include identifier information of the target AR resource in the identifier information of the AR resource to be loaded - to be determined;
receiving an AR resource acquisition request sent by the first electronic device, wherein identifier information of the target AR resource is returned in the AR resource acquisition request; and
obtaining a target AR resource corresponding to the identifier information of the target AR resource in response to the AR resource acquisition request, and transmitting the target AR resource to the first electronic device, wherein the target AR resource is A resource loading method displayed on the first electronic device.
제7항 또는 제8항에 있어서,
상기 제1 전자 기기의 위치 정보에 따라, 증강 현실(AR) 리소스에서 로딩할 AR 리소스를 결정하는 단계는,
상기 제1 전자 기기의 위치 정보에 따라 로딩할 범위를 결정하는 단계; 및
임의의 하나의 AR 리소스에 대해, 상기 AR 리소스에 대응되는 위치 정보가 상기 로딩할 범위 내에 위치할 경우, 상기 AR 리소스가 로딩할 AR 리소스임을 결정하는 단계를 포함하는 리소스 로딩 방법.
9. The method according to claim 7 or 8,
Determining an AR resource to be loaded from an augmented reality (AR) resource according to the location information of the first electronic device includes:
determining a range to be loaded according to the location information of the first electronic device; and
For any one AR resource, when the location information corresponding to the AR resource is located within the loading range, determining that the AR resource is an AR resource to be loaded.
제9항에 있어서,
상기 제1 전자 기기의 위치 정보에 따라 로딩할 범위를 결정하는 단계는,
범위 구축 데이터를 결정하는 단계; 및
상기 제1 전자 기기의 위치 정보 및 상기 범위 구축 데이터에 따라, 상기 로딩할 범위를 결정하는 단계를 포함하는 리소스 로딩 방법.
10. The method of claim 9,
The step of determining the range to be loaded according to the location information of the first electronic device includes:
determining range building data; and
and determining the range to be loaded according to the location information of the first electronic device and the range establishment data.
제10항에 있어서,
상기 포지셔닝 정보에는 상기 제1 전자 기기의 네트워크 신호 품질 및 상기 제1 전자 기기의 이동 속도 중 적어도 하나가 더 포함되고, 상기 범위 구축 데이터를 결정하는 단계는,
상기 네트워크 신호 품질에 따라, 상기 네트워크 신호 품질과 서로 대응되는 범위 구축 데이터를 결정하는 단계; 및
상기 이동 속도에 따라, 상기 이동 속도와 서로 대응되는 범위 구축 데이터를 결정하는 단계 중 적어도 하나를 포함하는 리소스 로딩 방법.
11. The method of claim 10,
The positioning information further includes at least one of a network signal quality of the first electronic device and a moving speed of the first electronic device, and the determining of the range construction data includes:
determining, according to the network signal quality, range construction data corresponding to the network signal quality; and
Resource loading method comprising at least one of determining, according to the moving speed, range construction data corresponding to the moving speed.
제10항 또는 제11항에 있어서,
상기 제1 전자 기기의 위치 정보 및 상기 범위 구축 데이터에 따라, 상기 로딩할 범위를 결정하는 단계는,
상기 제1 전자 기기의 위치 정보 및 상기 범위 구축 데이터에 따라, 초기 로딩할 범위를 결정하는 단계;
위치 정보가 상기 초기 로딩할 범위 내에 위치하는 AR 리소스의 수량을 결정하는 단계;
상기 AR 리소스의 수량에 따라 상기 범위 구축 데이터를 조정하여, 조정된 범위 구축 데이터를 획득하는 단계; 및
상기 조정된 범위 구축 데이터 및 상기 제1 전자 기기의 위치 정보에 따라, 상기 로딩할 범위를 결정하는 단계를 포함하는 리소스 로딩 방법.
12. The method of claim 10 or 11,
The step of determining the range to be loaded according to the location information of the first electronic device and the range construction data includes:
determining a range to initially load according to the location information of the first electronic device and the range establishment data;
determining the quantity of AR resources located within the range where the location information is to be initially loaded;
adjusting the range building data according to the quantity of the AR resource to obtain adjusted range building data; and
and determining the range to be loaded according to the adjusted range establishment data and the location information of the first electronic device.
제7항에 있어서,
상기 제1 전자 기기의 위치 정보에 따라, 증강 현실(AR) 리소스에서 로딩할 AR 리소스를 결정하는 단계는,
각 AR 리소스의 위치 정보와 상기 제1 전자 기기의 위치 정보 사이의 거리를 결정하는 단계; 및
거리가 작은 것부터 큰 것으로의 순서에 따라 각 AR 리소스를 정렬한 후, 앞에 위치한 기설정된 수량의 AR 리소스를 상기 로딩할 AR 리소스로 결정하는 단계를 포함하는 리소스 로딩 방법.
8. The method of claim 7,
Determining an AR resource to be loaded from an augmented reality (AR) resource according to the location information of the first electronic device includes:
determining a distance between the location information of each AR resource and the location information of the first electronic device; and
A resource loading method comprising the step of arranging each AR resource in the order from smallest distance to largest, and then determining a preset quantity of AR resources located in front as the AR resources to be loaded.
제7항에 있어서,
상기 포지셔닝 정보에는 상기 제1 전자 기기가 위치한 환경 이미지가 포함되고, 상기 포지셔닝 정보에 따라 상기 제1 전자 기기의 위치 정보를 결정하는 단계는,
제1 전자 기기가 위치한 환경 이미지에 따라 상기 제1 전자 기기에 대해 비주얼 포지셔닝을 수행하여, 상기 제1 전자 기기의 위치 정보를 획득하는 단계를 포함하는 리소스 로딩 방법.
8. The method of claim 7,
The positioning information includes an environment image in which the first electronic device is located, and determining the location information of the first electronic device according to the positioning information includes:
A resource loading method comprising: performing visual positioning of the first electronic device according to an environment image in which the first electronic device is located, and acquiring location information of the first electronic device.
제1 전자 기기에 응용되는 리소스 로딩 장치로서,
제2 전자 기기에 포지셔닝 정보를 송신하는 송신 모듈 - 상기 포지셔닝 정보는 상기 제2 전자 기기로 하여금 상기 포지셔닝 정보에 따라 상기 제1 전자 기기의 위치 정보를 결정하고, 상기 제1 전자 기기의 위치 정보에 따라 로딩할 증강 현실(AR) 리소스를 결정하도록 하기 위한 것임 - ; 및
상기 제2 전자 기기에 의해 송신된 상기 로딩할 AR 리소스를 수신하고, 상기 로딩할 AR 리소스를 상응하게 표시하는 수신 모듈을 포함하는 리소스 로딩 장치.
A resource loading device applied to a first electronic device, comprising:
Transmitting module for transmitting positioning information to a second electronic device - The positioning information causes the second electronic device to determine the location information of the first electronic device according to the positioning information, and to the location information of the first electronic device to determine which augmented reality (AR) resource to load according to; and
and a receiving module for receiving the AR resource to be loaded sent by the second electronic device, and correspondingly displaying the AR resource to be loaded.
제2 전자 기기에 응용되는 리소스 로딩 장치로서,
제1 전자 기기에 의해 송신된 포지셔닝 정보를 수신하는 수신 모듈;
상기 포지셔닝 정보에 따라 상기 제1 전자 기기의 위치 정보를 결정하는 제1 결정 모듈;
상기 제1 전자 기기의 위치 정보에 따라, 증강 현실(AR) 리소스에서 로딩할 AR 리소스를 결정하는 제2 결정 모듈; 및
상기 제1 전자 기기에 상기 로딩할 AR 리소스를 송신하는 송신 모듈을 포함하고, 상기 로딩할 AR 리소스는 상기 제1 전자 기기에서 표시되는 리소스 로딩 장치.
As a resource loading device applied to a second electronic device,
a receiving module for receiving the positioning information sent by the first electronic device;
a first determining module configured to determine location information of the first electronic device according to the positioning information;
a second determining module configured to determine an AR resource to be loaded from an augmented reality (AR) resource according to the location information of the first electronic device; and
and a transmission module for transmitting the AR resource to be loaded to the first electronic device, wherein the AR resource to be loaded is displayed on the first electronic device.
전자 기기로서,
프로세서; 및
프로세서에 의해 실행 가능한 명령이 저장되는 메모리를 포함하고,
상기 프로세서는 상기 메모리에 저장된 명령을 호출하여, 제1항 내지 제6항 중 어느 한 항에 따른 방법을 수행하도록 구성되거나; 또는 상기 프로세서는 상기 메모리에 저장된 명령을 호출하여, 제7항 내지 제14항 중 어느 한 항에 따른 방법을 수행하도록 구성되는 전자 기기.
As an electronic device,
processor; and
a memory in which instructions executable by the processor are stored;
the processor is configured to call an instruction stored in the memory to perform the method according to any one of claims 1 to 6; or the processor is configured to call a command stored in the memory to perform the method according to any one of claims 7 to 14.
컴퓨터 판독 가능 저장 매체로서,
컴퓨터 프로그램 명령이 저장되고, 상기 컴퓨터 프로그램 명령이 프로세서에 의해 실행될 경우, 제1항 내지 제6항 중 어느 한 항에 따른 방법이 구현되거나; 또는 상기 컴퓨터 프로그램 명령이 프로세서에 의해 실행될 경우, 제7항 내지 제14항 중 어느 한 항에 따른 방법이 구현되는 컴퓨터 판독 가능 저장 매체.
A computer readable storage medium comprising:
A computer program instruction is stored, and when the computer program instruction is executed by a processor, the method according to any one of claims 1 to 6 is implemented; or a computer readable storage medium on which the method according to any one of claims 7 to 14 is implemented when the computer program instructions are executed by a processor.
컴퓨터 프로그램으로서,
컴퓨터 판독 가능 코드를 포함하고, 상기 컴퓨터 판독 가능 코드가 전자 기기에서 실행될 경우, 상기 전자 기기의 프로세서는 제1항 내지 제6항 중 어느 한 항에 따른 방법을 구현하거나; 또는 상기 전자 기기의 프로세서는 제7항 내지 제14항 중 어느 한 항에 따른 방법을 구현하는 컴퓨터 프로그램.
A computer program comprising:
A computer readable code comprising computer readable code, wherein when the computer readable code is executed in an electronic device, the processor of the electronic device implements the method according to any one of claims 1 to 6; or a computer program in which the processor of the electronic device implements the method according to any one of claims 7 to 14.
KR1020217043247A 2020-11-27 2021-06-04 Resource loading method and apparatus, electronic device and storage medium and program KR20220007171A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN202011357349.2 2020-11-27
CN202011357349.2A CN112437090B (en) 2020-11-27 2020-11-27 Resource loading method and device, electronic equipment and storage medium
PCT/CN2021/098335 WO2022110754A1 (en) 2020-11-27 2021-06-04 Resource loading method and apparatus, electronic device, storage medium, and program

Publications (1)

Publication Number Publication Date
KR20220007171A true KR20220007171A (en) 2022-01-18

Family

ID=80053724

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020217043247A KR20220007171A (en) 2020-11-27 2021-06-04 Resource loading method and apparatus, electronic device and storage medium and program

Country Status (2)

Country Link
JP (1) JP7450641B2 (en)
KR (1) KR20220007171A (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002063598A (en) 2000-08-15 2002-02-28 Shinji Shimojo Virtual space server device and display processor
US20170140457A1 (en) 2014-03-24 2017-05-18 Pioneer Corporation Display control device, control method, program and storage medium
JP2016110245A (en) 2014-12-03 2016-06-20 株式会社T.J.Promotion Display system, display method, computer program, computer readable recording medium
JP6938904B2 (en) 2016-12-14 2021-09-22 富士通株式会社 Transmission control program, transmission control method and information processing device
JP7296406B2 (en) 2019-01-28 2023-06-22 株式会社メルカリ Program, information processing method, and information processing terminal
CN111815779A (en) 2020-06-29 2020-10-23 浙江商汤科技开发有限公司 Object display method and device, positioning method and device and electronic equipment

Also Published As

Publication number Publication date
JP2023507687A (en) 2023-02-27
JP7450641B2 (en) 2024-03-15

Similar Documents

Publication Publication Date Title
US10891031B2 (en) Method and device for displaying task management interface
CN110462572B (en) Electronic device and control method thereof
EP3454192B1 (en) Method and device for displaying page
CN107862514B (en) Bus card management method, device and system and storage medium
CN108463799B (en) Flexible display of electronic device and operation method thereof
EP2963567A1 (en) Method, device, server and terminal for visiting webpage
JP2023505347A (en) Methods and Electronic Devices for Displaying Application Icons
US11341768B2 (en) Face image processing method and apparatus, electronic device, and storage medium
CN110569220B (en) Game resource file display method and device, terminal and storage medium
CN106991018B (en) Interface skin changing method and device
KR20170137445A (en) Method for sharing file and electronic device for the same
CN111147660A (en) Control operation method and electronic equipment
CN105763552B (en) Transmission method, device and system in remote control
CN106155703B (en) Emotional state display method and device
CN110968815B (en) Page refreshing method, device, terminal and storage medium
CN107463372B (en) Data-driven page updating method and device
CN111625315A (en) Page display method and device, electronic equipment and storage medium
CN110968362A (en) Application running method and device and storage medium
CN111275607B (en) Interface display method and device, computer equipment and storage medium
WO2022110754A1 (en) Resource loading method and apparatus, electronic device, storage medium, and program
CN111538451A (en) Weather element display method and device and storage medium
KR20220007171A (en) Resource loading method and apparatus, electronic device and storage medium and program
CN107368562B (en) Page display method and device and terminal
EP3185515A1 (en) Method and device for inputting information
CN114005124A (en) Sampling method and device, electronic equipment and storage medium