CN107292694A - The generation method and system of buying order - Google Patents

The generation method and system of buying order Download PDF

Info

Publication number
CN107292694A
CN107292694A CN201610225655.8A CN201610225655A CN107292694A CN 107292694 A CN107292694 A CN 107292694A CN 201610225655 A CN201610225655 A CN 201610225655A CN 107292694 A CN107292694 A CN 107292694A
Authority
CN
China
Prior art keywords
book
keyword
database
information
destination object
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.)
Pending
Application number
CN201610225655.8A
Other languages
Chinese (zh)
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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201610225655.8A priority Critical patent/CN107292694A/en
Publication of CN107292694A publication Critical patent/CN107292694A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0603Catalogue creation or management
    • 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/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Managing shopping lists, e.g. compiling or processing purchase lists

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Databases & Information Systems (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention is the generation method and system on a kind of buying order, belongs to technical field of data processing.This method includes:The destination object searching request comprising keyword that receiving front-end system is sent;The service end searching interface of the first database of inquiry is called, the first database described in the keyword query in the destination object searching request;According to Query Result, record queries state, wherein the inquiry state includes the state without the corresponding destination object of the keyword in first database;In a preset period of time, the buying order is generated according to the information without the corresponding destination object of the keyword.The present invention can according to user search for destination object without under hit situation, automatically generate buying order for business personnel refer to.

Description

采购单的生成方法及系统Method and system for generating purchase orders

技术领域technical field

本发明涉及数据处理技术,尤其涉及一种采购单的生成方法及系统。The invention relates to data processing technology, in particular to a method and system for generating a purchase order.

背景技术Background technique

现有的客户端及PC端web站点均可以根据关键字搜索商品,当客户端内搜索无结果时,提供缺货登记入口,用户登记缺货信息提交后,服务器将客户端返回的数据保存,积累一定时间后以报表的形式提供给业务方。业务方按照搜索请求中的关键词的统计结果来人工筛选热门商品进行采购。Existing clients and PC-side web sites can search for products based on keywords. When there is no search result in the client, an out-of-stock registration entry is provided. After the user registers out-of-stock information and submits it, the server saves the data returned by the client. After accumulating for a certain period of time, it is provided to the business side in the form of a report. The business side manually screens popular products for purchase according to the statistical results of keywords in the search request.

这种方式中,缺货登记需用户手动输入缺货信息然后提交,增加了用户操作复杂度,无法满足用户及时获取商品的需求。同时,通过该技术获取的无意义数据较多,数据量庞大,再加上最终需要人工筛选热门商品,工作效率极低。In this method, the out-of-stock registration requires the user to manually input the out-of-stock information and then submit it, which increases the complexity of the user's operation and cannot meet the user's demand for timely acquisition of goods. At the same time, there are many meaningless data obtained through this technology, and the amount of data is huge. In addition, it is necessary to manually screen popular products, and the work efficiency is extremely low.

因此,需要一种新的采购单的生成方法及系统。Therefore, a new method and system for generating a purchase order is needed.

在所述背景技术部分公开的上述信息仅用于加强对本发明的背景的理解,因此它可以包括不构成对本���域普通技术人员已知的现有技术的信息。The above information disclosed in this Background section is only for enhancement of understanding of the background of the invention and therefore it may contain information that does not form the prior art that is already known in the art to a person of ordinary skill in the art.

发明内容Contents of the invention

本发明提供一种采购单的生成方法及系统,以解决上述现有技术中存在的相关问题。The present invention provides a method and system for generating a purchase order to solve the related problems in the above-mentioned prior art.

本发明的其他特性和优点将通过下面的详细描述变得显然,或部分地通过本发明的实践而习得。Other features and advantages of the invention will become apparent from the following detailed description, or in part, be learned by practice of the invention.

根据本发明的一方面,提供一种采购单的生成方法,包括:接收前端系统发送的包含关键字的目标对象搜索请求;调用查询第一数据库的服务端搜索接口,根据所述目标对象搜索请求中的关键字查询所述第一数据库;根据查询结果,记录查询状态,其中所述查询状态中包括所述第一数据库中无该关键字对应的目标对象的状态;在一预设时段内,根据无该关键字对应的目标对象的信息自动生成所述采购单。According to one aspect of the present invention, a method for generating a purchase order is provided, including: receiving a target object search request containing keywords sent by a front-end system; The keywords in the query query the first database; according to the query results, record the query status, wherein the query status includes the status that there is no target object corresponding to the keyword in the first database; within a preset period of time, The purchase order is automatically generated according to the information of the target object not corresponding to the keyword.

根据本发明的一实施方式,其中所述第一数据库为一主数据库的子集。According to an embodiment of the present invention, wherein the first database is a subset of a main database.

根据本发明的一实施方式,其中所述目标对象为电子书,所述主数据库中包括电子书和纸书的信息。According to an embodiment of the present invention, wherein the target object is an electronic book, the master database includes information of electronic books and paper books.

根据本发明的一实施方式,其中所述第一数据库中无该关键字对应的目标对象的状态包括:该第一数据库中无该关键字匹配的电子书和纸书的第一查询状态;该第一数据库中存在直接匹配该关键字的纸书的第二查询状态;该第一数据库中存在模糊匹配该关键字的纸书的第三查询状态。According to an embodiment of the present invention, the state that there is no target object corresponding to the keyword in the first database includes: the first query state that there is no electronic book and paper book matching the keyword in the first database; There is a second query status of paper books directly matching the keyword in the first database; a third query status of paper books fuzzy matching the keyword exists in the first database.

根据本发明的一实施方式,其中所述查询状态还包括:该第一数据库中存在模糊匹配该关键字的电子书的第四查询状态;该第一数据库中存在直接匹配该关键字的电子书的第五查询状态。According to an embodiment of the present invention, the query state further includes: the fourth query state that there is an e-book that fuzzily matches the keyword in the first database; there is an e-book that directly matches the keyword in the first database The fifth query status.

根据本发明的一实施方式,其中所述根据无该关键字对应的目标对象的信息自动生成所述采购单包括:调用查询所述主数据库的服务端搜索接口,根据所述第一数据库中无对应目标对象的所述目标对象搜索请求中的关键字查询所述主数据库;判断所述主数据库中是否存在与该关键字直接匹配的电子书和/或纸书;如果存在,将该关键字直接匹配的电子书和/或纸书的信息存储到所述采购单中。According to an embodiment of the present invention, the automatic generation of the purchase order based on the information of the target object that does not correspond to the keyword includes: invoking the search interface of the server for querying the main database, and according to the The keyword in the target object search request corresponding to the target object queries the main database; judges whether there is an electronic book and/or paper book that directly matches the keyword in the main database; if it exists, the keyword Information for direct matching e-books and/or paper books is stored into the purchase order.

根据本发明的一实施方式,当所述主数据库中不存在与该关键字直接匹配的电子书和/或纸书时还包括:调用查询外部数据库的服务端搜索接口,根据所述主数据库中无对应目标对象的所述目标对象搜索请求中的关键字查询所述外部数据库,其中所述外部数据库中包括电子书和/或纸书的信息;判断所述外部数据库中是否存在与该关键字直接匹配的电子书和/或纸书;如果存在,将该关键字直接匹配的电子书和/或纸书的信息存储到所述采购单中。According to an embodiment of the present invention, when there is no e-book and/or paper book that directly matches the keyword in the main database, it also includes: calling the server search interface of the external database, according to the The keyword in the target object search request without corresponding target object queries the external database, wherein the external database includes information on e-books and/or paper books; judging whether the keyword exists in the external database E-books and/or paper books directly matched; if there is, storing the information of the e-books and/or paper books directly matched by the keyword into the purchase order.

根据本发明的一实施方式,还包括:根据所述目标对象搜索请求中的关键字的查询次数按从高到低对所述采购单中的信息进行排序。According to an embodiment of the present invention, it further includes: sorting the information in the purchase order from high to low according to the query times of the keywords in the target object search request.

根据本发明的再一个方面,提供一种采购单的生成系统,包括:服务端接口管理模块,用于接收前端系统发送的包含关键字的目标对象搜索请求;服务端搜索接口处理模块,其与所述服务端接口管理模块连接,用于调用查询第一数据库的服务端搜索接口,根据所述目标对象搜索请求中的关键字查询所述第一数据库;采购单生成模块,其与所述服务端搜索接口处理模块连接,用于在一预设时段内,根据无该关键字对应的目标对象的信息自动生成所述采购单。According to another aspect of the present invention, a system for generating a purchase order is provided, including: a server interface management module, configured to receive a target object search request containing keywords sent by the front-end system; a server search interface processing module, which communicates with The server interface management module is connected to call and query the server search interface of the first database, and query the first database according to the keywords in the target object search request; the purchase order generation module is connected with the service The terminal search interface processing module is connected to automatically generate the purchase order within a preset period of time according to the information of the target object that does not correspond to the keyword.

根据本发明的一实施方式,其中所述第一数据库为一主数据库的子集。According to an embodiment of the present invention, wherein the first database is a subset of a main database.

根据本发明的一实施方式,其中所述图书为电子书,所述主数据库中包括电子书和纸书的信息。According to an embodiment of the present invention, wherein the book is an electronic book, and the master database includes information of the electronic book and the paper book.

根据本发明的一实施方式,其中所述采购单生成模块包括:服务端数据处理单元,其控制所述服务端搜索接口处理模块调用查询所述主数据库的服务端搜索接口,根据所述第一数据库中无对应目标对象的所述目标对象搜索请求中的关键字查询所述主数据库;第一判断单元,用于判断所述主数据库中是否存在与该关键字直接匹配的电子书和/或纸书;如果存在,将该关键字直接匹配的电子书和/或纸书的信息存储到所述采购单中。According to an embodiment of the present invention, the purchase order generation module includes: a server data processing unit, which controls the server search interface processing module to call the server search interface of the master database, according to the first The keyword in the target object search request that does not have a corresponding target object in the database queries the main database; the first judging unit is used to judge whether there is an e-book and/or directly matching the keyword in the main database A paper book; if it exists, store the information of the electronic book and/or paper book directly matched by the keyword into the purchase order.

根据本发明的一实施方式,当所述主数据库中不存在与该关键字直接匹配的电子书和/或纸书时,所述服务端数据处理单元控制所述服务端搜索接口处理模块调用查询外部数据库的服务端搜索接口,根据所述主数据库中无对应目标对象的所述目标对象搜索请求中的关键字查询所述外部数据库,其中所述外部数据库中包括电子书和/或纸书的信息,其中所述采购单生成模块还包括:第二判断单元,用于判断所述外部数据库中是否存在与该关键字直接匹配的电子书和/或纸书;如果存在,将该关键字直接匹配的电子书和/或纸书的信息存储到所述采购单中。According to an embodiment of the present invention, when there is no e-book and/or paper book directly matching the keyword in the master database, the server data processing unit controls the server search interface processing module to call the query The server search interface of the external database queries the external database according to the keywords in the target object search request for which there is no corresponding target object in the main database, wherein the external database includes e-books and/or paper books information, wherein the purchase order generating module further includes: a second judging unit, configured to judge whether there is an e-book and/or paper book that directly matches the keyword in the external database; Information of matching electronic books and/or paper books is stored in the purchase order.

根据本发明的一实施方式,其中所述采购单生成模块还包括:排序单元,其用于根据所述目标对象搜索请求中的关键字的查询次数按从高到低对所述采购单中的信息进行排序。According to an embodiment of the present invention, the purchase order generation module further includes: a sorting unit, which is used to sort the purchase orders in the purchase order from high to low according to the query times of the keywords in the target object search request Information is sorted.

本发明针对目前搜索词数据量庞大、数据处理缓慢的问题,提出一种自动化缺货采购单生成方案。The present invention proposes an automatic out-of-stock purchase order generation scheme aiming at the current problems of huge amount of search word data and slow data processing.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.

图1示意性示出根据本发明示例实施方式的采购单的生成方法的流程图;FIG. 1 schematically shows a flowchart of a method for generating a purchase order according to an exemplary embodiment of the present invention;

图2示意性示出根据本发明示例实施方式的采购单的生成方法的流程图;FIG. 2 schematically shows a flow chart of a method for generating a purchase order according to an exemplary embodiment of the present invention;

图3示意性示出根据本发明示例实施方式的采购单的生成系统的框图;Fig. 3 schematically shows a block diagram of a system for generating a purchase order according to an exemplary embodiment of the present invention;

图4示意性示出根据本发明示例实施方式的采购单的生成系统的框图。Fig. 4 schematically shows a block diagram of a system for generating a purchase order according to an exemplary embodiment of the present invention.

具体实施方式detailed description

现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本发明将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。附图仅为本发明的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它���的���复描述。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and fully convey the concept of example embodiments to those skilled in the art. The drawings are merely schematic illustrations of the invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus repeated descriptions thereof will be omitted.

此外,所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。在下面的描述中,提供许多具体细节从而给出对本发明的实施方式的充分理解。然而,本领域技术人员将意识到,可以实践本发明的技术方案而省略所述特定细节中的一个或更多,或者可以采用其它的方法、组元、系统、步骤等。在其它情况下,不详细示出或描述公知结构、方法、系统、实现、材料或者操作以避免喧宾夺主而使得本发明的各方面变得模糊。Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the invention. However, those skilled in the art will appreciate that one or more of the specific details may be omitted to practice the technical solutions of the present invention, or other methods, components, systems, steps, etc. may be adopted. In other instances, well-known structures, methods, systems, implementations, materials, or operations are not shown or described in detail to avoid obscuring aspects of the invention.

附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器系统和/或微控制器系统中实现这些功能实体。Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor systems and/or microcontroller systems.

以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的系统和方法的例子。The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of systems and methods consistent with aspects of the invention as recited in the appended claims.

图1示意性示出根据本发明示例实施方式的采购单的生成方法的流程图。Fig. 1 schematically shows a flowchart of a method for generating a purchase order according to an exemplary embodiment of the present invention.

如图1所示,在步骤S110,接收前端系统发送的包含关键字的目标对象搜索请求。As shown in FIG. 1 , in step S110 , a target object search request containing keywords sent by the front-end system is received.

在步骤S120,调用查询第一数据库的服务端搜索接口,根据所述目标对象搜索请求中的关键字查询所述第一数据库。In step S120, the server search interface for querying the first database is invoked, and the first database is queried according to the keyword in the target object search request.

在示例性实施例中,其中所述第一数据库为一主数据库的子集。In an exemplary embodiment, wherein the first database is a subset of a main database.

在示例性实施例中,其中所述目标对象为电子书,所述主数据库中包括电子书和纸书的信息。In an exemplary embodiment, wherein the target object is an electronic book, the master database includes information on electronic books and paper books.

在步骤S130,根据查询结果,记录查询状态,其中所述查询状态中包括所述第一数据库中无该关键字对应的目标对象的状态。In step S130, according to the query result, the query state is recorded, wherein the query state includes the state that there is no target object corresponding to the keyword in the first database.

在示例性实施例中,其中所述第一数据库中无该关键字对应的目标对象的状态包括:该第一数据库中无该关键字匹配的电子书和纸书的第一查询状态;该第一数据库中存在直接匹配该关键字的纸书的第二查询状态;该第一数据库中存在模糊匹配该关键字的纸书的第三查询状态。In an exemplary embodiment, the state that there is no target object corresponding to the keyword in the first database includes: the first query state that there is no electronic book and paper book matching the keyword in the first database; A second query status of paper books directly matching the keyword exists in a database; a third query status of paper books fuzzily matching the keyword exists in the first database.

在示例性实施例中,其中所述查询状态还包括:该第一数据库中存在模糊匹配该关键字的电子书的第四查询状态;该第一数据库中存在直接匹配该关键字的电子书的第五查询状态。In an exemplary embodiment, the query status further includes: a fourth query status in which there is an e-book fuzzily matching the keyword in the first database; a fourth query status in which there is an e-book directly matching the keyword in the first database The fifth query state.

在步骤S140,在一预设时段内,根据无该关键字对应的目标对象的信息自动生成所述采购单。In step S140, within a preset period of time, the purchase order is automatically generated according to the information of the target object that does not correspond to the keyword.

在示例性实施例中,其中所述根据无该关键字对应的目标对象的信息自动生成所述采购单包括:调用查询所述主数据库的服务端搜索接口,根据所述第一数据库中无对应目标对象的所述目标对象搜索请求中的关键字查询所述主数据库;判断所述主数据库中是否存在与该关键字直接匹配的电子书和/或纸书;如果存在,将该关键字直接匹配的电子书和/或纸书的信息存储到所述采购单中。In an exemplary embodiment, the automatic generation of the purchase order based on the information of the target object that does not correspond to the keyword includes: invoking the search interface of the server for querying the main database, and according to the information that there is no corresponding target object in the first database The keyword in the target object search request of the target object queries the main database; judges whether there is an electronic book and/or paper book that directly matches the keyword in the main database; if it exists, directly matches the keyword Information of matching electronic books and/or paper books is stored in the purchase order.

在示例性实施例中,当所述主数据库中不存在与该关键字直接匹配的电子书和/或纸书时还包括:调用查询外部数据库的服务端搜索接口,根据所述主数据库中无对应目标对象的所述目标对象搜索请求中的关键字查询所述外部数据库,其中所述外部数据库中包括电子书和/或纸书的信息;判断所述外部数据库中是否存在与该关键字直接匹配的电子书和/或纸书;如果存在,将该关键字直接匹配的电子书和/或纸书的信息存储到所述采购单中。In an exemplary embodiment, when there is no e-book and/or paper book that directly matches the keyword in the main database, it further includes: calling a server-side search interface for querying an external database, according to the absence of any e-books in the main database The keyword in the target object search request corresponding to the target object queries the external database, wherein the external database includes information on e-books and/or paper books; judging whether there is any information directly related to the keyword in the external database. matching e-books and/or paper books; if there is, storing the information of the e-books and/or paper books directly matching the keyword into the purchase order.

在示例性实施例中,还包括:根据所述目标对象搜索请求中的关键字的查询次数按从高到低对所述采购单中的信息进行排序。In an exemplary embodiment, the method further includes: sorting the information in the purchase order from high to low according to the query times of keywords in the target object search request.

在另一示例性示例中,其中所述图书为纸书,可以根据在一纸书数据库中无与该纸书的搜索请求的关键字匹配的搜索结果,自动生成纸书的采购单。In another illustrative example, where the book is a paper book, a purchase order for the paper book may be automatically generated according to no search result matching the keyword of the search request for the paper book in a paper book database.

本发明实施例提供的一种采购单的生成方法,针对目前搜索query词数据量庞大,数据处理缓慢,无法满足用户对于缺书的迫切需求的问题,提出一种具有三层筛选机制的自动化缺书采购单生成方案。A method for generating a purchase order provided by the embodiment of the present invention aims at the problem that the current search query has a huge amount of data and slow data processing, which cannot meet the urgent needs of users for missing books. Book purchase order generation scheme.

图2示意性示出根据本发明示例实施方式的采购单的生成方法的流程图。Fig. 2 schematically shows a flowchart of a method for generating a purchase order according to an exemplary embodiment of the present invention.

如图2所示,本实施例以用户在某一电商平台搜索电子书为例进行说明。需要说明的是,本发明实施例的方法可以适用于其它任意商品的采购单的生成,这里仅使用电子书作为示意性说明。As shown in FIG. 2 , in this embodiment, a user searches for e-books on an e-commerce platform as an example for illustration. It should be noted that the method in this embodiment of the present invention can be applied to the generation of purchase orders for any other commodities, and here only an e-book is used as a schematic illustration.

在步骤S210,电子书城搜索图书。In step S210, the electronic book store searches for books.

当用户具有阅读某本电子书的需求时,其打开搜索界面,通过客户端或者PC端页面的搜索框输入与该电子书相关的关键字(即搜索内容),例如书名、出版社、作者、出版日期等。客户端或者PC端页面接收到用户发起的电子书搜索请求后,通过前端搜索接口处理模块向服务端请求调用搜索接口,向服务端传输搜索内容等信息,以执行电子书城搜索该电子书。其中,这里的电子书城可以根据用户选择的客户端或者PC端web站点的不同而不同。例如,当用户选择某一电商平台搜索图书时,该电子书城即为该电商平台的电子书数据库的一个子集。这里的电子书数据库可以是一个包含海量电子书相关信息的数据库,其中有该电商平台当前可以向用户提供服务的电子书信息;也可以包括其它该电商平台当前不能向用户提供服务的电子书信息,例如该电商平台在电子书数据库中录入了相关电子书信息但还未取得授权的电子书,或者虽然某段时间内该电商平台取得了该电子书的授权,但一段时间后授权过期而该电商平台未再续签的电子书。而这里的电子书城通过为该电商平台当前可以向用户提供服务的电子书信息的这部分,这样区分开来的好处是便于管理,同时搜索量会小很多,搜索速度更快速。When the user has a need to read a certain e-book, he opens the search interface, and enters keywords related to the e-book (ie search content) through the search box on the client or PC page, such as title, publisher, author, etc. , date of publication, etc. After receiving the e-book search request initiated by the user, the client or PC page requests the server to call the search interface through the front-end search interface processing module, and transmits search content and other information to the server to search the e-book in the e-book city. Wherein, the e-book city here may be different according to the client or PC-side web site selected by the user. For example, when a user selects an e-commerce platform to search for books, the e-book store is a subset of the e-book database of the e-commerce platform. The e-book database here can be a database containing a large amount of e-book related information, including e-book information that the e-commerce platform can currently provide services to users; it can also include other e-books that the e-commerce platform cannot currently provide services to users. e-book information, for example, the e-commerce platform has entered the relevant e-book information in the e-book database but has not yet obtained authorization for e-books, or although the e-commerce platform has obtained the authorization of the e-book for a certain period of time, but after a period of time E-books whose authorization has expired and the e-commerce platform has not renewed. The e-book city here uses the part of the e-book information that the e-commerce platform can currently provide services to users. The advantage of this distinction is that it is easy to manage, and at the same time, the search volume will be much smaller and the search speed will be faster.

当然,这里的电子书数据库也可以是与该电商平台有合作关系的其它取得授权的电子书数据库。Of course, the e-book database here may also be other authorized e-book databases that have a cooperative relationship with the e-commerce platform.

在步骤S220,按搜索逻辑执行,获取搜索结果。In step S220, execute according to the search logic, and obtain search results.

后端的服务端接口管理模块根据接收到的搜索请求调用相应的服务端搜索接口处理模块,将其分配给对应的的搜索接口响应此请求,所述服务端搜索接口处理模块根据该搜索请求中的关键字,按搜索逻辑执行搜索,向所述客户端或者PC端页面返回搜索结果。所述服务端接口管理模块记录该搜索结果的状态,这里可以用一标志位分别代表:The server interface management module at the back end invokes the corresponding server search interface processing module according to the received search request, assigns it to the corresponding search interface to respond to the request, and the server search interface processing module responds to the request according to the search request. Keywords, perform search according to the search logic, and return search results to the client or PC page. The state of the search result recorded by the server interface management module can be represented by a flag bit here:

0:无结果;0: no result;

1:无电子书且存在直接命中的纸书;1: There are no e-books and paper books with direct hits;

2:无电子书且存在模糊命中的纸书;2: Paper books without e-books and fuzzy hits;

3:存在模糊命中的电子书;3: e-books with fuzzy hits;

4:存在直接命中的电子书。4: There are direct hit ebooks.

这里,只关心前三种状态,即无电子书命中结果的情形,,将搜索信息存入服务端缺书数据存储模块的对应的搜索表中。Here, only the first three states are concerned, that is, the case of no e-book hit result, and the search information is stored in the corresponding search table of the missing book data storage module of the server.

在步骤S230,是否有电子书命中?如果有电子书命中,则进入下一步;反之,无电子书命中,则跳转到步骤S250和S260。In step S230, is there an e-book hit? If there is an e-book hit, go to the next step; otherwise, if there is no e-book hit, go to steps S250 and S260.

根据所述搜索结果判断本次搜索请求中的电子书是否在该电子书城中存在。According to the search result, it is judged whether the electronic book in the current search request exists in the electronic book store.

如果在所述电子书城中有该电子书,则向所述客户端或者PC端页面返回有电子书命中的搜索结果。其中,所述电子书城中有该电子书又分为两种情况:电子书精确命中和电子书模糊命中,即与该电子书搜索请求中的关键字精确匹配或者与该电子书搜索请求中的关键字模糊匹配。具体的精确匹配和模糊匹配技术可以采用已有的任意技术手段,在此不做详细论���。If there is the e-book in the e-book city, return the search result with the e-book hit to the client or the PC end page. Wherein, the e-book in the e-book city is further divided into two situations: e-book exact hit and e-book fuzzy hit, that is, an exact match with the keyword in the e-book search request or a keyword in the e-book search request. Keyword fuzzy matching. The specific precise matching and fuzzy matching technologies can use any existing technical means, and will not be discussed in detail here.

如果在所述电子书城中无该电子书,则向所述客户端或者PC端页面返回无电子书命中的搜索结果。If there is no such e-book in the e-book city, return a search result that does not have an e-book hit to the client or PC end page.

在步骤S240,显示返回的电子书搜索结果。In step S240, the returned e-book search results are displayed.

所述客户端或者PC端页面接收相应的搜索结果并显示给用户,告知用户本电子书城中有与该搜索请求中的关键字精确匹配的电子书或者有与该搜索请求中的关键字模糊匹配的电子书。The client or PC-side page receives the corresponding search results and displays them to the user, informing the user that there are e-books in the e-bookstore that exactly match the keywords in the search request or that there are e-books that match the keywords fuzzy in the search request e-book.

在步骤S250,显示返回的纸书搜索结果。In step S250, the returned paper book search results are displayed.

当在该电子书城中的未搜索到该电子书时,可以继续通过所述服务端搜索接口处理模块向纸书数据库查询。例如,所述纸书数据库可以为该电商平台图书数据库的一个子集。与上述电子书数据库类似,所述该电商平台图书数据库为包括海量纸书的信息的大型数据库,其可以分为两部分,一种是当前该电商平台可以向用户提供买卖服务的纸书,另一种是当前该电商平台不可以向用户提供买卖服务但已经录入到该该电商平台图书数据库的纸书。所述纸书数据库可以为所述该电商平台图书数据库中已经可以向用户提供买卖服务的纸书这部分。When the e-book is not found in the e-book city, the search interface processing module at the server can continue to query the paper book database. For example, the paper book database may be a subset of the book database of the e-commerce platform. Similar to the above-mentioned e-book database, the book database of the e-commerce platform is a large-scale database including information on a large number of paper books, which can be divided into two parts. One is the paper books that the e-commerce platform can currently provide users with buying and selling services , and the other is the paper book that the current e-commerce platform cannot provide buying and selling services to users but has been entered into the book database of the e-commerce platform. The paper book database may be the part of the paper book in the book database of the e-commerce platform that can already provide buying and selling services to users.

当然,本发明对此不作限定,所述该电商平台图书数据库也可以为其它平台或者服务商提供的图书数据库。根据在所述纸书数据库中的查询结果,向所述客户端或者PC端页面返回有/无与该电子书匹配的纸书的搜索结果。例如,有与该电子书精确匹配的纸书,有与该电子书模糊匹配的纸书,或者无与该电子书匹配的纸书。Of course, the present invention is not limited thereto, and the e-commerce platform book database may also be a book database provided by other platforms or service providers. According to the query results in the paper book database, return to the client or PC page the search results of whether or not there is a paper book matching the e-book. For example, there are physical books that match the e-book exactly, there are physical books that match the e-book vaguely, or there are no physical books that match the e-book.

在步骤S260,建立搜索表,根据搜索结果将无电子书命中的搜索记录写入搜索表中。In step S260, a search table is established, and search records without e-book hits are written into the search table according to the search results.

当所述服务端搜索接口处理模块获取的搜索结果为无电子书命中时,在所述服务端缺书数据存储模块中建立所述搜索表(search表),将无电子书命中的搜索记录,写入所述search表中。When the search result obtained by the server search interface processing module is that there is no e-book hit, the search table (search table) is set up in the server-side missing book data storage module, and there will be no search record of e-book hit, written to the search table.

其中,所述search表中包括以下几个关键字段:Wherein, the search table includes the following key fields:

1、search_ID:主键,用于区分每条搜索记录;1. search_ID: primary key, used to distinguish each search record;

2、search_Content:搜索的具体内容,即本次搜索请求中携带的关键字;2. search_Content: the specific content of the search, that is, the keywords carried in this search request;

3、search_Time:该条搜索记录插入该search表中的插入时间;3. search_Time: the insertion time of the search record inserted into the search table;

4、search_Status:该次搜索结果的情况。4. search_Status: The status of the search results.

如果搜索的数据过多可以���据时间将该search表分表成多个搜索表。If there are too many searched data, the search table can be divided into multiple search tables according to time.

在示例性实施例中,所述search_Status可以包括以下三种情况:In an exemplary embodiment, the search_Status may include the following three situations:

0:无结果;0: no result;

1:无电子书且存在直接命中的纸书;1: There are no e-books and paper books with direct hits;

2:无电子书且存在模糊命中的纸书。2: Paper books without e-books and fuzzy hits.

在步骤S270,定时查询搜索表,按搜索关键词重复次数统计该时段所有搜索数据,并降序排序,生成搜索列表。In step S270, the search table is regularly queried, and all search data in the time period are counted according to the repetition times of search keywords, sorted in descending order, and a search list is generated.

服务端缺书数据处理模块定时查询所述服务端缺书数据存储模块中的search表,例如一周一次,当然,这个预设时段是可以根据业务需求设置和更改的,本发明对此不作限定。按照search_Content重复次数统计本周内所有搜索数据,按照降序排列,输出搜索列表(search_List)。The server missing book data processing module regularly queries the search table in the server missing book data storage module, for example, once a week. Of course, this preset time period can be set and changed according to business needs, and the present invention is not limited to this. Count all search data in this week according to the number of repetitions of search_Content, sort them in descending order, and output the search list (search_List).

在示例性实施例中,所述搜索列表如下表所示:In an exemplary embodiment, the search list is as follows:

在步骤S280,将所述搜索列表search_List中的每一项按搜索关键词search_Content逐条查询所述该电商平台图书数据库。In step S280, each item in the search list search_List is queried one by one for the book database of the e-commerce platform according to the search keyword search_Content.

其中,这里的查询可以为精确查询,即在所述该电商平台图书数据库中与本次搜索请求中的关键字完全匹配的纸书。Wherein, the query here may be an exact query, that is, a paper book in the book database of the e-commerce platform that completely matches the keyword in the search request.

在步骤S290,是否存在该书?如果存在,则跳转到步骤S2130;反之,进入下一步。In step S290, does the book exist? If it exists, jump to step S2130; otherwise, go to the next step.

判断在所述该电商平台图书数据库中是否存在该电子书的相关纸书信息。It is judged whether there is relevant paper book information of the e-book in the book database of the e-commerce platform.

在步骤S2100,按搜索关键词查询国图数据库。In step S2100, the national map database is queried according to the search keywords.

当所述该电商平台图书数据库中不存在该电子书的相关纸书信息时,继续根据所述搜索关键字查询国图数据库。其中,所述国图数据库仅用于示例性说明,其可以用其它任意大型的、具有较全面的图书信息的权威图书数据库替代。When there is no relevant paper book information of the e-book in the book database of the e-commerce platform, continue to query the national map database according to the search keyword. Wherein, the national map database is only used for exemplary illustration, and it can be replaced by any other large authoritative book database with relatively comprehensive book information.

本发明实施例中,所述国图数据库是国家图书馆数据库的简称,包含国内外绝大部分出版物的详细信息,可认为为出版物权威数据库,使用该数据库需要付款租用。In the embodiment of the present invention, the national map database is the abbreviation of National Library Database, which contains detailed information of most of the publications at home and abroad, and can be regarded as an authoritative database of publications. The use of this database requires payment and lease.

在步骤S2110,是否存在该书?如果不存在,则进入下一步;反之,跳转到步骤S2130。In step S2110, does the book exist? If not, go to the next step; otherwise, go to step S2130.

判断在所述国图数据库中是否存在该电子书的相关纸书信息。It is judged whether relevant paper book information of the e-book exists in the national map database.

在步骤S2120,舍弃该条记录。In step S2120, the record is discarded.

当在所述国图数据库中也不存在该电子书的相关纸书信息时,从所述搜索列表中舍弃该条搜索请求对应的搜索记录。When there is no paper book information related to the e-book in the national map database, the search record corresponding to the search request is discarded from the search list.

在步骤S2130,查询该信息,并将其按搜索列表的顺序排序,自动生成采购单。In step S2130, the information is queried and sorted according to the order of the search list, and a purchase order is automatically generated.

当在所述该电商平台图书数据库或者国图数据库中存在该电子书的相关纸书信息时,查询该信息,主要包括该书的ISBN编号及出版信息,并将其录入所述采购单的相应位置中。其中,所述相应位置是根据搜索记录中的搜索关键字的重复次数按照从高到低的降序排列的。When the relevant paper book information of the e-book exists in the book database of the e-commerce platform or the national map database, query the information, mainly including the ISBN number and publication information of the book, and enter it into the purchase order in the corresponding position. Wherein, the corresponding positions are arranged in descending order from high to low according to the repetition times of the search keywords in the search records.

在示例性实施例中,所述采购单可以如下表所示:In an exemplary embodiment, the purchase order may be as shown in the following table:

在步骤S2140,将所述采购单输出到业务部门。In step S2140, output the purchase order to the business department.

业务部门接收到所述采购单后,业务方根据所述采购单向相应的出版社购买对应的书籍或者请求授权。After the business department receives the purchase order, the business party purchases corresponding books or requests authorization from the corresponding publishing house according to the purchase order.

图3示意性示出根据本发明示例实施方式的采购单的生成系统的框图。Fig. 3 schematically shows a block diagram of a system for generating a purchase order according to an exemplary embodiment of the present invention.

如图3所示,该系统包括:服务端接口管理模块310,用于接收前端系统发送的包含关键字的目标对象搜索请求;服务端搜索接口处理模块320,其与所述服务端接口管理模块310连接,用于调用查询第一数据库的服务端搜索接口,根据所述目标对象搜索请求中的关键字查询所述第一数据库;采购单生成模块330,其与所述服务端搜索接口处理模块320连接,用于在一预设时段内,根据无该关键字对应的目标对象的信息生成所述采购单。As shown in Figure 3, the system includes: a server interface management module 310, which is used to receive the target object search request containing keywords sent by the front-end system; a server search interface processing module 320, which communicates with the server interface management module 310 connection, for invoking the server-side search interface of querying the first database, and querying the first database according to the keyword in the target object search request; the purchase order generation module 330, which is connected with the server-side search interface processing module 320 is connected to generate the purchase order within a preset period of time according to the information of the target object that does not correspond to the keyword.

在示例性实施例中,其中所述第一数据库为一主数据库的子集。In an exemplary embodiment, wherein the first database is a subset of a main database.

在示例性实施例中,其中所述目标对象为电子书,所述主数据库中包括电子书和纸书的信息。In an exemplary embodiment, wherein the target object is an electronic book, the master database includes information on electronic books and paper books.

在示例性实施例中,其中所述采购单生成模块330包括:服务端数据处理单元,其控制所述服务端搜索接口处理模块调用查询所述主数据库的服务端搜索接口,根据所述第一数据库中无对应目标对象的所述目标对象搜索请求中的关键字查询所述主数据库;第一判断单元,用于判断所述主数据库中是否存在与该关键字直接匹配的电子书和/或纸书;如果存在,将该关键字直接匹配的电子书和/或纸书的信息存储到所述采购单中。In an exemplary embodiment, the purchase order generation module 330 includes: a server data processing unit, which controls the server search interface processing module to call the server search interface of the master database, according to the first The keyword in the target object search request that does not have a corresponding target object in the database queries the main database; the first judging unit is used to judge whether there is an e-book and/or directly matching the keyword in the main database A paper book; if it exists, store the information of the electronic book and/or paper book directly matched by the keyword into the purchase order.

在示例性实施例中,当所述主数据库中不存在与该关键字直接匹配的电子书和/或纸书时,所述服务端数据处理单元控制所述服务端搜索接口处理模块调用查询外部数据库的服务端搜索接口,根据所述主数据库中无对应目标对象的所述目标对象搜索请求中的关键字查询所述外部数据库,其中所述外部数据库中包括电子书和/或纸书的信息,其中所述采购单生成模块还包括:第二判断单元,用于判断所述外部数据库中是否存在与该关键字直接匹配的电子书和/或纸书;如果存在,将该关键字直接匹配的电子书和/或纸书的信息存储到所述采购单中。In an exemplary embodiment, when there is no e-book and/or paper book directly matching the keyword in the master database, the server data processing unit controls the server search interface processing module to call the query external The server search interface of the database queries the external database according to the keywords in the target object search request for which there is no corresponding target object in the main database, wherein the external database includes e-book and/or paper book information , wherein the purchase order generating module further includes: a second judging unit, configured to judge whether there is an electronic book and/or paper book directly matching the keyword in the external database; if so, directly matching the keyword The information of the e-book and/or paper book is stored in the purchase order.

在示例性实施例中,其中所述采购单生成模块330还包括:排序单元,其用于根据所述目标对象搜索请求中的关键字的查询次数按从高到低对所述采购单中的信息进行排序。In an exemplary embodiment, the purchase order generation module 330 further includes: a sorting unit, which is used to sort the purchase orders in the purchase order from high to low according to the query times of the keywords in the target object search request Information is sorted.

本发明实施例中的模块对应上述方���实施例中的内���,�����不再详述。The modules in the embodiments of the present invention correspond to the content in the above method embodiments, and will not be described in detail here.

图4示意性示出根据本发明示例实施方式的采购单的生成系统的框图。Fig. 4 schematically shows a block diagram of a system for generating a purchase order according to an exemplary embodiment of the present invention.

如图4所示,该系统包括:前端410(例如,客户端、PC端web站点、M站)、后端420(服务端)和数据库430(电商平台电子书数据库、该电商平台图书数据库、国图数据库)三部分。其中,所述前端410包括前端搜索接口处理模块411,所述后端420包括服务端接口管理模块421、服务端搜索接口处理模块422、服务端缺书数据存储模块423和服务端缺书数据处理模块424,所述数据库430包括该电商平台电子书&图书数据431和国图数据库432。所述前端搜索接口处理模块411分别连接所述服务端接口管理模块421和所述服务端搜索接口处理模块422,所述服务端搜索接口处理模块422分别与所述服务端接口管理模块421、该电商平台电子书&图书数据431和服务端缺书数据存储模块423连接,所述服务端缺书数据处理模块424分别与所述服务端缺书数据存储模块423、该电商平台电子书&图书数据431和国图数据库432连接。As shown in Figure 4, the system includes: front end 410 (for example, client, PC end web site, M station), back end 420 (server) and database 430 (e-commerce platform e-book database, the e-commerce platform books database, national map database) in three parts. Wherein, the front end 410 includes a front end search interface processing module 411, and the back end 420 includes a server interface management module 421, a server search interface processing module 422, a server missing book data storage module 423 and a server missing book data processing module. Module 424, the database 430 includes the e-book & book data 431 of the e-commerce platform and the national map database 432. The front-end search interface processing module 411 is respectively connected to the server interface management module 421 and the server search interface processing module 422, and the server search interface processing module 422 is respectively connected to the server interface management module 421, the The e-book & book data 431 of the electric business platform is connected with the data storage module 423 of the lack of book at the service end, and the data processing module 424 of the lack of book at the service end is respectively connected with the data storage module 423 of the lack of book at the service end, the e-book & book of the electric business platform The book data 431 is connected to the national map database 432 .

其中,所述前端搜索接口处理模块411主要处理搜索请求发起及接收返回的搜索结果。Wherein, the front-end search interface processing module 411 mainly processes search request initiation and receiving returned search results.

所述服务端接口管理模块421与所述前端搜索接口处理模块411交互,对服务端的搜索接口进行管理和分配。The server interface management module 421 interacts with the front-end search interface processing module 411 to manage and allocate the search interface of the server.

所述服务端搜索接口处理模块422,在服务端搜索接口的搜索逻辑基础上,增加对搜索状态的记录功能,主要分为两大类:有电子书命中、无电子书命中。在一实施例中,更关注无电子书命中状态。无电子书命中状态下还可以分为无结果、存在直接命中纸书及存在模糊命中纸书三种子状态。此为对搜索数据的第一层筛选。The server search interface processing module 422 adds a search status recording function based on the search logic of the server search interface, which is mainly divided into two categories: with e-book hits and without e-book hits. In one embodiment, more attention is paid to the no e-book hit state. The state of no e-book hit can also be divided into three sub-states: no result, direct hit of paper book and fuzzy hit of paper book. This is the first level of filtering for search data.

所述服务端420建搜索表存储搜索数据并存储于所述服务端缺书数据存储模块423。The server 420 builds a search table to store search data and stores it in the missing book data storage module 423 of the server.

所述服务端缺书数据处理模块424将缺书数据整理后,分别查询该电商平台电子书&图书数据库431及国图数据库432,剔除无效信息。此为对数据的第二次及第三次筛选,最终生成以搜索次数由高到低排列的采购清单,提供给业务部门。The missing book data processing module 424 at the server sorts out the missing book data, and queries the e-book & book database 431 and the national library database 432 of the e-commerce platform respectively to eliminate invalid information. This is the second and third screening of the data, and finally generate a purchase list in descending order of search times and provide it to the business department.

所述服务端缺书数据处理模块424运行定时任务,每隔一特定时间,统计对应时间段内所有搜索数据的信息,生成一搜索列表search_List,按搜索内容search_Content重复次数由高到低排序。由上到下对上述search_List中的每条数据按搜索内容查询所述该电商平台电子书&图书数据库431,判断是否有匹配数据,目的是为查询该书的详细信息(例如,ISBN号码,出版社信息等)。The missing book data processing module 424 at the server runs a scheduled task, and collects statistics of all search data information in the corresponding time period at specific time intervals, generates a search list search_List, and sorts search content search_Content from high to low according to the number of repetitions. From top to bottom, query the e-book & book database 431 of the e-commerce platform for each piece of data in the above-mentioned search_List according to the search content, and judge whether there is matching data. The purpose is to inquire about the detailed information of the book (for example, ISBN number, publisher information, etc.).

当所述服务端搜索接口处理模块422在所述该电商平台电子书&图书数据库431查询到有匹配数据时,说明该条搜索信息可以转化为书籍信息,则所述缺书数据处理模块424将书籍信息补全后,建立新列表“采购单”,将书籍信息插入该列表中。When the server search interface processing module 422 finds matching data in the e-book & book database 431 of the e-commerce platform, it means that the search information can be converted into book information, then the missing book data processing module 424 After completing the book information, create a new list "Purchase Order", and insert the book information into the list.

当所述服务端搜索接口处理模块422在所述该电商平台电子书&图书数据库431查询到无匹配数据时,所述服务端搜索接口处理模块调取国图数据库查询接口,查询该书在所述国图数据库432中是否有匹配数据。When the server search interface processing module 422 finds no matching data in the e-book & book database 431 of the e-commerce platform, the server search interface processing module transfers the national map database query interface, and queries the book in Whether there is matching data in the national map database 432.

当所述服务端搜索接口处理模块422在所述国图数据库432查询到有匹配数据时,说明该条搜索信息可以转化为书籍信息,则所述缺书数据处理模块424将书籍信息补全后,建立新列表“采购单”,将书籍信息插入该列表中。生成采购单列表,交付业务部门。When the server search interface processing module 422 finds matching data in the national map database 432, it means that the search information can be converted into book information, then the missing book data processing module 424 completes the book information , create a new list "Purchase Order", and insert book information into the list. Generate a purchase order list and deliver it to the business department.

当所述服务端搜索接口处理模块422在所述国图数据库432查询到无匹配数据时,认为该条数据为无效数据,舍弃。When the server search interface processing module 422 finds no matching data in the national map database 432, it considers the piece of data to be invalid and discards it.

本发明实施例中的模块对应上述方法实施例中的内容,在此不再详述。The modules in the embodiments of the present invention correspond to the content in the above method embodiments, and will not be described in detail here.

本发明公开的一种采购单的生成方法及系统,通过为服务端搜索接口需对搜索结果的状态加以区分,形成第一次筛选;对缺货数据的处理,具体包括服务端与数据库的两次交互,即第二与第三次筛选,最终形成采购单可每隔一固定时间得到一份近期热门商品采购单,减少业务工作量,提高采购效率,最终达到更快满足用户购买某类商品的需求的目的。A method and system for generating a purchase order disclosed in the present invention, through the search interface for the server, it is necessary to distinguish the status of the search results to form the first screening; the processing of the out-of-stock data specifically includes the two functions of the server and the database. The first interaction, that is, the second and third screening, finally forms a purchase order. You can get a purchase order of recent popular products at regular intervals, reduce business workload, improve procurement efficiency, and finally achieve faster satisfaction for users to purchase certain types of products. purpose of the needs.

本发明实施例中其它内容参考上述发明实施例中的内容,在此不再赘述。For other content in the embodiments of the present invention, refer to the content in the foregoing embodiments of the invention, and details are not repeated here.

图1和2示出根据本发明示例实施方式的采购单的生成方法的流程图。该方法可例如利用如图3或4所示的采购单的生成系统实现,但本发明不限于此。需要注意的是,图1和2仅是根据本发明示例实施方式的方法所包括的处理的示意性说明,而不是限制目的。易于理解,图1和2所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块/进程/线程中同步或异步执行的。1 and 2 show flowcharts of a method of generating a purchase order according to an exemplary embodiment of the present invention. This method can be implemented, for example, by using the system for generating a purchase order as shown in FIG. 3 or 4 , but the present invention is not limited thereto. It should be noted that FIGS. 1 and 2 are only schematic illustrations of processes included in the method according to example embodiments of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in Figures 1 and 2 do not imply or limit the chronological order of these processes. In addition, it is easy to understand that these processes may be executed synchronously or asynchronously in multiple modules/processes/threads, for example.

通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本发明实施方式的技术方���可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、移动终端、或者网络设备等)执行根据本发明实施方式的方法。Through the description of the above implementations, those skilled in the art can easily understand that the example implementations described here can be implemented by software, or can be implemented by combining software with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, and the software product can be stored in a non-volatile storage medium (which can be a CD-ROM, U disk, mobile hard disk, etc.) or on a network , including several instructions to make a computing device (which may be a personal computer, server, mobile terminal, or network device, etc.) execute the method according to the embodiment of the present invention.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。Other embodiments of the invention will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present invention, these modifications, uses or adaptations follow the general principles of the present invention and include common knowledge or conventional technical means in the technical field not disclosed in the present invention . The specification and examples are to be considered exemplary only, with a true scope and spirit of the invention being indicated by the following claims.

以上具体地示出和描述了本发明的示例性实施方式。应可理解的是,本发明不限于这里描述的详细结构、设置方式或实现方法;相反,本发明意图涵盖包含在所附权利要求的精神和范围内的各种修改和等效设置。Exemplary embodiments of the present invention have been specifically shown and described above. It should be understood that the invention is not limited to the detailed structures, arrangements or methods of implementation described herein; on the contrary, the invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (14)

1. a kind of generation method of buying order, it is characterised in that including:
The destination object searching request comprising keyword that receiving front-end system is sent;
The service end searching interface of the first database of inquiry is called, according to the destination object searching request In keyword query described in the first database;
According to Query Result, record queries state, wherein the inquiry state includes first number According to the state without the corresponding destination object of the keyword in storehouse;
In a preset period of time, according to the Automatic generation of information institute without the corresponding destination object of the keyword State buying order.
2. according to the method described in claim 1, it is characterised in that wherein described first database For the subset of a primary database.
3. method according to claim 2, it is characterised in that wherein described destination object is E-book, the primary database includes the information of e-book and paper book.
4. method according to claim 3, it is characterised in that wherein described first database The middle state without the corresponding destination object of the keyword includes:
First inquiry state of e-book and paper book in first database without the keyword match;
There is the second inquiry state of the paper book for directly matching the keyword in first database;
There is the 3rd inquiry state of the paper book of the fuzzy matching keyword in first database.
5. method according to claim 4, it is characterised in that wherein described inquiry state is also Including:
There is the 4th inquiry state of the e-book of the fuzzy matching keyword in first database;
There is the 5th inquiry state of the e-book for directly matching the keyword in first database.
6. method according to claim 4, it is characterised in that wherein described according to without the pass Buying order described in the Automatic generation of information of the destination object of key word includes:
The service end searching interface for inquiring about the primary database is called, according to nothing in first database Primary database described in keyword query in the destination object searching request of correspondence destination object;
Judge in the primary database with the presence or absence of the e-book and/or paper directly matched with the keyword Book;
If it does, e-book and/or the information of paper book that the keyword is directly matched are stored to institute State in buying order.
7. method according to claim 6, it is characterised in that when in the primary database not Also include during in the presence of the e-book and/or paper book directly matched with the keyword:
Call inquiry external data base service end searching interface, according in the primary database without correspondence External data base described in keyword query in the destination object searching request of destination object, wherein The external data base includes the information of e-book and/or paper book;
Judge in the external data base with the presence or absence of the e-book that is directly matched with the keyword and/or Paper book;
If it does, e-book and/or the information of paper book that the keyword is directly matched are stored to institute State in buying order.
8. the method according to claim 6 or 7, it is characterised in that also include:According to institute The inquiry times of keyword in destination object searching request are stated by from high to low in the buying order Information be ranked up.
9. a kind of generation system of buying order, it is characterised in that including:
Service end interface administration module, the target pair for including keyword sent for receiving front-end system As searching request;
Service end searching interface processing module, it is connected with the service end interface administration module, is used for The service end searching interface of the first database of inquiry is called, according in the destination object searching request First database described in keyword query;
Buying order generation module, it is connected with the service end searching interface processing module, for one In preset period of time, the buying order according to the Automatic generation of information without the corresponding books of the keyword.
10. system according to claim 9, it is characterised in that wherein described first database For the subset of a primary database.
11. system according to claim 10, it is characterised in that wherein described books are electricity The philosophical works, the primary database includes the information of e-book and paper book.
12. system according to claim 11, it is characterised in that wherein described buying order life Include into module:
Service end data processing unit, it controls the service end searching interface processing module to call inquiry The service end searching interface of the primary database, according to the institute without correspondence books in first database State primary database described in the keyword query in destination object searching request;
First judging unit, for judging to whether there is and direct of the keyword in the primary database The e-book and/or paper book matched somebody with somebody;
If it does, e-book and/or the information of paper book that the keyword is directly matched are stored to institute State in buying order.
13. system according to claim 12, it is characterised in that when in the primary database During in the absence of the e-book and/or paper book directly matched with the keyword, the service end data processing Unit controls the service end searching interface processing module to call the service end of inquiry external data base to search Rope interface, according to the pass in the destination object searching request without correspondence books in the primary database Key word inquires about the external data base, wherein the external data base includes e-book and/or paper book Information, wherein the buying order generation module also includes:
Second judging unit, for judging in the external data base with the presence or absence of direct with the keyword The e-book and/or paper book of matching;
If it does, e-book and/or the information of paper book that the keyword is directly matched are stored to institute State in buying order.
14. the system according to claim 12 or 13, it is characterised in that wherein described buying Single generation module also includes:Sequencing unit, its pass being used in the destination object searching request The inquiry times of key word are pressed to be ranked up to the information in the buying order from high to low.
CN201610225655.8A 2016-04-12 2016-04-12 The generation method and system of buying order Pending CN107292694A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610225655.8A CN107292694A (en) 2016-04-12 2016-04-12 The generation method and system of buying order

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610225655.8A CN107292694A (en) 2016-04-12 2016-04-12 The generation method and system of buying order

Publications (1)

Publication Number Publication Date
CN107292694A true CN107292694A (en) 2017-10-24

Family

ID=60095735

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610225655.8A Pending CN107292694A (en) 2016-04-12 2016-04-12 The generation method and system of buying order

Country Status (1)

Country Link
CN (1) CN107292694A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108171576A (en) * 2017-12-26 2018-06-15 北京小度信息科技有限公司 Order processing method, device, electronic device, and computer-readable storage medium
CN108897809A (en) * 2018-06-19 2018-11-27 中南大学湘雅医院 Purchasing information input system, method and device
CN108958915A (en) * 2018-06-28 2018-12-07 中国建设银行股份有限公司 Timed task executes method and device
CN110390486A (en) * 2019-07-25 2019-10-29 武汉鼎方信息技术有限公司 Taking care of books method, apparatus and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101086773A (en) * 2006-06-06 2007-12-12 宝庆文化科技股份有限公司 Book recommendation network operation management system and method
US20150111190A1 (en) * 2013-10-22 2015-04-23 Steven Michael VITTORIO Educational content search and results
CN105447648A (en) * 2015-12-04 2016-03-30 上海斐讯数据通信技术有限公司 Library management method and system and library terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101086773A (en) * 2006-06-06 2007-12-12 宝庆文化科技股份有限公司 Book recommendation network operation management system and method
US20150111190A1 (en) * 2013-10-22 2015-04-23 Steven Michael VITTORIO Educational content search and results
CN105447648A (en) * 2015-12-04 2016-03-30 上海斐讯数据通信技术有限公司 Library management method and system and library terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘佳佳: "基于书目检索信息的图书荐购系统", 《图书情报工作》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108171576A (en) * 2017-12-26 2018-06-15 北京小度信息科技有限公司 Order processing method, device, electronic device, and computer-readable storage medium
CN108897809A (en) * 2018-06-19 2018-11-27 中南大学湘雅医院 Purchasing information input system, method and device
CN108958915A (en) * 2018-06-28 2018-12-07 中国建设银行股份有限公司 Timed task executes method and device
CN110390486A (en) * 2019-07-25 2019-10-29 武汉鼎方信息技术有限公司 Taking care of books method, apparatus and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN102722481B (en) A processing method and search method for user favorite data
CN102289436B (en) Method and device for determining weighted value of search term and method and device for generating search results
US9076148B2 (en) Dynamic pricing models for digital content
CN101887437B (en) A kind of Search Results generation method and information search system
CN102253936B (en) Method for recording access of user to merchandise information, search method and server
CN103123632B (en) Search center word defining method and device, searching method and search equipment
US20060143158A1 (en) Method, system and graphical user interface for providing reviews for a product
US20060129446A1 (en) Method and system for finding and aggregating reviews for a product
WO2013010416A1 (en) Method and system for showing commodity search results
WO2009006537A1 (en) Searching for rights limited media
CN108304444A (en) Information query method and device
CN102339438A (en) Commodity information website publishing method, system and device
WO2017114198A1 (en) Data processing method and device
CN105706081B (en) Structured Information Link Notes
US20080065602A1 (en) Selecting advertisements for search results
EP3274874A1 (en) Systems and methods for classifying data queries based on responsive data sets
CN107292694A (en) The generation method and system of buying order
TW201828200A (en) Data processing method and apparatus increasing the overall display efficiency of the object display environment and decreasing the waste of display resources of each object display environment
CN101836209A (en) System and method for managing information map
CN102915312B (en) Information issuing method in website and system
CN113761102A (en) Data processing method, apparatus, server, system and storage medium
CN108965360A (en) A kind of recommending data processing method and server, computer storage medium
CN110457568A (en) Brand word recognition method and system, object recommendation method and system
CA2591441A1 (en) Method, system and graphical user interface for providing reviews for a product
CN106919653A (en) Daily record filter method based on user behavior

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20171024

RJ01 Rejection of invention patent application after publication