JAVA 或 C++

¥ 10500

¥ 10500 猿急送 Technology & Programming China
24 days ago

Description

1 检测报告优化:医疗软件运行后的最终检测报告需要抓取动画图像,以及文本格式和内容的更改等; 2 软件运行环境的稳定性优化:XP系统等插件;最终能够GHOST一键安装;以及建立客户远程服务插件等; 3 保密性: 而在XP系统上运行的医疗软件的一些插件不得在未经本司同意自行拷贝。

关注公众号,不定期副业成功案例分享
Follow WeChat

Success story sharing

Want to stay one step ahead of the latest teleworks?

Subscribe Now

Similar Teleworks

ip2region xdb 易语言查询类模块实现

在ip2region xdb 中读取数据 加载到内存 在内存中进行查询
参数是 IP地址 查询返回结果是地理位置信息
需要易语言实现
可出一百元
以下是C语言实现的代码 可参考

<br>#include "xdb_searcher.h"<br><br>int main(int argc, char *argv[]) {<br> char *db_path = "ip2region.xdb file path";<br> xdb_vector_index_t *v_index;<br> xdb_searcher_t searcher;<br> char region_buffer[256], ip_buffer[16], *ip = "1.2.3.4";<br> long s_time;<br><br> // 1、从 db_path 加载 VectorIndex 索引。<br> // 得到 v_index 做成全局缓存,便于后续反复使用。<br> // 注意:v_index 不需要每次都加载,建议在服务启动的时候加载一次,然后做成全局资源。<br> v_index = xdb_load_vector_index_from_file(db_path);<br> if (v_index == NULL) {<br> printf("failed to load vector index from `%s`<br>", db_path);<br> return 1;<br> }<br><br> // 2、使用全局的 VectorIndex 变量创建带 VectorIndex 缓存的 xdb 查询对象<br> int err = xdb_new_with_vector_index(&searcher, db_path, v_index);<br> if (err != 0) {<br> printf("failed to create vector index cached searcher with errcode=%d<br>", err);<br> return 2;<br> }<br><br> // 3、调用 search API 查询<br> // 得到的 region 信息会存储到 region_buffer 里面,如果你自定义了数据,请确保给足 buffer 的空间。<br> s_time = xdb_now();<br> err = xdb_search_by_string(&searcher, ip, region_buffer, sizeof(region_buffer));<br> if (err != 0) {<br> printf("failed search(%s) with errno=%d<br>", ip, err);<br> } else {<br> printf("{region: %s, took: %d μs}", region_buffer, (int)(xdb_now() - s_time));<br> }<br><br> // 备注:并发使用,没一个线程需要单独定义并且初始化一个 searcher 查询对象。<br><br> // 4、关闭 xdb 查询器,如果是要关闭服务,也需要释放 v_index 的内存。<br> xdb_close(&searcher);<br> xdb_close_vector_index(v_index);<br> return 0;<br>}<br>

¥ 500内 Technology & Programming 匠迹众包 China
20 hour ago