WO2019047797A1 - 应用于客户端、服务端的业务执行方法、装置以及设备 - Google Patents

应用于客户端、服务端的业务执行方法、装置以及设备 Download PDF

Info

Publication number
WO2019047797A1
WO2019047797A1 PCT/CN2018/103732 CN2018103732W WO2019047797A1 WO 2019047797 A1 WO2019047797 A1 WO 2019047797A1 CN 2018103732 W CN2018103732 W CN 2018103732W WO 2019047797 A1 WO2019047797 A1 WO 2019047797A1
Authority
WO
WIPO (PCT)
Prior art keywords
offline entity
identification
entity
identification code
offline
Prior art date
Application number
PCT/CN2018/103732
Other languages
English (en)
French (fr)
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 阿里巴巴集团控股有限公司
Priority to EP18853849.0A priority Critical patent/EP3611667A4/en
Publication of WO2019047797A1 publication Critical patent/WO2019047797A1/zh
Priority to US16/675,399 priority patent/US11164230B2/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/386Payment protocols; Details thereof using messaging services or messaging apps
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0613Third-party assisted
    • G06Q30/0619Neutral agent
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14131D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/085Payment architectures involving remote charge determination or related payment systems
    • G06Q20/0855Payment architectures involving remote charge determination or related payment systems involving a third party
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/18Payment architectures involving self-service terminals [SST], vending machines, kiosks or multimedia terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/308Payment architectures, schemes or protocols characterised by the use of specific devices or networks using the Internet of Things
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/322Aspects of commerce using mobile devices [M-devices]
    • G06Q20/3224Transactions dependent on location of M-devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3276Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being read by the M-device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0639Item locations
    • 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
    • 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/52Network services specially adapted for the location of the user terminal

Definitions

  • the present specification relates to the field of computer software technologies, and in particular, to a service execution method, apparatus, and device applied to a client and a server.
  • IoT technology is an important part of the new generation of information technology. Its core and foundation is the Internet. Through the IoT technology, users can be associated with offline entities, and information can be exchanged and communicated based on associations to perform multiple services.
  • the user can browse the merchandise on the vending machine, then scan the vending code provided by the vending machine, enter the corresponding webpage to select the desired product, pay for the purchase, and then sell automatically.
  • the machine spits out the goods and the user picks up the goods.
  • the user terminal is essentially connected to the product and then performs the business.
  • the embodiments of the present disclosure provide a service execution method, apparatus, and device for a client and a server, to solve the following technical problem: a more convenient service implementation scheme based on the object connection is needed.
  • the identification code including positioning assistance information of the offline entity
  • the identification process is for the offline entity scanned by the client and its corresponding identification code, and the identification code includes positioning auxiliary information of the offline entity;
  • the identification code including positioning assistance information of its corresponding offline entity
  • a scanning module scanning an offline entity and a corresponding identification code, where the identification code includes positioning auxiliary information of the offline entity;
  • An identification module that triggers an identification process for the offline entity of the scan and the identification code
  • the service module executes related services of the offline entity based on the identification process.
  • the service module executes related services of the offline entity according to the identification result.
  • the identification module Scanning the identification module, scanning and identifying one or more identification codes, the identification code including positioning assistance information of its corresponding offline entity;
  • the service module executes related services of the target offline entity.
  • At least one processor and,
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
  • the identification code including positioning assistance information of the offline entity
  • At least one processor and,
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
  • the identification process is for the offline entity scanned by the client and its corresponding identification code, and the identification code includes positioning assistance information of the offline entity;
  • At least one processor and,
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
  • the identification code including positioning assistance information of its corresponding offline entity
  • the at least one technical solution adopted by the embodiment of the present specification can achieve the following beneficial effects: by scanning and identifying the offline entity and its corresponding identification code, the object connection between the user terminal and the offline entity can be more conveniently realized without the user being online.
  • the offline entity is selected, and the related business of the offline entity can be executed more conveniently. Therefore, the above technical problem can be partially or completely solved.
  • FIG. 1 is a schematic diagram of an overall architecture involved in an implementation scenario of the present specification
  • FIG. 2 is a schematic flowchart of a service execution method applied to a client according to an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of a schematic diagram of a software development kit (SDK) for a hidden code and an image dual identification software according to an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of a workflow of the SDK in FIG. 3 in an automatic vending service scenario according to an embodiment of the present disclosure
  • FIG. 5 is a schematic diagram of a scanning interface and a recognition result interface of a commodity and its identification code in an automatic sales service scenario according to an embodiment of the present disclosure
  • FIG. 6 is a schematic flowchart of a service execution method applied to a server according to an embodiment of the present disclosure
  • FIG. 7 is a schematic flowchart of another service execution method applied to a client according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of a schematic diagram of a scheme for determining a target offline entity according to an embodiment of the present disclosure
  • FIG. 9 is a schematic structural diagram of a service execution apparatus applied to a client corresponding to FIG. 2 according to an embodiment of the present disclosure
  • FIG. 10 is a schematic structural diagram of a service execution apparatus applied to a server corresponding to FIG. 6 according to an embodiment of the present disclosure
  • FIG. 11 is a schematic structural diagram of another service execution apparatus applied to a client corresponding to FIG. 7 according to an embodiment of the present disclosure.
  • the embodiments of the present specification provide a service execution method, apparatus, and device applied to a client and a server.
  • the scheme of the present specification provides an identification code corresponding to the offline entity, and the identification code includes positioning assistance information of the offline entity.
  • the offline entity may be a commodity in the vending machine
  • the positioning assistance information may be the identification information of the vending machine, etc.
  • the positioning assistance information can be used to locate which vending machine the merchandise is in
  • the positioning assistance information may also contain more content, for example, information of the goods lane of the merchandise in the vending machine, and the like.
  • the identification code stores the positioning assistance information of the entity under the line by using a non-universal or general coding standard by the combination of the specific symbols.
  • the name of the identification code is not limited in this application, and may be named according to actual needs, for example, may be called hidden code, or feature code.
  • the scheme of this specification mainly includes two categories. One type is to identify the offline entity and its corresponding identification code to realize the object connection between the user terminal and the offline entity, and then perform the business; the other type does not need to scan to identify the offline entity, but only recognizes the corresponding identification by scanning only.
  • the code realizes the object connection between the user terminal and the offline entity, thereby executing the service.
  • the specific content of the positioning assistance information included in the identification code may be different.
  • Figure 1 is a schematic diagram of an overall architecture involved in the scenario of the vending service in the scenario of the present specification.
  • the overall structure includes four parts: the device where the client is located, the device where the server is located, the vending machine, and the operator server of the vending machine.
  • the client and the server correspond to the same application, for example, a payment application or an instant messaging application, and the operator of the application and the operator of the vending machine may be different or the same, for the latter case
  • the device where the server is located and the operator server of the vending machine may be the same device.
  • the vending machine displays the product for sale, and the identification code corresponding to the product. If the current user wants to purchase the product, the client and the server cooperate to scan and identify the product and its corresponding identification code to realize the object association. The product is paid, and based on the cooperation of the operator of the vending machine, the vending machine delivers the merchandise to the pick-up port, and the user obtains the merchandise. This method can simplify user operations and is more convenient.
  • the architecture in FIG. 1 is exemplary. If the functions of the user terminal and/or the vending machine are sufficiently strong, the devices on the network side are not necessarily required. For example, if the user terminal can directly establish a connection with the vending machine and perform the service, the device on the network side is not needed; for example, if the device where the server is located can directly establish a connection with the vending machine and perform business with the user terminal, The operator server of the vending machine; and so on.
  • FIG. 2 is a schematic flowchart of a service execution method applied to a client according to an embodiment of the present disclosure.
  • Possible execution entities of the process include, but are not limited to, the following devices that can carry clients: mobile phones, tablets, smart wearable devices, personal computers, and the like.
  • S202 Scan the offline entity and its corresponding identification code, where the identification code includes positioning assistance information of the offline entity.
  • the vending machine simultaneously displays the goods for sale and the identification code corresponding to the goods, wherein the displayed goods may be directly displayed goods, or may be a product model showing the appearance of the goods.
  • the placements of the merchandise and its corresponding identification code are preferably relatively close, so that the current user scans the merchandise and the identification code simultaneously.
  • the positioning assistance information directly or indirectly indicates the position of the offline entity.
  • the location is represented by another offline entity of a known location, such as a vending machine or the like, and the positioning assistance information may include identification information of the vending machine where the corresponding commodity is located, due to automatic
  • the location of the vending machine is known, and the positioning assistance information is regarded as a relative position information of the merchandise, and the positioning assistance information may further include location information of the vending machine.
  • the positioning assistance information may also include other forms of position information and the like.
  • the purpose of scanning the offline entity is to understand what the offline entity is, for example, a certain brand of juice, or a certain type of drinking water of a brand, from the user's point of view, WYSIWYG; scanning identification
  • the purpose of the code is to know where the offline entity is, for example, in which vending machine;
  • S204 trigger an identification process of the offline entity and the identification code for scanning.
  • the identification process may be performed independently by the client, or may be performed independently by the server, or may be performed by the client and the server.
  • the following embodiments mainly take the last method as an example.
  • the scanned identification code can be independently identified by the client because the required processing resources are small and the client is generally competent.
  • the required processing resources are more, and the server needs to cooperate with at least part of the work to reduce the pressure on the client, thereby facilitating efficient identification.
  • the offline image feature of the offline image can be extracted by the client, and then the feature comparison is performed by the server to obtain the image recognition result; for example, the client can only scan for the offline entity image, but the server Perform image comparison to obtain image recognition results; and so on.
  • S206 Perform related services of the offline entity based on the identifying process.
  • the association between the user and the offline entity (which may also be regarded as the object connection between the user terminal and the offline entity) may be implemented, thereby performing the service.
  • the related business of the offline entity can be completed by the client and other one or more ends (for example, the server, the vending machine, the operator server of the vending machine, etc.).
  • the offline entities are books, sports equipment, etc. to be leased; for example, in the case of living payment services, the offline entities are electricity meters, water meters, gas meters, and the like.
  • the embodiments of the present specification further provide some specific implementations of the method, and an extended solution, which will be described below.
  • the offline entity and its corresponding identification code may preferably be included in the same scan finder.
  • the same scan finder frame may be the camera framing range when the current user scans.
  • the automatic self-selling machine displays a plurality of products, and each item is displayed with a corresponding identification code.
  • the camera is aligned, so that the camera framing range includes the item to be purchased and its corresponding identification code.
  • the camera framing range includes the item to be purchased and its corresponding identification code.
  • boxes within the camera's viewing range to help the alignment.
  • there may also be prompt information such as a box to help the alignment, in this case, the current The user can place the product to be purchased and its corresponding identification code in a box, and make the box contain as much as possible of irrelevant items and identification codes to avoid scanning to identify the wrong object.
  • the scan recognition result can be prompted to the current user, so as to confirm whether the error is correct, the current user can usually intuitively determine whether the product is correct. If you make a mistake, you can try again.
  • the process for identifying the offline entity and the identifier for scanning may specifically include:
  • the identifying the image obtained by scanning the offline entity to obtain the item information of the offline entity may specifically include:
  • the client performs feature extraction on the image obtained by scanning the offline entity, and sends the extracted image feature to the server, so that the server performs feature comparison on the image feature to identify the image.
  • Item information of the offline entity
  • the identifying the positioning assistance information of the offline entity may include:
  • the client identifies the location assistance information of the offline entity and sends the location assistance information to the server.
  • the server can obtain the recognition result corresponding to the above identification process.
  • FIG. 3 is a schematic diagram of a principle of a hidden code and image dual recognition SDK according to an embodiment of the present disclosure.
  • the hidden code is the above identification code, for example, a fast response identification code similar to the two-dimensional code; the image is the image obtained by the above-mentioned entity under the scan line.
  • the SDK in Figure 3 includes a hidden code identification module and an image recognition module.
  • the hidden code is coded based on a certain standard, and the standard can be non-universal, so that the confidentiality is good.
  • the standard can be developed by the SDK's R&D party and used in a part of its own products, not public.
  • the main actions involved in the hidden code identification module are: for hidden code scanning features, analytical features and output results.
  • the main actions involved in the image recognition module are: obtaining the corresponding image of the lower body of the scan line, extracting features for the image, comparing the features, outputting the result, and the like.
  • processing logics of the SDK are not necessarily executed on the client, and some processing logics may also be executed by the server through interaction between the client and the server.
  • FIG. 4 is a schematic diagram of a workflow of the SDK in FIG. 3 in the vending service scenario provided by the embodiment of the present specification.
  • the current user scans a certain product and its corresponding identification code with a camera, and then: on the one hand, the hidden code identification module collects the hidden code, and parses the hidden code to obtain the current product.
  • Identification information of the vending machine on the other hand, the image recognition module scans the obtained product image, collects the product features, and analyzes the product through the comparison in the feature library to obtain the product information; thus, realized in one Two kinds of recognition capabilities of hidden code and image are realized in the scanning interface.
  • the results of the two modules are asynchronously processed, they are uploaded to the server for subsequent services.
  • the server may not upload the part of the recognition result.
  • FIG. 5 is a schematic diagram of a product and its identification code scanning interface and recognition result in the automatic sales service scenario provided by the embodiment of the present specification.
  • each bottle shape in practical application, a commodity entity or a product model indicates a beverage product for sale, and the identification codes corresponding to each beverage product are the same, and the display is performed.
  • the current camera is aimed at one of the beverage items and their identification code.
  • the recognition result is displayed on the right side of the interface and is divided into two parts: the upper part is the positioning auxiliary information (some of which is omitted) identified from the identification code. "International Center Block I, No. 9527", that is, the location of the vending machine And the number; the following part is the item information that is directly identified from the product (some of which is omitted) "mountain spring water 82 years, 200ml". The current user can further pay for the item by clicking on the "confirm purchase” button at the bottom.
  • the account of the current user is logged in on the client, and the client is a client of a payment application, and the account is correspondingly a payment account.
  • step S206 the performing the related service of the offline entity based on the identifying process may specifically include:
  • association relationship is determined by the client or the server based on the recognition result corresponding to the identification process; and performing the offline entity according to the association relationship Related Business.
  • the offline entity includes at least one item displayed in the vending machine
  • the identification code is also displayed in the vending machine
  • the positioning assistance information includes the Identification information for vending machines.
  • the performing the related service of the offline entity according to the association relationship may specifically include:
  • the at least one commodity is paid by the current user's payment account, and the vending machine is sent the at least one commodity to the pick-up port.
  • the server generates a to-be-paid order for the at least one item according to the association relationship, and provides the to-be-paid order information to the client, and the client uses the current user's payment account to treat the payment order.
  • the server determines that the payment is completed, and according to the above identification result, instructs the operator of the corresponding vending machine (for example, sends the identification result to the operator server), and the operator server finds the corresponding automatic according to the instruction.
  • the vending machine causes the vending machine to deliver the corresponding item to the pick-up port.
  • the vending machine was re-shipped after the payment was completed. However, it is not absolute. For example, if the credit rating of the current user is not lower than the set threshold, the vending machine can be shipped first and then paid later.
  • FIG. 2 The flow in Figure 2 is mainly explained from the perspective of the client. Based on the same idea, the embodiment of the present specification further provides a schematic flowchart of a service execution method applied to a server, as shown in FIG. 6. Possible execution entities of the process include, but are not limited to, the following devices that can carry the server: personal computers, medium and large computers, computer clusters, and the like.
  • the flow in Figure 6 includes the following steps:
  • S602 Acquire a recognition result corresponding to the identification process triggered by the client, where the identification process is performed on the offline entity scanned by the client and the corresponding identifier, and the identifier includes the positioning assistance of the offline entity. information.
  • S604 Perform related services of the offline entity according to the identification result.
  • the performing the related service of the offline entity according to the identification result may specifically include:
  • association relationship is determined by the client or the server according to the recognition result corresponding to the identification process, and the recognition result includes the offline entity Item information and the positioning assistance information; performing related services of the offline entity according to the association relationship.
  • the offline entity includes at least one item displayed in a vending machine
  • the identification code is also displayed in the vending machine
  • the positioning assistance information includes the vending machine
  • the identifying the information the performing the related service of the offline entity according to the association relationship, which may specifically include:
  • the to-be-paid order generated for the at least one item according to the association relationship is sent to the client, so that the client pays the to-be-paid order by using the current user's payment account.
  • performing the related service of the offline entity according to the association relationship may further include:
  • the above embodiments are based on scanning and identifying online entities and their corresponding identification codes to perform services.
  • the identification of online entities is to understand what the online entity is and achieve the WYSIWYG goal for the user.
  • the identification code may be scanned and identified.
  • the identifiers corresponding to different online entities may be the same.
  • all the products in the same vending machine may correspond to the same identification code, and the identification code may only include common information of all the goods as positioning auxiliary information, such as identification information, location information, etc. of the vending machine.
  • positioning auxiliary information such as identification information, location information, etc. of the vending machine.
  • the identification codes corresponding to different online entities are often different, and the positioning assistance information identified from the identification code is sufficient to distinguish different online entities. The details will be described below.
  • FIG. 7 is a schematic flowchart diagram of another service execution method applied to a client according to an embodiment of the present disclosure. The process includes the following steps:
  • S702 Scan and identify one or more identification codes, where the identification code includes positioning assistance information of its corresponding offline entity.
  • the identification code in the designated area can be directly identified.
  • the identification code in the specified area is not successfully recognized (for example, the identification code is damaged or lost, etc.)
  • the identification code outside the designated area may also be identified, and the designation may be presumed to be specified according to the recognition result.
  • the identification code in the area makes the scheme more robust.
  • S704 Determine a target offline entity of the current user according to the recognition result.
  • the target offline entity is an offline entity in the designated area. If there is no box prompt, it is often considered that the offline entity in the center of the scan finder is the target offline entity.
  • S706 Perform related services of the target offline entity.
  • the service may be performed according to the positioning assistance information included in the identifier corresponding to the target offline entity.
  • step S704 when scanning the one or more identification codes, the one or more identification codes are included in the same scan finder frame;
  • Determining the target offline entity of the current user according to the identification result which may specifically include:
  • the arrangement of the multiple offline entities is regular for different business scenarios. For example, vending opportunities neatly arrange goods according to the ranks.
  • you know the location of one or more of the offline entities you may be able to estimate the location of other offline entities in the vicinity, which will help solve some of the problem of identification failure. An example will be described with reference to FIG.
  • FIG. 8 is a schematic diagram of a schematic diagram of a scheme for determining a target offline entity according to an embodiment of the present disclosure.
  • a to I respectively represent offline entities, and the identification code below each offline entity is its corresponding identification code, and V 1 to V 4 identify the designated area of the frame type, assuming V 1 ⁇
  • the current coordinates of V 4 are: V 1 (X a , Y a ), V 2 (X b , Y a ), V 3 (X a , Y b ), V 4 (X b , Y b ).
  • the positions of F and H can be determined by identifying the identification codes corresponding to F and H, thereby determining that X is in the designated area, that is, determining X as the target line. entity.
  • the current coordinate of F is expressed as C 1 (X 0 , Y 0 )
  • the current coordinate of H is expressed as C 2 (X 1 , Y 1 ).
  • the condition is satisfied: for C 1 , (X 0 >X b )&&(Y b ⁇ Y 0 ⁇ Y a ), and for C 2 , (X a ⁇ X 1 ⁇ X b )&&(Y 1 ⁇ Y b ) ; and there is no other identifier between the specified area and F, and with H.
  • it is determined that X is the target offline entity.
  • the offline entity is known to be arranged according to the matrix
  • F is in the second row and the third column
  • H is in the third row and the second column. If the above conditions are met, it can be determined that the target offline entity is in the second row and the second column.
  • a data table can be established in advance for the relative positional relationship of each offline entity, and the subsequent query data table can be determined.
  • the first data table stores the coordinates corresponding to the entities under each line
  • the determining the current offline target entity of the current user according to the relative positional relationship between the identification code and the specified area which may include:
  • the subsequent business execution actions are similar to those in Figure 2 and Figure 6.
  • the difference is mainly that the positioning assistance information of the offline entity contains more accurate content, and does not need to rely on the item information of the offline entity. .
  • the following is a brief description.
  • the performing the related service of the target offline entity may include:
  • association relationship Acquiring an association relationship between the current user and the target offline entity, where the association relationship is determined by the client or the server based on the positioning assistance information included in the identifier corresponding to the target offline entity; Executing related services of the target offline entity.
  • the offline entity includes at least one item displayed in a vending machine, the identification code also being displayed in the vending machine, the positioning assistance information including the vending machine
  • the identification information, and the location information of the corresponding merchandise in the vending machine for example, which cargo lane, and the like
  • the performing the related service of the target offline entity according to the association relationship which may specifically include:
  • the vending machine is configured to send the at least one item to a pick-up port based on an indication by the server to an operator of the vending machine; wherein the indication is based on a location of the target offline entity Supplementary information.
  • the embodiment of the present specification further provides a corresponding device, as shown in FIG. 9, FIG. 10, and FIG.
  • FIG. 9 is a schematic structural diagram of a service execution apparatus applied to a client according to FIG. 2 according to an embodiment of the present disclosure.
  • the apparatus may be located on an execution body of the process in FIG. 2, and includes:
  • the scanning module 901 scans the offline entity and its corresponding identification code, and the identification code includes positioning assistance information of the offline entity;
  • the identification module 902 triggers an identification process for the offline entity of the scan and the identification code
  • the service module 903 is configured to perform related services of the offline entity based on the identification process.
  • FIG. 10 is a schematic structural diagram of a service execution apparatus applied to a server according to FIG. 6 according to an embodiment of the present disclosure.
  • the apparatus may be located on an execution body of the process in FIG.
  • the obtaining module 1001 is configured to obtain a recognition result corresponding to the identification process triggered by the client, where the identification process is for the offline entity scanned by the client and its corresponding identification code, and the identifier includes the offline entity. Positioning auxiliary information;
  • the service module 1002 executes related services of the offline entity according to the identification result.
  • FIG. 11 is a schematic structural diagram of another service execution apparatus applied to a client according to FIG. 7 according to an embodiment of the present disclosure.
  • the apparatus may be located on an execution body of the process in FIG. 7, and includes:
  • Scanning identification module 1101 scanning and identifying one or more identification codes, the identification code including positioning auxiliary information of its corresponding offline entity;
  • the determining module 1102 is configured to determine a target offline entity of the current user according to the recognition result
  • the service module 1103 is configured to perform related services of the target offline entity.
  • the embodiment of the present specification further provides a service execution device applied to a client, including:
  • At least one processor and,
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
  • the identification code including positioning assistance information of the offline entity
  • the embodiment of the present specification further provides a service execution device applied to a server, including:
  • At least one processor and,
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
  • the identification process is for the offline entity scanned by the client and its corresponding identification code, and the identification code includes positioning assistance information of the offline entity;
  • the embodiment of the present specification further provides another service execution device applied to the client, including:
  • At least one processor and,
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
  • the identification code including positioning assistance information of its corresponding offline entity
  • the embodiment of the present specification further provides a non-volatile computer storage medium corresponding to FIG. 2, which stores computer executable instructions, and the computer executable instructions are set as:
  • the identification code including positioning assistance information of the offline entity
  • the embodiment of the present specification further provides a non-volatile computer storage medium corresponding to FIG. 6, storing computer executable instructions, and the computer executable instructions are set as:
  • the identification process is for the offline entity scanned by the client and its corresponding identification code, and the identification code includes positioning assistance information of the offline entity;
  • the embodiment of the present specification further provides a non-volatile computer storage medium corresponding to FIG. 7, storing computer executable instructions, and the computer executable instructions are set as:
  • the identification code including positioning assistance information of its corresponding offline entity
  • the device, the device, the non-volatile computer storage medium and the method provided by the embodiments of the present specification are corresponding, and therefore, the device, the device, and the non-volatile computer storage medium also have similar beneficial technical effects as the corresponding method, since The beneficial technical effects of the method are described in detail, and therefore, the beneficial technical effects of the corresponding device, device, and non-volatile computer storage medium are not described herein.
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • HDL Hardware Description Language
  • the controller can be implemented in any suitable manner, for example, the controller can take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (eg, software or firmware) executable by the (micro)processor.
  • computer readable program code eg, software or firmware
  • examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, The Microchip PIC18F26K20 and the Silicone Labs C8051F320, the memory controller can also be implemented as part of the memory's control logic.
  • the controller can be logically programmed by means of logic gates, switches, ASICs, programmable logic controllers, and embedding.
  • Such a controller can therefore be considered a hardware component, and the means for implementing various functions included therein can also be considered as a structure within the hardware component.
  • a device for implementing various functions can be considered as a software module that can be both a method of implementation and a structure within a hardware component.
  • the system, device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function.
  • a typical implementation device is a computer.
  • the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or A combination of any of these devices.
  • embodiments of the specification can be provided as a method, system, or computer program product.
  • embodiments of the present specification can take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware.
  • embodiments of the present specification 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.
  • program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types.
  • the present specification can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network.
  • program modules can be located in both local and remote computer storage media including storage devices.

Abstract

本说明书实施例公开了应用于客户端、服务端的业务执行方法、装置以及设备。所述业务执行方法包括:客户端扫描线下实体及其对应的识别码,识别码包含该线下实体的定位辅助信息,触发针对扫描的该线下实体和该识别码的识别过程,基于该识别过程,执行该线下实体的相关业务,另外,服务端也可以配合客户端执行该相关业务。

Description

应用于客户端、服务端的业务执行方法、装置以及设备 技术领域
本说明书涉及计算机软件技术领域,尤其涉及应用于客户端、服务端的业务执行方法、装置以及设备。
背景技术
物联技术是新一代信息技术的重要组成部分,其核心和基础是互联网,通过物联技术能够使用户与线下实体之间进行关联,基于关联进行信息交互和通信,从而执行多种业务。
以自动贩卖业务为例,在现有技术中,用户可以在自动贩卖机上浏览商品,然后扫描自动贩卖机提供的二维码,进入相应的网页选择所需的商品,并支付购买,然后自动贩卖机将该商品吐出,用户取货。在该过程中,实质上是对用户终端与该商品进行了物联后执行业务。
基于现有技术,需要更为便利的基于物联的业务执行方案。
发明内容
本说明书实施例提供应用于客户端、服务端的业务执行方法、装置以及设备,用以解决如下技术问题:需要更为便利的基于物联的业务执行方案。
为解决上述技术问题,本说明书实施例是这样实现的:
本说明书实施例提供的一种应用于客户端的业务执行方法,包括:
扫描线下实体及其对应的识别码,所述识别码包含所述线下实体的定位辅助信息;
触发针对扫描的所述线下实体和所述识别码的识别过程;
基于所述识别过程,执行所述线下实体的相关业务。
本说明书实施例提供的一种应用于服务端的业务执行方法,包括:
获取客户端触发的识别过程对应的识别结果,所述识别过程是针对所述客 户端扫描的线下实体及其对应的识别码的,所述识别码包含所述线下实体的定位辅助信息;
根据所述识别结果,执行所述线下实体的相关业务。
本说明书实施例提供的另一种应用于客户端的业务执行方法,包括:
扫描并识别一个或者多个识别码,所述识别码包含其对应的线下实体的定位辅助信息;
根据识别结果,确定当前用户的目标线下实体;
执行所述目标线下实体的相关业务。
本说明书实施例提供的一种应用于客户端的业务执行装置,包括:
扫描模块,扫描线下实体及其对应的识别码,所述识别码包含所述线下实体的定位辅助信息;
识别模块,触发针对扫描的所述线下实体和所述识别码的识别过程;
业务模块,基于所述识别过程,执行所述线下实体的相关业务。
本说明书实施例提供的一种应用于服务端的业务执行装置,包括:
获取模块,获取客户端触发的识别过程对应的识别结果,所述识别过程是针对所述客户端扫描的线下实体及其对应的识别码的,所述识别码包含所述线下实体的定位辅助信息;
业务模块,根据所述识别结果,执行所述线下实体的相关业务。
本说明书实施例提供的另一种应用于客户端的业务执行装置,包括:
扫描识别模块,扫描并识别一个或者多个识别码,所述识别码包含其对应的线下实体的定位辅助信息;
确定模块,根据识别结果,确定当前用户的目标线下实体;
业务模块,执行所述目标线下实体的相关业务。
本说明书实施例提供的一种应用于客户端的业务执行设备,包括:
至少一个处理器;以及,
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:
扫描线下实体及其对应的识别码,所述识别码包含所述线下实体的定位辅助信息;
触发针对扫描的所述线下实体和所述识别码的识别过程;
基于所述识别过程,执行所述线下实体的相关业务。
本说明书实施例提供的一种应用于服务端的业务执行设备,包括:
至少一个处理器;以及,
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:
获取客户端触发的识别过程对应的识别结果,所述识别过程是针对所述客户端扫描的线下实体及其对应的识别码的,所述识别码包含所述线下实体的定位辅助信息;
根据所述识别结果,执行所述线下实体的相关业务。
本说明书实施例提供的另一种应用于客户端的业务执行设备,包括:
至少一个处理器;以及,
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:
扫描并识别一个或者多个识别码,所述识别码包含其对应的线下实体的定位辅助信息;
根据识别结果,确定当前用户的目标线下实体;
执行所述目标线下实体的相关业务。
本说明书实施例采用的上述至少一个技术方案能够达到以下有益效果:通过扫描识别线下实体及其对应的识别码,可以更为便利地实现用户终端与线下 实体的物联,而无需用户在线上选择线下实体,进而可以更为便利地执行线下实体的相关业务,因此,可以部分或者全部地解决上述技术问题。
附图说明
为了更清楚地说明本说明书实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本说明书的方案在一种实际应用场景下涉及的一种整体架构示意图;
图2为本说明书实施例提供的一种应用于客户端的业务执行方法的流程示意图;
图3为本说明书实施例提供的一种隐码和图像双识别软件开发工具组(Software Development Kit,SDK)的原理示意图;
图4为本说明书实施例提供的图3中的SDK在自动贩卖业务场景下的一种工作流程示意图;
图5为本说明书实施例提供的在自动贩卖业务场景下,一种商品及其识别码扫描界面和识别结果界面示意图;
图6为本说明书实施例提供的一种应用于服务端的业务执行方法的流程示意图;
图7为本说明书实施例提供的另一种应用于客户端的业务执行方法的流程示意图;
图8为本说明书实施例提供的一种确定目标线下实体的方案原理示意图;
图9为本说明书实施例提供的对应于图2的一种应用于客户端的业务执行装置的结构示意图;
图10为本说明书实施例提供的对应于图6的一种应用于服务端的业务执 行装置的结构示意图;
图11为本说明书实施例提供的对应于图7的另一种应用于客户端的业务执行装置的结构示意图。
具体实施方式
本说明书实施例提供应用于客户端、服务端的业务执行方法、装置以及设备。
为了使本技术领域的人员更好地理解本说明书中的技术方案,下面将结合本说明书实施例中的附图,对本说明书实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本说明书实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。
本说明书的方案提供了一种线下实体对应的识别码,识别码包含线下实体的定位辅助信息。以自动贩卖业务为例,比如,线下实体可以是自动贩卖机中的商品,定位辅助信息可以是自动贩卖机的标识信息等,则通过定位辅助信息能够定位商品处于哪台自动贩卖机中,当然,定位辅助信息还可以包含更多内容,比如,还可以包含商品在自动贩卖机中所属货道的信息等。
识别码通过特定码元的排列组合,利用非通用或者通用的编码标准,存储线下实体的定位辅助信息。本申请对识别码的名称并不做限定,可以根据实际需要命名,比如,可以称为隐码、或者特征码等。
本说明书的方案主要包含两类。一类是通过扫描识别线下实体及其对应的识别码,实现用户终端与线下实体的物联,进而执行业务;另一类无需扫描识别线下实体,而是通过只扫描识别对应的识别码,实现用户终端与线下实体的物联,进而执行业务。在这两类方案中,识别码包含的定位辅助信息的具体内容可能有所区别。
图1为本说明书的方案在自动贩卖业务场景下涉及的一种整体架构示意 图。该整体架构中,主要包括四部分:客户端所在设备、服务端所在设备、自动贩卖机、自动贩卖机的运营方服务器。其中,客户端和服务端对应于同一应用,比如,支付应用、或者即时通讯应用等,应用的运营方与自动贩卖机的运营方可以是不同家,也可以是同一家,对于后一种情况,服务端所在设备和自动贩卖机的运营方服务器可以是同一设备。
自动贩卖机展示待售的商品,以及商品对应的识别码,若当前用户想要购买该商品,则通过客户端与服务端配合,扫描识别该商品及其对应的识别码,实现物联,进而对该商品进行支付,并基于自动贩卖机的运营方的配合,使自动贩卖机将该商品送至取货口,用户即得到该商品。这种方式可以简化用户操作,便利性较好。
需要说明的是,图1中的架构是示例性的。如果用户终端和/或自动贩卖机的功能足够强大,网络侧的设备未必都需要。比如,若用户终端能够与自动贩卖机直接建立连接并执行业务,则无需网络侧的设备;再比如,若服务端所在设备能够与自动贩卖机直接建立连接,并配合用户终端执行业务,则无需自动贩卖机的运营方服务器;等等。
基于以上概括说明和整体架构,下面对本说明书的方案进行详细说明。
图2为本说明书实施例提供的一种应用于客户端的业务执行方法的流程示意图。该流程可能的执行主体包括但不限于可搭载客户端的以下设备:手机、平板电脑、智能可穿戴设备、个人计算机等。
为了便于描述,以下各实施例主要基于自动贩卖业务场景说明。图2中的流程包括以下步骤:
S202:扫描线下实体及其对应的识别码,所述识别码包含所述线下实体的定位辅助信息。
在本说明书实施例中,自动贩卖机同时展示待售的商品,以及商品对应的识别码,其中,展示商品可以是直接展示商品实物,也可以是展示表现了商品外观的商品模型。
一般地,商品及其对应的识别码的展示位置优选地可以比较接近,从而,当前用户进行一次扫描,就能够同时扫描到商品和识别码。
在本说明书实施例中,定位辅助信息直接或者间接地表示了线下实体所处位置。一般地,该位置是基于已知位置的另一线下实体表示的,该另一线下实体比如为自动贩卖机等,则定位辅助信息可以包括对应商品所处的自动贩卖机的标识信息,由于自动贩卖机的位置是已知的,则定位辅助信息被视为该商品的一种相对位置信息,定位辅助信息还可以进一步地包括自动贩卖机的位置信息。当然,定位辅助信息也可以包括坐标信息等其他形式的位置信息等。
当前用户通常利用终端的摄像头执行扫描动作。扫描线下实体的目的是为了了解该线下实体是什么,比如,是某品牌的某种果汁、或者是某品牌的某种饮用水等,从用户角度而言,所见即所得;扫描识别码的目的是为了了解该线下实体在哪里,比如,处于哪个自动贩卖机内;进而能够实现物联。
S204:触发针对扫描的所述线下实体和所述识别码的识别过程。
在本说明书实施例中,识别过程可以由客户端独立执行,也可以由服务端独立执行,也可以由客户端和服务端相互配合执行。以下各实施例主要以最后一种方式为例。
例如,可以由客户端独立对扫描的识别码进行识别,因为,所需求处理资源较少,客户端一般能够胜任。而对于识别扫描的线下实体,由于涉及与特征库或者图像库进行比对,所需求处理资源较多,往往需要服务端配合完成至少部分工作,以减轻客户端的压力,从而有利于实现高效识别;比如,可以由客户端提取扫描得到的线下实体图像特征,再由服务端进行特征比对,得到图像识别结果;再比如,客户端可以只负责扫描得到线下实体图像,而由服务端进行图像比对,得到图像识别结果;等等。
S206:基于所述识别过程,执行所述线下实体的相关业务。
在本说明书实施例中,基于识别过程,可以实现用户与线下实体的关联(也可以视为是用户终端与线下实体的物联),进而执行业务。
线下实体的相关业务可以由客户端与其他的一端或者多端(比如,服务端、自动贩卖机、自动贩卖机的运营方服务器等)配合完成。
当然,除了自动贩卖业务以外,其他可用到物联技术的业务也可能利用本说明书的方案。比如,自动租赁业务,则线下实体为待租赁的图书、体育用具等;再比如,生活缴费业务,则线下实体为电表、水表、燃气表等。
通过图2的方法,通过扫描识别线下实体及其对应的识别码,可以更为便利地实现用户终端与线下实体的物联,而无需用户在线上选择线下实体,进而可以更为便利地执行线下实体的相关业务,因此,可以部分或者全部地解决上述技术问题。
基于图2的方法,本说明书实施例还提供了该方法的一些具体实施方案,以及扩展方案,下面进行说明。
在本说明书实施例中,对于步骤S202,在扫描所述线下实体及其对应的识别码时,所述线下实体及其对应的识别码优选地可以包含在同一扫描取景框内。该同一扫描取景框可以是当前用户扫描时的摄像头取景范围。
例如,自动自贩机展示多个商品,每个商品旁边展示有对应的识别码,当前用户扫描时,用摄像头进行对准,使得摄像头取景范围包含想购买的商品及其对应的识别码。一般地,类似于扫描二维码时,摄像头取景范围内有方框帮助对准,在本说明书的方案中,也可以有诸如方框等提示信息,帮助对准,在这种情况下,当前用户可以使想购买的商品及其对应的识别码处于方框内,并使方框内尽量不包含无关商品和识别码,以避免扫描识别到错误的对象。
扫描识别结果可以向当前用户提示,以便于确认是否无误,当前用户通常能够直观地确定商品是否无误。若有误,则可以重试。
在本说明书实施例中,对于步骤S204,所述针对扫描的所述线下实体和所述识别码的识别过程,具体可以包括:
对通过扫描所述线下实体获得的图像进行识别,得到所述线下实体的物品信息;以及,对扫描的所述识别码进行特征提取和解析,识别得到所述线下实 体的定位辅助信息。
进一步地,所述对通过扫描所述线下实体获得的图像进行识别,得到所述线下实体的物品信息,具体可以包括:
所述客户端对扫描所述线下实体获得的图像进行特征提取;将提取出的图像特征发送至服务端,以使所述服务端通过对所述图像特征进行特征比对,识别得到所述线下实体的物品信息;
所述识别得到所述线下实体的定位辅助信息,具体可以包括:
所述客户端识别得到所述线下实体的定位辅助信息,并发送给所述服务端。
通过上面的处理逻辑,服务端能够获得上述的识别过程对应的识别结果。
在实际应用中,可以开发相应的接口或者SDK,实现识别过程中的处理逻辑,如此,也便于在其他场景下复用,减少实施成本。为了便于理解,结合图示进行说明。
图3为本说明书实施例提供的一种隐码和图像双识别SDK的原理示意图。其中,隐码即为上述的识别码,具体比如是一种类似二维码的快速响应识别码;图像即为上述的扫描线下实体获得的图像。
图3中的SDK包含隐码识别模块和图像识别模块。隐码基于一定的标准进行编码,该标准可以是非通用的,如此,保密性较好。比如,该标准可以由SDK的研发方制定并专用于己方的一部分产品中,而不公开。
隐码识别模块涉及的主要动作有:针对隐码扫描特征、解析特征和输出结果等。图像识别模块涉及的主要动作有:扫描线下主体的得到相应的图像、针对图像提取特征、特征比对、输出结果等。
需要说明的是,SDK的这些处理逻辑未必都客户端上执行,其中某些处理逻辑也可以通过客户端与服务端之间进行交互,由服务端执行。
进一步地,图4为本说明书实施例提供的图3中的SDK在自动贩卖业务场景下的一种工作流程示意图。
在图4中,当前用户用摄像头对着某商品及其对应的识别码进行扫描,接下来:一方面,隐码识别模块采集到该隐码,并对该隐码进行解析,得到商品当前所处的自动贩卖机的标识信息;另一方面,图像识别模块扫描获得的商品图像,采集到商品特征,并通过在特征库中进行比对,解析商品,得到商品信息;如此,实现了在一个扫描界面中实现隐码和图像这两种识别能力。
进一步地,将两个模块的结果进行异步处理后,上传至服务端,用于后续业务。当然,若服务端已经自行识别得到部分识别结果,则客户端可以不上传这部分识别结果。
更进一步地,图5为本说明书实施例提供的在自动贩卖业务场景下,一种商品及其识别码扫描界面和识别结果示意图。
在图5中,左侧示出了扫描界面,各瓶子形状的图形(在实际应用中,为商品实体或者商品模型)表示待售的饮料商品,各饮料商品对应的识别码是相同的,展示于饮料商品的两侧。当前摄像头对准了其中一个饮料商品及其识别码。
识别结果展示于右侧的界面,分为两部分:上面部分是从识别码识别出的定位辅助信息(有部分省略)“国际中心I座,编号9527号”,也即,自动贩卖机所在位置和编号;下面部分是直接从商品识别出的物品信息(有部分省略)“山泉矿泉水82年,200ml”。当前用户进一步地点击最下方的“确认购买”按钮可以对该商品进行支付。
在本说明书实施例中,客户端上登录了当前用户的账号,以客户端是某支付应用的客户端为例,则账号相应地为支付账号。
在当前用户利用客户端扫描线下实体的识别码后,相当于是确定了当前用户与线下实体的关联关系,也即,实现了物联。后续业务可以基于关联关系执行。
则对于步骤S206,所述基于所述识别过程,执行所述线下实体的相关业务,具体可以包括:
获取当前用户与所述线下实体的关联关系,所述关联关系是所述客户端或者服务端基于所述识别过程对应的识别结果确定的;根据所述关联关系,执行所述线下实体的相关业务。
在自动贩卖业务场景下,对于步骤S202,所述线下实体包括展示于自动贩卖机中的至少一个商品,所述识别码也展示于所述自动贩卖机中,所述定位辅助信息包括所述自动贩卖机的标识信息。所述根据所述关联关系,执行所述线下实体的相关业务,具体可以包括:
根据所述关联关系,利用所述当前用户的支付账号对所述至少一个商品进行支付,以及使所述自动贩卖机将所述至少一个商品送至取货口。
在一种具体的实施方案下,服务端根据所述关联关系为所述至少一个商品生成的待支付订单,并将待支付订单信息提供给客户端,客户端利用当前用户的支付账号对待支付订单进行支付,服务端确定支付完毕后,根据上述的识别结果,向对应的自动贩卖机的运营方进行指示(比如,向运营方服务器发送识别结果),则运营方服务器根据指示,找到对应的自动贩卖机,并使该自动贩卖机将对应的商品送至取货口。
上一段的方案中是在支付完毕后,自动贩卖机再出货。但并非绝对,比如,若当前用户的信用度不低于设定阈值,也可以使自动贩卖机先出货,后续再支付。
图2中的流程主要是从客户端的角度进行说明的。基于同样的思路,本说明书实施例还提供了一种应用于服务端的业务执行方法的流程示意图,如图6所示。该流程可能的执行主体包括但不限于可搭载服务端的以下设备:个人计算机、中大型计算机、计算机集群等。
图6中的流程包括以下步骤:
S602:获取客户端触发的识别过程对应的识别结果,所述识别过程是针对所述客户端扫描的线下实体及其对应的识别码的,所述识别码包含所述线下实体的定位辅助信息。
S604:根据所述识别结果,执行所述线下实体的相关业务。
在本说明书实施例中,对于步骤S604,所述根据所述识别结果,执行所述线下实体的相关业务,具体可以包括:
获取当前用户与所述线下实体的关联关系,所述关联关系是所述客户端或者所述服务端基于所述识别过程对应的识别结果确定的,所述识别结果包含所述线下实体的物品信息和所述定位辅助信息;根据所述关联关系,执行所述线下实体的相关业务。
在本说明书实施例中,所述线下实体包括展示于自动贩卖机中的至少一个商品,所述识别码也展示于所述自动贩卖机中,所述定位辅助信息包括所述自动贩卖机的标识信息;所述根据所述关联关系,执行所述线下实体的相关业务,具体可以包括:
根据所述关联关系为所述至少一个商品生成的待支付订单,并发送给所述客户端,以便于所述客户端利用所述当前用户的支付账号对所述待支付订单进行支付。
进一步地,所述根据所述关联关系,执行所述线下实体的相关业务,还可以包括:
基于所述识别结果,对所述自动贩卖机的运营方进行指示,以使所述运营方使所述自动贩卖机将所述至少一个商品送至取货口。
上面的各实施例是基于对线上实体及其对应的识别码进行扫描识别,执行业务的。
前面已经提到,对线上实体进行识别,是为了了解线上实体是什么,对于用户而言达到所见即所得的目的。在另一类方案下,若识别码包含的信息足够详细,也可以不对线上实体进行扫描识别,而是对识别码进行扫描识别即可。
在前一类方案下,不同的线上实体所对应的识别码可以是相同的。比如,同一个自动贩卖机中的所有商品可以对应相同的识别码,该识别码可以只包含所述所有商品的共性信息,作为定位辅助信息,如该自动贩卖机的标识信息、 位置信息等。至于如何进一步地区分所述所有商品,则可以依赖于识别出的商品的物品信息。
而在该另一类方案下,不同的线上实体所对应的识别码往往也不同,根据从识别码中识别出的定位辅助信息足以区分不同的线上实体。下面进行详细说明。
图7为本说明书实施例提供的另一种应用于客户端的业务执行方法的流程示意图。该流程包括以下步骤:
S702:扫描并识别一个或者多个识别码,所述识别码包含其对应的线下实体的定位辅助信息。
在本说明书实施例中,假定摄像头的扫描取景框内有帮助用户对准的方框,该方框内的区域称为指定区域。
一般地,在扫描时摄像头对得比较准的情况下,指定区域内只包含同一个线下实体对应的识别码,则直接识别指定区域内的识别码即可。但是,在实际应用中,也存在未能成功识别指定区域内的识别码的情况(比如,识别码残损或者丢失等),那么,也可以识别指定区域外的识别码,并根据识别结果推定指定区域内的识别码,从而使得方案的鲁棒性较好。
S704:根据识别结果,确定当前用户的目标线下实体。
在本说明书实施例中,一般地,目标线下实体即为指定区域内的线下实体。若没有方框提示,往往认为扫描取景框中央的线下实体为目标线下实体。
S706:执行所述目标线下实体的相关业务。
在本说明书实施例中,可以根据目标线下实体对应的识别码包含的定位辅助信息,执行业务。
在本说明书实施例中,对于步骤S704,在扫描所述一个或者多个识别码时,所述一个或者多个识别码包含在同一扫描取景框内;
根据识别结果,确定当前用户的目标线下实体,具体可以包括:
判断是否在所述扫描取景框的指定区域内成功扫描识别到所述识别码;若 是,则将所述指定区域内的识别码对应的线下实体确定为当前用户的目标线下实体;否则,根据扫描识别的识别码与所述指定区域的相对位置关系,确定当前用户的目标线下实体。
在存在多个线下实体的情况下,对于不同的业务场景,这多个线下实体的排布都是有一定规律的。比如,自动贩卖机会整齐地按照行列排布各商品。当了解到其中一个或者多个线下实体的所在位置时,可能据此推定其附近的其他线下实体的所在位置,如此有助于解决某些识别码识别失败的问题。结合图8,以一个实例进行说明。
图8为本说明书实施例提供的一种确定目标线下实体的方案原理示意图。
在图8中,A~I分别表示线下实体,每个线下实体下面的识别码即为其对应的识别码,V 1~V 4标识出了方框型的指定区域,假定V 1~V 4当前的坐标分别为:V 1(X a,Y a)、V 2(X b,Y a)、V 3(X a,Y b)、V 4(X b,Y b)。
例如,假定未能成功识别指定区域内的识别码,则可以通过识别F和H对应的识别码,确定F和H的位置,进而确定X处于指定区域内,也即,确定X为目标线下实体。
具体地,假定F当前的坐标表示为C 1(X 0,Y 0),H当前的坐标表示为C 2(X 1,Y 1)。当满足条件:对于C 1,(X 0>X b)&&(Y b<Y 0<Y a),以及对于C 2,(X a<X 1<X b)&&(Y 1<Y b);且指定区域与F之间,以及与H之间不存在其他的识别码。则可以按照预定的线下实体排布规则,确定X为目标线下实体,比如,若已知线下实体按照矩阵排布,F处于第二行第三列,H处于第三行第二列,在满足上述条件的情况下,可以确定目标线下实体处于第二行第二列。
为了提高效率,可以预先就各线下实体的相对位置关系建立数据表,则后续查询数据表即可确定。比如,第一张数据表保存各线下实体对应的坐标,第二张数据表保存任意两个特定线下实体对应的目标线下实体,通过查询第一张数据表得到:C 1=F、C 2=H、C 3=X;进一步地,通过查询第二张数据表,确定 (F,H)=X,即确定目标线下实体为X。
基于上例进行总结,所述根据扫描识别的识别码与所述指定区域的相对位置关系,确定当前用户的目标线下实体,具体可以包括:
确定扫描识别的相邻于所述指定区域的至少两个识别码;根据所述至少两个识别码与所述指定区域的相对位置关系,以及对所述至少两个识别码的识别结果,确定对应于的当前用户的目标线下实体的识别码包含的定位辅助信息;根据确定的定位辅助信息,确定所述目标线下实体。
确定目标线下实体后,后续的业务执行动作与图2和图6类似,不同之处主要在于:线下实体的定位辅助信息中包含更精确的内容,而且无需依赖于线下实体的物品信息。下面仅简单说明。
在本说明书实施例中,对于步骤S706,所述执行所述目标线下实体的相关业务,具体可以包括:
获取当前用户与所述目标线下实体的关联关系,所述关联关系是所述客户端或者服务端基于所述目标线下实体对应的识别码包含的定位辅助信息确定的;根据所述关联关系,执行所述目标线下实体的相关业务。
在自动贩卖业务场景下,所述线下实体包括展示于自动贩卖机中的至少一个商品,所述识别码也展示于所述自动贩卖机中,所述定位辅助信息包括所述自动贩卖机的标识信息,以及对应商品在所述自动贩卖机中的位置信息(比如,具体属于哪个货道等);所述根据所述关联关系,执行所述目标线下实体的相关业务,具体可以包括:
确定所述服务端根据所述关联关系为所述至少一个商品生成的待支付订单;利用所述当前用户的支付账号对所述待支付订单进行支付。
所述自动贩卖机是基于所述服务端对所述自动贩卖机的运营方的指示,将所述至少一个商品送至取货口的;其中,所述指示基于所述目标线下实体的定位辅助信息。
基于同样的思路,本说明书实施例还提供了对应的装置,如图9、图10、 图11所示。
图9为本说明书实施例提供的对应于图2的一种应用于客户端的业务执行装置的结构示意图,该装置可以位于图2中流程的执行主体上,包括:
扫描模块901,扫描线下实体及其对应的识别码,所述识别码包含所述线下实体的定位辅助信息;
识别模块902,触发针对扫描的所述线下实体和所述识别码的识别过程;
业务模块903,基于所述识别过程,执行所述线下实体的相关业务。
图10为本说明书实施例提供的对应于图6的一种应用于服务端的业务执行装置的结构示意图,该装置可以位于图6中流程的执行主体上,包括:
获取模块1001,获取客户端触发的识别过程对应的识别结果,所述识别过程是针对所述客户端扫描的线下实体及其对应的识别码的,所述识别码包含所述线下实体的定位辅助信息;
业务模块1002,根据所述识别结果,执行所述线下实体的相关业务。
图11为本说明书实施例提供的对应于图7的另一种应用于客户端的业务执行装置的结构示意图,该装置可以位于图7中流程的执行主体上,包括:
扫描识别模块1101,扫描并识别一个或者多个识别码,所述识别码包含其对应的线下实体的定位辅助信息;
确定模块1102,根据识别结果,确定当前用户的目标线下实体;
业务模块1103,执行所述目标线下实体的相关业务。
基于同样的思路,本说明书实施例还提供了一种应用于客户端的业务执行设备,包括:
至少一个处理器;以及,
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:
扫描线下实体及其对应的识别码,所述识别码包含所述线下实体的定位辅 助信息;
触发针对扫描的所述线下实体和所述识别码的识别过程;
基于所述识别过程,执行所述线下实体的相关业务。
基于同样的思路,本说明书实施例还提供了一种应用于服务端的业务执行设备,包括:
至少一个处理器;以及,
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:
获取客户端触发的识别过程对应的识别结果,所述识别过程是针对所述客户端扫描的线下实体及其对应的识别码的,所述识别码包含所述线下实体的定位辅助信息;
根据所述识别结果,执行所述线下实体的相关业务。
基于同样的思路,本说明书实施例还提供了另一种应用于客户端的业务执行设备,包括:
至少一个处理器;以及,
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:
扫描并识别一个或者多个识别码,所述识别码包含其对应的线下实体的定位辅助信息;
根据识别结果,确定当前用户的目标线下实体;
执行所述目标线下实体的相关业务。
基于同样的思路,本说明书实施例还提供了对应于图2的一种非易失性计算机存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为:
扫描线下实体及其对应的识别码,所述识别码包含所述线下实体的定位辅 助信息;
触发针对扫描的所述线下实体和所述识别码的识别过程;
基于所述识别过程,执行所述线下实体的相关业务。
基于同样的思路,本说明书实施例还提供了对应于图6的一种非易失性计算机存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为:
获取客户端触发的识别过程对应的识别结果,所述识别过程是针对所述客户端扫描的线下实体及其对应的识别码的,所述识别码包含所述线下实体的定位辅助信息;
根据所述识别结果,执行所述线下实体的相关业务。
基于同样的思路,本说明书实施例还提供了对应于图7的一种非易失性计算机存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为:
扫描并识别一个或者多个识别码,所述识别码包含其对应的线下实体的定位辅助信息;
根据识别结果,确定当前用户的目标线下实体;
执行所述目标线下实体的相关业务。
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置、设备、非易失性计算机存储介质实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
本说明书实施例提供的装置、设备、非易失性计算机存储介质与方法是对 应的,因此,装置、设备、非易失性计算机存储介质也具有与对应方法类似的有益技术效果,由于上面已经对方法的有益技术效果进行了详细说明,因此,这里不再赘述对应装置、设备、非易失性计算机存储介质的有益技术效果。
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器 或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本说明书时可以把各单元的功能在同一个或多个软件和/或硬件中实现。
本领域内的技术人员应明白,本说明书实施例可提供为方法、系统、或计算机程序产品。因此,本说明书实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本说明书实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本说明书是参照根据本说明书实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程 图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他 磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。
本说明书可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本说明书,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
以上所述仅为本说明书实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。

Claims (24)

  1. 一种应用于客户端的业务执行方法,包括:
    扫描线下实体及其对应的识别码,所述识别码包含所述线下实体的定位辅助信息;
    触发针对扫描的所述线下实体和所述识别码的识别过程;
    基于所述识别过程,执行所述线下实体的相关业务。
  2. 如权利要求1所述的方法,在扫描所述线下实体及其对应的识别码时,所述线下实体及其对应的识别码包含在同一扫描取景框内。
  3. 如权利要求2所述的方法,所述针对扫描的所述线下实体和所述识别码的识别过程,具体包括:
    对通过扫描所述线下实体获得的图像进行识别,得到所述线下实体的物品信息;以及,
    对扫描的所述识别码进行特征提取和解析,识别得到所述线下实体的定位辅助信息。
  4. 如权利要求3所述的方法,所述对通过扫描所述线下实体获得的图像进行识别,得到所述线下实体的物品信息,具体包括:
    所述客户端对扫描所述线下实体获得的图像进行特征提取;
    将提取出的图像特征发送至服务端,以使所述服务端通过对所述图像特征进行特征比对,识别得到所述线下实体的物品信息;
    所述识别得到所述线下实体的定位辅助信息,具体包括:
    所述客户端识别得到所述线下实体的定位辅助信息,并发送给所述服务端。
  5. 如权利要求1所述的方法,所述基于所述识别过程,执行所述线下实体的相关业务,具体包括:
    获取当前用户与所述线下实体的关联关系,所述关联关系是所述客户端或者服务端基于所述识别过程对应的识别结果确定的;
    根据所述关联关系,执行所述线下实体的相关业务。
  6. 如权利要求5所述的方法,所述线下实体包括展示于自动贩卖机中的至少一个商品,所述识别码也展示于所述自动贩卖机中,所述定位辅助信息包括所述自动贩卖机的标识信息;
    所述根据所述关联关系,执行所述线下实体的相关业务,具体包括:
    根据所述关联关系,利用所述当前用户的支付账号对所述至少一个商品进行支付,以及使所述自动贩卖机将所述至少一个商品送至取货口。
  7. 如权利要求6所述的方法,所述根据所述关联关系,利用所述当前用户的支付账号对所述至少一个商品进行支付,具体包括:
    确定所述服务端根据所述关联关系为所述至少一个商品生成的待支付订单;
    利用所述当前用户的支付账号对所述待支付订单进行支付。
  8. 如权利要求7所述的方法,所述自动贩卖机是基于所述服务端对所述自动贩卖机的运营方的指示,将所述至少一个商品送至取货口的;
    其中,所述指示基于所述识别过程对应的识别结果。
  9. 一种应用于服务端的业务执行方法,包括:
    获取客户端触发的识别过程对应的识别结果,所述识别过程是针对所述客户端扫描的线下实体及其对应的识别码的,所述识别码包含所述线下实体的定位辅助信息;
    根据所述识别结果,执行所述线下实体的相关业务。
  10. 如权利要求9所述的方法,所述根据所述识别结果,执行所述线下实体的相关业务,具体包括:
    获取当前用户与所述线下实体的关联关系,所述关联关系是所述客户端或者所述服务端基于所述识别过程对应的识别结果确定的,所述识别结果包含所述线下实体的物品信息和所述定位辅助信息;
    根据所述关联关系,执行所述线下实体的相关业务。
  11. 如权利要求10所述的方法,所述线下实体包括展示于自动贩卖机中的至少一个商品,所述识别码也展示于所述自动贩卖机中,所述定位辅助信息 包括所述自动贩卖机的标识信息;
    所述根据所述关联关系,执行所述线下实体的相关业务,具体包括:
    根据所述关联关系为所述至少一个商品生成的待支付订单,并发送给所述客户端,以便于所述客户端利用所述当前用户的支付账号对所述待支付订单进行支付。
  12. 如权利要求11所述的方法,所述根据所述关联关系,执行所述线下实体的相关业务,还包括:
    基于所述识别结果,对所述自动贩卖机的运营方进行指示,以使所述运营方使所述自动贩卖机将所述至少一个商品送至取货口。
  13. 一种应用于客户端的业务执行方法,包括:
    扫描并识别一个或者多个识别码,所述识别码包含其对应的线下实体的定位辅助信息;
    根据识别结果,确定当前用户的目标线下实体;
    执行所述目标线下实体的相关业务。
  14. 如权利要求13所述的方法,在扫描所述一个或者多个识别码时,所述一个或者多个识别码包含在同一扫描取景框内;
    根据识别结果,确定当前用户的目标线下实体,具体包括:
    判断是否在所述扫描取景框的指定区域内成功扫描识别到所述识别码;
    若是,则将所述指定区域内的识别码对应的线下实体确定为当前用户的目标线下实体;
    否则,根据扫描识别的识别码与所述指定区域的相对位置关系,确定当前用户的目标线下实体。
  15. 如权利要求14所述的方法,所述根据扫描识别的识别码与所述指定区域的相对位置关系,确定当前用户的目标线下实体,具体包括:
    确定扫描识别的相邻于所述指定区域的至少两个识别码;
    根据所述至少两个识别码与所述指定区域的相对位置关系,以及对所述至少两个识别码的识别结果,确定对应于的当前用户的目标线下实体的识别码包 含的定位辅助信息;
    根据确定的定位辅助信息,确定所述目标线下实体。
  16. 如权利要求13所述的方法,所述执行所述目标线下实体的相关业务,具体包括:
    获取当前用户与所述目标线下实体的关联关系,所述关联关系是所述客户端或者服务端基于所述目标线下实体对应的识别码包含的定位辅助信息确定的;
    根据所述关联关系,执行所述目标线下实体的相关业务。
  17. 如权利要求16所述的方法,所述线下实体包括展示于自动贩卖机中的至少一个商品,所述识别码也展示于所述自动贩卖机中,所述定位辅助信息包括所述自动贩卖机的标识信息,以及对应商品在所述自动贩卖机中的位置信息;
    所述根据所述关联关系,执行所述目标线下实体的相关业务,具体包括:
    确定所述服务端根据所述关联关系为所述至少一个商品生成的待支付订单;
    利用所述当前用户的支付账号对所述待支付订单进行支付。
  18. 如权利要求17所述的方法,所述自动贩卖机是基于所述服务端对所述自动贩卖机的运营方的指示,将所述至少一个商品送至取货口的;
    其中,所述指示基于所述目标线下实体的定位辅助信息。
  19. 一种应用于客户端的业务执行装置,包括:
    扫描模块,扫描线下实体及其对应的识别码,所述识别码包含所述线下实体的定位辅助信息;
    识别模块,触发针对扫描的所述线下实体和所述识别码的识别过程;
    业务模块,基于所述识别过程,执行所述线下实体的相关业务。
  20. 一种应用于服务端的业务执行装置,包括:
    获取模块,获取客户端触发的识别过程对应的识别结果,所述识别过程是针对所述客户端扫描的线下实体及其对应的识别码的,所述识别码包含所述线 下实体的定位辅助信息;
    业务模块,根据所述识别结果,执行所述线下实体的相关业务。
  21. 一种应用于客户端的业务执行装置,包括:
    扫描识别模块,扫描并识别一个或者多个识别码,所述识别码包含其对应的线下实体的定位辅助信息;
    确定模块,根据识别结果,确定当前用户的目标线下实体;
    业务模块,执行所述目标线下实体的相关业务。
  22. 一种应用于客户端的业务执行设备,包括:
    至少一个处理器;以及,
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:
    扫描线下实体及其对应的识别码,所述识别码包含所述线下实体的定位辅助信息;
    触发针对扫描的所述线下实体和所述识别码的识别过程;
    基于所述识别过程,执行所述线下实体的相关业务。
  23. 一种应用于服务端的业务执行设备,包括:
    至少一个处理器;以及,
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:
    获取客户端触发的识别过程对应的识别结果,所述识别过程是针对所述客户端扫描的线下实体及其对应的识别码的,所述识别码包含所述线下实体的定位辅助信息;
    根据所述识别结果,执行所述线下实体的相关业务。
  24. 一种应用于客户端的业务执行设备,包括:
    至少一个处理器;以及,
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:
    扫描并识别一个或者多个识别码,所述识别码包含其对应的线下实体的定位辅助信息;
    根据识别结果,确定当前用户的目标线下实体;
    执行所述目标线下实体的相关业务。
PCT/CN2018/103732 2017-09-08 2018-09-03 应用于客户端、服务端的业务执行方法、装置以及设备 WO2019047797A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP18853849.0A EP3611667A4 (en) 2017-09-08 2018-09-03 SERVICE EXECUTION METHOD, APPARATUS AND DEVICE FOR USE IN A CLIENT TERMINAL AND IN A SERVER
US16/675,399 US11164230B2 (en) 2017-09-08 2019-11-06 Service execution method, apparatus, and device for use in client terminal and server

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710805490.6A CN107784339B (zh) 2017-09-08 2017-09-08 应用于客户端、服务端的业务执行方法、装置以及设备
CN201710805490.6 2017-09-08

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/675,399 Continuation US11164230B2 (en) 2017-09-08 2019-11-06 Service execution method, apparatus, and device for use in client terminal and server

Publications (1)

Publication Number Publication Date
WO2019047797A1 true WO2019047797A1 (zh) 2019-03-14

Family

ID=61438101

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/103732 WO2019047797A1 (zh) 2017-09-08 2018-09-03 应用于客户端、服务端的业务执行方法、装置以及设备

Country Status (5)

Country Link
US (1) US11164230B2 (zh)
EP (1) EP3611667A4 (zh)
CN (2) CN112434769A (zh)
TW (1) TWI710989B (zh)
WO (1) WO2019047797A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112434769A (zh) * 2017-09-08 2021-03-02 创新先进技术有限公司 应用于客户端、服务端的业务执行方法、装置以及设备
CN108876254A (zh) * 2018-08-01 2018-11-23 口碑(上海)信息技术有限公司 库存数据的提供方法及装置
CN111310869B (zh) * 2018-12-11 2023-10-20 英业达科技有限公司 物料存取辅助系统及其方法
CN110597575B (zh) * 2019-09-11 2023-06-16 创新先进技术有限公司 一种sdk执行方法及系统
CN113837687A (zh) * 2021-09-02 2021-12-24 支付宝(杭州)信息技术有限公司 一种信息关联方法、装置及设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103295067A (zh) * 2013-04-10 2013-09-11 南京邮电大学 基于物联网的自动售货机管理系统
CN105225344A (zh) * 2015-10-19 2016-01-06 江门市东吉五金制品有限公司 一种自动售货机电子支付系统及其支付方法
CN105825583A (zh) * 2016-03-17 2016-08-03 宁波市江东精诚自动化设备有限公司 一种智能自动贩卖机
CN106781017A (zh) * 2017-03-07 2017-05-31 深圳市楼通宝实业有限公司 自助售卖方法及系统
CN107784339A (zh) * 2017-09-08 2018-03-09 阿里巴巴集团控股有限公司 应用于客户端、服务端的业务执行方法、装置以及设备

Family Cites Families (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001307188A (ja) 2000-04-26 2001-11-02 Sanyo Electric Co Ltd 自動販売機の通信装置
US20030057276A1 (en) * 2001-09-24 2003-03-27 Checkpoint Systems, Inc. Method and system for non-contact automated verification of the correctness of the identity of an item having an associated primary identifier
CA2391599C (fr) 2002-06-28 2007-05-08 Michel Boucher Systeme de gestion et d'operations d'une machine distributrice
KR20080057253A (ko) 2005-10-07 2008-06-24 블루포인트 인터내셔날 피티와이 엘티디 제한된 상품의 자동지급 방법 및 장치
US8794524B2 (en) * 2007-05-31 2014-08-05 Toshiba Global Commerce Solutions Holdings Corporation Smart scanning system
US20100078290A1 (en) 2008-09-26 2010-04-01 International Currency Technologies Corporation Automatic vending machine with user's identity recognition funciton
EP3255753A1 (en) 2008-10-02 2017-12-13 EcoATM, Inc. Secondary market and vending system for devices
US8380347B2 (en) 2008-10-13 2013-02-19 Brent D. Garson Method and apparatus for use in a vending machine
US8234007B2 (en) 2009-03-18 2012-07-31 Garson Brent D Method and apparatus for use in a vending machine
US8473864B2 (en) 2009-07-23 2013-06-25 Utique, Inc. Virtual visual selection merchandising interface
WO2012075608A1 (en) 2010-12-09 2012-06-14 Metrologic Instruments, Inc. Indicia encoding system with integrated purchase and payment information
US20120173351A1 (en) * 2010-12-29 2012-07-05 Qthru, Llc Mobile Electronic Shopping
CN102063616A (zh) * 2010-12-30 2011-05-18 上海电机学院 一种基于图像特征匹配的商品自动识别系统及方法
KR20110019406A (ko) 2011-01-27 2011-02-25 정윤희 무선기기를 활용한 온, 오프라인 상거래 통합 시스템 및 그 방법
CA2843895A1 (en) * 2011-08-02 2013-02-07 Crane Merchandising Systems, Inc. Quick response (qr) code generation in vending machines or kiosks for customer engagement
CN107644492A (zh) 2011-12-05 2018-01-30 美国邮政署 控制电子包裹存放柜的系统和方法
JP5483629B2 (ja) 2012-02-29 2014-05-07 東芝テック株式会社 情報処理装置、店舗システム及びプログラム
US8489469B1 (en) 2012-08-30 2013-07-16 Elbex Video Ltd. Method and structure for simplified coding of display pages for operating a closed circuit E-commerce
US9595029B1 (en) * 2012-10-04 2017-03-14 Ecr Software Corporation System and method for self-checkout, scan portal, and pay station environments
US10977701B2 (en) 2012-12-04 2021-04-13 Crutchfield Corporation Techniques for providing retail customers a seamless, individualized discovery and shopping experience between online and brick and mortar retail locations
JP6136257B2 (ja) * 2012-12-27 2017-05-31 日本電気株式会社 自動販売機管理装置、そのデータ処理方法、およびプログラム
US9946963B2 (en) * 2013-03-01 2018-04-17 Layar B.V. Barcode visualization in augmented reality
EP3058488A4 (en) 2013-10-14 2017-03-15 United Parcel Service Of America, Inc. Systems and methods for confirming an identity of an indivdiual, for example, at a locker bank
WO2015100390A1 (en) 2013-12-23 2015-07-02 Parcel Pending Smart locker system and method of parcel delivery
US20150235202A1 (en) * 2014-02-20 2015-08-20 Eazy Coin Corp. Method and system for cashless transactions at vending machines
WO2016041149A1 (zh) * 2014-09-16 2016-03-24 陈柏年 一种网络社区召集购物方法和系统
JP6624063B2 (ja) 2014-10-21 2019-12-25 日本電気株式会社 自動販売機認識装置、商品棚認識装置、自動販売機認識方法、プログラムおよび画像処理装置
TWM519294U (zh) * 2015-12-18 2016-03-21 Bumper Inteliigent Technology Co Ltd 多功能販賣機結構
CN106251154A (zh) * 2016-07-15 2016-12-21 天津秋水鱼悦文化传播有限公司 一种线上线下水产品电商服务方法
TWM544054U (zh) * 2016-08-29 2017-06-21 jun-yi He 銷售系統
US10176469B2 (en) 2016-12-21 2019-01-08 Bezalel's Jewelry Inc. Interactive jewelry vending machine
CN106651548A (zh) * 2017-01-06 2017-05-10 杭州悦马爱赏科技股份有限公司 售卖方法及系统
TWM545965U (zh) * 2017-01-09 2017-07-21 Eric Software Co Ltd 無線射頻辨識整合消費驗證裝置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103295067A (zh) * 2013-04-10 2013-09-11 南京邮电大学 基于物联网的自动售货机管理系统
CN105225344A (zh) * 2015-10-19 2016-01-06 江门市东吉五金制品有限公司 一种自动售货机电子支付系统及其支付方法
CN105825583A (zh) * 2016-03-17 2016-08-03 宁波市江东精诚自动化设备有限公司 一种智能自动贩卖机
CN106781017A (zh) * 2017-03-07 2017-05-31 深圳市楼通宝实业有限公司 自助售卖方法及系统
CN107784339A (zh) * 2017-09-08 2018-03-09 阿里巴巴集团控股有限公司 应用于客户端、服务端的业务执行方法、装置以及设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3611667A4 *

Also Published As

Publication number Publication date
TWI710989B (zh) 2020-11-21
CN112434769A (zh) 2021-03-02
TW201913490A (zh) 2019-04-01
CN107784339A (zh) 2018-03-09
CN107784339B (zh) 2020-11-17
US11164230B2 (en) 2021-11-02
US20200074443A1 (en) 2020-03-05
EP3611667A4 (en) 2020-05-20
EP3611667A1 (en) 2020-02-19

Similar Documents

Publication Publication Date Title
WO2019047797A1 (zh) 应用于客户端、服务端的业务执行方法、装置以及设备
KR102401033B1 (ko) 정보 디스플레이 방법 및 디바이스
TW201913449A (zh) 目標圖形碼識別方法和裝置
TWI743425B (zh) 資訊識別方法、伺服器、客戶端及系統
KR102328096B1 (ko) 디지털 이미지 캡처 세션 및 메타데이터 연관
JP6439566B2 (ja) 多言語表示装置、多言語表示システム、多言語表示方法及び多言語表示プログラム
US9684825B2 (en) Digital image manipulation
US10535198B2 (en) Systems and methods for an augmented display system
TWI648641B (zh) Wisdom TV data processing method, smart TV and smart TV system
US9799214B2 (en) Systems and methods for multi-device interaction
TWI729675B (zh) 互動界面的顯示方法、裝置及設備
WO2019169965A1 (zh) 一种扫码图像识别方法、装置以及设备
WO2017020779A1 (zh) 一种业务信息推送方法及系统
US20170161718A1 (en) Method, server and terminal for generating quick response code
KR20220087442A (ko) 증강 현실 컴퓨터 기술을 사용한 리스팅들의 생성의 자동화
WO2019174411A1 (zh) 支付方法、装置及设备
US11164056B2 (en) Method and system for applying barcode, and server
TWI749544B (zh) 位置定位方法、設備、媒體以及裝置
TW201947485A (zh) 基於doi的支付方法、裝置及設備
US20170243270A1 (en) Method for providing recommendations for data item by collaborative video server
US10909603B2 (en) Computer implemented item recommendation
US20220358554A1 (en) Location-enabled collectable trading tool

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: 18853849

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2018853849

Country of ref document: EP

Effective date: 20191114

NENP Non-entry into the national phase

Ref country code: DE