CN104539662A - Information transmission method and device - Google Patents

Information transmission method and device Download PDF

Info

Publication number
CN104539662A
CN104539662A CN201410771284.4A CN201410771284A CN104539662A CN 104539662 A CN104539662 A CN 104539662A CN 201410771284 A CN201410771284 A CN 201410771284A CN 104539662 A CN104539662 A CN 104539662A
Authority
CN
China
Prior art keywords
commodity
state information
sent
terminal
time limit
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
CN201410771284.4A
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 Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410771284.4A priority Critical patent/CN104539662A/en
Publication of CN104539662A publication Critical patent/CN104539662A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • 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/02Marketing; Price estimation or determination; Fundraising

Abstract

The invention discloses an information transmission method and device. The method comprises the steps that when a subscription request, sent by a terminal, for a commodity is received, the commodity mark and subscription time limit of the commodity are acquired according to the subscription request; within the subscription time limit, the status information of the commodity is periodically acquired according to the commodity mark; the status information is sent to the terminal. The information transmission method and device are used for providing status information for a user in real time.

Description

Information transferring method and device
Technical field
The disclosure relates to wireless communication technology field, particularly relates to a kind of information transferring method and device.
Background technology
In correlation technique, user is in order to obtain the data message of commodity (as smart machine), request of data can be sent by mobile phone, browser etc. to server or smart machine, the data feedback that user is concerned about can be returned after server or smart machine receive request.
Summary of the invention
Disclosure embodiment provides a kind of information synchronization method and device.
According to the first aspect of disclosure embodiment, provide a kind of information transferring method, described method is applied to server, and described method comprises:
When receiving the subscribe request to commodity that terminal sends, obtain the commodity sign of described commodity and the subscription time limit to described commodity according to described subscribe request; Within the described subscription time limit, periodically obtain the state information of described commodity according to described commodity sign; Described state information is sent to described terminal.
In the present embodiment, server periodically obtains the state information of these commodity to the subscribe request of commodity according to user, and state information is sent to user place terminal, make user can in terminal the state information of these commodity of real time inspection.Like this, user just can display of commodity state variation without the need to manual refreshing, and can know the up-to-date state information of these commodity fast, in time, user experience is better.
Optionally, described within the described subscription time limit, the state information periodically obtaining described commodity according to described commodity sign comprises:
Within the described subscription time limit, periodically transmission comprises the inquiry request of described commodity sign to database;
Receive the state information of the described commodity of described Database Feedback.
In possibility, server periodically inquires about the state information of commodity from database, so that the change of Timeliness coverage condition of merchandise, and state information is pushed to user, user can know the up-to-date state information of these commodity fast, in time, and user experience is better.
Optionally, described described state information is sent to described terminal, comprises:
The described state information at every turn got directly is sent to described terminal;
Or, described described state information is sent to described terminal, comprises:
Judge that whether this state information got is identical with the last state information got;
When the state information that this gets is different from the state information that the last time gets, the state information this got is sent to described terminal;
When the state information that this gets is identical with the state information that the last time gets, do not send the state information that this gets.
In possibility, the state information of the commodity at every turn inquired all can be sent to user by server, like this, user can be made to obtain the whole state information of these commodity in time, exactly.Or the state information changed also only can be sent to user by server, like this, decrease transmitted data amount between server and terminal, save flow, simultaneously when condition of merchandise changes, ensure that user obtains condition of merchandise information in time.
Optionally, described state information comprises at least one information following: the title of described commodity, brief introduction, price or comment.
According to the second aspect of disclosure embodiment, provide a kind of information transferring method, described method is applied to terminal, and described method comprises:
Generate the subscribe request to commodity, described subscribe request comprises the commodity sign of described commodity and the subscription time limit to described commodity;
Described subscribe request is sent to server;
Receive the state information of the described commodity that described server returns, described state information periodically to be acquired according to described commodity sign in the described subscription time limit by described server and is sent to described terminal;
The described state information that real-time display receives.
In the present embodiment, subscribe request is sent to server by terminal, server periodically obtains the state information of these commodity according to subscribe request, and state information is sent to user place terminal, make user can in terminal the state information of these commodity of real time inspection.Like this, user just can display of commodity state variation without the need to manual refreshing, and can know the up-to-date state information of these commodity fast, in time, user experience is better.
Optionally, described method also comprises:
Judge whether current time exceedes the described subscription time limit;
When current time exceedes described subscription in limited time, carry out renewal to described commodity to remind;
When receiving the renewal operation of again subscribing to described commodity, again generate described subscribe request.
In possibility, subscribing to the time limit when exceeding, if user needs, renewal can also be initiated again, thus guarantee validity and the continuity of state information acquisition.
Optionally, the described state information that described real-time display receives, comprising:
In the page of application program or browser, show the state information of the described commodity received in real time.
In possibility, user can be browsed to simply and easily by the application A PP in terminal or browser and subscribe to the state information of commodity, just can display of commodity state variation without the need to manual refreshing, and user experience is better.
According to the third aspect of disclosure embodiment, provide a kind of information carrying means, described application of installation is in server, and described device comprises:
First acquisition module, for when receiving the subscribe request to commodity that terminal sends, obtains the commodity sign of described commodity and the subscription time limit to described commodity according to described subscribe request;
Second acquisition module, within the described subscription time limit, periodically obtains the state information of described commodity according to described commodity sign;
Sending module, for being sent to described terminal by described state information.
Optionally, described second acquisition module comprises:
Send submodule, within the described subscription time limit, periodically transmission comprises the inquiry request of described commodity sign to database;
Receive submodule, for receiving the state information of the described commodity of described Database Feedback.
Optionally, described sending module, for being directly sent to described terminal by the described state information got at every turn.
Optionally, described sending module comprises:
Judge submodule, for judging that whether this state information got is identical with the last state information got;
Send submodule, when the state information for getting when this is different from the state information that the last time gets, the state information this got is sent to described terminal; When the state information that this gets is identical with the state information that the last time gets, do not send the state information that this gets.
According to the fourth aspect of disclosure embodiment, provide a kind of information carrying means, described application of installation is in terminal, and described device comprises:
Generation module, for generating the subscribe request to commodity, described subscribe request comprises the commodity sign of described commodity and the subscription time limit to described commodity;
Sending module, for being sent to server by described subscribe request;
Receiver module, for receiving the state information of the described commodity that described server returns, described state information periodically to be acquired according to described commodity sign in the described subscription time limit by described server and is sent to described terminal;
Display module, for showing the described state information received in real time.
Optionally, described device also comprises:
Judge module, for judging whether current time exceedes the described subscription time limit;
Prompting module, prescribes a time limit during for exceeding described subscription when current time, carries out renewal remind described commodity;
Described generation module, for when receiving the renewal operation of again subscribing to described commodity, generates described subscribe request again.
Optionally, described display module, in the page of application program or browser, shows the state information of the described commodity received in real time.
According to the 5th aspect of disclosure embodiment, a kind of information carrying means is provided, comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
When receiving the subscribe request to commodity that terminal sends, obtain the commodity sign of described commodity and the subscription time limit to described commodity according to described subscribe request;
Within the described subscription time limit, periodically obtain the state information of described commodity according to described commodity sign;
Described state information is sent to described terminal.
According to the 6th aspect of disclosure embodiment, a kind of information carrying means is provided, comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Generate the subscribe request to commodity, described subscribe request comprises the commodity sign of described commodity and the subscription time limit to described commodity;
Described subscribe request is sent to server;
Receive the state information of the described commodity that described server returns; Described state information periodically to be acquired according to described commodity sign in the described subscription time limit by described server and is sent to described terminal;
The described state information that real-time display receives.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows and meets embodiment of the present disclosure, and is used from specification one and explains principle of the present disclosure.
Fig. 1 is the flow chart of a kind of information transferring method according to an exemplary embodiment;
Fig. 2 is the flow chart of a kind of information transferring method according to another exemplary embodiment;
Fig. 3 is the flow chart of a kind of information transferring method according to another exemplary embodiment;
Fig. 4 is the flow chart of a kind of information transferring method according to an exemplary embodiment;
Fig. 5 is the flow chart of a kind of information transferring method according to an exemplary embodiment;
Fig. 6 is the block diagram of a kind of information carrying means according to an exemplary embodiment;
Fig. 7 is the block diagram of the second acquisition module according to an exemplary embodiment;
Fig. 8 is the block diagram of the sending module according to an exemplary embodiment;
Fig. 9 is the block diagram of a kind of information carrying means according to an exemplary embodiment;
Figure 10 is the block diagram of a kind of information carrying means according to another exemplary embodiment;
Figure 11 is the block diagram of a kind of device for information transmission according to an exemplary embodiment;
Figure 12 is the block diagram of a kind of device for information transmission according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Disclosure embodiment is based on data subscription mechanism, when user browses merchandise news by application program that terminal is run or browser, after user have subscribed the state information of commodity, the state information of these commodity can be sent to user terminal by server in real time, make the state of these commodity of real-time update on the subscriber terminal, user can know the up-to-date state information of these commodity fast, in time, and user experience is better.
Fig. 1 is the flow chart of a kind of information transferring method according to an exemplary embodiment, and as shown in Figure 1, information transferring method is used for, in server, comprising the following steps.
In step s 11, when receiving the subscribe request to commodity that terminal sends, obtain the commodity sign of commodity and the subscription time limit to commodity according to subscribe request;
In step s 12, within the subscription time limit, periodically obtain the state information of commodity according to commodity sign;
In step s 13, state information is sent to terminal.
In the present embodiment, server periodically obtains the state information of these commodity to the subscribe request of commodity according to user, and state information is sent to user place terminal, make user can in terminal the state information of these commodity of real time inspection.Like this, user just can display of commodity state variation without the need to manual refreshing, and can know the up-to-date state information of these commodity fast, in time, user experience is better.
Fig. 2 is the flow chart of a kind of information transferring method according to another exemplary embodiment, and as shown in Figure 2, optionally, above-mentioned steps S12 comprises:
In the step s 21, within the subscription time limit, periodically transmission comprises the inquiry request of commodity sign to database;
In step S22, receive the state information of the commodity of Database Feedback.
In possibility, server periodically inquires about the state information of commodity from database, so that the change of Timeliness coverage condition of merchandise, and state information is pushed to user, user can know the up-to-date state information of these commodity fast, in time, and user experience is better.
Optionally, above-mentioned steps S13 comprises: the state information at every turn got directly is sent to terminal.
Or Fig. 3 is the flow chart of a kind of information transferring method according to another exemplary embodiment, and as shown in Figure 3, above-mentioned steps S13 comprises:
In step S31, judge that whether this state information got is identical with the last state information got;
In step s 32, when the state information that this gets is different from the state information that the last time gets, the state information this got is sent to terminal;
In step S33, when the state information that this gets is identical with the state information that the last time gets, do not send the state information that this gets.
In possibility, the state information of the commodity at every turn inquired all can be sent to user by server, like this, user can be made to obtain the whole state information of these commodity in time, exactly.Or the state information changed also only can be sent to user by server, like this, decrease transmitted data amount between server and terminal, save flow, simultaneously when condition of merchandise changes, ensure that user obtains condition of merchandise information in time.
Optionally, state information comprises at least one information following: the title of commodity, brief introduction, price or comment.
Optionally, the subscription time limit in the present embodiment can be 30 seconds, 1 minute, 5 minutes, 20 minutes, 1 hour, 1 day etc., and user can need to set according to self.The cycle that server obtains condition of merchandise information can be 1 second, namely obtained the state information of once subscribing to commodity every 1 second from database, when the state of these commodity changes, the state information of these commodity was sent to user terminal.Server obtain condition of merchandise information cycle can by server according to subscribe to the time limit and determine, also can unify to be set to an acquiescence cycle (such as 0.5 second or 1 second etc.), also can be set by the user.Subscribe to the time limit (such as 30 seconds, 1 minute, 5 minutes etc.) that the time limit can unify to be set to an acquiescence, also can be set arbitrarily as required by user, also can be set arbitrarily as required by server and inform terminal.
Fig. 4 is the flow chart of a kind of information transferring method according to an exemplary embodiment, and as shown in Figure 4, the method is applied to terminal, and the method comprises the following steps.
In step S41, generate the subscribe request to commodity; Alternatively, subscribe request comprises the commodity sign of commodity and the subscription time limit to commodity; Alternatively, subscribe request comprises the commodity sign of commodity.
In step S42, subscribe request is sent to server;
In step S43, the state information of the commodity that reception server returns, state information is periodically acquired according to commodity sign by server in the subscription time limit and is sent to terminal;
In step S44, show the state information received in real time.
In the present embodiment, subscribe request is sent to server by terminal, server periodically obtains the state information of these commodity according to subscribe request, and state information is sent to user place terminal, make user can in terminal the state information of these commodity of real time inspection.Like this, user just can display of commodity state variation without the need to manual refreshing, and can know the up-to-date state information of these commodity fast, in time, user experience is better.
Fig. 5 is the flow chart of a kind of information transferring method according to an exemplary embodiment, and as shown in Figure 5, optionally, the method also comprises:
In step s 51, judge whether current time exceedes and subscribe to the time limit;
In step S52, when current time exceedes subscription in limited time, carry out renewal to commodity to remind;
In step S53, when receiving the renewal operation of again subscribing to commodity, again generate subscribe request.
In possibility, subscribing to the time limit when exceeding, if user needs, renewal can also be initiated again, thus guarantee validity and the continuity of state information acquisition.
Optionally, above-mentioned steps S44 comprises: in the page of application program or browser, show the state information of the commodity received in real time.
In possibility, user can be browsed to simply and easily by the APP in terminal or browser and subscribe to the state information of commodity, just can display of commodity state variation without the need to manual refreshing, and user experience is better.
Such as, user's setting is subscribed to the price of smart mobile phone A, brief introduction or user comment, is limited to 1 minute, generates corresponding subscribe request and be sent to server during subscription.
After server receives subscribe request, determine to inquire about the price of a smart mobile phone A, brief introduction or user comment every 1 second according to subscribing to the time limit.
When the price of smart mobile phone A, brief introduction or user comment change, state information is sent to user terminal by server.
User can view the real-time status of smart mobile phone A in terminal by APP or browser.
Like this, user can know the situation of change of this smart mobile phone state timely and accurately, and without the need to user's frequent manual refreshing page obtaining information, user experience is better.
Fig. 6 is the block diagram of a kind of information carrying means according to an exemplary embodiment.As shown in Figure 6, this application of installation, in server, comprises the first acquisition module 61, second acquisition module 62 and sending module 63.
First acquisition module 61 is configured to, when receiving the subscribe request to commodity that terminal sends, obtain the commodity sign of described commodity and the subscription time limit to described commodity according to described subscribe request;
Second acquisition module 62 is configured to, within the described subscription time limit, periodically obtain the state information of described commodity according to described commodity sign;
Sending module 63 is configured to described state information to be sent to described terminal.
Fig. 7 is the block diagram of the second acquisition module according to an exemplary embodiment.As shown in Figure 7, optionally, described second acquisition module 62 comprises:
Sending submodule 71 is configured within the described subscription time limit, and periodically transmission comprises the inquiry request of described commodity sign to database;
Receive the state information that submodule 72 is configured to the described commodity receiving described Database Feedback.
Optionally, described sending module 63 is configured to the described state information at every turn got directly to be sent to described terminal.
Fig. 8 is the block diagram of the sending module according to an exemplary embodiment.As shown in Figure 8, optionally, described sending module 63 comprises:
Judge that submodule 81 is configured to judge that whether this state information got is identical with the last state information got;
Send submodule 82 to be configured to when the state information that this gets is different from the state information that the last time gets, the state information this got is sent to described terminal; When the state information that this gets is identical with the state information that the last time gets, do not send the state information that this gets.
Fig. 9 is the block diagram of a kind of information carrying means according to an exemplary embodiment.As shown in Figure 9, this application of installation, in terminal, comprises generation module 91, sending module 92, receiver module 93 and display module 94.
Generation module 91 is configured to generate the subscribe request to commodity, and described subscribe request comprises the commodity sign of described commodity and the subscription time limit to described commodity;
Sending module 92 is configured to described subscribe request to be sent to server;
Receiver module 93 is configured to the state information receiving the described commodity that described server returns, and described state information periodically to be acquired according to described commodity sign in the described subscription time limit by described server and is sent to described terminal;
Display module 94 is configured to show the described state information received in real time.
Figure 10 is the block diagram of a kind of information carrying means according to another exemplary embodiment.As shown in Figure 10, optionally, this device also comprises:
Judge module 95 is configured to judge whether current time exceedes the described subscription time limit;
Prompting module 96 is configured to prescribe a time limit when current time exceedes described subscription, carries out renewal remind described commodity;
Described generation module 91 is configured to, when receiving the renewal operation of again subscribing to described commodity, again generate described subscribe request.
Optionally, described display module 94, in the page of application program or browser, shows the state information of the described commodity received in real time.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
The disclosure also provides a kind of information carrying means, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
When receiving the subscribe request to commodity that terminal sends, obtain the commodity sign of described commodity and the subscription time limit to described commodity according to described subscribe request;
Within the described subscription time limit, periodically obtain the state information of described commodity according to described commodity sign;
Described state information is sent to described terminal.
The disclosure also provides a kind of information carrying means, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Generate the subscribe request to commodity, described subscribe request comprises the commodity sign of described commodity and the subscription time limit to described commodity;
Described subscribe request is sent to server;
Receive the state information of the described commodity that described server returns; Described state information periodically to be acquired according to described commodity sign in the described subscription time limit by described server and is sent to described terminal;
The described state information that real-time display receives.
Figure 11 is the block diagram of a kind of device for information transmission according to an exemplary embodiment.Such as, device 1100 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
As shown in figure 11, device 1100 can comprise following one or more assembly: processing components 1102, memory 1104, power supply module 1106, multimedia groupware 1108, audio-frequency assembly 1110, the interface 1112 of I/O (I/O), sensor cluster 1114, and communications component 1116.
The integrated operation of the usual control device 1100 of processing components 1102, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 1102 can comprise one or more processor 1120 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1102 can comprise one or more module, and what be convenient between processing components 1102 and other assemblies is mutual.Such as, processing components 1102 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1108 and processing components 1102.
Memory 1104 is configured to store various types of data to be supported in the operation of equipment 1100.The example of these data comprises for any application program of operation on device 1100 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 1104 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 1106 is device 1100 provide electric power.Power supply module 1106 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1100 and be associated.
Multimedia groupware 1108 is included in the screen providing an output interface between described device 1100 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1108 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 1100 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1110 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1110 comprises a microphone (MIC), and when device 1100 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 1104 further or be sent via communications component 1116.In certain embodiments, audio-frequency assembly 1110 also comprises a loud speaker, for output audio signal.
I/O interface 1112 is for providing interface between processing components 1102 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 1114 comprises one or more transducer, for providing the state estimation of various aspects for device 1100.Such as, sensor cluster 1114 can detect the opening/closing state of equipment 1100, the relative positioning of assembly, such as described assembly is display and the keypad of device 1100, the position of all right checkout gear 1100 of sensor cluster 1114 or device 1100 assemblies changes, the presence or absence that user contacts with device 1100, the variations in temperature of device 1100 orientation or acceleration/deceleration and device 1100.Sensor cluster 1114 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 1114 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 1114 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 1116 is configured to the communication being convenient to wired or wireless mode between device 1100 and other equipment.Device 1100 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 1116 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 1116 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1100 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 1104 of instruction, above-mentioned instruction can perform said method by the processor 1120 of device 1100.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of information transferring method, described method comprises:
Generate the subscribe request to commodity, described subscribe request comprises the commodity sign of described commodity and the subscription time limit to described commodity;
Described subscribe request is sent to server;
Receive the state information of the described commodity that described server returns, described state information periodically to be acquired according to described commodity sign in the described subscription time limit by described server and is sent to described terminal;
The described state information that real-time display receives.
Optionally, described method also comprises:
Judge whether current time exceedes the described subscription time limit;
When current time exceedes described subscription in limited time, carry out renewal to described commodity to remind;
When receiving the renewal operation of again subscribing to described commodity, again generate described subscribe request.
Optionally, the described state information that described real-time display receives, comprising:
In the page of application program or browser, show the state information of the described commodity received in real time.
In the present embodiment, subscribe request is sent to server by terminal, server periodically obtains the state information of these commodity according to subscribe request, and state information is sent to user place terminal, make user can in terminal the state information of these commodity of real time inspection.Like this, user just can display of commodity state variation without the need to manual refreshing, and can know the up-to-date state information of these commodity fast, in time, user experience is better.
Figure 12 is the block diagram of a kind of device for information transmission according to an exemplary embodiment.Such as, device 1200 may be provided in a server.With reference to Figure 12, device 1200 comprises processing components 1222, and it comprises one or more processor further, and the memory resource representated by memory 1232, can such as, by the instruction of the execution of processing components 1222, application program for storing.The application program stored in memory 1232 can comprise each module corresponding to one group of instruction one or more.In addition, processing components 1222 is configured to perform instruction, to perform the above method.
Device 1200 can also comprise the power management that a power supply module 1226 is configured to final controlling element 1200, and a wired or wireless network interface 1250 is configured to device 1200 to be connected to network, and input and output (I/O) interface 1258.Device 1200 can operate the operating system based on being stored in memory 1232, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 1232 of instruction, above-mentioned instruction can perform said method by the processor 1222 of device 1200.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of server, make server can perform a kind of information transferring method, described method comprises:
When receiving the subscribe request to commodity that terminal sends, obtain the commodity sign of described commodity and the subscription time limit to described commodity according to described subscribe request;
Within the described subscription time limit, periodically obtain the state information of described commodity according to described commodity sign;
Described state information is sent to described terminal.
Optionally, described within the described subscription time limit, the state information periodically obtaining described commodity according to described commodity sign comprises:
Within the described subscription time limit, periodically transmission comprises the inquiry request of described commodity sign to database;
Receive the state information of the described commodity of described Database Feedback.
Optionally, described described state information is sent to described terminal, comprises:
The described state information at every turn got directly is sent to described terminal;
Or, described described state information is sent to described terminal, comprises:
Judge that whether this state information got is identical with the last state information got;
When the state information that this gets is different from the state information that the last time gets, the state information this got is sent to described terminal;
When the state information that this gets is identical with the state information that the last time gets, do not send the state information that this gets.
Optionally, described state information comprises at least one information following: the title of described commodity, brief introduction, price or comment.
In the present embodiment, server periodically obtains the state information of these commodity to the subscribe request of commodity according to user, and state information is sent to user place terminal, make user can in terminal the state information of these commodity of real time inspection.Like this, user just can display of commodity state variation without the need to manual refreshing, and can know the up-to-date state information of these commodity fast, in time, user experience is better.
Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (16)

1. an information transferring method, is characterized in that, described method is applied to server, and described method comprises:
When receiving the subscribe request to commodity that terminal sends, obtain the commodity sign of described commodity and the subscription time limit to described commodity according to described subscribe request;
Within the described subscription time limit, periodically obtain the state information of described commodity according to described commodity sign;
Described state information is sent to described terminal.
2. method according to claim 1, is characterized in that, described within the described subscription time limit, and the state information periodically obtaining described commodity according to described commodity sign comprises:
Within the described subscription time limit, periodically transmission comprises the inquiry request of described commodity sign to database;
Receive the state information of the described commodity of described Database Feedback.
3. method according to claim 1, is characterized in that, described described state information is sent to described terminal, comprising:
The described state information at every turn got directly is sent to described terminal;
Or, described described state information is sent to described terminal, comprises:
Judge that whether this state information got is identical with the last state information got;
When the state information that this gets is different from the state information that the last time gets, the state information this got is sent to described terminal;
When the state information that this gets is identical with the state information that the last time gets, do not send the state information that this gets.
4. the method according to any one of claim 1-3, is characterized in that, described state information comprises at least one information following: the title of described commodity, brief introduction, price or comment.
5. an information transferring method, is characterized in that, described method is applied to terminal, and described method comprises:
Generate the subscribe request to commodity, described subscribe request comprises the commodity sign of described commodity and the subscription time limit to described commodity;
Described subscribe request is sent to server;
Receive the state information of the described commodity that described server returns, described state information periodically to be acquired according to described commodity sign in the described subscription time limit by described server and is sent to described terminal;
The described state information that real-time display receives.
6. method according to claim 5, is characterized in that, described method also comprises:
Judge whether current time exceedes the described subscription time limit;
When current time exceedes described subscription in limited time, carry out renewal to described commodity to remind;
When receiving the renewal operation of again subscribing to described commodity, again generate described subscribe request.
7. method according to claim 5, is characterized in that, the described state information that described real-time display receives, and comprising:
In the page of application program or browser, show the state information of the described commodity received in real time.
8. an information carrying means, described application of installation is in server, and described device comprises:
First acquisition module, for when receiving the subscribe request to commodity that terminal sends, obtains the commodity sign of described commodity and the subscription time limit to described commodity according to described subscribe request;
Second acquisition module, within the described subscription time limit, periodically obtains the state information of described commodity according to described commodity sign;
Sending module, for being sent to described terminal by described state information.
9. device according to claim 8, is characterized in that, described second acquisition module comprises:
Send submodule, within the described subscription time limit, periodically transmission comprises the inquiry request of described commodity sign to database;
Receive submodule, for receiving the state information of the described commodity of described Database Feedback.
10. device according to claim 8, is characterized in that, described sending module, for the described state information got directly is sent to described terminal at every turn.
11. devices according to claim 8, is characterized in that, described sending module comprises:
Judge submodule, for judging that whether this state information got is identical with the last state information got;
Send submodule, when the state information for getting when this is different from the state information that the last time gets, the state information this got is sent to described terminal; When the state information that this gets is identical with the state information that the last time gets, do not send the state information that this gets.
12. 1 kinds of information carrying means, is characterized in that, described application of installation is in terminal, and described device comprises:
Generation module, for generating the subscribe request to commodity, described subscribe request comprises the commodity sign of described commodity and the subscription time limit to described commodity;
Sending module, for being sent to server by described subscribe request;
Receiver module, for receiving the state information of the described commodity that described server returns, described state information periodically to be acquired according to described commodity sign in the described subscription time limit by described server and is sent to described terminal;
Display module, for showing the described state information received in real time.
13. devices according to claim 12, is characterized in that, described device also comprises:
Judge module, for judging whether current time exceedes the described subscription time limit;
Prompting module, prescribes a time limit during for exceeding described subscription when current time, carries out renewal remind described commodity;
Described generation module, for when receiving the renewal operation of again subscribing to described commodity, generates described subscribe request again.
14. devices according to claim 12, is characterized in that,
Described display module, in the page of application program or browser, shows the state information of the described commodity received in real time.
15. 1 kinds of information carrying means, is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
When receiving the subscribe request to commodity that terminal sends, obtain the commodity sign of described commodity and the subscription time limit to described commodity according to described subscribe request;
Within the described subscription time limit, periodically obtain the state information of described commodity according to described commodity sign;
Described state information is sent to described terminal.
16. 1 kinds of information carrying means, is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Generate the subscribe request to commodity, described subscribe request comprises the commodity sign of described commodity and the subscription time limit to described commodity;
Described subscribe request is sent to server;
Receive the state information of the described commodity that described server returns; Described state information periodically to be acquired according to described commodity sign in the described subscription time limit by described server and is sent to described terminal;
The described state information that real-time display receives.
CN201410771284.4A 2014-12-12 2014-12-12 Information transmission method and device Pending CN104539662A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410771284.4A CN104539662A (en) 2014-12-12 2014-12-12 Information transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410771284.4A CN104539662A (en) 2014-12-12 2014-12-12 Information transmission method and device

Publications (1)

Publication Number Publication Date
CN104539662A true CN104539662A (en) 2015-04-22

Family

ID=52855129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410771284.4A Pending CN104539662A (en) 2014-12-12 2014-12-12 Information transmission method and device

Country Status (1)

Country Link
CN (1) CN104539662A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105451177A (en) * 2015-12-15 2016-03-30 小米科技有限责任公司 Information push method and device
CN106506609A (en) * 2016-10-20 2017-03-15 捷开通讯(深圳)有限公司 The push of the status information of destination object, acquisition methods and system
CN107016598A (en) * 2017-04-05 2017-08-04 腾讯科技(深圳)有限公司 A kind of method and device that continues to pay dues of virtual objects
CN107566251A (en) * 2017-08-29 2018-01-09 阔地教育科技有限公司 Method for message transmission, storage device and server
CN110100426A (en) * 2017-09-18 2019-08-06 深圳市云中飞网络科技有限公司 Subscribe to method and device, computer equipment, the computer storage medium of message
CN110944059A (en) * 2019-12-04 2020-03-31 中国石化销售股份有限公司华南分公司 Communication method and device
US11276091B2 (en) 2017-04-05 2022-03-15 Tencent Technology (Shenzhen) Company Limited Information processing method and device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1906347A1 (en) * 2006-09-30 2008-04-02 Dell Products, L.P. Object-based service oriented architecture method, apparatus and media
CN101895712A (en) * 2010-06-28 2010-11-24 中华电信股份有限公司 Active mobile television advertising system and method for mobile terminal device
CN102739562A (en) * 2011-04-15 2012-10-17 阿里巴巴集团控股有限公司 Method and device for sending collection information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1906347A1 (en) * 2006-09-30 2008-04-02 Dell Products, L.P. Object-based service oriented architecture method, apparatus and media
CN101895712A (en) * 2010-06-28 2010-11-24 中华电信股份有限公司 Active mobile television advertising system and method for mobile terminal device
CN102739562A (en) * 2011-04-15 2012-10-17 阿里巴巴集团控股有限公司 Method and device for sending collection information

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105451177A (en) * 2015-12-15 2016-03-30 小米科技有限责任公司 Information push method and device
CN106506609A (en) * 2016-10-20 2017-03-15 捷开通讯(深圳)有限公司 The push of the status information of destination object, acquisition methods and system
CN107016598A (en) * 2017-04-05 2017-08-04 腾讯科技(深圳)有限公司 A kind of method and device that continues to pay dues of virtual objects
US11276091B2 (en) 2017-04-05 2022-03-15 Tencent Technology (Shenzhen) Company Limited Information processing method and device and storage medium
CN107016598B (en) * 2017-04-05 2022-11-18 腾讯科技(深圳)有限公司 Virtual article charging method and device
CN107566251A (en) * 2017-08-29 2018-01-09 阔地教育科技有限公司 Method for message transmission, storage device and server
CN110100426A (en) * 2017-09-18 2019-08-06 深圳市云中飞网络科技有限公司 Subscribe to method and device, computer equipment, the computer storage medium of message
CN110100426B (en) * 2017-09-18 2023-05-26 深圳市欢太科技有限公司 Method and device for subscribing message, computer equipment and computer storage medium
CN110944059A (en) * 2019-12-04 2020-03-31 中国石化销售股份有限公司华南分公司 Communication method and device
CN110944059B (en) * 2019-12-04 2022-07-05 中国石油化工股份有限公司 Communication method and device

Similar Documents

Publication Publication Date Title
CN104460365A (en) Equipment control method and device
CN104539662A (en) Information transmission method and device
CN104318741A (en) Bluetooth device control method and device
CN104703295A (en) Network access method and network access device
CN104461510A (en) Notification message displaying method and device
CN104202624B (en) The method of transmission picture and device
CN104123341A (en) Method and device for downloading file and route device
CN105530372A (en) Message display method and apparatus and terminal device
CN104898505A (en) Smart scene configuration method and device
CN104486451A (en) Application program recommendation method and device
CN104601675A (en) Server load balancing method and device
CN104735670A (en) Network access method and device
CN104156848A (en) Schedule management method and schedule management device
CN104111720A (en) Electronic device control method and device and electronic device
CN104090735A (en) Picture projection method and device
CN104468760A (en) Method and device for pushing reminding information
CN105530384A (en) Method and device for power reminding based on alarm clock
CN103973693A (en) Router accessing method, device and system
CN106792448A (en) Bluetooth connecting method and device, system
CN104484795A (en) Information prompting method and device
CN104267990A (en) Method and device for changing theme in terminal
CN105337839A (en) Exchange group control method and device
CN104394137A (en) Voice call reminding method and device
CN103973900A (en) Method and device for sending messages
CN105511307A (en) Control method and apparatus of electronic device

Legal Events

Date Code Title Description
PB01 Publication
C10 Entry into 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: 20150422