CN111736885A - Program creating method, program creating apparatus, computer device, and computer-readable storage medium - Google Patents

Program creating method, program creating apparatus, computer device, and computer-readable storage medium Download PDF

Info

Publication number
CN111736885A
CN111736885A CN202010816650.9A CN202010816650A CN111736885A CN 111736885 A CN111736885 A CN 111736885A CN 202010816650 A CN202010816650 A CN 202010816650A CN 111736885 A CN111736885 A CN 111736885A
Authority
CN
China
Prior art keywords
account
platform
store
program
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010816650.9A
Other languages
Chinese (zh)
Other versions
CN111736885B (en
Inventor
方思维
曹光鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Koubei Network Technology Co Ltd
Original Assignee
Zhejiang Koubei Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Koubei Network Technology Co Ltd filed Critical Zhejiang Koubei Network Technology Co Ltd
Priority to CN202010816650.9A priority Critical patent/CN111736885B/en
Publication of CN111736885A publication Critical patent/CN111736885A/en
Application granted granted Critical
Publication of CN111736885B publication Critical patent/CN111736885B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a program creating method, a program creating device, computer equipment and a computer readable storage medium, and relates to the technical field of Internet. The method comprises the following steps: receiving a program creating request, and determining a first account for issuing the program creating request; acquiring a second account corresponding to the first account on a second platform; extracting stores corresponding to the second account in the second platform; and establishing an initial program in the first platform according to the program parameters issued by the first account, and binding the store with the initial program to obtain the target program.

Description

Program creating method, program creating apparatus, computer device, and computer-readable storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a program creating method and apparatus, a computer device, and a computer-readable storage medium.
Background
With the continuous development of the internet technology, more and more programs are supported and run by the terminal, and people can efficiently and accurately complete the processing of data through the programs, so that great convenience is brought to life and work. The traditional program is not convenient to use only by downloading and installing in a terminal, so that a small program is derived at present. The applet is a program which can be used without downloading and installation, can save the use time cost and the storage space of the terminal for people, and is widely applied to the take-out industry at present. In the take-out industry, a merchant usually creates an applet and displays commodities in a store in the applet, so that a user can directly enter the applet and directly buy commodities in the applet by only searching for the corresponding applet in a held terminal.
In the related technology, when a merchant creates an applet, the merchant needs to go to an application providing the applet creating function to request creation of the applet by the identity of the merchant, and a series of contents such as related commodities, information, description and the like are input according to an application instruction, and after an application auditor audits the contents provided by the merchant and passes the content, the applet is successfully created, and a user is really touched.
In the process of implementing the invention, the inventor finds that the related art has at least the following problems:
the merchant may already provide online service in the application at present, but the online service and the functional data of the applet created by the application cannot be used universally, the merchant still needs to upload the online service and the applet created by the application manually, a large amount of repeated workload is involved, the process is complex, and manpower and material resources are wasted.
Disclosure of Invention
In view of the above, the present invention provides a program creating method, an apparatus, a computer device, and a computer readable storage medium, and mainly aims to solve the problems that functional data of a current online service and application creation applet cannot be used universally, a merchant still needs to upload the functional data manually, a large amount of repeated workload is involved, the process is complicated, and manpower and material resources are wasted.
According to a first aspect of the present invention, there is provided a program creating method including:
receiving a program creating request, and determining a first account which issues the program creating request, wherein the first account is a registered account in a first platform where the first account is located currently;
acquiring a second account corresponding to the first account on a second platform, wherein the second platform is a platform for providing program service for a target program to be created;
extracting stores corresponding to the second account in the second platform;
and creating an initial program in the first platform according to the program parameters issued by the first account, and binding the store with the initial program to obtain the target program.
In another embodiment, the obtaining a second account corresponding to the first account on a second platform includes:
detecting whether the first account has the second account with a binding relationship in the second platform;
if the first account is determined to have the second account with the binding relationship in the second platform, acquiring the second account, and continuing to determine a service brand corresponding to the second account in the second platform;
and if the first account does not have the second account with the binding relationship in the second platform, receiving a user identifier sent by the first account, and inquiring or registering the second account for the first account on the second platform.
In another embodiment, the receiving the user identifier issued by the first account, and querying or registering the second account for the first account on the second platform includes:
receiving the user identification input based on the first account, and inquiring whether the user identification has a corresponding second account in the second platform;
when the user identification is determined to have the corresponding second account number in the second platform, logging in the second platform based on the second account number, and binding the first account number and the second account number;
when it is determined that the user identifier does not have the corresponding second account in the second platform, the user identifier is adopted to create the second account in the second platform, the service brand input together with the user identifier is obtained, the first account and the second account are bound, and the corresponding relationship between the second account and the service brand is established.
In another embodiment, the extracting, in the second platform, the store corresponding to the second account includes:
determining a service brand corresponding to the second account in the second platform, and authorizing the service brand based on the payment information of the first account;
inquiring a store corresponding to the service brand in the second platform;
if the service brand does not exist in the corresponding store in the second platform, calling platform store information corresponding to the first account in the first platform, creating a store of the service brand, and binding the service brand with the store;
if the service brand exists in a corresponding store in the second platform, at least one candidate store corresponding to the service brand is extracted from the second platform, and the store is determined from the at least one candidate store based on the first account.
In another embodiment, the determining the store among the at least one candidate store based on the first account number comprises:
extracting candidate stores having a binding relationship with the platform store information from the at least one candidate store;
if the candidate stores having the binding relationship with the platform store information are extracted successfully, taking the extracted candidate stores as the stores;
if the candidate stores having the binding relationship with the platform store information are extracted unsuccessfully, acquiring an associated store associated with the platform store information from an interest point database, and taking the candidate store having the binding relationship with the associated store in the at least one candidate store as the store;
and determining a target service indicated by the program creation request, and marking the store by using a service identifier of the target service.
In another embodiment, the method further comprises:
when no candidate store having a binding relationship with the associated store exists in the at least one candidate store, determining login position information of the first account;
querying the at least one candidate store for a candidate store matching the login location information and the platform store information;
if the candidate store matched with the login position information and the platform store information is successfully inquired, the inquired candidate store is taken as the store, the store address of the store is matched with the login position information, and the store name is matched with the platform store information;
and if the candidate stores matched with the login position information and the platform store information are queried unsuccessfully, creating stores of the service brand according to the platform store information, and binding the service brand with the stores.
In another embodiment, the method further comprises:
when the fact that the service brand has a corresponding brand program in the second platform is detected, pushing the brand program serving as the target program to the first account;
and displaying a management page of the brand program in the first account.
In another embodiment, the target program is a merchant program running in social software or transactional software, the target program for providing interaction between a merchant and a customer.
According to a second aspect of the present invention, there is provided a program creating apparatus including:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a program creating request and determining a first account number which issues the program creating request, and the first account number is a registered account number in a first platform where the first account number is located currently;
the acquisition module is used for acquiring a second account corresponding to the first account on a second platform, and the second platform is a platform for providing program service for a target program to be created;
the first determining module is used for extracting stores corresponding to the second account in the second platform;
and the creating module is used for creating an initial program in the first platform according to the program parameters issued by the first account, and binding the store with the initial program to obtain the target program.
In another embodiment, the obtaining module includes:
a detecting unit, configured to detect whether the first account has a second account with a binding relationship in the second platform;
an obtaining unit, configured to, if it is determined that the first account has the second account with the binding relationship in the second platform, obtain the second account, and continue to determine a service brand corresponding to the second account in the second platform;
a receiving unit, configured to receive a user identifier issued by the first account if it is determined that the first account does not have the second account with a binding relationship in the second platform, and query or register the second account for the first account on the second platform.
In another embodiment, the receiving unit is configured to receive the user identifier input based on the first account, and query whether the user identifier has a corresponding second account in the second platform; when the user identification is determined to have the corresponding second account number in the second platform, logging in the second platform based on the second account number, and binding the first account number and the second account number; when it is determined that the user identifier does not have the corresponding second account in the second platform, the user identifier is adopted to create the second account in the second platform, the service brand input together with the user identifier is obtained, the first account and the second account are bound, and the corresponding relationship between the second account and the service brand is established.
In another embodiment, the first determining module includes:
the authorization unit is used for determining a service brand corresponding to the second account in the second platform and authorizing the service brand based on the payment information of the first account;
the query unit is used for querying stores corresponding to the service brands in the second platform;
a creating unit, configured to, if the service brand does not exist in the second platform as a corresponding store, invoke platform store information corresponding to the first account in the first platform, create a store of the service brand, and bind the service brand with the store;
a determining unit, configured to, if there is a corresponding store of the service brand in the second platform, extract at least one candidate store corresponding to the service brand in the second platform, and determine the store in the at least one candidate store based on the first account.
In another embodiment, the determining unit is configured to extract, from the at least one candidate store, a candidate store having a binding relationship with the platform store information; if the candidate stores having the binding relationship with the platform store information are extracted successfully, taking the extracted candidate stores as the stores; if the candidate stores having the binding relationship with the platform store information are extracted unsuccessfully, acquiring an associated store associated with the platform store information from an interest point database, and taking the candidate store having the binding relationship with the associated store in the at least one candidate store as the store; and determining a target service indicated by the program creation request, and marking the store by using a service identifier of the target service.
In another embodiment, the determining unit is further configured to determine login location information of the first account when no candidate store having a binding relationship with the associated store exists in the at least one candidate store; querying the at least one candidate store for a candidate store matching the login location information and the platform store information; if the candidate store matched with the login position information and the platform store information is successfully inquired, the inquired candidate store is taken as the store, the store address of the store is matched with the login position information, and the store name is matched with the platform store information; and if the candidate stores matched with the login position information and the platform store information are queried unsuccessfully, creating stores of the service brand according to the platform store information, and binding the service brand with the stores.
In another embodiment, the apparatus further comprises:
the second determining module is used for pushing the brand program serving as the target program to the first account when the brand program corresponding to the service brand is detected to exist in the second platform;
and the display module is used for displaying the management page of the brand program in the first account.
In another embodiment, the target program is a merchant program running in social software or transactional software, the target program for providing interaction between a merchant and a customer.
According to a third aspect of the present invention, there is provided a computer device comprising a memory storing a computer program and a processor implementing the steps of the method of the first aspect when the processor executes the computer program.
According to a fourth aspect of the present invention, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of the first aspect described above.
By means of the technical scheme, the program creating method, the program creating device, the computer equipment and the computer readable storage medium provided by the invention have the advantages that when a program creating request of a user in a first platform is received, through a first account used by the user in the first platform, inquiring a second account number bound with the first account number in a second platform, directly and automatically creating a target program for a merchant in the first platform according to a store corresponding to the second account number in the second platform, realizing data sharing in the first platform and the second platform without manually inputting information about the store by a user, the store that the user has successfully registered in the second platform can be directly used for creating the program, the link of examining and verifying the content provided by the merchant by the platform is omitted, the repeated workload is avoided, the program creating process is simplified, and a large amount of manpower and material resources are saved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a program creating method according to an embodiment of the present invention;
FIG. 2A is a flow chart of a program creating method according to an embodiment of the present invention;
FIG. 2B is a flowchart illustrating a program creating method according to an embodiment of the present invention;
fig. 3A is a schematic structural diagram illustrating a program creating apparatus according to an embodiment of the present invention;
fig. 3B is a schematic structural diagram of a program creating apparatus according to an embodiment of the present invention;
fig. 3C is a schematic structural diagram illustrating a program creating apparatus according to an embodiment of the present invention;
fig. 3D is a schematic structural diagram illustrating a program creating apparatus according to an embodiment of the present invention;
fig. 4 shows a schematic device structure diagram of a computer apparatus according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
An embodiment of the present invention provides a program creating method, as shown in fig. 1, the method including:
101. receiving a program creating request, and determining a first account of the program creating request, wherein the first account is a registered account in a first platform where the first account is located currently.
102. And acquiring a second account corresponding to the first account on a second platform, wherein the second platform is a platform for providing program service for the target program to be created.
103. And extracting the store corresponding to the second account in the second platform.
104. And establishing an initial program in the first platform according to the program parameters issued by the first account, and binding the store with the initial program to obtain the target program.
According to the method provided by the embodiment of the invention, when a program creation request of a user in a first platform is received, a second account bound with the first account is inquired in a second platform through the first account used by the user in the first platform, and a target program is directly and automatically created for a merchant in the first platform according to a store corresponding to the second account in the second platform.
An embodiment of the present invention provides a program creating method, as shown in fig. 2A, the method including:
201. and receiving a program creating request, and determining a first account issuing the program creating request.
In recent years, with the favor of people to the applets, more and more merchants create the applets of their stores, and increase popularity for the stores while meeting the daily shopping demands of people. The applet is provided by the terminal application, and depends on a platform of the terminal application during running, and when the function and the Service are provided, the function and the Service are usually provided by another third party platform, such as a SaaS (Software-as-a-Service) platform, so when the merchant creates the applet belonging to the merchant, a series of information is generally uploaded according to the guidance of the terminal application, and the applet created by the merchant can really reach the customer after the approval of the terminal application and the third party platform. The inventor realizes that in the process of creating the applet, since the third-party platform provides the program service for many applications, and the merchant may already have an operated store, a webpage, an online service and the like in one of other platforms where the third-party platform provides the program service, but the merchant also needs to re-input information of the store, the webpage, the online service and the like in the current platform for creating the applet, and the content already existing in the third-party platform has no way to be shared to the current platform for use. Moreover, the information input by the merchant in the current platform again needs to be audited by the two platforms again, and both the merchant and the platforms involve a large amount of repeated workload, the process is complicated, and manpower and material resources are wasted. Therefore, the invention provides a program creating method, wherein a platform for creating a program according to a current request of a merchant is a first platform, a platform for providing a program service for the program is a second platform (namely, the third-party platform mentioned above is the second platform), when a program creating request of the merchant in the first platform is received, a first account used by the merchant in the first platform is inquired in the second platform for a second account bound with the first account, a target program is directly and automatically created for the merchant in the first platform according to a service brand and a store of the service brand corresponding to the second account in the second platform, data sharing is realized in the first platform and the second platform, the merchant does not need to manually input information about the store, the program can be created by directly utilizing the store which is successfully registered in the second platform, and a link of auditing the content provided by the merchant by the platform is omitted, the method avoids the execution of repeated workload, simplifies the process of program creation and saves a large amount of manpower and material resources. In the embodiment of the present invention, for example, the first platform is a platform where a merchant is currently located, and the first platform may specifically be a social platform, an entertainment platform, a shopping platform, and the like; taking the second platform as an example, the second platform is a platform for providing program services for the applet, and the second platform can be specifically a SaaS platform; the merchant is also the user using the first account in the embodiment of the present invention.
When a user uses the functions of the platform, the user usually needs to log in the platform to indicate the identity of the user, so that the platform can provide corresponding services according to the needs of the user, and therefore, the user can log in the first platform, an account number used by the user for logging in the first platform is a first account number, and the first account number is a registered account number in the first platform where the user is located at present. After a user logs in a first platform, the first platform is provided with a program creation entrance at the front end, when the entrance is detected to be triggered by the user, the program creation request of the user is determined to be received, the current account number logged in the first platform is determined as the first account number which issues the program creation request, and the program creation work is carried out according to the first account number in the follow-up process.
202. And acquiring a second account corresponding to the first account on a second platform.
In the embodiment of the invention, the second platform is a platform for providing program service for a target program to be created, the second platform provides program and software service for a plurality of external platforms in practical application, and a user is likely to create online stores, online homepages and the like in other platforms depending on the second platform to provide service before the current request for program creation, and the content created by the user is also likely to be content required by the user for creating the program at this time, so that a large amount of workload can be saved by sharing relevant information in the second platform. In the process of practical application, as long as the user uses the service provided by the second platform, the second platform associates the data uploaded by the user in the service with the user in the form of the registered account, so that after the first account is obtained, the second account corresponding to the first account on the second platform can be obtained, and information sharing between the platforms is directly realized based on the binding relationship between the first account and the second account.
In fact, the user may also use the function in the second platform for the first time, a second account is not formed in the second platform, and as long as the user has the second account in the second platform, the second account and the first account have a binding relationship, so that it is necessary to detect whether the first account has the second account having the binding relationship in the second platform. If it is determined that the first account has the second account with the binding relationship in the second platform, it indicates that the user has used the function in the second platform, and there is a high possibility that the information required for creating the program currently exists in the second platform, so that the second account is acquired, and the service brand corresponding to the second account in the second platform is continuously determined, that is, the following step 203 is continuously performed. If the first account does not have a second account with a binding relationship in the second platform, two situations exist, one situation is that the user can not inquire the second account only if the user identification used when the user registers the first account and the user identification used when the user registers the second account are different. Another situation is that the user uses the second platform for the first time, and does not register an account in the second platform yet, so that the user cannot inquire the second account, and needs to be guided to register in the second platform, so that the user is required to provide a user identifier at present, and inquire or register the second account according to the user identifier. Thus, if it is determined that the first account does not have the second account with the binding relationship in the second platform, the front end may display an input page, provide an input frame of the user identifier in the input page, determine to receive the user identifier issued by the user based on the first account when it is detected that the user confirms the input page, and query or register the second account for the first account on the second platform according to the first account. The user identification can be a contact way such as a mobile phone number and a social account of the user, or can also be an identity identification such as a certificate number capable of proving the identity of the user.
Specifically, a user identifier input by a user based on a first account is received, and whether a corresponding second account exists in a second platform or not is inquired. When the user identifier is determined to have the corresponding second account in the second platform, the function that the user uses the second platform once is indicated, the obtained second account is the account of the user in the second platform, the user directly logs in the second platform based on the second account, and the second account can be obtained according to the first account in the following process, so that the first account and the second account are bound. When it is determined that the user identifier does not have a corresponding second account in the second platform, the user may use the second platform for the first time and needs to register for the user in the second platform, so that the user identifier is used to create the second account in the second platform. It should be noted that, the purpose of creating the program by the user is to sell resources in the store, and the selling needs to depend on the service brand, so if the user identifier is adopted to register in the second platform, the user is also required to provide the service brand used in the registration along with the user identifier, so that the resources in the store can be displayed in the program according to the service brand later. Therefore, after the user identifier is registered in the second platform, the service brand input together with the user identifier needs to be acquired, a corresponding relationship between the second account and the service brand is established, and the first account and the second account are bound at the same time. It should be noted that, when the user identifier is used for registration, the user identifier may be directly used as a second account, or a second account may be allocated to the user by the second platform, so that the user identifier needs to be bound with the second account allocated by the second platform, so that the second account may be queried subsequently based on the user identifier, and secondary registration of the user identifier is avoided.
In the actual application process, the above-mentioned query process and registration process may be actually implemented by function keys in the input page. Considering that the user knows whether the user uses the service of the second platform or not by comparison, two functional keys can be actually and directly provided in the input page, wherein one functional key is used for inquiring the second account corresponding to the user identifier and directly logging in the second account, and the other functional key is used for registering the user identifier. On one hand, when the function key for inquiring and logging in is triggered by the user, the input box of the user identification can be displayed at the front end, and after the content confirmation of the user in the input box is detected, whether the user identification has the corresponding second account is inquired. If the account number exists, it is considered that the user identifier is actively provided by the user, and the process provided by the user is that there is a probability of error occurrence, and it is very likely that other account numbers are bound in the first platform, and other account numbers are not the currently logged-in first account number, and blindly binding the first account number and the second account number may cause data confusion, so it is actually required to reversely query whether the user identifier is bound in the first platform or not and whether the bound account number is consistent with the currently logged-in first account number. If it is determined that the user identifier is bound to an account number on the first platform and the bound account number is consistent with the currently logged-in first account number, or the user identifier is not bound to the account number on the first platform, directly logging in the second platform according to the acquired second account number, and directly binding the first account number and the second account number. If it is determined that the user identifier is bound to an account on the first platform and the bound account is inconsistent with the currently logged-in first account, it may be that the user has lost the user identifier, and the user identifier is already bound to another first account and is currently unavailable, and at this time, the user needs to be reminded of an error, so that the user can change the first account or the user identifier, and it is ensured that a binding relationship exists between the first account and the user identifier. On the other hand, when the user triggers the function key for registration, because two contents of the user identifier and the service brand need to be provided during registration, an input box of the user identifier and an input box of the service brand can be displayed at the front end, and after the confirmation of the user for the contents in the input boxes is detected, the registration of the account is started. It should be noted here that, usually, a series of agreements needs to be signed with the user when registering in the platform, so after detecting that the user confirms the content in the input box, the agreement of the platform can also be displayed, when the user agrees with the agreement, the account registration is continued, and when the user disagrees with the agreement, the user directly jumps back to the input page. Then, when the account registration is started, the fact that the user identifier is already registered in the second platform but the user forgets exists, so that whether the user identifier is registered in the second platform can be firstly inquired, and if the user identifier is already registered, the process of reversely inquiring the first account of the user identifier and logging in the second platform in the process is directly executed, which is not described herein again. If the user identifier is not registered, a second account needs to be created in the second platform for the user identifier, a binding relationship between the first account and the second account is established, and a service brand is provided when the user is registered, so that the service brand also needs to be corresponded with the first account. It should be noted that, since the service brand provided by the user is not registered in the second platform, the service brand is also registered in the second platform, and specifically, a group of service brands may be created first, and the service brand may be created under the group, thereby ensuring completeness of the brand structure. In addition, when the service brand is bound with the first account, information such as a pid (Process Identifier), a chain Identifier, a shop Identifier and the like corresponding to the service brand and the first account can be bound, and the bound service brand can be determined by using the information of the first account in the same follow-up Process.
203. And determining a service brand corresponding to the second account in the second platform, and detecting whether a corresponding brand program exists in the service brand in the second platform. When detecting that the service brand does not exist in the second platform, executing the following steps 204 to 205; when it is detected that the service brand has a corresponding brand program in the second platform, the following step 206 is performed.
In the embodiment of the invention, after the registration or query of the second account is completed, since the selling needs to depend on the service brand, the shops with different names are marked by the service brand in the second platform, the service brand is unique in the account, and the integrated management of the same service shop is realized, therefore, the service brand corresponding to the second account in the second platform needs to be determined. However, sometimes, a merchant of the service brand may have successfully created the program of the service brand in another platform, and the operation indicates that the program is expected to be successfully operated on the first platform, so in the embodiment of the present invention, after the service brand is determined, whether the corresponding brand program of the service brand exists in the second platform is detected. When it is detected that the service brand does not exist in the second platform, it indicates that there is no program related to the service brand in other platforms operating on the second platform, and a program needs to be created for the service brand, that is, the following steps 204 to 205 are performed. When detecting that the service brand has a corresponding brand program in the second platform, it indicates that the brand program related to the service brand exists in other platforms operating on the second platform and the brand program is also operating, and may create the target program belonging to the first platform directly based on the brand program operating in the other platforms, without executing the procedure of creating the program, that is, executing the following step 206.
204. And when detecting that the service brand does not have a corresponding brand program in the second platform, determining a store of the service brand according to the service brand corresponding to the second account number in the second platform.
In an embodiment of the invention, upon detecting that a service brand does not exist in the second platform with a corresponding brand program, indicating that other programs that rely on the second platform to run on platforms that do not have a reference to the brand of service, require a program to be created for the brand, generally speaking, a merchant will create a store in advance in some other platform depending on the second platform or the first platform, and then consider creating corresponding target programs for the store in other different platforms in order to expand the services in the store, and the function that the object program actually performs is consistent with the function that the online store performs, and therefore, when a brand program is created for the service brand, a store of the service brand can be determined according to the service brand corresponding to the second account number in the second platform, so that a target program can be created by directly utilizing parameters, data and the like in the store in the following process.
The method comprises the steps that a shop is subjected to resource transaction, payment information of a user can be bound in the shop, the shop also belongs to a private resource on the user line, when the shop is obtained, the user is required to authorize a service brand, specifically, a two-dimensional code, a bar code and other graphic identification codes can be displayed at the front end of the user, the user scans the graphic identification codes by adopting an application with own payment information, and the service brand is authorized by adopting the payment information of the user in a first account. In addition, sometimes, the authorization between the platforms also needs a certain term of agreement, so the agreement between the platforms can also be displayed to the user before the graphic identification code is displayed, the graphic identification code is in a gray non-scannable state before the user agrees to the term, the graphic identification code is in an open scannable state after the user agrees to the term, and then the user can start the authorization of the service brand by scanning the graphic identification code. The embodiment of the invention does not specifically limit the authorization mode, the authorization mechanism and the authorization flow.
After the service brand is authorized based on the payment information of the first account, a store corresponding to the service brand is inquired in the second platform. If the service brand does not exist in the corresponding store in the second platform, platform store information corresponding to the first account in the first platform is directly called, the store of the service brand is created, and the service brand and the store are bound. On the other hand, if the service brand exists in the second platform, considering that the number of corresponding stores below the service brand may be large, some stores may be located in different cities, or some stores may not match the content operated by the first platform, and the like, it is necessary to extract at least one candidate store corresponding to the service brand in the second platform, and determine, based on the first account, a candidate store matching with the first account among the at least one candidate store as the store.
Specifically, when a store is extracted from at least one candidate store, firstly, the simplest and easiest extracted candidate store is in a binding relationship with platform store information of the first account on the first platform, and the candidate store is most easily acquired and can be directly used as a store. If the candidate store having the binding relationship with the platform store information is successfully extracted, the extracted candidate store may be regarded as a store. If the candidate stores having the binding relationship with the platform store information fail to be extracted, acquiring the associated stores associated with the platform store information from the interest point database, taking the candidate stores having the binding relationship with the associated stores in at least one candidate store as stores, namely determining the associated stores of the platform store information in other platforms operated by the second platform, and taking the situation that the candidate stores cannot be extracted because the candidate stores are not directly bound with the platform store information but are bound with the associated stores into consideration. The Point of interest database may be a POI (Point of interest) database of the clique.
If the stores still cannot be extracted from the candidate stores based on the associated stores, it is highly possible that the binding relationship between the stores is not established when the stores are established before, and considering that the stores have regional characteristics, therefore, the candidate stores need to be matched according to the login position information of the first account and the platform store information of the first account in the first platform, that is, when at least one candidate store does not have a candidate store having a binding relationship with the associated store, the login position information of the first account is determined, and the candidate store matching the login position information and the platform store information is queried in the at least one candidate store. And if the candidate stores matched with the login position information and the platform store information are inquired successfully, the inquired candidate stores are taken as stores, wherein the store addresses of the stores are matched with the login position information, and the store names are matched with the platform store information. Specifically, the store address may be in the form of a provincial street number, i.e., a name of a store listed off-line. Here, the fact that the store address of the store matches the registered position information and the store name matches the platform store information means that the store address of the store matches the registered position information and the store name matches the platform store information. In the practical application process, the candidate store with the store name inconsistent with the platform store information may have a store address completely consistent with the login position information, the condition that the address is consistent and the store name is inconsistent is probably caused by changing the store name, and the store address is more convincing than the store name, so that the candidate store with the consistent address and the inconsistent store name can also be used as the store. In addition, if the candidate stores matched with the login position information and the platform store information are queried unsuccessfully, it indicates that no available stores exist in the current second platform or other platforms, and the platform stores are successfully established in the first platform where the first account is located.
In the actual application process, there are many possible purposes that a user requests to perform program creation, which may be to provide different types of services for the user, for example, the service may be an applet or may also be a Customer Relationship Management (CRM) service, and each service can only identify a store of each service identity, and an item is separately established to manage the stores and the program, so to ensure that a target program to be subsequently created is for a target service that the user wants, after the store is determined, a target service indicated by a program creation request needs to be determined, and the store is marked with a service identifier of the target service.
205. And establishing an initial program in the first platform according to the program parameters issued by the first account, and binding the store with the initial program to obtain the target program.
In the embodiment of the present invention, when a store is determined, the creation of the target program can be started. When the target program is created, firstly, an initial program needs to be created in a first platform according to program parameters issued by a first account, and then, a store is bound with the initial program to obtain the target program. It should be noted that the target program may actually be a merchant program running in the social software or transaction software, and the target program is used for providing interaction between the merchant and the customer, that is, the customer may purchase various products provided by the merchant in the target program.
206. And when detecting that the service brand has a corresponding brand program in the second platform, pushing the brand program to the first account as a target program, and displaying a management page of the brand program in the first account.
In the embodiment of the invention, when the fact that the corresponding brand program exists in the second platform is detected, the brand program related to the service brand exists in other platforms which depend on the second platform to operate, the brand program is also operating, the target program belonging to the first platform can be created directly based on the brand program operated in other platforms, and the procedure of creating the program is not required to be executed, so that the brand program is pushed to the first account as the target program, and the management page of the brand program is shown in the first account.
In summary, the overall process of program creation in the present invention is as follows: referring to fig. 2B, after the user logs in the first platform, when it is detected that the user requests the program to be created, it is detected whether the first account currently logged in the first platform is bound to the second account in the second platform, and if the first account is bound, the user can directly log in the second platform based on the second account. And if not, displaying an input page, and prompting the user to register the second account or providing a user identifier to log in the second account on the input page. And if the user selects to register the second account, acquiring a user identifier and a service brand input by the user, inquiring whether the user identifier is registered in the second platform or not after the user agrees with an agreement between the platforms, and if the user identifier is determined to be registered, guiding the user to log in the second platform according to the user identifier. And if the user identification is determined not to be registered, creating a second account in the second platform for the user, and binding the first account and the second account. And if the user selects to provide the user identification to log in the second account, inquiring whether the user identification corresponds to the second account, if so, inquiring whether the account bound by the second account in the first platform is the first account, if so, directly logging in the second account, and binding the first account and the second account. If the user identification is not the currently logged-in first account, the user needs to be reminded that the user identification is bound with another second account, and the user selects to replace the first account or the provided user identification. After the second account is determined, if the second account is newly registered, the second account is bound with the service brand input by the user according to the service brand input by the user, if the second account is not newly registered, whether the service brand is bound or not needs to be judged, and if the service brand is not bound, the service brand also needs to be input by the user for binding. If the service brand is bound, the user is required to authorize the service brand, and after the authorization is passed, if a brand program is created under the service brand, the brand program is directly called to be used as a target program, and a management page of the target program is displayed. If no brand program is created under the service brand, an initial program is created according to program parameters filled by the user, stores determined for the user according to the service brand are linked into the initial program to form a target program, meanwhile, a service mark of the service requested by the current user is adopted to mark the stores for service, and a management page of the target program is displayed, so that the creation of the program is realized.
According to the method provided by the embodiment of the invention, when a program creation request of a user in a first platform is received, a second account bound with the first account is inquired in a second platform through the first account used by the user in the first platform, and a target program is directly and automatically created for a merchant in the first platform according to a store corresponding to the second account in the second platform.
Further, as a specific implementation of the method shown in fig. 1, an embodiment of the present invention provides a program creating apparatus, as shown in fig. 3A, where the apparatus includes: a receiving module 301, an obtaining module 302, a first determining module 303 and a creating module 304.
The receiving module 301 is configured to receive a program creation request, and determine a first account that issues the program creation request, where the first account is a registered account in a first platform where the first account is currently located;
the obtaining module 302 is configured to obtain a second account corresponding to the first account on a second platform, where the second platform is a platform for providing a program service for a target program to be created;
the first determining module 303 is configured to extract a store corresponding to the second account from the second platform;
the creating module 304 is configured to create an initial program in the first platform according to the program parameters issued by the first account, and bind the store with the initial program to obtain the target program.
In a specific application scenario, as shown in fig. 3B, the obtaining module 302 includes: a detection unit 3021, an acquisition unit 3022, and a reception unit 3023.
The detecting unit 3021 is configured to detect whether the first account has a second account with a binding relationship in the second platform;
the obtaining unit 3022 is configured to, if it is determined that the first account has the second account with the binding relationship in the second platform, obtain the second account, and continue to determine a service brand corresponding to the second account in the second platform;
the receiving unit 3023 is configured to receive a user identifier issued by the first account if it is determined that the first account does not have the second account with the binding relationship in the second platform, and query or register the second account for the first account on the second platform.
In a specific application scenario, the receiving unit 3023 is configured to receive the user identifier input based on the first account, and query whether the user identifier has a corresponding second account in the second platform; when the user identification is determined to have the corresponding second account number in the second platform, logging in the second platform based on the second account number, and binding the first account number and the second account number; when it is determined that the user identifier does not have the corresponding second account in the second platform, the user identifier is adopted to create the second account in the second platform, the service brand input together with the user identifier is obtained, the first account and the second account are bound, and the corresponding relationship between the second account and the service brand is established.
In a specific application scenario, as shown in fig. 3C, the first determining module 303 includes: an authorization unit 3031, a query unit 3032, a creation unit 3033 and a determination unit 3034.
The authorization unit 3031 is configured to determine a service brand corresponding to the second account in the second platform, and authorize the service brand based on payment information of the first account;
the inquiry unit 3032 is configured to inquire a store corresponding to the service brand in the second platform;
the creating unit 3033 is configured to, if the service brand does not exist in the second platform as a corresponding store, invoke platform store information corresponding to the first account in the first platform, create a store of the service brand, and bind the service brand with the store;
the determining unit 3034 is configured to, if a corresponding store exists in the second platform for the service brand, extract at least one candidate store corresponding to the service brand in the second platform, and determine the store in the at least one candidate store based on the first account.
In a specific application scenario, the determining unit 3034 is configured to extract, from the at least one candidate store, a candidate store having a binding relationship with the platform store information; if the candidate stores having the binding relationship with the platform store information are extracted successfully, taking the extracted candidate stores as the stores; if the candidate stores having the binding relationship with the platform store information are extracted unsuccessfully, acquiring an associated store associated with the platform store information from an interest point database, and taking the candidate store having the binding relationship with the associated store in the at least one candidate store as the store; and determining a target service indicated by the program creation request, and marking the store by using a service identifier of the target service.
In a specific application scenario, the determining unit 3034 is further configured to determine login location information of the first account when no candidate store having a binding relationship with the associated store exists in the at least one candidate store; querying the at least one candidate store for a candidate store matching the login location information and the platform store information; if the candidate store matched with the login position information and the platform store information is successfully inquired, the inquired candidate store is taken as the store, the store address of the store is matched with the login position information, and the store name is matched with the platform store information; and if the candidate stores matched with the login position information and the platform store information are queried unsuccessfully, creating stores of the service brand according to the platform store information, and binding the service brand with the stores.
In a specific application scenario, as shown in fig. 3D, the apparatus further includes: a second determination module 305 and a presentation module 306.
The second determining module 305 is configured to, when it is detected that a corresponding brand program exists in the second platform, push the brand program to the first account as the target program;
the display module 306 is configured to display a management page of the brand program in the first account.
In a specific application scenario, the target program is a merchant program running in social software or transaction software, and the target program is used for providing interaction between a merchant and a customer.
According to the device provided by the embodiment of the invention, when a program creation request of a user in a first platform is received, a second account bound with the first account is inquired in a second platform through the first account used by the user in the first platform, and a target program is directly and automatically created for a merchant in the first platform according to a store corresponding to the second account in the second platform.
It should be noted that other corresponding descriptions of the functional units related to the program creating apparatus provided in the embodiment of the present invention may refer to the corresponding descriptions in fig. 1 and fig. 2A to fig. 2B, and are not described again here.
In an exemplary embodiment, referring to fig. 4, there is further provided a device, where the device 400 includes a communication bus, a processor, a memory, and a communication interface, and may further include an input/output interface and a display device, where the functional units may communicate with each other through the bus. The memory stores computer programs, and the processor is used for executing the programs stored in the memory and executing the program creating method in the embodiment. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the program creation method. Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented by hardware, and also by software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the implementation scenarios of the present application.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to practice the present application. Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules. The above application serial numbers are for description purposes only and do not represent the superiority or inferiority of the implementation scenarios. The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present application.

Claims (11)

1. A program creation method, comprising:
receiving a program creating request, and determining a first account which issues the program creating request, wherein the first account is a registered account in a first platform where the first account is located currently;
acquiring a second account corresponding to the first account on a second platform, wherein the second platform is a platform for providing program service for a target program to be created;
extracting stores corresponding to the second account in the second platform;
and creating an initial program in the first platform according to the program parameters issued by the first account, and binding the store with the initial program to obtain the target program.
2. The method according to claim 1, wherein the obtaining of the second account corresponding to the first account on the second platform comprises:
detecting whether the first account has the second account with a binding relationship in the second platform;
if the first account is determined to have the second account with the binding relationship in the second platform, acquiring the second account, and continuing to determine a service brand corresponding to the second account in the second platform;
and if the first account does not have the second account with the binding relationship in the second platform, receiving a user identifier sent by the first account, and inquiring or registering the second account for the first account on the second platform.
3. The method of claim 2, wherein the receiving the user identifier issued by the first account, and querying or registering the second account for the first account on the second platform, comprises:
receiving the user identification input based on the first account, and inquiring whether the user identification has a corresponding second account in the second platform;
when the user identification is determined to have the corresponding second account number in the second platform, logging in the second platform based on the second account number, and binding the first account number and the second account number;
when it is determined that the user identifier does not have the corresponding second account in the second platform, the user identifier is adopted to create the second account in the second platform, the service brand input together with the user identifier is obtained, the first account and the second account are bound, and the corresponding relationship between the second account and the service brand is established.
4. The method according to claim 1, wherein the extracting, in the second platform, the store corresponding to the second account includes:
determining a service brand corresponding to the second account in the second platform, and authorizing the service brand based on the payment information of the first account;
inquiring a store corresponding to the service brand in the second platform;
if the service brand does not exist in the corresponding store in the second platform, calling platform store information corresponding to the first account in the first platform, creating a store of the service brand, and binding the service brand with the store;
if the service brand exists in a corresponding store in the second platform, at least one candidate store corresponding to the service brand is extracted from the second platform, and the store is determined from the at least one candidate store based on the first account.
5. The method of claim 4, wherein determining the store among the at least one candidate store based on the first account number comprises:
extracting candidate stores having a binding relationship with the platform store information from the at least one candidate store;
if the candidate stores having the binding relationship with the platform store information are extracted successfully, taking the extracted candidate stores as the stores;
if the candidate stores having the binding relationship with the platform store information are extracted unsuccessfully, acquiring an associated store associated with the platform store information from an interest point database, and taking the candidate store having the binding relationship with the associated store in the at least one candidate store as the store;
and determining a target service indicated by the program creation request, and marking the store by using a service identifier of the target service.
6. The method of claim 5, further comprising:
when no candidate store having a binding relationship with the associated store exists in the at least one candidate store, determining login position information of the first account;
querying the at least one candidate store for a candidate store matching the login location information and the platform store information;
if the candidate store matched with the login position information and the platform store information is successfully inquired, the inquired candidate store is taken as the store, the store address of the store is matched with the login position information, and the store name is matched with the platform store information;
and if the candidate stores matched with the login position information and the platform store information are queried unsuccessfully, creating stores of the service brand according to the platform store information, and binding the service brand with the stores.
7. The method of claim 1, further comprising:
when the fact that the service brand has a corresponding brand program in the second platform is detected, pushing the brand program serving as the target program to the first account;
and displaying a management page of the brand program in the first account.
8. The method of claim 1, wherein the target program is a merchant program running in social software or transactional software, the target program for providing interaction between a merchant and a customer.
9. A program creation apparatus characterized by comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a program creating request and determining a first account number which issues the program creating request, and the first account number is a registered account number in a first platform where the first account number is located currently;
the acquisition module is used for acquiring a second account corresponding to the first account on a second platform, and the second platform is a platform for providing program service for a target program to be created;
the first determining module is used for extracting stores corresponding to the second account in the second platform;
and the creating module is used for creating an initial program in the first platform according to the program parameters issued by the first account, and binding the store with the initial program to obtain the target program.
10. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 8 when executing the computer program.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 8.
CN202010816650.9A 2020-08-14 2020-08-14 Program creating method, program creating apparatus, computer device, and computer-readable storage medium Active CN111736885B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010816650.9A CN111736885B (en) 2020-08-14 2020-08-14 Program creating method, program creating apparatus, computer device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010816650.9A CN111736885B (en) 2020-08-14 2020-08-14 Program creating method, program creating apparatus, computer device, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN111736885A true CN111736885A (en) 2020-10-02
CN111736885B CN111736885B (en) 2020-12-18

Family

ID=72658490

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010816650.9A Active CN111736885B (en) 2020-08-14 2020-08-14 Program creating method, program creating apparatus, computer device, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN111736885B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110032358A (en) * 2019-01-03 2019-07-19 阿里巴巴集团控股有限公司 A kind of application program generation method, device, equipment and system
CN111078260A (en) * 2019-12-23 2020-04-28 焦点科技股份有限公司 WeChat applet third-party platform management method and system
CN111324335A (en) * 2020-01-04 2020-06-23 厦门二五八网络科技集团股份有限公司 Method and device for creating small program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110032358A (en) * 2019-01-03 2019-07-19 阿里巴巴集团控股有限公司 A kind of application program generation method, device, equipment and system
CN111078260A (en) * 2019-12-23 2020-04-28 焦点科技股份有限公司 WeChat applet third-party platform management method and system
CN111324335A (en) * 2020-01-04 2020-06-23 厦门二五八网络科技集团股份有限公司 Method and device for creating small program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
支付宝: "小程序绑定门店", 《HTTPS://OPENDOCS.ALIPAY.COM/PRE-OPEN/00O0L7》 *

Also Published As

Publication number Publication date
CN111736885B (en) 2020-12-18

Similar Documents

Publication Publication Date Title
CN106844372B (en) Logistics information query method and device
CN105303423A (en) Patent information interaction method, patent information interaction device and terminal
CN107993106B (en) Electronic invoice generation method and device
CN111770184A (en) Method and device for realizing service based on small program
US20140172532A1 (en) Optimal utilization of coupons
CN111144907A (en) Commodity information tracing method, commodity information tracing device, commodity information tracing equipment and computer readable storage medium
WO2017201653A1 (en) Two-dimensional code information transmission method, and electronic warranty method and system
CN106709785B (en) Display method and device
CN113706138B (en) Payment method, device, equipment and storage medium based on digital currency hard wallet
CN115080537A (en) Multi-tenant data partitioning method, program product and electronic device
CN114756877A (en) Data management method, device, server and storage medium
CN110941849A (en) Offline electronic certificate showing method, device and system and computer equipment
CN110210939B (en) Information pushing method and device and computer equipment
CN111736885B (en) Program creating method, program creating apparatus, computer device, and computer-readable storage medium
CN108985736A (en) Processing method, device and the terminal of bill
CN110942567A (en) Self-service equipment data processing method, device and system
CN111198981A (en) Query method, device, system and storage medium
CN107146075B (en) Request processing method and device
CN113034248B (en) Commodity display system, method and device based on small program
CN110858209A (en) Business object access/release method, device, system and electronic equipment
CN104598220B (en) Method and device for providing and realizing webpage auxiliary function
CN113052643A (en) Coupon processing method, system, client and server based on 5G message
CN115731013A (en) Intelligent registration method, electronic equipment and related products
CN113268287A (en) Small program starting method and device based on graphic code
CN110895759B (en) Resource updating method, device, equipment and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant