Movatterモバイル変換


[0]ホーム

URL:


HK1182492B - Method, client device and server for accessing network information by graphic coding - Google Patents

Method, client device and server for accessing network information by graphic coding
Download PDF

Info

Publication number
HK1182492B
HK1182492BHK13109818.6AHK13109818AHK1182492BHK 1182492 BHK1182492 BHK 1182492BHK 13109818 AHK13109818 AHK 13109818AHK 1182492 BHK1182492 BHK 1182492B
Authority
HK
Hong Kong
Prior art keywords
information
server
client
action
graphic
Prior art date
Application number
HK13109818.6A
Other languages
Chinese (zh)
Other versions
HK1182492A (en
Inventor
冯桦
Original Assignee
阿里巴巴集团控股有限公司
Filing date
Publication date
Application filed by 阿里巴巴集团控股有限公司filedCritical阿里巴巴集团控股有限公司
Publication of HK1182492ApublicationCriticalpatent/HK1182492A/en
Publication of HK1182492BpublicationCriticalpatent/HK1182492B/en

Links

Description

Method for accessing network information through graphic coding, client device and server
Technical Field
The present application relates to a graphic coding technology, and more particularly, to a method for accessing network information through a graphic code, a client apparatus for accessing network information through a graphic code, and a server for accessing network information through a graphic code.
Background
The graphic code such as two-dimensional code, bar code, etc. is a new generation bar code technology for recording data symbol information by using black and white rectangular matrixes with specific geometric figures distributed on a plane (two-dimensional direction) according to a certain rule, can compile information such as website, characters, photos, etc. into a square bar code pattern through a corresponding coding algorithm, and a user can decode related information again and check contents through image input equipment or photoelectric scanning equipment. The graphic code has the characteristics of large information amount, strong error correction capability, high recognition speed, omnibearing recognition and reading and the like.
The graphic coding of mobile phone is the application of graphic coding technology in mobile phone. The information which the mobile phone needs to access and use is coded into the graphic code, and the information is identified and read by using a camera and decoding software of the mobile phone, namely the graphic code of the mobile phone. The mobile phone graphic code can be printed on various carriers such as newspapers, magazines, advertisements, books, packages, personal business cards and the like, and a user can realize quick mobile phone internet surfing by scanning the graphic code through a mobile phone camera, wherein the process is shown in figure 1.
In fig. 1, the publisher encodes a web site information (e.g., URL) into the graphical code. Firstly, a mobile phone client scans the graphic code through a mobile phone camera and identifies website information in the graphic code through decoding software; then, the mobile phone client calls a mobile phone browser to directly open and access the website, so that rapid mobile phone surfing is realized.
The mode of accessing the network through the graphic code can enable a user to quickly and conveniently browse a webpage, download pictures and texts, music and videos, acquire coupons, participate in lottery drawing, know enterprise product information and the like, omits the complicated process of inputting URL on a mobile phone, and realizes one-key internet surfing.
However, in practice, the publisher has its specific intent to publish a graphic code on a selected carrier. For example, a vendor of an item prints a graphic code on a newspaper or magazine for selling the item in an attempt to expect the user to be able to log into a website to purchase the item when viewed. If a user intentionally purchases, the user needs to scan the graphic code through a mobile phone and identify the URL of the website therein, then access the URL through a mobile phone browser, and click a ' join shopping cart ' -settlement ' button in an opened page, thereby completing the operation of online shopping. If a user purchases a plurality of commodities through the mobile phone graphic codes, the operation needs to be repeatedly executed for many times, and the operation is very complicated.
In a word, in the current mode of accessing the network through the graphic code, the website content directly corresponding to the website URL in the graphic code is basically presented to the user, the real intention of the publisher to publish the graphic code is not fully reflected, and if the user has further requirements, manual operation is needed step by step, and time is consumed.
Disclosure of Invention
An object of the present application is to provide a method, a client device, and a server for accessing network information through a graph code, so as to solve the problem of complicated graph code access operation in the prior art.
In order to solve the above problem, the present application discloses a method for accessing network information through a graphic code, comprising:
receiving a client access request, wherein the access request carries graphic coding information;
inquiring and obtaining display information and action indication information which are configured correspondingly to the graphic coding information in the request at a server;
and executing corresponding action on the display information according to the action indication information to obtain an access result of the graphic code.
Preferably, the server executes a corresponding action on the presentation information according to the action indication information to obtain an access result of the graphic code.
Preferably, after the query of the server, the method further comprises: sending the display information and the action indication information to a client; and the client executes corresponding action on the display information according to the action indication information to obtain an access result of the graphic code.
Preferably, the client access request also carries login account information; and after the access result of the graphic code is obtained, storing the corresponding relation between the access result and the login account number at the server side.
Preferably, the display information is web page information; the correspondingly configured action indication information is at least one of checking, paying attention to, adding into favorites and adding into a shopping cart.
Preferably, the display information is shop front page information; if the correspondingly configured action instruction information is 'looking up the shop homepage', the executed action is to display the webpage content of the shop homepage; if the correspondingly configured action instruction information is 'join favorite', the executed action is to join the shop into the favorite; if the action instruction information arranged correspondingly is the 'focused store top page', the executed action is the related push information of the customized store top page.
Preferably, the display information is commodity detail information; if the correspondingly configured action indication information is 'view commodity detail page', the executed action is the webpage content of the display commodity detail page; if the correspondingly configured action instruction information is 'join shopping cart', the executed action is to join the commodity into the shopping cart; and if the correspondingly configured action indication information is 'join favorite', executing the action of adding the commodity into the favorite.
The application also provides a method for accessing network information through graphic coding, which comprises the following steps:
the method comprises the steps that a client sends an access request to a server, wherein the access request carries graph coding information;
receiving display information and action indication information which are inquired by a server and configured correspondingly to the graphic coding information in the request;
and the client executes corresponding action on the display information according to the action indication information to obtain an access result of the graphic code.
Preferably, the method further comprises: the client access request also carries login account information; and the client sends the access result to the server, and the server stores the corresponding relation between the access result and the login account.
Preferably, the display information is activity page information; the correspondingly configured action indication information is at least one of touch operation, gravity sensing operation and microphone operation.
Preferably, the display information is prize scraping page information, and the correspondingly configured action indication information is touch operation of a prize scraping area; and the client receives the touch information of the prize scraping area, and obtains a prize scraping page access result according to the touch information of the prize scraping area.
Preferably, the display information is lottery-drawing page information, and the correspondingly configured action indication information is gravity sensing operation; and the client receives the gravity sensing information and obtains a lottery drawing page access result according to the gravity sensing information.
Preferably, the display information is lottery page information, and the correspondingly configured action indication information is microphone operation; and the client receives the microphone information and obtains a lottery drawing page access result according to the microphone information.
The present application also provides a server for accessing network information through a graphic code, comprising:
the information receiving module is used for receiving a client access request, wherein the access request carries graphic coding information;
the query module is used for querying and obtaining the display information and the action indication information which are configured correspondingly to the graphic coding information in the request at a server;
and the action execution module is used for executing corresponding actions on the display information according to the action indication information to obtain the access result of the graphic code.
Preferably, the client access request also carries login account information; the server further comprises: and the storage module is used for storing the corresponding relation between the access result and the login account at the server side after the access result of the graphic code is obtained.
Preferably, the display information is web page information; the correspondingly configured action indication information is at least one of checking, paying attention to, adding into favorites and adding into a shopping cart.
The present application also provides a client device for accessing network information through a graphic code, comprising:
the information sending module is used for sending an access request to a server, wherein the access request carries the graphic coding information;
the information receiving module is used for receiving display information and action indication information which are inquired by the server and configured correspondingly to the graphic coding information in the request;
and the action execution module is used for executing corresponding actions on the display information according to the action indication information to obtain the access result of the graphic code.
Preferably, the access request also carries login account information; the information sending module is further used for sending the access result to the server side, and storing the corresponding relation between the access result and the login account number in the server side.
Preferably, the display information is activity page information; the correspondingly configured action indication information is at least one of touch operation, gravity sensing operation and microphone operation.
Compared with the prior art, the method has the following advantages:
firstly, after the client identifies the information (such as the URL) in the graphic code, the information is also sent to the server (not sent through a client browser), the server pre-configures the corresponding relationship between the information in the graphic code and the display information and the action indication information, and the server performs corresponding operations according to the corresponding relationship to obtain a graphic code access result and returns the corresponding graphic code access result to the client for display, so that the graphic code access result can be obtained without the step-by-step operation of the user.
For example, in electronic commerce, the configuration of the server corresponding to the URL in a certain graphic code is: the item indicated by the URL is added to the shopping cart. After the client scans the graphic code, the server directly returns the access result of the graphic code of 'joining shopping cart' to the client for display. If the user purchases a plurality of commodities through the graphic codes, the commodities can be directly and completely added into the shopping cart only by scanning the graphic codes for a plurality of times, then the commodities are uniformly settled, and the user does not need to enter a commodity detail page once and again according to the prior art and click a button for adding the shopping cart.
Therefore, firstly, the method simplifies the user operation and accelerates the rapidity of obtaining the access result of the graphic code after the user scans the graphic code. Secondly, the server only needs to execute corresponding operation according to the information in the graphic code sent by the client and the pre-configured display and action, and the operation can be executed without waiting for the step-by-step operation request of the user according to the prior art, so that the processing flow of the server is simplified. And thirdly, the mode of directly returning the graphic code access result to the client also conforms to the intention of the graphic code publisher.
Secondly, the server side in the application can also send the display information and the action indication information configured corresponding to the graphic coding information to the client side, and the client side executes corresponding actions according to the action indication information to obtain the access result of the graphic coding.
This method may be applied to lottery activities, such as: the display information sent to the client by the server is a lottery activity page, and the corresponding action indication information can be touch operation, gravity sensing operation or microphone operation. When a user conducts lottery scraping touch operation in a touch screen lottery scraping area according to the action indication, the client side directly displays the result of whether a prize is won; or shaking the mobile phone client to obtain a lottery shaking result through gravity induction; or blowing up the balloon on the lottery drawing page by using the client microphone, and obtaining the lottery drawing result after the balloon is blown out. Compared with the mode of drawing a lottery through paper in the prior art, the lottery drawing mode saves a large amount of paper and is more environment-friendly; moreover, the user can participate in lottery drawing through the mobile terminal such as the mobile phone carried about, which is very convenient and increases the interest of lottery drawing.
Of course, it is not necessary for any product to achieve all of the above-described advantages at the same time for practicing the present application.
Drawings
FIG. 1 is a logic diagram of prior art access implemented by graphical encoding;
FIG. 2 is a logic diagram of access implemented by graphic coding according to an embodiment of the present application;
FIG. 3 is a flow chart of a server process for implementing access by graphical coding in an embodiment of the present application;
FIG. 4 is a flow chart of a client process for implementing access through graphical coding in an embodiment of the present application;
FIG. 5 is a schematic diagram of accessing an online store through a graphical code in a prior art embodiment;
FIG. 6 is a schematic diagram of accessing online stores through graphic codes in the embodiment of the application;
FIG. 7 is a schematic diagram of the unified settlement of online transactions in the embodiment of the present application;
FIG. 8 is a flow chart of a client process for implementing access via graphical encoding in another embodiment of the present application;
FIG. 9 is a schematic diagram of a mobile phone touch screen lottery scraping in the embodiment of the present application;
FIG. 10 is a schematic diagram of a gravity-sensing lottery in an embodiment of the present application;
fig. 11 is a schematic diagram of a lottery drawn by blowing with a microphone of a mobile phone in the embodiment of the present application;
fig. 12 is a diagram illustrating a structure of a client apparatus accessing a network through a graphic code according to an embodiment of the present application;
FIG. 13 is a block diagram of a graphics code access server according to an embodiment of the present application;
FIG. 14 is a block diagram of a graphics code access server according to another embodiment of the present application;
FIG. 15 is a block diagram of a server accessing a network via graphical encoding according to another embodiment of the present application;
fig. 16 is a diagram illustrating a client apparatus accessing a network through a graphic code according to another embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
The application provides a new method for accessing network information through the graphic code, which can dynamically configure the display result of the graphic code and directly present the display result of the graphic code to a client through the matching of the graphic code and a server. The graphic codes comprise various types of graphic codes such as two-dimensional codes and bar codes.
The following describes the implementation process of the method of the present application in detail by way of examples.
Referring to fig. 2, it is a schematic logic diagram of implementing access through graphics coding according to the embodiment of the present application.
The client can be a mobile phone, a tablet computer and other devices. In this embodiment, a mobile phone client will be taken as an example for description.
Step S1, the mobile phone client collects and identifies the graphic codes to obtain the information in the graphic codes (also referred to as graphic code information for short);
step S2, the mobile phone client sends the information in the graphic code to the server;
step S3, the server executes corresponding operation according to the display information and the action indication information configured correspondingly to the information in the graphic code, and obtains the access result of the graphic code;
step S4, the server side returns the access result of the graphic code corresponding to the information in the graphic code to the mobile phone client side;
and step S5, the mobile phone client displays the access result of the graphic code.
As can be seen from the above, the method according to the embodiment of the present application can be completed only by performing an interaction process between the client and the server, and the details of the process of the client and the process of the server are described below.
Reference is made to fig. 3, which is a flowchart illustrating a process of a server side implementing access through graphical coding in the embodiment of the present application.
Step 301, configuring display information and action indication information in advance corresponding to information in graphic coding;
the information in the graphic code may be information corresponding to information such as web address, text, and photograph.
The display information refers to what form the information pointed to by the information in the graphic code is to be displayed, for example, the information in the graphic code is website information, the webpage pointed to by the website is a shop front page, a commodity detail page, an activity page, and the like, and the webpage can be various displays.
The action indication information refers to an action executed corresponding to certain display information, for example, the action corresponding to the shop home page may be an action of viewing the page or collecting the page, and the action corresponding to the commodity detail page may be an action of adding a shopping cart or adding a favorite.
In the server-side configuration, the information in each graphic code corresponds to a combination of presentation and action, for example, "URL 1 — > item detail page + add favorite" is one configuration. Different combinations can be configured for information in the same graphic code, for example, the URL1 referenced in the above example can also be configured as "URL 1- > item detail page + Add shopping cart". That is, the same graphic code may set different presentation and action configurations.
However, in practical applications, only one configuration corresponding to the same graphic code is generally selected and set in the same server according to an application scene, and other configurations can be set for the same graphic code in other servers, otherwise, the same graphic code corresponds to two different configurations in the same server. In this case, however, the server may also distinguish different configurations according to the client identifier. For example, for a cell phone client, and for the same graphic code, the configuration "URL 1- > merchandise detail page + add favorites" is for users with cell phone numbers in one segment, and the configuration "URL 1- > merchandise detail page + add shopping cart" is for users with cell phone numbers in another segment.
Step 302, receiving an access request sent by a client, wherein the access request carries graphics coding information;
the graphic coding information is information obtained after the graphic coding is identified by the client, such as information of a website and the like.
Step 303, inquiring and obtaining the display information and the action indication information configured corresponding to the graphic coding information in the request at the server;
and step 304, executing corresponding action on the display information according to the action indication information to obtain an access result of the graphic code.
Namely, the server executes corresponding operation according to the display information and the action information which are configured correspondingly to the information in the graphic code, obtains a graphic code access result, and returns the graphic code access result to the client.
The execution of the corresponding operations shown refers to: assuming that the information in the graphic code sent by the client is URL1, and the corresponding configuration in the server is "URL 1- > commodity detail page + add favorite", the server performs the operation of adding the commodity detail page pointed by URL1 to the favorite. And then, returning the graphical code access result of 'commodity adding into favorite' to the client.
Referring to fig. 4, it is a flowchart of a client process for implementing access by graph coding in this embodiment of the present application.
Step 401, collecting and identifying a graph code at a client to obtain information in the graph code;
the client can be a mobile phone client, or other clients with image input equipment or photoelectric scanning equipment and installed with graphic coding and decoding software, the graphic codes can be collected through the image input equipment or the photoelectric scanning equipment, and the information in the graphic codes can be identified through the decoding software.
The graphic code can be printed on various carriers such as newspapers, magazines, advertisements, books, packages, personal business cards and the like, and can also be displayed by a browser by taking a webpage as a carrier, and a user can shoot and identify the graphic code displayed on the webpage through a mobile phone camera.
Step 402, the client sends the information in the graphic code to the server;
step 403, receiving a graph code access result corresponding to the information in the graph code from a server;
and the server side executes corresponding operation according to the display information and the action information which are configured correspondingly to the information in the graphic code, and then obtains the graphic code access result.
And step 404, displaying the graph code access result on the client.
Based on the embodiments shown in fig. 2, fig. 3 and fig. 4, according to different configurations of the display and the actions, some operations need to associate the user account, such as adding the item detail page pointed by the URL1 to the favorite, and need to know which user's favorite is added. However, there are operations that are not necessarily associated with the user account, such as the operation of presenting the item detail page pointed to by the URL1 at the client, and it is not important to know which user's client the presentation is at.
Then, for the above-mentioned case that the operation needs to be performed in association with the user account, after the access result of the graphic code is obtained, the corresponding relationship between the access result and the login account may be stored in the server. The embodiment of the application provides the following two processing modes:
the first is that the client sends the login account to the server, the server executes corresponding operations according to the display information and the action indication information configured corresponding to the information in the graphic code, and stores the corresponding relationship between the access result and the login account in the server.
The client can log in before scanning and collecting the graphic codes, or can log in after scanning and collecting the graphic codes, and the server can verify the login account number during logging in. After the client logs in, the client carries a login account when sending a request to the server each time. Therefore, the server side can execute corresponding operation corresponding to the login account. For example, the item detail page pointed to by URL1 is added to user A's favorite, and the item detail page pointed to by URL2 is added to user B's favorite.
Secondly, establishing a corresponding relation between a client identifier and a login account at a server, and sending the client identifier to the server by the client; and the server side corresponds to the login account, executes corresponding operation according to the display information and the action indication information which are configured correspondingly to the information in the graphic code, and stores the corresponding relation between the access result and the login account in the server side.
For the mobile phone client, the server can pre-establish the corresponding relation between the mobile phone number or the mobile phone SIM card identification number and the login account, so that the server can identify the requested client by inquiring the corresponding relation without sending by the client. However, in practical applications, it is difficult for the server to establish a stable corresponding relationship due to various factors, such as frequent change of the mobile phone number of the user or difficulty in obtaining the identification number of the SIM card of the mobile phone. However, the present invention may be implemented in the second manner if conditions permit, and the present invention is not limited to this.
In addition, in practical applications, the server may use one server or two or more servers to complete the process of fig. 3. If one server is used, the configuration of the presentation and action instructions and all actions for performing the corresponding operations according to the configuration are done on this one server. However, if two or more servers are adopted, for example, one server is responsible for configuration and maintenance and management of graphic codes according to the division of services, and another server is responsible for specific service implementation, such as adding favorites, adding shopping carts, etc., then the following processing is added in the embodiment of the present application:
when the server receiving the information in the graphic code is X, the server executing the corresponding operation according to the presentation information and the action indication information is Y, and X and Y are not the same server, before receiving a graphic code access result corresponding to the information in the graphic code from the server Y, the following processing may be performed:
the client receives the display information and the action indication information which are configured correspondingly to the information in the graphic codes from the server X, and requests the server Y to execute corresponding operations according to the display information and the action indication information.
Namely: the server X can send configuration information set corresponding to information in the graphic codes to the client, the client can read display information and action indication information after analyzing the configuration information, then sends a corresponding request to the server Y according to the display information and the action indication information, the server Y executes corresponding operation according to the display information and the action indication information, and returns an access result of the operated graphic codes to the client. Meanwhile, the server stores the corresponding relation between the access result and the login account. It follows that this is a client-initiated operational behavior.
Alternatively, another processing method is also available: and the server X sends the display information and the action indication information which are configured correspondingly to the information in the graphic code to the server Y, and the server Y executes corresponding operation according to the display information and the action indication information and stores the corresponding relation between the access result and the login account in the server. In this way, the server automatically executes corresponding operations without passing through the client.
Based on the above, the present application and the prior art will be described below by taking the e-commerce field as an example.
Reference is made to fig. 5, which is a schematic diagram of accessing an online store through a graphic code in a prior art embodiment.
According to the access logic shown in fig. 1, after a user scans a certain graphic code through a mobile phone, the mobile phone directly calls a browser to open and access a URL contained in the graphic code, the server returns the content pointed by the URL to the mobile phone, and the content is displayed as a treasure detail page shown in fig. 5, and after browsing, the user can click a button "join a shopping cart" at the upper right corner of a mobile phone screen to join the treasure into the shopping cart.
Reference is made to fig. 6, which is a schematic diagram illustrating an online store access by a graphic code in the embodiment of the present application.
According to the access logic shown in fig. 2, a graphic code is displayed on the computer screen, the user uses the camera of the mobile phone to place the graphic code image in a rectangle, and the decoding software in the mobile phone can automatically recognize the URL contained in the graphic code at a position about 10cm away from the lens of the mobile phone. Then, the mobile phone automatically sends the identified URL to the server. At the server, the configuration corresponding to the URL is: the baby is added to the shopping cart. Therefore, after receiving the URL, the server automatically executes the operation of adding the baby into the shopping cart, and returns the graphical code access result 'adding the shopping cart' to the mobile phone for displaying.
Therefore, after the method described in the embodiment of the present application is used, the mobile phone scans the graphic code and displays the display result of "join shopping cart", instead of the treasure detail page shown in fig. 5. In contrast, the embodiment shown in fig. 6 does not require the user to click step by step to obtain the access result of the graphic code. Furthermore, if a user purchases a plurality of commodities through the graphic codes, the commodities can be directly added into the shopping cart only by scanning the graphic codes for a plurality of times, then the commodities enter the page shown in fig. 7 for uniform settlement, and the commodity detail page does not need to be entered once and again according to the prior art, and the 'adding shopping cart' button is clicked to complete the settlement. Thus, the embodiment of FIG. 6 simplifies the operation of online shopping.
The present application can be applied to other aspects besides the above-mentioned embodiments, and the following description is only given by way of example, but should not be construed as limiting the scope of the present application.
The display information may be various web page information, and the correspondingly configured action indication information may be at least one of viewing, paying attention to, adding a favorite, and adding a shopping cart. As described above, if a plurality of types of action indication information are configured correspondingly, the action indication information can be distinguished by a client identifier (e.g., a login account). Specific examples are as follows:
example 1:
the information in the graphic code is information of a certain website, and the website points to the home page of a certain shop, and the corresponding configuration set by the server is as follows:
the display information is shop home page information;
the action instruction information may be "view store front page", "join favorite", or "follow store front page".
In a specific application scene, if the correspondingly configured action instruction information is 'view store top page', the executed action is to display the webpage content of the store top page, and the corresponding graphic code access result is the webpage content of the store top page, namely the webpage content of the store top page is finally displayed on the mobile phone screen.
In a specific application scene, if the correspondingly configured action indication information is 'join favorite', the executed action is to join the shop into the favorite, the corresponding graphic code access result is 'shop join favorite', namely, the server can directly join the shop home page into the user favorite, and return a plurality of characters of 'shop join favorite' to the mobile phone screen for display.
In a specific application scene, if the correspondingly configured action instruction information is the focused store top page, the executed action is related push information of a customized store top page, the corresponding graphic code access result is the focused store top page, namely, the server can directly add the store into a user customized list, directly inform the client when related push information (such as information of commodity updating, store activities and the like) exists, and return a plurality of characters of the focused store top page to a mobile phone screen for displaying.
Example 2:
the information in the graphic code is certain website information, the website points to a certain commodity detail page, and if a certain baby detail page in an online shop, the corresponding configuration set by the server is as follows:
the display information is commodity detail information;
the action indication information may be "view item detail page", "join shopping cart", or "join favorites".
In a specific application scene, if the correspondingly configured action indication information is 'view commodity detail page', the executed action is to display the webpage content of the commodity detail page, and the corresponding graphic code access result is the webpage content of the commodity detail page, namely the webpage content of the commodity detail page is finally displayed on the mobile phone screen.
In a specific application scene, if the correspondingly configured action indication information is 'join shopping cart', the executed action is to join the commodity into the shopping cart, the corresponding graphical code access result is 'join shopping cart', namely, the server can directly join the commodity into the user shopping cart and return a plurality of characters 'join shopping cart' to the mobile phone screen for display.
In a specific application scene, if the correspondingly configured action indication information is 'join favorite', the executed action is to join the commodity into the favorite, the corresponding graphical code access result is 'commodity join favorite', namely, the service end can directly join the commodity detail page into the user favorite, and return a plurality of characters of 'commodity join favorite' to the mobile phone screen for display.
In summary, the embodiment of the application simplifies user operation and accelerates the rapidity of obtaining the access result of the graphic code after the user scans the graphic code. Moreover, the server only needs to execute corresponding operation according to the information in the graphic code sent by the client and the pre-configured display information and action indication information, and the operation can be executed without waiting for a step-by-step operation request of a user according to the prior art, so that the processing flow of the server is simplified.
In addition, the mode of directly returning the graph code access result to the client also better conforms to the intention of the graph code publisher. For example, the seller of a commodity issues a graphic code of a commodity with the intention of hopeing that the user purchases more, so that the configuration of 'URL 1- > commodity detail page + shopping cart' can be set at the server side while issuing the graphic code, so that the user can automatically add the commodity to the shopping cart only by scanning the graphic code with a mobile phone.
Based on the above, the present application further provides another implementation manner: and the server sends the inquired display information and the action indication information to the client, and the client executes corresponding action on the display information according to the action indication information to obtain an access result of the graphic code. As shown in particular in fig. 8.
Referring to fig. 8, it is a flowchart of a client process for implementing access by graphics coding in another embodiment of the present application.
Step 801, a client sends an access request to a server, wherein the access request carries graphic coding information;
step 802, receiving display information and action indication information which are inquired by a server and configured correspondingly to the graphic coding information in the request;
and 803, the client executes corresponding action on the display information according to the action indication information to obtain an access result of the graphic code.
In addition, optionally, the client access request may also carry login account information, the client sends the access result to the server, and the server stores the corresponding relationship between the access result and the login account.
The information in the graphic code may be information of a certain website, the website is directed to a certain activity page, the activity page may be a sales promotion page, a lottery drawing page, a game participation page, a notification message publishing page, an advertisement page, and the like, and the action indication information correspondingly configured by the service end may be at least one of a touch operation, a gravity sensing operation, and a microphone operation. As described above, if a plurality of types of action indication information are configured correspondingly, the action indication information can be distinguished by a client identifier (e.g., a login account).
The content of the activity page in the form of the web page is the same as that of the ordinary web page, and the web page displayed on the mobile phone client is shown in fig. 5 and 7. The card-type activity page is a display form of a card-type web page, and can be shown in fig. 9, 10 and 11.
The method shown in fig. 8 may be applied to lottery activities. In the prior art, after a lottery drawing figure code is scanned by a figure code identification client, a browser is opened to visit a lottery drawing website to participate in the lottery drawing. However, with the method described in the embodiment of the present application, after the "pattern code recognition client" scans the pattern code, several card-type activity pages shown in fig. 9, 10, and 11 may appear in the display scene directly acquired in the lens of the camera according to the information in the pattern code, which is specifically as follows:
1) the display information is prize scraping page information, and the correspondingly configured action indication information is touch operation of a prize scraping area;
and the client receives the touch information of the prize scraping area, and obtains a prize scraping page access result according to the touch information of the prize scraping area.
Namely, the prize scraping touch operation is carried out on the prize scraping area on the lottery drawing page displayed on the touch screen of the client side, and a prize scraping result is obtained and displayed. Referring to fig. 9, a scratch card for scratch lottery may appear in a display scene obtained from a camera lens of the camera, wherein a scratch area is set, and a user can scratch the scratch area to see whether a prize is won or not by using the touch screen feature of the mobile phone.
2) The display information is prize-shaking page information, and the correspondingly configured action indication information is gravity sensing operation;
and the client receives the gravity sensing information and obtains a lottery drawing page access result according to the gravity sensing information.
Namely, the client is shaken according to the prompt information on the lottery drawing page, and the lottery drawing result is obtained and displayed from the server by utilizing gravity sensing. Referring to fig. 10, a prompt message "shake IPHONE" may appear in a display scene acquired inside a lens of a camera, and a user can see a lottery shaking result after shaking the mobile phone by using gravity sensing of the mobile phone.
When the lottery is played by utilizing gravity induction, the gravity inductor in the mobile phone can be started by shaking the mobile phone according to the action indication information, and the lottery playing result is sent to the mobile phone client for displaying after the server receives the gravity induction information of the mobile phone. Furthermore, a gravity sensing threshold value can be set, and gravity sensing information can be sent to the server only when the gravity sensing value exceeds the threshold value when the mobile phone is shaken, so that misoperation of a user is avoided.
3) The display information is lottery page information, and the correspondingly configured action indication information is microphone operation;
and the client receives the microphone information and obtains a lottery drawing page access result according to the microphone information.
Namely, a client microphone is used for blowing up the balloon on the lottery drawing page, and the lottery drawing result is obtained and displayed from the server after the balloon is blown out. Referring to fig. 11, a balloon-shaped pattern may appear in a display scene acquired in the lens of the camera, and the user blows air into the balloon by using the microphone of the mobile phone, and can see a lottery result after the user blows out the balloon.
Furthermore, a blowing threshold value can be set, and the balloon can be blown only when the blowing strength or time of the user exceeds the threshold value, so that misoperation of the user is avoided.
Compared with the prior art, the lottery drawing modes which adopt paper are more environment-friendly, and a large amount of paper is saved; moreover, the user can participate in lottery drawing through the mobile terminal such as the mobile phone carried about, which is very convenient and increases the interest of lottery drawing.
Based on the above contents, if the mobile phone client is used to realize the graph code access, in practical application, some mobile phone clients do not use the page display in the Wap page form but the page display form developed specially for mobile terminals such as mobile phones when displaying the page contents such as the product detail page or the shop home page, so that after the client scans and identifies the graph code of a product detail, the client only knows that the identification result is a URL address, but does not know which product detail corresponds to the URL.
Therefore, the embodiment of the present application preferably may further add the following processing to the mobile phone client:
and receiving commodity identification information corresponding to the information in the graphic code from the server, and acquiring relevant data from the server and displaying the data by the client according to the commodity identification information.
After the client sends the identified URL to the server, the server returns the id of the item and default actions (such as displaying item details, adding a favorite, or adding a shopping cart). Therefore, when the user has subsequent operations, such as entering the purchase order settlement after adding a plurality of commodities into the shopping cart, the client can acquire related data again according to the commodity id and display a localized page.
The embodiments are described by taking electronic commerce as an example, but specific applications can also be applied to other fields, and the implementation principle is similar to the embodiments, so that the detailed description is omitted.
It should be noted that the foregoing method embodiments are described as a series of acts or combinations for simplicity in explanation, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Based on the above description of the method embodiments shown in fig. 2 to fig. 7, the present application further provides corresponding client device and server embodiments, as shown in fig. 12 and fig. 13 and 14, respectively.
Fig. 12 is a block diagram of a client apparatus accessing a network through a graphics code according to an embodiment of the present application.
The client device may include the following modules:
the figure code acquisition module 10 is used for acquiring figure codes;
the figure code identification module 20 is used for identifying the collected figure codes to obtain information in the figure codes;
the information sending module 30 is configured to send the information in the graphic code to a server;
the information receiving module 40 is configured to receive a graph code access result corresponding to the information in the graph code from the server, where the server performs corresponding operations according to the presentation information and the action indication information configured corresponding to the information in the graph code to obtain the graph code access result;
and the information display module 50 is used for displaying the graph coding access result.
Optionally, when the operation of the server needs to be associated with a user account, the information sending module 30 may further be configured to send a login account to the server, where the server executes a corresponding operation according to the display information and the action indication information configured corresponding to the information in the graphic code, corresponding to the login account.
Optionally, when the server receiving the information in the graphic code is X, the server performing the corresponding operation according to the display information and the action indication information is Y, and X and Y are not the same server, the information receiving module 40 may be further configured to receive the display information and the action indication information configured corresponding to the information in the graphic code from the server X, and request the server Y to perform the corresponding operation according to the display information and the action indication information.
The display information and the action indication information can be configured according to an actual application scene, and several configuration conditions are listed as follows:
1) the display information may be "shop homepage information";
if the correspondingly configured action instruction information is 'looking up the shop front page', the corresponding graphic code access result is the webpage content of the shop front page;
if the correspondingly configured action indication information is 'join favorite', the corresponding graphical code access result is 'shop join favorite';
if the action instruction information arranged correspondingly is the "focused store top page", the corresponding graphic code access result is the "focused store top page".
2) The display information can also be 'commodity detail information';
if the correspondingly configured action indication information is 'view commodity detail page', the corresponding image code access result is the webpage content of the commodity detail page;
if the correspondingly configured action indication information is 'join shopping cart', the corresponding graphical code access result is 'join shopping cart';
if the correspondingly configured action instruction information is 'join favorite', the corresponding graphic code access result is 'commodity join favorite'.
3) The presentation information may also be "active page information";
if the correspondingly configured action indication information is 'view activity page', the corresponding graph code access result is web page type activity page content;
and if the correspondingly configured action indication information is 'view card type activity page', the corresponding graphic code access result is the content of the card type activity page.
In addition, preferably, the information receiving module 40 may be further configured to receive, from the server, product identification information corresponding to the information in the graphic code, and obtain related data from the server according to the product identification information.
Referring to fig. 13, it is a block diagram of a graph coding access server according to an embodiment of the present application.
The graphics code access server may include the following modules:
a configuration module 60, configured to pre-configure presentation information and action indication information corresponding to information in the graphic code;
the graph code access module 70 is configured to receive information in a graph code sent by a client, perform corresponding operations according to the presentation information and the action information configured corresponding to the information in the graph code, obtain a graph code access result, and return the graph code access result to the client.
Optionally, when the operation of the server needs to be associated with a user account, the graphic code access module 70 may further perform a corresponding operation according to the display information and the action indication information configured corresponding to the information in the graphic code, corresponding to the login account of the client.
In addition, the graph code access server may also have an implementation shown in fig. 13, that is, be composed of a plurality of servers. Referring to fig. 14, a block diagram of a graphics code access server according to another embodiment of the present application is shown.
The graphic coding access server may include:
the first server 80 is configured to pre-configure the display information and the action indication information corresponding to the information in the graphic code, receive the information in the graphic code sent by the client, and send the correspondingly configured display information and action information to the client;
and the second server 90 is configured to receive the presentation information and the action indication information sent by the client, perform corresponding operations according to the presentation information and the action indication information, obtain a graph coding access result, and return the graph coding access result to the client.
Alternatively, the first server 80 may directly send the correspondingly configured presentation information and the action instruction information to the second server 90.
For the above embodiments of the client device and the graphics coding access server, since they are basically similar to the method embodiments shown in fig. 2 to fig. 7, the description is relatively simple, and for the relevant points, refer to the partial description of the method embodiments.
Based on the above description of the method embodiments shown in fig. 8 to 11, the present application further provides corresponding client device and server embodiments, as shown in fig. 15 and 16, respectively.
Referring to fig. 15, a diagram of a server architecture for accessing a network through a graphical code according to another embodiment of the present application is shown.
The server may include the following modules:
the information receiving module 11 is configured to receive a client access request, where the access request carries graphics coding information;
the query module 12 is configured to query and obtain, at the server, display information and action indication information configured in correspondence with the graphic coding information in the request;
and the action execution module 13 is configured to execute a corresponding action on the presentation information according to the action indication information to obtain an access result of the graphic code.
Preferably, the client access request may also carry login account information; correspondingly, the server may further include the following modules:
and the storage module 14 is configured to store, at the server, a corresponding relationship between the access result and the login account after obtaining the access result of the graphic code.
The display information may be web page information, and the correspondingly configured action indication information may be at least one of viewing, paying attention to, adding a favorite, and adding a shopping cart.
Referring to fig. 16, a diagram of a client apparatus accessing a network through a graphic code according to another embodiment of the present application is shown.
The client device may include the following modules:
the information sending module 21 is configured to send an access request to a server, where the access request carries graphics coding information;
the information receiving module 22 is configured to receive display information and action indication information, which are queried by the server and configured corresponding to the graphic coding information in the request;
and the action execution module 23 is configured to execute a corresponding action on the presentation information according to the action indication information to obtain an access result of the graphic code.
Preferably, the access request may also carry login account information; the information sending module 21 may also be configured to send the access result to the server, and store, at the server, a corresponding relationship between the access result and the login account.
The display information may be activity page information, and the correspondingly configured action indication information may be at least one of touch operation, gravity sensing operation, and microphone operation.
For the embodiment of the client device and the server, since it is basically similar to the embodiment of the method shown in fig. 8, the description is relatively simple, and for the relevant points, reference may be made to part of the description of the embodiment of the method.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The method, system and client device for accessing a network through a graph code provided by the present application are introduced in detail, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (12)

1. A method for accessing network information via graphical encoding, comprising:
receiving a client access request, wherein the access request carries login account information and graphic coding information obtained by identifying a graphic code by the client;
inquiring and obtaining display information and action indication information which are configured correspondingly to the graphic coding information in the request at a server;
the server executes corresponding operation on the display information according to the action indication information to obtain an access result of the graphic code;
and after the access result of the graphic code is obtained, storing the corresponding relation between the access result and the login account number at the server side.
2. The method of claim 1, wherein:
the display information is webpage information;
the correspondingly configured action indication information is at least one of checking, paying attention to, adding into favorites and adding into a shopping cart.
3. The method of claim 2, wherein:
the display information is shop home page information;
if the correspondingly configured action instruction information is 'looking up the shop homepage', the executed action is to display the webpage content of the shop homepage;
if the correspondingly configured action instruction information is 'join favorite', the executed action is to join the shop into the favorite;
if the action instruction information arranged correspondingly is the 'focused store top page', the executed action is the related push information of the customized store top page.
4. The method of claim 2, wherein:
the display information is commodity detail information;
if the correspondingly configured action indication information is 'view commodity detail page', the executed action is the webpage content of the display commodity detail page;
if the correspondingly configured action instruction information is 'join shopping cart', the executed action is to join the commodity into the shopping cart;
and if the correspondingly configured action indication information is 'join favorite', executing the action of adding the commodity into the favorite.
5. A method for accessing network information via graphical encoding, comprising:
the method comprises the steps that a client sends an access request to a server, wherein the access request carries login account information and graphic coding information obtained by the client through identifying graphic codes;
receiving and displaying prize scraping page information and touch operation of a prize scraping area which are inquired by a server and are configured correspondingly according to the client identification and the graphic coding information in the request;
the client receives touch information of the scratch area, and executes corresponding action on the scratch page information according to the touch information of the scratch area to obtain an access result of the scratch page;
and the client sends the access result to the server, and the server stores the corresponding relation between the access result and the login account.
6. A method for accessing network information via graphical encoding, comprising:
the method comprises the steps that a client sends an access request to a server, wherein the access request carries login account information and graphic coding information obtained by the client through identifying graphic codes;
receiving and displaying lottery drawing page information and gravity sensing operation which are inquired by the server and are correspondingly configured according to the client identification and the graphic coding information in the request;
the client receives the gravity sensing information, and executes corresponding actions on the lottery drawing page information according to the gravity sensing information to obtain a lottery drawing page access result;
and the client sends the access result to the server, and the server stores the corresponding relation between the access result and the login account.
7. A method for accessing network information via graphical encoding, comprising:
the method comprises the steps that a client sends an access request to a server, wherein the access request carries login account information and graphic coding information obtained by the client through identifying graphic codes;
receiving and displaying lottery drawing page information and microphone operation which are inquired by the server and configured correspondingly according to the client identification and the graphical coding information in the request;
the client receives the microphone information, and executes corresponding actions on the lottery drawing page information according to the microphone information to obtain a lottery drawing page access result;
and the client sends the access result to the server, and the server stores the corresponding relation between the access result and the login account.
8. A server for accessing network information via graphical encoding, comprising:
the information receiving module is used for receiving a client access request, wherein the access request carries login account information and graphic coding information obtained by the client through identifying graphic codes;
the query module is used for querying and obtaining the display information and the action indication information which are configured correspondingly to the graphic coding information in the request at a server;
the action execution module is used for executing corresponding operation on the display information by the server according to the action indication information to obtain an access result of the graphic code;
and the storage module is used for storing the corresponding relation between the access result and the login account at the server side after the access result of the graphic code is obtained.
9. The server of claim 8, wherein:
the display information is webpage information;
the correspondingly configured action indication information is at least one of checking, paying attention to, adding into favorites and adding into a shopping cart.
10. A client device for accessing network information via graphical encoding, comprising:
the information sending module is used for sending an access request to the server, wherein the access request carries login account information and graphic coding information obtained by the client through identifying the graphic coding;
the information receiving module is used for receiving the lottery scraping page information and the touch operation of the lottery scraping area which are inquired by the server and are correspondingly configured according to the client identification and the graphic coding information in the request;
the action execution module is used for receiving touch operation of a scratch area and executing corresponding action on the scratch page information according to the touch operation of the scratch area to obtain a scratch page access result;
the information sending module is further used for sending the access result to the server side, and storing the corresponding relation between the access result and the login account number in the server side.
11. A client device for accessing network information via graphical encoding, comprising:
the information sending module is used for sending an access request to the server, wherein the access request carries login account information and graphic coding information obtained by the client through identifying the graphic coding;
the information receiving module is used for receiving lottery-drawing page information and gravity sensing operation which are inquired by the server and are correspondingly configured according to the client identification and the graphic coding information in the request;
the action execution module is used for receiving gravity sensing operation and executing corresponding action on the lottery drawing page information according to the gravity sensing operation to obtain a lottery drawing page access result;
the information sending module is further used for sending the access result to the server side, and storing the corresponding relation between the access result and the login account number in the server side.
12. A client device for accessing network information via graphical encoding, comprising:
the information sending module is used for sending an access request to the server, wherein the access request carries login account information and graphic coding information obtained by the client through identifying the graphic coding;
the information receiving module is used for receiving lottery drawing page information and microphone operation which are inquired by the server and configured correspondingly according to the client identification and the graphic coding information in the request;
the action execution module is used for receiving microphone operation and executing corresponding action on the lottery drawing page information according to the microphone operation to obtain a lottery drawing page access result;
the information sending module is further used for sending the access result to the server side, and storing the corresponding relation between the access result and the login account number in the server side.
HK13109818.6A2013-08-22Method, client device and server for accessing network information by graphic codingHK1182492B (en)

Publications (2)

Publication NumberPublication Date
HK1182492A HK1182492A (en)2013-11-29
HK1182492Btrue HK1182492B (en)2018-07-27

Family

ID=

Similar Documents

PublicationPublication DateTitle
TWI624796B (en) Method for accessing network information through graphic coding, client device and server
JP6522081B2 (en) Electronic commerce system, electronic commerce method, and electronic commerce program
CN103369049B (en)Mobile terminal and server exchange method and system thereof
CN109325776A (en)Return of goods code generates and return of goods method, apparatus, equipment and its storage medium
JP2011521311A (en) Rating using machine-readable expressions
CN106713439A (en)Apparatus adopting bar code image to carry out communication
CN101887565A (en)Mobile electronic commerce information publishing and interaction platform
KR20040054445A (en)Contents and information providing service system for using a code, user terminal, communicaton agency platform, operating agency platform, on-line relation coporation module and off-line relation coporation module, and the method from the same
CN104778621A (en)Realizing method of photo taking-and-sell business, client side and server side
US20140358712A1 (en)Shopping guide system, shopping guide management device and method
CN105474199A (en)Utomatically filling item information for selling
WO2020054084A1 (en)Information processing method, information display method, program, terminal, and server
CN104732405A (en)Sales shop processing method and computer readable storage medium using the same
KR100786268B1 (en) Method and system for providing payment service using SSM of mobile terminal
CN102866994B (en)A kind of disposal route of internet resource popularization data and system
CN111488180B (en)Service information processing method and device, electronic equipment and storage medium
JP7302124B2 (en) Electronic ticket presentation system, electronic ticket presentation program, and electronic ticket presentation method
HK1182492B (en)Method, client device and server for accessing network information by graphic coding
HK1182492A (en)Method, client device and server for accessing network information by graphic coding
CN113268287A (en)Small program starting method and device based on graphic code
US20160063128A1 (en)Code sourcing on products to access supplemental information value
CN107767201A (en)A kind of data merging treatment method, apparatus, mobile terminal and terminal website
CN111340595A (en)Product acquisition method, device and related equipment
JP2002015211A (en)Method for information gathering using bar code
EP2207109A1 (en)Method for browsing multimedia content associated to objects, a related browsing device, a related set resolving server, and a related content mapping server

[8]ページ先頭

©2009-2025 Movatter.jp