CN107438054B - Method and system for realizing menu information control based on public platform - Google Patents

Method and system for realizing menu information control based on public platform Download PDF

Info

Publication number
CN107438054B
CN107438054B CN201610357180.8A CN201610357180A CN107438054B CN 107438054 B CN107438054 B CN 107438054B CN 201610357180 A CN201610357180 A CN 201610357180A CN 107438054 B CN107438054 B CN 107438054B
Authority
CN
China
Prior art keywords
user
information
public platform
menu
binding
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
Application number
CN201610357180.8A
Other languages
Chinese (zh)
Other versions
CN107438054A (en
Inventor
邱暘
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201610357180.8A priority Critical patent/CN107438054B/en
Publication of CN107438054A publication Critical patent/CN107438054A/en
Application granted granted Critical
Publication of CN107438054B publication Critical patent/CN107438054B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Abstract

The invention provides a method and a system for realizing menu information control based on a public platform, wherein the method comprises the following steps: the public platform sends a push message to a user, wherein the push message is used for prompting the user to initiate a binding request; the user sends the binding request to the public platform by utilizing the user binding rule provided by the public platform; after receiving the binding request of the user, the public platform authenticates the identity of the user and generates a user information mapping table; when the user enters the public platform to perform relevant operation, the public platform intercepts the information of the user and searches in the user information mapping table, and if the user information corresponding to the user is found, the user can enter to view corresponding menu information. The invention can effectively realize the control function of the information authority of the corresponding menu by utilizing the public platform interface.

Description

Method and system for realizing menu information control based on public platform
Technical Field
The invention relates to the technical field of computer networks and computer software, in particular to a method and a system for realizing menu information control based on a public platform.
Background
With the popularization of wechat and wechat public platforms, more and more users are beginning to use the wechat public platform to provide information and services to wechat users.
Public numbers of the WeChat public platform are divided into two types, namely a subscription number and a service number. The subscription number is used for providing information and information for the micro credit user, and the service number is used for providing service for the micro credit user. In order to identify the WeChat users, each WeChat user establishes a corresponding relation for each public number, and a secure identity (OpenID) is generated for each WeChat public number user. After the user pays attention to the WeChat public number, there are some interactions, and during the interaction, it may be necessary to acquire identity information (account information corresponding to the information system) of the WeChat user, for example, to place an order in the public number, to query an order, and the like.
For the WeChat public account of the enterprise, some menus are provided for the WeChat public account user to browse and view, some menus provide public information, but some menu contents are expected to be open to only specific groups of people or the WeChat user. For example, if an enterprise wants employees in the enterprise to see the contents of the menus, the enterprise needs to use the wechat public platform interface to implement the control function of the information authority of the corresponding menus.
Disclosure of Invention
The invention aims to provide a method and a system for realizing menu information control based on a public platform, so as to effectively realize the control function of the information authority of a corresponding menu by utilizing a public platform interface.
The technical scheme of the invention is to provide a method for realizing menu information control based on a public platform, which comprises the following steps:
the public platform sends a push message to a user, wherein the push message is used for prompting the user to initiate a binding request;
the user sends the binding request to the public platform by utilizing the user binding rule provided by the public platform;
after receiving the binding request of the user, the public platform authenticates the identity of the user, executes the binding of the user and generates a user information mapping table;
when the user enters the public platform to perform relevant operation, the public platform intercepts the information of the user and searches in the user information mapping table, and if the user information corresponding to the user is found, the user can enter to view corresponding menu information.
Optionally, before the step of sending the push message to the user by the public platform, the method further includes: and according to the attention of the user to the public platform, the public platform allocates a unique identity for the user.
Optionally, the binding request includes identity information and biometric information.
Optionally, the method further comprises: if the user information exists in the user information mapping table, sending binding success information to the user; and if the information of the user does not exist in the user information mapping table, sending binding failure information to the user.
Optionally, the information of the user is an enterprise ERP account or a UserID.
The invention also provides a system for realizing menu information control based on the public platform, which comprises:
the platform transceiving device is used for sending a push message to a user and receiving a binding request of the user, wherein the push message is used for prompting the user to initiate the binding request;
the user terminal is used for sending the binding request to the platform transceiver by using the user binding rule provided by the public platform;
the platform transceiver is used for receiving a binding request of a user, authenticating the identity of the user, executing the binding of the user and generating a user information mapping table;
and the authority management device is used for intercepting the information of the user by the public platform when the user enters the public platform to perform related operation, searching in the user information mapping table, and enabling the user to enter and view corresponding menu information if the user information corresponding to the user is found.
Optionally, the system further comprises: and the user identification device is used for allocating a unique identity for the user according to the attention of the user to the public platform.
Optionally, the binding request includes identity information and biometric information.
Optionally, the system further comprises: the information feedback device is used for sending binding success information to the user if the information of the user exists in the user information mapping table; and if the information of the user does not exist in the user information mapping table, sending binding failure information to the user.
Optionally, the information of the user is an enterprise ERP account or a UserID.
The method and the system for realizing the menu information control based on the public platform can effectively realize the control function of the corresponding menu information authority by utilizing the public platform interface, and the control scheme for realizing the menu information and other related functions by platform development is not only suitable for the WeChat public platform, but also suitable for most instant communication platforms.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
In the drawings:
FIG. 1 is an application scenario of an embodiment of the present invention;
FIG. 2 is a flow chart of a method for implementing menu information control based on a public platform according to the present invention;
fig. 3 is a schematic diagram of a system for implementing menu information control based on a public platform according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
Application scene overview
Fig. 1 shows an application scenario of an embodiment of the present invention, where the application scenario includes: the system comprises a user, a background server and a public platform, wherein the background server is equivalent to a forwarding server, the user initiates a request to the background server through a mobile terminal (a mobile phone, a Pad and the like), and then the background server forwards the request to the public platform through a public platform interface to perform related service processing. In this scenario, the public platform will communicate with the business information system of the enterprise in real time. After the service processing is finished, the public platform sends back the response message to the background server, and the background server replies the specific response to the user. The specific request content is parsed according to a specific XML format, and after the processing is finished, the specific request content is returned according to the specific XML format.
Exemplary method
In conjunction with the above application scenarios, the method of an exemplary embodiment of the present invention is described with reference to fig. 2. The method comprises the following steps:
step S201: the public platform sends a push message to a user, wherein the push message is used for prompting the user to initiate a binding request;
step S202: the user sends the binding request to the public platform by utilizing the user binding rule provided by the public platform;
step S203: after receiving the binding request of the user, the public platform authenticates the identity of the user, executes the binding of the user and generates a user information mapping table;
step S204: when the user enters the public platform to perform relevant operation, the public platform intercepts the information of the user and searches in the user information mapping table, and if the user information corresponding to the user is found, the user can enter to view corresponding menu information.
Optionally, before the step of sending the push message to the user by the public platform, the method further includes: and according to the attention of the user to the public platform, the public platform allocates a unique identity for the user.
Optionally, the binding request includes identity information and biometric information.
Optionally, the method further comprises: if the user information exists in the user information mapping table, sending binding success information to the user; and if the information of the user does not exist in the user information mapping table, sending binding failure information to the user.
Optionally, the information of the user is an enterprise ERP account or a UserID.
The present invention will be described in detail with reference to a specific embodiment, but it should be noted that the specific embodiment is only for better describing the present invention and should not be construed as limiting the present invention.
As exemplified by a micro-credit user,
the method comprises the following steps that two steps are needed for realizing a WeChat public platform, firstly, a WeChat user concerning a WeChat public account is judged and bound with the account; secondly, when the micro credit user enters the corresponding menu, the bound user is screened, and the user with the permission to view the preset menu information is judged.
When a wechat user pays attention to any public platform, the wechat background server sends first push information of an attention event to the public platform, the push information is sent to the public platform in an XML message mode, and the public platform analyzes the first push information.
In the first push message, the tokeruname indicates that a destination user of the first push message is the public platform, the fromueruname indicates that a source user of the first push message is the WeChat user, the MsgType indicates a type of the first push message, and the Event indicates a current Event type of the first push message. Specifically, when the value of MsgType is Event, it indicates that the piece of push information is a piece of push Event, and when the value of Event is describe, it indicates that the piece of push Event is information that the user pays attention to the public platform.
After the public platform analyzes the first push information and judges that the first push information is information concerning the public platform, the public platform sends second push information to the wechat user, wherein the second push information is used for prompting the user to initiate a binding request, and the second push information is also sent to the wechat user by packaging the information into an XML message.
In the second push message, the tokeruname indicates that the destination user of the second push message is the WeChat user, the fromueruname indicates that the source user of the second push message is the public platform, the MsgType indicates the type of the second push message, and the Content indicates the message Content of the second push message to be sent. Specifically, when the MsgType is text, the second push message is represented as a text message, the Content is the message Content of the second push message, and the specific Content is that the wechat user is required to send the binding request according to the user binding rule provided by the public platform, where the binding request includes an ERP account and a user name, or a mail and a mobile phone number of the user of the information system.
Then, the micro credit user sends the binding request to the public platform to perform user binding.
The binding request sent by the micro credit user is also sent to the public platform in an XML message mode, and the public platform can analyze the binding request after receiving the binding request.
In the sent binding request, ToUserName indicates that a sending destination user of the binding request is the public platform, FromUserName indicates that a sending source user of the binding request is the WeChat user, MsgType indicates the message type of the pushed binding request, and Content indicates the message Content of the sent binding request. Specifically, when the value of MsgType is text, it indicates that the binding request sent by the wechat user is text information, fromserume indicates the wechat user account number (OpenID), and Content indicates a message for binding sent by the wechat user. In an embodiment of the present invention, the message includes, but is not limited to, identity information and biometric information of the WeChat user, where the identity information may be any combination of an enterprise ERP account, a user name, a mail address, a mobile phone number, an authentication code, and a picture, and the physiological characteristic identification information may be biometric information such as a fingerprint, facial information, an iris, and a retina of the user. The public platform analyzes the request message for binding sent by the micro credit user, extracts keywords from the message, integrates the keywords as search conditions to search in an employee file database of an enterprise background server, and then authenticates the enterprise identity of the user. If the WeChat user is determined to be an enterprise user, mapping the WeChat user account (OpenID) with a user account in a database of an enterprise background server, and generating a user information mapping table according to the mapping relation, thereby completing one identity verification and binding process. And finally, informing the micro credit user of successful binding by a feedback message. If the micro credit user is determined not to be the enterprise user, a message is replied to the micro credit user through the public platform to inform that the binding fails.
When a certain wechat user clicks the menu of the public platform, the wechat background server can push a menu click event message to the public platform interface, the menu click event message is also sent to the public platform in an XML message mode, and the public platform analyzes the menu click event message.
In the menu click Event message, ToUserName indicates that a destination user of the pushed menu click Event message is the public platform, FromUserName indicates that a source user of the pushed menu click Event message is the WeChat user, MsgType indicates a message type of the pushed menu click Event message, Event indicates an Event type of the menu click Event message, and EventKey indicates a key value of the menu. Specifically, when MsgType is Event, it indicates that the message is an Event message, and when the value of Event is CLICK, it indicates that the Event message is a menu CLICK Event, and the EventKey is used to record the key value of which specific menu, that is, which specific menu the wechat user has clicked. The public platform can know whether the current menu key is a pre-configured menu key which only allows the enterprise user to access. If so, taking out the micro credit user account number (OpenID) in the FromUserName, checking in a user information mapping table, and confirming whether the micro credit user account number exists in the user information mapping table. If the user information mapping table has the micro credit user account (OpenID), the micro credit user is returned to click and view the specific content of the menu. If the user information mapping table does not have the micro credit user account, returning the information of refusing access to the micro credit user, thus realizing the control function of the menu information.
As shown in fig. 3, a system structure diagram for realizing menu information control based on the public platform is further provided in the present invention, and the system 3 includes:
a platform transceiver 31, configured to send a push message to a user and receive a binding request of the user, where the push message is used to prompt the user to initiate the binding request;
a user terminal 32, configured to send the binding request to the platform transceiver 31 by using the user binding rule provided by the public platform;
a user binding device 33, configured to authenticate the identity of the user and generate a user information mapping table after the platform transceiver 31 receives the binding request of the user;
and the authority management device 34 is used for intercepting the information of the user by the public platform when the user enters the public platform to perform relevant operations, searching in the user information mapping table, and if the user information corresponding to the user is found, enabling the user to enter and view corresponding menu information.
Optionally, the system further comprises: the user identification device 30 assigns a unique id to the user based on the user's interest in the public platform.
Optionally, the binding request includes identity information and biometric information.
Optionally, the system further comprises: the information feedback device 35 sends the binding success information to the user if the information of the user exists in the user information mapping table; and if the information of the user does not exist in the user information mapping table, sending binding failure information to the user.
Optionally, the information of the user is an enterprise ERP account or a UserID.
The system for realizing menu information control based on the public platform is a system corresponding to the method, so the details are not repeated herein.
The method and the system for realizing the menu information control based on the public platform effectively realize the control function of the corresponding menu information authority by using the public platform interface, and the control scheme for realizing the menu information and other related functions by platform development is not only suitable for the WeChat public platform, but also suitable for most instant communication platforms.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for realizing menu information control based on a public platform is characterized by comprising the following steps:
the public platform sends a push message to a user, wherein the push message is used for prompting the user to initiate a binding request;
the user sends the binding request to the public platform by utilizing a user binding rule provided by the public platform;
after receiving the binding request of the user, the public platform authenticates the identity of the user, executes the binding of the user and generates a user information mapping table;
when the user clicks the menu of the public platform, the public platform analyzes the click event message corresponding to the menu and judges whether the menu is a preset menu which only allows enterprise users to access;
if yes, the public platform intercepts the information of the user and searches in the user information mapping table, and if the user information corresponding to the user is found, the user can enter and check the corresponding menu information.
2. The method of claim 1, further comprising, prior to the step of the public platform sending push messages to users:
and according to the attention of the user to the public platform, the public platform allocates a unique identity for the user.
3. The method of claim 1, wherein the binding request comprises identity information and biometric information.
4. The method according to any one of claims 1 to 3, further comprising:
if the information of the user exists in the user information mapping table, sending binding success information to the user; and if the information of the user does not exist in the user information mapping table, sending binding failure information to the user.
5. The method of claim 1, wherein the user's information is an enterprise ERP account or a UserID.
6. A system for implementing menu information control based on public platform, the system comprising:
the platform transceiving device is used for sending a push message to a user and receiving a binding request of the user, wherein the push message is used for prompting the user to initiate the binding request;
the user terminal is used for sending the binding request to the platform transceiver by the user according to the user binding rule provided by the public platform;
the platform transceiver is used for receiving a binding request of a user, authenticating the identity of the user, executing the binding of the user and generating a user information mapping table;
and the authority management device is used for analyzing the click event message corresponding to the menu when the user clicks the menu of the public platform, judging whether the menu is a preset menu which only allows enterprise users to access, if so, intercepting the information of the user by the public platform, searching in the user information mapping table, and if the user information corresponding to the user is found, enabling the user to enter and check the corresponding menu information.
7. The system of claim 6, further comprising: and the user identification device is used for allocating a unique identity for the user according to the attention of the user to the public platform.
8. The system of claim 6, wherein the binding request comprises identity information and biometric information.
9. The system according to any one of claims 6 to 8, further comprising: the information feedback device is used for sending binding success information to the user if the information of the user exists in the user information mapping table; and if the information of the user does not exist in the user information mapping table, sending binding failure information to the user.
10. The system of claim 6, wherein the user's information is an enterprise ERP account or a UserID.
CN201610357180.8A 2016-05-26 2016-05-26 Method and system for realizing menu information control based on public platform Active CN107438054B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610357180.8A CN107438054B (en) 2016-05-26 2016-05-26 Method and system for realizing menu information control based on public platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610357180.8A CN107438054B (en) 2016-05-26 2016-05-26 Method and system for realizing menu information control based on public platform

Publications (2)

Publication Number Publication Date
CN107438054A CN107438054A (en) 2017-12-05
CN107438054B true CN107438054B (en) 2020-06-05

Family

ID=60453058

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610357180.8A Active CN107438054B (en) 2016-05-26 2016-05-26 Method and system for realizing menu information control based on public platform

Country Status (1)

Country Link
CN (1) CN107438054B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108287909B (en) * 2018-01-31 2020-08-04 北京仁和汇智信息技术有限公司 Paper pushing method and device
CN109126142A (en) * 2018-08-01 2019-01-04 北京空中信使信息技术有限公司 A kind of interaction message method for pushing, device and electronic equipment
CN109067643B (en) * 2018-09-26 2022-07-29 中国平安财产保险股份有限公司 Reply method and device based on keywords, computer equipment and storage medium
CN110232068B (en) * 2019-06-14 2022-04-05 中国工商银行股份有限公司 Data sharing method and device
CN110276597A (en) * 2019-06-25 2019-09-24 江苏梦嘉控股集团有限公司 A kind of project management system and method
CN110519384A (en) * 2019-08-30 2019-11-29 四川爱联科技有限公司 Vehicle operation monitoring system based on wechat and Internet of Things

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103616860A (en) * 2013-11-08 2014-03-05 海信集团有限公司 Method and device for remote control of household appliances
CN103763182A (en) * 2014-02-13 2014-04-30 国家电网公司 Customer service request implementing method based on wechat public platform
CN103942616A (en) * 2014-04-16 2014-07-23 福州信诺通信息技术有限公司 Car insurance calculation quotation service system based on mobile internet
CN104125203A (en) * 2013-04-26 2014-10-29 腾讯科技(深圳)有限公司 Permission management method and system
CN104392310A (en) * 2014-11-13 2015-03-04 深圳市玖昔物联科技发展有限公司 Networked work coordinated management system
CN204926094U (en) * 2015-08-26 2015-12-30 广州市鑫澳康科技有限公司 System based on authentication is carried out to biological characteristics information
CN105205140A (en) * 2015-09-17 2015-12-30 小米科技有限责任公司 Message pushing method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125131B (en) * 2013-04-25 2016-03-30 腾讯科技(深圳)有限公司 A kind of information interacting method and relevant device, system
CN104394139A (en) * 2014-11-22 2015-03-04 深圳市梧桐世界科技有限公司 Implementation method for having free of charge wifi by paying close attention to micro letter public name

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125203A (en) * 2013-04-26 2014-10-29 腾讯科技(深圳)有限公司 Permission management method and system
CN103616860A (en) * 2013-11-08 2014-03-05 海信集团有限公司 Method and device for remote control of household appliances
CN103763182A (en) * 2014-02-13 2014-04-30 国家电网公司 Customer service request implementing method based on wechat public platform
CN103942616A (en) * 2014-04-16 2014-07-23 福州信诺通信息技术有限公司 Car insurance calculation quotation service system based on mobile internet
CN104392310A (en) * 2014-11-13 2015-03-04 深圳市玖昔物联科技发展有限公司 Networked work coordinated management system
CN204926094U (en) * 2015-08-26 2015-12-30 广州市鑫澳康科技有限公司 System based on authentication is carried out to biological characteristics information
CN105205140A (en) * 2015-09-17 2015-12-30 小米科技有限责任公司 Message pushing method and device

Also Published As

Publication number Publication date
CN107438054A (en) 2017-12-05

Similar Documents

Publication Publication Date Title
CN107438054B (en) Method and system for realizing menu information control based on public platform
US10063547B2 (en) Authorization authentication method and apparatus
CN103179098B (en) A kind of password method for retrieving of network account and device
CN104540129B (en) The registering and logging method and system of third-party application
CN111352740B (en) Application interaction processing method and device
CN107113613B (en) Server, mobile terminal, network real-name authentication system and method
CN110795174B (en) Application program interface calling method, device, equipment and readable storage medium
CN110519154B (en) Data transmission method, device, equipment and computer readable storage medium
CN108650098B (en) Method and device for user-defined verification mode
CN106778290A (en) A kind of application software verification method and system based on wechat platform
CN108809969B (en) Authentication method, system and device
US11824850B2 (en) Systems and methods for securing login access
CN111339524A (en) Multi-tenant permission control method and device
CN111200601B (en) Method and system for butting user and application based on universal transfer service
US9680814B2 (en) Method, device, and system for registering terminal application
CN114268461B (en) User identity authentication method, device, server, terminal and storage medium
US10771507B2 (en) Secure communication method of IMS system based on key file
EP3079329B1 (en) Terminal application registration method, device and system
CN113946739A (en) Sensitive data query method, device, equipment and storage medium
CN107864114B (en) Group insurance account login method and system
CN109040331B (en) Electronic business card processing method and device, computing equipment and storage medium
CN111181832A (en) Account creating method, device, system, server and storage medium
CN109327814B (en) Short message processing method and device, electronic equipment and readable storage medium
CN113568542A (en) Interface display method and electronic equipment
CN106936816B (en) Method and system for inquiring and positioning

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