[go: up one dir, main page]

CN114547493A - Visualization method and device for CIM engine data and electronic equipment - Google Patents

Visualization method and device for CIM engine data and electronic equipment Download PDF

Info

Publication number
CN114547493A
CN114547493A CN202210161765.8A CN202210161765A CN114547493A CN 114547493 A CN114547493 A CN 114547493A CN 202210161765 A CN202210161765 A CN 202210161765A CN 114547493 A CN114547493 A CN 114547493A
Authority
CN
China
Prior art keywords
resource
data
target resource
browser database
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210161765.8A
Other languages
Chinese (zh)
Other versions
CN114547493B (en
Inventor
赵伟
贾鸣
董军刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Glodon Co Ltd
Original Assignee
Glodon Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Glodon Co Ltd filed Critical Glodon Co Ltd
Priority to CN202210161765.8A priority Critical patent/CN114547493B/en
Publication of CN114547493A publication Critical patent/CN114547493A/en
Application granted granted Critical
Publication of CN114547493B publication Critical patent/CN114547493B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A30/00Adapting or protecting infrastructure or their operation
    • Y02A30/60Planning or developing urban green infrastructure

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to the technical field of CIM engine data visualization, in particular to a visualization method, a visualization device and electronic equipment of CIM engine data, wherein the method comprises the steps of acquiring request resource data, wherein the request resource data comprises a resource identifier of a target resource; querying a browser database based on the resource identification; and when the target resource exists, extracting the target resource from the browser database for visual display. Resources are cached through a browser database, namely an IndexDB webpage end database, network throughput is indirectly improved, time consumption of target resources from scheduling to imaging is effectively reduced, performance of the CIM engine is improved, and visualization efficiency of CIM engine data is improved.

Description

CIM引擎数据的可视化方法、装置及电子设备Visualization method, device and electronic device for CIM engine data

技术领域technical field

本发明涉及CIM引擎数据可视化技术领域,具体涉及CIM引擎数据的可视化方法、装置及电子设备。The invention relates to the technical field of CIM engine data visualization, in particular to a visualization method, device and electronic device for CIM engine data.

背景技术Background technique

城市信息模型(City Information Modeling,简称为CIM),是以城市信息数据为基础,建立起三维城市空间模型和城市信息的有机综合体。从狭义上的数据类型上讲,CIM是由大场景的地理信息系统(Geographic Information System,简称为GIS)数据+建筑信息模型(Building Information Modeling,简称为BIM)数据组成的,是属于智慧城市建设的基础数据。基于BIM和GIS技术的融合,CIM将数据颗粒度精准到城市建筑物内部的单独模块,将静态的传统式数字城市加强为可感知的、实时动态的、虚实交互的智慧城市,为城市综合管理和精细化治理提供了关键的数据支撑。City Information Modeling (CIM for short) is based on city information data to establish an organic complex of three-dimensional city space model and city information. In the narrow sense of data type, CIM is composed of Geographic Information System (GIS for short) data + Building Information Modeling (BIM) data in large scenes, and belongs to smart city construction. basic data. Based on the integration of BIM and GIS technologies, CIM accurately measures the granularity of data to individual modules inside urban buildings, and strengthens a static traditional digital city into a perceptible, real-time dynamic, virtual-real interactive smart city, providing comprehensive urban management. and refined governance provide key data support.

对于CIM引擎数据的可视化一般会有可视化效率的要求,为了提高可视化效率,现有对数据的网络请求一般采用XHR技术,一种优化方法是使用多条worker并行请求数据,绕过浏览器对同一个数据服务器请求的XHR数量限制,加快数据接收效率;另一种采用CDN内容分发网络,该方法需要开启CORS(跨域资源共享)也是绕过浏览器限制的方式。The visualization of CIM engine data generally requires visualization efficiency. In order to improve visualization efficiency, XHR technology is generally used for existing network requests for data. One optimization method is to use multiple workers to request data in parallel, bypassing the browser to The number of XHRs requested by a data server is limited to speed up the efficiency of data reception; the other is to use a CDN content distribution network, which requires enabling CORS (Cross-Origin Resource Sharing), which is also a way to bypass browser restrictions.

然而,加入worker与CDN内容分发网络后,虽提高了吞吐量,确有明显缓解。但请求中的数据不能及时截断,从而腾出带宽以请求更加高优先级的资源,这对CIM中诸如漫游业务的展示,其未能体现出该有的效率增幅。However, after adding workers and CDN content distribution network, although the throughput is improved, it does have obvious relief. However, the data in the request cannot be truncated in time, thereby freeing up bandwidth to request resources of higher priority, which fails to reflect the efficiency increase in the display of roaming services in CIM.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明实施例提供了一种CIM引擎数据的可视化方法、装置及电子设备,以解决可视化效率低的问题。In view of this, embodiments of the present invention provide a visualization method, apparatus, and electronic device for CIM engine data, so as to solve the problem of low visualization efficiency.

根据第一方面,本发明实施例提供了一种CIM引擎数据的可视化方法,包括:According to a first aspect, an embodiment of the present invention provides a method for visualizing CIM engine data, including:

获取请求资源数据,所述请求资源数据包括目标资源的资源标识;Acquiring request resource data, where the request resource data includes a resource identifier of the target resource;

基于所述资源标识在浏览器数据库中进行查询;query in the browser database based on the resource identifier;

当存在所述目标资源时,从所述浏览器数据库中提取所述目标资源,以进行可视化显示。When the target resource exists, the target resource is extracted from the browser database for visual display.

本发明实施例提供的CIM引擎数据的可视化方法,通过浏览器数据库,即IndexedDB网页端数据库对资源进行缓存,间接的提高了网络吞吐量,有效的降低了目标资源从调度到成像的耗时,从而提高CIM引擎的性能,进而提高了CIM引擎数据的可视化效率。The visualization method for CIM engine data provided by the embodiment of the present invention caches resources through a browser database, that is, an IndexedDB web page database, which indirectly improves network throughput and effectively reduces the time-consuming from scheduling to imaging of target resources. Thereby, the performance of the CIM engine is improved, thereby improving the visualization efficiency of the CIM engine data.

结合第一方面,在第一方面第一实施方式中,所述请求资源数据还包括请求实体,所述当存在所述目标资源时,从所述浏览器数据库中提取所述目标资源,以进行可视化显示,包括:With reference to the first aspect, in the first implementation manner of the first aspect, the request resource data further includes a request entity, and when the target resource exists, the target resource is extracted from the browser database to perform Visual display, including:

当存在所述目标资源时,将所述请求实体加入缓存队列中;When the target resource exists, adding the request entity to the cache queue;

从所述缓存队列中提取当前预设数量的请求实体;Extracting a current preset number of request entities from the cache queue;

基于提取出的请求实体,从所述浏览器数据库中提取对应的目标资源,以进行可视化显示。Based on the extracted request entity, the corresponding target resource is extracted from the browser database for visual display.

本发明实施例提供的CIM引擎数据的可视化方法,当前预设数量是一个动态变化的参数,可以保持资源请求与卡顿之间的平衡。In the visualization method of the CIM engine data provided by the embodiment of the present invention, the current preset quantity is a dynamically changing parameter, which can maintain a balance between resource requests and freezes.

结合第一方面第一实施方式,在第一方面第二实施方式中,所述从所述缓存队列中提取当前预设数量的请求实体,包括:With reference to the first embodiment of the first aspect, in the second embodiment of the first aspect, the extracting the current preset number of request entities from the cache queue includes:

获取当前数据状态;Get the current data status;

基于所述当前数据状态确定所述当前预设数量;determining the current preset number based on the current data state;

从所述缓存队列中提取当前预设数量的请求实体。A current preset number of request entities are extracted from the cache queue.

本发明实施例提供的CIM引擎数据的可视化方法,每次提取出的请求实体的数量均是根据当前数据状态确定的,进一步保证了资源请求与卡顿之间的平衡。In the visualization method for CIM engine data provided by the embodiment of the present invention, the number of request entities extracted each time is determined according to the current data state, which further ensures the balance between resource requests and freezes.

结合第一方面第二实施方式,在第一方面第三实施方式中,所述获取当前数据状态包括:With reference to the second implementation manner of the first aspect, in the third implementation manner of the first aspect, the acquiring the current data state includes:

获取当前相机视口的变化状态;Get the change state of the current camera viewport;

基于所述当前相机视口的变化状态确定所述当前数据状态。The current data state is determined based on the changing state of the current camera viewport.

结合第一方面第一实施方式,在第一方面第四实施方式中,所述从所述缓存队列中提取当前预设数量的请求实体,包括:With reference to the first embodiment of the first aspect, in the fourth embodiment of the first aspect, the extracting the current preset number of request entities from the cache queue includes:

获取所述缓存队列中各个请求实体的实时优先级以及丢弃标识的实时值;Obtain the real-time priority of each request entity in the cache queue and the real-time value of the discarding identifier;

基于所述实时优先级以及所述丢弃标识的实时值从所述缓存队列中提取当前预设数量的请求实体。A current preset number of request entities are extracted from the cache queue based on the real-time priority and the real-time value of the discard identifier.

本发明实施例提供的CIM引擎数据的可视化方法,优先级以及丢弃标识均是动态更新的,利用动态更新的优先级以及丢弃标识进行请求实体的提取,可以保证所提取出的请求实体能够满足当前可视化的需求。In the visualization method of the CIM engine data provided by the embodiment of the present invention, both the priority and the discarding flag are dynamically updated. Using the dynamically updated priority and the discarding flag to extract the request entity can ensure that the extracted request entity can meet the current requirements. visualization needs.

结合第一方面第四实施方式,在第一方面第五实施方式中,获取所述缓存队列中各个请求实体的丢弃标识的实时值,包括:With reference to the fourth embodiment of the first aspect, in the fifth embodiment of the first aspect, acquiring the real-time value of the discard identifier of each request entity in the cache queue includes:

查询各个请求实体对应的目标资源是否有更新;Query whether the target resource corresponding to each request entity has been updated;

当存在更新的目标资源时,将存在更新的目标资源对应的请求实体的丢弃标识的实时值设置为预设值。When there is an updated target resource, the real-time value of the discard identifier of the requesting entity corresponding to the updated target resource is set as a preset value.

本发明实施例提供的CIM引擎数据的可视化方法,在浏览器数据库中的资源存在更新时,将其丢弃标识的实时值设置为预设值,当需要提取该资源时,利用该丢弃标识的实时值即可确定该资源发生了更新,以便准确地获取到对应的资源。In the visualization method for CIM engine data provided by the embodiment of the present invention, when the resource in the browser database is updated, the real-time value of the discarded identifier is set as a preset value, and when the resource needs to be extracted, the real-time value of the discarded identifier is used. value to determine that the resource has been updated so that the corresponding resource can be obtained accurately.

结合第一方面第四实施方式,在第一方面第六实施方式中,所述基于提取出的请求实体,从所述浏览器数据库中提取对应的目标资源,以进行可视化显示,包括:With reference to the fourth embodiment of the first aspect, in the sixth embodiment of the first aspect, the corresponding target resource is extracted from the browser database based on the extracted request entity for visual display, including:

当所述请求实体的丢弃标识的实时值为预设值时,基于网络连接从目标存储空间中提取对应的目标资源,以进行可视化显示。When the real-time value of the discarding identifier of the requesting entity is a preset value, the corresponding target resource is extracted from the target storage space based on the network connection for visual display.

结合第一方面,在第一方面第七实施方式中,所述方法还包括:With reference to the first aspect, in a seventh implementation manner of the first aspect, the method further includes:

当不存在所述目标资源时,基于网络连接从目标存储空间中提取对应的目标资源,以进行可视化显示;When the target resource does not exist, extract the corresponding target resource from the target storage space based on the network connection for visual display;

将提取出的目标资源加上时间戳加入所述浏览器数据库中,以更新所述浏览器数据库。The extracted target resource is added to the browser database with a timestamp to update the browser database.

本发明实施例提供的CIM引擎数据的可视化方法,将从目标存储空间中提取出的目标资源加上时间戳加入浏览器数据库中,实现对浏览器数据库的更新,即利用浏览器数据库在本地对相应的资源进行缓存,以提高可视化的效率。The visualization method of the CIM engine data provided by the embodiment of the present invention adds a time stamp to the target resource extracted from the target storage space and adds it to the browser database, so as to realize the update of the browser database. The corresponding resources are cached to improve the efficiency of visualization.

结合第一方面,在第一方面第八实施方式中,所述方法还包括:With reference to the first aspect, in an eighth embodiment of the first aspect, the method further includes:

当所述浏览器数据库中的数据量达到第一数据阈值时,基于所述浏览器数据库中各个资源的时间戳,确定出待删除的资源;When the amount of data in the browser database reaches the first data threshold, determining the resource to be deleted based on the timestamps of each resource in the browser database;

对所述待删除的资源进行回收处理,并更新所述浏览器数据库。The resource to be deleted is recycled, and the browser database is updated.

本发明实施例提供的CIM引擎数据的可视化方法,对浏览器库数据中的数据进行自动回收,从而对浏览器数据库中的资源进行释放,在尽量缓存数据的前提下合理清理过弃历史数据。The visualization method of the CIM engine data provided by the embodiment of the present invention automatically recycles the data in the browser database data, thereby releasing the resources in the browser database, and reasonably cleaning the discarded historical data on the premise of caching the data as much as possible.

结合第一方面第八实施方式,在第一方面第九实施方式中,所述基于所述浏览器数据库中各个资源的时间戳,确定出待删除的资源,包括:With reference to the eighth embodiment of the first aspect, in the ninth embodiment of the first aspect, determining the resource to be deleted based on the timestamp of each resource in the browser database includes:

基于所述各个资源的时间戳,依次提取时间戳最靠前的资源;Based on the time stamps of the respective resources, sequentially extract the resources with the highest time stamps;

判断提取出时间戳最靠前的资源后所述浏览器数据库中剩余资源的数据量是否小于第二数据阈值;Judging whether the data volume of the remaining resources in the browser database after the resource with the highest timestamp is extracted is less than the second data threshold;

当所述浏览器数据库中剩余资源的数据量小于第二数据阈值时,确定提取出的资源为所述待删除的资源。When the data amount of the remaining resources in the browser database is less than the second data threshold, it is determined that the extracted resources are the resources to be deleted.

根据第二方面,本发明实施例还提供了一种CIM引擎数据的可视化装置,包括:According to a second aspect, an embodiment of the present invention also provides a visualization device for CIM engine data, including:

获取模块,用于获取请求资源数据,所述请求资源数据包括目标资源的资源标识;an acquisition module for acquiring requested resource data, where the requested resource data includes a resource identifier of the target resource;

查询模块,用于基于所述资源标识在浏览器数据库中进行查询;a query module for querying in the browser database based on the resource identifier;

可视化模块,用于当存在所述目标资源时,从所述浏览器数据库中提取所述目标资源,以进行可视化显示。The visualization module is configured to extract the target resource from the browser database when the target resource exists, so as to perform visual display.

根据第三方面,本发明实施例提供了一种电子设备,包括:存储器和处理器,所述存储器和所述处理器之间互相通信连接,所述存储器中存储有计算机指令,所述处理器通过执行所述计算机指令,从而执行第一方面或者第一方面的任意一种实施方式中所述的CIM引擎数据的可视化方法。According to a third aspect, an embodiment of the present invention provides an electronic device, including: a memory and a processor, the memory and the processor are connected in communication with each other, the memory stores computer instructions, and the processor By executing the computer instructions, the first aspect or the method for visualizing CIM engine data described in any implementation manner of the first aspect is executed.

根据第四方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行第一方面或者第一方面的任意一种实施方式中所述的CIM引擎数据的可视化方法。According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and the computer instructions are used to cause the computer to execute the first aspect or any one of the first aspect. A visualization method for CIM engine data described in an embodiment.

需要说明的是,本发明实施例提供的CIM引擎数据的可视化装置、电子设备及计算机可读存储介质的相应有益效果,请参见上述CIM引擎数据的可视化方法的对应描述。It should be noted that, for the corresponding beneficial effects of the CIM engine data visualization apparatus, electronic device, and computer-readable storage medium provided by the embodiments of the present invention, please refer to the corresponding description of the above-mentioned CIM engine data visualization method.

附图说明Description of drawings

为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the specific embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the specific embodiments or the prior art. Obviously, the accompanying drawings in the following description The drawings are some embodiments of the present invention, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative efforts.

图1是根据本发明实施例的CIM引擎数据的可视化方法的流程图;1 is a flowchart of a visualization method for CIM engine data according to an embodiment of the present invention;

图2是根据本发明实施例的CIM引擎数据的可视化方法的流程图;2 is a flowchart of a visualization method for CIM engine data according to an embodiment of the present invention;

图3是根据本发明实施例的CIM引擎数据的可视化方法的流程图;3 is a flowchart of a visualization method for CIM engine data according to an embodiment of the present invention;

图4是根据本发明实施例的IndexedDB接入的流程图;4 is a flowchart of IndexedDB access according to an embodiment of the present invention;

图5是根据本发明实施例的保存数据与自动清理流程图;5 is a flowchart of saving data and automatic cleaning according to an embodiment of the present invention;

图6是根据本发明实施例的worker初始化流程;6 is a worker initialization process according to an embodiment of the present invention;

图7是根据本发明实施例的可视化效率的对比示意图;7 is a schematic diagram of a comparison of visualization efficiency according to an embodiment of the present invention;

图8是根据本发明实施例的CIM引擎数据的可视化装置的结构框图;8 is a structural block diagram of an apparatus for visualizing CIM engine data according to an embodiment of the present invention;

图9是本发明实施例提供的电子设备的硬件结构示意图。FIG. 9 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present invention.

对于CIM引擎数据的可视化,为了提高可视化效率,可以将常用资源数据缓存在本地。在缓存在本地可以是将数据直接缓存在磁盘,例如,利用第三方插件或第三方库以突破浏览器读写本地文件的安全限制,将数据直接缓存在磁盘上。For visualization of CIM engine data, in order to improve visualization efficiency, common resource data can be cached locally. The local cache can be to directly cache the data on the disk, for example, use a third-party plug-in or a third-party library to break through the security restrictions of the browser to read and write local files, and cache the data directly on the disk.

然而,上述缓存到磁盘的方案会引入第三方插件或第三方库,这些功能并非为突破浏览器安全而专门设计,还有大量其他功能,不利于整体架构。另外,并发安全与性能其难以与原生浏览器所支持的浏览器数据库,即IndexedDB相比。基于此,本发明实施例提供的CIM引擎数据的可视化方法,通过利用浏览器数据库对资源数据进行缓存与再利用,间接加快数据的获取效率,变相降低CIM引擎对数据的需求量与网络吞吐量的差距。However, the above solution of caching to disk will introduce third-party plug-ins or third-party libraries. These functions are not specially designed to break browser security, and there are a lot of other functions, which are not conducive to the overall architecture. In addition, concurrency safety and performance are difficult to compare with the browser database supported by native browsers, namely IndexedDB. Based on this, the visualization method for CIM engine data provided by the embodiments of the present invention indirectly accelerates the data acquisition efficiency by using the browser database to cache and reuse resource data, and reduces the data demand and network throughput of the CIM engine in a disguised form difference.

根据本发明实施例,提供了一种CIM引擎数据的可视化方法实施例,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。According to an embodiment of the present invention, an embodiment of a method for visualizing CIM engine data is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings may be executed in a computer system such as a set of computer-executable instructions, and , although a logical order is shown in the flowcharts, in some cases steps shown or described may be performed in an order different from that herein.

在本实施例中提供了一种CIM引擎数据的可视化方法,可用于电子设备,如电脑、平板电脑、服务器等,图1是根据本发明实施例的CIM引擎数据的可视化方法的流程图,如图1所示,该流程包括如下步骤:A method for visualizing CIM engine data is provided in this embodiment, which can be used for electronic devices, such as computers, tablet computers, servers, etc. FIG. 1 is a flowchart of a method for visualizing CIM engine data according to an embodiment of the present invention, such as As shown in Figure 1, the process includes the following steps:

S11,获取请求资源数据。S11, obtain the requested resource data.

其中,请求资源数据包括目标资源的资源标识。Wherein, the requested resource data includes the resource identifier of the target resource.

请求资源数据,也可以认为是资源请求,在该资源请求中包括有目标资源的资源标识。其中,目标资源即为所要请求的资源,后续是利用该目标资源的数据在界面上进行可视化展示。Requesting resource data may also be considered as a resource request, and the resource request includes the resource identifier of the target resource. Among them, the target resource is the resource to be requested, and the data of the target resource is subsequently used to visually display on the interface.

S12,基于资源标识在浏览器数据库中进行查询。S12, query the browser database based on the resource identifier.

浏览器数据库,即上述的IndexedDB,其用于存储缓存的资源数据。在该浏览器数据库中,各个资源数据与资源标识对应,每个资源数据均对应有唯一的资源标识。The browser database, the above-mentioned IndexedDB, is used to store cached resource data. In the browser database, each resource data corresponds to a resource identifier, and each resource data corresponds to a unique resource identifier.

例如,电子设备利用主线程接管原有请求资源程序的执行,将逻辑流导向接管函数。该接管函数会利用资源标识在浏览器数据库中进行查询,判断是否存在对应的缓存资源数据。For example, the electronic device uses the main thread to take over the execution of the original requesting resource program, and directs the logic flow to the takeover function. The takeover function will use the resource identifier to query the browser database to determine whether there is corresponding cached resource data.

S13,当存在目标资源时,从浏览器数据库中提取目标资源,以进行可视化显示。S13, when the target resource exists, extract the target resource from the browser database for visual display.

电子设备在浏览器数据库中查询到目标资源之后,可以直接从浏览器数据库中提取出该目标资源进行可视化显示。或者,在并发数较多的情况下,电子设备可以先将该请求资源数据加入缓存队列中,等候后续处理。后续线程每次从缓存队列中提取出一定数量的请求进行处理,以进行可视化显示。After the electronic device queries the target resource in the browser database, it can directly extract the target resource from the browser database for visual display. Alternatively, in the case of a large number of concurrency, the electronic device may first add the requested resource data to the cache queue and wait for subsequent processing. Subsequent threads extract a certain number of requests from the cache queue for processing each time for visual display.

关于该步骤具体将在下文中进行详细描述。This step will be described in detail below.

本实施例提供的CIM引擎数据的可视化方法,通过浏览器数据库,即IndexedDB网页端数据库对资源进行缓存,间接的提高了网络吞吐量,有效的降低了目标资源从调度到成像的耗时,从而提高CIM引擎的性能,进而提高了CIM引擎数据的可视化效率。The visualization method of the CIM engine data provided by this embodiment caches resources through the browser database, that is, the IndexedDB web page database, which indirectly improves the network throughput and effectively reduces the time-consuming of target resources from scheduling to imaging, thereby Improve the performance of the CIM engine, thereby improving the visualization efficiency of the CIM engine data.

在本实施例的一些可选实施方式中,上述方法还可以包括:In some optional implementations of this embodiment, the above method may further include:

(1)当不存在目标资源时,基于网络连接从目标存储空间中提取对应的目标资源,以进行可视化显示。(1) When the target resource does not exist, extract the corresponding target resource from the target storage space based on the network connection for visual display.

(2)将提取出的目标资源加上时间戳加入浏览器数据库中,以更新浏览器数据库。(2) The extracted target resource is added to the browser database with a timestamp to update the browser database.

当浏览器数据库中不存在目标资源时,表示该目标资源在本地并无缓存,还是需要通过网络连接从相应的目标存储空间中进行提取,以进行可视化显示。其中,目标存储空间是根据实际需求进行设置,在此对其并不做任何限定。例如,可以在利用CIM引擎数据进行可视化之前,对其进行目标存储空间的设置。在确定出浏览器数据库中不存在目标资源时,通过网络连接直接从目标存储空间中进行提取。When the target resource does not exist in the browser database, it means that the target resource is not cached locally, and still needs to be extracted from the corresponding target storage space through a network connection for visual display. Among them, the target storage space is set according to actual requirements, and no limitation is made here. For example, the target storage space can be set before using the CIM engine data for visualization. When it is determined that the target resource does not exist in the browser database, it is directly extracted from the target storage space through a network connection.

电子设备在提取出目标资源之后,一方面用于后续的可视化显示,另一方面将该目标资源加入到浏览器数据库中。同时,还将提取该目标资源的时间戳一并加入到浏览器数据库中。需要说明的是,该目标资源对应的时间戳,可以是请求资源数据对应的时间戳,也可以是提取到该目标资源的时间戳,等等,在此对其并不做任何限定,具体根据实际需求进行设置即可。After the electronic device extracts the target resource, on the one hand, it is used for subsequent visual display, and on the other hand, the target resource is added to the browser database. At the same time, the time stamp of extracting the target resource is also added to the browser database. It should be noted that the timestamp corresponding to the target resource may be the timestamp corresponding to the requested resource data, or the timestamp of the extracted target resource, etc., which are not limited here. The actual needs can be set.

将从目标存储空间中提取出的目标资源加上时间戳加入浏览器数据库中,实现对浏览器数据库的更新,即利用浏览器数据库在本地对相应的资源进行缓存,以提高可视化的效率。The target resources extracted from the target storage space are added to the browser database with timestamps added to update the browser database, that is, the corresponding resources are cached locally by using the browser database to improve the visualization efficiency.

在本实施例中提供了一种CIM引擎数据的可视化方法,可用于电子设备,如电脑、平板电脑、服务器等,图2是根据本发明实施例的CIM引擎数据的可视化方法的流程图,如图2所示,该流程包括如下步骤:In this embodiment, a method for visualizing CIM engine data is provided, which can be used for electronic devices, such as computers, tablet computers, servers, etc. FIG. 2 is a flowchart of the method for visualizing CIM engine data according to an embodiment of the present invention, such as As shown in Figure 2, the process includes the following steps:

S21,获取请求资源数据。S21, obtain the requested resource data.

其中,请求资源数据包括目标资源的资源标识。Wherein, the requested resource data includes the resource identifier of the target resource.

详细请参见图1所示实施例的S11,在此不再赘述。For details, please refer to S11 of the embodiment shown in FIG. 1 , which will not be repeated here.

S22,基于资源标识在浏览器数据库中进行查询。S22, query in the browser database based on the resource identifier.

详细请参见图1所示实施例的S12,在此不再赘述。For details, please refer to S12 of the embodiment shown in FIG. 1 , which will not be repeated here.

S23,当存在目标资源时,从浏览器数据库中提取目标资源,以进行可视化显示。S23, when the target resource exists, extract the target resource from the browser database for visual display.

具体地,上述S23包括:Specifically, the above S23 includes:

S231,当存在目标资源时,将请求实体加入缓存队列中。S231, when the target resource exists, add the request entity to the cache queue.

在确定出浏览器数据库中存在目标资源时,电子设备将该请求资源数据中的请求实体加入到缓存队列中。其中,缓存队列的长度是根据实际需求进行设置的。When it is determined that the target resource exists in the browser database, the electronic device adds the request entity in the request resource data to the cache queue. Among them, the length of the cache queue is set according to actual needs.

可选地,在将请求实体加入到缓存队列之前,先判读该缓存队列是否已满。当缓存队列已满时,将该请求实体置于等待状态,以等待缓存队列空闲。当缓存队列未满时,将该请求实体加入到缓存队列中。Optionally, before adding the request entity to the cache queue, it is first judged whether the cache queue is full. When the cache queue is full, the requesting entity is placed in a waiting state to wait for the cache queue to become free. When the cache queue is not full, the request entity is added to the cache queue.

S232,从缓存队列中提取当前预设数量的请求实体。S232 , extract the currently preset number of request entities from the cache queue.

对于缓存队列的处理,电子设备可以启动处理线程对其进行处理。该处理线程每次从缓存队列中提取出当前预设数量的请求实体进行处理,其中,当前预设数量的具体数值是与当前数据状态相关,为动态变化数值。For the processing of the cache queue, the electronic device may start a processing thread to process it. The processing thread extracts the currently preset number of request entities from the cache queue each time for processing, wherein the specific value of the current preset number is related to the current data state and is a dynamically changing value.

在本实施例的一些可选实施方式中,上述S232可以包括:In some optional implementations of this embodiment, the foregoing S232 may include:

(1)获取当前数据状态。(1) Get the current data status.

(2)基于当前数据状态确定当前预设数量。(2) Determine the current preset number based on the current data state.

(3)从缓存队列中提取当前预设数量的请求实体。(3) Extract the currently preset number of request entities from the cache queue.

当前数据状态包括但不限于当前网络状态、目标资源的数量体量以及相机状态等等。其中,相机状态表示渲染视口的状态。The current data status includes, but is not limited to, the current network status, the quantity and volume of target resources, and the camera status, etc. Among them, the camera state represents the state of the rendering viewport.

电子设备对当前数据状态进行分析,在此基础上确定当前预设数量。例如,电子设备可以仅对当前网络状态进行分析,若网络状态较好,则当前预设数量的值较大;若网络状态不佳,则当前预设数量的值较小等等。或者,电子设备也可以利用上述两个或多个进行融合判断,确定当前数据状态以确定当前预设数量。The electronic device analyzes the current data state, and determines the current preset quantity on this basis. For example, the electronic device may only analyze the current network state. If the network state is good, the value of the current preset number is larger; if the network state is not good, the value of the current preset number is smaller, and so on. Alternatively, the electronic device may also perform fusion judgment by using two or more of the above, and determine the current data state to determine the current preset number.

作为本实施例的一个具体应用实例,上述S232的步骤(1)包括:As a specific application example of this embodiment, step (1) of the above S232 includes:

1.1)获取当前相机视口的变化状态。1.1) Get the change state of the current camera viewport.

1.2)基于当前相机视口的变化状态确定当前数据状态。1.2) Determine the current data state based on the change state of the current camera viewport.

其中,当前相机视口的变化状态包括慢启动与快恢复。电子设备每次进行请求实体的提取时,均记录相机视口的状态。当发现相机变化(移动或者旋转)缓慢时,会逐渐加大当前预设数量;当相机有明显变化则立刻恢复当前预设数量到初始状态。Among them, the change state of the current camera viewport includes slow start and fast recovery. The state of the camera viewport is recorded each time the electronic device extracts the requested entity. When it is found that the camera changes (moving or rotating) slowly, the current preset number will be gradually increased; when the camera changes significantly, the current preset number will be restored to the initial state immediately.

由于每次提取出的请求实体的数量均是根据当前数据状态确定的,进一步保证了资源请求与卡顿之间的平衡。Since the number of request entities extracted each time is determined according to the current data state, the balance between resource requests and freezes is further ensured.

在本实施例的另一些可选实施方式中,上述S232还可以包括:In other optional implementation manners of this embodiment, the foregoing S232 may further include:

(1)获取缓存队列中各个请求实体的实时优先级以及丢弃标识的实时值。(1) Obtain the real-time priority of each request entity in the cache queue and the real-time value of the discarding flag.

(2)基于实时优先级以及丢弃标识的实时值从缓存队列中提取当前预设数量的请求实体。(2) Extracting a current preset number of request entities from the cache queue based on the real-time priority and the real-time value of the discarding flag.

对应于缓存队列中的各个请求实体而言,其优先级以及丢弃标识均是动态变化的参数。具体地,优先级是根据渲染过程中相机视口的位置或相互之间的遮挡关系等等进行确定。丢弃标识,是随着可视化的处理过程,发现一些不满足继续被请求的状态而丢弃。例如,该资源已经有新的版本,等等。Corresponding to each request entity in the cache queue, its priority and discarding flag are dynamically changing parameters. Specifically, the priority is determined according to the position of the camera viewport or the occlusion relationship between them during the rendering process. The discarding flag is discarded when it is found that some statuses that do not satisfy the request continue to be discarded along with the visual processing process. For example, the resource already has a new version, etc.

电子设备在从缓存队列中提取请求实体时,可以基于各个请求实体的实时优先级进行排序,再在排序的基础上结合各个请求实体的丢弃标识的实时值,从而提取出当前预设数量的请求实体。When the electronic device extracts the request entities from the cache queue, it can sort based on the real-time priority of each request entity, and then combine the real-time value of the discard identifier of each request entity on the basis of sorting, so as to extract the current preset number of requests. entity.

优先级以及丢弃标识均是动态更新的,利用动态更新的优先级以及丢弃标识进行请求实体的提取,可以保证所提取出的请求实体能够满足当前可视化的需求。Both the priority and the discarding flag are dynamically updated. Using the dynamically updated priority and the discarding flag to extract the request entity can ensure that the extracted request entity can meet the current visualization requirements.

具体地,获取缓存队列中各个请求实体的丢弃标识的实时值,包括:Specifically, obtain the real-time value of the discard identifier of each request entity in the cache queue, including:

1.1)查询各个请求实体对应的目标资源是否有更新。1.1) Query whether the target resource corresponding to each request entity has been updated.

1.2)当存在更新的目标资源时,将存在更新的目标资源对应的请求实体的丢弃标识的实时值设置为预设值。1.2) When there is an updated target resource, the real-time value of the discard identifier of the requesting entity corresponding to the updated target resource is set as a preset value.

在电子设备的CIM引擎启动,或电子设备启动时,电子设备查询缓存队列中各个请求实体对应的目标资源是否有更新。在存在更新时,将存在更新的目标资源对应的请求实体的丢弃标识的实时值设置为预设值。When the CIM engine of the electronic device is started, or when the electronic device is started, the electronic device queries whether the target resources corresponding to each requesting entity in the cache queue are updated. When there is an update, the real-time value of the discard identifier of the requesting entity corresponding to the updated target resource is set as a preset value.

例如,若目标资源未更新,则将其丢弃标识的实时值设置为0;否则,将其丢弃标识的实时值设置为1。For example, if the target resource is not updated, set the real-time value of its discard flag to 0; otherwise, set the real-time value of its discard flag to 1.

对于预设值而言,其可以采用数字区分,也可以采用字符区分,等等。在此对其具体形式并不做任何限定,可以根据实际需求进行设置,只需保证能够区分未更新的目标资源与更新的目标资源即可。For the preset value, it can be distinguished by numbers, or by characters, and so on. There is no restriction on its specific form here, and it can be set according to actual needs, as long as it is ensured that the target resource that has not been updated and the target resource that has been updated can be distinguished.

在浏览器数据库中的资源存在更新时,将其丢弃标识的实时值设置为预设值,当需要提取该资源时,利用该丢弃标识的实时值即可确定该资源发生了更新,以便准确地获取到对应的资源。When the resource in the browser database is updated, the real-time value of the discarded identifier is set as a preset value. When the resource needs to be extracted, the real-time value of the discarded identifier can be used to determine that the resource has been updated, so as to accurately Obtain the corresponding resources.

S233,基于提取出的请求实体,从浏览器数据库中提取对应的目标资源,以进行可视化显示。S233, based on the extracted request entity, extract the corresponding target resource from the browser database for visual display.

关于该步骤详细请参见图1所示实施例的S13,在此不再赘述。For details of this step, please refer to S13 of the embodiment shown in FIG. 1 , which will not be repeated here.

在本实施例的一些可选实施方式中,上述S233可以包括:In some optional implementations of this embodiment, the foregoing S233 may include:

当所述请求实体的丢弃标识的实时值为预设值时,基于网络连接从目标存储空间中提取对应的目标资源,以进行可视化显示。When the real-time value of the discarding identifier of the requesting entity is a preset value, the corresponding target resource is extracted from the target storage space based on the network connection for visual display.

电子设备在确定出请求实体的丢弃标识的实时值为预设值时,标识其对应的目标资源发生更新,则电子设备基于网络连接从目标存储空间中提取出对应的目标资源,从而获得最新的目标资源进行可视化显示。When the electronic device determines that the real-time value of the discarding identifier of the requesting entity is a preset value, and identifies that the corresponding target resource is updated, the electronic device extracts the corresponding target resource from the target storage space based on the network connection, thereby obtaining the latest update. The target resource is displayed visually.

本发明实施例提供的CIM引擎数据的可视化方法,当前预设数量是一个动态变化的参数,可以保持资源请求与卡顿之间的平衡。In the visualization method of the CIM engine data provided by the embodiment of the present invention, the current preset quantity is a dynamically changing parameter, which can maintain a balance between resource requests and freezes.

在本实施例中提供了一种CIM引擎数据的可视化方法,可用于电子设备,如电脑、平板电脑、服务器等,图3是根据本发明实施例的CIM引擎数据的可视化方法的流程图,如图3所示,该流程包括如下步骤:In this embodiment, a method for visualizing CIM engine data is provided, which can be used for electronic devices, such as computers, tablet computers, servers, etc. FIG. 3 is a flowchart of a method for visualizing CIM engine data according to an embodiment of the present invention, such as As shown in Figure 3, the process includes the following steps:

S31,获取请求资源数据。S31, obtain the requested resource data.

其中,请求资源数据包括目标资源的资源标识。Wherein, the requested resource data includes the resource identifier of the target resource.

详细请参见图1所示实施例的S11,在此不再赘述。For details, please refer to S11 of the embodiment shown in FIG. 1 , which will not be repeated here.

S32,基于资源标识在浏览器数据库中进行查询。S32, query in the browser database based on the resource identifier.

详细请参见图1所示实施例的S12,在此不再赘述。For details, please refer to S12 of the embodiment shown in FIG. 1 , which will not be repeated here.

S33,当存在目标资源时,从浏览器数据库中提取目标资源,以进行可视化显示。S33, when the target resource exists, extract the target resource from the browser database for visual display.

详细请参见图2所示实施例的S23,在此不再赘述。For details, please refer to S23 of the embodiment shown in FIG. 2 , which will not be repeated here.

S34,当浏览器数据库中的数据量达到第一数据阈值时,基于浏览器数据库中各个资源的时间戳,确定出待删除的资源。S34, when the amount of data in the browser database reaches the first data threshold, determine the resource to be deleted based on the time stamps of each resource in the browser database.

电子设备可以是每隔一段时间对浏览器数据库中的数据量进行判断,也可以是在每次写入资源之后进行判断,等等。在确定出浏览器数据库中的数据量达到第一数据阈值时,表示此时需要对浏览器数据中的数据进行回收。对于数据的回收,电子设备是基于浏览器数据库中各个资源的时间戳进行的,对时间戳最靠前的资源确定为待删除的资源。The electronic device may judge the amount of data in the browser database at regular intervals, or after each resource is written, and so on. When it is determined that the amount of data in the browser database reaches the first data threshold, it means that the data in the browser data needs to be recovered at this time. For data recovery, the electronic device performs the retrieval based on the time stamps of each resource in the browser database, and determines the resource with the highest time stamp as the resource to be deleted.

例如,每次可以回收最早的N个资源,或者,每次回收一个资源,再判断浏览器数据中剩余资源的数据量是否小于某个阈值,在小于某个阈值时,则确定出待删除的资源。For example, the earliest N resources can be reclaimed each time, or one resource can be reclaimed each time, and then it is determined whether the data amount of the remaining resources in the browser data is less than a certain threshold. resource.

在本实施例的一些可选实施方式中,上述S34包括:In some optional implementations of this embodiment, the above S34 includes:

(1)基于所述各个资源的时间戳,依次提取时间戳最靠前的资源。(1) Based on the time stamps of the respective resources, sequentially extract the resources with the highest time stamps.

(2)判断提取出时间戳最靠前的资源后浏览器数据库中剩余资源的数据量是否小于第二数据阈值。(2) Judging whether the data amount of the remaining resources in the browser database after the resource with the highest timestamp is extracted is less than the second data threshold.

(3)当浏览器数据库中剩余资源的数据量小于第二数据阈值时,确定提取出的资源为待删除的资源。(3) When the data amount of the remaining resources in the browser database is less than the second data threshold, it is determined that the extracted resources are resources to be deleted.

具体地,电子设备判断浏览器数据库中的数据量,判断该值是否超过第一阈值上限,例如图4中的阈值B。当超过的话启动资源回收worker,然后返回,没有超过直接返回。Specifically, the electronic device determines the amount of data in the browser database, and determines whether the value exceeds the upper limit of the first threshold, for example, the threshold B in FIG. 4 . When it exceeds, start the resource recovery worker, and then return, and return directly if it does not exceed.

启动的资源回收worker是个在引擎启动时已被初始化的就绪线程,该线程会依据浏览器数据库中的时间戳进行排序。电子设备从最老旧数据开始,每遍历一份已存资源,记录其资源标识符与累加后的资源大小,同时判断剩余资源大小是否低于第二数据阈值下限,例如,图4中的阈值A。当低于下限后,终止遍历,返回记录的所有资源标识符,抛给主线程做进一步处理。The started resource recycling worker is a ready thread that is initialized when the engine starts, and the thread is sorted according to the timestamp in the browser database. Starting from the oldest data, the electronic device traverses each existing resource, records its resource identifier and the accumulated resource size, and at the same time judges whether the remaining resource size is lower than the lower limit of the second data threshold, for example, the threshold in Figure 4 A. When it is lower than the lower limit, the traversal is terminated, and all resource identifiers recorded are returned and thrown to the main thread for further processing.

S35,对待删除的资源进行回收处理,并更新浏览器数据库。S35: Recycle the resource to be deleted, and update the browser database.

主线程得到待删除的资源后,通知资源回收线程执行清理任务,并更新浏览器数据库。在本实施例中,对待删除的资源的回收处理的方式并不做任何限定,具体根据实际需求进行设置。After the main thread gets the resource to be deleted, it notifies the resource recycling thread to perform the cleaning task and update the browser database. In this embodiment, the manner of recycling and processing the resource to be deleted is not limited, and is specifically set according to actual requirements.

本发明实施例提供的CIM引擎数据的可视化方法,对浏览器库数据中的数据进行自动回收,从而对浏览器数据库中的资源进行释放,在尽量缓存数据的前提下合理清理过弃历史数据。The visualization method of the CIM engine data provided by the embodiment of the present invention automatically recycles the data in the browser database data, thereby releasing the resources in the browser database, and reasonably cleaning the discarded historical data on the premise of caching the data as much as possible.

需要说明的是,S34-S35的顺序并不限于图3所示,其可以是与S31-S33并行处理,也可以是在S31-S33之前处理等等,在此对其并不做任何限定。It should be noted that the sequence of S34-S35 is not limited to that shown in FIG. 3, it may be processed in parallel with S31-S33, or may be processed before S31-S33, etc., which is not limited herein.

作为本实施例的一个具体应用实例,如图4所示,该方法包括:As a specific application example of this embodiment, as shown in FIG. 4 , the method includes:

1)请求资源数据:主线程接管原有请求资源程序的执行,将逻辑流导向接管函数,该函数会利用资源标识符URL判断浏览器数据库中是否存在缓存数据,存在的话将请求实体数据结构推入缓存队列B,在本地获取数据后同步给下游;不存在的话将该请求实体按照原有逻辑处理;对于存在资源,但缓存队列B已满无法继续推入的情况,直接结束,等待下次循环逻辑继续请求;1) Request resource data: The main thread takes over the execution of the original request resource program, and directs the logic flow to the takeover function, which uses the resource identifier URL to determine whether there is cached data in the browser database, and if so, pushes the request entity data structure. Enter the cache queue B, obtain the data locally and synchronize it to the downstream; if it does not exist, the request entity will be processed according to the original logic; if there are resources, but the cache queue B is full and cannot be pushed further, end directly and wait for the next time The loop logic continues the request;

1.1)在引擎循环程序中,加入新的函数调用。该函数会将已经在缓存队列B中的所有请求实体进行过弃清理与优先级排序;其中过弃清理部分会依据请求实体中动态更新的丢弃标记进行,优先级排序依据动态更新的优先级进行,需自行实现排序算法,本方法使用堆排序;1.1) In the engine loop program, add a new function call. This function will perform discard cleanup and priority sorting for all request entities already in cache queue B; the discard cleanup part will be performed according to the dynamically updated discard flag in the request entity, and the priority order will be performed based on the dynamically updated priority , you need to implement the sorting algorithm yourself, this method uses heap sorting;

1.2)弹出优先级高的前X个请求实体(参见1.3),异步读取其本地数据,拿到具体的资源数据后,通知下游程序开始执行;缓存队列B中其他请求实体等待下次循环被执行,或被抛弃或因优先级变高而请求数据;1.2) Pop up the first X request entities with high priority (see 1.3), read their local data asynchronously, and notify the downstream program to start execution after getting the specific resource data; other request entities in the cache queue B wait for the next cycle to be executed. Executed, or discarded or requested data due to higher priority;

1.3)为了在资源请求与卡顿之间平衡,前X个请求实体将会是一个动态变化的参数。由于相机视口的状态包括慢启动与快恢复,在每次循环中记录相机的状态,当发现相机变化(移动或者旋转)缓慢时,会逐渐加大每帧请求的资源数量,而相机若有明显变化立刻恢复该值到初始状态;1.3) In order to balance resource requests and freezes, the first X request entities will be a dynamically changing parameter. Since the state of the camera viewport includes slow start and fast recovery, the state of the camera is recorded in each loop. When the camera is found to change (moving or rotating) slowly, the amount of resources requested per frame will gradually increase. Significant changes immediately restore the value to the initial state;

2)保存资源:通过原有程序请求的资源,在数据接收到后,除了继续执行其既定下游程序外,还需要刷新资源表,然后将其保存到IndexedDB中,保存过程经由worker执行,主线程需将数据与资源标识符抛向worker,以使得worker进行资源保存以及后续的资源回收。相应地,包括保存worker以及资源回收worker。2) Save resources: After the data is received for the resources requested by the original program, in addition to continuing to execute its established downstream program, it is also necessary to refresh the resource table, and then save it to IndexedDB. The saving process is executed by the worker, and the main thread The data and resource identifiers need to be thrown to the worker, so that the worker can save resources and then recycle resources. Correspondingly, including saving workers and resource recycling workers.

关于资源回收worker的工作原理如图5所示,其中,所述的资源表示用于记录浏览器数据库中的资源状态,例如,各个资源的时间戳以及大小等等。关于各个worker之间的相互调用关系如图6所示。其中,图4-图5中虚线部分表示的是异步流程,通过异步处理实现。The working principle of the resource recovery worker is shown in Figure 5, wherein the resource representation is used to record the resource status in the browser database, for example, the time stamp and size of each resource, and so on. The mutual invocation relationship between various workers is shown in Figure 6. Among them, the dashed part in Fig. 4-Fig. 5 represents the asynchronous process, which is realized by asynchronous processing.

本实施例提供的CIM引擎数据的可视化方法,通过多worker方式协同工作,增加计算机有效利用率。对CIM业务而言,其受众一般为组织并非个人,宿主机也并无太多其他进程执行,在本方法中合理的利用worker,不但提高了模型呈像效率,而且增加了宿主机的有效利用率,降低了宿主机的物理成本。同时,由于CIM业务数据体量巨大,数据变化也比较频繁,引擎对数据的使用与持有无法做到永久缓存,本方法在尽量缓存数据的前提下合理清理过弃历史数据,理论上将有限的IndexedDB存储量提升到无限,为CIM引擎带来持续高效的可视化效率。The visualization method of the CIM engine data provided in this embodiment increases the effective utilization rate of the computer by working together in a multi-worker manner. For CIM services, the audience is generally organizations rather than individuals, and the host does not have many other processes to execute. Reasonable use of workers in this method not only improves the efficiency of model rendering, but also increases the effective use of the host. rate, reducing the physical cost of the host. At the same time, due to the huge volume of CIM business data and frequent data changes, the use and holding of data by the engine cannot be permanently cached. This method reasonably cleans the discarded historical data on the premise of caching the data as much as possible, which will theoretically be limited. The storage capacity of IndexedDB is increased to unlimited, bringing continuous and efficient visualization efficiency to the CIM engine.

与前端引擎请求网络资源相比,本方法通过IndexedDB网页端数据库对资源进行缓存,间接的提高了网络吞吐量,有效的降低了目标数据从调度到成像的耗时,从而提高CIM引擎的性能。同时对浏览器数据库中的资源进行自动清除,使支持大体量数据成为可能。如图7所示,是某一场景测试数据在接入IndexedDB前后的对比,图中显示成像效率提高了51.3%,客观判断该结果具有局部性与数据种类的单一性,理论上对于多源异构的数据,其提升的幅度亦不会太低。Compared with the front-end engine requesting network resources, this method caches resources through the IndexedDB web page database, which indirectly improves the network throughput, effectively reduces the time-consuming of target data from scheduling to imaging, and improves the performance of the CIM engine. At the same time, the resources in the browser database are automatically cleared, making it possible to support a large amount of data. As shown in Figure 7, it is a comparison of the test data of a certain scene before and after accessing IndexedDB. The figure shows that the imaging efficiency has increased by 51.3%. It is objectively judged that the result is localized and the data type is single. In theory, for multi-source heterogeneity If the data is constructed, the rate of improvement will not be too low.

在本实施例的一些可选实施方式中,在本实施例中还可以采用如下方式提升CIM引擎数据的可视化效率:In some optional implementations of this embodiment, in this embodiment, the visualization efficiency of the CIM engine data may also be improved in the following manner:

提升CIM引擎模型可视化效率的方法尚有如下可行的途径:There are still the following feasible ways to improve the visualization efficiency of the CIM engine model:

1)使用HTTP2.0新协议,能很大提升网络吞吐量;1) Using the new HTTP2.0 protocol can greatly improve network throughput;

2)缓存解析后的网络数据,免去再利用时对其重复解析的性能损耗,该方案会增加IndexedDB接入的复杂度;2) Cache the parsed network data to avoid the performance loss of repeated parsing when reused. This solution will increase the complexity of IndexedDB access;

3)使用websocket,免去HTTP协议端到端的沟通成本;3) Use websocket to avoid the end-to-end communication cost of HTTP protocol;

4)相机视口(类似相机视野)偏移,无论是网络数据还是本地数据,要绘制首先要请求,而请求的前提是在相机视野内,这是即时性的;可以考虑记录相机历史状态,从而“预判性”的提前请求数据,理论上会加快模型的可视化效率。4) The offset of the camera viewport (similar to the camera field of view), whether it is network data or local data, must be requested first to draw, and the premise of the request is within the camera field of view, which is instant; you can consider recording the camera history status, As a result, the "predictive" request for data in advance will theoretically speed up the visualization efficiency of the model.

在本实施例中还提供了一种CIM引擎数据的可视化装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a visualization device for CIM engine data is also provided, and the device is used to implement the above-mentioned embodiments and preferred implementation manners, which have been described and will not be repeated. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, implementations in hardware, or a combination of software and hardware, are also possible and contemplated.

本实施例提供一种CIM引擎数据的可视化装置,如图8所示,包括:This embodiment provides a visualization device for CIM engine data, as shown in FIG. 8 , including:

获取模块41,用于获取请求资源数据,所述请求资源数据包括目标资源的资源标识;an acquisition module 41, configured to acquire requested resource data, where the requested resource data includes a resource identifier of the target resource;

查询模块42,用于基于所述资源标识在浏览器数据库中进行查询;a query module 42, configured to perform a query in the browser database based on the resource identifier;

可视化模块43,用于当存在所述目标资源时,从所述浏览器数据库中提取所述目标资源,以进行可视化显示。The visualization module 43 is configured to extract the target resource from the browser database when the target resource exists, so as to display it visually.

本实施例中的CIM引擎数据的可视化装置是以功能单元的形式来呈现,这里的单元是指ASIC电路,执行一个或多个软件或固定程序的处理器和存储器,和/或其他可以提供上述功能的器件。The visualization device of the CIM engine data in this embodiment is presented in the form of functional units, where units refer to ASIC circuits, processors and memories that execute one or more software or fixed programs, and/or other devices that can provide the above functional device.

上述各个模块的更进一步的功能描述与上述对应实施例相同,在此不再赘述。Further functional descriptions of the above-mentioned modules are the same as those of the above-mentioned corresponding embodiments, and are not repeated here.

本发明实施例还提供一种电子设备,具有上述图8所示的CIM引擎数据的可视化装置。An embodiment of the present invention further provides an electronic device having the apparatus for visualizing the CIM engine data shown in FIG. 8 .

请参阅图9,图9是本发明可选实施例提供的一种电子设备的结构示意图,如图9所示,该电子设备可以包括:至少一个处理器51,例如CPU(Central Processing Unit,中央处理器),至少一个通信接口53,存储器54,至少一个通信总线52。其中,通信总线52用于实现这些组件之间的连接通信。其中,通信接口53可以包括显示屏(Display)、键盘(Keyboard),可选通信接口53还可以包括标准的有线接口、无线接口。存储器54可以是高速RAM存储器(Random Access Memory,易挥发性随机存取存储器),也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器54可选的还可以是至少一个位于远离前述处理器51的存储装置。其中处理器51可以结合图8所描述的装置,存储器54中存储应用程序,且处理器51调用存储器54中存储的程序代码,以用于执行上述任一方法步骤。Please refer to FIG. 9. FIG. 9 is a schematic structural diagram of an electronic device provided by an optional embodiment of the present invention. As shown in FIG. 9, the electronic device may include: at least one processor 51, such as a CPU (Central Processing Unit, central processing unit). processor), at least one communication interface 53, memory 54, at least one communication bus 52. Among them, the communication bus 52 is used to realize the connection and communication between these components. Wherein, the communication interface 53 may include a display screen (Display) and a keyboard (Keyboard), and the optional communication interface 53 may also include a standard wired interface and a wireless interface. The memory 54 may be a high-speed RAM memory (Random Access Memory, volatile random access memory), or may be a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 54 can optionally also be at least one storage device located away from the aforementioned processor 51 . The processor 51 may be combined with the device described in FIG. 8 , the memory 54 stores application programs, and the processor 51 calls the program codes stored in the memory 54 for executing any of the above method steps.

其中,通信总线52可以是外设部件互连标准(peripheral componentinterconnect,简称PCI)总线或扩展工业标准结构(extended industry standardarchitecture,简称EISA)总线等。通信总线52可以分为地址总线、数据总线、控制总线等。为便于表示,图9中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus 52 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus or the like. The communication bus 52 can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in FIG. 9, but it does not mean that there is only one bus or one type of bus.

其中,存储器54可以包括易失性存储器(英文:volatile memory),例如随机存取存储器(英文:random-access memory,缩写:RAM);存储器也可以包括非易失性存储器(英文:non-volatile memory),例如快闪存储器(英文:flash memory),硬盘(英文:hard diskdrive,缩写:HDD)或固态硬盘(英文:solid-state drive,缩写:SSD);存储器54还可以包括上述种类的存储器的组合。The memory 54 may include volatile memory (English: volatile memory), such as random-access memory (English: random-access memory, abbreviation: RAM); the memory may also include non-volatile memory (English: non-volatile memory) memory), such as flash memory (English: flash memory), hard disk (English: hard diskdrive, abbreviation: HDD) or solid-state drive (English: solid-state drive, abbreviation: SSD); the memory 54 may also include the above-mentioned types of memory The combination.

其中,处理器51可以是中央处理器(英文:central processing unit,缩写:CPU),网络处理器(英文:network processor,缩写:NP)或者CPU和NP的组合。The processor 51 may be a central processing unit (English: central processing unit, abbreviation: CPU), a network processor (English: network processor, abbreviation: NP), or a combination of CPU and NP.

其中,处理器51还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(英文:application-specific integrated circuit,缩写:ASIC),可编程逻辑器件(英文:programmable logic device,缩写:PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(英文:complex programmable logic device,缩写:CPLD),现场可编程逻辑门阵列(英文:field-programmable gate array,缩写:FPGA),通用阵列逻辑(英文:generic arraylogic,缩写:GAL)或其任意组合。The processor 51 may further include a hardware chip. The above-mentioned hardware chip may be an application-specific integrated circuit (English: application-specific integrated circuit, abbreviation: ASIC), a programmable logic device (English: programmable logic device, abbreviation: PLD) or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (English: complex programmable logic device, abbreviation: CPLD), a field programmable gate array (English: field-programmable gate array, abbreviation: FPGA), a general array logic (English: generic arraylogic , abbreviation: GAL) or any combination thereof.

可选地,存储器54还用于存储程序指令。处理器51可以调用程序指令,实现如本申请任一实施例中所示的CIM引擎数据的可视化方法。Optionally, memory 54 is also used to store program instructions. The processor 51 may invoke program instructions to implement the visualization method of CIM engine data as shown in any embodiment of the present application.

本发明实施例还提供了一种非暂态计算机存储介质,所述计算机存储介质存储有计算机可执行指令,该计算机可执行指令可执行上述任意方法实施例中的CIM引擎数据的可视化方法。其中,所述存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)、随机存储记忆体(Random Access Memory,RAM)、快闪存储器(Flash Memory)、硬盘(Hard Disk Drive,缩写:HDD)或固态硬盘(Solid-State Drive,SSD)等;所述存储介质还可以包括上述种类的存储器的组合。Embodiments of the present invention further provide a non-transitory computer storage medium, where the computer storage medium stores computer-executable instructions, where the computer-executable instructions can execute the method for visualizing CIM engine data in any of the foregoing method embodiments. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a flash memory (Flash Memory), a hard disk (Hard) Disk Drive, abbreviation: HDD) or solid-state drive (Solid-State Drive, SSD), etc.; the storage medium may also include a combination of the above-mentioned types of memories.

虽然结合附图描述了本发明的实施例,但是本领域技术人员可以在不脱离本发明的精神和范围的情况下做出各种修改和变型,这样的修改和变型均落入由所附权利要求所限定的范围之内。Although the embodiments of the present invention have been described with reference to the accompanying drawings, various modifications and variations can be made by those skilled in the art without departing from the spirit and scope of the present invention, and such modifications and variations fall within the scope of the appended claims within the limits of the requirements.

Claims (13)

1.一种CIM引擎数据的可视化方法,其特征在于,包括:1. a visualization method of CIM engine data, is characterized in that, comprises: 获取请求资源数据,所述请求资源数据包括目标资源的资源标识;Acquiring request resource data, where the request resource data includes a resource identifier of the target resource; 基于所述资源标识在浏览器数据库中进行查询;query in the browser database based on the resource identifier; 当存在所述目标资源时,从所述浏览器数据库中提取所述目标资源,以进行可视化显示。When the target resource exists, the target resource is extracted from the browser database for visual display. 2.根据权利要求1所述的方法,其特征在于,所述请求资源数据还包括请求实体,所述当存在所述目标资源时,从所述浏览器数据库中提取所述目标资源,以进行可视化显示,包括:2 . The method according to claim 1 , wherein the request resource data further comprises a request entity, and when the target resource exists, the target resource is extracted from the browser database to perform 2 . Visual display, including: 当存在所述目标资源时,将所述请求实体加入缓存队列中;When the target resource exists, adding the request entity to the cache queue; 从所述缓存队列中提取当前预设数量的请求实体;Extracting a current preset number of request entities from the cache queue; 基于提取出的请求实体,从所述浏览器数据库中提取对应的目标资源,以进行可视化显示。Based on the extracted request entity, the corresponding target resource is extracted from the browser database for visual display. 3.根据权利要求2所述的方法,其特征在于,所述从所述缓存队列中提取当前预设数量的请求实体,包括:3. The method according to claim 2, wherein the extracting a current preset number of request entities from the cache queue comprises: 获取当前数据状态;Get the current data status; 基于所述当前数据状态确定所述当前预设数量;determining the current preset number based on the current data state; 从所述缓存队列中提取当前预设数量的请求实体。A current preset number of request entities are extracted from the cache queue. 4.根据权利要求3所述的方法,其特征在于,所述获取当前数据状态包括:4. The method according to claim 3, wherein the obtaining the current data state comprises: 获取当前相机视口的变化状态;Get the change state of the current camera viewport; 基于所述当前相机视口的变化状态确定所述当前数据状态。The current data state is determined based on the changing state of the current camera viewport. 5.根据权利要求2所述的方法,其特征在于,所述从所述缓存队列中提取当前预设数量的请求实体,包括:5. The method according to claim 2, wherein the extracting a current preset number of request entities from the cache queue comprises: 获取所述缓存队列中各个请求实体的实时优先级以及丢弃标识的实时值;Obtain the real-time priority of each request entity in the cache queue and the real-time value of the discarding identifier; 基于所述优先级以及所述丢弃标识从所述缓存队列中提取当前预设数量的请求实体。Extracting a current preset number of request entities from the cache queue based on the priority and the discard identifier. 6.根据权利要求5所述的方法,其特征在于,获取所述缓存队列中各个请求实体的丢弃标识的实时值,包括:6. The method according to claim 5, wherein acquiring the real-time value of the discarding identifier of each requesting entity in the cache queue comprises: 查询各个请求实体对应的目标资源是否有更新;Query whether the target resource corresponding to each request entity has been updated; 当存在更新的目标资源时,将存在更新的目标资源对应的请求实体的丢弃标识的实时值设置为预设值。When there is an updated target resource, the real-time value of the discard identifier of the requesting entity corresponding to the updated target resource is set as a preset value. 7.根据权利要求5所述的方法,其特征在于,所述基于提取出的请求实体,从所述浏览器数据库中提取对应的目标资源,以进行可视化显示,包括:7. The method according to claim 5, wherein, based on the extracted request entity, extracting corresponding target resources from the browser database for visual display, comprising: 当所述请求实体的丢弃标识的实时值为预设值时,基于网络连接从目标存储空间中提取对应的目标资源,以进行可视化显示。When the real-time value of the discarding identifier of the requesting entity is a preset value, the corresponding target resource is extracted from the target storage space based on the network connection for visual display. 8.根据权利要求1所述的方法,其特征在于,所述方法还包括:8. The method of claim 1, wherein the method further comprises: 当不存在所述目标资源时,基于网络连接从目标存储空间中提取对应的目标资源,以进行可视化显示;When the target resource does not exist, extract the corresponding target resource from the target storage space based on the network connection for visual display; 将提取出的目标资源加上时间戳加入所述浏览器数据库中,以更新所述浏览器数据库。The extracted target resource is added to the browser database with a timestamp to update the browser database. 9.根据权利要求1所述的方法,其特征在于,所述方法还包括:9. The method of claim 1, wherein the method further comprises: 当所述浏览器数据库中的数据量达到第一数据阈值时,基于所述浏览器数据库中各个资源的时间戳,确定出待删除的资源;When the amount of data in the browser database reaches the first data threshold, determining the resource to be deleted based on the timestamps of each resource in the browser database; 对所述待删除的资源进行回收处理,并更新所述浏览器数据库。The resource to be deleted is recycled, and the browser database is updated. 10.根据权利要求9所述的方法,其特征在于,所述基于所述浏览器数据库中各个资源的时间戳,确定出待删除的资源,包括:10. The method according to claim 9, wherein, determining the resource to be deleted based on the timestamp of each resource in the browser database, comprising: 基于所述各个资源的时间戳,依次提取时间戳最靠前的资源;Based on the time stamps of the respective resources, sequentially extract the resources with the highest time stamps; 判断提取出时间戳最靠前的资源后所述浏览器数据库中剩余资源的数据量是否小于第二数据阈值;Judging whether the data volume of the remaining resources in the browser database after the resource with the highest timestamp is extracted is less than the second data threshold; 当所述浏览器数据库中剩余资源的数据量小于第二数据阈值时,确定提取出的资源为所述待删除的资源。When the data amount of the remaining resources in the browser database is less than the second data threshold, it is determined that the extracted resources are the resources to be deleted. 11.一种CIM引擎数据的可视化装置,其特征在于,包括:11. A visualization device for CIM engine data, characterized in that, comprising: 获取模块,用于获取请求资源数据,所述请求资源数据包括目标资源的资源标识;an acquisition module for acquiring requested resource data, where the requested resource data includes a resource identifier of the target resource; 查询模块,用于基于所述资源标识在浏览器数据库中进行查询;a query module for querying in the browser database based on the resource identifier; 可视化模块,用于当存在所述目标资源时,从所述浏览器数据库中提取所述目标资源,以进行可视化显示。The visualization module is configured to extract the target resource from the browser database when the target resource exists, so as to perform visual display. 12.一种电子设备,其特征在于,包括:12. An electronic device, characterized in that, comprising: 存储器和处理器,所述存储器和所述处理器之间互相通信连接,所述存储器中存储有计算机指令,所述处理器通过执行所述计算机指令,从而执行权利要求1-10中任一项所述的CIM引擎数据的可视化方法。A memory and a processor, the memory and the processor are connected in communication with each other, the memory stores computer instructions, and the processor executes any one of claims 1-10 by executing the computer instructions The visualization method of the CIM engine data. 13.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机指令,所述计算机指令用于使计算机执行权利要求1-10中任一项所述的CIM引擎数据的可视化方法。13. A computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to cause a computer to execute the CIM engine data according to any one of claims 1-10 visualization method.
CN202210161765.8A 2022-02-22 2022-02-22 CIM engine data visualization method and device and electronic equipment Active CN114547493B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210161765.8A CN114547493B (en) 2022-02-22 2022-02-22 CIM engine data visualization method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210161765.8A CN114547493B (en) 2022-02-22 2022-02-22 CIM engine data visualization method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN114547493A true CN114547493A (en) 2022-05-27
CN114547493B CN114547493B (en) 2025-08-15

Family

ID=81676780

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210161765.8A Active CN114547493B (en) 2022-02-22 2022-02-22 CIM engine data visualization method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114547493B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116257712A (en) * 2023-03-10 2023-06-13 智道网联科技(北京)有限公司 Browser-based high-precision map data processing method, device, equipment and medium

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050060498A1 (en) * 2003-09-15 2005-03-17 Curtis John D. Method, system and program product for caching data objects
US8078483B1 (en) * 2003-12-16 2011-12-13 Ticketmaster Systems and methods for queuing access to network resources
US20120054319A1 (en) * 2010-08-31 2012-03-01 International Business Machines Corporation Efficient response of common information model (cim) server
CN103927781A (en) * 2014-05-06 2014-07-16 苏州中科图新网络科技有限公司 Vision correlation model progressive rendering method on three-dimensional scene
CN106598966A (en) * 2015-10-14 2017-04-26 阿里巴巴集团控股有限公司 Webpage processing method and device
CN108133044A (en) * 2018-01-12 2018-06-08 适普远景遥感信息技术(北京)有限公司 Space big data three-dimensional visualization method and platform based on attribute separation
CN109886838A (en) * 2019-01-29 2019-06-14 杭州凌望建筑科技有限公司 Smart city operation management platform based on CIM
CN110287432A (en) * 2019-06-28 2019-09-27 北京金山安全软件有限公司 Network information processing method and device and electronic equipment
CN110362776A (en) * 2019-07-23 2019-10-22 深圳前海微众银行股份有限公司 Browser front-end data storage method, device, equipment and readable storage medium storing program for executing
CN110795395A (en) * 2018-07-31 2020-02-14 阿里巴巴集团控股有限公司 File deployment system and file deployment method
CN110795166A (en) * 2019-10-28 2020-02-14 深圳前海微众银行股份有限公司 Data processing method and device
CN112598993A (en) * 2020-12-25 2021-04-02 平安国际智慧城市科技股份有限公司 CIM-based city map platform visualization method and device and related products
CN113190773A (en) * 2021-04-07 2021-07-30 Oppo广东移动通信有限公司 Rendering method of display data, electronic equipment, mobile terminal and storage medium
CN113312572A (en) * 2021-05-17 2021-08-27 深圳市中科明望通信软件有限公司 Resource processing method and device, storage medium and electronic equipment
CN113806655A (en) * 2021-09-26 2021-12-17 北京沃东天骏信息技术有限公司 Data processing method and device, electronic equipment and storage medium

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050060498A1 (en) * 2003-09-15 2005-03-17 Curtis John D. Method, system and program product for caching data objects
US8078483B1 (en) * 2003-12-16 2011-12-13 Ticketmaster Systems and methods for queuing access to network resources
US20120054319A1 (en) * 2010-08-31 2012-03-01 International Business Machines Corporation Efficient response of common information model (cim) server
CN103927781A (en) * 2014-05-06 2014-07-16 苏州中科图新网络科技有限公司 Vision correlation model progressive rendering method on three-dimensional scene
CN112231606A (en) * 2015-10-14 2021-01-15 创新先进技术有限公司 Web page processing method and device
CN106598966A (en) * 2015-10-14 2017-04-26 阿里巴巴集团控股有限公司 Webpage processing method and device
CN108133044A (en) * 2018-01-12 2018-06-08 适普远景遥感信息技术(北京)有限公司 Space big data three-dimensional visualization method and platform based on attribute separation
CN110795395A (en) * 2018-07-31 2020-02-14 阿里巴巴集团控股有限公司 File deployment system and file deployment method
CN109886838A (en) * 2019-01-29 2019-06-14 杭州凌望建筑科技有限公司 Smart city operation management platform based on CIM
CN110287432A (en) * 2019-06-28 2019-09-27 北京金山安全软件有限公司 Network information processing method and device and electronic equipment
CN110362776A (en) * 2019-07-23 2019-10-22 深圳前海微众银行股份有限公司 Browser front-end data storage method, device, equipment and readable storage medium storing program for executing
CN110795166A (en) * 2019-10-28 2020-02-14 深圳前海微众银行股份有限公司 Data processing method and device
CN112598993A (en) * 2020-12-25 2021-04-02 平安国际智慧城市科技股份有限公司 CIM-based city map platform visualization method and device and related products
CN113190773A (en) * 2021-04-07 2021-07-30 Oppo广东移动通信有限公司 Rendering method of display data, electronic equipment, mobile terminal and storage medium
CN113312572A (en) * 2021-05-17 2021-08-27 深圳市中科明望通信软件有限公司 Resource processing method and device, storage medium and electronic equipment
CN113806655A (en) * 2021-09-26 2021-12-17 北京沃东天骏信息技术有限公司 Data processing method and device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116257712A (en) * 2023-03-10 2023-06-13 智道网联科技(北京)有限公司 Browser-based high-precision map data processing method, device, equipment and medium

Also Published As

Publication number Publication date
CN114547493B (en) 2025-08-15

Similar Documents

Publication Publication Date Title
CN113419824B (en) Data processing method, device and system and computer storage medium
US10031948B1 (en) Idempotence service
CN111522786A (en) Log processing system and method
EP4318257A1 (en) Method and apparatus for processing data, reduction server, and mapping server
WO2024021492A1 (en) Data recycling method and apparatus, electronic device, and storage medium
CN117675799A (en) File transmission method and device, electronic equipment and storage medium
CN105786997A (en) IOS-system-based image caching and compression method
CN107391402A (en) A kind of data operating method, device and a kind of data operation card
CN110493250A (en) A kind of WEB front-end ARCGIS resource request processing method and processing device
CN114547493A (en) Visualization method and device for CIM engine data and electronic equipment
CN117632860A (en) Method and device for merging small files based on Flink engine and electronic equipment
CN116541354A (en) Log retrieval method, device, computer equipment and storage medium
CN117850659A (en) Cache space adjustment method, device, electronic device and medium
CN116126813A (en) Data processing method and device, electronic equipment and storage medium
CN111061719B (en) Data collection method, device, equipment and storage medium
CN111984196A (en) A file migration method, apparatus, device and readable storage medium
CN119760267A (en) Front-end data processing method, system, terminal and storage medium
CN114995748B (en) Request processing method and device
CN114296946B (en) Data processing method and device and server
CN112699116A (en) Data processing method and system
CN109739883A (en) Promote the method, apparatus and electronic equipment of data query performance
CN110413689A (en) A kind of the multinode method of data synchronization and device of memory database
CN115048595A (en) Data acquisition method, device, terminal and storage medium
CN115794749A (en) Mobile terminal data extraction method, device, equipment and storage medium
CN115525219A (en) Object data storage method, device and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant