CN108234487A - Approaches to IM based on wechat public platform - Google Patents
Approaches to IM based on wechat public platform Download PDFInfo
- Publication number
- CN108234487A CN108234487A CN201711489662.XA CN201711489662A CN108234487A CN 108234487 A CN108234487 A CN 108234487A CN 201711489662 A CN201711489662 A CN 201711489662A CN 108234487 A CN108234487 A CN 108234487A
- Authority
- CN
- China
- Prior art keywords
- public platform
- wechat public
- server
- information
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/52—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3234—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving additional secure or trusted devices, e.g. TPM, smartcard, USB or software token
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses the approaches to IM based on wechat public platform, include the following steps:A. using Classification Management module dock into wechat public platform server carry out data management, the data management include wechat public platform is verified, and is classified to wechat public platform with type;B. after Classification Management module has been classified the wechat public platform being linked into service provider's wechat server, wechat public platform group configuration information and access token information are stored;C. all wechat public platform groups are transmitted separately in wechat public platform server, are verified.D. wechat public platform server interface is called to carry out readjustment parsing to wechat uniform resource locator, obtains the information of wechat public platform group, the token of server is accessed based on the acquisition of wechat public platform group information, further, performs corresponding service logic.For controlling wechat public platform quantity, ensure wechat public platform normal operation.
Description
Technical field
The invention belongs to field of communication technology, more particularly to a kind of approaches to IM based on wechat public platform.
Background technology
Instantly, wechat has incorporated daily life, and wechat public platform is wechat that third party is supplied to be based on
The platform of the secondary application and development of wechat, at the beginning of carrying upper 4 months 2016, oneself reaches 13,000,000 to public platform number, is related to each of life
Aspect, such as wechat shop, Intelligent hardware, amusement etc. are realized based on wechat public platform.But to realize that specific business is patrolled
Volume, such as:Equipment control, shopping etc., are that must be docked with wechat public platform, common practice often docks a wechat public
Number, user is required for remove purchase server, dispose code and do O&M.So for solving to dock the numerous of specific service logic
Miscellaneous affair item will realize a kind of method for supporting more wechat public platform accesses, user's simplicity is allowed to dock.
The usual flow of docking of the specific service logic of wechat public platform is:It determines business, writes business logic codes, adjusts
Examination, purchase server, deployment, maintenance, that is, a public platform correspond to a specific service server, two public platforms
It then needs to do identical thing, corresponds to two specific service servers, shortcoming is the business if identical, often increases one newly
The access of a public platform is required for repeating to do purchase server, deployment, maintenance, this identical services is solved currently without discovery
But the technology of many public platform accesses.
It is that can not know that how many wechat public platform enters the server also there are management backstage in addition to above-mentioned technical problem
Using identical service server, and the resource of service server is limited, as the wechat public for connecting the service server
Number amount is excessive, just has resource of the part wechat public platform connection less than service server or has just connected strong by other signals
Wechat public platform to being squeezed out, be also unfavorable for the quantity of management backstage management wechat public platform.
Invention content
It is a kind of for controlling wechat public platform quantity the invention is intended to provide, ensure wechat public platform normal operation based on
The approaches to IM of wechat public platform.
The approaches to IM based on wechat public platform in this programme, includes the following steps:
A. using Classification Management module dock into wechat public platform server carry out data management, the data management packet
It includes and wechat public platform is verified, and classified to wechat public platform with type;
B. after Classification Management module has been classified the wechat public platform being linked into service provider's wechat server, to wechat
Public platform group configuration information and access token information are stored;
C. all wechat public platform groups are transmitted separately in wechat public platform server, are verified;
D. wechat public platform server interface is called to carry out readjustment parsing to wechat uniform resource locator, it is public obtains wechat
The information of crowd's group is accessed the token of server based on the acquisition of wechat public platform group information, further, performs corresponding business
Logic.
Further, the step A includes:
A1:The wechat public platform that accesses of needs is configured, after configuring, then wechat public platform is linked into service provider
In wechat server, service provider's wechat server does server docking configuration again;
A2:In service provider's wechat server, to wechat public platform account, password, product unique identifier correctness
It is verified, if configuration information is incorrect, needs to re-enter wechat public platform relevant information, otherwise do not perform next step
Suddenly;
A3:The wechat public platform being correctly configured is transmitted in Classification Management module by service provider's wechat server, by dividing
Class management module concludes wechat public platform into different wechat public platform groups with the type selected.
Further, the type includes topic type, sleep pattern, scientific and technological type, toy type, type of diet, movement
Type and experience categories.
Further, the step B includes:
The device that wherein wechat configuration information and access token information are stored includes but not limited to database, caching and divides
Cloth file system, further, wechat configuration information further include the wechat public platform information inserted from management backstage and storage
Public platform accesses the information such as access token and the token out-of-service time of wechat server.
Further, the step C includes:
The wechat public's group accessed by management platform to needs is configured and is verified, and verification is included to wechat public platform
Group information whether correctly verified and, dock with server and whether successfully verified.
Further, the step D includes:
D1:Wechat server is micro- to call in the call-back uniform resource finger URL of wechat public platform management backstage using configuration
Communication service server;
D2:Service server adjusts back wechat data using uniform resource locator Processing Interface, obtains unified money
The source wechat public platform of source finger URL;
D3;The token of the wechat server in institute orientation is obtained according to public platform configuration information, performs specific service logic
Processing.
The advantageous effect of this programme is:
By setting different types, by multiple wechat public platforms in Access Service Provider's wechat public platform, selection is in itself
The type of this wechat public platform, and the wechat public platform is belonged into the type, that is, it is attributed to the same type of wechat public
Number group, same type of wechat public platform group use identical service server, it will be able to prevent control wechat public platform quantity
Excessively, ensure wechat public platform normal operation, and management platform can effectively manage wechat public platform group.
Description of the drawings
Fig. 1 is the flow chart of the approaches to IM the present invention is based on wechat public platform.
Specific embodiment
Below by specific embodiment, the present invention is described in further detail:
Explanation:Management platform in the present embodiment refers to the control backstage of service provider's offer.
Embodiment is substantially as shown in Figure 1:Based on the approaches to IM of wechat public platform, include the following steps:
A:The server progress data management into wechat public platform, the data management packet are docked using Classification Management module
It includes and wechat public platform is verified, and classified to wechat public platform with type;
A1:The wechat public platform that accesses of needs is configured, after configuring, then wechat public platform is linked into service provider
In wechat server, service provider's wechat server does server docking configuration again;
A2:In service provider's wechat server, to wechat public platform account, password, product unique identifier correctness
It is verified, if configuration information is incorrect, needs to re-enter wechat public platform relevant information, otherwise do not perform next step
Suddenly;
A3:The wechat public platform being correctly configured is transmitted in Classification Management module by service provider's wechat server, by dividing
Class management module concludes wechat public platform into different wechat public platform groups with the type selected.
The type includes topic type, sleep pattern, scientific and technological type, toy type, type of diet, type of sports and body
Test type.
Corresponding wechat public platform group 1 corresponds to topic type, and wechat public platform group 2 corresponds to sleep pattern, the wechat public
Numbers 3 correspond to scientific and technological types, and wechat public platform group 4 corresponds to toy type, and wechat public platform group 5 corresponds to type of diet, the wechat public
Number group 6 corresponds to type of sports, and wechat public platform group 7 corresponds to experience categories.
More than Classification Management module classification model is as follows:
B. after Classification Management module has been classified the wechat public platform being linked into service provider's wechat server, to wechat
Public platform group configuration information and access token information are stored;
The device that wherein wechat configuration information and access token information are stored includes but not limited to database, caching and divides
Cloth file system, further, wechat configuration information further include the wechat public platform information inserted from management backstage and storage
Public platform accesses the information such as access token and the token out-of-service time of wechat server.
C. all wechat public platform groups are transmitted separately in wechat public platform server, by management platform to needing to access
Wechat public's group be configured and verified, verification include whether wechat public platform group information is correctly verified and, with
Whether server docking is successfully verified;
D. wechat public platform server interface is called to carry out readjustment parsing to wechat uniform resource locator, it is public obtains wechat
The information of crowd's group is accessed the token of server based on the acquisition of wechat public platform group information, further, performs corresponding business
Logic, service logic correspond to classification type.
D1:Wechat server is micro- to call in the call-back uniform resource finger URL of wechat public platform management backstage using configuration
Communication service server;
D2:Service server adjusts back wechat data using uniform resource locator Processing Interface, obtains unified money
The source wechat public platform of source finger URL;
D3;The token of the wechat server in institute orientation is obtained according to public platform configuration information, performs specific service logic
Processing.
Above-described is only the embodiment of the present invention, and the common sense such as well known concrete structure and characteristic are not made herein in scheme
Excessive description.It, without departing from the structure of the invention, can be with it should be pointed out that for those skilled in the art
Several modifications and improvements are made, these should also be considered as protection scope of the present invention, these all do not interfere with what the present invention was implemented
Effect and practical applicability.The scope of protection required by this application should be based on the content of the claims, in specification
The records such as specific embodiment can be used for explaining the content of claim.
Claims (6)
1. the approaches to IM based on wechat public platform, which is characterized in that include the following steps:
A. using Classification Management module dock into wechat public platform server carry out data management, the data management include pair
Wechat public platform is verified, and is classified to wechat public platform with type;
B. after Classification Management module has been classified the wechat public platform being linked into service provider's wechat server, to the wechat public
Number group configuration information and access token information are stored;
C. all wechat public platform groups are transmitted separately in wechat public platform server, are verified;
D. wechat public platform server interface is called to carry out readjustment parsing to wechat uniform resource locator, obtains wechat public platform
The information of group is accessed the token of server based on the acquisition of wechat public platform group information, further, performs corresponding business and patrol
Volume.
2. the approaches to IM according to claim 1 based on wechat public platform, it is characterised in that:The step A
Including:
A1:The wechat public platform that accesses of needs is configured, after configuring, then wechat public platform is linked into service provider's wechat
In server, service provider's wechat server does server docking configuration again;
A2:In service provider's wechat server, the correctness of wechat public platform account, password, product unique identifier is carried out
Verification, if configuration information is incorrect, needs to re-enter wechat public platform relevant information, does not otherwise perform next step;
A3:The wechat public platform being correctly configured is transmitted in Classification Management module by service provider's wechat server, is managed by classifying
Module is managed by wechat public platform and is concluded with the type selected into different wechat public platform groups.
3. the approaches to IM according to claim 1 based on wechat public platform, it is characterised in that:The type includes
Topic type, sleep pattern, scientific and technological type, toy type, type of diet, type of sports and experience categories.
4. the approaches to IM according to claim 1 based on wechat public platform, it is characterised in that:The step B
Including:The device that wherein wechat configuration information and access token information are stored includes but not limited to database, caching and distribution
Formula file system, further, wechat configuration information further include the wechat public platform information inserted from management backstage and storage public affairs
Many numbers access the information such as access token and the token out-of-service time of wechat server.
5. the approaches to IM according to claim 1 based on wechat public platform, it is characterised in that:The step C
Including:The wechat public's group accessed by management platform to needs is configured and is verified, and verification is included to wechat public platform group
Information whether correctly verified and, dock with server and whether successfully verified.
6. the approaches to IM according to claim 1 based on wechat public platform, it is characterised in that:The step D
Including:
D1:Wechat server calls wechat industry using configuration in the call-back uniform resource finger URL of wechat public platform management backstage
Business server;
D2:Service server adjusts back wechat data using uniform resource locator Processing Interface, obtains unified resource and determines
The source wechat public platform of position symbol;
D3;The token of the wechat server in institute orientation is obtained according to public platform configuration information, performs specific business logic processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711489662.XA CN108234487A (en) | 2017-12-29 | 2017-12-29 | Approaches to IM based on wechat public platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711489662.XA CN108234487A (en) | 2017-12-29 | 2017-12-29 | Approaches to IM based on wechat public platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108234487A true CN108234487A (en) | 2018-06-29 |
Family
ID=62646530
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711489662.XA Pending CN108234487A (en) | 2017-12-29 | 2017-12-29 | Approaches to IM based on wechat public platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108234487A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109255032A (en) * | 2018-09-28 | 2019-01-22 | 努比亚技术有限公司 | Public platform classification method, device and computer readable storage medium |
CN110324183A (en) * | 2019-06-26 | 2019-10-11 | 上海淇馥信息技术有限公司 | Configure management system, the method and apparatus of multiple wechat public platforms |
CN110460513A (en) * | 2018-09-10 | 2019-11-15 | 广州甩手技术有限公司 | More public platform entrances and its construction method, the method and system that space rental services are realized using more public platform entrances |
CN111064652A (en) * | 2019-11-06 | 2020-04-24 | 广东电网有限责任公司 | WeChat work group intelligent agent management system and method |
CN111274484A (en) * | 2020-01-20 | 2020-06-12 | 上海风秩科技有限公司 | Method and device for managing interactive data |
CN114844860A (en) * | 2022-04-28 | 2022-08-02 | 中国联合网络通信集团有限公司 | WeChat enterprise number processing method, device, equipment and medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105049320A (en) * | 2015-05-22 | 2015-11-11 | 广西天海信息科技有限公司 | System and method for simultaneously managing multiple public accounts of Wechat |
CN105429865A (en) * | 2015-12-31 | 2016-03-23 | 深圳中泓在线股份有限公司 | WeChat public number data collection method and device based on browser |
CN106411825A (en) * | 2015-08-03 | 2017-02-15 | 天脉聚源(北京)科技有限公司 | WeChat access token acquisition method and system thereof |
CN106572000A (en) * | 2016-10-29 | 2017-04-19 | 中国十七冶集团有限公司 | WeChat official account platform-based construction site quality and safety management method |
CN106941441A (en) * | 2017-02-21 | 2017-07-11 | 珠海全志科技股份有限公司 | A kind of implementation method for supporting many wechat public numbers to access |
US9781581B1 (en) * | 2017-02-01 | 2017-10-03 | Higher Ground Llc | System and method for sending messages |
-
2017
- 2017-12-29 CN CN201711489662.XA patent/CN108234487A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105049320A (en) * | 2015-05-22 | 2015-11-11 | 广西天海信息科技有限公司 | System and method for simultaneously managing multiple public accounts of Wechat |
CN106411825A (en) * | 2015-08-03 | 2017-02-15 | 天脉聚源(北京)科技有限公司 | WeChat access token acquisition method and system thereof |
CN105429865A (en) * | 2015-12-31 | 2016-03-23 | 深圳中泓在线股份有限公司 | WeChat public number data collection method and device based on browser |
CN106572000A (en) * | 2016-10-29 | 2017-04-19 | 中国十七冶集团有限公司 | WeChat official account platform-based construction site quality and safety management method |
US9781581B1 (en) * | 2017-02-01 | 2017-10-03 | Higher Ground Llc | System and method for sending messages |
CN106941441A (en) * | 2017-02-21 | 2017-07-11 | 珠海全志科技股份有限公司 | A kind of implementation method for supporting many wechat public numbers to access |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110460513A (en) * | 2018-09-10 | 2019-11-15 | 广州甩手技术有限公司 | More public platform entrances and its construction method, the method and system that space rental services are realized using more public platform entrances |
CN109255032A (en) * | 2018-09-28 | 2019-01-22 | 努比亚技术有限公司 | Public platform classification method, device and computer readable storage medium |
CN110324183A (en) * | 2019-06-26 | 2019-10-11 | 上海淇馥信息技术有限公司 | Configure management system, the method and apparatus of multiple wechat public platforms |
CN110324183B (en) * | 2019-06-26 | 2023-02-07 | 上海淇馥信息技术有限公司 | Management system, method and equipment for configuring multiple WeChat public numbers |
CN111064652A (en) * | 2019-11-06 | 2020-04-24 | 广东电网有限责任公司 | WeChat work group intelligent agent management system and method |
CN111274484A (en) * | 2020-01-20 | 2020-06-12 | 上海风秩科技有限公司 | Method and device for managing interactive data |
CN114844860A (en) * | 2022-04-28 | 2022-08-02 | 中国联合网络通信集团有限公司 | WeChat enterprise number processing method, device, equipment and medium |
CN114844860B (en) * | 2022-04-28 | 2023-09-26 | 中国联合网络通信集团有限公司 | WeChat enterprise signal processing method, device, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108234487A (en) | Approaches to IM based on wechat public platform | |
CN105812479B (en) | Request method and device and acquisition method and device for use permission | |
CN104615448B (en) | A kind of software channel packet update method, management method and equipment | |
CN107404481B (en) | User information recognition methods and device | |
CN102088691B (en) | Mobile phone mobile Internet user application certification recognition system and method | |
CN110519711A (en) | A kind of information push method, device, storage medium and server | |
CN104133765B (en) | The test case sending method of network activity and test case server | |
CN105117464B (en) | Application pushing method and device and service equipment | |
CN104537301B (en) | Login method, device and the mobile terminal of application | |
CN103414600A (en) | Approximate matching method, related device and communication system | |
CN110311801A (en) | Equipment firmware upgrading method and system | |
CN106874273A (en) | Channel information statistical method, device and system | |
CN106941441A (en) | A kind of implementation method for supporting many wechat public numbers to access | |
CN110197402B (en) | User label analysis method, device, equipment and storage medium based on user group | |
CN105207881B (en) | A kind of message method and equipment | |
CN109118615A (en) | A kind of intelligent building management method, server, medium and system | |
CN106571933A (en) | Service processing method and device | |
CN106406952A (en) | An electronic terminal and an application program management device and method | |
CN110008980A (en) | Identification model generation method, recognition methods, device, equipment and storage medium | |
CN105573757B (en) | The language update method and device of android system | |
CN107066411A (en) | Data transmission method, device and computer-readable recording medium | |
CN1640087B (en) | Policy-enabled contract-based management of network operational support systems | |
CN102541964A (en) | User information management method and system applicable to electronic book reading | |
CN105897547A (en) | Information processing method, information pushing method and device | |
CN104506630B (en) | Permissions data generation method, server and system based on user role |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180629 |