WO2019037647A1 - Method, apparatus and system for publishing and acquiring business object - Google Patents

Method, apparatus and system for publishing and acquiring business object Download PDF

Info

Publication number
WO2019037647A1
WO2019037647A1 PCT/CN2018/100749 CN2018100749W WO2019037647A1 WO 2019037647 A1 WO2019037647 A1 WO 2019037647A1 CN 2018100749 W CN2018100749 W CN 2018100749W WO 2019037647 A1 WO2019037647 A1 WO 2019037647A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
information
business object
business
publishing
Prior art date
Application number
PCT/CN2018/100749
Other languages
French (fr)
Chinese (zh)
Inventor
杜磊
Original Assignee
阿里巴巴集团控股有限公司
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 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2019037647A1 publication Critical patent/WO2019037647A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Definitions

  • the present application relates to the field of network technologies, and in particular, to a method, an apparatus, and a system for distributing and acquiring a business object.
  • information about some business objects is generally posted on the website for the users who log in to the website to browse, so as to further perform subsequent processing operations on the business object.
  • the business object may specifically be a commodity published by a merchant. Users who log in to the e-commerce website can further perform collection, purchase, or recommendation to other users and other processing operations by browsing the products posted by the merchant.
  • the product information in the business object publishing page For example, when the published product is a tourist attraction product, it is necessary to manually edit the specific attraction information in the product release page, and the scenic spot information includes the city where the attraction is located, the name of the attraction, the type of the attraction ticket, and the like. If the item is a product of the attraction + hotel, in addition to manually writing the attraction information, the specific hotel information, including the hotel city, hotel name, room type, etc., should be manually edited in the product release page.
  • the present application provides a method, an apparatus, and a system for distributing and acquiring a business object, and the main purpose is to improve the efficiency of publishing a business object.
  • the application provides a method for publishing a business object, which is applied to a server, the server is provided with a resource library including at least one resource object, and the resource object has a resource identifier corresponding to the resource object.
  • resource object description information the method includes:
  • the business object includes at least one resource object, and the publishing request includes a resource identifier of the at least one resource object;
  • the present application provides a method for publishing a business object, which is applied to a client, and the client is provided with a resource library including at least one resource object, and the resource object has a resource identifier corresponding to the resource object. And resource object description information;
  • the application provides a method for obtaining a business object, which is applied to a client, and the method includes:
  • the application provides a method for obtaining a business object, which is applied to a server, and the method includes:
  • the business object acquisition request includes identification information of the business object
  • the business object includes at least one resource object
  • the resource object has a resource identifier and resource object description information corresponding to the resource object
  • the application provides a service object publishing apparatus, which is applied to a server, and the server is provided with a resource library including at least one resource object, and the resource object has a resource identifier corresponding to the resource object.
  • resource object description information the device includes:
  • a service object publishing request receiving unit configured to receive a publishing request of a service object, where the service object includes at least one resource object, where the publishing request includes a resource identifier of the at least one resource object;
  • An obtaining unit configured to acquire resource object description information corresponding to the resource identifier from the resource library according to the resource identifier;
  • a generating unit configured to generate, according to the obtained resource object description information, description information of the business object and publish the information.
  • the present application provides a storage medium, where the storage medium includes a stored program, wherein, when the program is running, controlling, by the device where the storage medium is located, performing the publishing method of the business object according to the first aspect .
  • the present application provides a processor for running a program, wherein the program executes the publishing method of the business object as described in the first aspect.
  • the application provides a server device, including at least one processor
  • a storage medium communicatively coupled to the at least one processor
  • the storage medium is configured to store a program executed by the processor, and the data required by the processor to execute the program;
  • the processor is configured to run a program, where the program is executed to execute the publishing method of the business object as described in the first aspect.
  • the application provides a publishing apparatus for a business object, which is applied to a client, the client is provided with a resource library including at least one resource object, and the resource object has a resource identifier corresponding to the resource object.
  • resource object description information the device includes:
  • a first receiving unit configured to receive at least one resource object selected from the resource library
  • a query unit configured to query the resource library to obtain identification information of the at least one resource object
  • the first sending unit is configured to send a service object publishing request to the server, where the business object publishing request includes the identifier information of the at least one resource object.
  • the present application provides a storage medium, where the storage medium includes a stored program, wherein, when the program is running, controlling, by the device where the storage medium is located, performing a publishing method of the business object according to the second aspect .
  • the present application provides a processor for running a program, wherein the program executes the publishing method of the business object according to the second aspect as described above.
  • the application provides a client device, including at least one processor;
  • a storage medium communicatively coupled to the at least one processor
  • the storage medium is configured to store a program executed by the processor, and the data required by the processor to execute the program;
  • the processor is configured to run a program, where the program is executed to execute the publishing method of the business object as described in the second aspect.
  • the present application provides a publishing system for a business object, including a client and a server, where the client and the server respectively have a resource library including at least one resource object, and the resource object has the same Resource identifier and resource object description information corresponding to the resource object;
  • a client configured to receive at least one resource object selected from the resource library; query the resource library to obtain identification information of the at least one resource object; send a service object publishing request to the server, and the service object issues a request Included in the identification information of the at least one resource object;
  • the server is configured to receive a publishing request of a service object, where the service object includes at least one resource object, where the publishing request includes a resource identifier of the at least one resource object, and the resource identifier is used according to the resource identifier
  • the resource object description information corresponding to the resource identifier is obtained in the library, and the description information of the service object is generated and published based on the obtained resource object description information.
  • the application provides a device for acquiring a business object, which is applied to a client, and the device includes:
  • An obtaining unit configured to acquire a business object selected by a user through a business object selection interface, where the business object includes at least one resource object, where the resource object has a resource identifier and resource object description information corresponding to the resource object;
  • a sending unit configured to send a service object obtaining request to the server, where the business object obtaining request includes the identification information of the selected business object
  • the receiving unit is configured to receive the business object acquisition feedback information sent by the server.
  • the present application provides a storage medium, where the storage medium includes a stored program, wherein, when the program is running, controlling, by the device where the storage medium is located, performing the acquisition of the business object as described in the third aspect above method.
  • the present application provides a processor for running a program, wherein the program is executed to execute the method for acquiring a business object as described in the third aspect.
  • the application provides a terminal device, including at least one processor;
  • a storage medium communicatively coupled to the at least one processor
  • the storage medium is configured to store a program executed by the processor, and the data required by the processor to execute the program;
  • the processor is configured to run a program, where the program is executed to execute the method for acquiring a business object as described in the third aspect.
  • the application provides a device for acquiring a business object, which is applied to a server, and the device includes:
  • a receiving unit configured to receive a service object obtaining request, where the business object obtaining request includes identification information of the business object, the business object includes at least one resource object, and the resource object has a resource identifier corresponding to the resource object and Resource object description information;
  • a first acquiring unit configured to determine, according to the business object acquisition request, at least one resource object included in the business object
  • a second acquiring unit configured to acquire inventory information of the at least one resource object
  • a sending unit configured to send the feedback information acquired by the service object to the service object requesting end according to the inventory information.
  • the present application provides a storage medium, where the storage medium includes a stored program, wherein, when the program is running, controlling, by the device where the storage medium is located, performing the acquisition of the business object as described in the fourth aspect above method.
  • the present application provides a processor for running a program, wherein the program is executed to execute the method for acquiring a business object according to the fourth aspect.
  • the application provides a server device, including at least one processor
  • a storage medium communicatively coupled to the at least one processor
  • the storage medium is configured to store a program executed by the processor, and the data required by the processor to execute the program;
  • the processor is configured to run a program, where the program is executed to execute the method for acquiring a business object as described in the fourth aspect.
  • the method, device, and system for publishing and acquiring a business object can pre-publish resources that can constitute a business object, compared with a method of manually editing a business object in a business object publishing page.
  • the objects are stored in their respective resource libraries, and the resource objects constituting the business objects are set to the minimum resource granularity that constitutes the business objects.
  • the resource object constituting the business object can be selected from the pre-stored resource library, and the re-writing is not repeated, thereby realizing direct reuse of the resource object and avoiding duplication.
  • Manually editing the same resource object information reduces the workload of publishing business objects, shortens the publishing time of business objects, and can improve the efficiency of business object publishing.
  • FIG. 1 is a flowchart of a method for publishing a service object of a server according to an embodiment of the present application
  • FIG. 2 is a flowchart of a method for publishing a service object of a client according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of a terminal composition of a method for publishing a service object according to an embodiment of the present application
  • FIG. 4 is a flowchart of a method for publishing a resource object according to an embodiment of the present application
  • FIG. 5 is a schematic diagram of a resource object addition page provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a resource object publishing page provided by an embodiment of the present application.
  • FIG. 7 is a flowchart of an interaction method of a business object publishing method according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a business object publishing page provided by an embodiment of the present application.
  • FIG. 9 is a flowchart of a method for acquiring a service object of a client according to an embodiment of the present application.
  • FIG. 10 is a flowchart of a method for acquiring a service object of a server according to an embodiment of the present application
  • FIG. 11 is a flowchart of another method for acquiring a business object of a client according to an embodiment of the present application.
  • FIG. 12 is a flowchart of another method for acquiring a service object of a server provided by an embodiment of the present application.
  • FIG. 13 is a structural block diagram of a device for distributing a service object of a server according to an embodiment of the present application
  • FIG. 14 is a structural block diagram of a device for distributing a business object of a client according to an embodiment of the present application.
  • FIG. 15 is a block diagram showing the composition of a publishing system for a business object according to an embodiment of the present application.
  • FIG. 16 is a block diagram showing the composition of a device for acquiring a business object of a client according to an embodiment of the present application
  • FIG. 17 is a block diagram showing the composition of a server for acquiring a service object of a server according to an embodiment of the present application.
  • the traditional business object is composed of a business object information + Stock Keeping Unit (SKU), which is a business
  • SKU Stock Keeping Unit
  • the minimum resource granularity of an object which is the unit of measurement and entry of business objects, and can be in units of parts, boxes, trays, and the like.
  • the minimum resource granularity of the business object is a resource object, and the resource object has an inventory, no price, and is provided by the merchant; when the resource object is released, the price information of the resource object is added, and the resource object is formed.
  • the released product has the price and inventory, but cannot be sold externally; the product constitutes the product that can be sold externally (ie, the business object).
  • resource object-product-item when publishing the product, the publisher only needs to input a batch of resource objects in advance, and then the resource object of this part can always share the subsequent business object release.
  • the merchant publishes the corresponding business object, it only needs to select the resource object that constitutes the business object, and then fill in the price, inventory and other information corresponding to the resource object to form a business object that can be published and sold, without having to input a lot of cumbersome business objects. Describe the information.
  • the embodiment of the present application provides a method for publishing a business object, which is applied to a server.
  • the server is provided with a resource library including at least one resource object, and the resource object has a resource identifier and a resource corresponding to the resource object.
  • Object description information as shown in Figure 1, the method includes:
  • the resource object is the smallest resource granularity unit constituting the business object, and once edited and stored in the resource library, it can be reused indefinitely, so the resource object is stored in the resource library.
  • Each resource object has a unique identifier that identifies its identity.
  • the resource identifier may be its identity ID or other identifier information, which is not limited in this embodiment of the present application.
  • the business object is composed of resource objects, which may be composed of one resource object, or may be composed of two or more resource objects, and may be determined according to the content of the business object that the client specifically needs to publish.
  • the application embodiment does not limit this.
  • the server receives the resource object published by the client, and stores the identifier information, the description information, and the client identifier of the resource object in the resource library of the server.
  • the description information of the resource object is a detailed description of the attribute information of the resource object.
  • the description information corresponding to the ticket may be a flight number, a departure time, a landing time, a departure airport, and a landing airport.
  • Information such as flight duration; when the resource object is a hotel, the description information corresponding to the hotel may be hotel name, room type, location, service, and the like.
  • the application may use the designed business object publishing page to combine the description information of the resource object constituting the business object, or directly according to the business object designed by the client.
  • the form of the publication is combined. Specifically, the embodiment of the present application does not limit this.
  • the corresponding business object publishing page When the business object publishing page is used to generate the business object to be published, the corresponding business object publishing page may be selected according to the quantity and type of the resource object constituting the business object, and the corresponding resource object description information is performed on the selected business object publishing page. Adding; then, based on the setting of the service publishing page, the added resource object description information is combined to obtain the description information of the business object to be published.
  • the resource object library of the query server can obtain the description information of the ticket C resource, add the description information of the ticket C resource to the business object release page corresponding to the resource, and use the release page to allocate the ticket C resource.
  • the description information is processed to generate description information of the business object including the resource object ticket C resource, and the description information of the business object is released.
  • the resource objects constituting the business object are two types, including the ticket resource and the hotel resource
  • the identification information of the ticket resource included in the service object issuance request is the identification information of the ticket A and the identification information of the hotel B
  • query the server resource library and obtain the description information of the corresponding ticket A and the description information of the hotel B.
  • the business object when a business object is published, the business object may be a commodity that can be bought or sold, or may be a non-commodity.
  • the service receiving request received by the server may include Price information and inventory information for resource objects.
  • the service delivery request received by the server includes the price information and the storage information of the resource object, the description information of the service object is generated based on the acquired resource object description information and is specifically released as follows:
  • the description information of the business object based on the acquired resource object description information, the price information, and the inventory information.
  • the page may be published based on the business object, and the price information and the inventory information are added in the publishing page of the business object.
  • the content generates corresponding business object description information based on the description information, the price information, and the inventory information of the object resource in the publishing page.
  • the embodiment of the present application further provides a method for publishing a business object, where the method is applied to a client, where the client is provided with a resource library including at least one resource object, and the resource object has a resource identifier corresponding to the resource object.
  • resource object description information as shown in FIG. 2, the method includes:
  • the client is the editing and publishing side of the resource object, which is the source of the editing resource object, and what kind of resource object the client and the server have, depending on what resource object the client writes and publishes. For example, if the client writes the resource object of the attraction ticket, then after the resource object of the attraction ticket is released, both the client and the server store the resource object of the attraction ticket.
  • the business object publisher When the business object publisher publishes the business object, if the business resource included in the business object that needs to be published has been released, the business object publisher can directly select the corresponding resource object from the local business resource library through the client, if The business resource contained in the business object is not found in the resource library, and the resource object that is not published may be first released and stored in the client local resource repository, and then selected from the resource library.
  • the business object when a business object is published, the business object may be a commodity that can be bought or sold, or may be a non-commodity.
  • the client selects the resource object that constitutes the business object.
  • the price information and the inventory information of the resource object need to be filled in, so that the corresponding business object is composed of the corresponding product that can be sold based on the new product model: resource object-product-item of the present application. Therefore, after receiving the at least one resource object selected from the resource library, the method further includes:
  • the sending, by the server, a service object publishing request, where the service object publishing request includes the identifier information of the at least one resource object specifically: sending a service object publishing request to the server, where the service object publishing request includes the Identification information, price information, and inventory information of at least one resource object.
  • the resource objects constituting the business object are set as the minimum resource granularity constituting the business object, which are pre-stored in the corresponding resource pools.
  • the resource object constituting the business object can be selected from the pre-stored resource library, and the re-writing is not repeated, thereby realizing direct reuse of the resource object and avoiding duplication.
  • Manually editing the same resource object information reduces the workload of publishing business objects, shortens the publishing time of business objects, and can improve the efficiency of business object publishing.
  • the application includes a client, a server, and a client, as shown in FIG.
  • the client is a business object publisher application end, which is mainly used for inputting and publishing resource objects, and can input and publish resource objects based on a specific resource object publishing interface; and acquiring and publishing business objects, based on resource objects. It has been stored in the local resource repository of the client, and the acquisition of the business object can also be performed based on the business publishing page, which is associated with the resource object publishing page, and both are associated with the resource object.
  • the resource object publishing page and the business object publishing page may belong to one application platform, and may belong to different application platforms. The specific embodiment of the present invention does not limit this.
  • the client in the embodiment of the present application may be a merchant platform.
  • the merchant enters a resource object publishing page, publishes the resource object, and stores the released resource object in the resource library of the client.
  • the business object (product) publishing page can be accessed, and the resource object included in the product to be published is selected from the resource library, and the product is released. If the item to be released is an item that can be bought and sold, the price and inventory of the corresponding resource object can be entered on the item release page before the item is released.
  • the server corresponding to the client is used to complete the related operations of the client, implement the release of the client resource object and the release of the business object, and store the resource object and the business object published by the client. After the business object is released, the user who browses the published business object through the Internet can select the business object (commodity) for sale and purchase according to his own needs.
  • the following embodiment of the present application will take the client as the client of the merchant application as an example to specifically describe the release of the business object.
  • the present application first describes the method for the distribution of the resource object by the merchant client. The method is specifically based on the release page of the resource object, as shown in FIG. 4, which includes:
  • the receiving merchant enters, by using a resource object publishing page, information about a resource object to which the resource object may be applied, where the resource object information includes, but is not limited to, type information of the resource object, a resource identifier, and resource object description information.
  • the resource object publishing page includes, but is not limited to, an added page of the resource object, and the resource object adding page may be, but not limited to, the content shown in FIG. 5, and the content may be changed according to the description information of the specific resource object, for example,
  • the attraction ticket resource object adding interface as shown in FIG. 5 includes, but is not limited to, the city where the attraction is located, the name of the attraction, the ticket type, and the merchant code.
  • the resource object After the resource object is added, it may be displayed in the resource object publishing page, which may be, but is not limited to, the content shown in FIG. 6, the content including the classified display of the published resource object, and the new The display of the added resource object, as well as the button to easily trigger the resource object to add the page.
  • the resource object publishing page which may be, but is not limited to, the content shown in FIG. 6, the content including the classified display of the published resource object, and the new The display of the added resource object, as well as the button to easily trigger the resource object to add the page.
  • the server receives the resource object publishing request issued by the client.
  • the server may further classify and extract the resource object stored in the resource library; and extract the extracted resource object information. Sent to the resource object publisher, so that the resource object publisher displays and stores the resources that it has already published.
  • the resource object After the client releases the entered resource object, there may be a resource object whose release is unsuccessful. Therefore, when the release is unsuccessful, the corresponding resource object is re-entered and re-published. If the published resource object is successful, the resource object information that has been successfully sent and sent by the server is received, and the resource object information that is successfully published is displayed and stored in the resource library.
  • the resource information may be classified according to the type information of the resource object when the successfully released resource object is stored in the resource library local to the client; the resource information is separately stored in the resource according to different type information. In the library. Wherein, when the already released resource objects are stored and displayed, they can be classified and displayed, as shown in FIG. 6, such as classified as an attraction library, a hotel library, a catering library, a transportation connection library, and the like.
  • the embodiment of the present application provides another method for publishing a service object. As shown in FIG. 7, the method includes:
  • the client receives at least one resource object selected from the resource library.
  • the client when receiving the at least one resource object selected from the resource library, the client may be performed based on the business object publishing page.
  • the business object publishing page includes a resource object classified and stored, and when the business object image that needs to be published needs to be formed, the corresponding resource object library may be selected, and the selected resource object library is selected. Select the corresponding resource object resource in the resource object library.
  • a business object including an attraction ticket + a hotel accommodation is to be released. When the corresponding resource object is selected, the attraction ticket is directly clicked, and the resource library corresponding to the attraction ticket is selected.
  • the application also adds a trigger button for adding a resource in the business object publishing page. When the button is triggered, the jump directly to the In the resource object add page, the corresponding resource is added and released.
  • the client queries the resource library to obtain identification information of the at least one resource object.
  • the client After receiving the resource object selected by the merchant through the business object publishing page, the client queries the corresponding resource library to obtain the identifier information corresponding to the selected resource object.
  • the client sends a service object publishing request to the server, where the service object publishing request includes the identifier information of the at least one resource object.
  • the server receives a publishing request of a service object sent by the client, where the service object includes at least one resource object, and the publishing request includes a resource identifier of the at least one resource object.
  • the server obtains the resource object description information corresponding to the resource identifier from the resource pool according to the resource identifier.
  • the server determines the number of resource objects in the service object. If the number of the resource objects is one, perform 407. If the number of the resource objects is multiple, perform 408.
  • a business object when published, it may include a resource object, and may also include more than two resource objects. When only one resource object is included, no processing between resource objects is required. Simply present the description information of a resource object. When more than two resource objects are included, different types of resource objects and business object presentation types need to be bound and combined according to different resource object types. Specifically, as described in 408.
  • the server adds the description information of the resource object to the single-type single-resource format business object publishing page, generates description information of the service object, and publishes the file, and executes 409.
  • the server generates the description information of the service object by using the description information of the multiple resource objects according to the type of the multiple resource objects, and executes 409.
  • the description is based on the type of the resource object, and the description of the information of the multiple resource objects, and the description information of the service object is generated according to the type of the multiple resource objects, and is specifically include:
  • the multiple resource objects are the same type of resource objects, add the description information of the multiple resource objects to the single-type multi-resource format business object publishing page, and generate the business object. Describe the information and post it.
  • the description information of the multiple resource objects is combined and bound, and the description information of the multiple resource objects after the combination binding is added to the multi-type single resource format.
  • the business object publishing page the description information of the business object is generated and published.
  • the description information of the two or more resource objects of the same type is combined into a drop-down list. And binding the description information of the other types of resource objects, adding the description information of the multiple resource objects after the combination and binding to the multi-type multi-resource format business object publishing page, generating the description information of the business object and publishing .
  • the server stores the description information of the published business object in a resource library, and sends the description information to the corresponding publishing requester.
  • the client receives the successfully published business object sent by the server, and stores the description information of the business object in a resource library local to the client for subsequent viewing.
  • the method may be implemented by using, but not limited to, the following method.
  • the method includes: updating the inventory information of the corresponding resource object according to the acquisition situation of the resource object by the user terminal; updating the resource object; The subsequent inventory information is sent to the client so that the client updates the inventory of the resource object.
  • the client receives the updated inventory information of the resource object sent by the server, and updates the inventory of the local resource object according to the updated inventory information.
  • the server needs to check whether the inventory of the corresponding resource object is scheduled after receiving the release of the business object containing the resource object.
  • the business object containing the resource object is advertiseable. If it is not within the predetermined preset range, the business object publishing including the resource object will be unsuccessful. The merchant that needs to notify the client to determine whether to add new inventory.
  • An embodiment of the present application provides a method for acquiring a service object, which is applied to a client. As shown in FIG. 9, the method includes:
  • the client obtains a service object selected by the user through the business object selection interface, where the business object includes at least one resource object, where the resource object has a resource identifier and resource object description information corresponding to the resource object.
  • the user may select the interface through the user service object selection interface, or may obtain the user object through the other methods.
  • the business object selection interface of the human-computer interaction is generally provided.
  • the embodiment of the present invention does not limit this.
  • the related descriptions of the resource identifiers and the resource object descriptions of the resource objects are not described here. For details, refer to the related descriptions of the service object publishing methods.
  • the UE sends a service object acquisition request to the server, where the service object acquisition request includes the identifier information of the selected service object.
  • the application also provides a method for obtaining a business object, which is applied to a server. As shown in FIG. 10, the method includes:
  • the server receives a service object acquisition request, where the service object acquisition request includes identifier information of the service object, where the service object includes at least one resource object, where the resource object has a resource identifier and a resource corresponding to the resource object.
  • Object description information includes identifier information of the service object, where the service object includes at least one resource object, where the resource object has a resource identifier and a resource corresponding to the resource object.
  • the published business object includes at least one resource object.
  • the resource object may be obtained by using the resource object as a unit, or may be obtained by using the resource object as a unit;
  • the resource object may also be selected by the user in the form of a drop-down menu, and the resource object may also be separately selected, so that the purchase of the business object and the resource object is flexible and convenient, and the purchase is facilitated.
  • the purchaseability of business objects may be provided.
  • the embodiment of the present application further provides a method for obtaining a service object, where the method is applied to the user end, as shown in FIG.
  • the user end determines a type of the service object selected by the user through the business object selection interface. If the at least one resource object included in the business object is a fixed combination of the business object, execute 702; if the business object includes at least one resource If the object is a resource object that can be selected as a drop-down list, execute 704.
  • the method sends a service object acquisition request to a server, where the service object acquisition request includes identifier information of the selected service object.
  • the embodiment of the present application further provides a method for acquiring a service object, which is applied to a server. As shown in FIG. 12, the method includes:
  • the embodiment of the present application provides a service object publishing apparatus, which is applied to a server, as shown in FIG. 13, the server is provided with a resource library including at least one resource object, where the resource object has The resource identifier and the resource object description information corresponding to the resource object, the device includes:
  • the business object publishing request receiving unit 91 is configured to receive a publishing request of the business object, where the business object includes at least one resource object, and the publishing request includes a resource identifier of the at least one resource object;
  • the obtaining unit 92 is configured to acquire resource object description information corresponding to the resource identifier from the resource library according to the resource identifier;
  • the generating unit 93 is configured to generate description information of the business object based on the acquired resource object description information and publish the description information.
  • the generating unit 93 includes:
  • a determining module configured to determine a quantity of resource objects in the business object
  • a generating module configured to: when the number of the resource objects is one, add the description information of the one resource object to a single-type single-resource format business object publishing page, generate description information of the business object, and publish ;
  • the generating module is further configured to: when determining the number of the resource objects, use multiple types of resource objects to generate description information of the service objects and publish the description information corresponding to the multiple resource objects.
  • the method of generating the description information of the service object by using the description information of the multiple resource objects according to the type of the multiple resource objects and publishing the information may be performed by using, but not limited to, the following manners, the method includes:
  • the description information of the multiple resource objects is combined and bound, and the description information of the multiple resource objects after the combination binding is added to the multi-type single resource format.
  • the business object publishing page the description information of the business object is generated and published.
  • the description information of the two or more resource objects of the same type is combined into a drop-down list. And binding the description information of the other types of resource objects, adding the description information of the multiple resource objects after the combination and binding to the multi-type multi-resource format business object publishing page, generating the description information of the business object and publishing .
  • the device further includes:
  • a first storage unit configured to: after the description information of the business object is generated and published based on the obtained resource object description information, store the description information of the published business object in a resource library;
  • the first sending unit sends description information of the service object for publishing to the corresponding publishing requester.
  • the device further includes
  • a resource object publishing request receiving unit configured to receive a published resource object publishing request, where the resource object publishing request includes the resource object information and client information of a publishing resource object, where the resource object information includes type information of the resource object, Resource identifier and resource object description information;
  • a second storage unit configured to store the resource object information and client information of the publishing resource object in the resource library.
  • the device further includes:
  • a classification unit configured to classify and extract resource objects stored in the resource library
  • a second sending unit configured to send the extracted resource object information to the resource object issuer, so that the resource object issuer displays and stores the resource that has been published.
  • the generating unit is configured to generate, according to the acquired resource object description information, price information, and inventory information, description information of the business object, and release .
  • the device further includes:
  • An update unit configured to update inventory information of the corresponding resource object according to the acquisition situation of the resource object by the user end;
  • a third sending unit configured to send the updated inventory information of the resource object to the client, so that the client updates the inventory of the resource object.
  • the embodiment of the present application further provides a storage medium, where the storage medium includes a stored program, wherein, when the program is running, the device where the storage medium is located is executed to execute the publishing method of the server business object.
  • the application embodiment further provides a processor, the processor is configured to run a program, wherein the program is executed to execute the publishing method of the server business object.
  • the application embodiment further provides a server device, including at least one processor
  • a storage medium communicatively coupled to the at least one processor
  • the storage medium is configured to store a program executed by the processor, and the data required by the processor to execute the program;
  • the processor is configured to run a program, where the program is executed to execute the publishing method of the server business object.
  • the embodiment of the present application further provides a device for distributing a business object, as shown in FIG. 14 , applied to a client, where the client is provided with a resource library including at least one resource object, and the resource object has a resource object corresponding to the resource object.
  • the device includes:
  • the first receiving unit 1001 is configured to receive at least one resource object selected from the resource library;
  • the query unit 1002 is configured to query the resource library to obtain the identifier information of the at least one resource object.
  • the first sending unit 1003 is configured to send a service object publishing request to the server, where the service object publishing request includes the identifier information of the at least one resource object.
  • the device further includes:
  • a second receiving unit configured to receive, according to the at least one resource object selected by the resource library, the input at least one resource object information, where the resource object information includes type information of the resource object, a resource identifier, and Resource object description information;
  • a second sending unit configured to send a resource object publishing request to the server, where the resource object publishing request includes the resource object information and client information of the publishing resource object.
  • the device further includes:
  • a third receiving unit configured to receive, by the second sending unit, the resource object information that has been successfully sent by the server after sending the resource object publishing request to the server;
  • a display unit configured to display the resource object information that is successfully published
  • the storage unit includes:
  • a classification module configured to classify the resource information according to type information of the resource object
  • a storage module configured to separately store the resource information in the resource library according to different types of information.
  • the device further includes:
  • An obtaining unit configured to acquire, after the first receiving unit receives the at least one resource object selected from the resource library, price information and inventory information of the at least one resource object;
  • the first sending unit is further configured to send a service object publishing request to the server, where the service object publishing request includes the identification information, the price information, and the inventory information of the at least one resource object.
  • the device further includes:
  • a fourth receiving unit configured to receive the updated inventory information of the resource object sent by the server
  • an update unit configured to update an inventory of the local resource object according to the updated inventory information.
  • the application embodiment further provides a storage medium, where the storage medium includes a stored program, wherein, when the program is running, the device where the storage medium is located is executed to execute the publishing method of the client business object.
  • the application embodiment further provides a processor, the processor is configured to run a program, wherein the program executes the publishing method of the client business object.
  • the application embodiment further provides a client device, including at least one processor;
  • a storage medium communicatively coupled to the at least one processor
  • the storage medium is configured to store a program executed by the processor, and the data required by the processor to execute the program;
  • the processor is configured to run a program, where the program executes the publishing method of the client business object.
  • the embodiment of the present application further provides a publishing system for a business object.
  • the system includes a client 1101 and a server 1102.
  • the client and the server respectively have a resource library including at least one resource object.
  • the resource object has a resource identifier and resource object description information corresponding to the resource object;
  • the client 1101 is configured to receive at least one resource object selected from the resource library, query the resource library to obtain identification information of the at least one resource object, and send a service object publishing request to the server 1102, where the service object
  • the publishing request includes the identification information of the at least one resource object
  • the server 1102 is configured to receive a publishing request of a service object, where the service object includes at least one resource object, where the publishing request includes a resource identifier of the at least one resource object, and according to the resource identifier, from the The resource object description information corresponding to the resource identifier is obtained in the resource library, and the description information of the service object is generated and published based on the obtained resource object description information.
  • the resource objects constituting the business object are set as the minimum resource granularity constituting the business object, which are pre-stored in the corresponding resource pools.
  • the resource object constituting the business object can be selected from the pre-stored resource library, and the re-writing is not repeated, thereby realizing direct reuse of the resource object and avoiding duplication.
  • Manually editing the same resource object information reduces the workload of publishing business objects, shortens the publishing time of business objects, and can improve the efficiency of business object publishing.
  • the embodiment of the present application provides a device for acquiring a business object, as shown in FIG. 16 , which is applied to a client, and the device includes:
  • the obtaining unit 1201 is configured to acquire a business object selected by the user through the business object selection interface, where the business object includes at least one resource object, where the resource object has a resource identifier and resource object description information corresponding to the resource object;
  • the sending unit 1202 is configured to send a service object acquisition request to the server, where the service object acquisition request includes the identifier information of the selected service object.
  • the receiving unit 1203 is configured to receive the service object acquisition feedback information sent by the server.
  • the obtaining unit 1201 includes:
  • a determining module configured to determine a type of the business object selected by the user through the business object selection interface
  • an obtaining module configured to directly acquire the business object of the fixed combination when determining that the at least one resource object included in the business object is a fixed combination of business objects
  • the obtaining module is further configured to: when determining that the at least one resource object included in the business object is a resource object of a selectable drop-down list, receive at least one resource object selected by the user through the business object selection interface drop-down list, and A business object obtained by combining the selected at least one resource object.
  • the sending unit 1202 is further configured to: when determining that the acquired business object is the fixed combination of the business object, send a service object obtaining request to the server, where the business object obtaining request includes the selected business object identifier information ;
  • the sending unit 1202 is further configured to: when determining that the acquired business object is a combined business object, send a business object acquisition request to the server, where the business object acquisition request includes the selected business object identification information and the selection Identification information of at least one resource object.
  • the embodiment of the present application provides a storage medium, where the storage medium includes a stored program, wherein, when the program is running, the device where the storage medium is located is configured to execute a method for acquiring a business object as described above by the user end.
  • the embodiment of the present application further provides a processor, where the processor is configured to run a program, where the program executes the acquiring method of the business object as described above by the user end.
  • the embodiment of the present application further provides a terminal device, including at least one processor;
  • a storage medium communicatively coupled to the at least one processor
  • the storage medium is configured to store a program executed by the processor, and the data required by the processor to execute the program;
  • the processor is configured to run a program, where the program is executed to execute a method for acquiring a business object as described above by the user end.
  • the embodiment of the present application provides a device for acquiring a business object, as shown in FIG. 17 , which is applied to a server, and the device includes:
  • the receiving unit 1301 is configured to receive a service object obtaining request, where the service object obtaining request includes identifier information of the service object, the service object includes at least one resource object, and the resource object has a resource identifier corresponding to the resource object. And resource object description information;
  • the first obtaining unit 1302 is configured to determine, according to the business object acquisition request, at least one resource object included in the business object;
  • a second obtaining unit 1303, configured to acquire inventory information of the at least one resource object
  • the sending unit 1304 is configured to send the feedback information acquired by the service object to the service object requesting end according to the inventory information.
  • the first obtaining unit 1302 includes:
  • a querying module configured to query, in the business object obtaining request, identifier information of at least one resource object included in the business object;
  • an obtaining module configured to query the resource library according to the business object identification information, and obtain the information object, if the identifier of the at least one resource object included in the business object is not included in the query At least one resource object;
  • the obtaining module is further configured to: when the querying the service object obtaining request includes the identifier information of the at least one resource object included in the service object, querying the resource according to the at least one object resource identifier information included in the service object a library that acquires at least one resource object included in the business object.
  • the sending unit 1304 includes:
  • a detecting module configured to detect whether an inventory of each of the at least one resource object included in the business object is less than or equal to a corresponding preset inventory threshold
  • a sending module configured to: when the detecting module detects that the at least one resource object included in the service object has a business object resource whose inventory is less than or equal to the preset inventory threshold, send a feedback of the business object acquisition failure to the service object requesting end Information, wherein the feedback information includes identification information of a resource object with insufficient inventory;
  • the sending module is further configured to: when the detecting module detects that the at least one resource object included in the service object does not have a business object resource whose inventory is less than or equal to the preset inventory threshold, send the service object to the service object requesting end Get feedback on success.
  • the embodiment of the present application further provides a storage medium, where the storage medium includes a stored program, where the device where the storage medium is located is controlled to execute a method for acquiring a business object as described above by the server.
  • the embodiment of the present application further provides a processor, where the processor is configured to run a program, where the program is executed to execute a method for acquiring a business object as described above by the server.
  • the embodiment of the present application further provides a server device, including at least one processor;
  • a storage medium communicatively coupled to the at least one processor
  • the storage medium is configured to store a program executed by the processor, and the data required by the processor to execute the program;
  • the processor is configured to run a program, where the program is executed to execute a method for acquiring a business object as described above by the server.
  • the published business object includes at least one resource object.
  • the resource object may be obtained by using the resource object as a unit, or may be obtained by using the resource object as a unit;
  • the resource object may also be selected by the user in the form of a drop-down menu, and the resource object may also be separately selected, so that the purchase of the business object and the resource object is flexible and convenient, and the purchase is facilitated.
  • the purchaseability of business objects may be provided.
  • embodiments of the present application can be provided as a method, apparatus, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present application discloses a method, apparatus and system for publishing and acquiring a business object, which relate to the technical field of networks, with the main purpose of improving the efficiency of publishing a business object. The main technical solution of the present application is: providing a server and a client with a resource library comprising at least one resource object, the resource object having a resource identifier corresponding to the resource object and resource object description information; the client receiving at least one resource object selected from the resource library; querying the resource library to obtain identification information about the at least one resource object; sending a business object publishing request to the server, wherein the business object publishing request comprises the identification information about the at least one resource object; the server receiving the business object publishing request; obtaining the resource object description information corresponding to the resource identifier from the resource library according to the resource identifier; and generating, according to the acquired resource object description information, the description information about the business object and publishing same.

Description

业务对象的发布、获取方法、装置及系统Business object release, acquisition method, device and system
本申请要求2017年8月22日递交的申请号为201710722676.5、发明名称为“业务对象的发布、获取方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims the priority of the Chinese patent application filed on Aug. 22, 2017, the number of which is hereby incorporated by reference. .
技术领域Technical field
本申请涉及网络技术领域,尤其涉及一种业务对象的发布、获取方法、装置及系统。The present application relates to the field of network technologies, and in particular, to a method, an apparatus, and a system for distributing and acquiring a business object.
背景技术Background technique
在现有的互联网技术中,网站上一般会发布一些业务对象的信息,供登录该网站的用户浏览,以便进一步的针对该业务对象进行后续处理操作。例如,以电子商务网站为例,业务对象具体可以是商家发布的商品。登录电子商务网站的用户可以通过浏览商家发布的商品,进一步的执行收藏、购买或推荐给其他用户等处理操作。In the existing Internet technology, information about some business objects is generally posted on the website for the users who log in to the website to browse, so as to further perform subsequent processing operations on the business object. For example, taking an e-commerce website as an example, the business object may specifically be a commodity published by a merchant. Users who log in to the e-commerce website can further perform collection, purchase, or recommendation to other users and other processing operations by browsing the products posted by the merchant.
目前,在网站上发布商品时,需要在业务对象发布页面中手工编辑商品信息。例如,当发布的商品为旅游景点商品时,需要在商品发布页面中手工编辑具体的景点信息,该景点信息包括景点所在城市、景点名称、景点门票类型等。若该商品为景点+酒店的商品,则除了要手动编写景点信息以外,还要在商品发布页面中手工编辑具体的酒店信息,包括酒店城市、酒店名称、房间类型等。Currently, when posting a product on a website, you need to manually edit the product information in the business object publishing page. For example, when the published product is a tourist attraction product, it is necessary to manually edit the specific attraction information in the product release page, and the scenic spot information includes the city where the attraction is located, the name of the attraction, the type of the attraction ticket, and the like. If the item is a product of the attraction + hotel, in addition to manually writing the attraction information, the specific hotel information, including the hotel city, hotel name, room type, etc., should be manually edited in the product release page.
发明人在执行上述业务对象的发布时,发现现有技术中至少存在如下问题:在发布页面中手工编辑的业务对象具体信息无法直接进行复用,当需要发布多个相似业务对象时,很多相同的业务对象信息都还需要重新手工编辑,加大了业务对象发布的工作量,影响了业务对象的发布时间,进而会造成业务对象发布的效率较低。When the inventor performs the above-mentioned business object publishing, it is found that at least the following problems exist in the prior art: the specific information of the business object manually edited in the publishing page cannot be directly reused, and when the plurality of similar business objects need to be published, many of the same The business object information also needs to be manually edited, which increases the workload of the business object publishing, affects the publishing time of the business object, and thus causes the business object to be released less efficiently.
发明内容Summary of the invention
有鉴于此,本申请提供了一种业务对象的发布、获取方法、装置及系统,主要目的在于提高业务对象发布的效率。In view of this, the present application provides a method, an apparatus, and a system for distributing and acquiring a business object, and the main purpose is to improve the efficiency of publishing a business object.
为达到上述目的,本申请提供如下技术方案:To achieve the above objective, the present application provides the following technical solutions:
第一方面,本申请提供了一种业务对象的发布方法,应用于服务端,所述服务端设有包括至少一个资源对象的资源库,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息,所述方法包括:In a first aspect, the application provides a method for publishing a business object, which is applied to a server, the server is provided with a resource library including at least one resource object, and the resource object has a resource identifier corresponding to the resource object. And resource object description information, the method includes:
接收业务对象的发布请求,所述业务对象包括至少一个资源对象,所述发布请求中包括所述至少一个资源对象的资源标识;Receiving a publishing request of the business object, the business object includes at least one resource object, and the publishing request includes a resource identifier of the at least one resource object;
根据所述资源标识,从所述资源库中获取所述资源标识对应的资源对象描述信息;Obtaining resource object description information corresponding to the resource identifier from the resource library according to the resource identifier;
基于获取的所述资源对象描述信息,生成所述业务对象的描述信息并发布。And generating, according to the obtained resource object description information, description information of the business object and publishing.
第二方面,本申请提供了一种业务对象的发布方法,应用于客户端,所述客户端设有包括至少一个资源对象的资源库,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息;In a second aspect, the present application provides a method for publishing a business object, which is applied to a client, and the client is provided with a resource library including at least one resource object, and the resource object has a resource identifier corresponding to the resource object. And resource object description information;
接收从所述资源库选取的至少一个资源对象;Receiving at least one resource object selected from the resource pool;
查询所述资源库获取所述至少一个资源对象的标识信息;Querying the resource library to obtain identification information of the at least one resource object;
向服务端发送业务对象发布请求,所述业务对象发布请求中包括所述至少一个资源对象的标识信息。Sending a business object publishing request to the server, where the business object publishing request includes the identification information of the at least one resource object.
第三方面,本申请提供了一种业务对象的获取方法,应用于用户端,该方法包括:In a third aspect, the application provides a method for obtaining a business object, which is applied to a client, and the method includes:
获取用户通过业务对象选取界面选取的业务对象,所述业务对象包括至少一个资源对象,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息;Obtaining a business object selected by the user through the business object selection interface, where the business object includes at least one resource object, where the resource object has a resource identifier and resource object description information corresponding to the resource object;
向服务端发送业务对象获取请求,所述业务对象获取请求中包括选取的业务对象的标识信息;Sending a service object obtaining request to the server, where the business object obtaining request includes the identification information of the selected business object;
接收所述服务端发送的业务对象获取反馈信息。Receiving the business object obtained by the server to obtain feedback information.
第四方面,本申请提供了一种业务对象的获取方法,应用于服务端,该方法包括:In a fourth aspect, the application provides a method for obtaining a business object, which is applied to a server, and the method includes:
接收业务对象获取请求,所述业务对象获取请求中包括业务对象的标识信息,所述业务对象包括至少一个资源对象,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息;Receiving a business object acquisition request, where the business object acquisition request includes identification information of the business object, the business object includes at least one resource object, and the resource object has a resource identifier and resource object description information corresponding to the resource object;
基于所述业务对象获取请求确定所述业务对象包括的至少一个资源对象;Determining at least one resource object included in the business object based on the business object acquisition request;
获取所述至少一个资源对象的库存信息;Obtaining inventory information of the at least one resource object;
根据所述库存信息向业务对象请求端发送业务对象获取的反馈信息。Sending feedback information acquired by the business object to the business object requesting end according to the inventory information.
第五方面,本申请提供了一种业务对象的发布装置,应用于服务端,所述服务端设有包括至少一个资源对象的资源库,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息,该装置包括:In a fifth aspect, the application provides a service object publishing apparatus, which is applied to a server, and the server is provided with a resource library including at least one resource object, and the resource object has a resource identifier corresponding to the resource object. And resource object description information, the device includes:
业务对象发布请求接收单元,用于接收业务对象的发布请求,所述业务对象包括至少一个资源对象,所述发布请求中包括所述至少一个资源对象的资源标识;a service object publishing request receiving unit, configured to receive a publishing request of a service object, where the service object includes at least one resource object, where the publishing request includes a resource identifier of the at least one resource object;
获取单元,用于根据所述资源标识,从所述资源库中获取所述资源标识对应的资源 对象描述信息;An obtaining unit, configured to acquire resource object description information corresponding to the resource identifier from the resource library according to the resource identifier;
生成单元,用于基于获取的所述资源对象描述信息,生成所述业务对象的描述信息并发布。And a generating unit, configured to generate, according to the obtained resource object description information, description information of the business object and publish the information.
第六方面,本申请提供了一种存储介质,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行如上第一方面所述的业务对象的发布方法。In a sixth aspect, the present application provides a storage medium, where the storage medium includes a stored program, wherein, when the program is running, controlling, by the device where the storage medium is located, performing the publishing method of the business object according to the first aspect .
第七方面,本申请提供了一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行如上第一方面所述的业务对象的发布方法。In a seventh aspect, the present application provides a processor for running a program, wherein the program executes the publishing method of the business object as described in the first aspect.
第八方面,本申请提供了一种服务端设备,包括至少一个处理器;以及,In an eighth aspect, the application provides a server device, including at least one processor;
与所述至少一个处理器通信连接的存储介质;a storage medium communicatively coupled to the at least one processor;
所述存储介质,用于存储所述处理器执行的程序,以及所述处理器执行所述程序过程中所需的数据;The storage medium is configured to store a program executed by the processor, and the data required by the processor to execute the program;
所述处理器,用于运行程序,其中,所述程序运行时执行如上第一方面所述的业务对象的发布方法。The processor is configured to run a program, where the program is executed to execute the publishing method of the business object as described in the first aspect.
第九方面,本申请提供了一种业务对象的发布装置,应用于客户端,所述客户端设有包括至少一个资源对象的资源库,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息;该装置包括:In a ninth aspect, the application provides a publishing apparatus for a business object, which is applied to a client, the client is provided with a resource library including at least one resource object, and the resource object has a resource identifier corresponding to the resource object. And resource object description information; the device includes:
第一接收单元,用于接收从所述资源库选取的至少一个资源对象;a first receiving unit, configured to receive at least one resource object selected from the resource library;
查询单元,用于查询所述资源库获取所述至少一个资源对象的标识信息;a query unit, configured to query the resource library to obtain identification information of the at least one resource object;
第一发送单元,用于向服务端发送业务对象发布请求,所述业务对象发布请求中包括所述至少一个资源对象的标识信息。The first sending unit is configured to send a service object publishing request to the server, where the business object publishing request includes the identifier information of the at least one resource object.
第十方面,本申请提供了一种存储介质,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行如上第二方面所述的业务对象的发布方法。In a tenth aspect, the present application provides a storage medium, where the storage medium includes a stored program, wherein, when the program is running, controlling, by the device where the storage medium is located, performing a publishing method of the business object according to the second aspect .
第十一方面,本申请提供了一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行如上第二方面所述的业务对象的发布方法。In an eleventh aspect, the present application provides a processor for running a program, wherein the program executes the publishing method of the business object according to the second aspect as described above.
第十二方面,本申请提供了一种客户端设备,包括至少一个处理器;以及,In a twelfth aspect, the application provides a client device, including at least one processor;
与所述至少一个处理器通信连接的存储介质;a storage medium communicatively coupled to the at least one processor;
所述存储介质,用于存储所述处理器执行的程序,以及所述处理器执行所述程序过程中所需的数据;The storage medium is configured to store a program executed by the processor, and the data required by the processor to execute the program;
所述处理器,用于运行程序,其中,所述程序运行时执行如上第二方面所述的业务对象的发布方法。The processor is configured to run a program, where the program is executed to execute the publishing method of the business object as described in the second aspect.
第十三方面,本申请提供了一种业务对象的发布系统,包括客户端和服务端,所述客户端和服务端分别设有包括至少一个资源对象的资源库,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息;In a thirteenth aspect, the present application provides a publishing system for a business object, including a client and a server, where the client and the server respectively have a resource library including at least one resource object, and the resource object has the same Resource identifier and resource object description information corresponding to the resource object;
所客户端,用于接收从所述资源库选取的至少一个资源对象;查询所述资源库获取所述至少一个资源对象的标识信息;向服务端发送业务对象发布请求,所述业务对象发布请求中包括所述至少一个资源对象的标识信息;a client, configured to receive at least one resource object selected from the resource library; query the resource library to obtain identification information of the at least one resource object; send a service object publishing request to the server, and the service object issues a request Included in the identification information of the at least one resource object;
所述服务端,用于接收业务对象的发布请求,所述业务对象包括至少一个资源对象,所述发布请求中包括所述至少一个资源对象的资源标识;根据所述资源标识,从所述资源库中获取所述资源标识对应的资源对象描述信息;基于获取的所述资源对象描述信息,生成所述业务对象的描述信息并发布。The server is configured to receive a publishing request of a service object, where the service object includes at least one resource object, where the publishing request includes a resource identifier of the at least one resource object, and the resource identifier is used according to the resource identifier The resource object description information corresponding to the resource identifier is obtained in the library, and the description information of the service object is generated and published based on the obtained resource object description information.
第十四方面,本申请提供了一种业务对象的获取装置,应用于用户端,该装置包括:In a fourteenth aspect, the application provides a device for acquiring a business object, which is applied to a client, and the device includes:
获取单元,用于获取用户通过业务对象选取界面选取的业务对象,所述业务对象包括至少一个资源对象,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息;An obtaining unit, configured to acquire a business object selected by a user through a business object selection interface, where the business object includes at least one resource object, where the resource object has a resource identifier and resource object description information corresponding to the resource object;
发送单元,用于向服务端发送业务对象获取请求,所述业务对象获取请求中包括选取的业务对象的标识信息;a sending unit, configured to send a service object obtaining request to the server, where the business object obtaining request includes the identification information of the selected business object;
接收单元,用于接收所述服务端发送的业务对象获取反馈信息。The receiving unit is configured to receive the business object acquisition feedback information sent by the server.
第十五方面,本申请提供了一种存储介质,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行如上第三方面所述的业务对象的获取方法。In a fifteenth aspect, the present application provides a storage medium, where the storage medium includes a stored program, wherein, when the program is running, controlling, by the device where the storage medium is located, performing the acquisition of the business object as described in the third aspect above method.
第十六方面,本申请提供了一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行如上第三方面所述的业务对象的获取方法。In a sixteenth aspect, the present application provides a processor for running a program, wherein the program is executed to execute the method for acquiring a business object as described in the third aspect.
第十七方面,本申请提供了一种终端设备,包括至少一个处理器;以及,In a seventeenth aspect, the application provides a terminal device, including at least one processor;
与所述至少一个处理器通信连接的存储介质;a storage medium communicatively coupled to the at least one processor;
所述存储介质,用于存储所述处理器执行的程序,以及所述处理器执行所述程序过程中所需的数据;The storage medium is configured to store a program executed by the processor, and the data required by the processor to execute the program;
所述处理器,用于运行程序,其中,所述程序运行时执行如上第三方面所述的业务对象的获取方法。The processor is configured to run a program, where the program is executed to execute the method for acquiring a business object as described in the third aspect.
第十八方面,本申请提供了一种业务对象的获取装置,应用于服务端,该装置包括:In an eighteenth aspect, the application provides a device for acquiring a business object, which is applied to a server, and the device includes:
接收单元,用于接收业务对象获取请求,所述业务对象获取请求中包括业务对象的标识信息,所述业务对象包括至少一个资源对象,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息;a receiving unit, configured to receive a service object obtaining request, where the business object obtaining request includes identification information of the business object, the business object includes at least one resource object, and the resource object has a resource identifier corresponding to the resource object and Resource object description information;
第一获取单元,用于基于所述业务对象获取请求确定所述业务对象包括的至少一个资源对象;a first acquiring unit, configured to determine, according to the business object acquisition request, at least one resource object included in the business object;
第二获取单元,用于获取所述至少一个资源对象的库存信息;a second acquiring unit, configured to acquire inventory information of the at least one resource object;
发送单元,用于根据所述库存信息向业务对象请求端发送业务对象获取的反馈信息。And a sending unit, configured to send the feedback information acquired by the service object to the service object requesting end according to the inventory information.
第十九方面,本申请提供了一种存储介质,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行如上第四方面所述的业务对象的获取方法。According to a nineteenth aspect, the present application provides a storage medium, where the storage medium includes a stored program, wherein, when the program is running, controlling, by the device where the storage medium is located, performing the acquisition of the business object as described in the fourth aspect above method.
第二十方面,本申请提供了一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行如上第四方面所述的业务对象的获取方法。In a twentieth aspect, the present application provides a processor for running a program, wherein the program is executed to execute the method for acquiring a business object according to the fourth aspect.
第二十一方面,本申请提供了一种服务端设备,包括至少一个处理器;以及,In a twenty-first aspect, the application provides a server device, including at least one processor;
与所述至少一个处理器通信连接的存储介质;a storage medium communicatively coupled to the at least one processor;
所述存储介质,用于存储所述处理器执行的程序,以及所述处理器执行所述程序过程中所需的数据;The storage medium is configured to store a program executed by the processor, and the data required by the processor to execute the program;
所述处理器,用于运行程序,其中,所述程序运行时执行如上第四方面所述的业务对象的获取方法。The processor is configured to run a program, where the program is executed to execute the method for acquiring a business object as described in the fourth aspect.
借由上述技术方案,本申请提供的业务对象的发布、获取方法、装置及系统,与需要在业务对象发布页面中手工编辑业务对象的方式相比,其可以预先发布一些可以构成业务对象的资源对象并保存在各自对应的资源库中,将构成业务对象的资源对象设置为组成业务对象的最小资源粒度。当需要使用到该资源对象组成待发布的业务对象像时,从预先存储的资源库中选取组成业务对象的资源对象即可,不用再重复编写,实现了资源对象的直接复用,避免了重复手工编辑相同的资源对象信息,减少了发布业务对象的工作量,缩短了业务对象的发布时间,进而可以提业务对象发布的效率。With the above technical solution, the method, device, and system for publishing and acquiring a business object provided by the present application can pre-publish resources that can constitute a business object, compared with a method of manually editing a business object in a business object publishing page. The objects are stored in their respective resource libraries, and the resource objects constituting the business objects are set to the minimum resource granularity that constitutes the business objects. When it is required to use the resource object to form a business object image to be published, the resource object constituting the business object can be selected from the pre-stored resource library, and the re-writing is not repeated, thereby realizing direct reuse of the resource object and avoiding duplication. Manually editing the same resource object information reduces the workload of publishing business objects, shortens the publishing time of business objects, and can improve the efficiency of business object publishing.
上述说明仅是本申请技术方案的概述,为了能够更清楚了解本申请的技术手段,而可依照说明书的内容予以实施,并且为了让本申请的上述和其它目的、特征和优点能够更明显易懂,以下特举本申请的具体实施方式。The above description is only an overview of the technical solutions of the present application, and the technical means of the present application can be more clearly understood, and can be implemented in accordance with the contents of the specification, and the above and other objects, features and advantages of the present application can be more clearly understood. The following is a specific embodiment of the present application.
附图说明DRAWINGS
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本申请的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those skilled in the art from a The drawings are only for the purpose of illustrating the preferred embodiments and are not intended to be limiting. Throughout the drawings, the same reference numerals are used to refer to the same parts. In the drawing:
图1示出了本申请实施例提供的一种服务端的业务对象的发布方法的流程图;FIG. 1 is a flowchart of a method for publishing a service object of a server according to an embodiment of the present application;
图2示出了本申请实施例提供的一种客户端的业务对象的发布方法的流程图;2 is a flowchart of a method for publishing a service object of a client according to an embodiment of the present application;
图3示出了本申请实施例提供的一种业务对象的发布方法的终端组成示意图;FIG. 3 is a schematic diagram of a terminal composition of a method for publishing a service object according to an embodiment of the present application;
图4示出了本申请实施例提供的一种资源对象的发布方法交互流程图;FIG. 4 is a flowchart of a method for publishing a resource object according to an embodiment of the present application;
图5示出了本申请实施例提供的一种资源对象添加页面示意图;FIG. 5 is a schematic diagram of a resource object addition page provided by an embodiment of the present application;
图6示出了本申请实施例提供的一种资源对象发布页面示意图;FIG. 6 is a schematic diagram of a resource object publishing page provided by an embodiment of the present application;
图7示出了本申请实施例提供的一种业务对象发布方法交互流程图;FIG. 7 is a flowchart of an interaction method of a business object publishing method according to an embodiment of the present application;
图8示出了本申请实施例提供的一种业务对象发布页面示意图;FIG. 8 is a schematic diagram of a business object publishing page provided by an embodiment of the present application;
图9示出了本申请实施例提供的一种用户端的业务对象的获取方法流程图;FIG. 9 is a flowchart of a method for acquiring a service object of a client according to an embodiment of the present application;
图10示出了本申请实施例提供的一种服务端的业务对象的获取方法流程图;FIG. 10 is a flowchart of a method for acquiring a service object of a server according to an embodiment of the present application;
图11示出了本申请实施例提供的另一种用户端的业务对象的获取方法流程图;FIG. 11 is a flowchart of another method for acquiring a business object of a client according to an embodiment of the present application;
图12示出了本申请实施例提供的另一种服务端的业务对象的获取方法流程图;FIG. 12 is a flowchart of another method for acquiring a service object of a server provided by an embodiment of the present application;
图13示出了本申请实施例提供的一种服务端的业务对象的发布装置的组成框图;FIG. 13 is a structural block diagram of a device for distributing a service object of a server according to an embodiment of the present application;
图14示出了本申请实施例提供的一种客户端的业务对象的发布装置的组成框图;FIG. 14 is a structural block diagram of a device for distributing a business object of a client according to an embodiment of the present application;
图15示出了本申请实施例提供的一种业务对象的发布系统的组成框图;FIG. 15 is a block diagram showing the composition of a publishing system for a business object according to an embodiment of the present application;
图16示出了本申请实施例提供的一种用户端的业务对象的获取装置的组成框图;FIG. 16 is a block diagram showing the composition of a device for acquiring a business object of a client according to an embodiment of the present application;
图17示出了本申请实施例提供的一种服务端的业务对象的获取装置的组成框图。FIG. 17 is a block diagram showing the composition of a server for acquiring a service object of a server according to an embodiment of the present application.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the embodiments of the present invention have been shown in the drawings, the embodiments Rather, these embodiments are provided so that this disclosure will be more fully understood and the scope of the disclosure will be fully disclosed.
为了便于理解本申请的实现方法,本申请此处先从整体上阐述一下本申请整体的改进:传统的业务对象是由业务对象信息+库存量(Stock Keeping Unit,SKU)组成,该SKU是业务对象的最小资源粒度,其是业务对象进出计量的单位,可以以件,盒,托盘等为 单位。而本申请中,业务对象的最小资源粒度为资源对象,该资源对象有库存,无价格,是商家提供的;该资源对象在进行发布时,加上资源对象的价格信息,就组成了可以对外发布的产品,该产品有价格、有库存,但是无法对外销售;产品组成最终可以对外销售的商品(即业务对象)。基于本申请的新的商品模型:资源对象-产品-商品,发布商在对商品进行发布时,只需要提前录入一批资源对象,然后这部分的资源对象就可以一直为后续业务对象发布做共享,商家在发布对应的业务对象时,只需要选择组成业务对象的资源对象,然后填写资源对象对应的价格,库存等信息即可形成可以发布和销售的业务对象,无需再输入很多繁琐的业务对象描述信息了。In order to facilitate the understanding of the implementation method of the present application, the present application firstly explains the overall improvement of the present application: the traditional business object is composed of a business object information + Stock Keeping Unit (SKU), which is a business The minimum resource granularity of an object, which is the unit of measurement and entry of business objects, and can be in units of parts, boxes, trays, and the like. In the present application, the minimum resource granularity of the business object is a resource object, and the resource object has an inventory, no price, and is provided by the merchant; when the resource object is released, the price information of the resource object is added, and the resource object is formed. The released product has the price and inventory, but cannot be sold externally; the product constitutes the product that can be sold externally (ie, the business object). Based on the new product model of the present application: resource object-product-item, when publishing the product, the publisher only needs to input a batch of resource objects in advance, and then the resource object of this part can always share the subsequent business object release. When the merchant publishes the corresponding business object, it only needs to select the resource object that constitutes the business object, and then fill in the price, inventory and other information corresponding to the resource object to form a business object that can be published and sold, without having to input a lot of cumbersome business objects. Describe the information.
本申请实施例提供了一种业务对象的发布方法,应用于服务端,所述服务端设有包括至少一个资源对象的资源库,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息;如图1所示,该方法包括:The embodiment of the present application provides a method for publishing a business object, which is applied to a server. The server is provided with a resource library including at least one resource object, and the resource object has a resource identifier and a resource corresponding to the resource object. Object description information; as shown in Figure 1, the method includes:
101、接收业务对象的发布请求,所述业务对象包括至少一个资源对象,所述发布请求中包括所述至少一个资源对象的资源标识。101. Receive a publishing request of a service object, where the service object includes at least one resource object, and the publishing request includes a resource identifier of the at least one resource object.
如上所述,在本申请实施例中,资源对象是组成业务对象的最小资源粒度单位,其一次编辑发布并存储在资源库中后,可以无限次的重复使用,故在资源对象存储到资源库中时,每个资源对象都有一个标识其身份的唯一标识,该资源标识可以是其身份标识ID,也可以是其他的标识信息,具体的本申请实施例对此不进行限制。在对发布的资源对象进行存储时,可以将所有的已经发布的资源对象统一存储,也可以将已经发布的资源对象,按照资源对象的类型分别存储,具体的本申请实施例对此不进行限制。As described above, in the embodiment of the present application, the resource object is the smallest resource granularity unit constituting the business object, and once edited and stored in the resource library, it can be reused indefinitely, so the resource object is stored in the resource library. Each resource object has a unique identifier that identifies its identity. The resource identifier may be its identity ID or other identifier information, which is not limited in this embodiment of the present application. When the resource object to be advertised is stored, all the resource objects that have been advertised may be stored in a unified manner, and the resource objects that have been advertised may be stored separately according to the type of the resource object. .
另外,需要说明的是,业务对象由资源对象组成,其可以由一个资源对象组成,也可以由两个以上的资源对象组成,具体的可以根据客户端具体需要发布的业务对象的内容确定,本申请实施例对此不进行限制。故接收到客户端发送的业务对象发布请求时,该业务对象包括至少一个资源对象,所述发布请求中包括所述至少一个资源对象的资源标识。In addition, it should be noted that the business object is composed of resource objects, which may be composed of one resource object, or may be composed of two or more resource objects, and may be determined according to the content of the business object that the client specifically needs to publish. The application embodiment does not limit this. When the business object publishing request sent by the client is received, the business object includes at least one resource object, and the publishing request includes the resource identifier of the at least one resource object.
102、根据所述资源标识,从所述资源库中获取所述资源标识对应的资源对象描述信息。102. Obtain resource object description information corresponding to the resource identifier from the resource pool according to the resource identifier.
本申请中,客户端在将需要用到的资源对象编辑并发布后,服务端接收客户端发布的资源对象,并将该资源对象的标识信息、描述信息以及客户端标识存储在服务端的资源库中,以便后续使用。其中,资源对象的描述信息为详细的描述资源对象的属性信息,例如,当该资源对象为机票时,该机票对应的描述信息可以为航班号、起飞时间、降落 时间、起飞机场、降落机场、飞行时长等信息;当该资源对象为酒店时,该酒店对应的描述信息可以为酒店名、房型、位置、服务等。In this application, after the client edits and publishes the resource object that needs to be used, the server receives the resource object published by the client, and stores the identifier information, the description information, and the client identifier of the resource object in the resource library of the server. In order to use it later. The description information of the resource object is a detailed description of the attribute information of the resource object. For example, when the resource object is a ticket, the description information corresponding to the ticket may be a flight number, a departure time, a landing time, a departure airport, and a landing airport. Information such as flight duration; when the resource object is a hotel, the description information corresponding to the hotel may be hotel name, room type, location, service, and the like.
103、基于获取的所述资源对象描述信息,生成所述业务对象的描述信息并发布。103. Generate, according to the obtained resource object description information, description information of the service object, and publish the information.
本申请在基于资源对象的描述信息,生成待发布的业务对象时,可以使用已经设计的业务对象发布页面对组成业务对象的资源对象的描述信息进行组合,也可以直接按照客户端设计的业务对象的发布形式进行组合,具体的,本申请实施例对此不进行限制。When generating the business object to be published based on the description information of the resource object, the application may use the designed business object publishing page to combine the description information of the resource object constituting the business object, or directly according to the business object designed by the client. The form of the publication is combined. Specifically, the embodiment of the present application does not limit this.
当使用业务对象发布页面生成待发布的业务对象时,可以根据组成业务对象的资源对象的数量及类型选取对应的业务对象发布页面,在该选取的业务对象发布页面上进行对应资源对象描述信息的添加;之后基于该业务发布页面的设置,对添加的资源对象描述信息进行组合,得到待发布的业务对象的描述信息。When the business object publishing page is used to generate the business object to be published, the corresponding business object publishing page may be selected according to the quantity and type of the resource object constituting the business object, and the corresponding resource object description information is performed on the selected business object publishing page. Adding; then, based on the setting of the service publishing page, the added resource object description information is combined to obtain the description information of the business object to be published.
例如,当组成业务对象的资源对象仅有一种,为机票资源,而机票资源又有机票A资源、机票B资源、机票C资源、机票D资源,当发布请求信息中包含机票C资源的标识信息时,根据该标识信息,查询服务端的资源对象库可以获取机票C资源的描述信息,将机票C资源的描述信息添加在一个资源对应的业务对象发布页中,并基于该发布页将机票C资源的描述信息进行处理,生成包含资源对象机票C资源的业务对象的描述信息,将该业务对象的描述信息发布。For example, when there is only one type of resource object constituting a business object, it is a ticket resource, and the ticket resource has a ticket A resource, a ticket B resource, a ticket C resource, and a ticket D resource, and the posting request information includes the identification information of the ticket C resource. According to the identification information, the resource object library of the query server can obtain the description information of the ticket C resource, add the description information of the ticket C resource to the business object release page corresponding to the resource, and use the release page to allocate the ticket C resource. The description information is processed to generate description information of the business object including the resource object ticket C resource, and the description information of the business object is released.
再例如,当组成业务对象的资源对象为两种,包括机票资源和酒店资源,并且该业务对象发布请求中包含的机票资源的标识信息为机票A的标识信息和酒店B的标识信息时,根据该机票A的标识信息和酒店B的标识信息,查询服务端资源库的,获取对应的机票A的描述信息和酒店B的描述信息。将所述描述信息分别添加在包含两种不同资源对象的业务对象发布页面中,将该两种资源对象的描述信息进行绑定,生成包含机票A资源对象和酒店B资源对象的业务对象描述信息,并将该业务对象发布。For example, when the resource objects constituting the business object are two types, including the ticket resource and the hotel resource, and the identification information of the ticket resource included in the service object issuance request is the identification information of the ticket A and the identification information of the hotel B, according to The identification information of the ticket A and the identification information of the hotel B, query the server resource library, and obtain the description information of the corresponding ticket A and the description information of the hotel B. Adding the description information to the business object publishing page that includes two different resource objects, and binding the description information of the two resource objects to generate a business object description information including the ticket A resource object and the hotel B resource object. And publish the business object.
值得说明的是,在对业务对象进行发布时,该业务对象可能为一个可以买卖的商品,也可以为非商品,当其可以进行买卖时,该服务端接收到的业务发布请求中可能会包括资源对象的价格信息和库存信息。当服务端接收到的业务发布请求中包括资源对象的价格信息和存储信息时,所述基于获取的所述资源对象描述信息,生成所述业务对象的描述信息并发布具体为:It is worth noting that when a business object is published, the business object may be a commodity that can be bought or sold, or may be a non-commodity. When it can be bought and sold, the service receiving request received by the server may include Price information and inventory information for resource objects. When the service delivery request received by the server includes the price information and the storage information of the resource object, the description information of the service object is generated based on the acquired resource object description information and is specifically released as follows:
基于获取的所述资源对象描述信息、价格信息和库存信息,生成所述业务对象的描述信息并发布。相应的,基于资源对象描述信息、价格信息和库存信息,生成所述业务对象的描述信息并发布时,可以基于业务对象发布页面进行,在个业务对象发布页面中 添加价格信息和库存信息的相关内容,基于该发布页面中对象资源的描述信息、价格信息以及库存信息生成对应的业务对象描述信息。And generating the description information of the business object based on the acquired resource object description information, the price information, and the inventory information. Correspondingly, based on the resource object description information, the price information, and the inventory information, when the description information of the business object is generated and published, the page may be published based on the business object, and the price information and the inventory information are added in the publishing page of the business object. The content generates corresponding business object description information based on the description information, the price information, and the inventory information of the object resource in the publishing page.
本申请实施例还提供一种业务对象的发布方法,该方法应用于客户端,所述客户端设有包括至少一个资源对象的资源库,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息;如图2所示,该方法包括:The embodiment of the present application further provides a method for publishing a business object, where the method is applied to a client, where the client is provided with a resource library including at least one resource object, and the resource object has a resource identifier corresponding to the resource object. And resource object description information; as shown in FIG. 2, the method includes:
201、接收从所述资源库选取的至少一个资源对象。201. Receive at least one resource object selected from the resource library.
如上所述的,客户端是资源对象的编辑并发布端,其是编辑资源对象的源头,客户端和服务端有什么样的资源对象,取决于客户端编写并发布什么样的资源对象。例如,客户端编写景点门票的资源对象,那么在该景点门票的资源对象发布后,客户端和服务端就都存储有景点门票的资源对象了。在业务对象发布者对业务对象进行发布时,若其需要发布的业务对象包含的业务资源已经发布,业务对象发布者通过该客户端直接从本地的业务资源库中选取对应资源对象即可,若业务对象包含的业务资源在资源库中没有找到,其可以先将该没有发布的资源对象发布并存储在客户端本地资源库中,之后再从该资源库中进行选择。As mentioned above, the client is the editing and publishing side of the resource object, which is the source of the editing resource object, and what kind of resource object the client and the server have, depending on what resource object the client writes and publishes. For example, if the client writes the resource object of the attraction ticket, then after the resource object of the attraction ticket is released, both the client and the server store the resource object of the attraction ticket. When the business object publisher publishes the business object, if the business resource included in the business object that needs to be published has been released, the business object publisher can directly select the corresponding resource object from the local business resource library through the client, if The business resource contained in the business object is not found in the resource library, and the resource object that is not published may be first released and stored in the client local resource repository, and then selected from the resource library.
值得说明的是,关于从所述资源库选取的资源对象数量的描述,本申请实施例此处将不再赘述,可以参考图1对应实施例的相关描述。It is to be noted that the description of the number of resource objects selected from the resource library is not described herein again. Reference may be made to the related description of the corresponding embodiment of FIG. 1 .
202、查询所述资源库获取所述至少一个资源对象的标识信息。202. Query the resource library to obtain identification information of the at least one resource object.
本申请实施例中,关于至少一个资源对象的标识信息相关描述,此处也不再赘述,可以参考图1对应实施例中的相关描述。For the description of the identification information of the at least one resource object in the embodiment of the present application, details are not described herein again. Reference may be made to the related description in the corresponding embodiment in FIG. 1 .
203、向服务端发送业务对象发布请求,所述业务对象发布请求中包括所述至少一个资源对象的标识信息。203. Send a service object publishing request to the server, where the service object publishing request includes the identifier information of the at least one resource object.
值得说明的是,在对业务对象进行发布时,该业务对象可能为一个可以买卖的商品,也可以为非商品,当其可以进行买卖时,该客户端接选取组成业务对象的资源对象时,需要填写上该资源对象的价格信息和库存信息,以便基于本申请新的商品模型:资源对象-产品-商品,将对应的业务对象组成对应的能够出售的商品。故,在接收从所述资源库选取的至少一个资源对象之后,该方法还包括:It is worth noting that when a business object is published, the business object may be a commodity that can be bought or sold, or may be a non-commodity. When it can be bought and sold, the client selects the resource object that constitutes the business object. The price information and the inventory information of the resource object need to be filled in, so that the corresponding business object is composed of the corresponding product that can be sold based on the new product model: resource object-product-item of the present application. Therefore, after receiving the at least one resource object selected from the resource library, the method further includes:
获取所述至少一个资源对象的价格信息和库存信息;Obtaining price information and inventory information of the at least one resource object;
所述向服务端发送业务对象发布请求,所述业务对象发布请求中包括所述至少一个资源对象的标识信息具体为:向服务端发送业务对象发布请求,所述业务对象发布请求中包括所述至少一个资源对象的标识信息、价格信息和库存信息。The sending, by the server, a service object publishing request, where the service object publishing request includes the identifier information of the at least one resource object, specifically: sending a service object publishing request to the server, where the service object publishing request includes the Identification information, price information, and inventory information of at least one resource object.
本申请实施例中,将构成业务对象的资源对象设置为组成业务对象的最小资源粒度,其预先保存在各自对应的资源库中。当需要使用到该资源对象组成待发布的业务对象像时,从预先存储的资源库中选取组成业务对象的资源对象即可,不用再重复编写,实现了资源对象的直接复用,避免了重复手工编辑相同的资源对象信息,减少了发布业务对象的工作量,缩短了业务对象的发布时间,进而可以提业务对象发布的效率。In the embodiment of the present application, the resource objects constituting the business object are set as the minimum resource granularity constituting the business object, which are pre-stored in the corresponding resource pools. When it is required to use the resource object to form a business object image to be published, the resource object constituting the business object can be selected from the pre-stored resource library, and the re-writing is not repeated, thereby realizing direct reuse of the resource object and avoiding duplication. Manually editing the same resource object information reduces the workload of publishing business objects, shortens the publishing time of business objects, and can improve the efficiency of business object publishing.
为了更好的对上述方法进行理解,作为对上述实施方式的细化和扩展,本申请包括客户端、服务端和用户端,如图3所示。其中,客户端为业务对象发布者应用端,主要用于资源对象的录入和发布,其可以基于具体的资源对象发布界面进行资源对象的录入和发布;以及业务对象的获取和发布,基于资源对象已经存储到客户端的本地资源库中,业务对象的获取,也可以基于业务发布页面进行操作,该业务发布页面与资源对象发布页面关联,并且两者都与资源对象关联。其中,该资源对象发布页面和业务对象发布页面可同属于一个应用平台,也可以隶属于不同的应用平台,具体的本发明实施例对此不进行限制。本申请实施例中的客户端,可以为商家平台,在具体应用时,商家进入资源对象发布页面,进行资源对象的发布,并将发布的资源对象存储在客户端的资源库中。当商家需要进行业务对象,即商品的发布时,可以进入业务对象(商品)发布页面,从资源库中选择需要发布的商品包含的资源对象,进行商品的发布。若该要发布的商品为可以买卖的商品,则可以在发布商品之前,在商品发布页面录入对应资源对象的价格和库存。In order to better understand the above method, as a refinement and extension of the foregoing embodiment, the application includes a client, a server, and a client, as shown in FIG. The client is a business object publisher application end, which is mainly used for inputting and publishing resource objects, and can input and publish resource objects based on a specific resource object publishing interface; and acquiring and publishing business objects, based on resource objects. It has been stored in the local resource repository of the client, and the acquisition of the business object can also be performed based on the business publishing page, which is associated with the resource object publishing page, and both are associated with the resource object. The resource object publishing page and the business object publishing page may belong to one application platform, and may belong to different application platforms. The specific embodiment of the present invention does not limit this. The client in the embodiment of the present application may be a merchant platform. In a specific application, the merchant enters a resource object publishing page, publishes the resource object, and stores the released resource object in the resource library of the client. When the merchant needs to carry out the business object, that is, the release of the product, the business object (product) publishing page can be accessed, and the resource object included in the product to be published is selected from the resource library, and the product is released. If the item to be released is an item that can be bought and sold, the price and inventory of the corresponding resource object can be entered on the item release page before the item is released.
与该客户端对应的服务端,用于完成该客户端的相关操作,实现客户端资源对象的发布和业务对象的发布,将客户端发布的资源对象和业务对象存储。在将业务对象发布完成之后,通过互联网对发布的业务对象进行浏览的用户,便可以根据自己的需求进行对应业务对象(商品)的买卖选择。The server corresponding to the client is used to complete the related operations of the client, implement the release of the client resource object and the release of the business object, and store the resource object and the business object published by the client. After the business object is released, the user who browses the published business object through the Internet can select the business object (commodity) for sale and purchase according to his own needs.
本申请以下实施例将以客户端为商家应用的客户端为例,具体阐述业务对象的发布。在执行业务对象发布之前,本申请先阐述一下商家客户端针对资源对象的发布方法,该方法具体基于资源对象的发布页面进行,具体如图4所示,包括:The following embodiment of the present application will take the client as the client of the merchant application as an example to specifically describe the release of the business object. Before the execution of the business object is released, the present application first describes the method for the distribution of the resource object by the merchant client. The method is specifically based on the release page of the resource object, as shown in FIG. 4, which includes:
301、接收商家通过资源对象发布页面录入其可能应用到的资源对象的信息,该资源对象信息包括但不局限于资源对象的类型信息、资源标识以及资源对象描述信息。301. The receiving merchant enters, by using a resource object publishing page, information about a resource object to which the resource object may be applied, where the resource object information includes, but is not limited to, type information of the resource object, a resource identifier, and resource object description information.
其中,该资源对象发布页面包括但不局限于资源对象的添加页面,该资源对象添加页面可以为但不局限于图5所示的内容,该内容可以根据具体资源对象的描述信息进行变更,例如如图5所述的景点门票资源对象添加界面,其包括但不局限于景点所在城市, 景点名称,门票类型,以及商家编码等。The resource object publishing page includes, but is not limited to, an added page of the resource object, and the resource object adding page may be, but not limited to, the content shown in FIG. 5, and the content may be changed according to the description information of the specific resource object, for example, The attraction ticket resource object adding interface as shown in FIG. 5 includes, but is not limited to, the city where the attraction is located, the name of the attraction, the ticket type, and the merchant code.
在将该资源对象添加完成后,可以展示在资源对象发布页面中,该资源对象发布页面可以为但不局限于如图6所示的内容,该内容包括已发布资源对象的分类显示,以及新添加的资源对象的展示,以及方便触发资源对象添加页面的按钮。After the resource object is added, it may be displayed in the resource object publishing page, which may be, but is not limited to, the content shown in FIG. 6, the content including the classified display of the published resource object, and the new The display of the added resource object, as well as the button to easily trigger the resource object to add the page.
302、向服务端发送资源对象发布请求,所述资源对象发布请求包含所述资源对象信息和发布资源对象的客户端信息。302. Send a resource object publishing request to the server, where the resource object publishing request includes the resource object information and client information of the publishing resource object.
303、服务端接收客户端发布的资源对象发布请求。303. The server receives the resource object publishing request issued by the client.
304、将所述资源对象信息和发布资源对象的客户端信息存储在所述资源库中。304. Store the resource object information and client information of the publishing resource object in the resource library.
进一步的,当服务端接收到客户端的资源对象发布请求,并将对应的资源对象进行存储后,该服务端还可以将存储在资源库中的资源对象进行分类提取;将该提取的资源对象信息发送给资源对象发布方,以便所述资源对象发布方对其已经发布的资源进行展示并存储。Further, after the server receives the resource object publishing request of the client, and stores the corresponding resource object, the server may further classify and extract the resource object stored in the resource library; and extract the extracted resource object information. Sent to the resource object publisher, so that the resource object publisher displays and stores the resources that it has already published.
客户端在将录入的资源对象发布后,可能存在发布不成功的资源对象,故当发布不成功时,就要重新录入对应的资源对象,进行重新发布。若发布的资源对象成功,在接收所述服务端发送的已经发布成功的资源对象信息;将所述发布成功的资源对象信息进行展示并存储在所述资源库中。其中,在将发布成功的资源对象存储在客户端本地的资源库中时,可以将所述资源信息按照资源对象的类型信息进行分类;按照不同类型信息将所述资源信息分别存储在所述资源库中。其中,在将已经发布的资源对象进行存储显示时,可以分类显示,如图6所示,如分类为景点库,酒店库,餐饮库,交通接驳库等。After the client releases the entered resource object, there may be a resource object whose release is unsuccessful. Therefore, when the release is unsuccessful, the corresponding resource object is re-entered and re-published. If the published resource object is successful, the resource object information that has been successfully sent and sent by the server is received, and the resource object information that is successfully published is displayed and stored in the resource library. The resource information may be classified according to the type information of the resource object when the successfully released resource object is stored in the resource library local to the client; the resource information is separately stored in the resource according to different type information. In the library. Wherein, when the already released resource objects are stored and displayed, they can be classified and displayed, as shown in FIG. 6, such as classified as an attraction library, a hotel library, a catering library, a transportation connection library, and the like.
基于本申请上述实施例中资源对象的发布,本申请实施例提供了另一种业务对象发布方法,如图7所示,该方法包括:Based on the release of the resource object in the foregoing embodiment of the present application, the embodiment of the present application provides another method for publishing a service object. As shown in FIG. 7, the method includes:
401、客户端接收从所述资源库选取的至少一个资源对象。401. The client receives at least one resource object selected from the resource library.
值得说明的是,本申请实施例中,客户端在接收从资源库选取的至少一个资源对象时,可以是基于业务对象发布页面进行。具体的,可以为但不局限于如图8所示,该业务对象发布页面包括分类存储和显示的资源对象,到需要组成需要发布的业务对象像时,可以选择对应的资源对象库,从选取的资源对象库中选取对应的资源对象资源。例如,如图8所示,本申请实施例要发布一个包含景点门票+酒店住宿的业务对象,在进行对应资源对象的选择时,直接点击添加景点门票,从景点门票对应的资源库中进行选取即可;同样的选取酒店住宿时,直接点击添加酒店住宿,从酒店住宿资源库中选取即可。若需要获取的资源对象不再已经存储的资源库中,则本申请还在该业务对象发布页面中,添 加了添加资源的触发按钮,当触发该按钮时,直接跳转到图5所示的资源对象添加页面中,执行对应资源的添加和发布。It should be noted that, in the embodiment of the present application, when receiving the at least one resource object selected from the resource library, the client may be performed based on the business object publishing page. Specifically, but not limited to, as shown in FIG. 8 , the business object publishing page includes a resource object classified and stored, and when the business object image that needs to be published needs to be formed, the corresponding resource object library may be selected, and the selected resource object library is selected. Select the corresponding resource object resource in the resource object library. For example, as shown in FIG. 8 , in the embodiment of the present application, a business object including an attraction ticket + a hotel accommodation is to be released. When the corresponding resource object is selected, the attraction ticket is directly clicked, and the resource library corresponding to the attraction ticket is selected. Just select the same hotel accommodation, click on the hotel accommodation directly, select from the hotel accommodation resource library. If the resource object to be acquired is no longer stored in the resource library, the application also adds a trigger button for adding a resource in the business object publishing page. When the button is triggered, the jump directly to the In the resource object add page, the corresponding resource is added and released.
402、客户端查询所述资源库获取所述至少一个资源对象的标识信息。402. The client queries the resource library to obtain identification information of the at least one resource object.
在客户端接收到商家通过业务对象发布页面选取的资源对象后,查询对应的资源库,获取该选取的资源对象对应的标识信息。After receiving the resource object selected by the merchant through the business object publishing page, the client queries the corresponding resource library to obtain the identifier information corresponding to the selected resource object.
403、客户端向服务端发送业务对象发布请求,所述业务对象发布请求中包括所述至少一个资源对象的标识信息。403. The client sends a service object publishing request to the server, where the service object publishing request includes the identifier information of the at least one resource object.
404、服务端接收客户端发送的业务对象的发布请求,所述业务对象包括至少一个资源对象,所述发布请求中包括所述至少一个资源对象的资源标识。404. The server receives a publishing request of a service object sent by the client, where the service object includes at least one resource object, and the publishing request includes a resource identifier of the at least one resource object.
405、服务端根据所述资源标识,从所述资源库中获取所述资源标识对应的资源对象描述信息。405. The server obtains the resource object description information corresponding to the resource identifier from the resource pool according to the resource identifier.
406、服务端确定所述业务对象中资源对象的数量;若所述资源对象的数量为一个,则执行407;若所述资源对象的数量为多个,则执行408。406. The server determines the number of resource objects in the service object. If the number of the resource objects is one, perform 407. If the number of the resource objects is multiple, perform 408.
值得说明的是,如上所述的,业务对象在发布的时候,可能包括一个资源对象,也可能包括两个以上的资源对象,当仅包含一个资源对象时,不用进行资源对象之间的处理,直接将该一个资源对象的描述信息呈现即可。当包含两个以上的资源对象时,根据资源对象类型的不同,需要进行不同的资源对象和业务对象呈现类型的绑定和组合。具体的如408所述。It should be noted that, as mentioned above, when a business object is published, it may include a resource object, and may also include more than two resource objects. When only one resource object is included, no processing between resource objects is required. Simply present the description information of a resource object. When more than two resource objects are included, different types of resource objects and business object presentation types need to be bound and combined according to different resource object types. Specifically, as described in 408.
407、服务端将所述一个资源对象的描述信息添加在单类型单资源格式业务对象发布页中,生成所述业务对象的描述信息并发布,并执行409。407. The server adds the description information of the resource object to the single-type single-resource format business object publishing page, generates description information of the service object, and publishes the file, and executes 409.
408、服务端根据所述多个资源对象的类型,将对应多个资源对象的描述信息生成业务对象的描述信息并发布,并执行409。408. The server generates the description information of the service object by using the description information of the multiple resource objects according to the type of the multiple resource objects, and executes 409.
其中,基于资源对象类型和数量的不同,以及需要发布形式的不同,本申请根据所述多个资源对象的类型,将对应多个资源对象的描述信息生成业务对象的描述信息并发布,具体为包括:The description is based on the type of the resource object, and the description of the information of the multiple resource objects, and the description information of the service object is generated according to the type of the multiple resource objects, and is specifically include:
若确定所述多个资源对象为同一类型的资源对象,则将所述多个资源对象的描述信息以下拉列表的形式添加在单类型多资源格式业务对象发布页中,生成所述业务对象的描述信息并发布。If it is determined that the multiple resource objects are the same type of resource objects, add the description information of the multiple resource objects to the single-type multi-resource format business object publishing page, and generate the business object. Describe the information and post it.
若所述多个资源对象为不同类型的资源对象,则将所述多个资源对象的描述信息进行组合绑定,将组合绑定后的多个资源对象的描述信息添加在多类型单资源格式业务对 象发布页中,生成所述业务对象的描述信息并发布。If the multiple resource objects are different types of resource objects, the description information of the multiple resource objects is combined and bound, and the description information of the multiple resource objects after the combination binding is added to the multi-type single resource format. In the business object publishing page, the description information of the business object is generated and published.
若所述多个资源对象包含多种类型的资源对象,并且其中某种类型的资源对象为两个以上,则将同一种类型的两个以上的资源对象的描述信息组合成下拉列表的形式,并与其他类型的资源对象的描述信息进行绑定,将组合绑定后的多个资源对象的描述信息添加在多类型多资源格式业务对象发布页中,生成所述业务对象的描述信息并发布。If the plurality of resource objects include multiple types of resource objects, and one of the resource objects of the type is more than two, the description information of the two or more resource objects of the same type is combined into a drop-down list. And binding the description information of the other types of resource objects, adding the description information of the multiple resource objects after the combination and binding to the multi-type multi-resource format business object publishing page, generating the description information of the business object and publishing .
409、服务端将发布的所述业务对象的描述信息存储在资源库中,并发送给对应的发布请求方。409. The server stores the description information of the published business object in a resource library, and sends the description information to the corresponding publishing requester.
410、客户端接收该服务端发送的已经发布成功的业务对象,将该业务对象的描述信息存储在客户端本地的资源库中,以便后续查看。410. The client receives the successfully published business object sent by the server, and stores the description information of the business object in a resource library local to the client for subsequent viewing.
基于上述业务对象进行发布之后,若该发布的业务对象包括的资源对象具有价格信息和库存信息,则用户会对对应的业务对象的资源对象进行买卖交易,后续需要对对应的资源对象进行库存的管理。在具体对应资源对象进行库存管理时,可以采用但不局限于以下的方法实现,该方法包括:根据用户端对资源对象的获取情况,对对应的资源对象的库存信息进行更新;将资源对象更新后的库存信息发送给客户端,以便客户端对所述资源对象的库存进行更新。After the release of the business object based on the above business object, if the resource object included in the published business object has price information and inventory information, the user will purchase and sell the resource object of the corresponding business object, and subsequently need to inventory the corresponding resource object. management. When the specific resource object is used for inventory management, the method may be implemented by using, but not limited to, the following method. The method includes: updating the inventory information of the corresponding resource object according to the acquisition situation of the resource object by the user terminal; updating the resource object; The subsequent inventory information is sent to the client so that the client updates the inventory of the resource object.
客户端接收服务端发送的资源对象更新后的库存信息;根据所述更新后的库存信息对本地资源对象的库存进行更新。The client receives the updated inventory information of the resource object sent by the server, and updates the inventory of the local resource object according to the updated inventory information.
基于上述资源对象库存的管理,当后续还有关于该资源对象的新的业务发布时,服务端在接收到包含该资源对象的业务对象的发布之后,要查看对应的资源对象的库存是否在预定的阈值范围之内,若在预定的阈值范围之内,则包含该资源对象的业务对象是可以发布的,若不在预定预置范围之内,则包含该资源对象的业务对象发布将不成功。需要通知客户端的商户,让其确定是否增加新的库存。Based on the management of the resource object inventory described above, when there is a new service release for the resource object, the server needs to check whether the inventory of the corresponding resource object is scheduled after receiving the release of the business object containing the resource object. Within the threshold range, if it is within the predetermined threshold range, the business object containing the resource object is advertiseable. If it is not within the predetermined preset range, the business object publishing including the resource object will be unsuccessful. The merchant that needs to notify the client to determine whether to add new inventory.
本申请实施例中,根据业务发布请求中包含的资源对象的数量以及类型分别进行了不同类型的业务对象的发布,使得业务对象的发布类型多样性,也为用户提供了多方面的选择,提高了业务对象发布的推广。In the embodiment of the present application, different types of business objects are separately distributed according to the number and type of resource objects included in the service publishing request, so that the publishing type of the business object is diverse, and the user is provided with various choices and improved. The promotion of business object publishing.
进一步的,在上述业务对象发布之后,用户会根据需求对发布的业务对象进行获取,当该业务对象可以买卖时,用户可以对具体的业务对象进行购买。本申请实施例提供一种业务对象的获取方法,应用于用户端,如图9所示,该方法包括:Further, after the foregoing business object is released, the user acquires the published business object according to the requirement, and when the business object can be bought and sold, the user can purchase the specific business object. An embodiment of the present application provides a method for acquiring a service object, which is applied to a client. As shown in FIG. 9, the method includes:
501、用户端获取用户通过业务对象选取界面选取的业务对象,所述业务对象包括至少一个资源对象,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信 息。501. The client obtains a service object selected by the user through the business object selection interface, where the business object includes at least one resource object, where the resource object has a resource identifier and resource object description information corresponding to the resource object.
用户在获取对应的业务对象时,可以通过但不局限于用户业务对象选取界面进行选取,也可以通过其他的方式获取,为了方便用户的操作,一般会提供人机交互的业务对象选取界面。When the user obtains the corresponding business object, the user may select the interface through the user service object selection interface, or may obtain the user object through the other methods. In order to facilitate the operation of the user, the business object selection interface of the human-computer interaction is generally provided.
供用户进行对应业务对象的选取,具体本发明实施例对此不进行限制。关于资源对象相对应的资源标识及资源对象描述信息的相关描述,本申请此处将不再赘述,具体可以参考业务对象发布方法的相关描述。For the user to select the corresponding business object, the embodiment of the present invention does not limit this. The related descriptions of the resource identifiers and the resource object descriptions of the resource objects are not described here. For details, refer to the related descriptions of the service object publishing methods.
502、用户端向服务端发送业务对象获取请求,所述业务对象获取请求中包括选取的业务对象的标识信息。502. The UE sends a service object acquisition request to the server, where the service object acquisition request includes the identifier information of the selected service object.
503、接收所述服务端发送的业务对象获取反馈信息。503. Receive a service object that is sent by the server to obtain feedback information.
本申请还提供一种业务对象的获取方法,应用于服务端,如图10所示,该方法包括:The application also provides a method for obtaining a business object, which is applied to a server. As shown in FIG. 10, the method includes:
601、服务端接收业务对象获取请求,所述业务对象获取请求中包括业务对象的标识信息,所述业务对象包括至少一个资源对象,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息。601. The server receives a service object acquisition request, where the service object acquisition request includes identifier information of the service object, where the service object includes at least one resource object, where the resource object has a resource identifier and a resource corresponding to the resource object. Object description information.
关于资源对象相对应的资源标识及资源对象描述信息的相关描述,本申请此处将不再赘述,具体可以参考业务对象发布方法的相关描述。The related descriptions of the resource identifiers and the resource object descriptions of the resource objects are not described here. For details, refer to the related descriptions of the service object publishing methods.
602、基于所述业务对象获取请求确定所述业务对象包括的至少一个资源对象。602. Determine, according to the business object acquisition request, at least one resource object included in the business object.
603、获取所述至少一个资源对象的库存信息。603. Acquire inventory information of the at least one resource object.
604、根据所述库存信息向业务对象请求端发送业务对象获取的反馈信息。604. Send, according to the inventory information, the feedback information acquired by the service object to the service object requesting end.
本申请实施例中,由于发布的业务对象至少包括一种资源对象,当该业务对象中包含一种资源对象时,该资源对象可以以业务对象为单位获取,也可以以资源对象为单位获取;当该业务对象包含至少两种资源对象时,资源对象也可以是以下拉菜单的形式供用户选取,该资源对象也可以单独选取,使得业务对象以及资源对象的购买灵活多样,方便购买,进而提升了业务对象的购买性。In the embodiment of the present application, the published business object includes at least one resource object. When the resource object includes a resource object, the resource object may be obtained by using the resource object as a unit, or may be obtained by using the resource object as a unit; When the business object includes at least two resource objects, the resource object may also be selected by the user in the form of a drop-down menu, and the resource object may also be separately selected, so that the purchase of the business object and the resource object is flexible and convenient, and the purchase is facilitated. The purchaseability of business objects.
基于上述业务对象包含的资源对象的可选择性,本申请实施例还提供一种业务对象的获取方法,该方法应用于用户端,如图11所示,该方法包括:Based on the optionality of the resource object included in the foregoing service object, the embodiment of the present application further provides a method for obtaining a service object, where the method is applied to the user end, as shown in FIG.
701、用户端确定用户通过业务对象选取界面选取的业务对象的类型;若所述业务对象包含的至少一个资源对象为固定组合的业务对象,则执行702;若所述业务对象包含的至少一个资源对象为可选择下拉列表式的资源对象,则执行704。701. The user end determines a type of the service object selected by the user through the business object selection interface. If the at least one resource object included in the business object is a fixed combination of the business object, execute 702; if the business object includes at least one resource If the object is a resource object that can be selected as a drop-down list, execute 704.
702、直接获取该固定组合的业务对象,并执行703。702. Obtain the business object of the fixed combination directly, and execute 703.
703、所述向服务端发送业务对象获取请求,所述业务对象获取请求中包括选取的业务对象的标识信息。703. The method sends a service object acquisition request to a server, where the service object acquisition request includes identifier information of the selected service object.
704、接收用户通过业务对象选取界面下拉列表选取的至少一个资源对象,并将所述选取的至少一个资源对象进行组合得到的业务对象。执行705。704. Receive a service object that is obtained by combining at least one resource object selected by a user object selection interface drop-down list, and combining the selected at least one resource object. Execute 705.
705、向服务端发送业务对象获取请求,所述业务对象获取请求中包括选取的业务对象的标识信息以及选取的至少一个资源对象的标识信息。705. Send a service object acquisition request to the server, where the service object acquisition request includes the identifier information of the selected service object and the identifier information of the selected at least one resource object.
基于上述用户端的方法实施例,本申请实施例还提供一种业务对象的获取方法,应用于服务端,如图12所示,该方法包括:Based on the foregoing method embodiment of the user terminal, the embodiment of the present application further provides a method for acquiring a service object, which is applied to a server. As shown in FIG. 12, the method includes:
801、接收业务对象获取请求,所述业务对象获取请求中包括业务对象的标识信息,所述业务对象包括至少一个资源对象,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息。801. Receive a service object acquisition request, where the service object acquisition request includes identifier information of a service object, where the service object includes at least one resource object, where the resource object has a resource identifier and a resource object description corresponding to the resource object. information.
802、查询所述业务对象获取请求中是否包含所述业务对象包括的至少一个资源对象的标识信息;若所述业务对象获取请求中不包含所述业务对象包括的至少一个资源对象的标识信息,则执行803;若所述业务对象获取请求中包括包含所述业务对象包括的至少一个资源对象的标识信息,则执行804。802. Query whether the service object acquisition request includes the identifier information of the at least one resource object included in the service object, and if the service object acquisition request does not include the identifier information of the at least one resource object included in the service object, Then, 803 is performed; if the business object acquisition request includes the identification information including the at least one resource object included in the business object, perform 804.
803、根据所述业务对象标识信息查询资源库,获取所述业务对象包括的至少一个资源对象,并执行805。803. Query the resource library according to the service object identifier information, obtain at least one resource object included in the service object, and execute 805.
804、根据所述业务对象包括的至少一个对象资源标识信息查询资源库,获取所述业务对象包括的至少一个资源对象,并执行805。804. Query the resource library according to the at least one object resource identifier information included in the service object, acquire at least one resource object included in the service object, and execute 805.
805、获取所述至少一个资源对象的库存信息。805. Acquire inventory information of the at least one resource object.
806、检测业务对象包含的至少一个资源对象中每个资源对象的库存是否小于或等于各自对应的预设库存阈值;若业务对象包含的至少一个资源对象中存在库存小于或等于所述预设库存阈值的业务对象资源,则执行807;若业务对象包含的至少一个资源对象中不存在库存小于或等于所述预设库存阈值的业务对象资源,则执行808。806. Detect whether an inventory of each resource object in the at least one resource object included in the service object is less than or equal to a corresponding preset inventory threshold; if the inventory of the at least one resource object included in the business object is less than or equal to the preset inventory The business object resource of the threshold is executed 807; if the business object resource whose inventory is less than or equal to the preset inventory threshold does not exist in the at least one resource object included in the business object, perform 808.
807、向业务对象请求端发送业务对象获取失败的反馈信息,所述反馈信息中包含库存不足的资源对象的标识信息。807. Send, to the service object requesting end, feedback information that the service object acquisition fails, where the feedback information includes identifier information of the resource object with insufficient inventory.
808、向业务对象请求端发送业务对象获取成功的反馈信息。808. Send a feedback message that the service object obtains success to the requesting end of the business object.
基于上述方法实施例,本申请实施例提供一种业务对象的发布装置,如图13所示,应用于服务端,所述服务端设有包括至少一个资源对象的资源库,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息,该装置包括:Based on the foregoing method embodiment, the embodiment of the present application provides a service object publishing apparatus, which is applied to a server, as shown in FIG. 13, the server is provided with a resource library including at least one resource object, where the resource object has The resource identifier and the resource object description information corresponding to the resource object, the device includes:
业务对象发布请求接收单元91,用于接收业务对象的发布请求,所述业务对象包括至少一个资源对象,所述发布请求中包括所述至少一个资源对象的资源标识;The business object publishing request receiving unit 91 is configured to receive a publishing request of the business object, where the business object includes at least one resource object, and the publishing request includes a resource identifier of the at least one resource object;
获取单元92,用于根据所述资源标识,从所述资源库中获取所述资源标识对应的资源对象描述信息;The obtaining unit 92 is configured to acquire resource object description information corresponding to the resource identifier from the resource library according to the resource identifier;
生成单元93,用于基于获取的所述资源对象描述信息,生成所述业务对象的描述信息并发布。其中,生成单元93包括:The generating unit 93 is configured to generate description information of the business object based on the acquired resource object description information and publish the description information. The generating unit 93 includes:
确定模块,用于确定所述业务对象中资源对象的数量;a determining module, configured to determine a quantity of resource objects in the business object;
生成模块,用于在确地所述资源对象的数量为一个时,将所述一个资源对象的描述信息添加在单类型单资源格式业务对象发布页中,生成所述业务对象的描述信息并发布;a generating module, configured to: when the number of the resource objects is one, add the description information of the one resource object to a single-type single-resource format business object publishing page, generate description information of the business object, and publish ;
所述生成模块还用于,在确定所述资源对象的数量为多个时,根据所述多个资源对象的类型,将对应多个资源对象的描述信息生成业务对象的描述信息并发布。其中,根据所述多个资源对象的类型,将对应多个资源对象的描述信息生成业务对象的描述信息并发布可以采用但不局限于以下的方式显示,该方法包括:The generating module is further configured to: when determining the number of the resource objects, use multiple types of resource objects to generate description information of the service objects and publish the description information corresponding to the multiple resource objects. The method of generating the description information of the service object by using the description information of the multiple resource objects according to the type of the multiple resource objects and publishing the information may be performed by using, but not limited to, the following manners, the method includes:
若确定所述多个资源对象为同一类型的资源对象,则将所述多个资源对象的描述信息以下拉列表的形式添加在单类型多资源格式业务对象发布页中,生成所述业务对象的描述信息并发布;If it is determined that the multiple resource objects are the same type of resource objects, add the description information of the multiple resource objects to the single-type multi-resource format business object publishing page, and generate the business object. Describe the information and publish it;
若所述多个资源对象为不同类型的资源对象,则将所述多个资源对象的描述信息进行组合绑定,将组合绑定后的多个资源对象的描述信息添加在多类型单资源格式业务对象发布页中,生成所述业务对象的描述信息并发布。If the multiple resource objects are different types of resource objects, the description information of the multiple resource objects is combined and bound, and the description information of the multiple resource objects after the combination binding is added to the multi-type single resource format. In the business object publishing page, the description information of the business object is generated and published.
若所述多个资源对象包含多种类型的资源对象,并且其中某种类型的资源对象为两个以上,则将同一种类型的两个以上的资源对象的描述信息组合成下拉列表的形式,并与其他类型的资源对象的描述信息进行绑定,将组合绑定后的多个资源对象的描述信息添加在多类型多资源格式业务对象发布页中,生成所述业务对象的描述信息并发布。If the plurality of resource objects include multiple types of resource objects, and one of the resource objects of the type is more than two, the description information of the two or more resource objects of the same type is combined into a drop-down list. And binding the description information of the other types of resource objects, adding the description information of the multiple resource objects after the combination and binding to the multi-type multi-resource format business object publishing page, generating the description information of the business object and publishing .
进一步的,该装置还包括:Further, the device further includes:
第一存储单元,用于在基于获取的所述资源对象描述信息,生成所述业务对象的描述信息并发布之后,将发布的所述业务对象的描述信息存储在资源库中;a first storage unit, configured to: after the description information of the business object is generated and published based on the obtained resource object description information, store the description information of the published business object in a resource library;
第一发送单元,用于发布的所述业务对象的描述信息发送给对应的发布请求方。The first sending unit sends description information of the service object for publishing to the corresponding publishing requester.
进一步的,该装置还包括,Further, the device further includes
资源对象发布请求接收单元,用于接收发布的资源对象发布请求,所述资源对象发布请求包含所述资源对象信息和发布资源对象的客户端信息,所述资源对象信息包括资 源对象的类型信息、资源标识以及资源对象描述信息;a resource object publishing request receiving unit, configured to receive a published resource object publishing request, where the resource object publishing request includes the resource object information and client information of a publishing resource object, where the resource object information includes type information of the resource object, Resource identifier and resource object description information;
第二存储单元,用于将所述资源对象信息和发布资源对象的客户端信息存储在所述资源库中。And a second storage unit, configured to store the resource object information and client information of the publishing resource object in the resource library.
进一步的,该装置还包括:Further, the device further includes:
分类单元,用于将存储在资源库中的资源对象进行分类提取;a classification unit, configured to classify and extract resource objects stored in the resource library;
第二发送单元,用于将该提取的资源对象信息发送给资源对象发布方,以便所述资源对象发布方对其已经发布的资源进行展示并存储。And a second sending unit, configured to send the extracted resource object information to the resource object issuer, so that the resource object issuer displays and stores the resource that has been published.
当所述发布请求中还包括资源对象的价格信息和库存信息时,所述生成单元用于基于获取的所述资源对象描述信息、价格信息和库存信息,生成所述业务对象的描述信息并发布。When the release request further includes the price information and the inventory information of the resource object, the generating unit is configured to generate, according to the acquired resource object description information, price information, and inventory information, description information of the business object, and release .
进一步的,该装置还包括:Further, the device further includes:
更新单元,用于根据用户端对资源对象的获取情况,对对应的资源对象的库存信息进行更新;An update unit, configured to update inventory information of the corresponding resource object according to the acquisition situation of the resource object by the user end;
第三发送单元,用于将资源对象更新后的库存信息发送给客户端,以便客户端对所述资源对象的库存进行更新。And a third sending unit, configured to send the updated inventory information of the resource object to the client, so that the client updates the inventory of the resource object.
本申请实施例还提供一种存储介质,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行上述服务端业务对象的发布方法。The embodiment of the present application further provides a storage medium, where the storage medium includes a stored program, wherein, when the program is running, the device where the storage medium is located is executed to execute the publishing method of the server business object.
申请实施例还提供一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行上述服务端业务对象的发布方法。The application embodiment further provides a processor, the processor is configured to run a program, wherein the program is executed to execute the publishing method of the server business object.
申请实施例还提供一种服务端设备,包括至少一个处理器;以及,The application embodiment further provides a server device, including at least one processor;
与所述至少一个处理器通信连接的存储介质;a storage medium communicatively coupled to the at least one processor;
所述存储介质,用于存储所述处理器执行的程序,以及所述处理器执行所述程序过程中所需的数据;The storage medium is configured to store a program executed by the processor, and the data required by the processor to execute the program;
所述处理器,用于运行程序,其中,所述程序运行时执行上述服务端业务对象的发布方法。The processor is configured to run a program, where the program is executed to execute the publishing method of the server business object.
本申请实施例还提供一种业务对象的发布装置,如图14所示,应用于客户端,所述客户端设有包括至少一个资源对象的资源库,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息;该装置包括:The embodiment of the present application further provides a device for distributing a business object, as shown in FIG. 14 , applied to a client, where the client is provided with a resource library including at least one resource object, and the resource object has a resource object corresponding to the resource object. Corresponding resource identifier and resource object description information; the device includes:
第一接收单元1001,用于接收从所述资源库选取的至少一个资源对象;The first receiving unit 1001 is configured to receive at least one resource object selected from the resource library;
查询单元1002,用于查询所述资源库获取所述至少一个资源对象的标识信息;The query unit 1002 is configured to query the resource library to obtain the identifier information of the at least one resource object.
第一发送单元1003,用于向服务端发送业务对象发布请求,所述业务对象发布请求中包括所述至少一个资源对象的标识信息。The first sending unit 1003 is configured to send a service object publishing request to the server, where the service object publishing request includes the identifier information of the at least one resource object.
进一步的,该装置还包括:Further, the device further includes:
第二接收单元,用于在第一接收单元接收从所述资源库选取的至少一个资源对象之前,接收输入的至少一个资源对象信息,所述资源对象信息包括资源对象的类型信息、资源标识以及资源对象描述信息;a second receiving unit, configured to receive, according to the at least one resource object selected by the resource library, the input at least one resource object information, where the resource object information includes type information of the resource object, a resource identifier, and Resource object description information;
第二发送单元,用于向服务端发送资源对象发布请求,所述资源对象发布请求包含所述资源对象信息和发布资源对象的客户端信息。And a second sending unit, configured to send a resource object publishing request to the server, where the resource object publishing request includes the resource object information and client information of the publishing resource object.
进一步的,该装置还包括:Further, the device further includes:
第三接收单元,用于第二发送单元在向服务端发送资源对象发布请求之后,接收所述服务端发送的已经发布成功的资源对象信息;a third receiving unit, configured to receive, by the second sending unit, the resource object information that has been successfully sent by the server after sending the resource object publishing request to the server;
展示单元,用于将所述发布成功的资源对象信息进行展示;a display unit, configured to display the resource object information that is successfully published;
存储单元,用于将所述发布成功的资源对象信息存储在所述资源库中。其中,所述存储单元包括:a storage unit, configured to store the successfully released resource object information in the resource library. The storage unit includes:
分类模块,用于将所述资源信息按照资源对象的类型信息进行分类;a classification module, configured to classify the resource information according to type information of the resource object;
存储模块,用于按照不同类型信息将所述资源信息分别存储在所述资源库中。And a storage module, configured to separately store the resource information in the resource library according to different types of information.
进一步的,该装置还包括:Further, the device further includes:
获取单元,用于在第一接收单元接收从所述资源库选取的至少一个资源对象之后,获取所述至少一个资源对象的价格信息和库存信息;An obtaining unit, configured to acquire, after the first receiving unit receives the at least one resource object selected from the resource library, price information and inventory information of the at least one resource object;
所述第一发送单元还用于,向服务端发送业务对象发布请求,所述业务对象发布请求中包括所述至少一个资源对象的标识信息、价格信息和库存信息。The first sending unit is further configured to send a service object publishing request to the server, where the service object publishing request includes the identification information, the price information, and the inventory information of the at least one resource object.
进一步的,该装置还包括:Further, the device further includes:
第四接收单元,用于接收服务端发送的资源对象更新后的库存信息;a fourth receiving unit, configured to receive the updated inventory information of the resource object sent by the server;
更新单元,用于根据所述更新后的库存信息对本地资源对象的库存进行更新。And an update unit, configured to update an inventory of the local resource object according to the updated inventory information.
申请实施例还提供一种存储介质,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行上述客户端业务对象的发布方法。The application embodiment further provides a storage medium, where the storage medium includes a stored program, wherein, when the program is running, the device where the storage medium is located is executed to execute the publishing method of the client business object.
申请实施例还提供一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行上述客户端业务对象的发布方法。The application embodiment further provides a processor, the processor is configured to run a program, wherein the program executes the publishing method of the client business object.
申请实施例还提供一种客户端设备,包括至少一个处理器;以及,The application embodiment further provides a client device, including at least one processor;
与所述至少一个处理器通信连接的存储介质;a storage medium communicatively coupled to the at least one processor;
所述存储介质,用于存储所述处理器执行的程序,以及所述处理器执行所述程序过程中所需的数据;The storage medium is configured to store a program executed by the processor, and the data required by the processor to execute the program;
所述处理器,用于运行程序,其中,所述程序运行时执行上述客户端业务对象的发布方法。The processor is configured to run a program, where the program executes the publishing method of the client business object.
本申请实施例还提供一种业务对象的发布系统,如图15所示,该系统包括客户端1101和服务端1102,所述客户端和服务端分别设有包括至少一个资源对象的资源库,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息;The embodiment of the present application further provides a publishing system for a business object. As shown in FIG. 15 , the system includes a client 1101 and a server 1102. The client and the server respectively have a resource library including at least one resource object. The resource object has a resource identifier and resource object description information corresponding to the resource object;
所客户端1101,用于接收从所述资源库选取的至少一个资源对象;查询所述资源库获取所述至少一个资源对象的标识信息;向服务端1102发送业务对象发布请求,所述业务对象发布请求中包括所述至少一个资源对象的标识信息;The client 1101 is configured to receive at least one resource object selected from the resource library, query the resource library to obtain identification information of the at least one resource object, and send a service object publishing request to the server 1102, where the service object The publishing request includes the identification information of the at least one resource object;
所述服务端1102,用于接收业务对象的发布请求,所述业务对象包括至少一个资源对象,所述发布请求中包括所述至少一个资源对象的资源标识;根据所述资源标识,从所述资源库中获取所述资源标识对应的资源对象描述信息;基于获取的所述资源对象描述信息,生成所述业务对象的描述信息并发布。The server 1102 is configured to receive a publishing request of a service object, where the service object includes at least one resource object, where the publishing request includes a resource identifier of the at least one resource object, and according to the resource identifier, from the The resource object description information corresponding to the resource identifier is obtained in the resource library, and the description information of the service object is generated and published based on the obtained resource object description information.
本申请实施例中,将构成业务对象的资源对象设置为组成业务对象的最小资源粒度,其预先保存在各自对应的资源库中。当需要使用到该资源对象组成待发布的业务对象像时,从预先存储的资源库中选取组成业务对象的资源对象即可,不用再重复编写,实现了资源对象的直接复用,避免了重复手工编辑相同的资源对象信息,减少了发布业务对象的工作量,缩短了业务对象的发布时间,进而可以提业务对象发布的效率。In the embodiment of the present application, the resource objects constituting the business object are set as the minimum resource granularity constituting the business object, which are pre-stored in the corresponding resource pools. When it is required to use the resource object to form a business object image to be published, the resource object constituting the business object can be selected from the pre-stored resource library, and the re-writing is not repeated, thereby realizing direct reuse of the resource object and avoiding duplication. Manually editing the same resource object information reduces the workload of publishing business objects, shortens the publishing time of business objects, and can improve the efficiency of business object publishing.
本申请实施例提供一种业务对象的获取装置,如图16所示,应用于用户端,该装置包括:The embodiment of the present application provides a device for acquiring a business object, as shown in FIG. 16 , which is applied to a client, and the device includes:
获取单元1201,用于获取用户通过业务对象选取界面选取的业务对象,所述业务对象包括至少一个资源对象,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息;The obtaining unit 1201 is configured to acquire a business object selected by the user through the business object selection interface, where the business object includes at least one resource object, where the resource object has a resource identifier and resource object description information corresponding to the resource object;
发送单元1202,用于向服务端发送业务对象获取请求,所述业务对象获取请求中包括选取的业务对象的标识信息;The sending unit 1202 is configured to send a service object acquisition request to the server, where the service object acquisition request includes the identifier information of the selected service object.
接收单元1203,用于接收所述服务端发送的业务对象获取反馈信息。The receiving unit 1203 is configured to receive the service object acquisition feedback information sent by the server.
进一步的,所述获取单元1201包括:Further, the obtaining unit 1201 includes:
确定模块,用于确定用户通过业务对象选取界面选取的业务对象的类型;a determining module, configured to determine a type of the business object selected by the user through the business object selection interface;
获取模块,用于在确定所述业务对象包含的至少一个资源对象为固定组合的业务对 象时,直接获取该固定组合的业务对象;And an obtaining module, configured to directly acquire the business object of the fixed combination when determining that the at least one resource object included in the business object is a fixed combination of business objects;
所述获取模块,还用于在确定所述业务对象包含的至少一个资源对象为可选择下拉列表式的资源对象时,接收用户通过业务对象选取界面下拉列表选取的至少一个资源对象,并将所述选取的至少一个资源对象进行组合得到的业务对象。The obtaining module is further configured to: when determining that the at least one resource object included in the business object is a resource object of a selectable drop-down list, receive at least one resource object selected by the user through the business object selection interface drop-down list, and A business object obtained by combining the selected at least one resource object.
所述发送单元1202还用于,在确定所述获取的业务对象是该固定组合的业务对象时,向服务端发送业务对象获取请求,所述业务对象获取请求中包括选取的业务对象的标识信息;The sending unit 1202 is further configured to: when determining that the acquired business object is the fixed combination of the business object, send a service object obtaining request to the server, where the business object obtaining request includes the selected business object identifier information ;
所述发送单元1202还用于,在确定所述获取的业务对象为组合得到业务对象时,向服务端发送业务对象获取请求,所述业务对象获取请求中包括选取的业务对象的标识信息以及选取的至少一个资源对象的标识信息。The sending unit 1202 is further configured to: when determining that the acquired business object is a combined business object, send a business object acquisition request to the server, where the business object acquisition request includes the selected business object identification information and the selection Identification information of at least one resource object.
本申请实施例提供一种存储介质,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行如上用户端所述的业务对象的获取方法。The embodiment of the present application provides a storage medium, where the storage medium includes a stored program, wherein, when the program is running, the device where the storage medium is located is configured to execute a method for acquiring a business object as described above by the user end.
本申请实施例提供实施例还提供一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行如上用户端所述的业务对象的获取方法。The embodiment of the present application further provides a processor, where the processor is configured to run a program, where the program executes the acquiring method of the business object as described above by the user end.
本申请实施例还提供一种终端设备,包括至少一个处理器;以及,The embodiment of the present application further provides a terminal device, including at least one processor;
与所述至少一个处理器通信连接的存储介质;a storage medium communicatively coupled to the at least one processor;
所述存储介质,用于存储所述处理器执行的程序,以及所述处理器执行所述程序过程中所需的数据;The storage medium is configured to store a program executed by the processor, and the data required by the processor to execute the program;
所述处理器,用于运行程序,其中,所述程序运行时执行如上用户端所述的业务对象的获取方法。The processor is configured to run a program, where the program is executed to execute a method for acquiring a business object as described above by the user end.
本申请实施例提供一种业务对象的获取装置,如图17所示,应用于服务端,该装置包括:The embodiment of the present application provides a device for acquiring a business object, as shown in FIG. 17 , which is applied to a server, and the device includes:
接收单元1301,用于接收业务对象获取请求,所述业务对象获取请求中包括业务对象的标识信息,所述业务对象包括至少一个资源对象,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息;The receiving unit 1301 is configured to receive a service object obtaining request, where the service object obtaining request includes identifier information of the service object, the service object includes at least one resource object, and the resource object has a resource identifier corresponding to the resource object. And resource object description information;
第一获取单元1302,用于基于所述业务对象获取请求确定所述业务对象包括的至少一个资源对象;The first obtaining unit 1302 is configured to determine, according to the business object acquisition request, at least one resource object included in the business object;
第二获取单元1303,用于获取所述至少一个资源对象的库存信息;a second obtaining unit 1303, configured to acquire inventory information of the at least one resource object;
发送单元1304,用于根据所述库存信息向业务对象请求端发送业务对象获取的反馈信息。The sending unit 1304 is configured to send the feedback information acquired by the service object to the service object requesting end according to the inventory information.
所述第一获取单元1302,包括:The first obtaining unit 1302 includes:
查询模块,用于查询所述业务对象获取请求中是否包含所述业务对象包括的至少一个资源对象的标识信息;a querying module, configured to query, in the business object obtaining request, identifier information of at least one resource object included in the business object;
获取模块,用于在查询到所述业务对象获取请求中不包含所述业务对象包括的至少一个资源对象的标识信息时,根据所述业务对象标识信息查询资源库,获取所述业务对象包括的至少一个资源对象;And an obtaining module, configured to query the resource library according to the business object identification information, and obtain the information object, if the identifier of the at least one resource object included in the business object is not included in the query At least one resource object;
所述获取模块还用于,在查询到所述业务对象获取请求中包括包含所述业务对象包括的至少一个资源对象的标识信息时,根据所述业务对象包括的至少一个对象资源标识信息查询资源库,获取所述业务对象包括的至少一个资源对象。The obtaining module is further configured to: when the querying the service object obtaining request includes the identifier information of the at least one resource object included in the service object, querying the resource according to the at least one object resource identifier information included in the service object a library that acquires at least one resource object included in the business object.
进一步的,所述发送单元1304,包括:Further, the sending unit 1304 includes:
检测模块,用于检测业务对象包含的至少一个资源对象中每个资源对象的库存是否小于或等于各自对应的预设库存阈值;a detecting module, configured to detect whether an inventory of each of the at least one resource object included in the business object is less than or equal to a corresponding preset inventory threshold;
发送模块,用于在所述检测模块检测到业务对象包含的至少一个资源对象中存在库存小于或等于所述预设库存阈值的业务对象资源时,向业务对象请求端发送业务对象获取失败的反馈信息,所述反馈信息中包含库存不足的资源对象的标识信息;a sending module, configured to: when the detecting module detects that the at least one resource object included in the service object has a business object resource whose inventory is less than or equal to the preset inventory threshold, send a feedback of the business object acquisition failure to the service object requesting end Information, wherein the feedback information includes identification information of a resource object with insufficient inventory;
所述发送模块还用于,在所述检测模块检测到业务对象包含的至少一个资源对象中不存在库存小于或等于所述预设库存阈值的业务对象资源时,向业务对象请求端发送业务对象获取成功的反馈信息。The sending module is further configured to: when the detecting module detects that the at least one resource object included in the service object does not have a business object resource whose inventory is less than or equal to the preset inventory threshold, send the service object to the service object requesting end Get feedback on success.
本申请实施例还提供一种存储介质,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行如上服务端所述的业务对象的获取方法。The embodiment of the present application further provides a storage medium, where the storage medium includes a stored program, where the device where the storage medium is located is controlled to execute a method for acquiring a business object as described above by the server.
本申请实施例还提供一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行如上服务端所述的业务对象的获取方法。The embodiment of the present application further provides a processor, where the processor is configured to run a program, where the program is executed to execute a method for acquiring a business object as described above by the server.
本申请实施例还提供一种服务端设备,包括至少一个处理器;以及,The embodiment of the present application further provides a server device, including at least one processor;
与所述至少一个处理器通信连接的存储介质;a storage medium communicatively coupled to the at least one processor;
所述存储介质,用于存储所述处理器执行的程序,以及所述处理器执行所述程序过程中所需的数据;The storage medium is configured to store a program executed by the processor, and the data required by the processor to execute the program;
所述处理器,用于运行程序,其中,所述程序运行时执行如上服务端所述的业务对象的获取方法。The processor is configured to run a program, where the program is executed to execute a method for acquiring a business object as described above by the server.
本申请实施例中,由于发布的业务对象至少包括一种资源对象,当该业务对象中包含一种资源对象时,该资源对象可以以业务对象为单位获取,也可以以资源对象为单位 获取;当该业务对象包含至少两种资源对象时,资源对象也可以是以下拉菜单的形式供用户选取,该资源对象也可以单独选取,使得业务对象以及资源对象的购买灵活多样,方便购买,进而提升了业务对象的购买性。In the embodiment of the present application, the published business object includes at least one resource object. When the resource object includes a resource object, the resource object may be obtained by using the resource object as a unit, or may be obtained by using the resource object as a unit; When the business object includes at least two resource objects, the resource object may also be selected by the user in the form of a drop-down menu, and the resource object may also be separately selected, so that the purchase of the business object and the resource object is flexible and convenient, and the purchase is facilitated. The purchaseability of business objects.
本领域内的技术人员应明白,本申请的实施例可提供为方法、装置、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, apparatus, or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本申请是参照根据本申请实施例的商品发布方法、装置、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of a method, apparatus, and computer program product delivery method according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。存储器是计算机可读介质的示例。The memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory. Memory is an example of a computer readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。 计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer readable media includes both permanent and non-persistent, removable and non-removable media. Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
以上仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above is only an embodiment of the present application and is not intended to limit the application. Various changes and modifications can be made to the present application by those skilled in the art. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the present application are intended to be included within the scope of the appended claims.

Claims (40)

  1. 一种业务对象的发布方法,其特征在于,应用于服务端,所述服务端设有包括至少一个资源对象的资源库,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息,所述方法包括:A method for distributing a business object is characterized in that it is applied to a server, the server is provided with a resource library including at least one resource object, and the resource object has a resource identifier and a resource object description corresponding to the resource object. Information, the method includes:
    接收业务对象的发布请求,所述业务对象包括至少一个资源对象,所述发布请求中包括所述至少一个资源对象的资源标识;Receiving a publishing request of the business object, the business object includes at least one resource object, and the publishing request includes a resource identifier of the at least one resource object;
    根据所述资源标识,从所述资源库中获取所述资源标识对应的资源对象描述信息;Obtaining resource object description information corresponding to the resource identifier from the resource library according to the resource identifier;
    基于获取的所述资源对象描述信息,生成所述业务对象的描述信息并发布。And generating, according to the obtained resource object description information, description information of the business object and publishing.
  2. 根据权利要求1所述的方法,其特征在于,基于获取的所述资源对象描述信息,生成所述业务对象的描述信息并发布包括:The method according to claim 1, wherein the generating the description information of the business object based on the acquired resource object description information and publishing comprises:
    确定所述业务对象中资源对象的数量;Determining the number of resource objects in the business object;
    若所述资源对象的数量为一个,则将所述一个资源对象的描述信息添加在单类型单资源格式业务对象发布页中,生成所述业务对象的描述信息并发布;If the number of the resource objects is one, the description information of the one resource object is added to the single-type single-resource format business object publishing page, and the description information of the business object is generated and distributed;
    若所述资源对象的数量为多个,则根据所述多个资源对象的类型,将对应多个资源对象的描述信息生成业务对象的描述信息并发布。If the number of the resource objects is multiple, the description information corresponding to the plurality of resource objects is generated and published according to the types of the plurality of resource objects.
  3. 根据权利要求2所述的方法,其特征在于,根据所述多个资源对象的类型,将对应多个资源对象的描述信息生成业务对象的描述信息并发布包括:The method according to claim 2, wherein generating description information corresponding to the plurality of resource objects to generate description information of the service object according to the type of the plurality of resource objects and publishing comprises:
    若确定所述多个资源对象为同一类型的资源对象,则将所述多个资源对象的描述信息以下拉列表的形式添加在单类型多资源格式业务对象发布页中,生成所述业务对象的描述信息并发布;If it is determined that the multiple resource objects are the same type of resource objects, add the description information of the multiple resource objects to the single-type multi-resource format business object publishing page, and generate the business object. Describe the information and publish it;
    若所述多个资源对象为不同类型的资源对象,则将所述多个资源对象的描述信息进行组合绑定,将组合绑定后的多个资源对象的描述信息添加在多类型单资源格式业务对象发布页中,生成所述业务对象的描述信息并发布;If the multiple resource objects are different types of resource objects, the description information of the multiple resource objects is combined and bound, and the description information of the multiple resource objects after the combination binding is added to the multi-type single resource format. In the business object publishing page, generate description information of the business object and publish it;
    若所述多个资源对象包含多种类型的资源对象,并且其中某种类型的资源对象为两个以上,则将同一种类型的两个以上的资源对象的描述信息组合成下拉列表的形式,并与其他类型的资源对象的描述信息进行绑定,将组合绑定后的多个资源对象的描述信息添加在多类型多资源格式业务对象发布页中,生成所述业务对象的描述信息并发布。If the plurality of resource objects include multiple types of resource objects, and one of the resource objects of the type is more than two, the description information of the two or more resource objects of the same type is combined into a drop-down list. And binding the description information of the other types of resource objects, adding the description information of the multiple resource objects after the combination and binding to the multi-type multi-resource format business object publishing page, generating the description information of the business object and publishing .
  4. 根据权利要求1所述的方法,其特征在于,在基于获取的所述资源对象描述信息,生成所述业务对象的描述信息并发布之后,该方法还包括:The method according to claim 1, wherein after the description information of the business object is generated and published based on the acquired resource object description information, the method further includes:
    将发布的所述业务对象的描述信息存储在资源库中,并发送给对应的发布请求方。The description information of the published business object is stored in the resource library and sent to the corresponding publishing requester.
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,在接收业务对象的发布请求之前,还包括:The method according to any one of claims 1 to 4, further comprising: before receiving the publishing request of the business object, further comprising:
    接收发布的资源对象发布请求,所述资源对象发布请求包含所述资源对象信息和发布资源对象的客户端信息,所述资源对象信息包括资源对象的类型信息、资源标识以及资源对象描述信息;Receiving a published resource object publishing request, where the resource object publishing request includes the resource object information and client information of the publishing resource object, where the resource object information includes type information of the resource object, a resource identifier, and resource object description information;
    将所述资源对象信息和发布资源对象的客户端信息存储在所述资源库中。The resource object information and client information of the publishing resource object are stored in the resource library.
  6. 根据权利要求5所述的方法,其特征在于,该方法还包括:The method of claim 5, further comprising:
    将存储在资源库中的资源对象进行分类提取;The resource objects stored in the resource library are classified and extracted;
    将该提取的资源对象信息发送给资源对象发布方,以便所述资源对象发布方对其已经发布的资源进行展示并存储。The extracted resource object information is sent to the resource object issuer, so that the resource object issuer displays and stores the resources that have been published.
  7. 根据权利要求1所述的方法,其特征在于,所述发布请求中还包括资源对象的价格信息和库存信息;所述基于获取的所述资源对象描述信息,生成所述业务对象的描述信息并发布具体为:The method according to claim 1, wherein the issue request further includes price information and inventory information of the resource object; and the generating the description information of the business object based on the acquired resource object description information and The release is specifically as follows:
    基于获取的所述资源对象描述信息、价格信息和库存信息,生成所述业务对象的描述信息并发布。And generating the description information of the business object based on the acquired resource object description information, the price information, and the inventory information.
  8. 根据权利要求7所述的方法,其特征在于,该方法还包括:The method of claim 7 further comprising:
    根据用户端对资源对象的获取情况,对对应的资源对象的库存信息进行更新;Updating the inventory information of the corresponding resource object according to the acquisition status of the resource object by the user terminal;
    将资源对象更新后的库存信息发送给客户端,以便客户端对所述资源对象的库存进行更新。The updated inventory information of the resource object is sent to the client, so that the client updates the inventory of the resource object.
  9. 根据权利要求6-8中任一项所述的方法,其特征在于,所述资源对象为:景点门票、酒店、机票、车票。The method according to any one of claims 6-8, wherein the resource objects are: attraction tickets, hotels, airline tickets, tickets.
  10. 一种业务对象的发布方法,其特征在于,应用于客户端,所述客户端设有包括至少一个资源对象的资源库,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息;A method for distributing a business object, characterized in that it is applied to a client, the client is provided with a resource library including at least one resource object, and the resource object has a resource identifier and a resource object description corresponding to the resource object. information;
    接收从所述资源库选取的至少一个资源对象;Receiving at least one resource object selected from the resource pool;
    查询所述资源库获取所述至少一个资源对象的标识信息;Querying the resource library to obtain identification information of the at least one resource object;
    向服务端发送业务对象发布请求,所述业务对象发布请求中包括所述至少一个资源对象的标识信息。Sending a business object publishing request to the server, where the business object publishing request includes the identification information of the at least one resource object.
  11. 根据权利要求10所述的方法,其特征在于,在接收从所述资源库选取的至少一个资源对象之前,该方法还包括:The method of claim 10, wherein before receiving the at least one resource object selected from the resource pool, the method further comprises:
    接收输入的至少一个资源对象信息,所述资源对象信息包括资源对象的类型信息、资源标识以及资源对象描述信息;Receiving input at least one resource object information, where the resource object information includes type information of the resource object, a resource identifier, and resource object description information;
    向服务端发送资源对象发布请求,所述资源对象发布请求包含所述资源对象信息和发布资源对象的客户端信息。Sending a resource object publishing request to the server, the resource object publishing request including the resource object information and client information of the publishing resource object.
  12. 根据权利要求11所述的方法,其特征在于,在向服务端发送资源对象发布请求之后,该方法还包括:The method according to claim 11, wherein after the resource object is issued to the server, the method further includes:
    接收所述服务端发送的已经发布成功的资源对象信息;Receiving resource object information that has been successfully sent by the server;
    将所述发布成功的资源对象信息进行展示并存储在所述资源库中。The successfully released resource object information is displayed and stored in the resource library.
  13. 根据权利要求12所述的方法,其特征在于,在将所述发布成功的资源对象信息存储在所述资源库中包括:The method according to claim 12, wherein storing the successfully released resource object information in the resource library comprises:
    将所述资源信息按照资源对象的类型信息进行分类;Sorting the resource information according to type information of the resource object;
    按照不同类型信息将所述资源信息分别存储在所述资源库中。The resource information is separately stored in the resource pool according to different types of information.
  14. 根据权利要求10所述的方法,其特征在于,在接收从所述资源库选取的至少一个资源对象之后,该方法还包括:The method according to claim 10, further comprising: after receiving the at least one resource object selected from the resource library, the method further comprising:
    获取所述至少一个资源对象的价格信息和库存信息;Obtaining price information and inventory information of the at least one resource object;
    所述向服务端发送业务对象发布请求,所述业务对象发布请求中包括所述至少一个资源对象的标识信息具体为:And sending, by the server, a service object publishing request, where the information of the at least one resource object included in the service object publishing request is specifically:
    向服务端发送业务对象发布请求,所述业务对象发布请求中包括所述至少一个资源对象的标识信息、价格信息和库存信息。Sending a business object publishing request to the server, where the business object publishing request includes the identification information, the price information, and the inventory information of the at least one resource object.
  15. 根据权利要求14所述的方法,其特征在于,该方法还包括:The method of claim 14 further comprising:
    接收服务端发送的资源对象更新后的库存信息;Receiving updated inventory information of the resource object sent by the server;
    根据所述更新后的库存信息对本地资源对象的库存进行更新。The inventory of the local resource object is updated according to the updated inventory information.
  16. 根据权利要求10-15中任一项所述方法,其特征在于,所述资源对象为:景点门票、酒店、机票、车票。The method according to any one of claims 10-15, wherein the resource objects are: attraction tickets, hotels, airline tickets, tickets.
  17. 一种业务对象的获取方法,其特征在于,应用于用户端,该方法包括:A method for obtaining a business object is characterized in that it is applied to a client, and the method includes:
    获取用户通过业务对象选取界面选取的业务对象,所述业务对象包括至少一个资源对象,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息;Obtaining a business object selected by the user through the business object selection interface, where the business object includes at least one resource object, where the resource object has a resource identifier and resource object description information corresponding to the resource object;
    向服务端发送业务对象获取请求,所述业务对象获取请求中包括选取的业务对象的标识信息;Sending a service object obtaining request to the server, where the business object obtaining request includes the identification information of the selected business object;
    接收所述服务端发送的业务对象获取反馈信息。Receiving the business object obtained by the server to obtain feedback information.
  18. 根据权利要求17所述的方法,其特征在于,获取用户通过业务对象选取界面选取的业务对象包括:The method according to claim 17, wherein the acquiring the business object selected by the user through the business object selection interface comprises:
    确定用户通过业务对象选取界面选取的业务对象的类型;Determining the type of business object selected by the user through the business object selection interface;
    若所述业务对象包含的至少一个资源对象为固定组合的业务对象,则直接获取该固定组合的业务对象;If the at least one resource object included in the business object is a fixed combination of business objects, directly acquiring the business object of the fixed combination;
    若所述业务对象包含的至少一个资源对象为可选择下拉列表式的资源对象,则接收用户通过业务对象选取界面下拉列表选取的至少一个资源对象,并将所述选取的至少一个资源对象进行组合得到的业务对象。If the at least one resource object included in the business object is a resource object of a selectable drop-down list, receiving at least one resource object selected by the user through the business object selection interface drop-down list, and combining the selected at least one resource object Get the business object.
  19. 根据权利要求18所述的方法,其特征在于,该方法还包括:The method of claim 18, further comprising:
    若确定所述获取的业务对象是该固定组合的业务对象,执行所述向服务端发送业务对象获取请求,所述业务对象获取请求中包括选取的业务对象的标识信息;If it is determined that the acquired business object is the business object of the fixed combination, the sending the service object obtaining request to the server, where the business object obtaining request includes the identification information of the selected business object;
    若确定所述获取的业务对象为组合得到业务对象时,所述向服务端发送业务对象获取请求,所述业务对象获取请求中包括选取的业务对象的标识信息具体为:向服务端发送业务对象获取请求,所述业务对象获取请求中包括选取的业务对象的标识信息以及选取的至少一个资源对象的标识信息。If it is determined that the obtained business object is a combined business object, the sending a service object acquisition request to the server, where the business object acquisition request includes the selected service object identification information, specifically: sending the service object to the server Obtaining a request, where the business object acquisition request includes the identification information of the selected business object and the identification information of the selected at least one resource object.
  20. 根据权利要求17-19中任一项所述的方法,其特征在于,所述资源对象为:景点门票、酒店、机票、车票。The method according to any one of claims 17 to 19, wherein the resource objects are: attraction tickets, hotels, airline tickets, tickets.
  21. 一种业务对象的获取方法,其特征在于,应用于服务端,该方法包括:A method for obtaining a business object, which is characterized in that it is applied to a server, and the method includes:
    接收业务对象获取请求,所述业务对象获取请求中包括业务对象的标识信息,所述业务对象包括至少一个资源对象,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息;Receiving a business object acquisition request, where the business object acquisition request includes identification information of the business object, the business object includes at least one resource object, and the resource object has a resource identifier and resource object description information corresponding to the resource object;
    基于所述业务对象获取请求确定所述业务对象包括的至少一个资源对象;Determining at least one resource object included in the business object based on the business object acquisition request;
    获取所述至少一个资源对象的库存信息;Obtaining inventory information of the at least one resource object;
    根据所述库存信息向业务对象请求端发送业务对象获取的反馈信息。Sending feedback information acquired by the business object to the business object requesting end according to the inventory information.
  22. 根据权利要求21所述的业务对象的获取方法,其特征在于,基于所述业务对象获取请求确定所述业务对象包括的至少一个资源对象包括:The method for obtaining a business object according to claim 21, wherein determining, according to the business object acquisition request, that the at least one resource object included in the business object comprises:
    查询所述业务对象获取请求中是否包含所述业务对象包括的至少一个资源对象的标识信息;Querying whether the business object acquisition request includes identification information of at least one resource object included in the business object;
    若所述业务对象获取请求中不包含所述业务对象包括的至少一个资源对象的标识信息,则根据所述业务对象标识信息查询资源库,获取所述业务对象包括的至少一个资 源对象;And if the service object obtaining request does not include the identifier information of the at least one resource object included in the service object, querying the resource library according to the service object identifier information, and acquiring at least one resource object included in the service object;
    若所述业务对象获取请求中包括包含所述业务对象包括的至少一个资源对象的标识信息,则根据所述业务对象包括的至少一个对象资源标识信息查询资源库,获取所述业务对象包括的至少一个资源对象。If the service object obtaining request includes the identifier information of the at least one resource object included in the service object, querying the resource library according to the at least one object resource identifier information included in the service object, and acquiring at least the business object includes A resource object.
  23. 根据权利要求22所述的业务对象的获取方法,其特征在于,根据所述库存信息向业务对象请求端发送业务对象获取的反馈信息包括:The method for obtaining a business object according to claim 22, wherein the sending the feedback information acquired by the business object to the requesting end of the business object according to the inventory information comprises:
    检测业务对象包含的至少一个资源对象中每个资源对象的库存是否小于或等于各自对应的预设库存阈值;Detecting whether an inventory of each of the at least one resource object included in the business object is less than or equal to a corresponding preset inventory threshold;
    若业务对象包含的至少一个资源对象中存在库存小于或等于所述预设库存阈值的业务对象资源,则向业务对象请求端发送业务对象获取失败的反馈信息,所述反馈信息中包含库存不足的资源对象的标识信息;If the at least one resource object included in the business object has a business object resource whose inventory is less than or equal to the preset inventory threshold, sending, to the business object requesting end, feedback information that the business object acquisition fails, where the feedback information includes insufficient inventory Identification information of the resource object;
    若业务对象包含的至少一个资源对象中不存在库存小于或等于所述预设库存阈值的业务对象资源,则向业务对象请求端发送业务对象获取成功的反馈信息。If the business object resource whose inventory is less than or equal to the preset inventory threshold does not exist in the at least one resource object included in the business object, the business object requesting end sends the feedback information that the business object is successfully obtained.
  24. 一种业务对象的发布装置,其特征在于,应用于服务端,所述服务端设有包括至少一个资源对象的资源库,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息,该装置包括:A device for distributing a business object, characterized in that it is applied to a server, the server is provided with a resource library including at least one resource object, and the resource object has a resource identifier and a resource object description corresponding to the resource object. Information, the device includes:
    业务对象发布请求接收单元,用于接收业务对象的发布请求,所述业务对象包括至少一个资源对象,所述发布请求中包括所述至少一个资源对象的资源标识;a service object publishing request receiving unit, configured to receive a publishing request of a service object, where the service object includes at least one resource object, where the publishing request includes a resource identifier of the at least one resource object;
    获取单元,用于根据所述资源标识,从所述资源库中获取所述资源标识对应的资源对象描述信息;An obtaining unit, configured to acquire resource object description information corresponding to the resource identifier from the resource library according to the resource identifier;
    生成单元,用于基于获取的所述资源对象描述信息,生成所述业务对象的描述信息并发布。And a generating unit, configured to generate, according to the obtained resource object description information, description information of the business object and publish the information.
  25. 一种存储介质,其特征在于,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行权利要求1-9中任一项所述的业务对象的发布方法。A storage medium, comprising: a stored program, wherein, when the program is running, controlling a device in which the storage medium is located to perform the issuance of the business object according to any one of claims 1-9 method.
  26. 一种处理器,其特征在于,所述处理器用于运行程序,其中,所述程序运行时执行权利要求1-9中任一项所述的业务对象的发布方法。A processor, wherein the processor is configured to execute a program, wherein the program is executed to execute the method for distributing a business object according to any one of claims 1-9.
  27. 一种服务端设备,其特征在于,包括至少一个处理器;以及,A server device, characterized in that it comprises at least one processor;
    与所述至少一个处理器通信连接的存储介质;a storage medium communicatively coupled to the at least one processor;
    所述存储介质,用于存储所述处理器执行的程序,以及所述处理器执行所述程序过 程中所需的数据;The storage medium is configured to store a program executed by the processor, and the processor executes data required in the program process;
    所述处理器,用于运行程序,其中,所述程序运行时执行权利要求1-9中任一项所述的业务对象的发布方法。The processor is configured to execute a program, wherein the program is executed to execute the publishing method of the business object according to any one of claims 1-9.
  28. 一种业务对象的发布装置,其特征在于,应用于客户端,所述客户端设有包括至少一个资源对象的资源库,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息;该装置包括:A device for publishing a business object, characterized in that it is applied to a client, and the client is provided with a resource library including at least one resource object, the resource object having a resource identifier and a resource object description corresponding to the resource object Information; the device includes:
    第一接收单元,用于接收从所述资源库选取的至少一个资源对象;a first receiving unit, configured to receive at least one resource object selected from the resource library;
    查询单元,用于查询所述资源库获取所述至少一个资源对象的标识信息;a query unit, configured to query the resource library to obtain identification information of the at least one resource object;
    第一发送单元,用于向服务端发送业务对象发布请求,所述业务对象发布请求中包括所述至少一个资源对象的标识信息。The first sending unit is configured to send a service object publishing request to the server, where the business object publishing request includes the identifier information of the at least one resource object.
  29. 一种存储介质,其特征在于,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行权利要求10-16中任一项所述的业务对象的发布方法。A storage medium, characterized in that the storage medium comprises a stored program, wherein the device in which the storage medium is located is controlled to perform the issuance of the business object according to any one of claims 10-16 while the program is running method.
  30. 一种处理器,其特征在于,所述处理器用于运行程序,其中,所述程序运行时执行权利要求10-16中任一项所述的业务对象的发布方法。A processor, wherein the processor is configured to execute a program, wherein the program is executed to execute the method for distributing a business object according to any one of claims 10-16.
  31. 一种客户端设备,其特征在于,包括至少一个处理器;以及,A client device, comprising at least one processor; and
    与所述至少一个处理器通信连接的存储介质;a storage medium communicatively coupled to the at least one processor;
    所述存储介质,用于存储所述处理器执行的程序,以及所述处理器执行所述程序过程中所需的数据;The storage medium is configured to store a program executed by the processor, and the data required by the processor to execute the program;
    所述处理器,用于运行程序,其中,所述程序运行时执行权利要求10-16中任一项所述的业务对象的发布方法。The processor is configured to execute a program, wherein the program is executed to execute the publishing method of the business object according to any one of claims 10-16.
  32. 一种业务对象的发布系统,其特征在于,包括客户端和服务端,所述客户端和服务端分别设有包括至少一个资源对象的资源库,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息;A publishing system for a business object, comprising: a client and a server, wherein the client and the server respectively have a resource library including at least one resource object, the resource object having a corresponding to the resource object Resource identification and resource object description information;
    所客户端,用于接收从所述资源库选取的至少一个资源对象;查询所述资源库获取所述至少一个资源对象的标识信息;向服务端发送业务对象发布请求,所述业务对象发布请求中包括所述至少一个资源对象的标识信息;a client, configured to receive at least one resource object selected from the resource library; query the resource library to obtain identification information of the at least one resource object; send a service object publishing request to the server, and the service object issues a request Included in the identification information of the at least one resource object;
    所述服务端,用于接收业务对象的发布请求,所述业务对象包括至少一个资源对象,所述发布请求中包括所述至少一个资源对象的资源标识;根据所述资源标识,从所述资源库中获取所述资源标识对应的资源对象描述信息;基于获取的所述资源对象描述信 息,生成所述业务对象的描述信息并发布。The server is configured to receive a publishing request of a service object, where the service object includes at least one resource object, where the publishing request includes a resource identifier of the at least one resource object, and the resource identifier is used according to the resource identifier The resource object description information corresponding to the resource identifier is obtained in the library, and the description information of the service object is generated and published based on the obtained resource object description information.
  33. 一种业务对象的获取装置,其特征在于,应用于用户端,该装置包括:A device for acquiring a business object, which is characterized in that it is applied to a client, and the device includes:
    获取单元,用于获取用户通过业务对象选取界面选取的业务对象,所述业务对象包括至少一个资源对象,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息;An obtaining unit, configured to acquire a business object selected by a user through a business object selection interface, where the business object includes at least one resource object, where the resource object has a resource identifier and resource object description information corresponding to the resource object;
    发送单元,用于向服务端发送业务对象获取请求,所述业务对象获取请求中包括选取的业务对象的标识信息;a sending unit, configured to send a service object obtaining request to the server, where the business object obtaining request includes the identification information of the selected business object;
    接收单元,用于接收所述服务端发送的业务对象获取反馈信息。The receiving unit is configured to receive the business object acquisition feedback information sent by the server.
  34. 一种存储介质,其特征在于,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行权利要求17-20中任一项所述的业务对象的获取方法。A storage medium, comprising: a stored program, wherein, when the program is running, controlling an apparatus in which the storage medium is located to perform acquisition of the business object according to any one of claims 17-20 method.
  35. 一种处理器,其特征在于,所述处理器用于运行程序,其中,所述程序运行时执行权利要求17-20中任一项所述的业务对象的获取方法。A processor, wherein the processor is configured to execute a program, wherein the program is executed to execute the method for acquiring a business object according to any one of claims 17-20.
  36. 一种终端设备,其特征在于,包括至少一个处理器;以及,A terminal device, comprising: at least one processor; and
    与所述至少一个处理器通信连接的存储介质;a storage medium communicatively coupled to the at least one processor;
    所述存储介质,用于存储所述处理器执行的程序,以及所述处理器执行所述程序过程中所需的数据;The storage medium is configured to store a program executed by the processor, and the data required by the processor to execute the program;
    所述处理器,用于运行程序,其中,所述程序运行时执行权利要求17-20中任一项所述的业务对象的获取方法。The processor is configured to execute a program, wherein the program is executed to execute the method for acquiring a business object according to any one of claims 17-20.
  37. 一种业务对象的获取装置,其特征在于,应用于服务端,该装置包括:A device for acquiring a business object, which is characterized in that it is applied to a server, and the device includes:
    接收单元,用于接收业务对象获取请求,所述业务对象获取请求中包括业务对象的标识信息,所述业务对象包括至少一个资源对象,所述资源对象具有与该资源对象相对应的资源标识及资源对象描述信息;a receiving unit, configured to receive a service object obtaining request, where the business object obtaining request includes identification information of the business object, the business object includes at least one resource object, and the resource object has a resource identifier corresponding to the resource object and Resource object description information;
    第一获取单元,用于基于所述业务对象获取请求确定所述业务对象包括的至少一个资源对象;a first acquiring unit, configured to determine, according to the business object acquisition request, at least one resource object included in the business object;
    第二获取单元,用于获取所述至少一个资源对象的库存信息;a second acquiring unit, configured to acquire inventory information of the at least one resource object;
    发送单元,用于根据所述库存信息向业务对象请求端发送业务对象获取的反馈信息。And a sending unit, configured to send the feedback information acquired by the service object to the service object requesting end according to the inventory information.
  38. 一种存储介质,其特征在于,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行权利要求21-23中任一项所述的业务对象的获取 方法。A storage medium, comprising: a stored program, wherein, when the program is running, controlling an apparatus in which the storage medium is located to perform acquisition of the business object according to any one of claims 21-23 method.
  39. 一种处理器,其特征在于,所述处理器用于运行程序,其中,所述程序运行时执行权利要求21-23中任一项所述的业务对象的获取方法。A processor, wherein the processor is configured to execute a program, wherein the program is executed to execute the method for acquiring a business object according to any one of claims 21-23.
  40. 一种服务端设备,其特征在于,包括至少一个处理器;以及,A server device, characterized in that it comprises at least one processor;
    与所述至少一个处理器通信连接的存储介质;a storage medium communicatively coupled to the at least one processor;
    所述存储介质,用于存储所述处理器执行的程序,以及所述处理器执行所述程序过程中所需的数据;The storage medium is configured to store a program executed by the processor, and the data required by the processor to execute the program;
    所述处理器,用于运行程序,其中,所述程序运行时执行权利要求21-23中任一项所述的业务对象的获取方法。The processor is configured to execute a program, wherein the program is executed to execute the method for acquiring a business object according to any one of claims 21-23.
PCT/CN2018/100749 2017-08-22 2018-08-16 Method, apparatus and system for publishing and acquiring business object WO2019037647A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710722676.5 2017-08-22
CN201710722676.5A CN109428904A (en) 2017-08-22 2017-08-22 The publication of business object, acquisition methods, apparatus and system

Publications (1)

Publication Number Publication Date
WO2019037647A1 true WO2019037647A1 (en) 2019-02-28

Family

ID=65438405

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/100749 WO2019037647A1 (en) 2017-08-22 2018-08-16 Method, apparatus and system for publishing and acquiring business object

Country Status (2)

Country Link
CN (1) CN109428904A (en)
WO (1) WO2019037647A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110650102A (en) * 2019-09-23 2020-01-03 深圳市元征科技股份有限公司 Resource matching method, device, server and medium
CN111080165A (en) * 2019-12-27 2020-04-28 中国银行股份有限公司 Resource allocation method and system
CN111382338A (en) * 2020-02-07 2020-07-07 口碑(上海)信息技术有限公司 Data processing method and device
CN111694872A (en) * 2020-04-29 2020-09-22 时时同云科技(成都)有限责任公司 Method and device for providing data scheme of service handling
CN112650964A (en) * 2020-12-28 2021-04-13 上海掌门科技有限公司 Service processing method, equipment and machine readable storage medium
CN113722552A (en) * 2021-09-14 2021-11-30 口碑(上海)信息技术有限公司 Resource service data alignment method and device, storage medium and electronic equipment
CN113760535A (en) * 2021-03-10 2021-12-07 北京京东振世信息技术有限公司 Resource providing method and device and service platform
CN115795368A (en) * 2023-02-07 2023-03-14 山东毓星智能科技有限公司 Industrial training data processing method and system based on artificial intelligence

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109818981A (en) * 2019-03-22 2019-05-28 口碑(上海)信息技术有限公司 Message treatment method, device and equipment
CN110827113B (en) * 2019-09-24 2022-02-25 口碑(上海)信息技术有限公司 Service data processing method, device and equipment
CN112799684B (en) * 2019-11-14 2023-09-29 中盈优创资讯科技有限公司 Service package acquisition and loading method and device
CN112990995A (en) * 2019-12-13 2021-06-18 阿里巴巴集团控股有限公司 Commodity object publishing method and device and computer system
CN112491977B (en) * 2020-11-12 2022-01-11 中国建设银行股份有限公司 Target service data publishing method, system, device and medium
CN113298609A (en) * 2021-01-27 2021-08-24 阿里巴巴集团控股有限公司 Object identification code processing method, object issuing method, device, equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140019285A1 (en) * 2012-07-13 2014-01-16 Venkateswaran Subramanian Karthik Dynamic Listing Recommendation
CN105787737A (en) * 2014-12-26 2016-07-20 阿里巴巴集团控股有限公司 Business object information processing publishing method and business object information processing publishing device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106408321A (en) * 2015-07-31 2017-02-15 华为技术有限公司 Management method and device of commodity template, and method and device for calling database, and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140019285A1 (en) * 2012-07-13 2014-01-16 Venkateswaran Subramanian Karthik Dynamic Listing Recommendation
CN105787737A (en) * 2014-12-26 2016-07-20 阿里巴巴集团控股有限公司 Business object information processing publishing method and business object information processing publishing device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Method for Taobao Assistant to create templates of goods", 8 November 2016 (2016-11-08), XP055577749, Retrieved from the Internet <URL:https://jingyan.baidu.com/article/e73e26c0b4f05024acb6a745.html> *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110650102A (en) * 2019-09-23 2020-01-03 深圳市元征科技股份有限公司 Resource matching method, device, server and medium
CN111080165A (en) * 2019-12-27 2020-04-28 中国银行股份有限公司 Resource allocation method and system
CN111382338A (en) * 2020-02-07 2020-07-07 口碑(上海)信息技术有限公司 Data processing method and device
CN111382338B (en) * 2020-02-07 2023-05-12 口碑(上海)信息技术有限公司 Data processing method and device
CN111694872A (en) * 2020-04-29 2020-09-22 时时同云科技(成都)有限责任公司 Method and device for providing data scheme of service handling
CN111694872B (en) * 2020-04-29 2023-05-23 时时同云科技(成都)有限责任公司 Method and device for providing service handling data scheme
CN112650964A (en) * 2020-12-28 2021-04-13 上海掌门科技有限公司 Service processing method, equipment and machine readable storage medium
CN113760535A (en) * 2021-03-10 2021-12-07 北京京东振世信息技术有限公司 Resource providing method and device and service platform
CN113760535B (en) * 2021-03-10 2023-09-22 北京京东振世信息技术有限公司 Resource providing method and device and service platform
CN113722552A (en) * 2021-09-14 2021-11-30 口碑(上海)信息技术有限公司 Resource service data alignment method and device, storage medium and electronic equipment
CN115795368A (en) * 2023-02-07 2023-03-14 山东毓星智能科技有限公司 Industrial training data processing method and system based on artificial intelligence

Also Published As

Publication number Publication date
CN109428904A (en) 2019-03-05

Similar Documents

Publication Publication Date Title
WO2019037647A1 (en) Method, apparatus and system for publishing and acquiring business object
US10528656B2 (en) Application module for managing jobs asynchronously
US11276097B1 (en) Canonical order management system
US20220021627A1 (en) On-demand resource provisioning
KR101960877B1 (en) Federated printer access in 3d printing
US9268562B1 (en) Methods and apparatuses for dynamically generating mobile application layouts using client-independent configuration
US20130132296A1 (en) Networked business object sharing
CN110033337B (en) Order production method and device
KR102225729B1 (en) Product information processing apparatus for multiple online shopping mall product registration and method thereof
US9589295B2 (en) Purchasing systems and methods
US20180026793A1 (en) Deterministic verification of digital identity documents
WO2012087850A2 (en) Interactions with contextual and task-based computing environments
US11481467B2 (en) System and method for management and delivery of shoppable content data
US20230281695A1 (en) Determining and presenting information related to a semantic context of electronic message text or voice data
JP5514316B2 (en) Monetization of interactive network-based information objects
US20150067638A1 (en) Business-to-consumer extendable base application
JP2020504399A (en) Resource processing method and device
KR101784454B1 (en) Apparatus for providing service, method for providing shopping service and computer readable recoding medium
JP2023516835A (en) Systems and methods for cosmetic product retail displays
CN111709769A (en) Data processing method and device
US20160275535A1 (en) Centralized system for progressive price management
CN106886546B (en) Construction method and equipment of data website
US20200349635A1 (en) System and method for content creation tool for use with shoppable content data
US11334849B2 (en) Systems and methods for cosmetics products retail displays
US20150006329A1 (en) Distributed erp

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18848962

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18848962

Country of ref document: EP

Kind code of ref document: A1