zh
stringlengths
10
277
en
stringlengths
3
239k
通过导入转换器将数据格式转换成系统运行的数据格式。
The data format is converted to the data format in which the system runs through the import converter.
通过使用本发明,使得异构媒资平台之间的元数据共享成为现实,也使专业的编目人员能在固定的编目基地完成各地媒资系统的内容编目任务,实现“一处编目,出处使用”,并能支持异地内容管理编目、异构内容管理平台。
By using the invention, metadata sharing between heterogeneous media asset platforms becomes a reality, and professional catalogers can complete content cataloging tasks of local media asset systems in fixed cataloging bases, realizing "one place cataloging, source use", and supporting remote content management cataloging and heterogeneous content management platforms.
公开了一种基于爬虫的自动化差异检测方法及装置。
An automated difference detection method and device based on crawler are disclosed.
一种在客户端设备处的方法包括显示与媒体项集合对应的媒体库信息。
One method at the client device includes displaying media library information corresponding to a collection of media items.
媒体项包括一个或者多个本地媒体项和一个或者多个远程媒体项,该一个或者多个本地媒体项包括在客户端设备处存储的媒体项,该一个或者多个远程媒体项包括在远程系统处存储而未在客户端设备处存储的媒体项。
Media items include one or more local media items and one or more remote media items. One or more local media items include media items that are stored on the client device. One or more remote media items include media items that are stored on the remote system but not on the client device.
该方法还包括:与显示媒体库信息并发地显示标识远程媒体项的供给;
The method also includes: display a supply of identifying remote media items concurrently with display media library information;
检测与标识相应远程媒体项的供给的用户交互;
Detect and identify user interactions with the provision of the corresponding remote media item;
以及响应于检测到用户交互,发起用于向客户端设备下载相应远程媒体项的副本以用于在客户端设备处存储的过程。
And, in response to the detection of user interaction, initiates a procedure for downloading a copy of the corresponding remote media item to the client device for storage on the client device.
本发明一种根据页面展示需求产生不同规格的缩略图方法,该方法首先设定页面展示需求需要的缩略图规格,并在图片服务器中创建相应的目录,当用户上传图片时图片按比例生产规格不同的缩略图,存放到图片服务器,这样网页展示时根据需要的规格从相应的目录中提交图片。
The invention provides a thumbnail method of producing different specifications according to page display requirements. The method first sets thumbnail specifications required by page display requirements, and creates corresponding directories in the picture server. When users upload pictures, thumbnails of different specifications are produced proportionally and stored in the picture server.
通过建立目录,将页面规格的信息存储到图片服务器,生成多个页面规格的缩略图,用户可直接根据需要读取相应的缩略图,能够最大限度发挥页面展示的效果。
By establishing a directory, the information of page specifications is stored to the picture server, and multiple thumbnails of page specifications are generated. Users can directly read the corresponding thumbnails according to their needs, which can maximize the effect of page display.
本发明公开了一种用于分布式数据库的连接查询方法及系统,所述方法包括:在主控节点获取连接计算命令时,其依据该连接计算命令生成多个连接计算子命令并分发到多个相应的非主控节点;
The invention discloses a connection query method and system for distributed database. The method comprises: when a master node obtains a connection calculation command, it generates a plurality of connection calculation sub-commands according to the connection calculation command and distributes them to a plurality of corresponding non-master nodes;
主控节点汇总所有结果,并发送给客户端。
The master node summarizes all the results and sends them to the client.
通过本发明,在发起查询命令时,能够有效地提高在整个系统中进行查询的准确性,能够极大的降低系统网络通信开销,有效提高系统的计算速度,从而保证分布式数据库系统查询的高可靠性。
The invention can effectively improve the accuracy of the query in the whole system, greatly reduce the network communication overhead of the system, effectively improve the calculation speed of the system, and ensure the high reliability of the distributed database system query when launching the query command.
主控节点进一步地依据基表的分布信息向相应的非主控节点发送依据所述连接计算命令而生成的连接计算子命令;
The main control node further sends the connection calculation subcommand generated according to the connection calculation command to the corresponding non-main control node based on the distribution information of the base table;
以及非主控节点响应所述请求并删除存储于本地的临时文件。
And the non-master node responds to the request and deletes the temporary file stored locally.
本发明提供一种区块链系统、区块查找方法和区块链后向同步方法,该区块查找方法包括:读取本地节点所存储区块链的最新区块中的多重验证码集合;
The invention provides a block chain system, a block search method and a backward synchronization method of the block chain. The block search method comprises: reading a set of multiple verification codes in the latest block of the block chain stored by a local node;
获取所查找区块的第一序号,计算出所查找区块所对应的索引区块的第二序号;
Obtain the first sequence number of the searched block and calculate the second sequence number of the index block corresponding to the searched block;
根据所述第二序号在所读取的多重验证码集合中查找对应的第二验证码;
Search the corresponding second verification code in the multiple verification code set read according to the second sequence number;
获取第二验证码对应的索引区块并验证,从中读取自然验证码集合并查找第一序号对应的第一验证码;
Obtain the index block corresponding to the second verification code and verify it, read the natural verification code set from it and find the first verification code corresponding to the first sequence number;
获取第一验证码对应的所查找区块并验证。
Obtain the searched block corresponding to the first verification code and verify it.
获取第一验证码对应的所查找区块并验证;
Obtain the searched block corresponding to the first verification code and verify it;
根据所记录的各序号计算出对应的各索引区块的序号;
The serial number of each index block is calculated according to the serial number recorded;
根据所计算出的各索引区块的序号在本地查找各索引区块:若未查找到,则根据权利要求4所述的区块查找方法获取所查找的索引区块;
Search each index block locally according to the calculated serial number of each index block: if it is not found, the searched index block is obtained according to the block search method described in Claim 4;
根据所记录的各序号在所查找到的各索引区块中获取对应的各验证码,根据各验证码获取对应的各所需同步区块并验证。
Obtain the corresponding verification code from the found index block according to the recorded serial number, and obtain the corresponding required synchronization block according to the verification code and verify.
存储器,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器执行以下至少一项方法:如权利要求4所述的区块查找方法,如权利要求5所述的区块链后向同步方法。
Memory for storing one or more programs that, when executed by one or more processors, cause one or more processors to perform at least one of the following methods: a block lookup method as described in claim 4, a block chain backward synchronization method as described in claim 5.
本发明公开了一种实时数据存储的方法,包括:读取预设的配置信息,并根据读取的配置信息确定内存映射块的数量;
The invention discloses a real-time data storage method, which comprises: reading preset configuration information and determining the number of memory mapping blocks according to the read configuration information;
根据所确定的内存映射块的数量对内存映射文件进行分块;
Partition the memory mapped file according to the determined number of memory mapped blocks;
以内存映射块为单位执行数据的实时存取操作。
Perform real-time data access operations in memory mapping blocks.
本发明还公开了一种实时数据存储的系统,采用内存映射文件分块存取的方式使系统可以并行处理多个数据请求,从而提升系统性能;
The invention also discloses a real-time data storage system, which adopts the memory-mapped file block access mode to enable the system to process multiple data requests in parallel, thus improving the system performance;
由于分块的数量可以根据实际需要进行配置,使得方案的伸缩性较好。
Because the number of blocks can be configured according to actual needs, the scheme has a good scalability.
在匹配成功时,根据读取的配置信息确定所述内存映射文件中的内存映射块的数量;
When the matching succeeds, the number of memory mapping blocks in the memory mapping file is determined according to the configuration information read;
在匹配失败时,根据生成的内存映射文件名新创建一个内存映射文件,并根据读取的配置信息确定新创建的内存映射文件中的内存映射块的数量。
If the matching fails, a memory mapping file is created based on the generated memory mapping file name, and the number of memory mapping blocks in the newly created memory mapping file is determined based on the read configuration information.
基于关于感兴趣的话题的搜索查询来获得初始的多个搜索结果。
Get initial multiple search results based on search queries about topics of interest.
进行关于是否对所述初始的多个搜索结果执行聚类的确定。
Makes a determination as to whether to perform clustering on the initial multiple search results.
在确定不对搜索结果执行聚类时,提供具有初始的多个搜索结果的用户界面。
Provide a user interface with initial multiple search results when it is determined not to cluster search results.
在确定对初始的多个搜索结果执行聚类时,提供具有经修改的多个搜索结果的用户界面。
Provides a user interface with modified multiple search results when clustering is determined on the initial multiple search results.
该用户界面将所述经修改的多个搜索结果中的第一结果定位邻近所述经修改的多个搜索结果中的第二搜索结果的位置处。
The user interface locates the first result of the modified multiple search results near the location of the second search result of the modified multiple search results.
第一搜索结果与通道相关联且第二搜索结果与所述通道相关联。
The first search result is associated with the channel and the second search result is associated with the channel.
通过工厂方法生成第二标签,并监听第二标签中加载页面完成的事件;
The second tag is generated by factory method, and the event of loading page in the second tag is monitored.
将浅克隆对象注入第二标签中的页面,获取第三标签,并修正第三标签中的页面;
The shallow clone object is injected into the page in the second tag, the third tag is obtained, and the page in the third tag is corrected;
执行修正后第三标签加载页面的回调,生成浏览器中的页面。
Perform the callback for the third TAB to load the page after the correction, generating the page in the browser.
一种图像检索装置及图像检索方法。
The invention relates to an image retrieval device and an image retrieval method.
该图像检索装置具有:特征量数据抽出部(103),从关键字图像数据中抽出多个类型(例如,颜色配置特征量、纹理特征量、形状特征量)的特征量数据;
The image retrieval device has the following features: a feature quantity data extraction section (103), which extracts feature quantity data of multiple types (for example, color configuration feature quantity, texture feature quantity, shape feature quantity) from keyword image data;
适合性判断部(104),对于特征量数据抽出部(103)所抽出的各特征量数据的类型,把是否计算出与人的类似感觉相符合的相似度作为有无适合性来进行判断;
The suitability judgment part (104), for the types of characteristic quantity data extracted by the characteristic quantity data extraction part (103), considers whether the similarity degree which is consistent with the similar feeling of people is calculated as whether the suitability is judged;
相似度计算部(105),根据适合性判断部(104)的判断结果,计算关键字图像数据与检索对象的各图像数据的相似度;
The similarity calculation section (105) calculates the similarity between the keyword image data and the image data of the retrieval object according to the judgment result of the suitability judgment section (104).
检索部(106),把与相似度对应的图像数据作为检索结果输出。
The retrieval part (106) outputs the image data corresponding to the similarity as the retrieval result.
本发明涉及用于数据库查询优化的方法和系统。
The invention relates to a method and a system for optimizing database queries.
所述方法包括以下步骤:从查询语句提取复杂谓词,所述查询语句包括至少两个复杂谓词;
The method comprises the following steps: extracting complex predicates from a query statement that includes at least two complex predicates;
执行与所述查询语句相关联的查询;
Execute a query associated with the query statement;
以及选择具有最低总体执行结构成本的排列以用于数据库查询优化。
And select the permutation with the lowest overall execution structure cost for database query optimization.
所述方法还包括存储历史反馈信息。
The method also includes storing historical feedback information.
根据所述执行结构成本和所述复杂谓词位图矩阵,计算复杂谓词的每一排列的总体执行结构成本。
Based on the execution structure cost and the complex predicate bitmap matrix, the overall execution structure cost for each permutation of the complex predicate is calculated.
针对所述查询语句自身执行查询。
Execute a query against the query statement itself.
基于与所述查询语句相关联的查询的执行得到所述执行结构成本。
The cost of the execution structure is obtained based on the execution of the query associated with the query statement.
值0表示与其所在的第二维度对应的主干查询结果中的成员未被以与其所在的第一维度对应的复杂谓词查询到。
A value of 0 indicates that the member in the result of the trunk query corresponding to its second dimension is not queried with the complex predicate corresponding to its first dimension.
判断是否存在与所述下一查询语句对应的历史反馈信息;
Determine whether there is historical feedback information corresponding to the next query statement;
以及在存在对应的历史反馈信息的情况下,应用该对应的历史反馈信息重写该下一查询语句。
And if the corresponding historical feedback information exists, the corresponding historical feedback information can be used to rewrite the next query statement.
执行装置,被配置为执行与所述查询语句相关联的查询;
An execution device configured to execute a query associated with the query statement;
以及根据所述执行结构成本和所述复杂谓词位图矩阵计算复杂谓词的每一排列的总体执行结构成本。
And calculate the overall execution structure cost for each permutation of the complex predicate based on the execution structure cost and the complex predicate bitmap matrix.
判断装置,被配置为判断是否存在与所述下一查询语句对应的历史反馈信息;
A judgment device is configured to determine whether there is historical feedback information corresponding to the next query statement;
以及重写装置,被配置为在存在对应的历史反馈信息的情况下,应用该对应的历史反馈信息重写该下一查询语句。
And the rewrite device is configured to rewrite the next query statement by applying the corresponding history feedback information if the corresponding history feedback information exists.
本申请提供了一种数据库关系表的拆分、查询方法及系统,以解决传统数据库关系表的水平拆分方法查询效率较低的问题。
This application provides a method and system of database relational table splitting and query to solve the problem of low query efficiency of traditional database relational table horizontal splitting method.
在查询时根据拆分字段及拆分字段的计算结果查找对应的分库。
Search the corresponding sub-library according to the split field and the calculation result of the split field.
对于查询条件中提供的拆分字段,可能没有提供所有的拆分字段,但只需查找所提供拆分字段计算结果对应的分库,而不需要查询所有的分库,因此查询方法简单,查询时间比较短,效率较高。
For the split fields provided in the query condition, all the split fields may not be provided, but you only need to search the sublibrary corresponding to the calculation result of the split fields provided, rather than all the sublibraries. Therefore, the query method is simple, the query time is short, and the efficiency is high.
执行查询时,通过查询条件中提供的拆分字段,根据拆分字段值的计算结果查找对应的分库。
When a query is executed, the split field provided in the query condition is used to search for the corresponding sub-library based on the calculation result of the split field value.
查找拆分字段对应的坐标轴上,拆分字段值的计算结果对应的坐标值所对应的分库;
Find the sublibrary corresponding to the coordinate value corresponding to the calculation result of the split field value on the axis corresponding to the split field value;
各个拆分字段值的计算结果分别对应的分库为要查询的分库。
The sub-library corresponding to the calculation result of each split field value is the sub-library to be queried.
各个拆分字段值的计算结果共同对应的分库为要查询的分库。
The sub-library corresponding to the calculation results of each split field value is the sub-library to be queried.
查询模块,用于执行查询时,通过查询条件中提供的拆分字段,根据拆分字段值的计算结果查找对应的分库。
The query module is used to search for the corresponding sub-library based on the calculation result of the split field value provided in the query condition.
第一查找分库子模块,用于查找拆分字段对应的坐标轴上,拆分字段值的计算结果对应的坐标值所对应的分库;
The first search sub-library sub-module is used to find the sub-library corresponding to the coordinate value of the calculation result of the split field value on the axis corresponding to the split field;
第一确定分库子模块,用于各个拆分字段值的计算结果分别对应的分库为要查询的分库。
The first is to determine the sub-library sub-module, and the sub-library corresponding to the calculation results of each split field value is the sub-library to be queried.
第二查找分库子模块,用于查找拆分字段对应的坐标轴上,拆分字段值的计算结果对应的坐标值所对应的分库;
The second search sub-library sub-module is used to find the sub-library corresponding to the coordinate value of the calculation result of the split field value on the axis corresponding to the split field;
第二确定分库子模块,用于各个拆分字段值的计算结果共同对应的分库为要查询的分库。
The second is to determine the sub-library submodule, which is used for the calculation results of each split field value to correspond to the sub-library to be queried.
本发明的有益效果是:值班人员容易掌握和分析运维工作状态,方便正常进行运维事项的交接,能够及时通知和实时查阅,从而实现下达通知明确、执行到位、反馈及时,大大提高工作效率。
The invention has the advantages that: the personnel on duty can easily grasp and analyze the operation and maintenance work status, facilitate the normal handover of operation and maintenance matters, and can timely notify and check in real time, so as to realize clear notification, timely execution and timely feedback, and greatly improve work efficiency.
若办理人员开始办理某项运维任务,则进行步骤2;
If the operator starts to handle an operation and maintenance task, proceed to Step 2.
步骤2,办理人员在办理某项运维任务过程中,通过移动终端实时向中心服务器上传办理进度,中心服务器根据上传的信息设定该项运维任务的办理状态并显示出来;
Step 2. In the process of handling an operation and maintenance task, the operator uploades the processing progress to the central server in real time through the mobile terminal. The central server sets the processing status of the operation and maintenance task according to the uploaded information and displays it.
步骤3,管理人员根据实时显示的办理状态下达调度信息。
Step 3. The administrator sends the scheduling information based on the real-time processing status.
本发明提供了一种汉字显示方法,包括:从笔顺字库中获取待显示汉字的笔画及笔画顺序,所述笔顺字库中包括汉字的笔画及笔画顺序;
The invention provides a Chinese character display method, which comprises: obtaining the strokes of Chinese characters to be displayed and the stroke sequence from the stroke sequence database, which comprises the strokes of Chinese characters and the stroke sequence;
根据所述待显示汉字的笔画及笔画顺序,为所述待显示汉字生成与每个笔画对应的笔画图像;
According to the stroke and stroke order of the Chinese character to be displayed, a stroke image corresponding to each stroke is generated for the Chinese character to be displayed;
根据所述笔画顺序及笔画图像合成所述汉字的笔顺演示图像;
According to the stroke sequence and stroke image, the stroke sequence demonstration image of the Chinese character is synthesized;
显示所述汉字的笔顺演示图像。
A stroke demonstration image of the Chinese character is displayed.
采用本发明提供的技术方案,能够方便地获取汉字的笔顺,无需查阅笔顺字典或笔顺卡片以获取笔顺。
By adopting the technical scheme provided by the invention, the stroke order of Chinese characters can be conveniently obtained without consulting the stroke dictionary or the stroke order card.
所述根据所述笔画顺序及笔画图像合成所述汉字的笔顺演示图像,具体为:根据所述显示时间间隔、笔画顺序及笔画图像合成所述汉字的笔顺演示图像。
According to the stroke order and stroke image synthesis of the Chinese character stroke demonstration image, specifically: according to the display time interval, stroke order and stroke image synthesis of the Chinese character stroke demonstration image.
根据所述笔画顺序,将当前笔画对应的待填充域图像中当前笔画及所述当前笔画之前的笔画的待填充域进行填充,以生成与所述当前笔画对应的笔画图像。
According to the stroke order, the current stroke in the field image corresponding to the current stroke and the field to be filled before the current stroke are filled to generate the stroke image corresponding to the current stroke.
笔画生成模块,用于根据所述待显示汉字的笔画及笔画顺序,为所述待显示汉字生成与每个笔画对应的笔画图像;
The stroke generation module is used to generate a stroke image corresponding to each stroke for the Chinese character to be displayed according to the stroke and stroke sequence of the Chinese character to be displayed;
合成模块,用于根据所述笔画顺序及笔画图像合成所述汉字的笔顺演示图像;
The composition module is used to synthesize the stroke sequence demonstration image of the Chinese character according to the stroke sequence and stroke image;
显示模块,用于显示所述汉字的笔顺演示图像。
The display module is used to display the stroke demonstration image of the Chinese character.
所述合成模块进一步用于根据所述显示时间间隔、笔画顺序及笔画图像合成所述汉字的笔顺演示图像。
The compositing module is further used to synthesize the stroke presentation image of the Chinese character according to the display time interval, stroke sequence and stroke image.
第二生成单元,用于根据所述笔画顺序,将当前笔画对应的待填充域图像中当前笔画及所述当前笔画之前的笔画的待填充域进行填充,以生成与所述当前笔画对应的笔画图像。
The second generation unit is used to fill the current stroke in the field image corresponding to the current stroke and the field to be filled before the current stroke according to the stroke order, so as to generate the stroke image corresponding to the current stroke.
本公开提供了一种处理方法,包括获取事件预测信息,确定与所述事件预测信息所对应的第一对象集合,所述第一对象集合包括多个对象中的至少一个对象,以及推送所述第一对象集合中的部分或全部对象。
The present disclosure provides a processing method that includes obtaining event prediction information, determining a first set of objects corresponding to the event prediction information, including at least one of multiple objects, and pushing some or all of the objects in the first object set.
本发明公开了一种大数据存储系统,将文件划分为对象元数据和对象松散数据,所述的对象元数据和对象松散数据存储在容器中,所述的容器分布式存储在位于不同域的存储服务器中;
The invention discloses a big data storage system, which divides a file into object metadata and object loose data. The object metadata and object loose data are stored in a container, and the container is distributed stored in a storage server located in different domains.
使用高度可扩展性的分布式多域式存储方式,该存储系统允许用户在较高层次上使用存储模块,将文件做为对象来管理。
Using highly scalable distributed multi-domain storage, the storage system allows users to use storage modules at a high level to manage files as objects.
为了提高访问和操作对象的效率,该系统将对象(文件)的内容和对象的元用户权限管理服务数据彻底分离,通过建立合理、高效的元数据存储空间和元数据管理模块来提供快速的随机数据访问和索引速度。
In order to improve the efficiency of accessing and operating objects, the system completely separates the content of objects (files) from the meta user rights management service data of objects, and provides fast random data access and indexing speed by establishing reasonable and efficient metadata storage space and metadata management module.
该系统所运用的安全模型能够提供准确的安全控制,保证存储的对象只在被指定的时间、地点及被给予访问权限的用户访问。
The security model used in the system can provide accurate security control to ensure that the stored objects are only accessed at the specified time and place and by the users who are given access rights.
本发明涉及一种分布式迭代计算系统中的任务参数优化方法,属于分布式数据处理技术领域。
The invention relates to a task parameter optimization method in a distributed iterative computing system, belonging to the technical field of distributed data processing.
本方法首先采集分布式迭代计算系统中历史任务的运行数据,构建历史数据库;
In this method, the running data of historical tasks in distributed iterative computing system is collected first, and the historical database is constructed.
进行任务参数优化时,根据约束条件对历史数据库中显著不相关的运行数据进行一次过滤;
When task parameter optimization is carried out, the significant irrelevant operation data in the historical database is filtered according to the constraint conditions.
然后对待优化任务对应的历史数据库中的运行数据与一次过滤后的运行数据进行有向无环图的相似度计算,并对相似度低于一定阈值的运行数据进行二次过滤;
Then, the similarity between the operational data in the historical database corresponding to the optimization task and the operational data filtered once is calculated by the directed acyclic graph, and the operational data whose similarity is lower than a certain threshold is filtered twice.
最后将两次过滤后的结果经过计算排序,并将排序后的运行数据所对应的任务参数作为任务参数优化结果。
Finally, the two filtered results are calculated and sorted, and the task parameters corresponding to the sorted running data are taken as the optimization results of task parameters.
本发明能自动进行分布式迭代计算系统的任务参数优化,是一种即插即用型自适应调优方法,能够显著降低用户使用分布式迭代计算系统的门槛。
The invention can automatically optimize the task parameters of the distributed iterative computing system, and is a plug-and-play adaptive tuning method, which can significantly reduce the threshold for users to use the distributed iterative computing system.