[go: up one dir, main page]

TWI706329B - Graphic code generation method, resource sending and receiving method, device and electronic equipment - Google Patents

Graphic code generation method, resource sending and receiving method, device and electronic equipment Download PDF

Info

Publication number
TWI706329B
TWI706329B TW107144770A TW107144770A TWI706329B TW I706329 B TWI706329 B TW I706329B TW 107144770 A TW107144770 A TW 107144770A TW 107144770 A TW107144770 A TW 107144770A TW I706329 B TWI706329 B TW I706329B
Authority
TW
Taiwan
Prior art keywords
resource
user
information
graphic code
receiver
Prior art date
Application number
TW107144770A
Other languages
Chinese (zh)
Other versions
TW201933186A (en
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 TW201933186A publication Critical patent/TW201933186A/en
Application granted granted Critical
Publication of TWI706329B publication Critical patent/TWI706329B/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • 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 OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/36Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
    • G06Q20/367Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本說明書提供一種圖形碼產生方法、資源發送及接收方法、裝置及電子設備,本說明書實施例中,資源接收方發起圖形碼產生請求後,可以使圖形碼攜帶有一個或多個資源接收方資訊;而資源發送方利用個人設備在對圖形碼識別後,可以由資源發送方選擇其期望發送資源的一個或多個對象,因此可以顯著地減少用戶操作,提高資源接收和發送的處理效率。This specification provides a graphic code generation method, resource sending and receiving method, device, and electronic equipment. In the embodiment of this specification, after a resource receiver initiates a graphic code generation request, the graphic code can carry one or more resource receiver information ; After the resource sender uses the personal device to identify the graphic code, the resource sender can select one or more objects to which it expects to send the resource, which can significantly reduce user operations and improve the processing efficiency of resource receiving and sending.

Description

圖形碼產生方法、資源發送及接收方法、裝置及電子設備Graphic code generation method, resource sending and receiving method, device and electronic equipment

本說明書係有關互聯網技術領域,尤其有關圖形碼產生方法、資源發送及接收方法、裝置及電子設備。This manual is related to the field of Internet technology, especially related to graphic code generation methods, resource sending and receiving methods, devices, and electronic equipment.

隨著移動通信技術和終端技術的快速發展,基於圖形碼進行資源發送及接收已經得到廣泛應用。通常,資源接收方可以利用個人設備發起請求,服務方根據資源接收方的帳戶產生圖形碼;在資源發送方利用個人設備掃描該圖形碼後識別出資源接收方,資源發送方可以將資源發送給資源接收方。With the rapid development of mobile communication technology and terminal technology, resource transmission and reception based on graphic codes have been widely used. Generally, the resource receiver can use a personal device to initiate a request, and the server generates a graphic code based on the resource receiver’s account; after the resource sender uses the personal device to scan the graphic code, the resource receiver is identified, and the resource sender can send the resource to Resource recipient.

為克服相關技術中存在的問題,本說明書提供了圖形碼產生方法、資源發送及接收方法、裝置及電子設備。 根據本說明書實施例的第一態樣,提供一種資源發送方法,所述方法包括: 識別用以接收資源的圖形碼,所述圖形碼中攜帶的至少一個資源接收方資訊; 展示所述至少一個資源接收方以供用戶選擇; 根據用戶的選擇操作確定用戶指定的資源接收方後,請求服務端將用戶的資源發送給所述用戶指定的資源接收方。 可選地,所述圖形碼中還攜帶有標識資訊; 所述方法還包括: 透過所述標識資訊獲取對應的資源接收說明資料; 展示所述資源接收說明資料以供用戶查閱。 可選地,在展示所述至少一個資源接收方資訊時,還提供有針對所述資源接收方的選擇介面; 所述根據用戶的選擇操作確定用戶指定的資源接收方,包括: 透過所述選擇介面確定所述用戶指定的資源接收方。 可選地,在展示所述至少一個資源接收方時,展示所述資源接收方的如下一種或多種用戶資訊:資源接收方頭像、資源接收方名稱或所述至少一個資源接收方之間的關聯關係。 可選地,所述方法還包括:獲取用戶提供的資源發送附加資訊; 在所述請求服務端將用戶分配的資源發送給所述用戶指定的資源接收方時,將所述資源發送附加資訊發送給服務端,以供資源接收方側設備展示所述資源發送附加資訊。 可選地,所述圖形碼中還攜帶有該圖形碼的有效資訊,所述有效資訊包括:有效時間範圍和/或有效地理位置範圍;所述在識別圖形碼後,所述方法還包括:獲取設備目前時間和/或目前地理位置並與所述有效資訊進行對比,確定是否允許所述用戶發送資源給所述資源接收方。 In order to overcome the problems in the related technology, this specification provides a method for generating a graphic code, a method for sending and receiving resources, a device and an electronic device. According to a first aspect of the embodiments of the present specification, a resource sending method is provided, the method including: Identifying a graphic code used to receive resources, and at least one resource receiver information carried in the graphic code; Displaying the at least one resource receiver for the user to select; After determining the resource receiver designated by the user according to the user's selection operation, request the server to send the user's resources to the resource receiver designated by the user. Optionally, the graphic code also carries identification information; The method also includes: Obtain corresponding resource reception instruction data through the identification information; Display the resource receiving explanatory materials for users to consult. Optionally, when displaying the at least one resource receiver information, a selection interface for the resource receiver is also provided; The determining the resource receiver designated by the user according to the user's selection operation includes: The resource receiver designated by the user is determined through the selection interface. Optionally, when displaying the at least one resource receiver, one or more of the following user information of the resource receiver is displayed: the resource receiver avatar, the resource receiver name, or the association between the at least one resource receiver relationship. Optionally, the method further includes: obtaining resources provided by the user and sending additional information; When the requesting server sends the resource allocated by the user to the resource receiver designated by the user, the resource sending additional information is sent to the server for the resource receiver side device to display the resource sending additional information. Optionally, the graphic code also carries valid information of the graphic code, and the valid information includes: a valid time range and/or a valid geographic location range; after the graphic code is identified, the method further includes: Obtain the current time and/or current geographic location of the device and compare it with the effective information to determine whether to allow the user to send the resource to the resource receiver.

根據本說明書實施例的第二態樣,提供一種資源接收方法,所述方法包括:接收圖形碼產生請求,所述圖形碼用以接收資源;確定用以接收資源的至少一個資源接收方;產生攜帶有所述至少一個資源接收方資訊的圖形碼,所述圖形碼用於被識別後展示所述至少一個資源接收方資訊以供資源發送方選擇,並根據資源發送方的選擇操作確定資源發送方指定的資源接收方後,請求服務端將資源發送方的資源發送給所述資源發送方指定的資源接收方。 According to a second aspect of the embodiments of the present specification, there is provided a resource receiving method, the method comprising: receiving a pattern code generation request, the pattern code is used to receive a resource; determining at least one resource receiver to receive the resource; and generating The graphic code carrying the information of the at least one resource receiver, the graphic code is used to display the information of the at least one resource receiver after being identified for the resource sender to select, and determine the resource sending according to the resource sender's selection operation After the resource receiver designated by the resource sender, the server is requested to send the resource of the resource sender to the resource receiver designated by the resource sender.

可選地,所述方法還包括:利用預置的資訊獲取介面,獲取所述用戶指定的資源接收說明資料,為所述資源接收說明資料產生對應的標識資訊;所述產生攜帶有所述至少一個資源接收方資訊的圖形碼,包括:產生攜帶有所述至少一個資源接收方資訊和所述標識資訊的圖形碼,圖形碼還用於被識別後展示與所述標識資訊對應的資源接收說明資料以供用戶查閱。 Optionally, the method further includes: using a preset information acquisition interface, acquiring the resource reception instruction data designated by the user, and generating corresponding identification information for the resource reception instruction data; the generation carries the at least A graphic code of resource receiver information, including: generating a graphic code carrying the at least one resource receiver information and the identification information, the graphic code is also used to display the resource receiving instructions corresponding to the identification information after being identified Information for users to consult.

可選地,所述確定用以接收資源的至少一個資源接收方,包括:獲取登錄用戶的帳戶資訊後,確定與所述登錄用戶具有關聯的若干個其他用戶帳戶;展示所述用戶帳戶和/或所述若干個其他用戶帳戶後,將所述用戶指定的用戶帳戶地為所述資源接收方。 Optionally, the determining at least one resource receiver to receive the resource includes: after obtaining the account information of the logged-in user, determining several other user accounts associated with the logged-in user; displaying the user account and/ Or after the several other user accounts, the user account designated by the user is the resource receiver.

可選地,所述與所述用戶具有關聯的若干個其他用戶帳戶包括:與所述用戶具有親人關聯關係的用戶帳戶。 Optionally, the several other user accounts that are associated with the user include: user accounts that have a relative relationship with the user.

可選地,所述方法還包括:獲取資源發送方在識別所述圖形碼後向指定的資源接收方所發送的資源資料;將所述至少一個資源接收方接收的資源資料進行統計,展示統計結果。 Optionally, the method further includes: obtaining resource data sent by the resource sender to a designated resource receiver after identifying the graphic code; and performing statistics on the resource data received by the at least one resource receiver, and displaying statistics result.

可選地,所述圖形碼中還攜帶有有效資訊,所述有效資訊指示允許進行資源發送的有效時間範圍和/或有效地理位置範圍,並用於在資源發送方發送資源時進行身份校驗。 Optionally, the graphic code also carries valid information, and the valid information indicates the effective time range and/or the effective geographic location range allowed to send the resource, and is used for identity verification when the resource sender sends the resource.

根據本說明書實施例的第三態樣,提供一種圖形碼產生方法,所述方法包括:接收圖形碼產生請求,所述圖形碼用以接收資源;確定用以接收資源的至少一個資源接收方;產生攜帶有所述至少一個資源接收方資訊的圖形碼。 According to a third aspect of the embodiments of the present specification, a method for generating a graphic code is provided, the method includes: receiving a request for generating a graphic code, the graphic code is used to receive a resource; determining at least one resource receiver for receiving the resource; A graphic code carrying the information of the at least one resource receiver is generated.

根據本說明書實施例的第四態樣,提供一種紅包發送方法,所述方法包括:識別用以接收紅包的圖形碼,所述圖形碼中攜帶的至少一個接收方資訊; 展示所述至少一個接收方資訊以供用戶選擇; 根據用戶的選擇操作確定用戶指定的接收方後,請求服務端將用戶的資金發送給所述用戶指定的接收方。 根據本說明書實施例的第五態樣,提供一種紅包接收方法,所述方法包括: 接收圖形碼產生請求,所述圖形碼用以發送紅包; 確定用以接收紅包的至少一個接收方; 產生攜帶有所述至少一個接收方資訊的圖形碼,所述圖形碼用於被識別後展示所述至少一個接收方資訊以供發送方選擇,並根據發送方的選擇操作確定發送方指定的接收方後,請求服務端將發送方的資金發送給所述發送方指定的接收方。 根據本說明書實施例的第六態樣,提供一種資源發送裝置,所述裝置包括: 圖形碼識別模組,用於:識別用以接收資源的圖形碼,所述圖形碼中攜帶的至少一個資源接收方資訊; 資源接收方展示模組,用於:展示所述至少一個資源接收方以供用戶選擇; 請求模組,用於:根據用戶的選擇操作確定用戶指定的資源接收方後,請求服務端將用戶的資源發送給所述用戶指定的資源接收方。 可選地,所述圖形碼中還攜帶有標識資訊; 所述裝置還包括: 說明資料獲取模組,用於:透過所述標識資訊獲取對應的資源接收說明資料; 說明資料展示模組,用於:展示所述資源接收說明資料以供用戶查閱。 可選地,資源接收方展示模組還用於:在展示所述至少一個資源接收方資訊時,還提供有針對所述資源接收方的選擇介面; 所述請求模組,還用於: 透過所述選擇介面確定所述用戶指定的資源接收方。 可選地,所述裝置還包括: 附加資訊獲取模組,用於:獲取用戶提供的資源發送附加資訊; 所述請求模組,還用於:在所述請求服務端將用戶分配的資源發送給所述用戶指定的資源接收方時,將所述資源發送附加資訊發送給服務端,以供資源接收方側設備展示所述資源發送附加資訊。 根據本說明書實施例的第七態樣,提供一種資源接收裝置,所述裝置包括: 請求接收模組,用於:接收圖形碼產生請求,所述圖形碼用以接收資源; 資源接收方確定模組,用於:確定用以接收資源的至少一個資源接收方; 圖形碼產生模組,用於:產生攜帶有所述至少一個資源接收方資訊的圖形碼,所述圖形碼用於被識別後展示所述至少一個資源接收方資訊以供資源發送方選擇,並根據資源發送方的選擇操作確定資源發送方指定的資源接收方後,請求服務端將資源發送方的資源發送給所述資源發送方指定的資源接收方。 根據本說明書實施例的第八態樣,提供一種電子設備,包括: 處理器; 用以儲存處理器可執行指令的記憶體; 其中,所述處理器被配置成: 識別用以接收資源的圖形碼,所述圖形碼中攜帶的至少一個資源接收方資訊; 展示所述至少一個資源接收方以供用戶選擇; 根據用戶的選擇操作確定用戶指定的資源接收方後,請求服務端將用戶的資源發送給所述用戶指定的資源接收方。 根據本說明書實施例的第九態樣,提供一種電子設備,包括: 處理器; 用以儲存處理器可執行指令的記憶體; 其中,所述處理器被配置成: 接收圖形碼產生請求,所述圖形碼用以接收資源; 確定用以接收資源的至少一個資源接收方; 產生攜帶有所述至少一個資源接收方資訊的圖形碼,所述圖形碼用於被識別後展示所述至少一個資源接收方資訊以供資源發送方選擇,並根據資源發送方的選擇操作確定資源發送方指定的資源接收方後,請求服務端將資源發送方的資源發送給所述資源發送方指定的資源接收方。 本說明書的實施例提供的技術方案可以包括以下有益效果: 本說明書中,資源接收方發起圖形碼產生請求後,可以使圖形碼攜帶有一個或多個資源接收方資訊;而資源發送方利用個人設備在對圖形碼識別後,可以由資源發送方選擇其期望發送資源的一個或多個對象,因此可以顯著地減少用戶操作,提高資源接收和發送的處理效率。 應當理解的是,以上的一般描述和後文的細節描述僅是示例性和解釋性的,並不能限制本說明書。According to a fourth aspect of the embodiments of the present specification, there is provided a red envelope sending method, the method comprising: identifying a graphic code used to receive the red envelope, and at least one recipient information carried in the graphic code; Displaying the at least one recipient information for the user to choose; After determining the recipient designated by the user according to the user's selection operation, the server is requested to send the user's funds to the recipient designated by the user. According to a fifth aspect of the embodiments of the present specification, there is provided a method for receiving red packets, the method including: Receiving a graphic code generation request, the graphic code being used to send a red envelope; Determine at least one recipient for receiving red packets; Generate a graphic code carrying the at least one recipient information, the graphic code is used to display the at least one recipient information for selection by the sender after being identified, and determine the recipient designated by the sender according to the selection operation of the sender After that, request the server to send the sender’s funds to the receiver designated by the sender. According to a sixth aspect of the embodiments of this specification, there is provided a resource sending device, the device including: The graphic code recognition module is used for: recognizing graphic codes used to receive resources, and at least one resource receiver information carried in the graphic codes; The resource receiver display module is used to display the at least one resource receiver for user selection; The request module is used for: after determining the resource receiver designated by the user according to the user's selection operation, request the server to send the user's resources to the resource receiver designated by the user. Optionally, the graphic code also carries identification information; The device also includes: The description data acquisition module is used to: obtain the corresponding resource and receive the description data through the identification information; The explanatory data display module is used to display explanatory data received by the resource for users to consult. Optionally, the resource receiver display module is further configured to provide a selection interface for the resource receiver when displaying the information of the at least one resource receiver; The request module is also used for: The resource receiver designated by the user is determined through the selection interface. Optionally, the device further includes: The additional information acquisition module is used to: acquire resources provided by the user and send additional information; The request module is further configured to: when the requesting server sends the resource allocated by the user to the resource receiver designated by the user, send the resource sending additional information to the server for the resource receiver The side device displays the resource and sends additional information. According to a seventh aspect of the embodiments of this specification, there is provided a resource receiving device, the device including: The request receiving module is used for receiving a request for generating a graphic code, the graphic code being used to receive resources; The resource receiver determining module is used to determine at least one resource receiver for receiving resources; The graphic code generating module is used for generating graphic code carrying the at least one resource receiver information, and the graphic code is used to display the at least one resource receiver information for selection by the resource sender after being identified, and After determining the resource receiver designated by the resource sender according to the selection operation of the resource sender, request the server to send the resource of the resource sender to the resource receiver designated by the resource sender. According to an eighth aspect of the embodiments of this specification, an electronic device is provided, including: processor; Memory used to store executable instructions of the processor; Wherein, the processor is configured to: Identifying a graphic code used to receive resources, and at least one resource receiver information carried in the graphic code; Displaying the at least one resource receiver for the user to select; After determining the resource receiver designated by the user according to the user's selection operation, request the server to send the user's resources to the resource receiver designated by the user. According to a ninth aspect of the embodiments of this specification, an electronic device is provided, including: processor; Memory used to store executable instructions of the processor; Wherein, the processor is configured to: Receiving a graphic code generation request, the graphic code being used to receive resources; Determine at least one resource receiver for receiving resources; Generate a graphic code carrying the information of the at least one resource receiver, the graphic code is used to display the information of the at least one resource receiver after being identified for the resource sender to select, and determine the resource according to the resource sender's selection operation After the resource receiver designated by the sender, the server is requested to send the resource of the resource sender to the resource receiver designated by the resource sender. The technical solutions provided by the embodiments of this specification may include the following beneficial effects: In this manual, after the resource receiver initiates a graphic code generation request, the graphic code can carry information of one or more resource receivers; and the resource sender can select the graphic code by the resource sender after identifying the graphic code using a personal device. It is expected to send one or more objects of the resource, so user operations can be significantly reduced, and the processing efficiency of resource receiving and sending can be improved. It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit this specification.

這裡將詳細地對示例性實施例進行說明,其示例表示在附圖中。下面的描述涉及附圖時,除非另有表示,不同附圖中的相同數字表示相同或相似的要素。以下示例性實施例中所描述的實施方式並不代表與本說明書相一致的所有實施方式。相反地,它們僅是與如所附申請專利範圍中所詳述的、本說明書的一些態樣相一致的裝置和方法的例子。 在本說明書使用的術語是僅僅出於描述特定實施例的目的,而非旨在限制本說明書。在本說明書和所附申請專利範圍中所使用的單數形式的“一種”、“所述”和“該”也旨在包括多數形式,除非上下文清楚地表示其他含義。還應當理解,本文中使用的術語“和/或”是指並包含一個或多個相關聯的列出專案的任何或所有可能組合。 應當理解,儘管在本說明書可能採用術語第一、第二、第三等來描述各種資訊,但這些資訊不應限於這些術語。這些術語僅用來將同一類型的資訊彼此區分開。例如,在不脫離本說明書範圍的情況下,第一資訊也可以被稱為第二資訊,類似地,第二資訊也可以被稱為第一資訊。取決於語境,如在此所使用的詞語“如果”可以被解釋成為“在……時”或“當……時”或“回應於確定”。 隨著移動通信技術和終端技術的快速發展,基於圖形碼進行資源發送及接收已經得到廣泛應用。通常,資源接收方可以利用個人設備發起請求,服務方根據資源接收方的帳戶產生圖形碼;在資源發送方利用個人設備掃描該圖形碼後識別出資源接收方,資源發送方可以將資源發送給資源接收方。 實際應用中,常常面臨如下場景:在某個群體中,資源接收方有多個,某些資源發送方需要把資源發送給資源接收方A,某些資源發送方需要把資源發送資源接收方B等等。作為示例,A、B和C承辦了某次活動,三人墊付了同樣的活動經費。A、B和C邀請了D~N等多名參與者,參與者需要向A、B和C的其中之一繳納活動經費。 基於此,本說明實施例提供有資源發送與接收相關方案,在資源接收方需要產生用以接收資源的圖形碼時,能夠確定用以接收資源的至少一個資源接收方,並產生攜帶有所述至少一個資源接收方資訊的圖形碼;由於圖形碼中可以攜帶一個或多個資源接收方,因此圖形碼被識別後,資源發送方可以指定資源接收方並發送資源。 利用本說明書實施例,資源接收方發起圖形碼產生請求後,可以使圖形碼攜帶有一個或多個資源接收方資訊;而資源發送方利用個人設備在對圖形碼識別後,可以由資源發送方選擇其期望發送資源的一個或多個對象,因此可以顯著地減少用戶操作,提高資源接收和發送的處理效率。接下來對本說明書實施例進行詳細說明。 本說明書實施例方案至少涉及三個處理過程:資源接收方產生用以接收資源的圖形碼、資源發送方識別圖形碼發送資源、以及資源接收方接收資源。以下實施例結合上述三個處理過程進行說明。 如圖1所示,是本說明實施例示出一種圖形碼產生方法,該方法可應用於電子設備,所述方法包括: 在步驟102中,接收圖形碼產生請求,所述圖形碼用以接收資源。 在步驟104中,確定用以接收資源的至少一個資源接收方。 在步驟106中,產生攜帶有所述至少一個資源接收方資訊的圖形碼。 本實施例方案可應用於管理資源的服務方,該服務方可以向用戶提供有APP(application,應用程式),該APP可以被安裝於電子設備中,電子設備可以包括智慧型手機、個人電腦、平板電腦、個人數位助理或可穿戴設備等終端。服務方透過該APP向登錄用戶提供資源管理服務,在不同應用場景下,本實施例中的資源可以表示不同的對象,例如可以是資金、虛擬資產、虛擬禮物等等。 實際應用中,若用戶需要接收資源,用戶可以在電子設備中啟動APP,在利用註冊帳戶登錄後,用戶可以觸發APP中提供的介面,以發起圖形碼產生請求。APP透過該介面檢測到用戶的觸發後,確定接收到圖形碼產生請求。為了使圖形碼能攜帶一個或多個資源接收方,在產生圖形碼前,APP需要確定至少一個用以接收資源的資源接收方。 可選地,所述至少一個資源接收方可以包括目前登錄用戶,而其他的資源接收方,在一個可選的實現方式中,APP可以讀取電子設備的通訊錄、或者獲取登錄用戶的好友資料後展示給用戶進行選擇。在其他例子中,還可以獲取登錄用戶的帳戶資訊後,確定與所述登錄用戶具有關聯的若干個其他用戶帳戶;在展示所述用戶帳戶和/或所述若干個其他用戶帳戶後,將所述用戶指定的用戶帳戶作為所述資源接收方。其中,上述關聯關係實際應用中可以根據需要而靈活配置,可選地,可以是地理位置的關聯,例如與登錄用戶目前地理位置的距離小於預設距離的其他好友用戶帳戶;或者,還可以是與用戶具有親人關聯關係的其他用戶帳戶;或者,還可以是與登錄用戶之前有過資源發送與接收關係的用戶等等。 在透過上述方式確定了資源接收方後,可以根據資源接收方資訊而產生圖形碼,使圖形碼攜帶上述資源接收方資訊,其中,該資源接收方資訊可以包括帳戶或標識等等能唯一區分資源接收方的資訊。 在某些應用場景,資源接收方可能需要向資源接收方說明資源接收的相關情況,以供資源發送方查閱並確認資源接收方相關資訊,防止資源發送錯誤。因此,本實施例還可以利用預置的資訊獲取介面,獲取所述用戶指定的資源接收說明資料,從而為所述資源接收說明資料產生對應的標識資訊。 其中,上述資訊獲取介面具體可以包括:可供用戶編輯文本的介面、可供用戶拍攝圖片或視頻的介面、可供用戶選擇設備中儲存的圖片或視頻的介面、音訊採集介面等等,基於上述介面,用戶可以根據需要來編輯文本、拍攝圖片或視頻、選擇圖片或視頻、輸入語音等等,服務端可以將這些資料作為資源接收說明資料進行儲存。由於這些說明資料需要讓資源發送方在發送資源前進行查閱,本實施例可以為所述資源接收說明資料產生對應的標識資訊,從而可以在產生圖形碼時,使圖形碼攜帶有所述至少一個資源接收方資訊和所述標識資訊,因此圖形碼被識別後,電子設備可以展示與所述標識資訊對應的資源接收說明資料以供用戶查閱。 實際應用中,所產生的圖形碼可以提供給任一用戶,用戶利用安裝有上述APP的電子設備識別出圖形碼。然而,在某些場景中,例如宴會等場景,資源接收方對資源介面具有一定的要求,例如有可能希望資源發送方是參加宴會的用戶;或者是為了進一步提高資源發送及資源接收的安全性,本實施例的圖形碼中還可以攜帶有有效資訊,所述有效資訊指示允許進行資源發送的有效時間範圍和/或有效地理位置範圍,並用以在資源發送方發送資源時對資源發送方進行身份校驗。其中,有效時間範圍和有效地理位置範圍可以是由資源接收方進行配置,APP中可以提供配置介面供資源接收方操作;在其他例子中,也可以是由服務方根據需要來進行配置。透過上述有效資訊,在資源發送方發送資源時,服務方可以對資源發送方進行身份校驗,以根據身份校驗結果確定是否允許資源發送方發送資源。 APP為用戶產生圖形碼後,用戶可以將該圖形碼提供給資源發送方,資源發送方可以掃描該圖形碼以實現資源發送。如圖2A所示,是本說明書根據一實例性實施例示出的一種資源發送方法,所述方法包括: 在步驟202中,識別用以接收資源的圖形碼,所述圖形碼中攜帶有至少一個資源接收方資訊。 在步驟204中,展示所述至少一個資源接收方以供用戶選擇。 在步驟206中,根據用戶的選擇操作確定用戶指定的資源接收方後,請求服務端將用戶的資源發送給所述用戶指定的資源接收方。 利用本說明書實施例,資源發送方也可以在電子設備中安裝APP,若資源發送方需要發送資源,資源發送方可以利用電子設備掃描圖形碼,由於圖形碼中攜帶有至少一個資源接收方資訊,APP可以識別出圖形碼對應的所述至少一個資源接收方,並對所述至少一個資源接收方進行展示。用戶透過查閱電子設備所展示的所述至少一個資源接收方後,可以指定其中一個或多個資源接收方發送資源。 為了便於用戶查閱和辨認,可選地,在展示所述至少一個資源接收方時,可以獲取所述資源接收方的用戶資訊進行展示,作為示例,用戶資訊包括如下一種或多種資訊:資源接收方頭像、資源接收方名稱或所述至少一個資源接收方之間的關聯關係等等,電子設備透過展示上述資源接收方的用戶資訊,可供資源發送方查閱圖形碼中所對應的各個資源接收方,從而更為方便地進行選擇。 可選地,為了便於用戶操作,在展示所述至少一個資源接收方資訊時,還提供有針對所述資源接收方的選擇介面; 所述根據用戶的選擇操作確定用戶指定的資源接收方,包括: 透過所述選擇介面確定所述用戶指定的資源接收方。 如圖2B所示,是本說明書根據一示例性實施例示出的一種應用介面示意圖,資源發送方中利用電子設備掃描圖形碼後,圖2B中圖形碼以攜帶四個資源接收方的資訊為例進行說明,APP展示了四個資源接收方的圖像和名稱以供用戶查閱,並提供針對各個資源接收方的選擇介面,圖2B中選擇介面具體為一可供用戶觸發選擇的選項,用戶點擊對應的選項,即可表示選中該資源接收方,APP透過檢測用戶的選擇操作確定用戶指定的資源接收方。 在一些例子中,圖形碼中可能還攜帶有對應資源接收說明資料的標識資訊;電子設備在識別圖形碼時,若識別出標識資訊,可以透過所述標識資訊獲取對應的資源接收說明資料,在接收到資源接收說明資料後,可以展示所述資源接收說明資料以供用戶查閱。其中,展示該資源接收說明資料可以有多種實現方式,例如,資源接收說明資料和所述至少一個資源接收方的用戶資訊可以被展示在同一個頁面中,也可以展示在不同的頁面中。 資源發送方在發送資源後,可能具有向資源接收方發送某些資訊的需求,例如資源發送方可能希望能夠添加對本次資源發送的說明,以供資源接收方查閱;作為例子,在宴會等場景下,資源發送方可能希望能夠向作為主辦方的資源接收方表達致謝等等。基於此,本實施例方法中,還可以獲取用戶提供的資源發送附加資訊;在所述請求服務端將用戶分配的資源發送給所述用戶指定的資源接收方時,將所述資源發送附加資訊發送給服務端,以供資源接收方側設備展示所述資源發送附加資訊。 在某些例子中,圖形碼中還可能還攜帶有該圖形碼的有效資訊,所述有效資訊包括:有效時間範圍和/或有效地理位置範圍;因此,在識別圖形碼後,所述方法還可以包括:獲取設備目前時間和/或目前地理位置並與所述有效資訊進行對比,確定是否允許所述用戶發送資源給所述資源接收方。 透過上述實施例,資源接收方發起圖形碼產生請求後,可以使圖形碼攜帶有一個或多個資源接收方資訊;而資源發送方利用個人設備在對圖形碼識別後,可以由資源發送方選擇其期望發送資源的一個或多個對象,因此可以顯著地減少用戶操作,提高資源接收和發送的處理效率。 接下來再透過一實施例對本說明書方案進行詳細說明。 如圖3A所示,是本說明實施例資源接收和發送方案的應用場景示意圖,圖3A中包括提供資源管理服務的服務端,服務端向用戶提供APP,該APP係安裝於電子設備中,該APP可實現資源管理業務,例如儲存資源、接收資源、發送資源以及產生用以接收資源的圖形碼等等業務。本說明書實施例涉及兩類用戶,一類是接收資源的資源接收方,一類是發送資源的資源發送方。作為例子,圖3A中示出了一個作為資源接收方的用戶1,以及一個作為資源發送方的用戶2。 作為例子,上述資源發送及接收方案具體可應用於宴會場景,資源發送具體可以是發送紅包,資源接收具體可以是接收紅包,資源具體可以是紅包所攜帶的資金。作為示例,若用戶準備舉行婚宴,而參加婚宴的賓客通常具有贈與紅包的需要。在婚宴場景下,賓客贈與的紅包可能需要根據賓客與主辦方的關係來進行分配,例如,新郎方的親朋好友所贈與的紅包需要分配給新郎方,新娘方的親朋好友所贈與的紅包需要分配給新娘方,新郎父母的親朋好友所贈與的紅包需要分配給新郎父母等等。此種場景下,可以利用本說明書實施例便捷地進行紅包接收和發送。 具體地,本實施例中的資源以資金為例進行說明,用戶1(以新郎為例)作為資源接收方可以觸發APP發起圖形碼產生請求,APP檢測到用戶1的觸發後,確定接收到圖形碼產生請求。進一步地,APP可以透過資料分析等方式,獲取與用戶1具有親人關聯關係的其他用戶帳戶並進行展示。用戶1選擇了其他5個用戶帳戶(分別以新娘、新郎父母以及新娘父母為例)作為資源接收方,APP根據用戶1的選擇,產生攜帶有上述6個資源接收方資訊的圖形碼。 可選地,APP還提供有資訊獲取介面,如圖3B所示,是本說明書根據一示例性實施例示出的另一種應用介面示意圖,作為示例,該介面具體可以包括圖3B中所示的文本輸入介面和圖片輸入介面,若用戶1需要,用戶1可以利用文本輸入介面輸入文本,利用圖片輸入介面輸入圖片,APP透過該文本輸入介面獲取文本和圖片作為資源介面說明資料,並為所述資源介面說明資料產生標識資訊。 之後,用戶1可以舉辦婚宴時可以透過多種方式將圖形碼展示給賓客,例如可以列印該圖形碼後佈置於舉辦婚宴的場所,或者是利用電子設備展示該圖形碼等。賓客到達婚宴場所後可以利用安裝有前述APP的電子設備掃描圖形碼,可選地,在用戶1沒有限制地理位置範圍的情況下,該圖形碼可以提供給未到達婚宴場所的其他用戶,以供其他用戶利用電子設備掃描圖形碼發送紅包。 作為示例,參加婚宴的賓客(用戶2)可以利用安裝有前述APP的電子設備掃描圖形碼,在識別出圖形碼中所攜帶的一個或多個資源接收方資訊後,APP可以將資源接收方的用戶資訊進行展示,作為示例,資源接收方的用戶資訊可以包括有資源接收方頭像、資源接收方名稱或所述至少一個資源接收方之間的關聯關係中的一種或多種,如圖3C所示,作為示例,圖3C是一種資源發送示意圖,示出了6個用戶的用戶資訊,用戶資訊以頭像和關聯關係為例進行了示意。用戶2可以勾選新娘,APP根據用戶2的選擇操作,確定用戶2所指定的資源接收方。其中,APP可以在用戶介面中提供有資源輸入介面,以供用戶2輸入發送給資源接收方的資金。可選地,APP還可以透過圖形碼識別出了標識資訊,並透過標識資訊獲取到文本和圖片等資源接收說明資料,之後,APP展示資源發送頁面,該資源發送頁面展示了文本和圖片等資源接收說明資料以供賓客查閱,可選地,資源輸入介面和資源接收說明資料都可以在該頁面中進行展示。在其他例子中,該頁面還可以提供有附加資訊介面,作為示例,如圖3C所示,附加資訊介面可以是頁面中所展示的多條新婚祝福語選項,以及文本輸入介面,用戶2可以選擇其中某條新婚祝福語作為資源發送附加資訊,也可以透過文本輸入介面輸入文本作為附加資訊等等。其中,為了示例方便,圖3C中用戶資訊、資源輸入介面、資源接收說明資料和附加資訊介面都在同一個應用介面中進行展示,實際應用中,還可以根據需要而靈活配置其他展示方式,本實施例對此不進行限定。 透過該頁面,APP可以獲取到用戶2所期望發送的資金以及資源發送附加資訊,之後,APP可以將資金作為資源資料和附加資訊發送給服務端,以請求服務端將用戶2所分配的資金發送給資源接收方,同時,還可以將所述資源發送附加資訊發送給服務端,而服務端可以根據APP的請求,將資源資料和附加資訊發送給資源接收方。 對於用戶1以及用戶1所選擇的多個資源接收方,可以利用安裝有APP的電子設備查閱到資源發送方所發送的資金和附加資訊,可選地,根據婚宴場景,APP可以以紅包的方式提示用戶收到了資源發送方發送的資金,並在用戶介面中展示資源發送方所發送的資金和附加資訊供用戶查閱。可選地,APP還可以資源接收方接收的資源資料進行統計,並展示統計結果。 與前述圖形碼產生方法、資源接收方法、資源發送方法、發送紅包方法及接收紅包方法的實施例相對應,本說明書還提供了圖形碼產生裝置、資源接收裝置、資源發送裝置、發送紅包裝置、接收紅包裝置及其所應用的終端的實施例。 本說明書圖形碼產生裝置/資源接收裝置/資源發送裝置/發送紅包裝置/接收紅包裝置的實施例可以應用在電子設備上。裝置實施例可以透過軟體來實現,也可以透過硬體或者軟硬體結合的方式來實現。以軟體實現為例,作為一個邏輯意義上的裝置,是透過其所在文件處理的處理器將非易失性記憶體中對應的電腦程式指令讀取到記憶體中運行形成的。從硬體層面而言,如圖4所示,為本說明書圖形碼產生裝置/資源接收裝置/資源發送裝置/發送紅包裝置/接收紅包裝置所在電子設備的一種硬體結構圖,除了圖4所示的處理器410、記憶體430、網路介面420、以及非易失性記憶體440之外,實施例中裝置431所在的電子設備,通常根據該電腦設備的實際功能,還可以包括其他硬體,對此不再贅述。 如圖5所示,圖5是本說明書根據一示例性實施例示出的一種資源發送裝置的方塊圖,所述裝置包括: 圖形碼識別模組51,用於:識別用以接收資源的圖形碼,所述圖形碼中攜帶的至少一個資源接收方資訊; 資源接收方展示模組52,用於:展示所述至少一個資源接收方以供用戶選擇; 請求模組53,用於:根據用戶的選擇操作確定用戶指定的資源接收方後,請求服務端將用戶的資源發送給所述用戶指定的資源接收方。 可選地,所述圖形碼中還攜帶有標識資訊; 所述裝置還包括: 說明資料獲取模組,用於:透過所述標識資訊獲取對應的資源接收說明資料; 說明資料展示模組,用於:展示所述資源接收說明資料以供用戶查閱。 可選地,資源接收方展示模組還用於:在展示所述至少一個資源接收方資訊時,還提供有針對所述資源接收方的選擇介面; 所述請求模組,還用於: 透過所述選擇介面確定所述用戶指定的資源接收方。 可選地,所述裝置還包括: 附加資訊獲取模組,用於:獲取用戶提供的資源發送附加資訊; 所述請求模組,還用於:在所述請求服務端將用戶分配的資源發送給所述用戶指定的資源接收方時,將所述資源發送附加資訊發送給服務端,以供資源接收方側設備展示所述資源發送附加資訊。 如圖6所示,圖6是本說明書根據一示例性實施例示出的一種資源接收裝置的方塊圖,所述裝置包括: 請求接收模組61,用於:接收圖形碼產生請求,所述圖形碼用以接收資源; 資源接收方確定模組62,用於:確定用以接收資源的至少一個資源接收方; 圖形碼產生模組63,用於:產生攜帶有所述至少一個資源接收方資訊的圖形碼,所述圖形碼用於被識別後展示所述至少一個資源接收方資訊以供資源發送方選擇,並根據資源發送方的選擇操作確定資源發送方指定的資源接收方後,請求服務端將資源發送方的資源發送給所述資源發送方指定的資源接收方。 可選地,所述裝置還包括: 說明資料獲取模組,用於:利用預置的資訊獲取介面,獲取所述用戶指定的資源接收說明資料,為所述資源接收說明資料產生對應的標識資訊; 所述圖形碼產生模組,還用於: 產生攜帶有所述至少一個資源接收方資訊和所述標識資訊的圖形碼,圖形碼還用於被識別後展示與所述標識資訊對應的資源接收說明資料以供用戶查閱。 可選地,所述資源接收方確定模組,還用於: 獲取登錄用戶的帳戶資訊後,確定與所述登錄用戶具有關聯的若干個其他用戶帳戶; 展示所述用戶帳戶和/或所述若干個其他用戶帳戶後,將所述用戶指定的用戶帳戶作為所述資源接收方。 可選地,所述與所述用戶具有關聯的若干個其他用戶帳戶包括:與所述用戶具有親人關聯關係的用戶帳戶。 可選地,所述裝置還包括: 資源資料獲取模組,用於:獲取資源發送方在識別所述圖形碼後向指定的資源接收方所發送的資源資料; 統計模組,用於:將所述至少一個資源接收方接收的資源資料進行統計,展示統計結果。 可選地,所述圖形碼中還攜帶有有效資訊,所述有效資訊指示允許進行資源發送的有效時間範圍和/或有效地理位置範圍,並用於在資源發送方發送資源時進行身份校驗。 如圖7所示,圖7是本說明書根據一示例性實施例示出的一種圖形碼產生裝置的方塊圖,所述裝置包括: 請求接收模組71,用於:接收圖形碼產生請求,所述圖形碼用以接收資源; 資源接收方確定模組72,用於:確定用以接收資源的至少一個資源接收方; 圖形碼產生模組73,用於:產生攜帶有所述至少一個資源接收方資訊的圖形碼。 如圖8所示,圖8是本說明書根據一示例性實施例示出的一種發送紅包裝置的方塊圖,所述裝置包括: 圖形碼識別模組81,用於:識別用以接收紅包的圖形碼,所述圖形碼中攜帶的至少一個接收方資訊; 接收方展示模組82,用於:展示所述至少一個接收方資訊以供用戶選擇; 請求模組83,用於:根據用戶的選擇操作確定用戶指定的接收方後,請求服務端將用戶的資金發送給所述用戶指定的接收方。 如圖9所示,圖9是本說明書根據一示例性實施例示出的一種接收紅包裝置的方塊圖,所述裝置包括: 請求接收模組91,用於:接收圖形碼產生請求,所述圖形碼用以發送紅包; 接收方確定模組92,用於:確定用以接收紅包的至少一個接收方; 圖形碼產生模組93,用於:產生攜帶有所述至少一個接收方資訊的圖形碼,所述圖形碼用於被識別後展示所述至少一個接收方資訊以供發送方選擇,並根據發送方的選擇操作確定發送方指定的接收方後,請求服務端將發送方的資金發送給所述發送方指定的接收方。 相應地,本說明書還提供一種電子設備,包括: 處理器; 用以儲存處理器可執行指令的記憶體; 其中,所述處理器被配置成: 識別用以接收資源的圖形碼,所述圖形碼中攜帶的至少一個資源接收方資訊; 展示所述至少一個資源接收方以供用戶選擇; 根據用戶的選擇操作確定用戶指定的資源接收方後,請求服務端將用戶的資源發送給所述用戶指定的資源接收方。 相應地,本說明書還提供一種電子設備,包括: 處理器; 用以儲存處理器可執行指令的記憶體; 其中,所述處理器被配置成: 接收圖形碼產生請求,所述圖形碼用以接收資源; 確定用以接收資源的至少一個資源接收方; 產生攜帶有所述至少一個資源接收方資訊的圖形碼,所述圖形碼用於被識別後展示所述至少一個資源接收方資訊以供資源發送方選擇,並根據資源發送方的選擇操作確定資源發送方指定的資源接收方後,請求服務端將資源發送方的資源發送給所述資源發送方指定的資源接收方。 上述裝置中各個模組的功能和作用的實現過程具體詳見上述方法中對應步驟的實現過程,在此不再贅述。 對於裝置實施例而言,由於其基本對應於方法實施例,所以相關之處參見方法實施例的部分說明即可。以上所描述的裝置實施例僅僅是示意性的,其中,所述作為分離部件說明的模組可以是或者也可以不是物理上分開的,作為模組顯示的部件可以是或者也可以不是物理模組,即可以位於一個地方,或者也可以分佈到多個網路模組上。可以根據實際的需要而選擇其中的部分或者全部模組來實現本說明書方案的目的。本領域普通技術人員在不付出創造性勞動的情況下,即可以理解並實施。 上述對本說明書特定實施例進行了描述。其它實施例在所附申請專利範圍的範疇內。在一些情況下,在申請專利範圍中記載的動作或步驟可以按照不同於實施例中的順序來執行並且仍然可以實現期望的結果。另外,在附圖中描繪的過程不一定要求示出的特定順序或者連續順序才能實現期望的結果。在某些實施方式中,多工處理和並行處理也是可以的或者可能是有利的。 本領域技術人員在考慮說明書及實踐這裡說明書的發明後,將容易想到本說明書的其它實施方案。本說明書旨在涵蓋本說明書的任何變型、用途或者適應性變化,這些變型、用途或者適應性變化遵循本說明書的一般性原理並包括本說明書未說明的本技術領域中的公知常識或慣用技術手段。說明書和實施例僅被視為示例性的,本說明書的真正範圍和精神由下面的申請專利範圍來予以指出。 應當理解的是,本說明書並不局限於上面已經描述並在附圖中示出的精確結構,並且可以在不脫離其範圍下進行各種修改和改變。本說明書的範圍僅由所附的申請專利範圍來予以限制。 以上所述僅為本說明書的較佳實施例而已,並不用以限制本說明書,凡在本說明書的精神和原則之內,所做的任何修改、等同替換、改進等,均應包含在本說明書保護的範圍之內。Here, exemplary embodiments will be described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with this specification. On the contrary, they are only examples of devices and methods consistent with some aspects of this specification as detailed in the scope of the appended application. The terms used in this specification are only for the purpose of describing specific embodiments, and are not intended to limit the specification. The singular forms of "a", "the" and "the" used in this specification and the scope of the appended application are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and/or" as used herein refers to and includes any or all possible combinations of one or more associated listed items. It should be understood that although the terms first, second, and third may be used in this specification to describe various information, the information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this specification, the first information can also be referred to as second information, and similarly, the second information can also be referred to as first information. Depending on the context, the word "if" as used herein can be interpreted as "when" or "when" or "in response to certainty". With the rapid development of mobile communication technology and terminal technology, resource transmission and reception based on graphic codes have been widely used. Generally, the resource receiver can use a personal device to initiate a request, and the server generates a graphic code based on the resource receiver’s account; after the resource sender uses the personal device to scan the graphic code, the resource receiver is identified, and the resource sender can send the resource to Resource recipient. In practical applications, we often face the following scenarios: in a certain group, there are multiple resource receivers, some resource senders need to send resources to resource receiver A, and some resource senders need to send resources to resource receiver B and many more. As an example, A, B, and C undertook an event, and the three of them advanced the same event funds. A, B, and C invited many participants, including D~N, and the participants need to pay activity funds to one of A, B, and C. Based on this, the embodiment of this description provides a resource sending and receiving related solution. When the resource receiver needs to generate a graphic code to receive the resource, it can determine at least one resource receiver to receive the resource, and generate the At least one graphic code of resource receiver information; since the graphic code can carry one or more resource receivers, after the graphic code is identified, the resource sender can specify the resource receiver and send the resource. Using the embodiment of this specification, after a resource receiver initiates a request for generating a graphic code, the graphic code can carry information about one or more resource receivers; and the resource sender can use a personal device to identify the graphic code, and the resource sender can Select one or more objects for which resources are expected to be sent, so that user operations can be significantly reduced and the processing efficiency of resource receiving and sending can be improved. Next, the embodiments of this specification will be described in detail. The solution in the embodiment of this specification involves at least three processing procedures: the resource receiver generates a graphic code to receive the resource, the resource sender identifies the graphic code to send the resource, and the resource receiver receives the resource. The following embodiments are described in combination with the above three processing procedures. As shown in FIG. 1, the embodiment of this description shows a method for generating a graphic code, which can be applied to electronic equipment, and the method includes: In step 102, a graphic code generation request is received, and the graphic code is used to receive resources. In step 104, at least one resource receiver for receiving resources is determined. In step 106, a graphic code carrying the information of the at least one resource receiver is generated. The solution of this embodiment can be applied to a service party that manages resources. The service party can provide users with an APP (application, application). The APP can be installed in an electronic device. The electronic device can include a smart phone, a personal computer, Terminals such as tablet computers, personal digital assistants or wearable devices. The service provider provides resource management services to logged-in users through the APP. In different application scenarios, the resources in this embodiment can represent different objects, such as funds, virtual assets, virtual gifts, and so on. In actual applications, if the user needs to receive resources, the user can start the APP in the electronic device. After logging in with the registered account, the user can trigger the interface provided in the APP to initiate a request for generating a graphic code. After the APP detects the user's trigger through this interface, it determines to receive the graphic code generation request. In order to enable the graphic code to carry one or more resource receivers, before generating the graphic code, the APP needs to determine at least one resource receiver for receiving resources. Optionally, the at least one resource receiver may include the currently logged-in user, and for other resource receivers, in an optional implementation manner, the APP may read the address book of the electronic device or obtain the friend information of the logged-in user After showing to the user to choose. In other examples, after obtaining the account information of the logged-in user, it is possible to determine several other user accounts associated with the logged-in user; after displaying the user account and/or the several other user accounts, The user account designated by the user serves as the resource receiver. Among them, the above-mentioned association relationship can be flexibly configured according to needs in actual applications. Optionally, it can be a geographical association, such as other friend user accounts whose current geographical position is less than a preset distance from the logged-in user; or, it can also be Other user accounts that have a relative relationship with the user; or, it can also be a user who has a resource sending and receiving relationship with the logged-in user before. After the resource receiver is determined by the above method, a graphic code can be generated based on the resource receiver information, so that the graphic code carries the above resource receiver information, where the resource receiver information can include an account or an identifier that can uniquely distinguish resources Information about the recipient. In some application scenarios, the resource receiver may need to explain the resource reception to the resource receiver, so that the resource sender can consult and confirm the relevant information of the resource receiver to prevent resource sending errors. Therefore, in this embodiment, the preset information acquisition interface can also be used to acquire the resource receiving instruction data designated by the user, so as to generate corresponding identification information for the resource receiving instruction data. Among them, the above-mentioned information acquisition interface may specifically include: an interface for users to edit text, an interface for users to take pictures or videos, an interface for users to select pictures or videos stored in the device, an audio collection interface, etc., based on the above In the interface, users can edit texts, take pictures or videos, select pictures or videos, input voices, etc. according to their needs. The server can store these data as resource receiving instructions. Since these descriptive data need to be consulted by the resource sender before sending the resource, this embodiment can generate corresponding identification information for the resource receiving descriptive data, so that when the graphic code is generated, the graphic code can carry the at least one The resource receiver information and the identification information, so after the graphic code is identified, the electronic device can display the resource reception instruction data corresponding to the identification information for the user to consult. In practical applications, the generated graphic code can be provided to any user, and the user can recognize the graphic code by using an electronic device with the above APP installed. However, in certain scenarios, such as banquets and other scenarios, the resource receiver has certain requirements on the resource interface. For example, it may be hoped that the resource sender is a user participating in the banquet; or to further improve the security of resource sending and resource receiving , The graphic code of this embodiment may also carry valid information, the valid information indicates the effective time range and/or the effective geographic location range allowed to send the resource, and is used to perform a check on the resource sender when the resource sender sends the resource. Identity verification. Among them, the effective time range and the effective geographic location range can be configured by the resource receiver, and the APP can provide a configuration interface for the resource receiver to operate; in other examples, it can also be configured by the server according to needs. With the above effective information, when the resource sender sends the resource, the server can perform identity verification on the resource sender to determine whether the resource sender is allowed to send the resource based on the result of the identity verification. After the APP generates the graphic code for the user, the user can provide the graphic code to the resource sender, and the resource sender can scan the graphic code to send the resource. As shown in FIG. 2A, it is a method for sending resources according to an exemplary embodiment in this specification, and the method includes: In step 202, a graphic code for receiving a resource is identified, and the graphic code carries information of at least one resource receiver. In step 204, the at least one resource recipient is displayed for the user to select. In step 206, after the user-specified resource recipient is determined according to the user's selection operation, the server is requested to send the user's resources to the user-specified resource recipient. Using the embodiment of this specification, the resource sender can also install an APP in the electronic device. If the resource sender needs to send the resource, the resource sender can use the electronic device to scan the graphic code. Since the graphic code carries at least one resource receiver information, The APP can identify the at least one resource receiver corresponding to the graphic code, and display the at least one resource receiver. After viewing the at least one resource receiver displayed by the electronic device, the user can designate one or more of the resource receivers to send resources. In order to facilitate the user's reference and identification, optionally, when displaying the at least one resource receiver, user information of the resource receiver can be obtained for display. As an example, the user information includes one or more of the following information: The avatar, the name of the resource receiver, or the association relationship between the at least one resource receiver, etc., by displaying the user information of the above resource receiver, the electronic device can provide the resource sender to consult each resource receiver corresponding to the graphic code , Making it easier to choose. Optionally, in order to facilitate user operations, when displaying the at least one resource receiver information, a selection interface for the resource receiver is also provided; The determining the resource receiver designated by the user according to the user's selection operation includes: The resource receiver designated by the user is determined through the selection interface. As shown in FIG. 2B, it is a schematic diagram of an application interface according to an exemplary embodiment of the present specification. After the resource sender uses an electronic device to scan the graphic code, the graphic code in Fig. 2B takes the information of the four resource receivers as an example To illustrate, the APP displays the images and names of the four resource receivers for users to refer to, and provides a selection interface for each resource receiver. The selection interface in Figure 2B is specifically an option that can be triggered by the user. The user clicks The corresponding option means that the resource receiver is selected, and the APP determines the resource receiver designated by the user by detecting the user's selection operation. In some examples, the graphic code may also carry identification information corresponding to the resource reception instruction data; when the electronic device recognizes the graphic code, if the identification information is recognized, the corresponding resource reception instruction data can be obtained through the identification information. After receiving the resource reception explanatory materials, the resource reception explanatory materials can be displayed for users to consult. There are multiple implementation ways to display the resource receiving instruction data. For example, the resource receiving instruction data and the user information of the at least one resource receiver may be displayed on the same page or on different pages. After sending the resource, the resource sender may have the need to send certain information to the resource receiver. For example, the resource sender may wish to add a description of the resource sending for the resource receiver to consult; for example, at a banquet, etc. In a scenario, the resource sender may wish to express gratitude to the resource receiver as the sponsor, etc. Based on this, in the method of this embodiment, the resource provided by the user can also be obtained to send additional information; when the request server sends the resource allocated by the user to the resource receiver designated by the user, the resource is sent additional information It is sent to the server for the resource receiver side device to display the resource sending additional information. In some examples, the graphic code may also carry valid information of the graphic code, and the valid information includes: valid time range and/or valid geographic location range; therefore, after the graphic code is recognized, the method also It may include: obtaining the current time and/or current geographic location of the device and comparing it with the effective information, and determining whether to allow the user to send the resource to the resource receiver. Through the above embodiment, after the resource receiver initiates a request for generating a graphic code, the graphic code can carry one or more resource receiver information; and the resource sender can select the resource sender after identifying the graphic code using a personal device It expects to send one or more objects of the resource, so it can significantly reduce user operations and improve the processing efficiency of resource receiving and sending. Next, the solution of this specification will be described in detail through an embodiment. As shown in Figure 3A, it is a schematic diagram of the application scenario of the resource receiving and sending solution of the embodiment of this description. Figure 3A includes a server that provides resource management services. The server provides an APP to the user. The APP is installed in an electronic device. APP can implement resource management services, such as storing resources, receiving resources, sending resources, and generating graphics codes for receiving resources. The embodiments of this specification involve two types of users, one is the resource receiver who receives resources, and the other is the resource sender who sends resources. As an example, FIG. 3A shows a user 1 as a resource receiver and a user 2 as a resource sender. As an example, the above resource sending and receiving scheme can be specifically applied to a banquet scene. The resource sending can specifically be sending a red envelope, the resource receiving can specifically be receiving a red envelope, and the resource can specifically be the funds carried in the red envelope. As an example, if the user is going to hold a wedding banquet, the guests attending the wedding banquet usually have the need to give red envelopes. In the wedding banquet scenario, the red envelopes gifted by guests may need to be distributed according to the relationship between the guest and the host. For example, red envelopes gifted by the groom’s relatives and friends need to be distributed to the groom, and red envelopes gifted by the bride’s relatives and friends need to be distributed. For the bride, the red envelopes given by friends and relatives of the groom’s parents need to be distributed to the groom’s parents and so on. In this scenario, the embodiment of this specification can be used to conveniently receive and send red packets. Specifically, the resource in this embodiment is explained by taking funds as an example. User 1 (take the groom as an example) as the resource receiver can trigger the APP to initiate a graphic code generation request. After the APP detects the trigger of user 1, it determines to receive the graphic Code generation request. Further, the APP can obtain and display other user accounts that have a relative relationship with user 1 through data analysis and other methods. User 1 selects the other 5 user accounts (take the bride, groom’s parents, and bride’s parents as examples) as resource recipients. According to User 1’s selection, the APP generates a graphic code carrying the information of the above 6 resource recipients. Optionally, the APP also provides an information acquisition interface, as shown in FIG. 3B, which is a schematic diagram of another application interface shown in this specification according to an exemplary embodiment. As an example, the interface may specifically include the text shown in FIG. 3B Input interface and picture input interface. If user 1 needs it, user 1 can use the text input interface to input text and the picture input interface to input pictures. The APP obtains the text and pictures through the text input interface as the resource interface description data and is the resource Interface description data generates identification information. After that, the user 1 can display the graphic code to guests in a variety of ways when hosting a wedding banquet, for example, printing the graphic code and placing it in the wedding banquet venue, or displaying the graphic code using electronic equipment. After guests arrive at the wedding banquet venue, they can use the electronic device with the aforementioned APP to scan the graphic code. Optionally, if user 1 does not limit the geographic location, the graphic code can be provided to other users who have not arrived at the wedding banquet venue for Other users use electronic devices to scan the graphic code to send red packets. As an example, a guest (user 2) participating in a wedding banquet can scan the graphic code with an electronic device installed with the aforementioned APP. After identifying one or more resource recipient information carried in the graphic code, the APP can send the resource recipient’s User information is displayed. As an example, the user information of the resource receiver may include one or more of the resource receiver’s profile picture, the resource receiver’s name, or the association relationship between the at least one resource receiver, as shown in FIG. 3C As an example, FIG. 3C is a schematic diagram of resource sending, showing the user information of 6 users, and the user information is illustrated with avatars and association relationships as examples. User 2 can select the bride, and the APP determines the resource recipient designated by user 2 according to the selection operation of user 2. The APP may provide a resource input interface in the user interface for the user 2 to input funds sent to the resource receiver. Optionally, the APP can also identify the identification information through the graphic code, and obtain the text and pictures through the identification information to receive the explanatory data. After that, the APP displays the resource sending page, and the resource sending page displays resources such as text and pictures. Receiving instruction data for guests to view. Optionally, both the resource input interface and resource receiving instruction data can be displayed on this page. In other examples, the page may also provide an additional information interface. As an example, as shown in Figure 3C, the additional information interface may be multiple wedding greeting options displayed on the page and a text input interface. User 2 can choose Among them, a wedding greeting is used as a resource to send additional information, and text can also be entered as additional information through the text input interface. Among them, for the convenience of example, the user information, resource input interface, resource receiving description data and additional information interface in Figure 3C are all displayed in the same application interface. In actual applications, other display methods can also be flexibly configured according to needs. The embodiment does not limit this. Through this page, APP can obtain the funds that user 2 expects to send and additional information about resource sending. After that, APP can send the funds as resource information and additional information to the server to request the server to send the funds allocated by user 2 To the resource receiver, at the same time, the resource sending additional information can be sent to the server, and the server can send the resource data and additional information to the resource receiver according to the request of the APP. For user 1 and the multiple resource recipients selected by user 1, the electronic device installed with the APP can be used to check the funds and additional information sent by the resource sender. Optionally, according to the wedding banquet scene, the APP can be red envelopes The user is prompted to receive the funds sent by the resource sender, and the funds and additional information sent by the resource sender are displayed in the user interface for users to consult. Optionally, the APP can also perform statistics on the resource data received by the resource receiver and display the statistical results. Corresponding to the foregoing embodiments of the graphic code generating method, resource receiving method, resource sending method, sending red envelope method, and receiving red envelope method, this specification also provides a graphic code generating device, a resource receiving device, a resource sending device, a red envelope sending device, An embodiment of the red packet receiving device and the terminal to which it is applied. The embodiments of the graphic code generating device/resource receiving device/resource sending device/red packet sending device/receiving red packet device of this specification can be applied to electronic equipment. The device embodiments can be implemented through software, or through hardware or a combination of software and hardware. Taking software implementation as an example, as a logical device, it is formed by reading the corresponding computer program instructions in the non-volatile memory into the memory through the processor that processes the file where it is located. From the hardware level, as shown in Figure 4, this manual is a hardware structure diagram of the electronic equipment where the graphic code generating device/resource receiving device/resource sending device/sending red packet device/receiving red packet device is located, except for the hardware structure shown in Figure 4. In addition to the processor 410, the memory 430, the network interface 420, and the non-volatile memory 440 shown in the embodiment, the electronic device where the device 431 is located in the embodiment usually includes other hardware according to the actual function of the computer device. Body, this will not be repeated here. As shown in FIG. 5, FIG. 5 is a block diagram of a resource sending device according to an exemplary embodiment of this specification, and the device includes: The graphic code identification module 51 is used for: recognizing a graphic code for receiving resources, and at least one resource receiver information carried in the graphic code; The resource receiver display module 52 is configured to display the at least one resource receiver for user selection; The request module 53 is configured to: after determining the resource receiver designated by the user according to the user's selection operation, request the server to send the user's resources to the resource receiver designated by the user. Optionally, the graphic code also carries identification information; The device also includes: The description data acquisition module is used to: obtain the corresponding resource and receive the description data through the identification information; The explanatory data display module is used to display explanatory data received by the resource for users to consult. Optionally, the resource receiver display module is further configured to provide a selection interface for the resource receiver when displaying the information of the at least one resource receiver; The request module is also used for: The resource receiver designated by the user is determined through the selection interface. Optionally, the device further includes: The additional information acquisition module is used to: acquire resources provided by the user and send additional information; The request module is further configured to: when the requesting server sends the resource allocated by the user to the resource receiver designated by the user, send the resource sending additional information to the server for the resource receiver The side device displays the resource and sends additional information. As shown in FIG. 6, FIG. 6 is a block diagram of a resource receiving device according to an exemplary embodiment of this specification, and the device includes: The request receiving module 61 is configured to receive a request for generating a graphic code, where the graphic code is used to receive resources; The resource receiver determining module 62 is used to determine at least one resource receiver for receiving resources; The graphic code generating module 63 is used for generating graphic codes carrying the at least one resource receiver information, and the graphic codes are used to display the at least one resource receiver information for selection by the resource sender after being identified, After determining the resource receiver designated by the resource sender according to the selection operation of the resource sender, the server is requested to send the resource of the resource sender to the resource receiver designated by the resource sender. Optionally, the device further includes: The description data acquisition module is used to: use a preset information acquisition interface to obtain the resource reception description data specified by the user, and generate corresponding identification information for the resource reception description data; The graphic code generation module is also used for: A graphic code carrying the at least one resource receiver information and the identification information is generated, and the graphic code is also used to display resource reception explanatory data corresponding to the identification information for users to refer to after being identified. Optionally, the resource receiver determining module is further used for: After obtaining the account information of the logged-in user, determine several other user accounts associated with the logged-in user; After displaying the user account and/or the several other user accounts, the user account designated by the user is used as the resource receiver. Optionally, the several other user accounts that are associated with the user include: user accounts that have a relative relationship with the user. Optionally, the device further includes: The resource data acquisition module is used to acquire the resource data sent by the resource sender to the designated resource receiver after identifying the graphic code; The statistics module is used to perform statistics on the resource data received by the at least one resource receiver and display the statistics result. Optionally, the graphic code also carries valid information, and the valid information indicates the effective time range and/or the effective geographic location range allowed to send the resource, and is used for identity verification when the resource sender sends the resource. As shown in Fig. 7, Fig. 7 is a block diagram of a graphic code generating apparatus according to an exemplary embodiment of this specification, and the apparatus includes: The request receiving module 71 is configured to receive a request for generating a graphic code, where the graphic code is used to receive resources; The resource receiver determining module 72 is configured to determine at least one resource receiver for receiving resources; The graphic code generating module 73 is used for generating graphic codes carrying information of the at least one resource receiver. As shown in FIG. 8, FIG. 8 is a block diagram of a device for sending red packets according to an exemplary embodiment of this specification, and the device includes: The graphic code recognition module 81 is used for recognizing the graphic code used to receive red packets, and at least one recipient information carried in the graphic code; The receiver display module 82 is used to display the at least one receiver information for the user to choose; The request module 83 is configured to: after determining the recipient specified by the user according to the user's selection operation, request the server to send the user's funds to the recipient specified by the user. As shown in FIG. 9, FIG. 9 is a block diagram of a device for receiving red packets according to an exemplary embodiment of this specification, and the device includes: The request receiving module 91 is configured to receive a request for generating a graphic code, and the graphic code is used to send a red envelope; The receiver determining module 92 is used for determining at least one receiver for receiving red packets; The graphic code generation module 93 is used to generate graphic codes carrying the at least one recipient information, and the graphic codes are used to display the at least one recipient information for selection by the sender after being identified, and according to the sending After the party's selection operation determines the receiver designated by the sender, the server is requested to send the sender's funds to the receiver designated by the sender. Correspondingly, this specification also provides an electronic device, including: processor; Memory used to store executable instructions of the processor; Wherein, the processor is configured to: Identifying a graphic code used to receive resources, and at least one resource receiver information carried in the graphic code; Displaying the at least one resource receiver for the user to select; After determining the resource receiver designated by the user according to the user's selection operation, request the server to send the user's resources to the resource receiver designated by the user. Correspondingly, this specification also provides an electronic device, including: processor; Memory used to store executable instructions of the processor; Wherein, the processor is configured to: Receiving a graphic code generation request, the graphic code being used to receive resources; Determine at least one resource receiver for receiving resources; Generate a graphic code carrying the information of the at least one resource receiver, the graphic code is used to display the information of the at least one resource receiver after being identified for the resource sender to select, and determine the resource according to the resource sender's selection operation After the resource receiver designated by the sender, the server is requested to send the resource of the resource sender to the resource receiver designated by the resource sender. For the implementation process of the functions and roles of each module in the above-mentioned device, refer to the implementation process of the corresponding steps in the above-mentioned method for details, which will not be repeated here. For the device embodiment, since it basically corresponds to the method embodiment, the relevant part can refer to the part of the description of the method embodiment. The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules. , Which can be located in one place, or distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution in this specification. Those of ordinary skill in the art can understand and implement it without creative work. The foregoing describes specific embodiments of this specification. Other embodiments are within the scope of the attached patent application. In some cases, the actions or steps described in the scope of the patent application may be performed in a different order from the embodiment and still achieve desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or sequential order shown to achieve the desired result. In some embodiments, multiplexing and parallel processing are also possible or may be advantageous. Those skilled in the art will easily think of other embodiments of this specification after considering the specification and practicing the invention described herein. This specification is intended to cover any variations, uses, or adaptive changes of this specification. These variations, uses, or adaptive changes follow the general principles of this specification and include common knowledge or customary technical means in the technical field not described in this specification . The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the specification are pointed out by the following patent application scope. It should be understood that this specification is not limited to the precise structure that has been described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this specification is only limited by the scope of the attached patent application. The above are only the preferred embodiments of this specification, and are not intended to limit this specification. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this specification shall be included in this specification Within the scope of protection.

51‧‧‧圖形碼識別模組 52‧‧‧資源接收方展示模組 53‧‧‧請求模組 61‧‧‧請求接收模組 62‧‧‧資源接收方確定模組 63‧‧‧圖形碼產生模組 71‧‧‧請求接收模組 72‧‧‧資源接收方確定模組 73‧‧‧圖形碼產生模組 81‧‧‧圖形碼識別模組 82‧‧‧接收方展示模組 83‧‧‧請求模組 91‧‧‧請求接收模組 92‧‧‧接收方確定模組 93‧‧‧圖形碼產生模組 410‧‧‧處理器 420‧‧‧網路介面 430‧‧‧記憶體 431‧‧‧圖形碼產生裝置/資源接收裝置/資源發送裝置/發送紅包裝置/接收紅包裝置 440‧‧‧非易失性記憶體51‧‧‧Graphic code recognition module 52‧‧‧Receiver display module 53‧‧‧Request Module 61‧‧‧Request receiving module 62‧‧‧Resource receiver determination module 63‧‧‧Graphic code generation module 71‧‧‧Request receiving module 72‧‧‧Resource receiver determination module 73‧‧‧Graphic code generation module 81‧‧‧Graphic code recognition module 82‧‧‧Recipient display module 83‧‧‧Request Module 91‧‧‧Request receiving module 92‧‧‧Recipient Confirmation Module 93‧‧‧Graphic code generation module 410‧‧‧Processor 420‧‧‧Network interface 430‧‧‧Memory 431‧‧‧Graphic code generating device/resource receiving device/resource sending device/red packet sending device/receiving red packet device 440‧‧‧Non-volatile memory

此處的附圖被併入說明書中並構成本說明書的一部分,示出了符合本說明書的實施例,並與說明書一起用來解釋本說明書的原理。 圖1是本說明書根據一示例性實施例示出的一種圖形碼產生方法的流程圖。 圖2A是本說明書根據一示例性實施例示出的一種資源發送方法的流程圖。 圖2B是本說明書根據一示例性實施例示出的一種應用介面示意圖。 圖3A是本說明書根據一示例性實施例示出的一種資源接收和發送方案的應用場景圖。 圖3B是本說明書根據一示例性實施例示出的另一種應用介面示意圖。 圖3C是本說明書根據一示例性實施例示出的一種資源發送示意圖。 圖4是本說明書根據一示例性實施例示出的一種圖形碼產生裝置/資源接收裝置/資源發送裝置/發送紅包裝置/接收紅包裝置所在電子設備的一種硬體結構圖。 圖5是本說明書根據一示例性實施例示出的一種資源發送裝置的方塊圖。 圖6是本說明書根據一示例性實施例示出的一種資源接收裝置的方塊圖。 圖7是本說明書根據一示例性實施例示出的一種圖形碼產生裝置的方塊圖。 圖8是本說明書根據一示例性實施例示出的一種發送紅包裝置的方塊圖。 圖9是本說明書根據一示例性實施例示出的一種接收紅包裝置的方塊圖。The drawings herein are incorporated into the specification and constitute a part of the specification, show embodiments conforming to the specification, and are used together with the specification to explain the principle of the specification. Fig. 1 is a flowchart of a method for generating a graphic code according to an exemplary embodiment of the present specification. Fig. 2A is a flowchart showing a method for sending resources according to an exemplary embodiment of this specification. Fig. 2B is a schematic diagram showing an application interface according to an exemplary embodiment of this specification. Fig. 3A is an application scenario diagram of a resource receiving and sending solution shown in this specification according to an exemplary embodiment. Fig. 3B is a schematic diagram showing another application interface according to an exemplary embodiment of this specification. Fig. 3C is a schematic diagram of resource sending according to an exemplary embodiment of this specification. Fig. 4 is a hardware structure diagram of an electronic device where a graphic code generating device/resource receiving device/resource sending device/a red packet sending device/a red packet receiving device is located according to an exemplary embodiment of the present specification. Fig. 5 is a block diagram of a resource sending device according to an exemplary embodiment of this specification. Fig. 6 is a block diagram of a resource receiving device according to an exemplary embodiment of this specification. Fig. 7 is a block diagram of a graphic code generating device according to an exemplary embodiment of this specification. Fig. 8 is a block diagram of a device for sending red packets according to an exemplary embodiment of this specification. Fig. 9 is a block diagram of a device for receiving red packets according to an exemplary embodiment of this specification.

Claims (20)

一種資源發送方法,該方法包括:識別用以接收資源的圖形碼,該圖形碼中攜帶有至少一個資源接收方資訊及該圖形碼的有效資訊,該有效資訊包括有效時間範圍和/或有效地理位置範圍;獲取設備目前時間和/或目前地理位置並與該有效資訊進行對比,確定是否允許用戶發送資源給該資源接收方;展示該至少一個資源接收方以供該用戶選擇;以及根據該用戶的選擇操作確定該用戶指定的資源接收方後,請求服務端將該用戶的資源發送給該用戶指定的資源接收方。 A resource sending method, the method comprising: identifying a graphic code for receiving a resource, the graphic code carries at least one resource receiver information and effective information of the graphic code, and the effective information includes a valid time range and/or a valid geographic area Location range; obtain the current time and/or current geographic location of the device and compare it with the effective information to determine whether the user is allowed to send resources to the resource receiver; display the at least one resource receiver for the user to choose; and according to the user After the user-specified resource receiver is determined by the selection operation, the server is requested to send the user's resources to the user-specified resource receiver. 根據請求項1所述的方法,該圖形碼中還攜帶有標識資訊;該方法還包括:透過該標識資訊獲取對應的資源接收說明資料;以及展示該資源接收說明資料以供該用戶查閱。 According to the method described in claim 1, the graphic code also carries identification information; the method further includes: obtaining corresponding resource reception instruction data through the identification information; and displaying the resource reception instruction data for the user to consult. 根據請求項1所述的方法,在展示該至少一個資源接收方資訊時,還提供有針對該資源接收方的選擇介面;該根據該用戶的選擇操作確定該用戶指定的資源接收方,包括: 透過該選擇介面確定該用戶指定的資源接收方。 According to the method of claim 1, when displaying the at least one resource receiver information, a selection interface for the resource receiver is also provided; the determining the resource receiver designated by the user according to the user's selection operation includes: The resource receiver designated by the user is determined through the selection interface. 根據請求項1所述的方法,在展示該至少一個資源接收方時,展示該資源接收方的如下一種或多種用戶資訊:資源接收方頭像、資源接收方名稱或該至少一個資源接收方之間的關聯關係。 According to the method of claim 1, when the at least one resource receiver is displayed, one or more of the following user information of the resource receiver is displayed: the resource receiver’s profile picture, the resource receiver’s name, or the relationship between the at least one resource receiver Relationship. 根據請求項1所述的方法,該方法還包括:獲取該用戶提供的資源發送附加資訊;在該請求服務端將該用戶分配的資源發送給該用戶指定的資源接收方時,將該資源發送附加資訊發送給服務端,以供資源接收方側設備展示該資源發送附加資訊。 According to the method of claim 1, the method further includes: acquiring the resource provided by the user and sending additional information; sending the resource when the request server sends the resource allocated by the user to the resource recipient designated by the user The additional information is sent to the server for the resource receiver side device to display the additional information sent by the resource. 一種資源接收方法,該方法包括:接收圖形碼產生請求,該圖形碼用以接收資源;確定用以接收資源的至少一個資源接收方;以及產生攜帶有該至少一個資源接收方資訊的圖形碼,該圖形碼用於被識別後展示該至少一個資源接收方資訊以供資源發送方選擇,並根據資源發送方的選擇操作確定資源發送方指定的資源接收方後,請求服務端將資源發送方的資源發送給該資源發送方指定的資源接收方,該圖形碼中還攜帶有有效資訊,該有效資訊指示允許進行資源發送的有效時間範圍和/或有效地理位置範圍,並用以在資源發送方發送資源時進行身份校驗。 A resource receiving method, the method comprising: receiving a pattern code generation request, the pattern code being used for receiving resources; determining at least one resource receiver for receiving the resource; and generating a pattern code carrying information of the at least one resource receiver, The graphic code is used to display the at least one resource receiver information for selection by the resource sender after being identified, and after determining the resource receiver designated by the resource sender according to the resource sender’s selection operation, request the server to change the resource sender’s The resource is sent to the resource receiver designated by the resource sender, and the graphic code also carries valid information. The valid information indicates the effective time range and/or the effective geographic location range for which the resource is allowed to be sent, and is used to send to the resource sender Perform identity verification when resources. 根據請求項6所述的方法,該方法還包括:利用預置的資訊獲取介面,獲取用戶指定的資源接收說明資料,為該資源接收說明資料產生對應的標識資訊;該產生攜帶有該至少一個資源接收方資訊的圖形碼,包括:產生攜帶有該至少一個資源接收方資訊和該標識資訊的圖形碼,圖形碼還用於被識別後展示與該標識資訊對應的資源接收說明資料以供該用戶查閱。 According to the method of claim 6, the method further includes: using a preset information acquisition interface to obtain user-specified resource reception instruction data, and generate corresponding identification information for the resource reception instruction data; the generation carries the at least one The graphic code of the resource receiver information includes: generating a graphic code carrying the at least one resource receiver information and the identification information. The graphic code is also used to display the resource reception instruction data corresponding to the identification information after being identified. User review. 根據請求項6所述的方法,該確定用以接收資源的至少一個資源接收方,包括:獲取登錄用戶的帳戶資訊後,確定與該登錄用戶具有關聯的若干個其他用戶帳戶;以及展示該用戶帳戶和/或該若干個其他用戶帳戶後,將該用戶指定的用戶帳戶作為該資源接收方。 According to the method of claim 6, the determining at least one resource recipient to receive the resource includes: after obtaining the account information of the logged-in user, determining a number of other user accounts associated with the logged-in user; and displaying the user After the account and/or the several other user accounts, the user account designated by the user is used as the resource receiver. 根據請求項8所述的方法,該與該用戶具有關聯的若干個其他用戶帳戶包括:與該用戶具有親人關聯關係的用戶帳戶。 According to the method described in claim 8, the plurality of other user accounts associated with the user include: user accounts associated with the user with relatives. 根據請求項6所述的方法,該方法還包括:獲取資源發送方在識別該圖形碼後向指定的資源接收方所發送的資源資料;以及 將該至少一個資源接收方接收的資源資料進行統計,展示統計結果。 According to the method of claim 6, the method further includes: obtaining the resource data sent by the resource sender to the designated resource receiver after identifying the graphic code; and Count the resource data received by the at least one resource receiver, and display the statistics result. 一種圖形碼產生方法,該方法包括:接收圖形碼產生請求,該圖形碼用以接收資源;確定用以接收資源的至少一個資源接收方;以及產生攜帶有該至少一個資源接收方資訊的圖形碼,其中,該至少一個資源接收方包括目前登錄用戶,在獲取該登錄用戶的帳戶資訊後,確定與該登錄用戶具有關聯的若干個其他用戶帳戶,其中,該關聯為地理位置的關聯。 A graphic code generation method, the method comprising: receiving a graphic code generation request, the graphic code being used to receive a resource; determining at least one resource receiver to receive the resource; and generating a graphic code carrying information of the at least one resource receiver , Wherein the at least one resource recipient includes the currently logged-in user, and after obtaining the account information of the logged-in user, it is determined that a number of other user accounts are associated with the logged-in user, wherein the association is a geographic location association. 一種發送紅包方法,該方法包括:識別用以接收紅包的圖形碼,該圖形碼中攜帶的至少一個接收方資訊及該圖形碼的有效資訊,該有效資訊包括有效時間範圍和/或有效地理位置範圍;獲取設備目前時間和/或目前地理位置並與該有效資訊進行對比,確定是否允許用戶發送紅包給該接收方;展示該至少一個接收方資訊以供該用戶選擇;以及根據該用戶的選擇操作確定該用戶指定的接收方後,請求服務端將該用戶的資金發送給該用戶指定的接收方。 A method for sending a red envelope, the method comprising: identifying a graphic code for receiving the red envelope, at least one recipient information carried in the graphic code and valid information of the graphic code, the valid information including a valid time range and/or a valid geographic location Scope; obtain the current time and/or current geographic location of the device and compare it with the effective information, determine whether to allow the user to send red packets to the recipient; display the at least one recipient information for the user to choose; and according to the user’s choice After the operation determines the recipient specified by the user, the server is requested to send the user's funds to the recipient specified by the user. 一種接收紅包方法,該方法包括:接收圖形碼產生請求,該圖形碼用以發送紅包; 確定用以接收紅包的至少一個接收方;以及產生攜帶有該至少一個接收方資訊的圖形碼,該圖形碼用於被識別後展示該至少一個接收方資訊以供發送方選擇,並根據發送方的選擇操作確定發送方指定的接收方後,請求服務端將發送方的資金發送給該發送方指定的接收方,該圖形碼中還攜帶有有效資訊,該有效資訊指示允許進行紅包發送的有效時間範圍和/或有效地理位置範圍,並用以在該發送方發送紅包時進行身份校驗。 A method for receiving a red envelope, the method comprising: receiving a graphic code generation request, the graphic code being used to send a red envelope; Determine at least one recipient to receive the red packet; and generate a graphic code carrying the at least one recipient information, the graphic code is used to display the at least one recipient information for the sender to choose after being identified, and according to the sender After confirming the receiver designated by the sender, request the server to send the sender’s funds to the receiver designated by the sender. The graphic code also carries valid information, which indicates the validity of allowing red envelope sending The time range and/or the effective geographic location range are used to perform identity verification when the sender sends a red envelope. 一種資源發送裝置,該裝置包括:圖形碼識別模組,用於:識別用以接收資源的圖形碼,該圖形碼中攜帶有至少一個資源接收方資訊及該圖形碼的有效資訊,該有效資訊包括有效時間範圍和/或有效地理位置範圍;獲取設備目前時間和/或目前地理位置並與該有效資訊進行對比,確定是否允許用戶發送資源給該資源接收方;資源接收方展示模組,用於:展示該至少一個資源接收方以供該用戶選擇;以及請求模組,用於:根據該用戶的選擇操作確定該用戶指定的資源接收方後,請求服務端將該用戶的資源發送給該用戶指定的資源接收方。 A resource sending device, the device comprising: a pattern code identification module for identifying a pattern code for receiving resources, the pattern code carries at least one resource receiver information and effective information of the pattern code, the effective information Including the effective time range and/or effective geographic location range; obtain the current time and/or current geographic location of the device and compare it with the effective information to determine whether the user is allowed to send resources to the resource receiver; the resource receiver display module is used In: displaying the at least one resource receiver for the user to select; and a request module for: after determining the resource receiver designated by the user according to the user's selection operation, request the server to send the user's resources to the user The resource recipient specified by the user. 根據請求項14所述的裝置,該圖形碼中還攜帶有標識資訊; 該裝置還包括:說明資料獲取模組,用於:透過該標識資訊獲取對應的資源接收說明資料;以及說明資料展示模組,用於:展示該資源接收說明資料以供該用戶查閱。 According to the device according to claim 14, the graphic code also carries identification information; The device also includes: a descriptive data acquisition module for obtaining corresponding resource receiving descriptive data through the identification information; and a descriptive data display module for displaying the resource receiving descriptive data for the user to consult. 根據請求項14所述的裝置,該資源接收方展示模組還用於:在展示該至少一個資源接收方資訊時,還提供有針對該資源接收方的選擇介面;該請求模組,還用於:透過該選擇介面確定該用戶指定的資源接收方。 According to the device of claim 14, the resource receiver display module is further used for: when displaying the at least one resource receiver information, it also provides a selection interface for the resource receiver; the request module also uses Yu: Determine the resource recipient specified by the user through the selection interface. 根據請求項14所述的裝置,該裝置還包括:附加資訊獲取模組,用於:獲取該用戶提供的資源發送附加資訊;以及該請求模組,還用於:在該請求服務端將該用戶分配的資源發送給該用戶指定的資源接收方時,將該資源發送附加資訊發送給服務端,以供資源接收方側設備展示該資源發送附加資訊。 According to the device according to claim 14, the device further includes: an additional information acquisition module for: acquiring resources provided by the user and sending additional information; and the request module, also for: sending additional information on the request server When the resource allocated by the user is sent to the resource receiver designated by the user, the resource sending additional information is sent to the server, so that the resource receiver side device can display the resource sending additional information. 一種資源接收裝置,該裝置包括:請求接收模組,用於:接收圖形碼產生請求,該圖形碼用以接收資源;資源接收方確定模組,用於:確定用以接收資源的至 少一個資源接收方;以及圖形碼產生模組,用於:產生攜帶有該至少一個資源接收方資訊的圖形碼,該圖形碼用於被識別後展示該至少一個資源接收方資訊以供資源發送方選擇,並根據資源發送方的選擇操作確定資源發送方指定的資源接收方後,請求服務端將資源發送方的資源發送給該資源發送方指定的資源接收方,該圖形碼中還攜帶有有效資訊,該有效資訊指示允許進行資源發送的有效時間範圍和/或有效地理位置範圍,並用以在資源發送方發送資源時進行身份校驗。 A resource receiving device, the device comprising: a request receiving module for: receiving a request for generating a graphic code, the graphic code for receiving a resource; a resource receiver determining module, for determining the destination for receiving the resource One less resource receiver; and a graphic code generation module for generating a graphic code carrying the at least one resource receiver information, the graphic code being used to display the at least one resource receiver information for resource transmission after being identified After selecting the resource and determining the resource receiver designated by the resource sender according to the resource sender’s selection operation, request the server to send the resource of the resource sender to the resource receiver designated by the resource sender. The graphic code also carries Effective information, the effective information indicates the effective time range and/or the effective geographic location range allowed to send the resource, and is used for identity verification when the resource sender sends the resource. 一種電子設備,包括:處理器;以及用以儲存處理器可執行指令的記憶體;其中,該處理器被配置成:識別用以接收資源的圖形碼,該圖形碼中攜帶的至少一個資源接收方資訊及該圖形碼的有效資訊,該有效資訊包括有效時間範圍和/或有效地理位置範圍;獲取設備目前時間和/或目前地理位置並與該有效資訊進行對比,確定是否允許用戶發送資源給該資源接收方;展示該至少一個資源接收方以供用戶選擇;以及根據用戶的選擇操作確定用戶指定的資源接收方後,請求服務端將用戶的資源發送給該用戶指定的資源接收方。 An electronic device includes: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to: identify a graphic code used to receive a resource, and at least one resource carried in the graphic code receives Party information and the effective information of the graphic code, the effective information includes the effective time range and/or the effective geographic location range; obtain the current time and/or the current geographic location of the device and compare with the effective information to determine whether the user is allowed to send resources to The resource receiver; displaying the at least one resource receiver for the user to select; and after determining the resource receiver designated by the user according to the user's selection operation, request the server to send the user's resources to the resource receiver designated by the user. 一種電子設備,包括:處理器;以及用以儲存處理器可執行指令的記憶體;其中,該處理器被配置成:接收圖形碼產生請求,該圖形碼用以接收資源;確定用以接收資源的至少一個資源接收方;以及產生攜帶有該至少一個資源接收方資訊的圖形碼,該圖形碼用於被識別後展示該至少一個資源接收方資訊以供資源發送方選擇,並根據資源發送方的選擇操作確定資源發送方指定的資源接收方後,請求服務端將資源發送方的資源發送給該資源發送方指定的資源接收方,該圖形碼中還攜帶有有效資訊,該有效資訊指示允許進行資源發送的有效時間範圍和/或有效地理位置範圍,並用以在資源發送方發送資源時進行身份校驗。 An electronic device includes: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to: receive a request for generating a graphic code, the graphic code is used to receive a resource; At least one resource receiver of the resource; and generating a graphic code carrying the information of the at least one resource receiver, the graphic code is used to display the information of the at least one resource receiver for selection by the resource sender after being identified, and according to the resource sender After determining the resource receiver designated by the resource sender, request the server to send the resource of the resource sender to the resource receiver designated by the resource sender. The graphic code also carries valid information, which indicates permission The effective time range and/or effective geographic location range for sending the resource are used to perform identity verification when the resource sender sends the resource.
TW107144770A 2018-01-24 2018-12-12 Graphic code generation method, resource sending and receiving method, device and electronic equipment TWI706329B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201810069246.2A CN108364171B (en) 2018-01-24 2018-01-24 Graphical code generation method, resource sending and receiving method, device and electronic device
??201810069246.2 2018-01-24
CN201810069246.2 2018-01-24

Publications (2)

Publication Number Publication Date
TW201933186A TW201933186A (en) 2019-08-16
TWI706329B true TWI706329B (en) 2020-10-01

Family

ID=63006674

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107144770A TWI706329B (en) 2018-01-24 2018-12-12 Graphic code generation method, resource sending and receiving method, device and electronic equipment

Country Status (3)

Country Link
CN (2) CN108364171B (en)
TW (1) TWI706329B (en)
WO (1) WO2019144757A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108364171B (en) * 2018-01-24 2020-09-01 阿里巴巴集团控股有限公司 Graphical code generation method, resource sending and receiving method, device and electronic device
CN109034757A (en) * 2018-08-10 2018-12-18 上海掌门科技有限公司 Method and apparatus for distributing resource, getting resource, issue resource
CN110163596B (en) * 2019-05-05 2021-07-23 中国工商银行股份有限公司 Resource limit sharing system and method
CN110245929A (en) * 2019-06-19 2019-09-17 维沃移动通信有限公司 A kind of transfer account method and terminal device
CN113011930A (en) * 2021-04-25 2021-06-22 深圳思为科技有限公司 Method and device for releasing promotion information based on solar codes
CN115987926B (en) * 2021-10-13 2025-08-01 腾讯科技(深圳)有限公司 Group entering method based on group graphic codes and graphic code transmitting method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012083093A1 (en) * 2010-12-15 2012-06-21 Visa International Service Association Social media payment platform apparatuses, methods and systems
CN103870488A (en) * 2012-12-13 2014-06-18 联想(北京)有限公司 File obtaining method and electronic device
US20150248664A1 (en) * 2011-02-16 2015-09-03 Visa International Service Association Snap Mobile Payment Apparatuses, Methods and Systems
CN105701659A (en) * 2016-03-11 2016-06-22 广州云移信息科技有限公司 Two-dimensional code-based network payment method and system

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006049425A1 (en) * 2004-11-02 2006-05-11 Yong-Seok Jeong Method and apparatus for requesting service using multi-dimensional code
KR20150021306A (en) * 2013-08-20 2015-03-02 (주)인스타페이 Shopping payment systme and method of using graphical code including bar code or qr code
CN104143105A (en) * 2013-09-22 2014-11-12 腾讯科技(深圳)有限公司 Graph recognition method, device and system and terminal device
CN105809481B (en) * 2014-01-29 2021-06-18 腾讯科技(深圳)有限公司 Virtual item sending method, receiving method, device and system
CN104573605B (en) * 2014-12-19 2017-11-28 深圳市金立通信设备有限公司 A kind of Quick Response Code control method
CN104732380A (en) * 2015-02-16 2015-06-24 小米科技有限责任公司 Method and device for conducting account transfer processing
CN105072103A (en) * 2015-07-29 2015-11-18 百度在线网络技术(北京)有限公司 Method for calling based on pattern code and device
CN105096107B (en) * 2015-08-28 2020-01-17 北京健康之家科技有限公司 A method and system for secure transfer through fingerprint identification
CN106959984A (en) * 2016-01-08 2017-07-18 深圳市星电商科技有限公司 Resource interaction method, system and resource acquisition device
CN106961347A (en) * 2016-01-08 2017-07-18 深圳市星电商科技有限公司 A kind of resource is sent, acquisition methods and resource send, obtain equipment
CN108364171B (en) * 2018-01-24 2020-09-01 阿里巴巴集团控股有限公司 Graphical code generation method, resource sending and receiving method, device and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012083093A1 (en) * 2010-12-15 2012-06-21 Visa International Service Association Social media payment platform apparatuses, methods and systems
US20150248664A1 (en) * 2011-02-16 2015-09-03 Visa International Service Association Snap Mobile Payment Apparatuses, Methods and Systems
CN103870488A (en) * 2012-12-13 2014-06-18 联想(北京)有限公司 File obtaining method and electronic device
CN103870488B (en) 2012-12-13 2018-04-27 联想(北京)有限公司 File acquisition method and electronic equipment
CN105701659A (en) * 2016-03-11 2016-06-22 广州云移信息科技有限公司 Two-dimensional code-based network payment method and system

Also Published As

Publication number Publication date
CN112288413B (en) 2024-11-05
CN108364171A (en) 2018-08-03
WO2019144757A1 (en) 2019-08-01
TW201933186A (en) 2019-08-16
CN108364171B (en) 2020-09-01
CN112288413A (en) 2021-01-29

Similar Documents

Publication Publication Date Title
TWI706329B (en) Graphic code generation method, resource sending and receiving method, device and electronic equipment
US11250887B2 (en) Routing messages by message parameter
US10524087B1 (en) Message destination list mechanism
TWI667592B (en) Virtual object allocation method and device based on augmented reality
US9854219B2 (en) Gallery of videos set to an audio time line
US10637862B2 (en) Privacy setting method, apparatus, and system
EP3713159B1 (en) Gallery of messages with a shared interest
US10063547B2 (en) Authorization authentication method and apparatus
US9774558B2 (en) Method and system for inter-social network communications
US9794264B2 (en) Privacy controlled network media sharing
US8843573B2 (en) Lightweight messaging with location between users of a social networking system
US10348843B2 (en) Must-reply mobile questionnaire system and method
CN107911284A (en) A kind of method for access to content control
KR20140035394A (en) Selective linking of message accounts
WO2019062586A1 (en) Method and apparatus for displaying conference information
CN106027360A (en) System and method for establishing anonymous channels using instant messaging service
US20120089691A1 (en) Unidentified recipients message exchange service providing method
US20200349520A1 (en) Systems and methods for exchanging digital cards
CN108027783A (en) Submission information provider unit and terminal installation
CN116471249A (en) Information processing method, information processing device, electronic equipment and storage medium
WO2022161289A1 (en) Identity information display method and apparatus, and terminal, server and storage medium
US12505243B2 (en) Image and message management and archiving for events
CN114584978B (en) Value-added service authentication methods, devices, equipment and readable media
US20100180323A1 (en) Stateful server based social networking using mobile devices
HK40045072A (en) Graphical code generation method, resource sending and receiving method and device and electronic equipment

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees