[go: up one dir, main page]

CN111832857B - Task dispatch processing method, device and electronic equipment - Google Patents

Task dispatch processing method, device and electronic equipment Download PDF

Info

Publication number
CN111832857B
CN111832857B CN201910310029.2A CN201910310029A CN111832857B CN 111832857 B CN111832857 B CN 111832857B CN 201910310029 A CN201910310029 A CN 201910310029A CN 111832857 B CN111832857 B CN 111832857B
Authority
CN
China
Prior art keywords
task
information
target
order data
configuration information
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.)
Active
Application number
CN201910310029.2A
Other languages
Chinese (zh)
Other versions
CN111832857A (en
Inventor
范少明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hema China Co Ltd
Original Assignee
Hema China 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 Hema China Co Ltd filed Critical Hema China Co Ltd
Priority to CN201910310029.2A priority Critical patent/CN111832857B/en
Publication of CN111832857A publication Critical patent/CN111832857A/en
Application granted granted Critical
Publication of CN111832857B publication Critical patent/CN111832857B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06312Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling
    • 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/02Marketing; Price estimation or determination; Fundraising

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Game Theory and Decision Science (AREA)
  • Marketing (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application discloses a task issuing processing method, a task issuing processing device and electronic equipment. The method comprises the following steps: the task issuing server obtains configuration information, wherein the configuration information comprises timing task information and interface information, and the timing task comprises: tasks involved in providing fulfillment services for orders associated with physical stores, the physical stores being a plurality; the same piece of configuration information is shared by a plurality of entity shops; after receiving the call of the timing task through the interface, determining the target task type information associated with the timing task; acquiring target order data corresponding to the target task type information from an order information base; and sending the target order data to an operating system corresponding to the target task type information. By the scheme, the implementation configuration process is simplified, and the later maintenance cost is reduced.

Description

任务下发处理方法、装置及电子设备Task dispatch processing method, device and electronic equipment

技术领域Technical Field

本申请涉及新零售技术领域,特别是涉及任务下发处理方法、装置及电子设备。The present application relates to the field of new retail technology, and in particular to a task dispatching and processing method, device and electronic equipment.

背景技术Background Art

在“新零售”业务模式下,零售商可以开设线下的实体店铺,消费者用户可以直接到线下的实体店铺进行商品对象的购买。同时,零售商还可以通过线上的应用程序(App)提供实体店铺对应的线上店铺,通过线上店铺向消费者用户展示实体店铺可提供的商品对象的相关信息。Under the "new retail" business model, retailers can open offline physical stores, and consumers can directly go to offline physical stores to purchase goods. At the same time, retailers can also provide online stores corresponding to physical stores through online applications (Apps), and display relevant information about goods that physical stores can provide to consumers through online stores.

消费者用户通过App进行商品对象的购买时,可以先从零售商开设的实体店铺中确定一个在地理位置上距离消费者用户最近的目标实体店铺,并通过App提供该目标实体店铺对应的线上店铺,供消费者用户进行线上下单操作。When consumer users purchase commodity objects through the App, they can first determine a target physical store that is geographically closest to the consumer user from the physical stores opened by the retailer, and then provide the online store corresponding to the target physical store through the App for the consumer users to place orders online.

消费者用户通过App提交的订单数据可以先保存到订单信息库,再由履约系统中的任务下发服务端对实体店铺关联的订单提供履约服务。具体地,任务下发服务端可以根据订单数据包括的相关信息,对同一实体店铺关联的订单数据进行批量处理。其中,订单数据包括的相关信息可以是订单的标识信息,目标实体店铺的标识信息,目标实体店铺关联的仓库的标识信息,目标实体店铺关联的配送站的标识信息、零售商的标识信息、选购的商品对象的信息、配送地址信息、以及配送时间信息等。The order data submitted by the consumer user through the App can be first saved in the order information library, and then the task issuing server in the fulfillment system can provide fulfillment services for the orders associated with the physical store. Specifically, the task issuing server can batch process the order data associated with the same physical store based on the relevant information included in the order data. Among them, the relevant information included in the order data can be the identification information of the order, the identification information of the target physical store, the identification information of the warehouse associated with the target physical store, the identification information of the distribution station associated with the target physical store, the identification information of the retailer, the information of the purchased goods, the delivery address information, and the delivery time information.

为了实现同一实体店铺关联的订单数据的批量处理,任务下发服务端需要为每个实体店铺提供多个实现不同类型任务的接口,对应地,任务下发客户端则需要为每个实体店铺配置多个不同类型的定时任务,并指定各定时任务调用的接口。以实体店铺A为例,任务下发服务端可以提供如下接口:In order to achieve batch processing of order data associated with the same physical store, the task delivery server needs to provide multiple interfaces for each physical store to implement different types of tasks. Correspondingly, the task delivery client needs to configure multiple different types of scheduled tasks for each physical store and specify the interface called by each scheduled task. Taking physical store A as an example, the task delivery server can provide the following interfaces:

实现实体店铺A关联的订单数据的下发合成批次作业任务的接口A1;Interface A1 that implements the batch job task of sending order data associated with physical store A;

实现实体店铺A关联的订单数据的下发仓库作业任务的接口A2;Interface A2 that implements the warehouse operation task of sending order data associated with physical store A;

实现实体店铺A关联的订单数据的下发配送作业任务的接口A3。Interface A3 that implements the delivery task of the order data associated with physical store A.

而对应任务下发客户端可以配置如下定时任务:The corresponding task delivery client can configure the following scheduled tasks:

下发合成批次作业的定时任务A1,任务1中配置有接口A1的调用地址信息;Issue scheduled task A1 of the synthesis batch job, and task 1 is configured with the calling address information of interface A1;

下发仓库作业的定时任务A2,任务2中配置有接口A2的调用地址信息;Send the scheduled task A2 of the warehouse operation. Task 2 is configured with the calling address information of interface A2.

下发配送作业的定时任务A3,任务3中配置有接口A3的调用地址信息。A scheduled task A3 of the distribution operation is issued, and the calling address information of the interface A3 is configured in task 3.

这样,各定时任务启动时,便可调用任务下发服务端提供的接口,从订单信息库中获取实体店铺A下的待履约的目标订单数据,将目标订单数据发送到对应的作业系统进行相关作业。In this way, when each scheduled task is started, the interface provided by the task issuing server can be called to obtain the target order data to be fulfilled under the physical store A from the order information library, and the target order data can be sent to the corresponding operation system for related operations.

由以上履约处理过程可知,现有的履约配置过程较为复杂,且随着所开设实体店铺的逐渐增多,需要维护的接口信息以及定时任务信息也会倍增,导致后期维护成本高。此外,在新增实体店铺时,如果配置的定时任务信息以及接口信息有缺失,则无法获取该新增实体店铺关联的订单数据进行任务下发,导致该新增实体店铺不能正常履约,影响消费者用户的体验。From the above fulfillment processing process, it can be seen that the existing fulfillment configuration process is relatively complicated, and as the number of physical stores gradually increases, the interface information and scheduled task information that need to be maintained will also double, resulting in high maintenance costs in the later stage. In addition, when adding a new physical store, if the configured scheduled task information and interface information are missing, it is impossible to obtain the order data associated with the newly added physical store for task delivery, resulting in the inability of the newly added physical store to perform the contract normally, affecting the experience of consumer users.

发明内容Summary of the invention

本申请提供了一种任务下发处理方法、装置及电子设备,任务下发服务端可以基于可被多个实体店铺共用的配置信息实现不同类型任务的下发,有助于简化履约配置过程,降低后期维护成本。The present application provides a task dispatching processing method, device and electronic device. The task dispatching server can dispatch different types of tasks based on configuration information that can be shared by multiple physical stores, which helps to simplify the fulfillment configuration process and reduce subsequent maintenance costs.

本申请提供了如下方案:This application provides the following solutions:

一种任务下发处理方法,包括:A task delivery processing method includes:

任务下发服务端获得配置信息,所述配置信息中包括定时任务信息以及接口信息,所述定时任务包括:在针对与实体店铺关联的订单提供履约服务的过程中涉及到的任务,所述实体店铺为多个;其中,同一份配置信息为多个实体店铺所共用;The task issuing server obtains configuration information, wherein the configuration information includes scheduled task information and interface information, wherein the scheduled task includes: tasks involved in providing fulfillment services for orders associated with a physical store, wherein there are multiple physical stores; wherein the same configuration information is shared by multiple physical stores;

通过所述接口接受到定时任务的调用后,确定所述定时任务关联的目标任务类型信息;After receiving a call to a scheduled task through the interface, determining target task type information associated with the scheduled task;

从订单信息库中获取与所述目标任务类型信息对应的目标订单数据;Acquire target order data corresponding to the target task type information from an order information database;

将所述目标订单数据发送至所述目标任务类型信息对应的作业系统。The target order data is sent to the operation system corresponding to the target task type information.

一种任务下发处理方法,包括:A task delivery processing method includes:

任务下发客户端获得用户提交的定时任务配置请求时,提供用于提交配置信息的操作选项,所述配置信息包括定时任务信息以及接口信息,同一份配置信息为多个实体店铺所共用;When the task issuing client obtains the scheduled task configuration request submitted by the user, it provides an operation option for submitting configuration information, wherein the configuration information includes scheduled task information and interface information, and the same configuration information is shared by multiple physical stores;

通过所述操作选项获得所述配置信息后,提交到任务下发服务端,以便所述任务下发服务端通过所述接口接受到定时任务的调用后,确定所述定时任务关联的目标任务类型信息;从订单信息库中获取与所述目标任务类型信息对应的目标订单数据发送至所述目标任务类型信息对应的作业系统。After obtaining the configuration information through the operation options, submit it to the task issuing server, so that after the task issuing server receives the call of the scheduled task through the interface, it can determine the target task type information associated with the scheduled task; obtain the target order data corresponding to the target task type information from the order information library and send it to the operating system corresponding to the target task type information.

一种任务下发处理方法,包括:A task delivery processing method includes:

作业系统服务端获得任务下发服务端发送的目标订单数据,所述目标订单数据为所述任务下发服务端基于被多个实体店铺共用的配置信息,确定出调用接口的定时任务关联的目标任务类型信息后,从订单信息库中获取的与所述目标任务类型信息对应的目标订单数据;The operation system server obtains the target order data sent by the task issuing server, wherein the target order data is the target order data corresponding to the target task type information obtained from the order information library after the task issuing server determines the target task type information associated with the scheduled task of the calling interface based on the configuration information shared by multiple physical stores;

对所述目标订单数据进行任务处理。Perform task processing on the target order data.

一种任务下发处理方法,包括:A task delivery processing method includes:

作业系统客户端获得作业系统服务端发送的作业任务信息,所述作业任务信息为所述作业系统服务端对任务下发服务端发送的目标订单数据进行任务处理后获得,所述任务下发服务端基于被多个实体店铺共用的配置信息从订单信息库中获得所述目标订单数据;The operation system client obtains the operation task information sent by the operation system server, wherein the operation task information is obtained after the operation system server performs task processing on the target order data sent by the task issuing server, and the task issuing server obtains the target order data from the order information library based on the configuration information shared by multiple physical stores;

对所述作业任务信息进行展示,以便所述作业系统客户端关联的作业人员对所述目标订单数据进行作业。The operation task information is displayed so that the operator associated with the operation system client can perform operations on the target order data.

一种任务下发处理装置,应用于任务下发服务端,包括:A task delivery processing device, applied to a task delivery server, comprising:

配置信息获得单元,用于获得配置信息,所述配置信息中包括定时任务信息以及接口信息,所述定时任务包括:在针对与实体店铺关联的订单提供履约服务的过程中涉及到的任务,所述实体店铺为多个;其中,同一份配置信息为多个实体店铺所共用;a configuration information obtaining unit, configured to obtain configuration information, wherein the configuration information includes scheduled task information and interface information, wherein the scheduled task includes: tasks involved in the process of providing fulfillment services for orders associated with a physical store, wherein there are multiple physical stores; wherein the same configuration information is shared by multiple physical stores;

目标任务类型信息确定单元,用于通过所述接口接受到定时任务的调用后,确定所述定时任务关联的目标任务类型信息;A target task type information determining unit, configured to determine the target task type information associated with the scheduled task after receiving a call of the scheduled task through the interface;

目标订单数据获取单元,用于从订单信息库中获取与所述目标任务类型信息对应的目标订单数据;A target order data acquisition unit, used to acquire target order data corresponding to the target task type information from an order information database;

目标订单数据发送单元,用于将所述目标订单数据发送至所述目标任务类型信息对应的作业系统。The target order data sending unit is used to send the target order data to the operation system corresponding to the target task type information.

一种任务下发处理装置,应用于任务下发客户端,包括:A task delivery processing device, applied to a task delivery client, comprising:

操作选项提供单元,用于在获得用户提交的定时任务配置请求时,提供用于提交配置信息的操作选项,所述配置信息包括定时任务信息以及接口信息,同一份配置信息为多个实体店铺所共用;An operation option providing unit, used to provide an operation option for submitting configuration information when obtaining a scheduled task configuration request submitted by a user, wherein the configuration information includes scheduled task information and interface information, and the same configuration information is shared by multiple physical stores;

配置信息提交单元,用于通过所述操作选项获得所述配置信息后,提交到任务下发服务端,以便所述任务下发服务端通过所述接口接受到定时任务的调用后,确定所述定时任务关联的目标任务类型信息;从订单信息库中获取与所述目标任务类型信息对应的目标订单数据发送至所述目标任务类型信息对应的作业系统。A configuration information submission unit is used to submit the configuration information obtained through the operation options to the task issuing server, so that after the task issuing server receives the call of the scheduled task through the interface, it can determine the target task type information associated with the scheduled task; obtain the target order data corresponding to the target task type information from the order information library and send it to the operating system corresponding to the target task type information.

一种任务下发处理装置,应用于作业系统服务端,包括:A task distribution processing device, applied to an operation system server, comprises:

目标订单数据获得单元,用于获得任务下发服务端发送的目标订单数据,所述目标订单数据为所述任务下发服务端基于被多个实体店铺共用的配置信息,确定出调用接口的定时任务关联的目标任务类型信息后,从订单信息库中获取的与所述目标任务类型信息对应的目标订单数据;A target order data obtaining unit is used to obtain target order data sent by the task issuing server, wherein the target order data is the target order data corresponding to the target task type information obtained from the order information library after the task issuing server determines the target task type information associated with the scheduled task of the calling interface based on the configuration information shared by multiple physical stores;

任务处理单元,用于对所述目标订单数据进行任务处理。A task processing unit is used to perform task processing on the target order data.

一种任务下发处理装置,应用于作业系统客户端,包括:A task distribution processing device, applied to an operating system client, comprises:

作业任务信息获得单元,用于获得作业系统服务端发送的作业任务信息,所述作业任务信息为所述作业系统服务端对任务下发服务端发送的目标订单数据进行任务处理后获得,所述任务下发服务端基于被多个实体店铺共用的配置信息从订单信息库中获得所述目标订单数据;An operation task information obtaining unit, used to obtain the operation task information sent by the operation system server, wherein the operation task information is obtained after the operation system server performs task processing on the target order data sent by the task issuing server, and the task issuing server obtains the target order data from the order information library based on the configuration information shared by multiple physical stores;

作业任务信息展示单元,用于对所述作业任务信息进行展示,以便所述作业系统客户端关联的作业人员对所述目标订单数据进行作业。The operation task information display unit is used to display the operation task information so that the operator associated with the operation system client can perform the operation on the target order data.

一种电子设备,包括:An electronic device, comprising:

一个或多个处理器;以及one or more processors; and

与所述一个或多个处理器关联的存储器,所述存储器用于存储程序指令,所述程序指令在被所述一个或多个处理器读取执行时,执行如下操作:A memory associated with the one or more processors, the memory being used to store program instructions, wherein when the program instructions are read and executed by the one or more processors, the following operations are performed:

获得配置信息,所述配置信息中包括定时任务信息以及接口信息,所述定时任务包括:在针对与实体店铺关联的订单提供履约服务的过程中涉及到的任务,所述实体店铺为多个;其中,同一份配置信息为多个实体店铺所共用;Obtaining configuration information, wherein the configuration information includes scheduled task information and interface information, wherein the scheduled task includes: tasks involved in providing fulfillment services for orders associated with a physical store, wherein there are multiple physical stores; wherein the same configuration information is shared by multiple physical stores;

通过所述接口接受到定时任务的调用后,确定所述定时任务关联的目标任务类型信息;After receiving a call to a scheduled task through the interface, determining target task type information associated with the scheduled task;

从订单信息库中获取与所述目标任务类型信息对应的目标订单数据;Acquire target order data corresponding to the target task type information from an order information database;

将所述目标订单数据发送至所述目标任务类型信息对应的作业系统。The target order data is sent to the operation system corresponding to the target task type information.

一种电子设备,包括:An electronic device, comprising:

一个或多个处理器;以及one or more processors; and

与所述一个或多个处理器关联的存储器,所述存储器用于存储程序指令,所述程序指令在被所述一个或多个处理器读取执行时,执行如下操作:A memory associated with the one or more processors, the memory being used to store program instructions, wherein when the program instructions are read and executed by the one or more processors, the following operations are performed:

获得用户提交的定时任务配置请求时,提供用于提交配置信息的操作选项,所述配置信息包括定时任务信息以及接口信息,同一份配置信息为多个实体店铺所共用;When obtaining a scheduled task configuration request submitted by a user, an operation option for submitting configuration information is provided. The configuration information includes scheduled task information and interface information. The same configuration information is shared by multiple physical stores.

通过所述操作选项获得所述配置信息后,提交到任务下发服务端,以便所述任务下发服务端通过所述接口接受到定时任务的调用后,确定所述定时任务关联的目标任务类型信息;从订单信息库中获取与所述目标任务类型信息对应的目标订单数据发送至所述目标任务类型信息对应的作业系统。After obtaining the configuration information through the operation options, submit it to the task issuing server, so that after the task issuing server receives the call of the scheduled task through the interface, it can determine the target task type information associated with the scheduled task; obtain the target order data corresponding to the target task type information from the order information library and send it to the operating system corresponding to the target task type information.

一种电子设备,包括:An electronic device, comprising:

一个或多个处理器;以及one or more processors; and

与所述一个或多个处理器关联的存储器,所述存储器用于存储程序指令,所述程序指令在被所述一个或多个处理器读取执行时,执行如下操作:A memory associated with the one or more processors, the memory being used to store program instructions, wherein when the program instructions are read and executed by the one or more processors, the following operations are performed:

获得任务下发服务端发送的目标订单数据,所述目标订单数据为所述任务下发服务端基于被多个实体店铺共用的配置信息,确定出调用接口的定时任务关联的目标任务类型信息后,从订单信息库中获取的与所述目标任务类型信息对应的目标订单数据;Obtaining target order data sent by the task issuing server, wherein the target order data is the target order data corresponding to the target task type information obtained from the order information library after the task issuing server determines the target task type information associated with the scheduled task calling the interface based on the configuration information shared by multiple physical stores;

对所述目标订单数据进行任务处理。Perform task processing on the target order data.

一种电子设备,包括:An electronic device, comprising:

一个或多个处理器;以及one or more processors; and

与所述一个或多个处理器关联的存储器,所述存储器用于存储程序指令,所述程序指令在被所述一个或多个处理器读取执行时,执行如下操作:A memory associated with the one or more processors, the memory being used to store program instructions, wherein when the program instructions are read and executed by the one or more processors, the following operations are performed:

获得作业系统服务端发送的作业任务信息,所述作业任务信息为所述作业系统服务端对任务下发服务端发送的目标订单数据进行任务处理后获得,所述任务下发服务端基于被多个实体店铺共用的配置信息从订单信息库中获得所述目标订单数据;Obtaining the operation task information sent by the operation system server, wherein the operation task information is obtained after the operation system server performs task processing on the target order data sent by the task issuing server, and the task issuing server obtains the target order data from the order information library based on the configuration information shared by multiple physical stores;

对所述作业任务信息进行展示,以便所述作业系统客户端关联的作业人员对所述目标订单数据进行作业。The operation task information is displayed so that the operator associated with the operation system client can perform operations on the target order data.

根据本申请提供的具体实施例,本申请公开了以下技术效果:According to the specific embodiments provided in this application, this application discloses the following technical effects:

通过本申请实施例,任务下发服务端可以获得可被多个实体店铺共用的配置信息,并基于该配置信息中的定时任务信息以及接口信息实现多种不同类型任务的下发处理。具体地,在接口接受到定时任务的调用后,可以根据配置信息确定该定时任务关联的目标任务类型信息,进而从订单信息库中获取与该目标任务类型信息相对应的目标订单数据进行任务下发。如此方案,不需要逐个为每个实体店铺进行接口以及定时任务的配置,有助于简化履约配置过程,降低后期维护成本。特别是在新增的实体店铺属于配置信息作用的范围时,无需针对该新增实体店铺进行单独配置,即可根据配置信息获得该新增实体店铺关联的目标订单数据进行任务下发,不会出现无法履的情况,有助于提高用户体验。Through the embodiments of the present application, the task issuing service end can obtain configuration information that can be shared by multiple physical stores, and implement the issuing processing of multiple different types of tasks based on the scheduled task information and interface information in the configuration information. Specifically, after the interface receives the call of the scheduled task, the target task type information associated with the scheduled task can be determined according to the configuration information, and then the target order data corresponding to the target task type information is obtained from the order information library for task issuing. With such a solution, there is no need to configure the interface and scheduled tasks for each physical store one by one, which helps to simplify the fulfillment configuration process and reduce the subsequent maintenance costs. In particular, when a newly added physical store falls within the scope of the configuration information, there is no need to perform a separate configuration for the newly added physical store. The target order data associated with the newly added physical store can be obtained according to the configuration information for task issuing, and there will be no situation where the fulfillment cannot be performed, which helps to improve the user experience.

当然,实施本申请的任一产品并不一定需要同时达到以上所述的所有优点。Of course, any product implementing the present application does not necessarily need to achieve all of the advantages described above at the same time.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

图1是本申请实施例提供的系统的示意图;FIG1 is a schematic diagram of a system provided in an embodiment of the present application;

图2是本申请实施例提供的第一种方法的示意图;FIG2 is a schematic diagram of a first method provided in an embodiment of the present application;

图3是本申请实施例提供的界面的示意图;FIG3 is a schematic diagram of an interface provided by an embodiment of the present application;

图4是本申请实施例提供的第二种方法的流程图;FIG4 is a flow chart of a second method provided in an embodiment of the present application;

图5是本申请实施例提供的第三种方法的流程图;FIG5 is a flow chart of a third method provided in an embodiment of the present application;

图6是本申请实施例提供的第四种方法的流程图;FIG6 is a flow chart of a fourth method provided in an embodiment of the present application;

图7是本申请实施例提供的第五种方法的流程图;FIG7 is a flow chart of a fifth method provided in an embodiment of the present application;

图8是本申请实施例提供的第一种装置的示意图;FIG8 is a schematic diagram of a first device provided in an embodiment of the present application;

图9是本申请实施例提供的第二种装置的示意图;FIG9 is a schematic diagram of a second device provided in an embodiment of the present application;

图10是本申请实施例提供的第三种装置的示意图;FIG10 is a schematic diagram of a third device provided in an embodiment of the present application;

图11是本申请实施例提供的第四种装置的示意图;FIG11 is a schematic diagram of a fourth device provided in an embodiment of the present application;

图12是本申请实施例提供的计算机系统的架构的示意图;FIG12 is a schematic diagram of the architecture of a computer system provided in an embodiment of the present application;

图13是本申请实施例提供的电子设备的架构的示意图。FIG. 13 is a schematic diagram of the architecture of an electronic device provided in an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.

为了简化履约配置过程,本申请实施例提供一种无需针对每个实体店铺进行单独配置即可进行任务下发处理的工具,可以包括任务下发客户端以及任务下发服务端。如图1所示,任务下发服务端可以部署在云端服务器上,提供可被多个实体店铺共用的接口;任务下发客户端可以部署在开发人员关联的终端设备上,配置可被多个实体店铺共用的定时任务,以及定时任务调用的接口,并将包括定时任务信息以及接口信息的配置信息提交到任务下发服务端。其中,定时任务可以包括:在针对与实体店铺关联的订单提供履约服务的过程中涉及到的任务,例如,下发合成批次(以下简称合批)作业任务、下发仓库作业任务、以及下发配送作业任务。In order to simplify the fulfillment configuration process, an embodiment of the present application provides a tool that can perform task issuance processing without separate configuration for each physical store, which may include a task issuance client and a task issuance server. As shown in Figure 1, the task issuance server can be deployed on a cloud server, providing an interface that can be shared by multiple physical stores; the task issuance client can be deployed on a terminal device associated with a developer, configure scheduled tasks that can be shared by multiple physical stores, and an interface called by the scheduled task, and submit configuration information including scheduled task information and interface information to the task issuance server. Among them, scheduled tasks may include: tasks involved in the process of providing fulfillment services for orders associated with physical stores, such as issuing composite batch (hereinafter referred to as composite batch) operation tasks, issuing warehouse operation tasks, and issuing distribution operation tasks.

本申请实施例中,任务下发客户端提交的配置信息可以包括多种不同实现方式。例如,在一种方式下,配置信息可以包括不同类型任务对应的多个定时任务信息以及多个接口信息。也就是说,任务下发服务端可以提供多个不同类型任务对应的接口,例如,下发合批作业任务对应的接口1、下发仓库作业任务对应的接口2、以及下发配送作业任务对应的接口3。同时,任务下发客户端可以配置多个不同类型的定时任务,例如,下发合批作业的定时任务1、下发仓库作业的定时任务2、以及下发配送作业的定时任务3,其中,定时任务1可以调用接口1,定时任务2可以调用接口2,定时任务3可以调用接口3。任务下发客户端可以将表示定时任务与接口之间调用关系的配置信息1提交到任务下发服务端。In an embodiment of the present application, the configuration information submitted by the task issuing client may include a variety of different implementation methods. For example, in one method, the configuration information may include multiple scheduled task information corresponding to different types of tasks and multiple interface information. That is to say, the task issuing server may provide multiple interfaces corresponding to different types of tasks, for example, interface 1 corresponding to issuing batch operation tasks, interface 2 corresponding to issuing warehouse operation tasks, and interface 3 corresponding to issuing distribution operation tasks. At the same time, the task issuing client may configure multiple different types of scheduled tasks, for example, scheduled task 1 for issuing batch operations, scheduled task 2 for issuing warehouse operations, and scheduled task 3 for issuing distribution operations, wherein scheduled task 1 may call interface 1, scheduled task 2 may call interface 2, and scheduled task 3 may call interface 3. The task issuing client may submit configuration information 1 representing the calling relationship between scheduled tasks and interfaces to the task issuing server.

本方式中,多个实体店铺可以共用以上3个定时任务以及3个接口,实现对该多个实体店铺关联的订单数据的任务下发。作为一种示例,实体店铺与配置信息1之间的对应关系可以如下表1所示。In this method, multiple physical stores can share the above three scheduled tasks and three interfaces to implement task delivery for order data associated with the multiple physical stores. As an example, the corresponding relationship between physical stores and configuration information 1 can be shown in Table 1 below.

表1Table 1

或者,在另一种方式下,配置信息可以包括不同类型任务对应的多个定时任务信息以及一个接口信息。也就是说,任务下发服务端可以针对多个不同类型的任务提供一个通用接口4,任务下发客户端配置的多个不同类型的定时任务均可调用该接口4进行任务下发。例如,定时任务1调用接口4进行下发合批作业任务,定时任务2调用接口4进行下发仓库作业任务,定时任务3调用接口4进行下发配送作业任务。任务下发客户端可以将表示定时任务与接口之间调用关系的配置信息2提交到任务下发服务端。Alternatively, in another manner, the configuration information may include multiple scheduled task information corresponding to different types of tasks and an interface information. That is, the task issuing server may provide a general interface 4 for multiple different types of tasks, and multiple different types of scheduled tasks configured by the task issuing client may call the interface 4 to issue tasks. For example, scheduled task 1 calls interface 4 to issue batch operation tasks, scheduled task 2 calls interface 4 to issue warehouse operation tasks, and scheduled task 3 calls interface 4 to issue distribution operation tasks. The task issuing client may submit the configuration information 2 indicating the calling relationship between the scheduled task and the interface to the task issuing server.

本方式中,多个实体店铺可以共用以上3个定时任务以及1个接口,实现对该多个实体店铺关联的订单数据的任务下发。作为一种示例,实体店铺与配置信息2之间的对应关系可以如下表2所示。In this method, multiple physical stores can share the above three scheduled tasks and one interface to implement task delivery for order data associated with the multiple physical stores. As an example, the correspondence between physical stores and configuration information 2 can be shown in Table 2 below.

表2Table 2

以上两种方式中,任务下发客户端配置的定时任务均与任务类型一一对应,故在接口接受到定时任务的调用后,可以据此确定出定时任务对应的目标任务类型,进而从订单信息库中获取与目标任务类型信息对应的目标订单数据进行任务下发。In the above two methods, the scheduled tasks configured by the task issuing client correspond to the task type one by one. Therefore, after the interface receives the call of the scheduled task, it can determine the target task type corresponding to the scheduled task, and then obtain the target order data corresponding to the target task type information from the order information library to issue the task.

或者,在另一种方式下,配置信息可以包括不同类型任务对应的一个定时任务信息以及一个接口信息。也就是说,任务下发服务端可以针对多个不同类型的任务提供一个通用接口5,任务下发客户端可以针对多个不同类型的任务配置一个通用定时任务4,定时任务4可以调用接口5实现不同类型任务的下发处理。同样地,任务下发客户端可以将表示定时任务与接口之间调用关系的配置信息3提交到任务下发服务端。Alternatively, in another manner, the configuration information may include a scheduled task information and an interface information corresponding to different types of tasks. That is, the task delivery server may provide a general interface 5 for multiple different types of tasks, the task delivery client may configure a general scheduled task 4 for multiple different types of tasks, and the scheduled task 4 may call the interface 5 to implement the delivery processing of different types of tasks. Similarly, the task delivery client may submit the configuration information 3 indicating the calling relationship between the scheduled task and the interface to the task delivery server.

本方式中,多个实体店铺可以共用以上1个定时任务以及1个接口,实现对该多个实体店铺关联的订单数据的任务下发。作为一种示例,实体店铺与配置信息3之间的对应关系可以如下表3所示。In this method, multiple physical stores can share the above 1 scheduled task and 1 interface to implement task delivery for order data associated with the multiple physical stores. As an example, the correspondence between the physical stores and the configuration information 3 can be shown in Table 3 below.

表3Table 3

本方式中,定时任务4中可以配置任务类型参数,接口5可以包括:实现不同类型任务的共性代码行,以及能区分所述不同类型任务的区别代码行。这样,在接口5接受到定时任务4的调用后,区别代码行可以根据任务类型参数确定定时任务关联的任务类型信息。下面结合图2所示流程图,对本实现方式下的任务下发处理过程进行解释说明。In this mode, the task type parameter can be configured in the scheduled task 4, and the interface 5 can include: common code lines for implementing different types of tasks, and distinguishing code lines that can distinguish the different types of tasks. In this way, after the interface 5 receives the call of the scheduled task 4, the distinguishing code lines can determine the task type information associated with the scheduled task according to the task type parameter. The task dispatching process under this implementation mode is explained below in conjunction with the flow chart shown in Figure 2.

实施例1Example 1

S101:任务下发服务端实现通用接口,所述通用接口包括:实现多种不同类型任务的共性代码行,以及能区分所述多种不同类型任务的区别代码行。S101: The task issuing server implements a general interface, wherein the general interface includes: common code lines for implementing multiple different types of tasks, and distinguishing code lines for distinguishing the multiple different types of tasks.

对于不同的实体店铺关联的订单数据来说,均可对应下发合批作业任务、下发仓库作业任务、以及下发配送作业任务这3种类型的任务,对于不同类型的任务来说,虽然是为了对该类型下的待履约订单数据进行任务下发,但在实现时可能会执行部分相同的操作动作。例如,从订单信息库中获取实体店铺1关联的待下发合批作业任务的订单数据,从订单信息库中获取实体店铺2关联的待下发仓库作业任务的订单数据,从订单信息库中获取实体店铺3关联的待下发配送作业任务的订单数据。通过上述示例可知,获取实体店铺关联的订单数据是各类型的任务均会执行的操作动作,故,接口5中可以包括用于实现该相同的操作动作的共性代码行。For the order data associated with different physical stores, there are three types of tasks: issuing batch operation tasks, issuing warehouse operation tasks, and issuing distribution operation tasks. For different types of tasks, although the purpose is to issue tasks for the pending order data of that type, some of the same operation actions may be performed during implementation. For example, the order data of the pending batch operation tasks associated with physical store 1 is obtained from the order information library, the order data of the pending warehouse operation tasks associated with physical store 2 is obtained from the order information library, and the order data of the pending distribution operation tasks associated with physical store 3 is obtained from the order information library. It can be seen from the above examples that obtaining the order data associated with the physical store is an operation action that will be performed by each type of task, so interface 5 can include common code lines for implementing the same operation action.

另外,对于不同类型的任务来说,在任务实现时还会执行不同的操作动作。例如,下发合批作业任务需要从订单信息库中获取待下发合批作业任务的订单数据,并将获取的订单数据发送至合批作业系统;下发仓库作业任务需要从订单信息库中获取待下发仓库作业任务的订单数据,并将获取的订单数据发送至仓库作业系统;下发配送作业任务需要从订单信息库中获取待下发配送作业任务的订单数据,并将获取的订单数据发送至配送作业系统。通过上述示例可知,获取哪种类型的待履约订单数据,以及将获取到的订单数据下发到哪个作业系统,是不同类型的任务执行的不同操作动作,故,接口5中可以包括能区分不同类型任务的区别代码行。In addition, for different types of tasks, different operation actions will be performed when the tasks are implemented. For example, issuing a batch operation task requires obtaining the order data of the batch operation task to be issued from the order information library, and sending the obtained order data to the batch operation system; issuing a warehouse operation task requires obtaining the order data of the warehouse operation task to be issued from the order information library, and sending the obtained order data to the warehouse operation system; issuing a distribution operation task requires obtaining the order data of the distribution operation task to be issued from the order information library, and sending the obtained order data to the distribution operation system. From the above examples, it can be seen that obtaining which type of order data to be fulfilled and to which operation system the obtained order data is issued are different operation actions performed by different types of tasks. Therefore, interface 5 can include different code lines that can distinguish different types of tasks.

综上,通过区别代码行可以确定目标任务类型信息,共性代码行和区别代码行可以组合获得一条查询条件,依据该查询条件便可从订单信息库中获取到目标任务类型信息对应的目标订单数据。In summary, the target task type information can be determined by distinguishing code lines, and the common code lines and the distinguishing code lines can be combined to obtain a query condition, and the target order data corresponding to the target task type information can be obtained from the order information library based on the query condition.

S102:任务下发客户端配置通用定时任务,将包括定时任务信息以及接口信息的配置信息提交到任务下发服务端。S102: The task issuing client configures a general scheduled task and submits configuration information including scheduled task information and interface information to the task issuing server.

以配置定时任务4为例,获得开发人员提交的定时任务配置请求时,任务下发客户端可以提供图3所示定时任务配置界面,通过该界面可以提供用于提交配置信息的操作选项。例如,可以包括用于提交接口5的调用地址信息的操作选项,用于提交任务参数信息的操作选项,以及用于提交任务类型信息的操作选项等。通过操作选项获得包括定时任务信息以及接口信息的配置信息后,可以提交到任务下发服务端,以便任务下发服务端通过接口5接受到定时任务4的调用后,可以确定此时定时任务4关联的目标任务类型信息,进行任务下发处理。Taking the configuration of scheduled task 4 as an example, when obtaining the scheduled task configuration request submitted by the developer, the task issuing client can provide the scheduled task configuration interface shown in Figure 3, through which the operation options for submitting configuration information can be provided. For example, it can include an operation option for submitting the call address information of interface 5, an operation option for submitting task parameter information, and an operation option for submitting task type information. After obtaining the configuration information including the scheduled task information and the interface information through the operation options, it can be submitted to the task issuing server, so that after the task issuing server receives the call of the scheduled task 4 through the interface 5, it can determine the target task type information associated with the scheduled task 4 at this time and perform the task issuing process.

本申请实施例中的任务参数信息,除上文所说任务类型参数之外,还可以包括根据需求配置的其他参数信息,下面进行举例说明。In addition to the task type parameters mentioned above, the task parameter information in the embodiment of the present application may also include other parameter information configured according to requirements, which is illustrated below with examples.

例如,任务下发服务端单次可以获取实体店铺关联的全部订单数据,或者,单次可以获取实体店铺关联的指定数量的订单数据,也就是说,任务下发客户端配置的任务参数信息可以包括指定数量信息。For example, the task issuing server may obtain all order data associated with a physical store at one time, or may obtain a specified number of order data associated with a physical store at one time, that is, the task parameter information configured by the task issuing client may include specified quantity information.

例如,任务下发客户端配置的任务参数信息可以包括查询方式信息,可以在实时性较强的数据库查询方式,以及查询速度较快的搜索引擎查询方式之间进行动态选择,满足不同的查询需求。也就是说,任务下发服务端可以基于任务参数信息指定的查询方式从订单信息库中获取目标订单数据。For example, the task parameter information configured by the task issuing client may include query method information, and a dynamic selection may be made between a database query method with strong real-time performance and a search engine query method with fast query speed to meet different query requirements. In other words, the task issuing server may obtain the target order data from the order information library based on the query method specified by the task parameter information.

例如,任务下发客户端配置的任务参数信息可以包括并发锁信息。任务下发服务端可以将并发锁信息以及目标订单数据下发到对应的作业系统,以便作业系统服务端根据并发锁信息进行防并发处理,避免目标订单数据被重复作业。其中,并发锁信息可以体现为数据库锁以及分布式锁,数据库锁还可以包括乐观锁以及通用互斥锁,分布式锁还可以包括redis锁以及zokeeper锁。任务下发客户端可以通过修改并发锁信息的方式,动态选择作业系统服务端采用的并发锁。For example, the task parameter information configured by the task issuing client may include concurrent lock information. The task issuing server may issue the concurrent lock information and the target order data to the corresponding operation system so that the operation system server can perform anti-concurrency processing according to the concurrent lock information to prevent the target order data from being repeatedly operated. Among them, the concurrent lock information can be reflected as a database lock and a distributed lock. The database lock can also include an optimistic lock and a universal mutex lock. The distributed lock can also include a redis lock and a zokeeper lock. The task issuing client can dynamically select the concurrent lock used by the operation system server by modifying the concurrent lock information.

S103:任务下发服务端获得配置信息,所述配置信息为多个实体店铺所共用。S103: The task issuing server obtains configuration information, and the configuration information is shared by multiple physical stores.

本申请实施例的接口5以及定时任务4可以在多个实体店铺之间复用,不需要针对每个实体店铺进行单独配置,即,任务下发服务端实现的接口5接受到定时任务4的调用后,可以从订单信息库中获取各配置信息作用范围内的多个实体店铺关联的目标订单数据,有助于简化履约配置过程,以及降低后期维护成本。特别是在新增实体店铺时,只要该新增实体店铺属于配置信息的作用范围内,便可利用该配置信息为该新增实体店铺关联的订单数据提供任务下发服务。The interface 5 and the scheduled task 4 of the embodiment of the present application can be reused among multiple physical stores, and there is no need to configure each physical store separately. That is, after the interface 5 implemented by the task dispatching service receives the call of the scheduled task 4, it can obtain the target order data associated with multiple physical stores within the scope of each configuration information from the order information library, which helps to simplify the fulfillment configuration process and reduce the subsequent maintenance costs. In particular, when adding a new physical store, as long as the new physical store is within the scope of the configuration information, the configuration information can be used to provide a task dispatching service for the order data associated with the new physical store.

其中,配置信息的作用范围可以理解为哪些实体店铺可以共用该配置信息。例如,在一种方式下,配置信息的作用范围可以具体到零售商维度,即,同一个零售商用户关联的所有实体店铺可以共用一份配置信息。如下表4所示,任务下发客户端可以针对零售商用户1开设的100间实体店铺配置通用定时任务41,并向任务下发服务端提交对应的配置信息31(可以包括定时任务41的定时任务信息以及接口5的接口信息);针对零售商用户2开设的50间实体店铺配置通用定时任务42,并向任务下发服务端提交对应的配置信息32(可以包括定时任务42的定时任务信息以及接口5的接口信息)。Among them, the scope of the configuration information can be understood as which physical stores can share the configuration information. For example, in one way, the scope of the configuration information can be specific to the retailer dimension, that is, all physical stores associated with the same retailer user can share a copy of the configuration information. As shown in Table 4 below, the task issuing client can configure a general scheduled task 41 for the 100 physical stores opened by retailer user 1, and submit the corresponding configuration information 31 (which may include the scheduled task information of the scheduled task 41 and the interface information of interface 5) to the task issuing server; configure a general scheduled task 42 for the 50 physical stores opened by retailer user 2, and submit the corresponding configuration information 32 (which may include the scheduled task information of the scheduled task 42 and the interface information of interface 5) to the task issuing server.

表4Table 4

本方式中,配置信息中的定时任务信息还可以包括零售商用户的标识信息,以便任务下发服务端据此确定配置信息的作用范围信息。例如,新增实体店铺具有零售商用户1的标识信息,则可确定该新增实体店铺在配置信息31的作用范围内,可以基于配置信息31从订单信息库中获取该新增实体店铺关联的订单数据进行任务下发处理。In this method, the scheduled task information in the configuration information may also include the identification information of the retailer user, so that the task issuing server can determine the scope of the configuration information accordingly. For example, if the newly added physical store has the identification information of the retailer user 1, it can be determined that the newly added physical store is within the scope of the configuration information 31, and the order data associated with the newly added physical store can be obtained from the order information library based on the configuration information 31 for task issuing processing.

或者,在另一种方式下,配置信息的作用范围可以具体到店铺维度,即,多个不同零售商用户关联的所有实体店铺可以共用一份配置信息。如下表5所示,任务下发客户端可以针对零售商用户1开设的100间实体店铺配置以及零售商用户2开设的50间实体店铺配置通用定时任务43,并向任务下发服务端提交对应的配置信息33(可以包括定时任务43的定时任务信息以及接口5的接口信息)。本方式下,任何新增实体店铺均可在配置信息33的作用范围内,故可以基于配置信息33为所有的新增实体店铺提供任务下发服务。Alternatively, in another way, the scope of the configuration information can be specific to the store dimension, that is, all physical stores associated with multiple different retailer users can share a set of configuration information. As shown in Table 5 below, the task issuing client can configure a general scheduled task 43 for the 100 physical stores opened by retailer user 1 and the 50 physical stores opened by retailer user 2, and submit the corresponding configuration information 33 (which may include the scheduled task information of the scheduled task 43 and the interface information of the interface 5) to the task issuing server. In this way, any newly added physical store can be within the scope of the configuration information 33, so the task issuing service can be provided for all newly added physical stores based on the configuration information 33.

表5Table 5

本申请实施例中,每个零售商用户可以分别独立开发一套“新零售”模式的业务系统,按照上文介绍的方式,使自身关联的实体店铺共用一份配置信息,进而为这些实体店铺关联的订单提供履约服务。In the embodiment of the present application, each retailer user can independently develop a business system of the "new retail" model, and in accordance with the method described above, enable the physical stores associated with the retailer to share a set of configuration information, and then provide fulfillment services for the orders associated with these physical stores.

另外,考虑到零售商用户单独开发业务系统的成本会非常高,一些中小型的零售商家可能无法承受。在这种环境下,出现了提供“新零售”解决方案的平台,这种平台可以打造新零售“样板间”,通过对传统的零售商用户进行赋能,将平台的产品能力、数据能力、运营模式等要素复制给零售商用户,让零售商用户基于与“新零售”系统中各业务领域相同的业务标准和执行流程来逐步提升自身的经营能力。例如,零售商用户可以将其商品信息、仓库中的库存信息、履约能力信息、销售端的信息等提交到平台中,平台为其实现具体业务流程的支持,使得零售商用户也能够按照“新零售”模式对外提供服务。如此场景下,平台可以根据需求,基于店铺维度或者零售商维度进行定时任务配置,为各零售商用户关联的实体店铺关联的订单提供履约服务。In addition, considering that the cost of developing business systems independently by retail users will be very high, some small and medium-sized retailers may not be able to afford it. In this environment, platforms that provide "new retail" solutions have emerged. This platform can create a new retail "model room" by empowering traditional retail users, copying the platform's product capabilities, data capabilities, operating models and other elements to retail users, allowing retail users to gradually improve their own business capabilities based on the same business standards and execution processes as the various business areas in the "new retail" system. For example, retail users can submit their product information, inventory information in the warehouse, fulfillment capability information, sales information, etc. to the platform, and the platform will support them in implementing specific business processes, so that retail users can also provide services to the outside world in accordance with the "new retail" model. In such a scenario, the platform can configure scheduled tasks based on store dimensions or retailer dimensions according to needs, and provide fulfillment services for orders associated with physical stores associated with each retail user.

S104:通过所述接口接受到定时任务的调用后,确定所述定时任务关联的目标任务类型信息。S104: After receiving the call of the scheduled task through the interface, determine the target task type information associated with the scheduled task.

如上文所做介绍,任务下发服务端可以通过定时任务信息中的任务类型参数,确定定时任务关联的目标任务类型信息。以下发合批作业任务为例,该任务是进行批量处理时执行的第一个任务,故可以将任务类型参数默认配置为下发合批作业任务。这样,在定时任务4启动调用接口5时,区别代码行便可根据任务类型参数,将下发合批作业任务确定为目标任务类型,进而从订单信息库中获取待下发合批作业任务的目标订单数据,以及将获取到的目标订单数据发送至合批作业系统服务端进行合批作业。As described above, the task issuing server can determine the target task type information associated with the scheduled task through the task type parameter in the scheduled task information. Take the task of issuing a batch job as an example. This task is the first task executed during batch processing, so the task type parameter can be configured by default as issuing a batch job task. In this way, when the scheduled task 4 starts calling interface 5, the distinguishing code line can determine the issuing batch job task as the target task type according to the task type parameter, and then obtain the target order data of the batch job task to be issued from the order information library, and send the obtained target order data to the batch job system server for batch operation.

例如,合批作业系统服务端根据拣货区域信息(可以根据目标订单数据包括的商品对象的种类确定拣货区域,例如,水果拣货区域、海鲜拣货区域、蔬菜拣货区域等)、配送地址信息、以及配送时间信息等,对目标订单数据进行任务处理,将实体店铺1关联的20个目标订单数据合成了两个批次。其中,批次1对应8个目标订单数据,批次2对应12个目标订单数据。For example, the batch operation system server performs task processing on the target order data according to the picking area information (the picking area can be determined according to the type of commodity objects included in the target order data, such as fruit picking area, seafood picking area, vegetable picking area, etc.), delivery address information, and delivery time information, and combines the 20 target order data associated with physical store 1 into two batches. Among them, batch 1 corresponds to 8 target order data, and batch 2 corresponds to 12 target order data.

对于下发仓库作业任务以及下发配送作业任务来说,均需要在合批作业完成后才被触发执行,故任务下发服务端可以在确定合批作业系统对目标订单数据完成合批作业后,更新任务类型参数,以便区别代码行根据更新后的任务类型参数将下发仓库作业任务以及下发配送作业任务确定为目标任务类型。For issuing warehouse operation tasks and issuing distribution operation tasks, they need to be triggered for execution only after the batch operation is completed. Therefore, the task issuing server can update the task type parameter after determining that the batch operation system has completed the batch operation for the target order data, so as to distinguish the code lines and determine the issuing of warehouse operation tasks and issuing of distribution operation tasks as the target task type according to the updated task type parameter.

通常,按照履约逻辑来说,需要先进行仓库作业完成拣货打包后,再进行配送作业将商品配送给消费者用户。故更新任务类型参数可以体现为,确定合批作业系统对目标订单数据完成合批作业后,任务下发服务端可以将任务类型参数更新为下发仓库作业任务。以“1”表示下发合批作业任务,“2”表示下发仓库作业任务为例,此时任务类型参数可以更新为“2”,这样,在定时任务4第2次调用接口5时,区别代码行便可将“2”表示的下发仓库作业任务确定为目标任务类型,进而从订单信息库中获取待下发仓库作业任务的目标订单数据(以合成的批次为基本处理单元),以及将获取到的目标订单数据发送至仓库作业系统服务端进行拣货作业以及打包作业。Usually, according to the fulfillment logic, it is necessary to first complete the warehouse operation to pick and pack, and then perform the distribution operation to deliver the goods to the consumer user. Therefore, updating the task type parameter can be reflected in that after determining that the batch operation system completes the batch operation for the target order data, the task issuing server can update the task type parameter to issue the warehouse operation task. Taking "1" for issuing the batch operation task and "2" for issuing the warehouse operation task as an example, the task type parameter can be updated to "2" at this time. In this way, when the scheduled task 4 calls the interface 5 for the second time, the difference code line can determine the warehouse operation task represented by "2" as the target task type, and then obtain the target order data of the warehouse operation task to be issued from the order information library (with the synthesized batch as the basic processing unit), and send the obtained target order data to the warehouse operation system server for picking and packing operations.

例如,仓库作业系统服务端对批次1对应的8个目标订单数据进行任务处理,根据目标订单数据包括的商品对象的种类,生成3个拣货任务以及1个打包任务,可以将3个拣货任务对应的拣货作业任务信息下发到实体店铺1的拣货作业人员关联的仓库作业系统客户端,将1个打包任务对应的打包作业任务信息下发到实体店铺1的打包作业人员关联的仓库作业系统客户端。For example, the warehouse operation system server performs task processing on the 8 target order data corresponding to batch 1, and generates 3 picking tasks and 1 packing task according to the types of commodity objects included in the target order data. The picking operation task information corresponding to the 3 picking tasks can be sent to the warehouse operation system client associated with the picking operator of the physical store 1, and the packing operation task information corresponding to the 1 packing task can be sent to the warehouse operation system client associated with the packing operator of the physical store 1.

拣货作业人员关联的仓库作业系统客户端可以对获得的拣货作业任务信息进行展示,以便拣货作业人员对批次1对应的8个目标订单数据进行拣货作业。此外,各拣货作业人员完成拣货作业后,可以将所有商品汇总到打包作业人员处,以便打包作业人员根据关联的仓库作业系统客户端展示的打包作业任务信息进行打包作业。The warehouse operation system client associated with the picking operator can display the obtained picking operation task information so that the picking operator can perform picking operations on the 8 target order data corresponding to batch 1. In addition, after each picking operator completes the picking operation, all the goods can be summarized to the packing operator so that the packing operator can perform the packing operation according to the packing operation task information displayed by the associated warehouse operation system client.

进一步地,更新任务类型参数还可以体现为,确定仓库作业系统对目标订单数据完成拣货打包作业后,任务下发服务端可以将任务类型参数更新为下发配送作业任务。以“3”表示下发配送作业任务为例,此时任务类型参数可以更新为“3”,这样,在定时任务4第3次调用接口5时,区别代码行便可将“3”表示的下发配送作业任务确定为目标任务类型,进而从订单信息库中获取待下发配送作业任务的目标订单数据(仍以合成的批次为基本处理单元),以及将获取到的目标订单数据发送至配送作业系统服务端进行配送作业。Furthermore, updating the task type parameter can also be reflected in that after determining that the warehouse operation system completes the picking and packing operation for the target order data, the task issuing server can update the task type parameter to issue a distribution operation task. Taking "3" as an example, the task type parameter can be updated to "3". In this way, when the scheduled task 4 calls the interface 5 for the third time, the code line can be distinguished to determine the distribution operation task represented by "3" as the target task type, and then obtain the target order data of the distribution operation task to be issued from the order information library (still taking the synthesized batch as the basic processing unit), and send the obtained target order data to the distribution operation system server for distribution operation.

例如,配送作业系统服务端进行任务处理,针对批次1对应的8个目标订单数据生成1个配送任务,并根据实体店铺1关联的配送站的负载情况,将配送任务对应的配送作业任务信息下发到配送作业人员1关联的配送作业系统客户端。For example, the distribution operation system server performs task processing, generates one distribution task for the eight target order data corresponding to batch 1, and sends the distribution operation task information corresponding to the distribution task to the distribution operation system client associated with distribution operator 1 based on the load conditions of the distribution station associated with physical store 1.

配送作业人员1关联的配送作业系统客户端可以对获得的配送作业任务信息进行展示,以便配送作业人员1对批次1对应的8个目标订单数据打包出的包裹进行配送作业。The delivery operation system client associated with the delivery operation personnel 1 can display the obtained delivery operation task information so that the delivery operation personnel 1 can perform delivery operations on the packages packaged from the 8 target order data corresponding to the batch 1.

此外,为了实现极速达的履约能力,下发仓库作业任务以及下发配送作业任务之间亦可不按上述顺序执行。例如,确定合批作业系统服务端对目标订单数据完成合批作业,并进行任务类型参数更新后,可以同时将下发仓库作业任务以及下发配送作业任务确定为目标任务类型,分别进行这两种类型的任务的下发处理。并行处理这两种类型的任务,可以在拣货打包的同时,预先调度好对应的配送作业人员,有助于缩短履约时间。In addition, in order to achieve the fastest fulfillment capability, the warehouse operation tasks and the distribution operation tasks may not be executed in the above order. For example, after determining that the batch operation system server completes the batch operation for the target order data and updates the task type parameters, the warehouse operation tasks and the distribution operation tasks can be determined as the target task types at the same time, and the two types of tasks can be issued separately. Processing these two types of tasks in parallel can pre-schedule the corresponding distribution workers while picking and packing, which helps to shorten the fulfillment time.

S105:从订单信息库中获取与所述目标任务类型信息对应的目标订单数据。S105: Acquire target order data corresponding to the target task type information from the order information library.

如上文所做介绍,定时任务4启动调用接口5后,可以获得一条查询条件,如果定时任务信息中还包括查询方式信息,任务下发服务端便可在获得查询条件后,基于定时任务4指定的查询方式从订单信息库中获取目标任务类型信息对应的目标订单数据。As described above, after scheduled task 4 starts calling interface 5, it can obtain a query condition. If the scheduled task information also includes query method information, the task issuing server can obtain the target order data corresponding to the target task type information from the order information library based on the query method specified by scheduled task 4 after obtaining the query condition.

可以理解地,本实施例中的配置信息3可以被多个实体店铺所共用,故任务下发服务端从订单信息库中获取的目标订单数据可能会对应不同实体店铺,为了批量处理同一店铺关联的目标订单数据,将目标订单任务下发到合批作业系统后,合批作业系统可以根据目标订单数据中的店铺标识信息进行分组处理,对具有相同店铺标识信息分组内的目标订单数据进行合批作业。It can be understood that the configuration information 3 in this embodiment can be shared by multiple physical stores, so the target order data obtained by the task issuing server from the order information library may correspond to different physical stores. In order to batch process the target order data associated with the same store, after the target order task is issued to the batch operation system, the batch operation system can group the target order data according to the store identification information in the target order data, and perform batch operations on the target order data in the group with the same store identification information.

S106:将所述目标订单数据发送至所述目标任务类型信息对应的作业系统服务端。S106: Send the target order data to the operation system server corresponding to the target task type information.

本申请实施例中的作业系统服务端可以有多种不同实现方式。在一种实现方式下,作业系统服务端可以部署在一台设备上,例如,合批作业系统服务端部署在设备A上,所有的待下发合批作业任务的目标订单数据都可以发送到设备A上进行作业;仓库作业系统服务端部署在设备B上,所有的待下发仓库作业任务的目标订单数据都可以发送到设备B上进行作业;配送作业系统服务端部署在设备C上,所有的待下发配送作业任务的目标订单数据都可以发送到设备C上进行作业。The operation system server in the embodiment of the present application can have a variety of different implementations. In one implementation, the operation system server can be deployed on a device, for example, the batch operation system server is deployed on device A, and all target order data of batch operation tasks to be issued can be sent to device A for operation; the warehouse operation system server is deployed on device B, and all target order data of warehouse operation tasks to be issued can be sent to device B for operation; the distribution operation system server is deployed on device C, and all target order data of distribution operation tasks to be issued can be sent to device C for operation.

或者,在另一种实现方式下,任务下发客户端可以将定时任务配置为网格任务,例如,通过定时任务配置界面提供用于提交网格任务类型信息的操作选项,通过操作选项获得网格任务类型信息后可以提交到任务下发服务端。也就是说,定时任务信息中还可以包括网格任务类型信息。本方式下,作业系统服务端可以部署在网格任务对应的多台集群设备上,且每台集群设备可以分别部署实现多种不同类型任务的作业系统服务端。例如,集群中包括100台设备,每台设备上均部署有合批作业系统服务端、仓库作业系统服务端、以及配送作业系统服务端。如此,在进行任务下发时,可以根据各台设备的负载情况,对不同类型的任务进行无区分下发,不仅有助于提高作业系统的作业效率,还可以避免单机异常时出现单点故障。需要说明的是,在本方式下进行任务下发时,可以将目标任务类型信息以及目标订单数据发送至集群设备,以便集群设备调用与目标任务类型信息对应的作业系统服务端对目标订单数据进行作业。Alternatively, in another implementation mode, the task issuing client can configure the scheduled task as a grid task, for example, an operation option for submitting grid task type information is provided through the scheduled task configuration interface, and the grid task type information can be submitted to the task issuing server after being obtained through the operation option. That is to say, the scheduled task information can also include grid task type information. In this mode, the operation system server can be deployed on multiple cluster devices corresponding to the grid task, and each cluster device can respectively deploy an operation system server that implements multiple different types of tasks. For example, the cluster includes 100 devices, and each device is deployed with a batch operation system server, a warehouse operation system server, and a distribution operation system server. In this way, when issuing tasks, different types of tasks can be issued without distinction according to the load conditions of each device, which not only helps to improve the operation efficiency of the operation system, but also avoids single point failures when a single machine is abnormal. It should be noted that when issuing tasks in this mode, the target task type information and the target order data can be sent to the cluster device so that the cluster device calls the operation system server corresponding to the target task type information to operate the target order data.

作为一种示例,作业系统服务端可以获得关联的作业系统客户端发送的作业能力信息,以便根据作业能力信息确定对目标订单数据进行作业的目标作业系统客户端。例如,商品配送过程中,可能由多个配送服务提供方为消费者用户提供配送服务,在配送服务提供方1的配送资源紧张时,可以通过配送服务提供方1关联的配送作业系统客户端将表示资源紧张的作业能力信息反馈至配送作业系统服务端,以便配送作业系统服务端从配送资源充足的配送服务提供方2中确定目标配送作业人员,并将对应的配送作业下发至该目标配送作业人员关联的配送作业系统客户端。As an example, the operation system server can obtain the operation capacity information sent by the associated operation system client, so as to determine the target operation system client that performs the operation on the target order data according to the operation capacity information. For example, during the commodity delivery process, multiple delivery service providers may provide delivery services to consumer users. When the delivery resources of delivery service provider 1 are tight, the delivery operation system client associated with delivery service provider 1 can feed back the operation capacity information indicating the tight resources to the delivery operation system server, so that the delivery operation system server can determine the target delivery operator from delivery service provider 2 with sufficient delivery resources, and send the corresponding delivery operation to the delivery operation system client associated with the target delivery operator.

实施例2Example 2

该实施例2是与实施例1相对应的,从任务下发服务端的角度,提供了一种任务下发处理方法,参见图4,该方法具体可以包括:This embodiment 2 corresponds to the embodiment 1, and provides a task delivery processing method from the perspective of the task delivery server. Referring to FIG. 4 , the method may specifically include:

S201:任务下发服务端获得配置信息,所述配置信息中包括定时任务信息以及接口信息,所述定时任务包括:在针对与实体店铺关联的订单提供履约服务的过程中涉及到的任务,所述实体店铺为多个;其中,同一份配置信息为多个实体店铺所共用;S201: The task issuing server obtains configuration information, wherein the configuration information includes scheduled task information and interface information, wherein the scheduled task includes: tasks involved in the process of providing fulfillment services for orders associated with a physical store, wherein there are multiple physical stores; wherein the same configuration information is shared by multiple physical stores;

S202:通过所述接口接受到定时任务的调用后,确定所述定时任务关联的目标任务类型信息;S202: after receiving the call of the scheduled task through the interface, determining the target task type information associated with the scheduled task;

S203:从订单信息库中获取与所述目标任务类型信息对应的目标订单数据;S203: Acquire target order data corresponding to the target task type information from an order information database;

S204:将所述目标订单数据发送至所述目标任务类型信息对应的作业系统。S204: Send the target order data to the operation system corresponding to the target task type information.

实施例3Example 3

该实施例3是与实施例1相对应的,从任务下发客户端的角度,提供了一种任务下发处理方法,参见图5,该方法具体可以包括:This embodiment 3 corresponds to the embodiment 1, and provides a task delivery processing method from the perspective of the task delivery client. Referring to FIG. 5 , the method may specifically include:

S301:任务下发客户端获得用户提交的定时任务配置请求时,提供用于提交配置信息的操作选项,所述配置信息包括定时任务信息以及接口信息,同一份配置信息为多个实体店铺所共用;S301: When the task issuing client obtains a scheduled task configuration request submitted by a user, an operation option for submitting configuration information is provided, wherein the configuration information includes scheduled task information and interface information, and the same configuration information is shared by multiple physical stores;

S302:通过所述操作选项获得所述配置信息后,提交到任务下发服务端,以便所述任务下发服务端通过所述接口接受到定时任务的调用后,确定所述定时任务关联的目标任务类型信息;从订单信息库中获取与所述目标任务类型信息对应的目标订单数据发送至所述目标任务类型信息对应的作业系统。S302: After obtaining the configuration information through the operation options, submit it to the task issuing server, so that after the task issuing server receives the call of the scheduled task through the interface, it can determine the target task type information associated with the scheduled task; obtain the target order data corresponding to the target task type information from the order information library and send it to the operating system corresponding to the target task type information.

实施例4Example 4

该实施例4是与实施例1相对应的,从作业系统服务端的角度,提供了一种任务下发处理方法,参见图6,该方法具体可以包括:This embodiment 4 corresponds to the embodiment 1, and provides a task delivery processing method from the perspective of the operation system server. Referring to FIG. 6 , the method may specifically include:

S401:作业系统服务端获得任务下发服务端发送的目标订单数据,所述目标订单数据为所述任务下发服务端基于被多个实体店铺共用的配置信息,确定出调用接口的定时任务关联的目标任务类型信息后,从订单信息库中获取的与所述目标任务类型信息对应的目标订单数据;S401: the operation system server obtains target order data sent by the task issuing server, wherein the target order data is the target order data corresponding to the target task type information obtained from the order information database after the task issuing server determines the target task type information associated with the scheduled task of the calling interface based on the configuration information shared by multiple physical stores;

S402:对所述目标订单数据进行任务处理。S402: Perform task processing on the target order data.

实施例5Example 5

该实施例5是与实施例1相对应的,从作业系统客户端的角度,提供了一种任务下发处理方法,参见图7,该方法具体可以包括:This embodiment 5 corresponds to the embodiment 1, and provides a task delivery processing method from the perspective of the operating system client. Referring to FIG. 7 , the method may specifically include:

S501:作业系统客户端获得作业系统服务端发送的作业任务信息,所述作业任务信息为所述作业系统服务端对任务下发服务端发送的目标订单数据进行任务处理后获得,所述任务下发服务端基于被多个实体店铺共用的配置信息从订单信息库中获得所述目标订单数据;S501: The operation system client obtains the operation task information sent by the operation system server, wherein the operation task information is obtained after the operation system server performs task processing on the target order data sent by the task issuing server, and the task issuing server obtains the target order data from the order information library based on the configuration information shared by multiple physical stores;

S502:对所述作业任务信息进行展示,以便所述作业系统客户端关联的作业人员对所述目标订单数据进行作业。S502: Display the operation task information so that the operator associated with the operation system client can perform the operation on the target order data.

关于前述实施例2至实施例5中的未详述部分,可以参见前述实施例中的记载,这里不再赘述。For the undescribed parts in the aforementioned embodiments 2 to 5, please refer to the records in the aforementioned embodiments, which will not be repeated here.

与实施例1相对应,本申请实施例还提供了一种任务下发处理装置,参见图8,该装置应用于任务下发服务端,包括:Corresponding to Example 1, the embodiment of the present application further provides a task delivery processing device, see FIG8 , the device is applied to the task delivery server, including:

配置信息获得单元601,用于获得配置信息,所述配置信息中包括定时任务信息以及接口信息,所述定时任务包括:在针对与实体店铺关联的订单提供履约服务的过程中涉及到的任务,所述实体店铺为多个;其中,同一份配置信息为多个实体店铺所共用;The configuration information obtaining unit 601 is used to obtain configuration information, wherein the configuration information includes scheduled task information and interface information, wherein the scheduled task includes: tasks involved in the process of providing fulfillment services for orders associated with a physical store, wherein there are multiple physical stores; wherein the same configuration information is shared by multiple physical stores;

目标任务类型信息确定单元602,用于通过所述接口接受到定时任务的调用后,确定所述定时任务关联的目标任务类型信息;A target task type information determining unit 602 is used to determine the target task type information associated with the scheduled task after receiving a call of the scheduled task through the interface;

目标订单数据获取单元603,用于从订单信息库中获取与所述目标任务类型信息对应的目标订单数据;The target order data acquisition unit 603 is used to acquire the target order data corresponding to the target task type information from the order information library;

目标订单数据发送单元604,用于将所述目标订单数据发送至所述目标任务类型信息对应的作业系统。The target order data sending unit 604 is used to send the target order data to the operation system corresponding to the target task type information.

其中,所述装置还包括:Wherein, the device further comprises:

作用范围信息确定单元,用于确定所述同一份配置信息的作用范围信息,在新增实体店铺时,如果新增的实体店铺属于所述作用范围内,则利用该配置信息为所述新增的实体店铺提供任务下发服务。The scope information determination unit is used to determine the scope information of the same configuration information. When a new physical store is added, if the new physical store belongs to the scope, the configuration information is used to provide task distribution service for the new physical store.

其中,所述作用范围包括同一个零售商用户关联的所有实体店铺。The scope of action includes all physical stores associated with the same retailer user.

其中,所述作用范围包括多个不同零售商用户关联的所有实体店铺。The scope of action includes all physical stores associated with multiple different retailer users.

其中,所述配置信息包括不同类型任务对应的多个定时任务信息以及多个接口信息。The configuration information includes a plurality of scheduled task information and a plurality of interface information corresponding to different types of tasks.

其中,所述配置信息包括不同类型任务对应的多个定时任务信息以及一个接口信息。The configuration information includes a plurality of scheduled task information corresponding to different types of tasks and an interface information.

其中,所述配置信息包括不同类型任务对应的一个定时任务信息以及一个接口信息;The configuration information includes a scheduled task information and an interface information corresponding to different types of tasks;

所述定时任务信息包括任务类型参数,所述接口包括:实现不同类型任务的共性代码行,以及能区分所述不同类型任务的区别代码行,所述区别代码行用于根据所述任务类型参数确定所述目标任务类型信息。The scheduled task information includes task type parameters, and the interface includes: common code lines for implementing different types of tasks, and distinguishing code lines that can distinguish the different types of tasks, and the distinguishing code lines are used to determine the target task type information according to the task type parameters.

其中,所述任务类型参数默认配置为下发合成批次作业任务,The default configuration of the task type parameter is to issue a synthetic batch job task.

所述目标任务类型信息确定单元,具体用于:The target task type information determination unit is specifically used to:

所述区别代码行根据默认配置的任务类型参数,将所述目标任务类型信息确定为下发仓库作业任务。The distinguishing code line determines the target task type information as a dispatching warehouse operation task according to the default configured task type parameters.

其中,所述装置还包括:Wherein, the device further comprises:

任务类型参数更新单元,用于在确定所述目标订单数据完成合成批次作业后,更新所述任务类型参数;A task type parameter updating unit, configured to update the task type parameter after determining that the target order data completes the synthesis batch operation;

所述目标任务类型信息确定单元,具体用于:The target task type information determination unit is specifically used to:

所述区别代码行根据更新后的任务类型参数,将所述目标任务类型信息确定为下发仓库作业任务。The distinguishing code line determines the target task type information as a dispatching warehouse operation task according to the updated task type parameter.

其中,所述装置还包括:Wherein, the device further comprises:

任务类型参数更新单元,用于在确定所述目标订单数据完成合成批次作业后,更新所述任务类型参数;A task type parameter updating unit, configured to update the task type parameter after determining that the target order data completes the synthesis batch operation;

所述目标任务类型信息确定单元,具体用于:The target task type information determination unit is specifically used to:

所述区别代码行根据更新后的任务类型参数,将所述目标任务类型信息确定为下发配送作业任务。The distinguishing code line determines the target task type information as a distribution operation task according to the updated task type parameter.

其中,所述定时任务配置为网格任务,对应的多台集群设备中分别部署实现多种不同类型任务的作业系统;Wherein, the scheduled tasks are configured as grid tasks, and the corresponding multiple cluster devices are respectively deployed with operation systems for implementing multiple different types of tasks;

所述目标订单数据发送单元,具体用于:The target order data sending unit is specifically used for:

将所述目标任务类型信息以及所述目标订单数据发送至所述多台集群设备,以便集群设备调用与所述目标任务类型信息对应的作业系统对所述目标订单数据进行作业。The target task type information and the target order data are sent to the plurality of cluster devices, so that the cluster devices call the operation system corresponding to the target task type information to perform an operation on the target order data.

与实施例1相对应,本申请实施例还提供了一种任务下发处理装置,参见图9,该装置应用于任务下发客户端,包括:Corresponding to Example 1, the embodiment of the present application further provides a task delivery processing device, see FIG9 , the device is applied to a task delivery client, including:

操作选项提供单元701,用于在获得用户提交的定时任务配置请求时,提供用于提交配置信息的操作选项,所述配置信息包括定时任务信息以及接口信息,同一份配置信息为多个实体店铺所共用;The operation option providing unit 701 is used to provide an operation option for submitting configuration information when obtaining a scheduled task configuration request submitted by a user, wherein the configuration information includes scheduled task information and interface information, and the same configuration information is shared by multiple physical stores;

配置信息提交单元702,用于通过所述操作选项获得所述配置信息后,提交到任务下发服务端,以便所述任务下发服务端通过所述接口接受到定时任务的调用后,确定所述定时任务关联的目标任务类型信息;从订单信息库中获取与所述目标任务类型信息对应的目标订单数据发送至所述目标任务类型信息对应的作业系统。The configuration information submission unit 702 is used to submit the configuration information obtained through the operation option to the task issuing server, so that after the task issuing server receives the call of the scheduled task through the interface, it can determine the target task type information associated with the scheduled task; obtain the target order data corresponding to the target task type information from the order information library and send it to the operating system corresponding to the target task type information.

与实施例1相对应,本申请实施例还提供了一种任务下发处理装置,参见图10,该装置应用于作业系统服务端,包括:Corresponding to Example 1, the embodiment of the present application further provides a task delivery processing device, see FIG10 , the device is applied to the operating system server, including:

目标订单数据获得单元801,用于获得任务下发服务端发送的目标订单数据,所述目标订单数据为所述任务下发服务端基于被多个实体店铺共用的配置信息,确定出调用接口的定时任务关联的目标任务类型信息后,从订单信息库中获取的与所述目标任务类型信息对应的目标订单数据;The target order data obtaining unit 801 is used to obtain the target order data sent by the task issuing server, wherein the target order data is the target order data corresponding to the target task type information obtained from the order information library after the task issuing server determines the target task type information associated with the scheduled task calling the interface based on the configuration information shared by multiple physical stores;

任务处理单元802,用于对所述目标订单数据进行任务处理。The task processing unit 802 is used to perform task processing on the target order data.

与实施例1相对应,本申请实施例还提供了一种任务下发处理装置,参见图11,该装置应用于作业系统客户端,包括:Corresponding to Example 1, the embodiment of the present application further provides a task delivery processing device, see FIG11 , the device is applied to an operating system client, and includes:

作业任务信息获得单元901,用于获得作业系统服务端发送的作业任务信息,所述作业任务信息为所述作业系统服务端对任务下发服务端发送的目标订单数据进行任务处理后获得,所述任务下发服务端基于被多个实体店铺共用的配置信息从订单信息库中获得所述目标订单数据;The operation task information obtaining unit 901 is used to obtain the operation task information sent by the operation system server, wherein the operation task information is obtained after the operation system server performs task processing on the target order data sent by the task issuing server, and the task issuing server obtains the target order data from the order information library based on the configuration information shared by multiple physical stores;

作业任务信息展示单元902,用于对所述作业任务信息进行展示,以便所述作业系统客户端关联的作业人员对所述目标订单数据进行作业。The operation task information display unit 902 is used to display the operation task information so that the operator associated with the operation system client can perform the operation on the target order data.

另外本申请实施例还提供了一种电子设备,包括:In addition, an embodiment of the present application further provides an electronic device, including:

一个或多个处理器;以及one or more processors; and

与所述一个或多个处理器关联的存储器,所述存储器用于存储程序指令,所述程序指令在被所述一个或多个处理器读取执行时,执行如下操作:A memory associated with the one or more processors, the memory being used to store program instructions, wherein when the program instructions are read and executed by the one or more processors, the following operations are performed:

获得配置信息,所述配置信息中包括定时任务信息以及接口信息,所述定时任务包括:在针对与实体店铺关联的订单提供履约服务的过程中涉及到的任务,所述实体店铺为多个;其中,同一份配置信息为多个实体店铺所共用;Obtaining configuration information, wherein the configuration information includes scheduled task information and interface information, wherein the scheduled task includes: tasks involved in providing fulfillment services for orders associated with a physical store, wherein there are multiple physical stores; wherein the same configuration information is shared by multiple physical stores;

通过所述接口接受到定时任务的调用后,确定所述定时任务关联的目标任务类型信息;After receiving a call to a scheduled task through the interface, determining target task type information associated with the scheduled task;

从订单信息库中获取与所述目标任务类型信息对应的目标订单数据;Acquire target order data corresponding to the target task type information from an order information database;

将所述目标订单数据发送至所述目标任务类型信息对应的作业系统。The target order data is sent to the operation system corresponding to the target task type information.

以及一种电子设备,包括:And an electronic device, comprising:

一个或多个处理器;以及one or more processors; and

与所述一个或多个处理器关联的存储器,所述存储器用于存储程序指令,所述程序指令在被所述一个或多个处理器读取执行时,执行如下操作:A memory associated with the one or more processors, the memory being used to store program instructions, wherein when the program instructions are read and executed by the one or more processors, the following operations are performed:

获得用户提交的定时任务配置请求时,提供用于提交配置信息的操作选项,所述配置信息包括定时任务信息以及接口信息,同一份配置信息为多个实体店铺所共用;When obtaining a scheduled task configuration request submitted by a user, an operation option for submitting configuration information is provided. The configuration information includes scheduled task information and interface information. The same configuration information is shared by multiple physical stores.

通过所述操作选项获得所述配置信息后,提交到任务下发服务端,以便所述任务下发服务端通过所述接口接受到定时任务的调用后,确定所述定时任务关联的目标任务类型信息;从订单信息库中获取与所述目标任务类型信息对应的目标订单数据发送至所述目标任务类型信息对应的作业系统。After obtaining the configuration information through the operation options, submit it to the task issuing server, so that after the task issuing server receives the call of the scheduled task through the interface, it can determine the target task type information associated with the scheduled task; obtain the target order data corresponding to the target task type information from the order information library and send it to the operating system corresponding to the target task type information.

以及一种电子设备,包括:And an electronic device, comprising:

一个或多个处理器;以及one or more processors; and

与所述一个或多个处理器关联的存储器,所述存储器用于存储程序指令,所述程序指令在被所述一个或多个处理器读取执行时,执行如下操作:A memory associated with the one or more processors, the memory being used to store program instructions, wherein when the program instructions are read and executed by the one or more processors, the following operations are performed:

获得任务下发服务端发送的目标订单数据,所述目标订单数据为所述任务下发服务端基于被多个实体店铺共用的配置信息,确定出调用接口的定时任务关联的目标任务类型信息后,从订单信息库中获取的与所述目标任务类型信息对应的目标订单数据;Obtaining target order data sent by the task issuing server, wherein the target order data is the target order data corresponding to the target task type information obtained from the order information library after the task issuing server determines the target task type information associated with the scheduled task calling the interface based on the configuration information shared by multiple physical stores;

对所述目标订单数据进行任务处理。Perform task processing on the target order data.

以及一种电子设备,包括:And an electronic device, comprising:

一个或多个处理器;以及one or more processors; and

与所述一个或多个处理器关联的存储器,所述存储器用于存储程序指令,所述程序指令在被所述一个或多个处理器读取执行时,执行如下操作:A memory associated with the one or more processors, the memory being used to store program instructions, wherein when the program instructions are read and executed by the one or more processors, the following operations are performed:

获得作业系统服务端发送的作业任务信息,所述作业任务信息为所述作业系统服务端对任务下发服务端发送的目标订单数据进行任务处理后获得,所述任务下发服务端基于被多个实体店铺共用的配置信息从订单信息库中获得所述目标订单数据;Obtaining the operation task information sent by the operation system server, wherein the operation task information is obtained after the operation system server performs task processing on the target order data sent by the task issuing server, and the task issuing server obtains the target order data from the order information library based on the configuration information shared by multiple physical stores;

对所述作业任务信息进行展示,以便所述作业系统客户端关联的作业人员对所述目标订单数据进行作业。The operation task information is displayed so that the operator associated with the operation system client can perform operations on the target order data.

其中,图12示例性的展示出了计算机系统的架构,具体可以包括处理器1010,视频显示适配器1011,磁盘驱动器1012,输入/输出接口1013,网络接口1014,以及存储器1020。上述处理器1010、视频显示适配器1011、磁盘驱动器1012、输入/输出接口1013、网络接口1014,与存储器1020之间可以通过通信总线1030进行通信连接。12 exemplarily shows the architecture of a computer system, which may include a processor 1010, a video display adapter 1011, a disk drive 1012, an input/output interface 1013, a network interface 1014, and a memory 1020. The processor 1010, the video display adapter 1011, the disk drive 1012, the input/output interface 1013, the network interface 1014, and the memory 1020 may be communicatively connected via a communication bus 1030.

其中,处理器1010可以采用通用的CPU(Central Processing Unit,中央处理器)、微处理器、应用专用集成电路(Application Specific Integrated Circuit,ASIC)、或者一个或多个集成电路等方式实现,用于执行相关程序,以实现本申请所提供的技术方案。Among them, the processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solution provided in this application.

存储器1020可以采用ROM(Read Only Memory,只读存储器)、RAM(Random AccessMemory,随机存取存储器)、静态存储设备,动态存储设备等形式实现。存储器1020可以存储用于控制计算机系统1000运行的操作系统1021,用于控制计算机系统1000的低级别操作的基本输入输出系统(BIOS)。另外,还可以存储网页浏览器1023,数据存储管理系统1024,以及任务下发处理系统1025等等。上述任务下发处理系统1025就可以是本申请实施例中具体实现前述各步骤操作的任务下发服务端。总之,在通过软件或者固件来实现本申请所提供的技术方案时,相关的程序代码保存在存储器1020中,并由处理器1010来调用执行。The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store an operating system 1021 for controlling the operation of the computer system 1000, and a basic input and output system (BIOS) for controlling the low-level operation of the computer system 1000. In addition, a web browser 1023, a data storage management system 1024, and a task issuance processing system 1025, etc. can also be stored. The above-mentioned task issuance processing system 1025 can be the task issuance server that specifically implements the aforementioned steps in the embodiment of the present application. In short, when the technical solution provided by the present application is implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.

输入/输出接口1013用于连接输入/输出模块,以实现信息输入及输出。输入输出/模块可以作为组件配置在设备中(图中未示出),也可以外接于设备以提供相应功能。其中输入设备可以包括键盘、鼠标、触摸屏、麦克风、各类传感器等,输出设备可以包括显示器、扬声器、振动器、指示灯等。The input/output interface 1013 is used to connect the input/output module to realize information input and output. The input/output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

网络接口1014用于连接通信模块(图中未示出),以实现本设备与其他设备的通信交互。其中通信模块可以通过有线方式(例如USB、网线等)实现通信,也可以通过无线方式(例如移动网络、WIFI、蓝牙等)实现通信。The network interface 1014 is used to connect to a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

总线1030包括一通路,在设备的各个组件(例如处理器1010、视频显示适配器1011、磁盘驱动器1012、输入/输出接口1013、网络接口1014,与存储器1020)之间传输信息。The bus 1030 comprises a pathway for transmitting information between the various components of the device (eg, the processor 1010, the video display adapter 1011, the disk drive 1012, the input/output interface 1013, the network interface 1014, and the memory 1020).

另外,该计算机系统1000还可以从虚拟资源对象领取条件信息数据库1041中获得具体领取条件的信息,以用于进行条件判断,等等。In addition, the computer system 1000 can also obtain information on specific collection conditions from the virtual resource object collection condition information database 1041 for use in condition judgment, etc.

需要说明的是,尽管上述设备仅示出了处理器1010、视频显示适配器1011、磁盘驱动器1012、输入/输出接口1013、网络接口1014,存储器1020,总线1030等,但是在具体实施过程中,该设备还可以包括实现正常运行所必需的其他组件。此外,本领域的技术人员可以理解的是,上述设备中也可以仅包含实现本申请方案所必需的组件,而不必包含图中所示的全部组件。It should be noted that, although the above device only shows a processor 1010, a video display adapter 1011, a disk drive 1012, an input/output interface 1013, a network interface 1014, a memory 1020, a bus 1030, etc., in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include components necessary for implementing the solution of the present application, and does not necessarily include all the components shown in the figure.

其中,图13示例性的展示出了电子设备的架构,例如,设备1100可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理,飞行器等。Among them, Figure 13 exemplarily shows the architecture of an electronic device. For example, device 1100 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, an aircraft, etc.

参照图13,设备1100可以包括以下一个或多个组件:处理组件1102,存储器1104,电源组件1106,多媒体组件1108,音频组件1110,输入/输出(I/O)的接口1112,传感器组件1114,以及通信组件1116。13 , device 1100 may include one or more of the following components: a processing component 1102 , a memory 1104 , a power component 1106 , a multimedia component 1108 , an audio component 1110 , an input/output (I/O) interface 1112 , a sensor component 1114 , and a communication component 1116 .

处理组件1102通常控制设备1100的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理元件1102可以包括一个或多个处理器1120来执行指令,以完成本公开技术方案提供的方法的全部或部分步骤。此外,处理组件1102可以包括一个或多个模块,便于处理组件1102和其他组件之间的交互。例如,处理部件1102可以包括多媒体模块,以方便多媒体组件1108和处理组件1102之间的交互。The processing component 1102 generally controls the overall operation of the device 1100, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1102 may include one or more processors 1120 to execute instructions to complete all or part of the steps of the method provided by the technical solution of the present disclosure. In addition, the processing component 1102 may include one or more modules to facilitate the interaction between the processing component 1102 and other components. For example, the processing component 1102 may include a multimedia module to facilitate the interaction between the multimedia component 1108 and the processing component 1102.

存储器1104被配置为存储各种类型的数据以支持在设备1100的操作。这些数据的示例包括用于在设备1100上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1104可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 1104 is configured to store various types of data to support operations on the device 1100. Examples of such data include instructions for any application or method operating on the device 1100, contact data, phone book data, messages, pictures, videos, etc. The memory 1104 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

电源组件1106为设备1100的各种组件提供电力。电源组件1106可以包括电源管理系统,一个或多个电源,及其他与为设备1100生成、管理和分配电力相关联的组件。The power supply component 1106 provides power to the various components of the device 1100. The power supply component 1106 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 1100.

多媒体组件1108包括在设备1100和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1108包括一个前置摄像头和/或后置摄像头。当设备1100处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 1108 includes a screen that provides an output interface between the device 1100 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1108 includes a front camera and/or a rear camera. When the device 1100 is in an operating mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

音频组件1110被配置为输出和/或输入音频信号。例如,音频组件1110包括一个麦克风(MIC),当设备1100处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1104或经由通信组件1116发送。在一些实施例中,音频组件1110还包括一个扬声器,用于输出音频信号。The audio component 1110 is configured to output and/or input audio signals. For example, the audio component 1110 includes a microphone (MIC), and when the device 1100 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1104 or sent via the communication component 1116. In some embodiments, the audio component 1110 also includes a speaker for outputting audio signals.

I/O接口1112为处理组件1102和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。I/O interface 1112 provides an interface between processing component 1102 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

传感器组件1114包括一个或多个传感器,用于为设备1100提供各个方面的状态评估。例如,传感器组件1114可以检测到设备1100的打开/关闭状态,组件的相对定位,例如所述组件为设备1100的显示器和小键盘,传感器组件1114还可以检测设备1100或设备1100一个组件的位置改变,用户与设备1100接触的存在或不存在,设备1100方位或加速/减速和设备1100的温度变化。传感器组件1114可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1114还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1114还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。The sensor assembly 1114 includes one or more sensors for providing various aspects of status assessment for the device 1100. For example, the sensor assembly 1114 can detect the open/closed state of the device 1100, the relative positioning of components, such as the display and keypad of the device 1100, and the sensor assembly 1114 can also detect the position change of the device 1100 or a component of the device 1100, the presence or absence of user contact with the device 1100, the orientation or acceleration/deceleration of the device 1100, and the temperature change of the device 1100. The sensor assembly 1114 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1114 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1114 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

通信组件1116被配置为便于设备1100和其他设备之间有线或无线方式的通信。设备1100可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件1116经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信部件1116还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 1116 is configured to facilitate wired or wireless communication between the device 1100 and other devices. The device 1100 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1116 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1116 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,设备1100可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, device 1100 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1104,上述指令可由设备1100的处理器1120执行以完成本公开技术方案提供的方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1104 including instructions, and the above instructions can be executed by a processor 1120 of the device 1100 to complete the method provided by the technical solution of the present disclosure. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例或者实施例的某些部分所述的方法。It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.

本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统或系统实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的系统及系统实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

以上对本申请所提供的任务下发处理方法、装置及电子设备,进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处。综上所述,本说明书内容不应理解为对本申请的限制。The task dispatch processing method, device and electronic device provided by the present application are introduced in detail above. The principle and implementation method of the present application are explained by using specific examples in this article. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as limiting the present application.

Claims (22)

1. The task issuing processing method is characterized by comprising the following steps of:
The task issuing server obtains configuration information, wherein the configuration information comprises timing task information and interface information, and the timing task comprises: tasks involved in providing fulfillment services for orders associated with physical stores, the physical stores being a plurality; the same piece of configuration information is shared by a plurality of entity shops;
after receiving the call of the timing task through the interface, determining the target task type information associated with the timing task;
acquiring target order data corresponding to the target task type information from an order information base;
And sending the target order data to an operating system corresponding to the target task type information.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
Determining the action range information of the same piece of configuration information, and providing task issuing service for a newly added entity store by utilizing the configuration information if the newly added entity store belongs to the action range when the entity store is newly added;
the action range information is used for representing entity stores which can share the configuration information.
3. The method of claim 2, wherein the step of determining the position of the substrate comprises,
The scope includes all physical stores associated with the same retailer user.
4. The method of claim 2, wherein the step of determining the position of the substrate comprises,
The reach includes all physical stores associated with a plurality of different retailers.
5. The method of claim 1, wherein the step of determining the position of the substrate comprises,
The configuration information comprises a plurality of timing task information and a plurality of interface information corresponding to different types of tasks.
6. The method of claim 1, wherein the step of determining the position of the substrate comprises,
The configuration information comprises a plurality of timing task information and interface information corresponding to different types of tasks.
7. The method of claim 1, wherein the step of determining the position of the substrate comprises,
The configuration information comprises timing task information and interface information corresponding to different types of tasks;
The timing task information includes a task type parameter, and the interface includes: and the different code lines are used for determining the target task type information according to the task type parameters.
8. The method of claim 7, wherein the step of determining the position of the probe is performed,
The task type parameter is configured by default to issue a composite batch job task,
The determining the target task type information associated with the timing task comprises the following steps:
and the distinguishing code row determines the target task type information as a task for issuing warehouse operation according to the task type parameter configured by default.
9. The method as recited in claim 8, further comprising:
After the target order data is determined to finish the batch synthesis operation, updating the task type parameter;
the determining the target task type information associated with the timing task comprises the following steps:
and the distinguishing code row determines the target task type information as a task for issuing warehouse operation according to the updated task type parameter.
10. The method as recited in claim 8, further comprising:
After the target order data is determined to finish the batch synthesis operation, updating the task type parameter;
the determining the target task type information associated with the timing task comprises the following steps:
And the distinguishing code row determines the target task type information as a task for issuing and distributing the job according to the updated task type parameter.
11. The method of claim 1, wherein the step of determining the position of the substrate comprises,
The timing tasks are configured as grid tasks, and operating systems for realizing various tasks are respectively deployed in a plurality of corresponding cluster devices;
The sending the target order data to the operating system corresponding to the target task type information includes:
And sending the target task type information and the target order data to the plurality of cluster devices so that the cluster devices call an operating system corresponding to the target task type information to operate the target order data.
12. The task issuing processing method is characterized by comprising the following steps of:
when a task issuing client obtains a timing task configuration request submitted by a user, providing operation options for submitting configuration information, wherein the configuration information comprises timing task information and interface information, and the same configuration information is shared by a plurality of entity stores;
the configuration information is obtained through the operation options and then submitted to a task issuing server, so that the task issuing server can determine target task type information associated with the timing task after receiving the call of the timing task through the interface; and acquiring target order data corresponding to the target task type information from an order information base, and sending the target order data to an operating system corresponding to the target task type information.
13. The task issuing processing method is characterized by comprising the following steps of:
The method comprises the steps that an operating system server side obtains target order data sent by a task issuing server side, wherein the target order data is target order data corresponding to target task type information obtained from an order information base after determining target task type information related to a timing task of a calling interface by the task issuing server side based on configuration information shared by a plurality of entity stores;
And performing task processing on the target order data.
14. The task issuing processing method is characterized by comprising the following steps of:
The method comprises the steps that an operating system client obtains operation task information sent by an operating system server, the operation task information is obtained after task processing is carried out on target order data sent by a task issuing server by the operating system server, and the task issuing server obtains the target order data from an order information base based on configuration information shared by a plurality of entity stores;
and displaying the job task information so that the operator associated with the operating system client can operate the target order data.
15. The task issuing processing device is characterized by being applied to a task issuing server and comprising:
A configuration information obtaining unit, configured to obtain configuration information, where the configuration information includes timing task information and interface information, and the timing task includes: tasks involved in providing fulfillment services for orders associated with physical stores, the physical stores being a plurality; the same piece of configuration information is shared by a plurality of entity shops;
The target task type information determining unit is used for determining target task type information associated with the timing task after receiving the call of the timing task through the interface;
The target order data acquisition unit is used for acquiring target order data corresponding to the target task type information from an order information base;
And the target order data sending unit is used for sending the target order data to the operating system corresponding to the target task type information.
16. The task issuing processing device is characterized by being applied to a task issuing client and comprising:
an operation option providing unit, configured to provide operation options for submitting configuration information when obtaining a timing task configuration request submitted by a user, where the configuration information includes timing task information and interface information, and the same set of configuration information is shared by multiple entity stores;
The configuration information submitting unit is used for submitting the configuration information to a task issuing server after the configuration information is obtained through the operation options, so that the task issuing server can determine the target task type information associated with the timing task after receiving the call of the timing task through the interface; and acquiring target order data corresponding to the target task type information from an order information base, and sending the target order data to an operating system corresponding to the target task type information.
17. The task issuing processing device is characterized by being applied to an operating system server and comprising:
The system comprises a target order data acquisition unit, a task issuing server and a task information base, wherein the target order data acquisition unit is used for acquiring target order data sent by the task issuing server, wherein the target order data is target order data corresponding to target task type information acquired from an order information base after the target order data is determined by the task issuing server based on configuration information shared by a plurality of entity stores and related to a timing task of a calling interface;
And the task processing unit is used for performing task processing on the target order data.
18. A task issuing processing device, which is applied to an operating system client, and comprises:
A job task information obtaining unit, configured to obtain job task information sent by an operating system server, where the job task information is obtained after the operating system server performs task processing on target order data sent by a task issuing server, the task issuing server obtains the target order data from an order information base based on configuration information shared by a plurality of entity stores;
And the job task information display unit is used for displaying the job task information so that the operator associated with the client of the operating system can operate the target order data.
19. An electronic device, comprising:
One or more processors; and
A memory associated with the one or more processors, the memory for storing program instructions that, when read for execution by the one or more processors, perform the operations of:
obtaining configuration information, wherein the configuration information comprises timing task information and interface information, and the timing task comprises: tasks involved in providing fulfillment services for orders associated with physical stores, the physical stores being a plurality; the same piece of configuration information is shared by a plurality of entity shops;
after receiving the call of the timing task through the interface, determining the target task type information associated with the timing task;
acquiring target order data corresponding to the target task type information from an order information base;
And sending the target order data to an operating system corresponding to the target task type information.
20. An electronic device, comprising:
One or more processors; and
A memory associated with the one or more processors, the memory for storing program instructions that, when read for execution by the one or more processors, perform the operations of:
Providing operation options for submitting configuration information when a timing task configuration request submitted by a user is obtained, wherein the configuration information comprises timing task information and interface information, and the same piece of configuration information is shared by a plurality of entity stores;
the configuration information is obtained through the operation options and then submitted to a task issuing server, so that the task issuing server can determine target task type information associated with the timing task after receiving the call of the timing task through the interface; and acquiring target order data corresponding to the target task type information from an order information base, and sending the target order data to an operating system corresponding to the target task type information.
21. An electronic device, comprising:
One or more processors; and
A memory associated with the one or more processors, the memory for storing program instructions that, when read for execution by the one or more processors, perform the operations of:
acquiring target order data sent by a task issuing server, wherein the target order data is target order data corresponding to target task type information acquired from an order information base after the task issuing server determines target task type information related to a timing task of a calling interface based on configuration information shared by a plurality of entity stores;
And performing task processing on the target order data.
22. An electronic device, comprising:
One or more processors; and
A memory associated with the one or more processors, the memory for storing program instructions that, when read for execution by the one or more processors, perform the operations of:
acquiring job task information sent by an operating system server, wherein the job task information is acquired after the operating system server performs task processing on target order data sent by a task issuing server, and the task issuing server acquires the target order data from an order information base based on configuration information shared by a plurality of entity stores;
and displaying the job task information so that the operator associated with the operating system client can operate the target order data.
CN201910310029.2A 2019-04-17 2019-04-17 Task dispatch processing method, device and electronic equipment Active CN111832857B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910310029.2A CN111832857B (en) 2019-04-17 2019-04-17 Task dispatch processing method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910310029.2A CN111832857B (en) 2019-04-17 2019-04-17 Task dispatch processing method, device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111832857A CN111832857A (en) 2020-10-27
CN111832857B true CN111832857B (en) 2024-08-13

Family

ID=72914910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910310029.2A Active CN111832857B (en) 2019-04-17 2019-04-17 Task dispatch processing method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111832857B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112766956A (en) * 2021-03-19 2021-05-07 中国工商银行股份有限公司 Order payment and weight control method and device based on distributed order system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108573421A (en) * 2017-03-13 2018-09-25 阿里巴巴集团控股有限公司 The method, apparatus and system of data object information are provided

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3936514B2 (en) * 2000-05-02 2007-06-27 株式会社エヌ・ティ・ティ・データ Shopping method, system, and customer information management center
US8630990B2 (en) * 2010-09-20 2014-01-14 Rockefeller Consulting Technology Integration, Inc. Software training system interacting with online entities
WO2014141395A1 (en) * 2013-03-13 2014-09-18 株式会社日立製作所 Order information control system, method, and program
JP5753295B2 (en) * 2014-04-04 2015-07-22 セイコーソリューションズ株式会社 Order management system and store terminal
CN106296329B (en) * 2015-06-09 2020-06-09 阿里巴巴集团控股有限公司 Business object information processing method, certificate information processing method and device
JP6329111B2 (en) * 2015-09-15 2018-05-23 東芝テック株式会社 Product data processing apparatus and program
JP2017097434A (en) * 2015-11-18 2017-06-01 株式会社ペイジェント System integratedly managing sales information on commercial product to be sold via different channel
CN106169127A (en) * 2016-06-30 2016-11-30 乐视控股(北京)有限公司 A kind of order processing method and system
CN107918839A (en) * 2016-10-08 2018-04-17 阿里巴巴集团控股有限公司 A kind of sequence information processing method, apparatus and system
CN108573423B (en) * 2017-03-13 2022-02-18 阿里巴巴集团控股有限公司 Transaction order processing method, device and system
JP2018169646A (en) * 2017-03-29 2018-11-01 カタリナ マーケティング ジャパン株式会社 Integrated sales management system
CN107222534B (en) * 2017-05-25 2020-11-17 太仓市昊博技术服务有限公司 Cluster timing task synchronization method, system and equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108573421A (en) * 2017-03-13 2018-09-25 阿里巴巴集团控股有限公司 The method, apparatus and system of data object information are provided

Also Published As

Publication number Publication date
CN111832857A (en) 2020-10-27

Similar Documents

Publication Publication Date Title
CN112995691B (en) Live broadcast data processing method and device, electronic equipment and storage medium
CN111064655B (en) Template message pushing method, device, equipment and storage medium
US20200285357A1 (en) Icon display method, device, and system
CN111861609B (en) System, method and device for canceling order and electronic equipment
KR102785660B1 (en) Method and system for evaluating content on instant messaging application
CN111325567B (en) User rights and interests information display method and device and electronic equipment
CN112633959B (en) Mobile device management system, method and device and electronic device
CN112148499A (en) Data reporting method, device, computer equipment and medium
CN116739697A (en) Order information display method and electronic equipment
CN113298601A (en) Commodity object information processing method and device and electronic equipment
CN111951066B (en) System, method and device for synthesizing batch processing of orders and electronic equipment
CN111325595B (en) User rights and interests information display method and device and electronic equipment
CN113538099A (en) Order processing method and device, computer equipment and storage medium
CN111832857B (en) Task dispatch processing method, device and electronic equipment
WO2020187141A1 (en) Information providing method, device, and electronic apparatus
TW202027000A (en) Instant messenger-based account transaction history providing method, system and computer readable recording medium
CN115033211A (en) Method, device and equipment for querying article based on strategy mode and storage medium
CN113240348A (en) Target delivery capacity allocation method, device, equipment and storage medium
KR20230028095A (en) server used in seafood business
TWI870149B (en) Method for providing service information and electronic apparatus supporting thereof
KR102246611B1 (en) Price differentiation by market for in-app software purchases
CN113296969A (en) Information processing method and device and electronic equipment
KR102456580B1 (en) Method and system for managing reservations for pet owners
TWI864836B (en) Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof
HK40050024B (en) Mobile equipment management system, method and deivce and electronic equipment

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230710

Address after: Room 210, 2nd Floor, Juyang Building, No. 1200 Pudong Avenue, China (Shanghai) Pilot Free Trade Zone, Pudong New Area, Shanghai

Applicant after: HEMA (China) Co.,Ltd.

Address before: Box 847, four, Grand Cayman capital, Cayman Islands, UK

Applicant before: ALIBABA GROUP HOLDING Ltd.

GR01 Patent grant
GR01 Patent grant