CN109829122B - Method and device for acquiring service entrance, storage medium and electronic device - Google Patents
Method and device for acquiring service entrance, storage medium and electronic device Download PDFInfo
- Publication number
- CN109829122B CN109829122B CN201811564569.5A CN201811564569A CN109829122B CN 109829122 B CN109829122 B CN 109829122B CN 201811564569 A CN201811564569 A CN 201811564569A CN 109829122 B CN109829122 B CN 109829122B
- Authority
- CN
- China
- Prior art keywords
- character string
- identification code
- platform
- target identification
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a method and a device for acquiring a service entrance, a storage medium and an electronic device, wherein the method comprises the following steps: acquiring a target identification code by using an application software app of a first platform, wherein the target identification code corresponds to a second platform; identifying the target identification code and generating a character string corresponding to the target identification code; sending the character string to a server; and receiving service entry information fed back by the server based on the character string, wherein the server stores the corresponding relation between the character string and the service entry information. By the method and the device, the technical problem that the identification code cannot be scanned across platforms in the related technology is solved, the utilization rate of the identification code is improved, and the user experience is improved.
Description
Technical Field
The present invention relates to the field of computers, and in particular, to a method and an apparatus for acquiring a service entry, a storage medium, and an electronic apparatus.
Background
In the related art, along with the popularization of the two-dimensional code, convenience is brought to users and merchants when the users and the merchants enjoy traditional services such as ordering and payment, and paperless effect is achieved.
In the related technology, a plurality of platforms for pushing the two-dimensional codes, such as American groups, comments, WeChat and the like, all push the two-dimensional codes, so that the two-dimensional codes of a plurality of platforms can be pasted in a shop of the same merchant at the same time, and when a user uses app scanning of a single platform, the two-dimensional codes of the corresponding platforms can only be identified, and the appearance is influenced because too many codes are pasted on a table top of a shop off line; the popularization materials (articles bearing the two-dimensional codes, such as paper, plastic sheets, posters, panels and the like) carrying the two-dimensional codes are too many, so that the materials are wasted, and the cost is high; when the user sweeps the sign indicating number, sweep the sign indicating number of the contest article by accident, can't discern promptly, also can not use, lead to user experience poor. In the related art, two-dimension codes are optimized, for example, a patent with publication number CN105243616A discloses a client code scanning ordering method, which is limited to processing information carried by two-dimension codes, so that the two-dimension codes in the related art have low use efficiency and serious material waste.
In view of the above problems in the related art, no effective solution has been found at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for acquiring a service entrance, a storage medium and an electronic device.
According to an embodiment of the present invention, there is provided a method for acquiring a service portal, including: acquiring a target identification code by using an application software app of a first platform, wherein the target identification code corresponds to a second platform; identifying the target identification code and generating a character string corresponding to the target identification code; sending the character string to a server; and receiving service entry information fed back by the server based on the character string, wherein the server stores the corresponding relation between the character string and the service entry information.
Optionally, the receiving of the service entry information fed back by the server based on the character string includes one of: receiving a merchant identification code and a dining table identification code fed back by the server based on the character string, and entering a ordering interface by using the merchant identification code and the dining table identification code; and receiving the ordering interface information fed back by the server based on the character string.
Optionally, before sending the character string to the server, the method further includes: and after the character string is associated with the service entry information, the character string is sent to the server, so that the server locally establishes a mapping relation between the character string and the service entry information.
Optionally, identifying the target identification code, and generating a character string corresponding to the target identification code includes: decoding the target identification code to obtain an original character string corresponding to the target identification code; analyzing the original character string to obtain a platform identifier of the target identification code; when the platform identification is the second platform, generating marking information, wherein the marking information is used for indicating that the platform to which the target identification code belongs is not the first platform; and binding the original character string and the mark information, and determining the original character string and the mark information as character strings corresponding to the target identification codes.
Optionally, before sending the character string to the server, the method further includes: and performing conversion or compression processing on the character string by using a predetermined rule.
Optionally, the acquiring the target identification code by using the application software app of the first platform includes: starting an app of the first platform; and calling a code scanning component of the app to scan the target identification code or read the target identification code stored locally.
Optionally, after sending the character string to the server, the method further includes: and receiving an unidentified response fed back by the server, wherein the unidentified response carries prompt information for prompting a user to invite the merchant to open an appointed function, and the appointed function is to scan the identification code of the second platform by using the app of the first platform to acquire service entrance information.
According to an embodiment of the present invention, another method for acquiring a service portal is provided, including: receiving a character string sent by a client by using an application software app of a first platform, wherein the character string corresponds to a target identification code of a second platform; searching service entry information corresponding to the character string according to a preset mapping table; and sending the service entrance information to the client.
Optionally, the searching for the service entry information corresponding to the character string according to the preset mapping table includes: identifying the character string and determining a platform to which the target identification code belongs; when the platform to which the platform belongs is the second platform, calling a second mapping table, wherein the second mapping table stores the corresponding relation between character strings of a plurality of identification codes of the second platform and a plurality of service entrance information; and searching the service entry information corresponding to the character string in the second mapping table.
Optionally, before searching for the service entry information corresponding to the character string according to a preset mapping table, the method further includes: receiving a character string of the target identification code and the service entrance information associated with the character string; and establishing a mapping relation between the character string and the service entry information in the preset mapping table.
Optionally, the service entry information is an identification code or interface information, and sending the service entry information to the client includes one of the following: sending the merchant identification code and the dining table identification code to the client; and sending the ordering interface information to the client.
Optionally, when the service entry information corresponding to the character string is not found according to a preset mapping table, the method further includes: identifying the identity information of the merchant where the target identification code is located according to the character string; when the identity information is successfully identified, prompting the merchant to bind the corresponding relation between the target identification code and the service entrance information; and prompting the merchant to stay in the first platform when the identification information identification fails.
According to another embodiment of the present invention, there is provided an apparatus for acquiring a service portal, including: the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a target identification code by using an application software app of a first platform, and the target identification code corresponds to a second platform; the processing module is used for identifying the target identification code and generating a character string corresponding to the target identification code; the sending module is used for sending the character string to a server; and the first receiving module is used for receiving the service entry information fed back by the server based on the character string, wherein the server stores the corresponding relation between the character string and the service entry information.
Optionally, the receiving module includes one of: the first receiving unit is used for receiving a merchant identification code and a dining table identification code fed back by the server based on the character string and entering a ordering interface by using the merchant identification code and the dining table identification code; and the second receiving unit is used for receiving the ordering interface information fed back by the server based on the character string.
Optionally, the apparatus further comprises: the second acquisition module is used for acquiring the character string of the target identification code before the sending module sends the character string to the server; and the preprocessing module is used for sending the character string to the server so as to enable the server to establish a mapping relation between the character string and the service entrance information.
According to another embodiment of the present invention, there is provided another apparatus for acquiring a service portal, including: the client comprises a receiving module, a processing module and a display module, wherein the receiving module is used for receiving a character string sent by a client by using an application software app of a first platform, and the character string corresponds to a target identification code of a second platform; the searching module is used for searching the service entry information corresponding to the character string according to a preset mapping table; and the sending module is used for sending the service entrance information to the client.
Optionally, the searching module includes: the identification unit is used for identifying the character string and determining the platform to which the target identification code belongs; a calling unit, configured to call a second mapping table when the platform to which the platform belongs is the second platform, where the second mapping table stores a correspondence between character strings of a plurality of identification codes of the second platform and a plurality of service entry information; and the searching unit is used for searching the service entrance information corresponding to the character string in the second mapping table.
Optionally, the apparatus further comprises: the second receiving module is used for receiving the character string of the target identification code before the searching module searches the service entry information corresponding to the character string according to a preset mapping table; and the establishing module is used for establishing the mapping relation between the character string and the service entrance information in the preset mapping table.
According to another embodiment of the present invention, there is provided a system for acquiring a service portal, including: a client and a server, wherein the server comprises: the client comprises a receiving module, a processing module and a display module, wherein the receiving module is used for receiving a character string sent by the client by using an application software app of a first platform, and the character string corresponds to a target identification code of a second platform; the searching module is used for searching the service entry information corresponding to the character string according to a preset mapping table; the sending module is used for sending the service entrance information to the client; the client comprises: the first acquisition module is used for acquiring the target identification code by using an application software app of a first platform; the processing module is used for identifying the target identification code and generating a character string corresponding to the target identification code; a sending module, configured to send the character string to the server; and the first receiving module is used for receiving the service entrance information fed back by the server based on the character string.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, the target identification code is acquired by using the application software app of the first platform, wherein the target identification code corresponds to the second platform, the target identification code is identified, the character string corresponding to the target identification code is generated, the character string is sent to the server, and the service entrance information fed back by the server based on the character string is received, so that the client side of the first platform can scan the identification code of any platform in a shop, the service entrance information can be identified and received, and all the code materials of a plurality of platforms can be changed into the code materials of the first platform. The technical problem that the identification code cannot be scanned across platforms in the related technology is solved, the utilization rate of the identification code is improved, and the user experience is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware architecture for acquiring a service portal according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for acquiring a service entry according to an embodiment of the present invention;
fig. 3 is a flow chart of another method for acquiring a service portal according to an embodiment of the present invention;
FIG. 4 is a flowchart and timing diagram of an implementation scenario of the present invention;
fig. 5 is a block diagram of an apparatus for acquiring a service portal according to an embodiment of the present invention;
fig. 6 is a block diagram of another apparatus for acquiring a service portal according to an embodiment of the present invention;
fig. 7 is a block diagram of a system for acquiring a service portal according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Example 1
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, a mobile terminal, or a similar computing device. Taking the operation on the mobile terminal as an example, fig. 1 is a hardware structure block diagram of acquiring a service portal according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal 10 may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of an application software, such as a computer program corresponding to a method for acquiring a service portal in an embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a method for obtaining a service portal is provided, which is applied to a client, and fig. 2 is a flowchart of a method for obtaining a service portal according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, acquiring a target identification code by using an application software app of a first platform, wherein the target identification code corresponds to a second platform;
in this embodiment, the identification code of this embodiment may be a graphic code in various forms, such as a two-dimensional code, a barcode, and the like, and this embodiment takes the two-dimensional code as an example for illustration. The first platform and the second platform are platforms for pushing or releasing two-dimensional codes, the platforms are different, the standards and mapping strategies adopted by the two-dimensional codes are different, for the same business of the same shop, the two-dimensional codes on different platforms are different, for example, on the No. 1 dining table of the Beijing roast duck of No. 110 Anlu of a certain city, the two-dimensional codes of the Mei Tuo and the WeChat platforms are pasted, the patterns of the two-dimensional codes are different, and the two-dimensional codes can enter the ordering page of the No. 1 dining table. The app can be applied to various types of electronic terminals, such as mobile phones, computers, tablets and the like.
Step S204, identifying the target identification code and generating a character string corresponding to the target identification code;
step S206, sending character strings to a server;
step S208, receiving service entry information fed back by the server based on the character string, wherein the server stores the corresponding relation between the character string and the service entry information.
The service entry information comprises website links, keywords and the like, information of entering a corresponding online service can be triggered at the client, and service entry information with functions of advertisement pushing, anti-counterfeiting tracing, member management and the like can also be triggered at the client.
Through the steps, the target identification code is acquired by using the application software app of the first platform, the target identification code is corresponding to the second platform, the target identification code is identified, the character string corresponding to the target identification code is generated, the character string is sent to the server, the service entrance information fed back by the server based on the character string is received, the identification code of any platform in the shop can be scanned by the client side of the first platform, the service entrance information can be identified and received, and all the code materials under the line of the platforms can be changed into the code materials of the first platform. The technical problem that the identification code cannot be scanned across platforms in the related technology is solved, the utilization rate of the identification code is improved, and the user experience is improved.
In this embodiment, in different usage scenarios and interaction policies, the service entry information is different, and for example, when an app is used to order a meal, the service entry information fed back by the receiving server based on the character string includes one of the following: receiving a merchant identification code and a dining table identification code fed back by a server based on a character string, entering a ordering interface by using the merchant identification code and the dining table identification code, feeding back the merchant identification code and the dining table identification code corresponding to the character string to a client by the server in an ordering scene, and enabling the client to enter an ordering page of a corresponding merchant at a corresponding dining table by using the merchant identification code and the dining table identification code, wherein the dining table identification code is optional, and if a user packs or has a free seat for eating, the user can order by entering a homepage of a corresponding restaurant by using the merchant identification code; and receiving ordering interface information fed back by the server based on the character strings.
Optionally, before sending the character string to the server, the method further includes:
s11, collecting a character string of the target identification code;
since the identifier of the second platform does not establish a mapping relationship in the server of the first platform in the initial stage, it is necessary to collect the character string of the target identifier in advance and establish a mapping relationship in the server of the first platform. Any terminal can be used for collecting the character string of the two-dimensional code, such as a terminal of a platform popularization person, a terminal used by a merchant, a user terminal and the like. The character string of the two-dimensional code is usually composed of numbers or letters, but may be the most primitive binary byte (black and white pattern of the two-dimensional code represents 0 or 1).
And S12, associating the character string with the service entry information and then sending the character string to the server so that the server establishes the mapping relation between the character string and the service entry information locally.
In one example, the mei-qu is the second platform, a shop is placed on line to popularize a two-dimensional code, a character string of the two-dimensional code is '01234', the character string represents entry information of a ordering service, the character string of the two-dimensional code is collected and associated with the entry information of the ordering service, the two-dimensional code is sent to a WeChat (the first platform) server, and after the WeChat server locally establishes a mapping relation between '01234' and the entry information of the ordering service of the shop, a user can identify the two-dimensional code and use the entry information of the ordering service to enter an ordering page by scanning the two-dimensional code of the mei-qu on the shop with the WeChat.
In this embodiment, identifying the target identification code, and generating the character string corresponding to the target identification code includes: decoding the target identification code to obtain an original character string corresponding to the target identification code; analyzing the original character string to obtain a platform identification of the target identification code; when the platform is identified as a second platform, generating marking information, wherein the marking information is used for indicating that the platform to which the target identification code belongs is not the first platform; and binding the original character string and the mark information, and determining the original character string and the mark information as the character string corresponding to the target identification code. The original character string of the target identification code carries a platform identification for indicating which platform the target identification code belongs to, and by identifying the identification and sending the identification to the server of the first platform, the server can identify that the character string is not of the platform and cannot adopt a common flow for processing, and adopts the identification flow of a third-party platform for processing, so that the processing efficiency of the server can be saved.
Optionally, before sending the character string to the server, the method further includes: the character string is converted or compressed using a predetermined rule. Through compression processing, the data volume of the character string can be reduced, the transmission bandwidth and the user flow are saved, through conversion processing, encryption or format conversion can be carried out on the character string, and the service safety and the identification efficiency of the server are improved.
In this embodiment, the target identification code may be scanned in the field, and a local identification code picture may also be recognized, and acquiring the target identification code by using the application software app of the first platform includes: starting an app of a first platform; and the code scanning component of the calling app scans the target identification code or reads the target identification code stored locally.
Optionally, after sending the character string to the server, the method further includes: and receiving an unidentified response fed back by the server, wherein the unidentified response carries prompt information for prompting a user to invite the merchant to open an appointed function, and the appointed function is to scan an identification code of the second platform by using the app of the first platform to acquire service entrance information. When the mapping relation between the target identification code and the service entrance information is not stored locally in the server of the first platform, the server cannot identify the character string of the target identification code, the server feeds back an unidentified response to the client, and simultaneously prompts a user to remind the merchant of activating the function of identifying the identification code of the second platform by using the app of the first platform, after the merchant submits authentication information (such as a business license and a mobile phone number) to the server, the identity of the merchant is determined, an existing merchant identification code is newly built or used (in a scene that the merchant is already resident on the first platform), the character string of the second platform is bound with the merchant identification code (or the dining table identification code), and the mapping relation is established locally in the server of the first platform.
In this embodiment, another method for acquiring a service portal is provided, which corresponds to the above-mentioned scheme of the client, and is applied to the server, and fig. 3 is a flowchart of another method for acquiring a service portal according to an embodiment of the present invention, as shown in fig. 3, the flowchart includes the following steps:
step S302, receiving a character string sent by a client by using an application software app of a first platform, wherein the character string corresponds to a target identification code of a second platform;
step S304, searching service entry information corresponding to the character string according to a preset mapping table;
step S306, the service entrance information is sent to the client.
Optionally, the searching for the service entry information corresponding to the character string according to the preset mapping table includes:
s21, recognizing the character string and determining the platform to which the target identification code belongs;
s22, when the platform to which the platform belongs is a second platform, calling a second mapping table, wherein the second mapping table stores the corresponding relation between the character strings of a plurality of identification codes of the second platform and a plurality of service entrance information;
the server of the first platform locally comprises a first mapping table and a second mapping table, wherein the first mapping table stores the corresponding relation between the character strings of the plurality of identification codes of the first platform and the information of the plurality of service entries, the second mapping table stores the corresponding relation between the character strings of the plurality of identification codes of the second platform and the information of the plurality of service entries, and the mapping tables of different types can be separately controlled through separate arrangement, so that the searching speed of the mapping tables is increased;
and S23, searching the service entrance information corresponding to the character string in the second mapping table.
Optionally, before searching for the service entry information corresponding to the character string according to the preset mapping table, the method further includes: receiving a character string of the target identification code and service entrance information associated with the character string; and establishing a mapping relation between the character string and the service entry information in a preset mapping table. Before a user uses a client to normally identify a target identification code to enter a business interface, a mapping relation needs to be established in a server of a first platform, and the mapping relation can be collected and reported by a merchant voluntarily or collected and reported by a popularization person or the user entering a shop storefront.
According to an optional implementation manner of this embodiment, the service entry information is an identification code or interface information, and sending the service entry information to the client includes one of the following: sending the merchant identification code and the dining table identification code to the client; and sending the ordering interface information to the client.
In this embodiment, when the server of the first platform fails to recognize the character string of the second platform, a prompt message may be further sent to the client user or the merchant, and when the service entry information corresponding to the character string is not found according to the preset mapping table, the method further includes: identifying the identity information of the merchant where the target identification code is located according to the character string; when the identity information is successfully identified, the merchant is already resident in the first platform, and the merchant is prompted through the stored merchant contact way or the app of the merchant, so that the merchant is prompted to bind the corresponding relation between the target identification code and the service entrance information; and prompting the merchant to park in the first platform when the identification information identification fails.
In an implementation scenario of online ordering in this embodiment, apps of the K platform include a merchant-side app and a user-side client-side app, both of which may interact with a server of the K platform, and fig. 4 is a flowchart of the implementation scenario of the present invention, which includes:
firstly, a merchant is resident on a K platform, and the platform allocates unique merchant ID (identification code) and merchant information to the merchant;
then, scanning the desktop code by a merchant or an operator, binding the identified character string with the table number and the merchant ID together, and reporting to a server for archiving;
secondly, a user takes the client APP to scan the code, firstly identifies the character string in the code, sends the character string to the server, looks up the shop corresponding to the character string in the background, and directly opens the shop page if finding the corresponding shop to order the user. If the corresponding shop page is not found, prompting the user to invite the merchant to join the K platform, and the user can also obtain the invitation and the promotion. For the resident merchant, if the two-dimensional code is not the two-dimensional code of the K platform, the ID of the merchant can be compared in the process of parking, if the code is sent by the K platform, the ID can be found out, the merchant is not required to be guided to park by a user, and the merchant is only guided to bind the two-dimensional code character string. If the code generated by the merchant or the two-dimensional code of other platforms cannot be found in the server background of the K platform, the merchant needs to be guided to stay, and the identity card or the business license can be verified in the stay link.
Through the scheme of the implementation scene, the client side of the K platform can scan the two-dimensional codes of any platform in the shop, the client side of the K platform can scan and order food, and all off-line code materials of the competitive product platform can be changed into code materials of the K platform.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
In this embodiment, a device and a system for acquiring a service entry are also provided, which are used to implement the foregoing embodiments and preferred embodiments, and are not described again after being described. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram of an apparatus for acquiring a service portal according to an embodiment of the present invention, which can be applied to a client, and as shown in fig. 5, the apparatus includes:
a first acquisition module 50, configured to acquire a target identification code using an application software app of a first platform, where the target identification code corresponds to a second platform;
the processing module 52 is configured to identify the target identification code, and generate a character string corresponding to the target identification code;
a sending module 54, configured to send the character string to a server;
a first receiving module 56, configured to receive service entry information fed back by the server based on the character string, where the server stores a correspondence between the character string and the service entry information.
Optionally, the receiving module includes one of: the first receiving unit is used for receiving a merchant identification code and a dining table identification code fed back by the server based on the character string and entering a ordering interface by using the merchant identification code and the dining table identification code; and the second receiving unit is used for receiving the ordering interface information fed back by the server based on the character string.
Optionally, the apparatus further comprises: the second acquisition module is used for acquiring the character string of the target identification code before the sending module sends the character string to the server; and the preprocessing module is used for sending the character string to the server after the character string is associated with the service entry information, so that the server locally establishes the mapping relation between the character string and the service entry information.
Fig. 6 is a block diagram of another apparatus for acquiring a service portal according to an embodiment of the present invention, which can be applied in a server, as shown in fig. 6, the apparatus includes:
a receiving module 60, configured to receive a character string sent by a client using an application software app of a first platform, where the character string corresponds to a target identification code of a second platform;
the searching module 62 is configured to search for service entry information corresponding to the character string according to a preset mapping table;
a sending module 64, configured to send the service entry information to the client.
Optionally, the searching module includes: the identification unit is used for identifying the character string and determining the platform to which the target identification code belongs; a calling unit, configured to call a second mapping table when the platform to which the platform belongs is the second platform, where the second mapping table stores a correspondence between character strings of a plurality of identification codes of the second platform and a plurality of service entry information; and the searching unit is used for searching the service entrance information corresponding to the character string in the second mapping table.
Optionally, the apparatus further comprises: the second receiving module is used for receiving the character string of the target identification code and the service entry information related to the character string before the searching module searches the service entry information corresponding to the character string according to a preset mapping table; and the establishing module is used for establishing the mapping relation between the character string and the service entrance information in the preset mapping table.
Fig. 7 is a block diagram of a system for acquiring a service portal according to an embodiment of the present invention, as shown in fig. 7, including: a client 70 (several types of clients are illustrated in the figure) and a server 72, which,
the server includes: the client comprises a receiving module, a processing module and a display module, wherein the receiving module is used for receiving a character string sent by the client by using an application software app of a first platform, and the character string corresponds to a target identification code of a second platform; the searching module is used for searching the service entry information corresponding to the character string according to a preset mapping table; the sending module is used for sending the service entrance information to the client;
the client comprises: the first acquisition module is used for acquiring the target identification code by using an application software app of a first platform; the processing module is used for identifying the target identification code and generating a character string corresponding to the target identification code; a sending module, configured to send the character string to the server; and the first receiving module is used for receiving the service entrance information fed back by the server based on the character string.
It should be noted that the client and the server are merely the difference of the scheme in the implementation subject, and the various examples and alternatives in the above-mentioned terminal for acquiring web page data are also applicable in the client and the server, and produce the same technical effect.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Example 3
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in an aspect of the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, collecting a target identification code by using an application software app of a first platform, wherein the target identification code corresponds to a second platform;
s2, recognizing the target identification code and generating a character string corresponding to the target identification code;
s3, sending the character string to a server;
and S4, receiving the service entry information fed back by the server based on the character string, wherein the server stores the corresponding relation between the character string and the service entry information.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in an aspect of this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, collecting a target identification code by using an application software app of a first platform, wherein the target identification code corresponds to a second platform;
s2, recognizing the target identification code and generating a character string corresponding to the target identification code;
s3, sending the character string to a server;
and S4, receiving the service entry information fed back by the server based on the character string, wherein the server stores the corresponding relation between the character string and the service entry information.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.
Claims (18)
1. A method for obtaining a service portal, comprising:
acquiring a target identification code by using an application software app of a first platform, wherein the target identification code corresponds to a second platform;
identifying the target identification code and generating a character string corresponding to the target identification code;
sending the character string to a server;
receiving service entry information fed back by the server based on the character string, wherein the server stores the corresponding relation between the character string and the service entry information;
wherein after sending the string to a server, the method further comprises:
and receiving an unidentified response fed back by the server, wherein the unidentified response carries prompt information for prompting a user to invite the merchant to open an appointed function, and the appointed function is to scan the identification code of the second platform by using the app of the first platform to acquire service entrance information.
2. The method of claim 1, wherein receiving the service entry information fed back by the server based on the character string comprises one of:
receiving a merchant identification code and a dining table identification code fed back by the server based on the character string, and entering a ordering interface by using the merchant identification code and the dining table identification code;
and receiving the ordering interface information fed back by the server based on the character string.
3. The method of claim 1, wherein prior to sending the string to a server, the method further comprises:
collecting a character string of the target identification code;
and after the character string is associated with the service entry information, the character string is sent to the server, so that the server locally establishes a mapping relation between the character string and the service entry information.
4. The method of claim 1, wherein identifying the target identification code, and wherein generating a string corresponding to the target identification code comprises:
decoding the target identification code to obtain an original character string corresponding to the target identification code;
analyzing the original character string to obtain a platform identifier of the target identification code;
when the platform identification is the second platform, generating marking information, wherein the marking information is used for indicating that the platform to which the target identification code belongs is not the first platform;
and binding the original character string and the mark information, and determining the original character string and the mark information as character strings corresponding to the target identification codes.
5. The method of claim 1, wherein prior to sending the string to a server, the method further comprises:
and performing conversion or compression processing on the character string by using a predetermined rule.
6. The method of claim 1, wherein collecting the target identification code using the application software app of the first platform comprises:
starting an app of the first platform;
and calling a code scanning component of the app to scan the target identification code or read the target identification code stored locally.
7. A method for obtaining a service portal, comprising:
receiving a character string sent by a client by using an application software app of a first platform, wherein the character string corresponds to a target identification code of a second platform;
searching service entry information corresponding to the character string according to a preset mapping table;
sending the service entrance information to the client;
searching the service entry information corresponding to the character string according to a preset mapping table comprises the following steps:
identifying the character string and determining a platform to which the target identification code belongs;
when the platform to which the platform belongs is the second platform, calling a second mapping table, wherein the second mapping table stores the corresponding relation between character strings of a plurality of identification codes of the second platform and a plurality of service entrance information;
and searching the service entry information corresponding to the character string in the second mapping table.
8. The method according to claim 7, wherein before looking up the service entry information corresponding to the character string according to a preset mapping table, the method further comprises:
receiving a character string of the target identification code and the service entrance information associated with the character string;
and establishing a mapping relation between the character string and the service entry information in the preset mapping table.
9. The method of claim 7, wherein the service entry information is an identification code or interface information, and sending the service entry information to the client comprises one of:
sending the merchant identification code and the dining table identification code to the client;
and sending the ordering interface information to the client.
10. The method according to claim 7, wherein when the service entry information corresponding to the character string is not found according to the preset mapping table, the method further comprises:
identifying the identity information of the merchant where the target identification code is located according to the character string;
when the identity information is successfully identified, prompting the merchant to bind the corresponding relation between the target identification code and the service entrance information; and prompting the merchant to stay in the first platform when the identification information identification fails.
11. An apparatus for obtaining a service portal, comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a target identification code by using an application software app of a first platform, and the target identification code corresponds to a second platform;
the processing module is used for identifying the target identification code and generating a character string corresponding to the target identification code;
the sending module is used for sending the character string to a server;
a first receiving module, configured to receive service entry information fed back by the server based on the character string, where the server stores a correspondence between the character string and the service entry information;
after the sending module sends the character string to a server, the device is further configured to receive an unidentified response fed back by the server, where the unidentified response carries prompt information for prompting a user to invite a merchant to activate an assigned function, and the assigned function is to scan an identification code of the second platform by using an app of the first platform to obtain service entry information.
12. The apparatus of claim 11, wherein the receiving module comprises one of:
the first receiving unit is used for receiving a merchant identification code and a dining table identification code fed back by the server based on the character string and entering a ordering interface by using the merchant identification code and the dining table identification code;
and the second receiving unit is used for receiving the ordering interface information fed back by the server based on the character string.
13. The apparatus of claim 11, further comprising:
the second acquisition module is used for acquiring the character string of the target identification code before the sending module sends the character string to the server;
and the preprocessing module is used for sending the character string to the server after the character string is associated with the service entry information, so that the server locally establishes the mapping relation between the character string and the service entry information.
14. An apparatus for obtaining a service portal, comprising:
the client comprises a receiving module, a processing module and a display module, wherein the receiving module is used for receiving a character string sent by a client by using an application software app of a first platform, and the character string corresponds to a target identification code of a second platform;
the searching module is used for searching the service entry information corresponding to the character string according to a preset mapping table;
the sending module is used for sending the service entrance information to the client;
wherein the search module comprises:
the identification unit is used for identifying the character string and determining the platform to which the target identification code belongs;
a calling unit, configured to call a second mapping table when the platform to which the platform belongs is the second platform, where the second mapping table stores a correspondence between character strings of a plurality of identification codes of the second platform and a plurality of service entry information;
and the searching unit is used for searching the service entrance information corresponding to the character string in the second mapping table.
15. The apparatus of claim 14, further comprising:
the second receiving module is used for receiving the character string of the target identification code and the service entry information related to the character string before the searching module searches the service entry information corresponding to the character string according to a preset mapping table;
and the establishing module is used for establishing the mapping relation between the character string and the service entrance information in the preset mapping table.
16. A system for obtaining a service portal, comprising: a client and a server, wherein,
the server includes:
the client comprises a receiving module, a processing module and a display module, wherein the receiving module is used for receiving a character string sent by the client by using an application software app of a first platform, and the character string corresponds to a target identification code of a second platform;
the searching module is used for searching the service entry information corresponding to the character string according to a preset mapping table;
the sending module is used for sending the service entrance information to the client;
wherein the search module comprises:
the identification unit is used for identifying the character string and determining the platform to which the target identification code belongs;
a calling unit, configured to call a second mapping table when the platform to which the platform belongs is the second platform, where the second mapping table stores a correspondence between character strings of a plurality of identification codes of the second platform and a plurality of service entry information;
a searching unit, configured to search, in the second mapping table, service entry information corresponding to the character string;
the client comprises:
the first acquisition module is used for acquiring the target identification code by using an application software app of a first platform;
the processing module is used for identifying the target identification code and generating a character string corresponding to the target identification code;
a sending module, configured to send the character string to the server;
a first receiving module, configured to receive service entry information fed back by the server based on the character string;
after the sending module sends the character string to the server, the client is further used for receiving an unidentified response fed back by the server, wherein the unidentified response carries prompt information used for prompting a user to invite the merchant to open an appointed function, and the appointed function is that the app of the first platform is used for scanning the identification code of the second platform to acquire service entrance information.
17. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 10 when executed.
18. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811564569.5A CN109829122B (en) | 2018-12-20 | 2018-12-20 | Method and device for acquiring service entrance, storage medium and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811564569.5A CN109829122B (en) | 2018-12-20 | 2018-12-20 | Method and device for acquiring service entrance, storage medium and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109829122A CN109829122A (en) | 2019-05-31 |
CN109829122B true CN109829122B (en) | 2021-03-09 |
Family
ID=66859957
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811564569.5A Active CN109829122B (en) | 2018-12-20 | 2018-12-20 | Method and device for acquiring service entrance, storage medium and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109829122B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110363425B (en) * | 2019-07-15 | 2023-09-05 | 何永安 | Cross-platform object identification method, device, system, server and storage medium |
CN111475785B (en) * | 2020-04-02 | 2024-06-14 | 深圳前海百递网络有限公司 | Information acquisition method, information acquisition device, computer equipment and storage medium |
CN112861033B (en) * | 2021-02-04 | 2022-04-01 | 北京三快在线科技有限公司 | Method and device for executing service |
CN112732366B (en) * | 2021-03-30 | 2021-08-31 | 浙江口碑网络技术有限公司 | Small program starting system, method and device based on graphic code |
CN112800803B (en) * | 2021-04-09 | 2021-07-30 | 腾讯科技(深圳)有限公司 | Graphic code identification method, device, equipment and storage medium |
CN113656782A (en) * | 2021-08-24 | 2021-11-16 | 工银科技有限公司 | Method for aggregating identification codes, device for aggregating identification codes and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107844728A (en) * | 2017-10-27 | 2018-03-27 | 珠海市魅族科技有限公司 | Identify method and device, computer installation and the computer-readable recording medium of Quick Response Code |
CN108011930A (en) * | 2017-11-17 | 2018-05-08 | 阿里巴巴集团控股有限公司 | Data processing method and device, terminal device, server |
CN108416043A (en) * | 2018-03-14 | 2018-08-17 | 中煤科工集团重庆研究院有限公司 | Multi-platform spatial data fusion and synchronization method |
CN108549950A (en) * | 2018-04-25 | 2018-09-18 | 苏文克 | A kind of Self-service order system |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101516773B1 (en) * | 2013-03-06 | 2015-05-04 | 홍바울 | Payment system using barcode and method thereof |
CN105243616A (en) * | 2015-08-03 | 2016-01-13 | 北京信付科技有限公司 | Ordering method, ordering client, ordering cloud processor and cloud ordering system |
CN105512881B (en) * | 2015-12-09 | 2019-09-17 | 联动优势电子商务有限公司 | A kind of method and terminal for completing payment based on two dimensional code |
CN106372877A (en) * | 2016-08-31 | 2017-02-01 | 北京炎黄新星网络科技有限公司 | Integrated payment system |
CN108197677A (en) * | 2017-12-28 | 2018-06-22 | 广东蜂助手网络技术股份有限公司 | A kind of method of payment and system of automatic identification payment code |
-
2018
- 2018-12-20 CN CN201811564569.5A patent/CN109829122B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107844728A (en) * | 2017-10-27 | 2018-03-27 | 珠海市魅族科技有限公司 | Identify method and device, computer installation and the computer-readable recording medium of Quick Response Code |
CN108011930A (en) * | 2017-11-17 | 2018-05-08 | 阿里巴巴集团控股有限公司 | Data processing method and device, terminal device, server |
CN108416043A (en) * | 2018-03-14 | 2018-08-17 | 中煤科工集团重庆研究院有限公司 | Multi-platform spatial data fusion and synchronization method |
CN108549950A (en) * | 2018-04-25 | 2018-09-18 | 苏文克 | A kind of Self-service order system |
Also Published As
Publication number | Publication date |
---|---|
CN109829122A (en) | 2019-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109829122B (en) | Method and device for acquiring service entrance, storage medium and electronic device | |
CN103236935B (en) | A kind of two-dimension code user registration certification system and method thereof | |
CN103488528A (en) | QR code processing method and device based on mobile terminals | |
CN106897341A (en) | 2 D code information querying method, server, client and system | |
CN104796434A (en) | Message pushing method and message server | |
CN107220834A (en) | Customer service method and customer service system based on Quick Response Code | |
CN106845267B (en) | The processing method and mobile terminal of applicating history information | |
CN104778621A (en) | Realizing method of photo taking-and-sell business, client side and server side | |
CN107103515A (en) | A kind of friendly relation recognition method of meal ordered based on dynamic two-dimension code | |
CN113487337A (en) | Product information storage method, tracing method and block chain platform | |
CN111061984B (en) | Information pushing method, information associating method, information pushing equipment, information associating equipment and computer storage medium | |
CN109493526B (en) | Book sharing method and device and computer readable storage medium | |
CN104794661A (en) | Ordering menu generating system and method based on dynamic two-dimension code entrance | |
CN110347943A (en) | Channel information processing method, device, storage medium and computer equipment | |
CN113486996A (en) | Two-dimensional code image processing method and device, storage medium and electronic device | |
CN105788055A (en) | Voting system and method for social networking site | |
CN116366583B (en) | Method and device for adding friends, electronic equipment and storage medium | |
CN105664490A (en) | Method and system for realizing game interaction | |
CN104506597A (en) | Method, device and system for acquiring information of electricity customers | |
CN104243597A (en) | Business card dispensing and collecting system and business card dispensing and collecting method based on WLAN (wireless local area network) environment | |
CN111524041A (en) | Ordering processing method, device and system based on dynamic content service | |
CN110704498A (en) | Data extraction method, device, equipment and computer readable storage medium | |
CN106354761A (en) | Identification handling method used in electronic data of instruction books and device thereof | |
CN114390452B (en) | Message sending method and related equipment | |
CN105812472A (en) | URI-based Internet of Things identifying and servicing method |
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 |