Patents by Inventor Junwei XING

Junwei XING has filed for patents to protect the following inventions. This listing includes patent applications that are pending as well as patents that have already been granted by the United States Patent and Trademark Office (USPTO).

  • Patent number: 12670195
    Abstract: There is provided a code retrieval method and apparatus based on a large language model, an electronic device and a readable storage medium, which relates to the field of artificial intelligence technologies, such as large language model technologies, big data technologies, cloud service technologies, or the like.
    Type: Grant
    Filed: August 13, 2024
    Date of Patent: June 30, 2026
    Assignee: BEIJING BAIDU NETCOM SCIENCE TECHNOLOGY CO., LTD.
    Inventors: Wanpeng Niu, Junwei Xing, Sai Gao, Haonan Fang, Hui Li, Bingfei Zhang
  • Publication number: 20260154571
    Abstract: A code knowledge graph generation method and apparatus, a code generation method and apparatus, a device, and a medium, relate to the field of data processing, specifically the technical fields of intelligent search, human-computer interaction, artificial intelligence, and large language models. The specific implementation solution includes acquiring a code tree, where the code tree includes first code elements and a structural relationship among the first code elements, where the code tree is generated by performing content parsing on a source code; generating at least one first graph node according to the first code elements; generating a first graph edge between corresponding graph nodes according to the structural relationship; generating a code knowledge graph according to the at least one first graph node and the first graph edge.
    Type: Application
    Filed: March 24, 2025
    Publication date: June 4, 2026
    Inventors: Bingfei ZHANG, Junwei XING, Yunpeng PENG, Zhi ZANG, Xiangfei MIN, Yuxuan WEN, Ziwei JIN, Yuehao ZHAO, Wenqing XU
  • Publication number: 20260087048
    Abstract: A method for training a text retrieval model, a method for retrieving a text and corresponding apparatuses are provided. An implementation of method comprises: compressing each pair of a query term sample and a candidate text sample into one character string sample; processing the character string sample using a feature extraction sub-model in a text retrieval model to obtain hidden-layer features of tokens in the character string sample; calculating feature weights of the hidden-layer features of the tokens using a weight determination sub-model in the text retrieval model; calculating, based on the feature weights and the hidden-layer features of the corresponding tokens, to obtain a correlation score between the query term sample and the candidate text sample using a similarity calculation sub-model in the text retrieval model; and training, based on the correlation score, the text retrieval model by means of contrastive learning.
    Type: Application
    Filed: December 3, 2025
    Publication date: March 26, 2026
    Inventors: Jiawen SONG, Junwei XING, Yunpeng PENG, Hui LI, Bingfei ZHANG, Sai GAO, Xiangfei MIN, Wenqing XU, Guanyu CHEN
  • Publication number: 20260064393
    Abstract: The present disclosure provides a method and apparatus for processing code, a method and apparatus for training a code model, and a device, which relates to the field of artificial intelligence, and in particular, to the technical fields of software development, data processing, large models and computer communication. The method for processing code includes: acquiring target pasted code in response to a code paste event being monitored; performing dependency analysis for the target pasted code to obtain context-dependent data corresponding to the target pasted code; performing, according to the context-dependent data, code optimization for the target pasted code to obtain optimized code corresponding to the target pasted code; and outputting the optimized code. The present disclosure can greatly improve development efficiency, seamlessly integrate optimized code into the current code development environment, and improve code quality.
    Type: Application
    Filed: December 20, 2024
    Publication date: March 5, 2026
    Inventors: Wanpeng NIU, Hui LI, Yunpeng PENG, Junwei XING, Bingfei ZHANG, Xiangfei MIN, Ze CHEN
  • Publication number: 20250123812
    Abstract: The disclosure provides a code completion method based on a big model. The method includes: determining a first code element where a position to be completed is located in a first code file to be completed; determining a second code file having a dependency relationship with the first code file from a development project to which the first code file belongs; determining, according to the first code element, a second code element whose correlation with the first code element meets a preset condition, in which the second code element belongs to at least one of the first code file or the second code file; and generating a target code corresponding to the position to be completed through a big model based on a signature of the second code element.
    Type: Application
    Filed: December 19, 2024
    Publication date: April 17, 2025
    Applicant: BEIJING BAIDU NETCOM SCIENCE TECHNOLOGY CO., LTD.
    Inventors: Yuehao Zhao, Wenjie Li, Chuqing Wang, Yunpeng Peng, Sai Gao, Hui Li, Junwei Xing, Wanpeng Niu, Bingfei Zhang
  • Publication number: 20250116585
    Abstract: Embodiments determine wear. One such embodiment obtains, in memory associated with a processor, a finite element mesh representing a first object. For a given node of the obtained mesh, a wear variable is associated and linked to contact constraints associated with the node. A simulation of contact is performed, over movement increments, between the first object and a second object to determine wear at the node. Wear distance is iteratively determined for a given increment using the mesh, the associated variable, and the constraints. A position of the node in the mesh is iteratively updated based on the determined wear distance for the given increment, until the wear distance for each of the increments is determined. The wear at the node is determined based on the determined wear distance for each of the increments. An indication of the determined wear is output.
    Type: Application
    Filed: August 23, 2024
    Publication date: April 10, 2025
    Inventors: Prashanth Kumar Vijalapura, Harrington Hunter Harkness, Junwei Xing
  • Publication number: 20240403344
    Abstract: There is provided a code retrieval method and apparatus based on a large language model, an electronic device and a readable storage medium, which relates to the field of artificial intelligence technologies, such as large language model technologies, big data technologies, cloud service technologies, or the like.
    Type: Application
    Filed: August 13, 2024
    Publication date: December 5, 2024
    Applicant: BEIJING BAIDU NETCOM SCIENCE TECHNOLOGY CO., LTD.
    Inventors: Wanpeng NIU, Junwei XING, Sai GAO, Haonan FANG, Hui LI, Bingfei ZHANG
  • Publication number: 20240403001
    Abstract: There is provided a code recommendation method and apparatus, an electronic device and a storage medium, which relates to the field of software development technologies, artificial intelligence technologies, or the like. A specific implementation includes: acquiring a relevant code segment required by a recommended code from a current code file; acquiring code dependence information required by the recommended code; and performing code recommendation based on the relevant code segment, the code dependence information and a pre-trained code recommendation model.
    Type: Application
    Filed: August 13, 2024
    Publication date: December 5, 2024
    Applicant: BEIJING BAIDU NETCOM SCIENCE TECHNOLOGY CO., LTD.
    Inventors: Junwei XING, Hui LI, Wanpeng NIU, Lili ZHANG, Chuqing WANG, Sai GAO, Haonan FANG, Xiangfei MIN, Jie SHAO, Yunpeng PENG