CN115344798A - Information generation method and device, electronic equipment and readable storage medium - Google Patents

Information generation method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN115344798A
CN115344798A CN202110470335.XA CN202110470335A CN115344798A CN 115344798 A CN115344798 A CN 115344798A CN 202110470335 A CN202110470335 A CN 202110470335A CN 115344798 A CN115344798 A CN 115344798A
Authority
CN
China
Prior art keywords
information
information sharing
sharing
path
user terminal
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
Application number
CN202110470335.XA
Other languages
Chinese (zh)
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 Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online 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 Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN202110470335.XA priority Critical patent/CN115344798A/en
Publication of CN115344798A publication Critical patent/CN115344798A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9558Details of hyperlinks; Management of linked annotations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0631Item recommendations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides an information generation method, an information generation device, electronic equipment and a readable storage medium, wherein the method is applied to an information sharing platform server, the information sharing platform server is in communication connection with an information source server, and the method comprises the following steps: receiving an application request sent by information sharing equipment, wherein the application request is used for applying for an information sharing path of a preset object; extracting identification information of the information sharing equipment from the application request; generating an information sharing path according to the identification information, and sending the information sharing path to the information sharing equipment so that the information sharing equipment pushes the information sharing path to the user terminal; when the operation of a user of the user terminal on the information sharing path is detected, analyzing the information sharing path; and according to the analysis result, obtaining the information to be shared of the preset object from the information source server, and returning the information to be shared of the preset object to the user terminal. The method can obviously improve the flexibility of sharing the information in the information source server.

Description

Information generation method and device, electronic equipment and readable storage medium
Technical Field
The embodiment of the application relates to the technical field of data processing, in particular to an information generation method and device, an electronic device and a readable storage medium.
Background
Some service platforms usually need to share service information externally for attracting users to handle services, for example, in order to attract users to browse and place orders, a network merchant generally shares own commodities externally through a plurality of channel merchants, and the channel merchants complete the popularization of the commodities, and when the channel merchants promote the commodities, the channel merchants push the commodity information to the users through their own channels.
In the related art, if a certain service provider wants to promote a service for a certain service platform, it is first required to become a distributor of the service platform, and the distributor of the service platform usually needs to be registered in the service platform. If all the service providers are registered in the service platform to become channel providers, huge workload is brought to the service platform, and the working efficiency of the service platform is reduced. Therefore, how to better promote the service for the service platform becomes a problem to be solved urgently.
Disclosure of Invention
The application provides an information generation method and device, an electronic device and a readable storage medium, information sharing can be directly achieved through an information sharing path sent by an information sharing platform server without registering information sharing equipment in an information source server.
The first aspect of the present application provides an information generating method, which is applied to an information sharing platform server, where the information sharing platform server is in communication connection with an information source server, and the method includes:
receiving an application request sent by information sharing equipment, wherein the application request is used for applying for an information sharing path of a preset object;
extracting identification information of the information sharing equipment from the application request;
generating an information sharing path according to the identification information, and sending the information sharing path to the information sharing equipment so that the information sharing equipment pushes the information sharing path to a user terminal;
when the operation of the user terminal on the information sharing path is detected, analyzing the information sharing path;
and according to the analysis result, obtaining the information to be shared of the preset object from the information source server, and returning the information to be shared of the preset object to the user terminal.
Optionally, after obtaining the identification information of the information sharing device, the method further includes:
encrypting the identification information;
generating an information sharing path according to the identification information, including:
generating an information sharing path according to the encrypted identification information;
analyzing the information sharing path, including:
analyzing the encrypted identification information from the information sharing path and decrypting the encrypted identification information;
and checking whether the decrypted identification information is valid.
Optionally, obtaining information to be shared of the preset object from the information source server according to an analysis result, and returning the information to be shared of the preset object to the user terminal, where the method includes:
under the condition that the decrypted identification information is effective, converting the information sharing path into a standard sharing path, wherein the standard sharing path is obtained by the information sharing platform server from the information source server in advance;
and returning the standard sharing path to the user terminal, and controlling the user terminal to redirect to the standard sharing path so as to acquire the information to be shared of the preset object from the information source server.
Optionally, the method further comprises:
and returning abnormal prompt information to the information sharing equipment under the condition that the decrypted identification information is invalid.
Optionally, the information sharing platform server is a primary information sharing end of the information source server, the information sharing device is a secondary information sharing end of the information source server, and the information sharing platform server provides corresponding information sharing paths for the plurality of information sharing devices respectively.
The second aspect of the present application provides an information generation device, is applied to information sharing platform server, information sharing platform server and information source server communication connection, the device includes:
the information sharing device comprises a receiving module and a processing module, wherein the receiving module is used for receiving an application request sent by the information sharing device, and the application request is used for applying for an information sharing path of a preset object;
the extraction module is used for extracting the identification information of the information sharing equipment from the application request;
the generating module is used for generating an information sharing path according to the identification information and sending the information sharing path to the information sharing equipment so that the information sharing equipment pushes the information sharing path to a user terminal;
the analysis module is used for analyzing the information sharing path when detecting the operation of the user terminal on the information sharing path;
and the obtaining module is used for obtaining the information to be shared of the preset object from the information source server according to the analysis result and returning the information to be shared of the preset object to the user terminal.
Optionally, the apparatus further comprises:
the encryption module is used for encrypting the identification information;
the generation module comprises:
the generating submodule is used for generating an information sharing path according to the encrypted identification information;
the parsing module includes:
the analysis submodule is used for analyzing the encrypted identification information from the information sharing path and decrypting the encrypted identification information;
and the verification submodule is used for verifying whether the decrypted identification information is valid.
Optionally, the obtaining module includes:
the conversion sub-module is used for converting the information sharing path into a standard sharing path under the condition that the decrypted identification information is effective, wherein the standard sharing path is obtained by the information sharing platform server from the information source server in advance;
and the return sub-module is used for returning the standard sharing path to the user terminal and controlling the user terminal to redirect to the standard sharing path so as to acquire the information to be shared of the preset object from the information source server.
Optionally, the apparatus further comprises:
and the returning module is used for returning abnormal prompt information to the information sharing equipment under the condition that the decrypted identification information is invalid.
Optionally, the information sharing platform server is a primary information sharing end of the information source server, the information sharing device is a secondary information sharing end of the information source server, and the information sharing platform server provides corresponding information sharing paths for the plurality of information sharing devices respectively.
A third aspect of the application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps in the method according to the first aspect of the application.
A fourth aspect of the present application provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor when executing implementing the steps of the method according to the first aspect of the present application.
By the information generating method, the information sharing platform server firstly receives an application request sent by the information sharing equipment, and the application request is used for applying for an information sharing path of a preset object. And then, the information sharing platform server extracts identification information of the information sharing equipment from the application request, generates an information sharing path according to the identification information, and sends the information sharing path to the information sharing equipment, so that the information sharing equipment pushes the information sharing path to the user terminal. And then, when the operation of the user terminal on the information sharing path is detected, analyzing the information sharing path. And finally, returning the information to be shared of the preset object to the user terminal according to the analysis result. The method of the embodiment has the following technical effects:
1. according to the method, the information sharing equipment does not need to be registered in the information source server, information sharing can be directly achieved through the information sharing path sent by the information sharing platform server, the workload of the information source server is reduced, and the flexibility of information sharing is improved.
2. The process that the information sharing equipment shares the information to be shared of the preset object is carried out through the information sharing platform server, so that the information sharing platform server can effectively manage all the information sharing equipment, illegal information sharing equipment is prevented from accessing the information source server, and the safety of the information sharing service of the information source server is guaranteed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required to be used in the description of the embodiments of the present application will be briefly described below, and it is obvious that the drawings in the description below are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings may be obtained according to these drawings without inventive labor.
FIG. 1 is a schematic diagram of an implementation environment shown in an embodiment of the present application;
FIG. 2 is a flow chart illustrating a method of generating information according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a method for sending information to be shared of a preset object according to an embodiment of the present application;
fig. 4 is a schematic overall process diagram of an information generation method according to an embodiment of the present application;
fig. 5 is a schematic diagram of an information generating apparatus according to an embodiment of the present application;
fig. 6 is a schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a schematic diagram of an implementation environment according to an embodiment of the present application. In fig. 1, the information sharing platform server is in communication connection with the information source server on one hand and a plurality of information sharing devices (including an information sharing device 1-an information sharing device N) on the other hand, and each information sharing device is in communication connection with a plurality of user terminals (including a user terminal 1-a user terminal N).
The information generation method provided by the application can be applied to the information sharing platform server in fig. 1. Fig. 2 is a flowchart illustrating an information generating method according to an embodiment of the present application. Referring to fig. 2, the information generating method of the present application may include the steps of:
step S21: the method comprises the steps of receiving an application request sent by information sharing equipment, wherein the application request is used for applying for an information sharing path of a preset object.
In this embodiment, the preset object is any externally-disclosed network resource. The preset object may have multiple types, such as a store on a certain merchant platform, a certain commodity, a certain event, and the like, and the present embodiment does not specifically limit the type of the preset object.
The information sharing path mainly refers to a network path, such as a network link, through which information of a preset object can be acquired. The information sharing equipment sends an application request to the information sharing platform server to register in the sharing platform server.
In this embodiment, the information sharing platform server may share information in the information source server externally, and the information sharing device may share information in the information source server externally through the information sharing platform server.
For example, the information sharing device may send an application request for applying for viewing a web link of the Y store of the X website to the information sharing platform server.
Step S22: and extracting the identification information of the information sharing equipment from the application request.
In this embodiment, each information sharing device has unique identification information.
After receiving the application request, the information sharing platform server may extract the identification information of the information sharing device from the application request. When the information sharing device generates an application request, unique identification information of the information sharing device is written into the application request.
Step S23: and generating an information sharing path according to the identification information, and sending the information sharing path to the information sharing equipment so that the information sharing equipment pushes the information sharing path to a user terminal.
In this embodiment, the information sharing platform server may generate a network link by using the identification information of the information sharing device in any manner, and the network link may be used to access the preset object.
After receiving the network link, the information sharing device pushes the network link to each user terminal, so that each user terminal can view the preset object by clicking the network link.
Step S24: and when the operation of the user terminal on the information sharing path is detected, analyzing the information sharing path.
In this embodiment, if a user of a certain user terminal wants to view a preset object, the user may click a network link, so as to initiate an access request for the preset object to the information sharing platform server.
When receiving an access request initiated by a user terminal through a network link, an information sharing platform server analyzes the network link to obtain an analysis result, wherein the analysis result comprises identification information and a preset object of the user terminal.
Step S25: and according to the analysis result, obtaining the information to be shared of the preset object from the information source server, and returning the information to be shared of the preset object to the user terminal.
In this embodiment, the information to be shared of the preset object refers to: the preset object needs information shared to the user. For example, when the preset object is a store, the information to be shared may be information of commodities and information of activities in the store. For example, when the preset object is a commodity, the information to be shared may be information such as price, model, sales volume, and evaluation of the commodity. For another example, when the preset object is an activity, the information to be shared may be information such as time, place, and subject of the activity. The embodiment does not specifically limit the information to be shared of the preset object.
After the analysis result is obtained, the information sharing platform server obtains the information to be shared of the preset object from the information source server, and then shares the information to be shared of the preset object to the user terminal. For example, the information sharing platform server may actively obtain the information to be shared of the preset object from the information source server, or may return a network address, in which the information to be shared of the preset object is stored in the information source server, to the user terminal, so that the user terminal accesses the returned network address to obtain the information to be shared of the preset object.
Illustratively, the information source server is a server of a certain takeout platform (for storing information to be shared of the takeout platform, for example, information about annual promotion activities of the takeout platform is information about information to be shared), the information sharing platform server is a next-level sharing server of the takeout platform (for promoting the information about the takeout platform to the outside), and the information sharing device is a terminal device of a merchant (for example, a merchant producing a cash register, or a merchant producing a printer, or a third-party software developer) that has a cooperative relationship with the takeout platform.
If a certain merchant with a cooperative relationship applies for promotion of the takeaway platform (at this moment, the preset object is the takeaway platform), an application request can be sent to the information sharing platform server through the terminal device. After receiving the application request, the information sharing platform server extracts the unique identification information of the merchant from the application request, generates the network link of the takeout platform according to the identification information, and then sends the network link to a plurality of user terminals, so that the user terminals display the network link of the takeout platform to the user.
If a user of a user terminal wishes to access the takeaway platform, the network link can be clicked to send an access request to the information sharing platform server. And the information sharing platform server analyzes the network link in the access request, acquires the identification information of the user terminal and determines that the preset object is the takeout platform. Then, the information sharing platform server can obtain the information to be shared of the take-out platform from the server of the take-out platform, position the user terminal according to the identification information of the user terminal, and send the obtained information to be shared of the take-out platform to the user terminal. Or, the information sharing platform server may obtain a network address of the information to be shared accessing the takeout platform from the server of the takeout platform, and then send the returned network address to the user terminal according to the identification information of the user terminal, so that the user terminal actively accesses the network address, thereby establishing connection with the server of the takeout platform, for example, the user terminal may enter a page of the takeout platform when actively accessing the network address.
In the related art, when the information sharing device needs to acquire data in the information source server, the information sharing device needs to register in the information source server in advance, and if all the information sharing devices are registered on the information source server one by one, huge workload is brought to the information source server. Secondly, after the information sharing device completes registration, when the information is obtained from the information source server and shared outside every time, the information source server cannot be managed, that is, the information source server cannot effectively manage all the information sharing devices, and the risk that the information sharing devices illegally access the information source server is increased.
In this embodiment, the information sharing platform server is disposed between the information source server and each information sharing device, so that when each information sharing device needs to share information to be shared of a preset object in the information source server, the information sharing device may not register (send an application request) in the information source server, but directly register in the information sharing platform server, and after the information sharing is successfully registered, share information through an information sharing path sent by the information sharing platform server, that is: after the information sharing path is obtained through the information sharing platform server, the information sharing device can push the information sharing path to the user terminal, so that the user terminal can obtain the information to be shared of the preset object in the information source server through the information sharing path.
According to the information generation method, the information sharing platform server firstly receives an application request sent by the information sharing equipment, wherein the application request is used for applying for an information sharing path of a preset object. And then, the information sharing platform server extracts identification information of the information sharing equipment from the application request, generates an information sharing path according to the identification information, and sends the information sharing path to the information sharing equipment, so that the information sharing equipment pushes the information sharing path to the user terminal. And then, when the operation of the user terminal on the information sharing path is detected, analyzing the information sharing path. And finally, returning the information to be shared of the preset object to the user terminal according to the analysis result. The method of the embodiment has the following technical effects:
1. according to the method, the information sharing equipment does not need to be registered in the information source server, information sharing can be directly achieved through the information sharing path sent by the information sharing platform server, the workload of the information source server is reduced, and the flexibility of information sharing is improved.
2. The process that the information sharing equipment shares the information to be shared of the preset object is carried out through the information sharing platform server, so that the information sharing platform server can effectively manage all the information sharing equipment, illegal information sharing equipment is prevented from accessing the information source server, and the safety of the information sharing service of the information source server is guaranteed.
With reference to the foregoing embodiment, in an implementation manner, after obtaining the identification information of the information sharing device, the information generating method of the present application may further include the following steps:
and encrypting the identification information.
In this embodiment, the purpose of encrypting the identification information is to: the identification information is prevented from being illegally stolen in the transmission process.
Correspondingly, generating an information sharing path according to the identification information includes:
and generating an information sharing path according to the encrypted identification information.
In this embodiment, the information sharing device may push the information sharing path to a plurality of user terminals. Therefore, after receiving an access request initiated by a user terminal based on an information sharing path, the information sharing platform server needs to add identification information of corresponding information sharing devices into the information sharing path when generating the information sharing path for each information sharing device in order to determine which information sharing path the user terminal initiates the access request according to which information sharing device pushes.
The purpose that the information sharing platform server generates the information sharing path according to the encrypted identification information is as follows: the method and the device can prevent the identification information in the information sharing path from being illegally tampered or the generation rule of the information sharing path from being illegally cracked, for example, the user can be prevented from modifying the identification information in the information sharing path into illegal identification information, and therefore the safety of the information sharing service is guaranteed.
On this basis, analyzing the information sharing path includes:
analyzing the encrypted identification information from the information sharing path and decrypting the encrypted identification information;
and checking whether the decrypted identification information is valid.
After receiving an access request initiated by a user terminal based on an information sharing path, an information sharing platform server firstly analyzes encrypted identification information from the information sharing path, then decrypts the encrypted identification information to obtain decrypted identification information, and then judges the validity of the decrypted identification information.
In this embodiment, whether the identification information is valid may be determined from a plurality of aspects as follows:
1. and if the information sharing equipment corresponding to the identification information still has the authority of sharing the information to be shared of the preset object, determining that the identification information is valid, otherwise, determining that the identification information is invalid.
In this embodiment, the information sharing device sends an application request to the information sharing platform server, that is, the information sharing device applies for the permission to share the information to be shared of the preset object on behalf of the information sharing device. And the rights may be limited by a contract, such as a contract that has rights for a certain period of time.
Therefore, after receiving an access request initiated by a user terminal according to an information sharing path pushed by information sharing equipment, identification information in the information sharing path and the corresponding information sharing equipment can be determined at first, and further, according to agreement between a merchant to which the information sharing equipment belongs and a merchant to which an information sharing platform server belongs, whether the information sharing equipment is still in a time period with authority at the current moment is determined, if so, the information sharing equipment still has the authority for sharing information to be shared of a preset object, and the corresponding identification information is valid, otherwise, the information sharing equipment is invalid.
2. And if the information sharing equipment corresponding to the identification information is not in the blacklist, determining that the identification information is valid, otherwise, determining that the identification information is invalid.
In specific implementation, a blacklist of the information sharing device can be set, the information sharing device in the blacklist does not have the authority of sharing the information to be shared of the preset object, and the corresponding identification information is invalid.
Therefore, after the identification information in the information sharing path and the corresponding information sharing device are determined, whether the information sharing device is in the information sharing device blacklist or not can be further determined, if not, the identification information corresponding to the information sharing device is indicated to be valid, and if not, the identification information is invalid.
3. And if the information sharing equipment corresponding to the identification information is in the white list, determining that the identification information is valid, otherwise, determining that the identification information is invalid.
During specific implementation, a white list of the information sharing device can be set, the information sharing device in the white list has the authority of sharing the information to be shared of the preset object, and the corresponding identification information is valid.
Therefore, after the identification information in the information sharing path and the corresponding information sharing device are determined, whether the information sharing device is in the white list of the information sharing device can be further determined, if yes, the identification information corresponding to the information sharing device is indicated to be valid, and if not, the identification information is invalid.
In this embodiment, the identification information is encrypted, so that the identification information in the information sharing path can be effectively prevented from being illegally tampered or the generation rule of the information sharing path is illegally cracked, and the security of the information sharing service is ensured.
With reference to the foregoing embodiment, in an implementation manner, the information generating method of the present application may further include:
and returning abnormal prompt information to the information sharing equipment under the condition that the decrypted identification information is invalid.
In this embodiment, if it is determined that a certain user terminal is an access request initiated by an information sharing path generated based on an information sharing device without permission (identification information of the information sharing device is invalid), the information sharing platform server does not share information to be shared of a preset object in the information source server to the user terminal any more, and simultaneously returns exception prompt information to the information sharing device to prompt the information sharing device to resend an application request to the information sharing platform server to apply for permission to share the information to be shared of the preset object.
Meanwhile, the information sharing platform server can also return exception prompt information to the user equipment to prompt the user to obtain an effective information sharing path again.
In this embodiment, if it is determined that a certain user terminal initiates an access request based on an information sharing path generated by an information sharing device without permission, the information sharing platform server stops continuing to share information to be shared of a preset object to the user terminal, and returns exception prompt information to the information sharing device, so that the information sharing device can apply for qualification in time, and effective management of each information sharing device is realized.
With reference to the foregoing embodiment, in an implementation manner, the present application further provides a method for returning information to be shared of a preset object to a user terminal through an information source server, as shown in fig. 3. Fig. 3 is a flowchart illustrating a method for sending information to be shared of a preset object according to an embodiment of the present application.
Referring to fig. 3, in this embodiment, obtaining the information to be shared of the preset object from the information source server according to the parsing result, and returning the information to be shared of the preset object to the user terminal may include:
step S31: and under the condition that the decrypted identification information is effective, converting the information sharing path into a standard sharing path, wherein the standard sharing path is obtained by the information sharing platform server from the information source server in advance.
In this embodiment, the information sharing path is used for directly accessing the information sharing platform server, the standard sharing path is used for directly accessing the information source server, and after the information sharing path is converted into the standard sharing path, the user can directly access the information source server through the standard sharing path.
In specific implementation, the information sharing platform server acquires a standard sharing path from the information source server in advance. When the information sharing platform server is registered in the information source server, the information source server can allocate a standard sharing path to the information sharing platform server. The standard sharing path mainly takes the form of a network link. The generation manner of the information sharing path and the standard sharing path is not particularly limited in this embodiment.
In step S31, after the information sharing platform server receives an access request initiated by the user terminal based on the information sharing path generated by the information sharing device, the information sharing path is converted into a standard sharing path.
Step S32: and returning the standard sharing path to the user terminal, and controlling the user terminal to redirect to the standard sharing path so as to acquire the information to be shared of the preset object from the information source server.
In step S32, the information sharing platform server returns the standard sharing path to the user terminal, so that the user terminal is directly located to the information source server according to the standard sharing path, and obtains the to-be-shared information of the preset object from the information source server.
In the embodiment, the information sharing platform server converts the information sharing path in the access request initiated by the user terminal based on the information sharing path into the standard sharing path, so that the user terminal can directly acquire the information to be shared of the preset object from the information source server without registering on the information source server, and the flexibility of the information source server for realizing information sharing is improved.
With reference to the foregoing embodiments, in an implementation manner, the information sharing platform server is a primary information sharing end of the information source server, the information sharing device is a secondary information sharing end of the information source server, and the information sharing platform server provides corresponding information sharing paths for a plurality of information sharing devices respectively.
In this embodiment, the first-level information sharing end is a device that completes registration on the information source server, and has a standard sharing path allocated by the information source server, and the first-level information sharing end can push the standard sharing path to the user terminal, and after clicking the standard sharing path, the user terminal can directly access the information source server and obtain information to be shared of an object preset in the information source server.
The second-level information sharing end is equipment which does not complete registration on the information source server but completes registration on the first-level information sharing end, and the second-level information sharing end is provided with an information sharing path distributed by the first-level information sharing end, can push the information sharing path to the user terminal, can directly access the first-level information sharing end after clicking the information sharing path, can convert the information sharing path into a standard sharing path and return the standard sharing path to the user terminal, and can directly access the information source server and obtain information to be shared of an object preset in the information source server after clicking the returned standard sharing path. The standard sharing path may be a first-level promotion link, and the information sharing path may be a second-level promotion link.
In this embodiment, the first-level information sharing end and the second-level information sharing end can share information to be shared of a preset object in the information source server to the outside. When a certain device cannot timely complete registration on the information source server, namely cannot become a first-level information sharing end, registration can be completed on other first-level information sharing ends to become a second-level information sharing end, and therefore the device has the authority of lawfully sharing information to be shared of a preset object in the information source server to the outside.
In the foregoing embodiments of the present application, the information sharing platform server may be a primary information sharing end of the information source server, and the information sharing device may be a secondary information sharing end of the information source server.
The embodiment provides a new method for sharing information to be shared of a preset object in an information source server to the outside, which includes: the information sharing equipment does not need to register on the information source server, but becomes a secondary information sharing end by completing registration on the information sharing platform server serving as the primary information sharing end, and pushes an information sharing path distributed by the information sharing platform server to a plurality of user terminals, so that information sharing can be realized. The method not only improves the flexibility of sharing the internal information externally by the information source server, but also reduces the workload of the information source server because the information source server does not need to be in one-to-one butt joint with the information sharing equipment.
Fig. 4 is an overall process schematic diagram of an information generation method according to an embodiment of the present application. The information generating method of the present application will be described in detail with reference to fig. 4 as an embodiment. In this embodiment, the back-end server of the take-out software X is an information source server, the primary promotion platform Y is an information sharing platform server, and is responsible for promoting the information of the take-out software X, and the service provider Z who produces the cash register adopts the terminal device D as the information sharing device. The preset object is the annual sales promotion activity of the takeaway software X. The back-end server of the take-out software X distributes a first-level promotion link (namely a standard sharing path) to the first-level promotion platform Y, and the first-level promotion platform Y distributes a second-level promotion link (namely an information sharing path) to the service provider Z.
When the facilitator Z wants to apply for an annual sales promotion activity for the takeaway software X to promote, but the facilitator Z does not want to register on the backend server of the takeaway software X, the facilitator Z can achieve promotion by the following steps:
step1: the service provider Z sends a secondary promotion link acquisition request to the primary promotion platform Y through the terminal equipment D, and the acquisition request carries an identifier M of the terminal equipment D;
step2: the first-level promotion platform Y extracts the identifier M of the terminal device D from the acquisition request, encrypts the identifier M (by using an arbitrary encryption method), and obtains the encrypted identifier M.
Step3: the first-level promotion platform Y generates a link parameter (any generation mode can be adopted) by using the encrypted identifier M, and then generates a second-level promotion link (the second-level promotion link comprises a dynamic part and a static part, the encrypted identifier M is placed on the dynamic part, and the information of the first-level promotion platform Y and the take-out software X is placed on the static part) by using the link parameter.
Step4: and the primary promotion platform Y sends the secondary promotion link to the terminal equipment D.
Step5: and the terminal equipment D pushes the secondary promotion link to a plurality of user terminals.
Step6: and after the user of the user terminal clicks the secondary promotion link, the user terminal sends an access request for accessing the takeout software X to the primary promotion platform Y.
Step7: and the primary promotion platform Y extracts the encrypted identifier M from the access request and decrypts the identifier M to obtain the identifier M. And the first-level promotion platform Y judges the effectiveness of the mark M, if the effectiveness is good, the Step8 is entered, and otherwise, abnormity prompt information is respectively sent to the terminal equipment D and the user terminal.
Step8: and the first-level promotion platform Y converts the second-level promotion link used by the access request into a first-level promotion link, and then sends the first-level promotion link to the user terminal. The first-level promotion link comprises a dynamic part and a static part, wherein the static part is the same as the static part of the first-level promotion link which is distributed for the first-level promotion platform Y by a back-end server of the take-out software X in advance, and the dynamic part can be added with identification information of the terminal device D.
Step9: and clicking the primary promotion link by the user of the user terminal to access the back-end server of the take-out software X.
Step10: and the back-end server of the take-out software X returns a page of the annual promotion activity of the take-out software X to the user terminal for the user to browse or place an order.
In this embodiment, the terminal device D of the facilitator Z can directly obtain the information of the annual sales promotion from the back-end server of the takeaway software X without registering on the back-end server of the takeaway software X, so that the workload of the terminal device D of the facilitator Z when registering on the back-end server of the takeaway software X is avoided, the pressure of the back-end server is reduced, meanwhile, the flexible sharing of the internal information of the back-end server is realized, and the use experience of the user (the facilitator Z) is enhanced.
Based on the same inventive concept, an embodiment of the present application provides an information generating apparatus 500, which is applied to an information sharing platform server, where the information sharing platform server is in communication connection with an information source server. Referring to fig. 5, fig. 5 is a schematic diagram of an information generating apparatus according to an embodiment of the present application.
As shown in fig. 5, the apparatus 500 includes:
a receiving module 501, configured to receive an application request sent by an information sharing device, where the application request is used to apply for an information sharing path for a preset object;
an extracting module 502, configured to extract identification information of the information sharing device from the application request;
a generating module 503, configured to generate an information sharing path according to the identification information, and send the information sharing path to the information sharing device, so that the information sharing device pushes the information sharing path to a user terminal;
an analysis module 504, configured to, when detecting that a user of the user terminal performs an operation on the information sharing path, analyze the information sharing path;
an obtaining module 505, configured to obtain the information to be shared of the preset object from the information source server according to the parsing result, and return the information to be shared of the preset object to the user terminal.
Optionally, the apparatus 500 further comprises:
the encryption module is used for encrypting the identification information;
the generating module 503 includes:
the generating submodule is used for generating an information sharing path according to the encrypted identification information;
the parsing module 504 includes:
the analysis submodule is used for analyzing the encrypted identification information from the information sharing path and decrypting the encrypted identification information;
and the verification submodule is used for verifying whether the decrypted identification information is valid.
Optionally, the obtaining module 505 includes:
the conversion sub-module is used for converting the information sharing path into a standard sharing path under the condition that the decrypted identification information is effective, wherein the standard sharing path is obtained by the information sharing platform server from the information source server in advance;
and the return submodule is used for returning the standard sharing path to the user terminal and controlling the user terminal to be redirected to the standard sharing path so as to acquire the information to be shared of the preset object from the information source server.
Optionally, the apparatus 500 further comprises:
and the returning module is used for returning abnormal prompt information to the information sharing equipment under the condition that the decrypted identification information is invalid.
Optionally, the information sharing platform server is a primary information sharing end of the information source server, the information sharing device is a secondary information sharing end of the information source server, and the information sharing platform server provides corresponding information sharing paths for the plurality of information sharing devices respectively.
Based on the same inventive concept, another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps in the method according to any of the above-mentioned embodiments of the present application.
Based on the same inventive concept, another embodiment of the present application provides an electronic device 600, as shown in fig. 6. Fig. 6 is a schematic diagram of an electronic device according to an embodiment of the present application. The electronic device comprises a memory 602, a processor 601 and a computer program stored on the memory and executable on the processor, which when executed performs the steps of the method according to any of the embodiments of the present application.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
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.
As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or terminal device that comprises the element.
The information generation method, the information generation device, the electronic device, and the readable storage medium 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 (10)

1. An information generation method is applied to an information sharing platform server, wherein the information sharing platform server is in communication connection with an information source server, and the method comprises the following steps:
receiving an application request sent by information sharing equipment, wherein the application request is used for applying for an information sharing path of a preset object;
extracting identification information of the information sharing equipment from the application request;
generating an information sharing path according to the identification information, and sending the information sharing path to the information sharing equipment so that the information sharing equipment pushes the information sharing path to a user terminal;
when the operation of the user terminal on the information sharing path is detected, analyzing the information sharing path;
and according to the analysis result, obtaining the information to be shared of the preset object from the information source server, and returning the information to be shared of the preset object to the user terminal.
2. The method of claim 1, wherein after obtaining the identification information of the information sharing device, the method further comprises:
encrypting the identification information;
generating an information sharing path according to the identification information, including:
generating an information sharing path according to the encrypted identification information;
analyzing the information sharing path, including:
analyzing the encrypted identification information from the information sharing path and decrypting the encrypted identification information;
and checking whether the decrypted identification information is valid.
3. The method according to claim 2, wherein obtaining information to be shared of the preset object from the information source server according to the parsing result, and returning the information to be shared of the preset object to the user terminal includes:
under the condition that the decrypted identification information is effective, converting the information sharing path into a standard sharing path, wherein the standard sharing path is obtained by the information sharing platform server from the information source server in advance;
and returning the standard sharing path to the user terminal, and controlling the user terminal to redirect to the standard sharing path so as to acquire the information to be shared of the preset object from the information source server.
4. The method of claim 3, further comprising:
and returning abnormal prompt information to the information sharing equipment under the condition that the decrypted identification information is invalid.
5. The method according to any one of claims 1 to 4, wherein the information sharing platform server is a primary information sharing terminal of the information source server, the information sharing device is a secondary information sharing terminal of the information source server, and the information sharing platform server provides corresponding information sharing paths for a plurality of information sharing devices respectively.
6. An information generating device is applied to an information sharing platform server, wherein the information sharing platform server is in communication connection with an information source server, and the device comprises:
the information sharing device comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving an application request sent by the information sharing device, and the application request is used for applying for an information sharing path of a preset object;
the extraction module is used for extracting the identification information of the information sharing equipment from the application request;
the generating module is used for generating an information sharing path according to the identification information and sending the information sharing path to the information sharing equipment so that the information sharing equipment pushes the information sharing path to a user terminal;
the analysis module is used for analyzing the information sharing path when detecting the operation of the user terminal on the information sharing path;
and the obtaining module is used for obtaining the information to be shared of the preset object from the information source server according to the analysis result and returning the information to be shared of the preset object to the user terminal.
7. The apparatus of claim 6, further comprising:
the encryption module is used for encrypting the identification information;
the generation module comprises:
the generation submodule is used for generating an information sharing path according to the encrypted identification information;
the parsing module includes:
the analysis submodule is used for analyzing the encrypted identification information from the information sharing path and decrypting the encrypted identification information;
and the verification submodule is used for verifying whether the decrypted identification information is valid.
8. The apparatus of claim 7, wherein the obtaining module comprises:
the conversion sub-module is used for converting the information sharing path into a standard sharing path under the condition that the decrypted identification information is effective, wherein the standard sharing path is obtained by the information sharing platform server from the information source server in advance;
and the return submodule is used for returning the standard sharing path to the user terminal and controlling the user terminal to be redirected to the standard sharing path so as to acquire the information to be shared of the preset object from the information source server.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executed implements the steps of the method according to any of claims 1-5.
CN202110470335.XA 2021-04-28 2021-04-28 Information generation method and device, electronic equipment and readable storage medium Pending CN115344798A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110470335.XA CN115344798A (en) 2021-04-28 2021-04-28 Information generation method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110470335.XA CN115344798A (en) 2021-04-28 2021-04-28 Information generation method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN115344798A true CN115344798A (en) 2022-11-15

Family

ID=83946924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110470335.XA Pending CN115344798A (en) 2021-04-28 2021-04-28 Information generation method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN115344798A (en)

Similar Documents

Publication Publication Date Title
CN109961292B (en) Block chain verification code application method, equipment and storage medium
CN110086768B (en) Service processing method and device
CN107645486B (en) login authentication method and device
CN109687959B (en) Key security management system, key security management method, key security management medium, and computer program
CN104506487B (en) The credible execution method of privacy policy under cloud environment
US9003490B2 (en) Using entitlement certificates to manage product assets
CN111740966B (en) Data processing method based on block chain network and related equipment
CN104811428A (en) Method, device and system for verifying client identity by social relation data
CN109639723A (en) A kind of micro services access method and server based on ERP system
CN110276000B (en) Method and device for acquiring media resources, storage medium and electronic device
JP6440571B2 (en) SaaS data linkage support system and SaaS data linkage support method
JP4732178B2 (en) Disclosure route browsing system for personal information and method for verifying the disclosure route
US20120240244A1 (en) Certificates to create product mappings
US20120036075A1 (en) Determining mobile account to apply marketplace charges
CN114528571A (en) Resource access and data processing method, device, electronic equipment and medium
CN115412269A (en) Service processing method, device, server and storage medium
CN112232810A (en) Resource processing method, server, device, equipment, system and medium
CN105051769A (en) A method and system for transferring data
JP2017204182A (en) Advertisement access number measurement method, advertisement distribution server, and program
CN115186301B (en) Information processing method, information processing device, computer equipment and computer readable storage medium
CN110232287A (en) Pass through the shared economic data cochain method and its equipment of block chain
CN107403107B (en) Data security management method and system based on multipoint cooperation mechanism
CN115344798A (en) Information generation method and device, electronic equipment and readable storage medium
CN115563212A (en) Supply chain data management method, device, equipment and storage medium under cloud chain cooperation
CN106716401A (en) Data interaction processing method, device and system

Legal Events

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